From be8421fb07688efa64dcb3e3d4c47c3f59be2b79 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Sat, 6 Jul 2019 19:00:36 +0530 Subject: [PATCH 1/5] stock supplier : ps --- .sourcemaps/main.js.map | 2 +- .../pd-question-client-info.html | 18 ++ .../pd-question-stock-info.html | 62 +++-- .../pd-question-stock-info.ts | 219 +++++++++++++++--- .../pd-question-supplier-info.html | 51 ++-- .../pd-question-supplier-info.ts | 92 +++++--- 6 files changed, 331 insertions(+), 113 deletions(-) diff --git a/.sourcemaps/main.js.map b/.sourcemaps/main.js.map index 362bcaa4..8492c3a5 100644 --- a/.sourcemaps/main.js.map +++ b/.sourcemaps/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/storage/storage.ts","../../src/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../src/providers/common-provider/loading.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/search-relation/search-relation.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","../../src/pages/form-complete-check-modal/form-complete-check-modal.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/providers/common-provider/toast.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/app/modalanimations/enter.ts","../../src/app/modalanimations/leave.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/aws-service/aws-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;IAGD,kDAAe,GAAf,UAAgB,IAAI;QAElB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAC,yBAAyB,GAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,+CAAY,GAAZ,UAAa,QAAQ;QAEjB,IAAI,OAAO,GAAG,EAAC,SAAS,EAAC,CAAC,QAAQ,CAAC,EAAC,CAAC;QACrC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IA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C,OAAO,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,QAAQ,CAAC,CAAC;IAChE,CAAC;IA3JU,kBAAkB;QAD9B,yEAAU,EAAE;yCAGa,wEAAU,EAAe,gFAAsB,EAAY,+EAAiB;OAFzF,kBAAkB,CA4J9B;IAAD,yBAAC;CAAA;AA5J8B","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n // let cacheid=tableName\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // let data= this.http.post(this.apiurl+'getListOfMaster',masters);\n //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d')\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Geolocation} from '@ionic-native/geolocation'\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\n// import {C} from '../../constants'\nimport {environment as ENV} from '../../environments/environment'\n\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient,private geo:Geolocation,private locationAccuracy:LocationAccuracy) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n let sparqprod= 'https://pdgenie.com/sparqprod/'\n return testapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n enableAccuracy()\n {\n return this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n return this.getGeoTag();\n // this.getcurrentBackgroundLocation();\n },\n error => console.log('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n });\n }\n getGeoTag(){\n return this.geo.getCurrentPosition().then(res=>{\n console.log(\"res from getGeoTag\",res.coords)\n console.log(\"res from provider\",new Date(res.timestamp))\n let lat=res.coords.latitude;\n let long=res.coords.longitude;\n let curr_pos=lat+\",\"+long\n return curr_pos\n }).catch(err=>console.log(\"error in getGeoTag\",err))\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ModalController,ModalOptions, Modal } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'\nimport {FormCompleteCheckModalPage} from '../form-complete-check-modal/form-complete-check-modal'\nimport {ConstantsProvider} from '../../providers/constants/constants'\n\n\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,\n public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,\n public pdstatusprovide:PdtriggerProvider, private modalCtrl:ModalController,private constantProvider:ConstantsProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n \n this.constantProvider.enableAccuracy().then(res=>{\n console.log(\"Accuracy from Category Provider\",res)\n })\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\nPdFormCompletnessCheck(){\n this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(res=>{\n console.log(res['records']);\n if(res['records'].length > 0){\nconst modalOpt:ModalOptions={\n //component:FormCompleteCheckModalPage,\n // enterAnimation: 'modal-scale-up-enter',\n // leaveAnimation: 'modal-scale-up-leave',\n cssClass:\"pdimagecompleteModal\"\n}\nconst modal=this.modalCtrl.create(FormCompleteCheckModalPage,{'values':res['records']},modalOpt)\nmodal.present()\n }\n else{\n //alert(\"completed PD\")\n\t this.completePDAlert()\n }\n })\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\nimport {CameraProvider} from '../../providers/common-provider/camera' ;\nimport {LoadingProvider} from '../../providers/common-provider/loading';\nimport {StorageProvider} from '../../providers/storage/storage';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport {BackgroundGeolocation,\n BackgroundGeolocationConfig,\n BackgroundGeolocationResponse,\n BackgroundGeolocationEvents} from '@ionic-native/background-geolocation'\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\nimageDisplay: any=[];\nimageBucket: any=[];\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n add_requirements:any;\n requirement_hide: boolean=true;\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController,\n public qustCat: QuestionCategoryProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider,private backgroundgeolocation:BackgroundGeolocation) {\n \n \n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n this.requirement_hide=false;\n // this.getcurrentBackgroundLocation();\n }\n ionViewCanEnter(){\n this.getFullPD();\n \n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n console.log('ionViewDidLoad InputPage' ); \n this.getPDImages();\n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.add_requirements=res['records'].pd_additional_requirements;\n this.requirement_hide=res['records'].pd_additional_requirements.length == 0 ? true : false\n console.log(\"req\",this.add_requirements.length);\n \n console.log(\"req\",this.requirement_hide);\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n console.log('dasdsfdsffds',res);\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;let param : any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n //sample format : fk_pd_id: \"868\", schedule_time: \"2019-05-30 18:51\", fk_scheduled_by: \"165\";\n param = {'fk_pd_id': this.address_pd_id, 'schedule_time':schDate, 'fk_scheduled_by': this.users}\n this.pdDetails.updateSchedule(param).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n console.log(\"geoLocation data\",data)\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n\n getcurrentBackgroundLocation() \n {\n let data:any\n const config:BackgroundGeolocationConfig={\n desiredAccuracy: 10,\n stationaryRadius: 20,\n distanceFilter: 30,\n debug: false, // enable this hear sounds for background-geolocation life-cycle.\n stopOnTerminate: false // enable this to clear background location settings when the app terminates\n };\n console.log(\"getCurrent Location 1 function\")\n this.backgroundgeolocation.configure(config).then(()=>{\n this.backgroundgeolocation.on(BackgroundGeolocationEvents.location)\n .subscribe((location:BackgroundGeolocationResponse)=>{\n //this.toast.pdTriggerappmessage(\"alert for loca, \"+location)\n console.log(\"background geo location\",location);\n let pos=location.latitude+\",\"+location.longitude\n data = {'pd_id':this.address_pd_id,'link':pos};\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>{\n console.log(\"saved location in Api\",res);\n\n },err=>{\n console.log(\"Not saved in Api\",err);\n })\n },err=>{\n console.log(\"Error in background geolocation subscribtion\")\n })\n },err=>{\n console.log(\"Error in background geolocation configuration\")\n })\n this.backgroundgeolocation.start();\n \n // let data:any;\n // let options = {\n // frequency: 3000, \n // enableHighAccuracy: true,\n // timeOut:1000,\n // };\n \n // this.timeInterval = setInterval(()=>{\n // this.currentPosPDofficer = '';\n // this.geolocation.getCurrentPosition(options).then((resp) => {\n // // resp.coords.latitude\n // // resp.coords.longitude\n // if((resp as Geoposition).coords !=undefined){\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n // console.log(this.currentPosPDofficer);\n // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n // this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n // {\n // console.log(\"geoLocation data\",data)\n // // this.updateinitiated = res;\n // // if(this.updateinitiated.dataStatus == true)\n // // { \n // // // this.getNewpdupdate();\n // // // this.startedAccess = true;\n // // }else\n // // {\n // // this.startedAccess = false;\n // // }\n // })\n // }\n // }).catch((error)=>{\n // this.toast.pdTriggerappmessage(error.message);\n // })\n \n // },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n \n\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation()\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n this.backgroundgeolocation.finish();\n this.backgroundgeolocation.stop();\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'|| data.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e)+' Only';\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n\n if(!val['msg']){\n // res = this.customfilter(res); \n console.log('val[records]',val['records']);\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n capture(){\n \n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n \n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geocoords\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n \n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n\n customfilter(res){\n console.log('custome filter');\n return res.filter(data=>data.fk_form_id != null);\n }\n\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.applicatentDetails.pd_id,\n 'formid':null,\n 'images':this.imageBucket,\n 'company_id':null\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n business_serviceProvider: any = [];\n\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,\n private constantProvider: ConstantsProvider) {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.business_serviceProvider = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // this.serviceProviderForm = true;\n if (dataForm.trade_details[0] != null) {\n let api_service_provider = dataForm.servicing_details[0].service_provider;\n this.initServiceProvidersDetails(api_service_provider);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n else {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n }\n this.noRecordsFound = true;\n } else {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n this.noRecordsFound = true;\n }\n } else {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // this.serviceProviderForm = true;\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.servicingForm = true;\n return this.fb.group({\n service_providers: this.fb.array([]),\n service_providers_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n initServiceProvidersDetails(datas) {\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n\n if (datas === null) {\n control.push(this.initServiceProviders(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_payment_type, 3, inx);\n control.push(this.initServiceProviders(val));\n });\n }\n }\n\n initServiceProviders(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_name: [''],\n service_provider_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n service_provider_contact_person_name: [''],\n service_provider_contact_person_mobile_number: [''],\n person_stdcode: [null],\n person_landline: [null],\n service_provider_payment_type: [''],\n service_provider_payment_mode: [''],\n service_provider_frequency_of_purchase: [''],\n service_provider_credit_days_from: [''],\n service_provider_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n service_provider_supplier_name: [records.service_provider_supplier_name],\n service_provider_contact_person_name: [records.service_provider_contact_person_name],\n service_provider_contact_person_mobile_number: [records.service_provider_contact_person_mobile_number],\n person_stdcode: [records.person_stdcode],\n person_landline: [records.person_landline],\n service_provider_payment_type: [records.service_provider_payment_type],\n service_provider_payment_mode: [records.service_provider_payment_mode],\n service_provider_frequency_of_purchase: [records.service_provider_frequency_of_purchase],\n service_provider_credit_days_from: [records.service_provider_credit_days_from],\n service_provider_credit_days_to: [records.service_provider_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProvider(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.push(this.initServiceProviders(null));\n }\n\n removeServiceProvider(inx): void {\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n saveSupplierInfoWithImageCheck(answerFormValues) {\n console.log(\"forms\", answerFormValues);\n let required_imageCheck = this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\", required_imageCheck);\n if (!required_imageCheck) {\n let alert = this.toast.setAlert(\"Mandatory photographs not taken\", \" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value => {\n if (value == 's') {\n this.saveSupplierInfo(answerFormValues)\n }\n else {\n return true;\n }\n })\n }\n else {\n this.saveSupplierInfo(answerFormValues)\n }\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n e == 1 ? '' : '';\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n\n if (flag == 3) {\n if (e == 3) {\n // items.controls['service_provider_credit_days_from'].setValidators([Validators.required]);\n // items.controls['service_provider_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n // items.controls['service_provider_credit_days_from'].clearValidators();\n items.controls['service_provider_credit_days_from'].setValue('');\n // items.controls['service_provider_credit_days_to'].clearValidators();\n items.controls['service_provider_credit_days_to'].setValue('');\n }\n items.controls['service_provider_credit_days_from'].updateValueAndValidity();\n items.controls['service_provider_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n\n captureTheSupplierPics(materialName, index, supplierName) {\n console.log('ds');\n // alert('dsa');\n if (supplierName != '') {\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res => {\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates });\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n }\n else if (supplierName == '') {\n alert('Please Fill The Supplier Name');\n }\n\n }\n mandatoryImageCheck(Form_values) {\n let Form_names = []\n if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) {\n if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) {\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) })\n })\n }\n }\n // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n // if(Form_values.service_provider_details[0].service_products.length != 0){\n // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) })\n // })\n // }\n // }\n if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) {\n if (Form_values.trade_details[0].trading_products.length != 0) {\n Form_values.trade_details[0].trading_products.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) })\n })\n }\n }\n // console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count: number = 0;\n let mandatoryimgSaved = []\n let mandatoryimgNotSaved = []\n\n if (Form_names.length != 0) {\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue => {\n this.imageDisplay.forEach((imgvalue) => {\n\n // console.log(\"Form values individuals\",formvalue)\n if (formvalue.name != imgvalue.Name) {\n\n valBool = true\n }\n else {\n\n valBool = false\n\n count++;\n\n\n }\n if (count >= 2 && valBool == false) {\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n //return\n }\n else {\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n\n })\n if (valBool == true)\n console.log(\"Form name\", formvalue.name)\n\n mandatoryimgNotSaved.push(formvalue.name)\n\n })\n\n console.log(\"mandatoryimgSaved\", mandatoryimgSaved)\n console.log(\"mandatoryimgNot Saved\", mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res => {\n mandatoryimgNotSaved = mandatoryimgNotSaved.filter(val => val != res)\n\n })\n\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage = (mandatoryimgNotSaved) => mandatoryimgNotSaved.filter((val, i) => mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\", uniquenotsavedImage(mandatoryimgNotSaved));\n if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) {\n return false\n }\n else {\n return true\n }\n\n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n\n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n //}\n }\n else {\n return true\n }\n\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"ll\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.formDetails.form_id,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"records\", JSON.stringify(records))\n\n this.qustCat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.suppliers_service_product = val.products;\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.suppliers_service_product = val.products;\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n 'is_sufficiant_raw': '',\n 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n 'is_sufficiant_goods': '',\n 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n is_sufficiant_raw: [''],\n rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n is_sufficiant_raw: [records.is_sufficiant_raw],\n rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n 'is_sufficiant_traded_goods': '',\n 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n is_sufficiant_goods: [''],\n finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n is_sufficiant_goods: [records.is_sufficiant_goods],\n finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n 'is_sufficiant_traded_goods': '',\n 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n is_sufficiant_traded_goods: [''],\n traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n checkComments(value, flag, index) {\n \n console.log(value, flag, index);\n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray, FormControl } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n product_abbr: any;\n lender_short_name : any;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n AV_CCAnnualSalesAmtInwords:any = [];\n formDetails: any;\n CustSegAbbr:any;\n temparray : any = [];\n picsArrayLength :any = 0;\n ServiceDataAvailability:boolean = false;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.initFinancialForm()\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n if (data.dataStatus) { \n if(data.records.type_of_activity.length == 1){\n let bussiness_service_datas = data.records.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n this.ServiceDataAvailability = bussiness_service_datas.length>0 ? true : false;\n if(this.ServiceDataAvailability == true){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA');\n }else{\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n }\n else{\n this.ServiceDataAvailability = false;\n }\n }\n })\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([]),\n select_working_capital_facilities_availed : this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n estimate_posmachine_or_cc_annual_sales:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n if(this.CustSegAbbr == 'AI'){ \n this.financialForm.removeControl('estimated_value');\n this.financialForm.controls['is_financial_customer'].setValue('');\n } \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n\n if(records.is_financial_statements == 'yes' && this.picsArrayLength == 0){\n this.toast.pdTriggerappmessage(\"Photos of Finanical Statements are Required\");\n return;\n }\n \n records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(value => value.exist_status == 1);\n if(records.is_there_working_capital_available == \"no\"){\n records.select_working_capital_facilities_availed = [];\n if(records.bank_guarantee) delete records.bank_guarantee ;\n if(records.cash_credit_limit) delete records.cash_credit_limit;\n if(records.factoring) delete records.factoring;\n if(records.forfaiting) delete records.forfaiting;\n if(records.letter_of_credit) delete records.letter_of_credit;\n if(records.od_limit) delete records.od_limit;\n if(records.other_reason_for_working_capital_facilities_availed) delete records.other_reason_for_working_capital_facilities_availed ;\n if(records.reason_for_working_capital_facilities_availed) delete records.reason_for_working_capital_facilities_availed ;\n }\n \n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n const workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed'];\n\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n // Financial part 1 : Date \n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n\n // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value.\n\n if(this.CustSegAbbr != 'AI'){\n \n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n this.AV_CCAnnualSalesAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val;\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n }\n else if(this.CustSegAbbr == 'AI'){\n retrieveData.estimated_value = [];\n }\n\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n if (retrieveData.select_working_capital_facilities_availed) {\n exist_av_data = Object.keys(retrieveData.select_working_capital_facilities_availed).map(function (key) {\n return retrieveData.select_working_capital_facilities_availed[key].id;\n });\n }\n \n let actual_av = avData.map(item => item.id);\n \n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n \n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n\n if (val.exist_status == 1 && val.id == 2) {\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n \n });\n \n retrieveData.select_working_capital_facilities_availed = check_exist_av;\n }\n\n this.financialForm.setValue(retrieveData)\n\n if(this.ServiceDataAvailability == false && retrieveData.unsold_stock_lies_in_days == 'NA' ){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n\n }\n else {\n console.log('didN`T get the api');\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n let actual_av = avData.map(item => item.id);\n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n });\n }\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n workingCptl(details: any): FormGroup {\n return this.fb.group({\n id: [details.id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n\n changeWorkingCapitalFacilities(event: any) {\n \n if (event.value.exist_status == true && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n\n this.financialForm.removeControl('bank_guarantee');\n }\n else if (event.value.exist_status == false && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 3) {\n this.financialForm.removeControl('cash_credit_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 4) {\n this.financialForm.removeControl('factoring');\n }\n else if (event.value.exist_status == false && event.value.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 5) {\n this.financialForm.removeControl('forfaiting');\n }\n else if (event.value.exist_status == false && event.value.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 6) {\n this.financialForm.removeControl('letter_of_credit');\n }\n else if (event.value.exist_status == false && event.value.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 7) {\n this.financialForm.removeControl('od_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 1) {\n this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed');\n this.financialForm.removeControl('reason_for_working_capital_facilities_availed');\n }\n else if (event.value.exist_status == false && event.value.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n\n // if(event.value.exist_status==true && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n}\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n if(annual_sale != ''){\n\n let current_margin : number =(profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : \n loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00 )\n let pre_margin : number = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : \n temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00 );\n let absoulte_value_of_pre_margin : number = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00 ); \n\n let a: number = current_margin - pre_margin; \n let b: number = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin;\n let c: number = b * 100;\n \n // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))));\n // let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\n const pattern = /[0-9\\.]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 13 : \n this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n this.picsArrayLength = val['records'].length;\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n captureTheFinancialPics(value){\n// alert('Value '+value+' - '+this.picsArrayLength);\n if(value == 'yes' && this.picsArrayLength == 0){\n alert('You Must Take The Finanical Pic');\n }\n else{\n alert('No Need');\n }\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionClientInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider,private constantProvider:ConstantsProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\nconsole.log(\"form values\",this.clientInfoForm);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n \n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\n // this.qustCat.saveForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.navCtrl.pop();\n // }\n // });\n\n\n // }\n saveClientInfoWithImageCheck(answerFormValues){\n console.log(\"forms\",answerFormValues);\n let required_imageCheck=this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\",required_imageCheck);\n if(!required_imageCheck){\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.saveClientInfo(answerFormValues)\n }\n else{\n return true;\n }\n })\n }\n else{\n this.saveClientInfo(answerFormValues)\n }\n }\n\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n\n \n // answerFormValues.trade_details.forEach((value)=>{\n // value.trading_products.forEach()\n // })\n // this.imageDisplay.forEach((res,index)=>{\n // if(res.Name == )\n // })\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n \n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n captureTheClientPics(materialName,index,clientName){\n \n if(clientName != ''){\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':clientName + ' - ' + materialName + ' ' + (index+1),'link':geoCoordinates});\n })\n }\n\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n }\n else if(clientName == ''){\n alert('Please Fill The Client Name');\n }\n \n }\n mandatoryImageCheck(Form_values){\n let Form_names=[]\n if(Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null){\n if(Form_values.manufacturing_details[0].main_raw_materials.length != 0){\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.manufacturing_client_name+' - '+ 'Manufacturing Product ' + (index+1) })\n })\n }\n }\n if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n if(Form_values.service_provider_details[0].service_products.length != 0){\n Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provider ' + (index+1) })\n })\n }\n}\n if(Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null){\n if( Form_values.trade_details[0].trading_products.length != 0){\n Form_values.trade_details[0].trading_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.trade_client_name+' - '+ 'Trading Product ' + (index+1) })\n })\n }\n}\n console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count:number=0;\n let mandatoryimgSaved=[]\n let mandatoryimgNotSaved=[]\n\nif(Form_names.length != 0 ){\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue=>{\n this.imageDisplay.forEach((imgvalue)=>{\n \n // console.log(\"Form values individuals\",formvalue)\n if(formvalue.name != imgvalue.Name){\n \n valBool=true\n }\n else{\n\n valBool=false\n \n count ++;\n \n \n }\n if(count >=2 && valBool == false){\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n // return\n }\n else{\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n \n })\n if(valBool==true)\n console.log(\"Form name\",formvalue.name)\n \n mandatoryimgNotSaved.push(formvalue.name)\n \n })\n \n // console.log(\"mandatoryimgSaved\",mandatoryimgSaved)\n // console.log(\"mandatoryimgNot Saved\",mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res=>{\n mandatoryimgNotSaved=mandatoryimgNotSaved.filter(val=>val != res)\n \n })\n \n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage=(mandatoryimgNotSaved)=>mandatoryimgNotSaved.filter((val,i)=>mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\",uniquenotsavedImage(mandatoryimgNotSaved));\n if(uniquenotsavedImage(mandatoryimgNotSaved).length > 0){\n return false\n }\n else{\n return true\n }\n \n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n \n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n // }\n // else{\n // return true\n // }\n}\nelse{\n return true\n}\n\n }\n\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log(\n \"%cWelcome, Camera Provider\",\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\n );\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getPicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n\n getcommonpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getcommonpicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData.filter(data=>data.fk_form_id == null);\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 258;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 258\n// module chunks = 2","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 301;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 301\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\nimport { DatePipe } from '@angular/common';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n pipe = new DatePipe('en-US');\n AppxPDLocationImgValid : boolean = false;\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n alertnativeCityData: any=[];\n alertnativePincodeData: any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n //this.constant.getGeoTag().then(res=>{\n //console.log(\"constructor geo location promise\",res);\n //})\n\n // console.log(\"geo\",this.constant.getGeoTag())\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n\n this.pdQuestionAddress = this.fb.group(\n {\n // addresses:this.fb.array([]),\n // address_form_remark:[''],\n // alternative_address:this.fb.array([]),\n // address_type_ques:this.fb.array([]),\n // pd_is_done_on_initiated_address:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n addresses: this.fb.array([]),\n is_pd_done_on_initiated_address: [true],\n address_type: ['', Validators.compose([Validators.required])],\n locality: ['', Validators.compose([Validators.required])],\n locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n address_form_remark: ['']\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n //this.getaddressForm(); \n let params = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.setAddressFromDatas(params);\n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option,flag){\n\n if (option == 'city' && flag ==1) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin' && flag ==1) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n if (option == 'city' && flag ==2) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchAlternativeCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'pin' && flag ==2) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchAlternativePin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchAlternativePin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.alertnativePincodeData[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.alertnativePincodeData[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchAlternativeCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.alertnativeCityData[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.alertnativeCityData[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n \n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n \n \n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n \n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n \n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,flag) {\n \n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n this.pincodeData[i] = data.records.pincode;\n \n //this.filteredCity.next(this.cityData[i].slice())\n if(flag== 1){\n this.cityDataValue[i]=this.cityData[i].slice()\n // this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n else if(flag == 2){\n this.alertnativeCityData[i]=this.cityData[i].slice()\n this.alertnativePincodeData[i]=this.pincodeData[i].slice()\n }\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n \n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n \n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n // address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n // locality_others: [AddressDetails.locality_others],\n // // locality_mixuse: [AddressDetails.locality_mixuse],\n // pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n // comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n // estimated_area: [AddressDetails.estimated_area],\n // uom: [AddressDetails.uom],\n // uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n // address_type: ['', Validators.compose([Validators.required])],\n // address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: ['', Validators.compose([Validators.required])],\n // locality_others: [''],\n // // locality_mixuse: [''],\n // pd_location: ['', Validators.compose([Validators.required])],\n // comment_locality: ['', Validators.compose([Validators.required])],\n // estimated_area: [''],\n // uom: [''],\n // uom_others: [''] \n });\n }\n \n }\n alternativeAddress(e) {\n console.log(e);\n console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value)\n if (e === false) {\n console.log('alternativeAddress false',e);\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n alternative_address_control.push(this.initAlternativeAddress(null));\n }\n else if (e === true) {\n console.log('alternativeAddress',e);\n this.pdQuestionAddress.removeControl('alternative_addresses');\n }\n}\n initAlternativeAddress(add_values){\n if(add_values == null){\nreturn this.fb.group({\n alternative_address:[''],\n alternative_state:[''],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[''],\n alternative_pincode:[''],\n alternative_pincode_others:[''],\n reason_for_alternative_address:['']\n })\n}\nelse{\n return this.fb.group({\n alternative_address:[add_values.alternative_address],\n alternative_state:[add_values.alternative_state],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[add_values.alternative_city],\n alternative_pincode:[add_values.alternative_pincode],\n alternative_pincode_others:[add_values.alternative_pincode_others],\n reason_for_alternative_address:[add_values.reason_for_alternative_address]\n})\n}\n\n }\n /** On Key Press Event For Numbers */\n keyPress(event: any) {\n const pattern = /[0-9]/;\n \n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[0] = 'Estimated area of the ' + e;\n }\n imageMandatoryCheck(){\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.onSubmit()\n }\n else{\n return true;\n }\n })\n }\n else{\n this.onSubmit()\n }\n \n }\n onSubmit() {\n\n // if(this.pdQuestionAddress.invalid){\n // this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n // return\n // }\n // if(this.AppxPDLocationImgValid == false){\n // //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n \n // }\n // else if (this.addressForm.value.address_form_remark == '') {\n // this.notifier.notify('warning', 'Fill Remark!');\n // this.disableAfterSubmit = false;\n // return;\n // }\n \n // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value);\n\n let records: any = {};\n\n records.addresses = this.pdQuestionAddress.controls.addresses.value;\n records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value\n\n if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) {\n if(records.addresses[0].pincode != 1){\n delete records.addresses[0].pincode_others\n }\n records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.addresses[0].citySearch = '';\n records.addresses[0].pinSearch = '';\n records.addresses[0].stateSearch = '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) {\n records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value;\n records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if(records.addresses[0].alternative_pincode != 1){\n delete records.addresses[0].alternative_pincode_others\n }\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : '';\n records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : '';\n records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value;\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n\n // console.log('Final records', records);\n\n \n\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['status'] == 200) {\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n else {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!');\n \n }\n }, error => {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');\n \n });\n \n\n }\n\n savepdQuestionOLD(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n return\n }\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n\n setAddressFromDatas(params){\n this.qustCat.retiverForm(params).subscribe(data => {\n\n const control = this.pdQuestionAddress.controls['addresses'];\n if (data['status'] == 200) {\n let initiated_address_check =data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n if (data['records'].addresses.length == 0) {\n control.push(this.initAddress(null));\n } else {\n data['records'].addresses.forEach((datas, index) => {\n let obj = {\n 'address': datas.address,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode': datas.pincode,\n 'pincode_others': datas.pincode ? datas.pincode_others : ''\n }\n this.getCityAndPincodeDetails(datas.state, index, 1);\n control.push(this.initAddress(obj));\n \n if (datas.address_type_others == \"\" || datas.address_type_others == null){\n delete datas.address_type_others;\n }\n\n if (datas.citySearch == \"\" || datas.citySearch == null){\n delete datas.citySearch;\n }\n\n if (datas.locality_others == \"\" || datas.locality_others == null){\n delete datas.locality_others;\n }\n if (datas.pinSearch == \"\" || datas.pinSearch == null){\n delete datas.pinSearch;\n }\n if (datas.pincode_others == \"\" || datas.pincode_others == null){\n delete datas.pincode_others;\n }\n if (datas.stateSearch == \"\" || datas.stateSearch == null){\n delete datas.stateSearch;\n }\n if (datas.uom_others == \"\" || datas.uom_others == null){\n delete datas.uom_others;\n }\n \n if (initiated_address_check === true) {\n\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n });\n }\n\n if (initiated_address_check == false) {\n \n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n if (data['records'].alternative_addresses.length > 0) {\n \n data['records'].alternative_addresses.forEach((datas, index) => {\n \n // if (datas.citySearch == \"\" || datas.citySearch == null){\n // delete datas.citySearch;\n // } \n // if (datas.pinSearch == \"\" || datas.pinSearch == null){\n // delete datas.pinSearch;\n // }\n // if (datas.stateSearch == \"\" || datas.stateSearch == null){\n // delete datas.stateSearch;\n // }\n \n let obj = {\n 'alternative_address': datas.alternative_address,\n 'alternative_state': datas.alternative_state,\n 'alternative_city': datas.alternative_city,\n 'alternative_pincode': datas.alternative_pincode,\n 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '',\n 'reason_for_alternative_address': datas.reason_for_alternative_address,\n }\n this.getCityAndPincodeDetails(datas.alternative_state, index, 2);\n alternative_address_control.push(this.initAlternativeAddress(obj));\n \n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location);\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type);\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality);\n\n this.pdQuestionAddress.controls.locality.setValue(datas.locality);\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area);\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n\n });\n }\n }\n this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark);\n }\n else {\n this.getaddressForm();\n }\n // else {\n // control.push(this.createAddresses(null));\n // }\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n \n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n \n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n \n \n }\n setOthers(e, i, flag) {\n switch (flag) {\n case 1:\n const control = this.pdQuestionAddress.controls['addresses'];\n let ChildCtrl: any = control.controls[i];\n e == 1 ? ChildCtrl.addControl('pincode_others', new FormControl('', Validators.required)) : ChildCtrl.removeControl('pincode_others');\n break;\n case 2:\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n let AltChildCtrl: any = alternative_address_control.controls[i];\n e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new FormControl('', Validators.required)) : AltChildCtrl.removeControl('alternative_pincode_others');\n break;\n case 3:\n e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('address_type_others');\n break;\n case 4:\n e == 1 ? this.pdQuestionAddress.addControl('locality_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('locality_others');\n break;\n case 5:\n e == 1 ? this.pdQuestionAddress.addControl('uom_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('uom_others');\n break;\n }\n }\n\n\n getaddressForm()\n {\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1);\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n \n this.getaddressDetails.forEach((datas,index)=>{\n if (datas.address_type_others == \"\" || datas.address_type_others == null){ delete datas.address_type_others;}\n if (datas.citySearch == \"\" || datas.citySearch == null){delete datas.citySearch;}\n if (datas.locality_others == \"\" || datas.locality_others == null){delete datas.locality_others;}\n if (datas.pinSearch == \"\" || datas.pinSearch == null){delete datas.pinSearch;}\n if (datas.pincode_others == \"\" || datas.pincode_others == null){delete datas.pincode_others;}\n if (datas.stateSearch == \"\" || datas.stateSearch == null){delete datas.stateSearch;}\n if (datas.uom_others == \"\" || datas.uom_others == null){delete datas.uom_others;}\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n // if (datas.address_type) {\n // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0];\n // this.selectedAddressType(selectedAddressType.address_type);\n // this.setOthers(datas.address_type, '', 3);\n // if (datas.address_type == 1) {\n // this.addressForm.controls.address_type_others.setValue(datas.address_type_others);\n // this.selectedAddressType(datas.address_type_others);\n // }\n // }\n\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n if (datas.locality) {\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n }\n\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n if (datas.uom) {\n this.setOthers(datas.uom, '', 5);\n if (datas.uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n })\n let initiated_address_check =res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n \n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,1)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n \n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n console.log('record_for_pic',record_for_pic);\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n console.log('records result',result);\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })\n let img_title = (result.pd_document_title).split('(');\n if(img_title[0] == 'Approach to PD Location '){\n this.AppxPDLocationImgValid = true;\n //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')\n }\n })\n console.log(\"image Display Data Are\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are');\n this.imageDisplay[index]={'image':img,'Name':value,'is_show_report':0}\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n\n changeNameForBucket(value,index,img,active){\n // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active);\n this.imageBucket[index]={'image':img,'Name':value,'is_show_report':0}\n \n }\n changeOptions(event: any,index: any){\n // console.log('Option Changed ' + event);\n let name = this.imageBucket[index].value\n let length = this.imageDisplay.length;\n console.log('image display length',length);\n this.imageDisplay.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n result.is_show_report = 0;\n }\n })\n console.log('this.imageDisplay',this.imageDisplay);\n this.imageBucket.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n // this.AppxPDLocationImgValid = true;\n console.log('name',name);\n console.log('this.imageBucket.length',this.imageBucket.length);\n result.is_show_report=0;\n }\n })\n console.log('this.imageBucket',this.imageBucket);\n this.imageBucket[index].is_show_report=event;\n // console.log('this.imageBucket',JSON.stringify(this.imageBucket));\n }\n removeImg(index){\n // console.log('inside removeImg Fn - its param are - Index only ',index);\n this.imageDisplay.splice(index,1);\n \n }\n removeImgForBucket(index){\n // console.log('inside removeImgForBucket Fn - its param are - Index only ',index);\n this.imageBucket.splice(index,1)\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n savePhoto(flag){\n // console.log('savePhoto');\n let currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss');\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n // console.log('inside savePhoto Fn - its response ',imageData);\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n if(flag == 1){\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'','is_show_report':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n console.log(\"imagebucket\",this.imageBucket)\n this.getImageName(this.imageBucket.length-1)\n }else if(flag == 2){\n // console.log('flag');\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'Approach to PD Location ( ' + currentDate + ' )','is_show_report':''});\n }\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n\n getImageName(index){\n // console.log('inside get Image Name Fn - its param are - Index only ',index);\n let alert =this.toast.setAlertForDocName()\n \n alert.present()\n alert.onDidDismiss(value=>{\n // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport);\n this.imageBucket[index].Name=value.Name;\n });\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n\n updateImage(){\n }\n sendImage(){\n this.loading.loaderForSendImage() \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\nconsole.log(\"records for sendImage\",records);\n // console.log(\"inside SendImage Function - records array\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n // console.log(\"inside localInsert Fn - its Response\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: any;\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\n // other_frequency:[''],\n // loan_amount: [''],\n // frequency:[''],\n // emi: [''],\n // loan_type: [''],\n // others_loan_type:[''],\n // loan_taken_by:[''],\n // others_loan_taken:[''],\n // lender: [''],\n // others_lender:[''],\n // original_tenure: [''],\n // current_balance_tenure: [''],\n // elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n //details.controls.current_balance_tenure.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\n \n}\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].patchValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\n })\n }\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n \n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n \n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n tapEvent(value){\n console.log(\"dd\",value);\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n lender_short_name : any;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n fundAmtInWords : any;\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n is_there_total_fund:[''],\n fund_amt:[''],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\n })\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n case 8:\n this.fundAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value;\n records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails.is_there_total_fund);\n this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails.fund_amt);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if(loanDetails.fund_amt){this.fundAmtInWords = this.constant.convertNumberToWords(loanDetails.fund_amt); }\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n if(this.lender_short_name == 'CLIX'){\n \n this.loanDetailsForm.controls['is_transfer'].setValue(\"no\");\n this.selectedBalancesTransferChanges(\"no\")\n }\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n }\n // let modifyCompanyList : any=[];\n // if(this.existCompanyList.length>0){\n // modifyCompanyList = this.existCompanyList.map(element => {\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n // });\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n //}\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n //isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n this.inWords(val.rent,index,2)\n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: [''],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:[''],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_segment:[''],\n earning_gross_income_per_month: [''],\n earning_name_of_the_employer_or_business: [''],\n earning_number_of_years_in_employment_or_business: [''],\n non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n this.relationDataValue=this.relationData.slice();\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\n }\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n\n data.forEach((val,inx) => {\n \n // // family_member_earning_status\n // if(val.age){\n // this.isReadOnly[inx] = true;\n // }else{\n // this.isReadOnly[inx] = false;\n // }\n arraydata = {\n 'family_member_salutation':'',\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n // console.log('Temparr',Temparr);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n\n \n \n \n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo location promise\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(event: any) {\n const pattern = /[0-9\\-\\.\\ ]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':'','link':geoCoordinates});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public alertCtrl:AlertController) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n address:[''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \n \n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n let rentOptionCount: number = 0;\n let validateFlag: number = 0;\n let TextMessage :any;\n\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n console.log(records);\n // this.callSaveApi(records);\n\n if (records.other_income == 'Yes') {\n records.income_details.forEach(option => {\n if (+option.source == 5) {\n rentOptionCount++;\n validateFlag = 1;\n } \n });\n \n if(validateFlag == 1){\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id;\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = 17;\n \n this.qustCat.retiverForm(params).subscribe(data=>{\n if(!data['dataStatus']){\n let text : any = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property' ;\n TextMessage = '
You have chosen '+ text +' as rental income, but rental verification form is not filled
';\n\n let alert=this.alertCtrl.create({\n title:'Please Confirm',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.callSaveApi(records);\n }\n }\n ]\n });\n alert.present();\n }\n else if(data['dataStatus']){\n this.callSaveApi(records);\n }\n })\n } \n else{\n this.callSaveApi(records);\n }\n }\n else{\n this.callSaveApi(records);\n }\n}\n\ncallSaveApi(records){\n \n this.qustCat.saveForm(records).subscribe(data => {\n //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n}, error => {\n \n})\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\n}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"From Dashboard of Rental - values are \",this.data);\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\n}\n\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null,'rental_count_id':this.data.existing_rental_count_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n console.log('From getPDImages',val);\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\n\ncaptureThePropertyPics(){\n // alert('rentalDataCount '+this.data.existing_rental_count_id);\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':'Property '+this.data.existing_rental_count_id});\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n}\n\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n 'rental_count_id':this.data.existing_rental_count_id,\n \n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n console.log(\"savepd\",records) \n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expenses Page\";\n break;\n case 4:\n this.FormName = \"Household Expenses Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n });\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n/**\n * Generated class for the PdQuestionAssessedPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n \n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n other_expense_item:[null],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n other_expense_item:[data.other_expense_item || ''],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider,private constantProvider:ConstantsProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private constantProvider:ConstantsProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport { SearchRelationPipe } from '../../../pipes/search-relation/search-relation';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[SearchRelationPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n console.log(\"persons_with_relationships\",this.generalForm.controls['persons_with_relationships']['controls'][0])\n let control=this.generalForm.get('persons_with_relationships')\n console.log('p1',control)\n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.info(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;\");\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.table(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n console.log('if part . this.imageBucket.length',this.imageBucket.length);\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n console.log('else part . this.imageBucket.length',this.imageBucket.length)\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic :val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof : val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic:val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof:val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_person_met_pic:[''],\n is_person_met_id_proof:[''],\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_person_met_pic : data.is_person_met_pic != null ? data.is_person_met_pic : '' ,\n is_person_met_id_proof : data.is_person_met_id_proof,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n console.log('From Genral Form - value are',value)\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n console.log('fulldata',this.fulldata);\n console.log('control.length+1',control.length+1);\n console.log('full data',this.fulldata[control.length]);\n\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[this.fulldata[control.length].applicant_name],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n value.forEach((val,index)=>{\n console.log(\"val for each\",val)\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[index == 0 ? '0' : val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n })\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_person_met_pic : val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof: val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins');\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n // update personal relation\n updatePersonalRelation(indexVal) {\n let control: any = this.generalForm.controls['persons_with_relationships'];\n control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to);\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\n console.table(this.generalForm.value);\n console.log(answerData);\n\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_person_met_pic = '';\n datas.is_person_met_id_proof = '';\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n \n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\n })\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n\n sendImage(){\n \n this.loading.loaderForSendImage()\n console.log(\"image bucket - json data\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"DB - records\",JSON.stringify(records))\n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(control,Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_pic'].setValue(res);\n //this.toast.pdTriggerappmessage('Flag 1 Success');\n }\n else{\n control.controls['is_person_met_pic'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 1 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_id_proof'].setValue(res);\n // this.toast.pdTriggerappmessage('Flag 2 Success');\n }\n else{\n control.controls['is_person_met_id_proof'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 2 Fail');\n }\n // console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the SearchRelationPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'searchRelation',\n})\nexport class SearchRelationPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any): any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/search-relation/search-relation.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray,FormControl,Validators} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n product_abbr: any;\n lender_short_name : any;\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider,private constantProvider:ConstantsProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ \n this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ;\n this._finalRemarkForm.addControl('is_competition', new FormControl(''));\n this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); \n this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); \n }\n else{ \n this._finalRemarkForm.removeControl('outlet_location');\n this._finalRemarkForm.removeControl('is_competition');\n this._finalRemarkForm.removeControl('sealing_activity'); \n this._finalRemarkForm.removeControl('demolition_activity'); \n }\n\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records'].filter(val=>val.pdofficer_recommendation_id!=1)\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n this.setValidation();\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){\n \n this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location);\n this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);\n this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); \n this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); \n this.clixChange(data['records'].is_competition,1);\n this.clixChange(data['records'].sealing_activity,2);\n this.clixChange(data['records'].demolition_activity,3);\n \n if(data['records'].is_competition ==true){ this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores);}\n if(data['records'].sealing_activity ==true){ this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity);\n this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); }\n if(data['records'].demolition_activity ==true) {this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); \n this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); }\n }\n\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n\n clixChange(e,flag){\n if(flag == 1){ \n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores');\n }\n if(flag == 2){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity');\n e==true ? this._finalRemarkForm.addControl('demolition_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('demolition_activity_pic');\n }\n if(flag == 3){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity');\n e==true ? this._finalRemarkForm.addControl('sealing_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('sealing_activity_pic');\n }\n }\n\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n ImageUpload(Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n}\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\nimport {PdQuestionFuturePlansAndBusinessEnvironmentPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==23){\n this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport {searchValue} from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList:any=[];\n users: any;formdetails:any;\n FormId: any;\n pdDetails: any;\n businessForm:FormGroup;\n applicants:any=[];\n businessEntityTypeList: any ={\n business_entity_type_id:String,\n business_entity_type_name:String,\n sourcsection_labeleName:String\n }; \n generalExistEntityType:string\n generalExistEntityType_other:string;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n pdid:any;\n step:number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList:any=[]\n countryDataList:any=[]\n exist_status:any;\n \n filterCityList : any = [];\n errorMessage:any=[];\n appxSalaryAmtInwords:any;\n titleData:any=[]\n personsList:any=[]\n \n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean=false;\n bankList: any=[];\n bankListValue:any=[];\n temp_additiondetailofposmachine:any=[]\n isreadonlyyear: any=[];\n isreadonlymonth: any=[];\n EntityTypeFlag:boolean=false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience : any = [];\n countryDataListValue: any = [];\n product_abbr: any;\n lender_short_name : any;\n\n @ViewChild('shareholding') share_focus:ElementRef\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState:ReplaySubject=new ReplaySubject(1)\n public filteredCountry:ReplaySubject=new ReplaySubject(1)\n cityData:any=[]\n cityDataValue:any=[]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n \n this.formdetails = this.navParams.get('formDetails');\n \n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n \n this.applicants=this.pdDetails.applicat_details;\n console.log(\"pd\",this.pdDetails);\n this.generalExistEntityType=this.pdDetails.business_entity_type\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear=this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.step=0\n \n \n \n // this.initBusinessForm();\n // this.getBuisnessDetails();\n \n this.businessForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId],\n company_id: this.pdDetails.company_id,\n partners:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n select_business_activity_type:this.fb.array([]),\n manufacturing_activity_details:this.fb.array([]),\n retail_trading_activity_details:this.fb.array([]),\n wholesale_trading_activity_details:this.fb.array([]),\n service_provider_activity_details:this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales:['',Validators.compose([Validators.max(100), Validators.min(0)])],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality:[''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary:[''],\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: [''],\n shop_eat_act_cert_pic:[''],\n gst_Regn_cert: [''],\n //export_import_cert: [''],\n // factory_cert: [''],\n //practice_cert: [''],\n pf_regn: [''],\n esic_regn: [''],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks:['']\n })\n this.getdropdown();\n \n// this.initBusinessForm();\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n \n \n }\n getdropdown() {\n \n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\n if(data['dataStatus']==true){\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\n console.log(\"Filter\",filterList)\n if(filterList.length>0){\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\n \n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n \n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n \n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\n \n });\n \n \n \n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\n this.filteredCountry.next(this.countryDataList.slice());\n });\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\n this.titleData=data['records'].filter(val=>val.isactive==1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\n if(data.dataStatus){\n \n this.personsList=data['record'].filter(val=>val.applicant_type==1)\n \n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\n this.bankListValue=this.bankList.slice();\n })\n \n}\ngetStateCityDet(){\nthis.qustCat.getStateCityDetails().subscribe(data=>{\n \n\n this.stateList=data.records\n this.filteredState.next(this.stateList.slice())\n \n this.getDetails();\n });\n \n \n}\nchangeOfStartedBusiness(members,i,e){\n if(e == 'yes'){\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else{\n this.isreadonlyyear[i] =false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails(){\n \n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data=>{\n console.log('data[records]',data['records']);\n let businessVal=data['records']\n let constVal: any;\n \n \n const Partnr:any = this.businessForm.controls['partners'];\n \n const control1:any = this.businessForm.controls['persons_with_relationships'];\n \n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\n \n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n \n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n this.product_abbr == 'LAEP' ? this.businessForm.addControl('fire_noc', new FormControl('', Validators.required)) : this.businessForm.removeControl('fire_noc'); \n\n if(data['status']==200){\n\n let DocArray: any;\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\n return data['records'].partners[key];\n })\n \n if(PartnrArray.length==0){\n Partnr.push(this.createPartners())\n }\n else{\n PartnrArray.forEach((datas,key) => {\n Partnr.push(this.createPartners());\n if(datas.partner_name=='Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if(data['records'].persons_with_relationships){\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\n return data['records'].persons_with_relationships[key];\n })\n if(PartnrArray1.length>0){\n PartnrArray1.forEach((datas,key)=>{\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships=PartnrArray1\n \n }\n else{\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships=[]\n }\n }\n else{\n businessVal.persons_with_relationships=[]\n \n }\n \n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{document: '',document_pic: ''}];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid=this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents=DocArray\n \n if(businessVal.employees_appx_salary){\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n \n \n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\n let exist_activity_data: any=[];\n if(data['records'].select_business_activity_type){\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n \n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status=0;\n return activityData[index];\n }\n else{\n activityData[index].exist_status=1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n \n if(check_exist_businees_activity.length > 0)\n {\n check_exist_businees_activity.forEach((val,index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n \n });\n \n businessVal.select_business_activity_type=check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n \n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n \n if(data['records'].manufacturing_activity_details){\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\n return data['records'].manufacturing_activity_details[key];\n });\n if(selectedManufacturing.length>0){\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n \n selectedManufacturing.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'MActivity',index)\n manufacture_details.push(this.manufactureDetails())\n if(element.area_of_sale=='Within India'){\n \n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if(element.area_of_sale=='Export'){\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n \n }\n });\n businessVal.manufacturing_activity_details=selectedManufacturing;\n \n \n }\n else{\n \n businessVal.manufacturing_activity_details=[];\n }\n }\n else{\n \n businessVal.manufacturing_activity_details=[];\n }\n \n if(data['records'].retail_trading_activity_details){ \n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if(selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedRetail.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'RActivity',index)\n retailControl.push(this.manufactureDetails());\n if(element.area_of_sale=='Within India'){\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details=selectedRetail;\n }\n else{\n businessVal.retail_trading_activity_details=[];\n } \n }\n else {\n businessVal.retail_trading_activity_details=[];\n }\n \n\n // update whole sale details\n if(data['records'].wholesale_trading_activity_details){ \n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if(selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedWholesale.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'WActivity',index)\n wholesaleControl.push(this.manufactureDetails());\n if(element.area_of_sale=='Within India'){\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n }\n \n });\n businessVal.wholesale_trading_activity_details=selectedWholesale;\n }\n else{\n businessVal.wholesale_trading_activity_details=[];\n } \n }\n else {\n businessVal.wholesale_trading_activity_details=[];\n\n } \n \n \n if(data['records'].service_provider_activity_details){\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\n return data['records'].service_provider_activity_details[key];\n })\n if(selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n \n selectedService.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'SPActivity',index)\n serviceProviderControl.push(this.manufactureDetails());\n \n if(element.area_of_sale=='Within India'){\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n \n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n \n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch='';\n innercontrol.push(this.createCountrySale())\n });\n\n \n }\n });\n \n \n businessVal.service_provider_activity_details=selectedService;\n \n }\n else{\n businessVal.service_provider_activity_details=[];\n \n } \n }\n else {\n businessVal.service_provider_activity_details=[];\n\n }\n \n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n \n // dynamically add form group control\n if(data['dataStatus']){\n \n if(data['records'].seasonality.toUpperCase()=='YES'){\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\n\n \n\n } \n \n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n \n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if(businessVal.applicant_use_pos_machines == 'yes'){\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value=>{\n value.bankSearch=''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\n \n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n console.log('businessVal',businessVal);\n if(data['records'].gst_Regn_cert =='yes'){ this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('gst_Regn_cert_pic');}\n if(data['records'].factory_cert =='yes'){ this.businessForm.addControl('factory_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('factory_cert_pic');}\n if(data['records'].practice_cert =='yes'){ this.businessForm.addControl('practice_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('practice_cert_pic');}\n if(data['records'].shop_eat_act_cert =='yes'){ this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('shop_eat_act_cert_pic');}\n if(data['records'].pf_regn =='yes'){ this.businessForm.addControl('pf_regn_pic', new FormControl('')); }else{ this.businessForm.removeControl('pf_regn_pic');}\n if(data['records'].esic_regn =='yes'){ this.businessForm.addControl('esic_regn_pic', new FormControl('')); }else{ this.businessForm.removeControl('esic_regn_pic');}\n if(data['records'].export_import_cert =='yes'){ this.businessForm.addControl('export_import_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('export_import_cert_pic');}\n if(data['records'].fire_noc =='yes'){ this.businessForm.addControl('fire_noc_pic', new FormControl('')); }else{ this.businessForm.removeControl('fire_noc_pic');}\n\n this.businessForm.setValue(businessVal);\n \n \n }\n else{\n console.log('console.log 2');\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\n if(activityData.length > 0)\n {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n})\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n \n // if(this.businessForm.controls['gst_Regn_cert']){\n // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\n \n // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n // });}\n // if(this.businessForm.controls['factory_cert']){\n // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n // });}\n // if(this.businessForm.controls['practice_cert_cert']){\n // this.businessForm.controls['practice_cert_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n // });}\n // if(this.businessForm.controls['shop_eat_act_cert']){\n // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n // });}\n // if(this.businessForm.controls['pf_regn']){\n // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n // });}\n // if(this.businessForm.controls['esic_regn']){\n // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n // });}\n // if(this.businessForm.controls['export_import_cert']){\n // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n // });\n // }\n \n }\n\n filterCity(datasource: any,filterid:number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n \n \n if(filterid){\n console.log(\"val filter\",filterid)\n let filter = this.stateList.filter(x=>x.state_id==filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n}\nfilterCityData(datasource: any,filterid:number,index) {\n console.log(\"test\")\n console.log(filterid,index)\n \n if(filterid){\n let filter = this.stateList.filter(x=>x.state_id==filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index]=this.cityData[index].slice()\n console.log(\"filter \",this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n}\n\n // filter max sale options\n filterMaxSaleState(datasource: any,filterValues:any){\n this.filterCityList = filterValues;\n if(filterValues){\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any=[];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any=[];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement,statePos) => {\n selectedCites.forEach((existElement,existPos) => {\n if(stateElement==existElement.state_name && existElement.city_name.length>0){\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal=>cVal==\"1\");\n // this is for throuh out states city\n if(getAllCities.length>0){\n setCityValues= setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else{\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues= setCityValues.concat.apply(setCityValues, check); \n // console.log(\"second\",setCityValues) \n\n }\n }\n \n });\n });\n return setCityValues.length>0 ? setCityValues.filter(fVal=>fVal.city_id!=\"1\") : [];\n \n }\n else {\n return [];\n }\n}\n// filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n// console.log(selectedCites)\n// let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n// console.log(\"selectd\",existCities)\n// existCities = [].concat.apply([], existCities);\n// existCities.forEach(element=>{\n// if(element== 1){\n\n// }\n// })\n// console.log(\"concat\",existCities)\n// if(filterValues){\n// let getOriginalStateList = datasource.map(dval => dval.state_id);\n// console.log(\"Original map\",getOriginalStateList)\n// let setCityFilter = filterValues.map(x => {\n// let findIndex = getOriginalStateList.indexOf(x);\n// findIndex = datasource[findIndex].cities;\n// return findIndex;\n// });\n// console.log(\"findindex\",setCityFilter)\n \n// let merged = [].concat.apply([], setCityFilter);\n// console.log(\"merge\",merged)\n \n// if(merged.length>0){\n// let check: any = merged.filter(function(fVal){\n// return existCities.some(function(sVal){\n// return fVal.city_id==sVal;\n// });\n// })\n// console.log(check);\n// return check;\n \n// }\n// else {\n// return [];\n// }\n// }\n// else {\n// return [];\n// }\n// }\n\n\ncheckTotalEmployee(FormData){\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\n }\n// checkWithExistBusinessYear(e,i){\n// if(e > this.generalExistBusinessYear){\n// this.errorMessage[i] = \"Higher than Business Vintage\";\n// }\n// else{\n// this.errorMessage[i] = '';\n// }\n// }\n\ncheckWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n}\n\ncheckWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n}\n\n// businees activity type change event\nchangeBusinessActivity(event: any){\n \n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]); \n \n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n \n \n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\n this.RetailedChecked=event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\n this.RetailedChecked=event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\n this.WholeSalesChecked=event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\n this.WholeSalesChecked=event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\n this.ServiceChecked=event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\n this.ServiceChecked=event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\n // check activity for extra question make dynamic\n \n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\n \n if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) {\n if(this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP' ){\n this.businessForm.controls['applicant_use_pos_machines'].setValue('yes');\n }\n this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2);\n }\n\n if(this.ManufacturingChecked || this.ManufacturingChecked==undefined && this.RetailedChecked || this.RetailedChecked==undefined && this.WholeSalesChecked ||this.WholeSalesChecked==undefined && this.ServiceChecked || this.ServiceChecked==undefined){\n this.ExportFlag = false;\n }\n}\n\n\nchangeManufacturingAreaSale(getDetails: any, getIndex){\n console.log('changeManufacturingAreaSale',getDetails.value.area_of_sale);\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if(getDetails.value.area_of_sale==\"Within India\"){\n console.log('Within India',getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n console.log('Export',getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n console.log('Both',getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n// change whole options\nchangeWholesaleAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n// change service provider \nchangeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n\nchangePanIndiaOptions(type,selectedIndex,value) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n \n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==3){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==4){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n}\n\n // update partner group other form control\n changePartnerGroup(value,key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\n });\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if(total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if(total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n}\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n}\nConvertMonthintoYear(itemrow,e,i){\n\nconsole.log('datas',e,i);\n let year = itemrow.controls.current_business_experiance_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n \n}\n\n\n\ncreatePartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding:[''],\n started_business:[''],\n current_business_experiance_year:[''],\n current_business_experiance_month:[''],\n total_business_experiance:[''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n}\ncreateRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name:[''],\n other_family_relationship_id:[''],\n relation_to_id:[''],\n relationship_with_company_id:[''],\n started_business:['']\n });\n}\ncreateBusinessActivity(details):FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status:[details.exist_status==1 ? true : false]\n });\n}\ncreateServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n}\ncreateOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n}\nmanufactureDetails():FormGroup{\n return this.fb.group({\n main_products:[''],\n area_of_sale:[''],\n description:['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n}\nindiaSalesDone():FormGroup{\n return this.fb.group({\n state_name:[''],\n city_name:[''],\n stateSearch:[''],\n citySearch:['']\n })\n}\nmaxSaleState():FormGroup{\n return this.fb.group({\n state_name:[''],\n city_name:[''],\n stateSearch:[''],\n citySearch:['']\n })\n}\ncreateDocument() {\n return this.fb.group({\n document: [''],\n document_pic: [''],\n });\n}\naddDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n}\ndeleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if(control.length==1){\n this.businessForm.controls['designation'].reset();\n }else{\n control.removeAt(index);\n }\n}\naddPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n \n control.push(this.createPartners());\n}\naddPersonRelationship(event){\n event.stopPropagation()\n const control=this.businessForm.controls['persons_with_relationships']\n let length=control.length\n this.step=length\n control.push(this.createRelationShip());\n}\ndeletePersonRelationship(index){\n const control=this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n}\ndeletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if(control.length==1){\n this.businessForm.controls['partners'].reset();\n }else{\n control.removeAt(index);\n }\n}\naddMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n}\nremoveManufacturing(index){\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if(manufacturingControl.length>1){\n manufacturingControl.removeAt(index)\n }\n else{\n manufacturingControl.reset();\n }\n}\naddMoreRetail(){\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n}\nremoveRetail(index){\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\n if(retailControl.length>1){\n retailControl.removeAt(index)\n }\n else{\n retailControl.reset();\n }\n}\naddMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n}\nremoveWholesale(index){\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if(wholesaleControl.length>1){\n wholesaleControl.removeAt(index)\n }\n else{\n wholesaleControl.reset();\n }\n}\naddMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n}\nremoveServiceProvider(index){\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if(serviceControl.length>1){\n serviceControl.removeAt(index)\n }\n else{\n serviceControl.reset();\n }\n}\n// addMoreOthersActivity(){\n// let othersControl = this.businessForm.controls['others_activity_details'];\n// othersControl.push(this.createOthersActivity());\n// }\ncreateCountrySale() {\n return this.fb.group({\n country_name: ['',Validators.compose([Validators.required])],\n countrySearch:[''],\n approx_sale: ['', Validators.compose([Validators.required])]\n }); \n}\n\naddMoreState(mindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n \n\n}\nremoveState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n\naddRetailMoreState(rindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n}\nremoveRetailState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n// add more whole sale state\naddWholesaleMoreState(windex,type) {\n if(type==1){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n}\n// remove for whole sale\nremoveWholesaleState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n // add more service provider\n addServiceMoreState(sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n \n // remove service provider\n\nremoveServiceState(mindex,sindex,type){\n if(type==1){\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n}\naddDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n}\ndeleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if(control.length==1){\n this.businessForm.controls['documents'].reset();\n }else{\n control.removeAt(index);\n }\n}\n\nUploadDocuments(index) {\n const control = this.businessForm.controls['documents'];\n const control_with_index = control.controls[index];\n this.cameraProvider.getpicture().then(res=>{\n control_with_index.controls['document_pic'].setValue(res !='error' ? res : ''); \n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n}\n\nrelationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({member: option});\n });\n}\ncreatePOSMachinesDetails(data){\n if(data==null){\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch:[''],\n tid_no_of_pos_machine: [''],\n })\n }\n else{\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch:[''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n}\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n}\n\nsubmitDetails() {\n\n if(this.businessForm.controls['export_sale_of_total_sales'].invalid){\n this.toast.pdTriggerappmessage(\"Please enter a value between 0 and 100 in export sale as a % total sales\"); \n return;\n }\n // if(this.businessForm.controls['export_sale_of_total_sales']){\n // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){\n \n // }\n // }\n\n if(this.EntityTypeFlag == true){\n let control: any = this.businessForm.controls['partners'];\n let control2:any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n \n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n \n // control2.controls['started_business'].setValue('');\n\n // control2.controls['current_business_experiance_year'].clearValidators();\n // control2.controls['current_business_experiance_year'].updateValueAndValidity();\n // control2.controls['current_business_experiance_year'].setValue('');\n\n // control2.controls['current_business_experiance_month'].setValue('');\n\n // control2.controls['total_business_experiance'].clearValidators();\n // control2.controls['total_business_experiance'].updateValueAndValidity();\n // control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\",control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n \n let family: any = [];\n \n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records:any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records=this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\nif(!this.EntityTypeFlag) {\nlet count:number=0;\nif(records.partners.length>0){\n records.partners.forEach(element=>{\n console.log(element)\n count+=element.shareholding\n })\n}\nif(count>=101){\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n}\n}\n let validationFlag : number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if(records.manufacturing_activity_details.length > 0){\n\n records.manufacturing_activity_details.forEach((val,index) => {\n if(val.area_of_sale!= \"Within India\"){ \n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n \n }\n\n //type 3 checking wholesale_trading_activity_details\n if(records.wholesale_trading_activity_details.length > 0){\n\n records.wholesale_trading_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){ \n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n //type 2 checking retail_trading_activity_details\n if(records.retail_trading_activity_details.length > 0){\n\n records.retail_trading_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){ \n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n\n //type 4 checking service_provider_activity_details\n if(records.service_provider_activity_details.length > 0){\n\n records.service_provider_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){\n \n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if(validationFlag > 0){\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\nif(records.pos_machines_details){\n records.pos_machines_details.forEach(value=>{\n delete value.bankSearch\n })\n}\n \n// if(records.manufacturing_activity_details.length > 0){\n// records.manufacturing_activity_details.forEach((val,index) => {\n// let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n// let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n// let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n// if(val.area_of_sale != \"Export\"){ \n// if(val.india_where_sale_done.length > 0){\n// val.india_where_sale_done.forEach((vals,inx) => {\n// childCtrl1.controls[inx].removeControl('citySearch');\n// delete vals.citySearch;\n// childCtrl1.controls[inx].removeControl('stateSearch');\n// delete vals.stateSearch;\n// });\n// }\n// if(val.max_sale_state_name.length > 0){\n// val.max_sale_state_name.forEach((vals,inx) => {\n// childCtrl2.controls[inx].removeControl('citySearch');\n// childCtrl2.controls[inx].removeControl('stateSearch');\n// });\n// }\n// }\n// });\n// }\n// console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n }\n });\n}\n getBuisnessDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId}; \n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n \n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any =[];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n \n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{document: '',document_pic: ''}];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid=this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n}\ninWords(e,flag){\n switch(flag){\n case 1 : \n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\nRetailCounterArray: any = [];\nWholeSaleCounterArray: any = [];\nServiceCounterArray: any = [];\n\n CheckExport(value,stringFlag,index){\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n \n \n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n \n\n \n \n if(!this.ManufacturingChecked){\n // console.log(\"Manu\")\n if(stringFlag == 'MActivity' && value == \"Both\"){\n this.ManufacturingCounterArray[index] = 1;\n }\n else if(stringFlag == 'MActivity' && value != \"Both\"){\n this.ManufacturingCounterArray[index] = 0;\n }\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if(!this.RetailedChecked){ \n if(stringFlag == 'RActivity' && value == \"Both\"){\n this.RetailCounterArray[index] = 1;\n }\n else if(stringFlag == 'RActivity' && value != \"Both\"){\n this.RetailCounterArray[index] = 0;\n }\n }\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\n this.RetailCounterArray[index] = 0;\n }\n\n if(!this.WholeSalesChecked){\n if(stringFlag == 'WActivity' && value == \"Both\"){\n this.WholeSaleCounterArray[index] = 1;\n }\n else if(stringFlag == 'WActivity' && value != \"Both\"){\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\n this.WholeSaleCounterArray[index] = 0;\n }\n \n if(!this.ServiceChecked){\n \n if(stringFlag == 'SPActivity' && value == \"Both\")\n { \n this.ServiceCounterArray[index] = 1;\n }\n else if(stringFlag == 'SPActivity' && value != \"Both\"){\n this.ServiceCounterArray[index] = 0;\n }\n\n }else if(stringFlag == 'SPActivity'){\n this.ServiceCounterArray[index] = 0;\n } \n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n \n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\n \n\n this.ExportFlag = overallCounter > 0 ? true : false ;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n}\nchangePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n}\ntoGetPOSMachinesDetails(e,flag){\n\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n if(flag == 1){\n for(let i = 1 ; i<= e ; i++ ){\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if(flag == 2){\n for(let i = 1 ; i<= e ; i++ ){\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n// searchCountriesList(control:any,i:number){\n// if(!this.countryDataList){\n// return\n// }\n// let searchVal=control.controls['countrySearch'].value\n// if(!searchVal){\n// this.countryDataListValue=this.countryDataList.slice()\n// return\n// }\n// else{\n// searchVal=searchVal.toLowerCase();\n// this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\n// }\n// }\n\n searchFun(control:any,i:number,option){\n \n \n if (option == 'country') {\n console.log('option',option,control);\n control.controls['countrySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchCountries(control.controls['countrySearch'].value);\n })\n }\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n \n })\n }\n //For Pos bank search using constant provider\n if(option == 'bank'){\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.bankListValue=this.cons.searchData(this.bankList,control.controls['bankSearch'].value,option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n searchCountries(val: any) {\n console.log(\"Countrydata\");\n if(!this.countryDataList){\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredCountry.next(this.countryDataList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredCountry.next(\n this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\n )\n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId,'company_id':this.pdDetails.company_id}\n\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(value){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n if(value != ''){\n if(this.imageBucket.length !=0){\n this.imageBucket.forEach((res,index)=>{\n if(res.Name == value){\n console.log(\"res[index]\",res[index])\n delete res[index]\n }\n this.imageBucket.push({'image':res,'Name':value,'link':geoCoordinates}); \n })\n }\n this.imageBucket.push({'image':res,'Name':value,'link':geoCoordinates}); \n \n }\n else{\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n \n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n } // Else End\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"about business - Images bucket\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"about Business images \",JSON.stringify(records));\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log('response records',res,res['record']);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n \n ImageUpload(Flag : any){ \n \n this.cameraProvider.getpicture().then(res=>{\n if(Flag == 1 ){ this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 2 ){ this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 3 ){ this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 4 ){ this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 5 ){ this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : '');}// alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 6 ){ this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 7 ){ this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 8 ){ this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n\n radioChange(event,Flag){\n if(Flag == 1) {event.value =='yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');}\n if(Flag == 2) {event.value =='yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if(Flag == 4) {event.value =='yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');}\n if(Flag == 5) {event.value =='yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');}\n if(Flag == 6) {event.value =='yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');}\n if(Flag == 7) {event.value =='yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');}\n if(Flag == 3) {event.value =='yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');}\n if(Flag == 8) {event.value =='yes' ? this.businessForm.addControl('fire_noc_pic', new FormControl('')) : this.businessForm.removeControl('fire_noc_pic');}\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n addressType:any = '';\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressList: any=[];\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n chooseAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n this.qustcat.retiverForm(params).subscribe(data=>{\n const control=this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status']==200){\n if(data['records'].is_pd_done_on_initiated_address){\n console.log(\"kd\",data['records'])\n }\n }\n })\n }\n getAddress(flag){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n if(flag == 1){\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n if (initiated_address_check == false ) {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n }\n }\n if(flag == 2){\n let dataOfAddress = data['records'].addresses.filter(item => item.isactive == 1);\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n if (initiated_address_check == true && data['records'].addresses.length > 0) \n \n if(initiated_address_check == true && data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else if(initiated_address_check == true && data['records'].alternative_addresses.length > 0)\n {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n data['records'].alternative_address.forEach((data,inx)=>{\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if (data['status'] == 200) {\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n })\n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n console.log(\"address List data\",this.addressList)\n }\n AutoCompleteUpdateFun(property_id,event,i){\n if(event != ''){\n let getList = this.addressList.map(dval => dval.value.replace(/\\s/g, \"\").toLowerCase());\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let findName = this.m_address_type.find(x => x.address_type_id == property_id);\n // console.log(getkeyname.indexOf(i));\n let evt = event.replace(/\\s/g, \"\").toLowerCase();\n\n let keyexist = this.addressList.find(ob => ob['key_name'] === i);\n\n if (keyexist === undefined || keyexist === null && !getList.includes(evt)) {\n console.log('push on this');\n this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i });\n }\n else {\n let Index = getkeyname.indexOf(i);\n this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }\n console.log('update on this => Index', Index);\n }\n\n console.log('at Final add or update ', this.addressList);\n }\n}\nremoveOptionOnAutoComplete(index){\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let Index = getkeyname.indexOf(index);\n if (Index !== -1) {\n this.addressList.splice(Index, 1);\n }\n console.log('at Final remove', this.addressList);\n}\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress(2);\n this.loadDetails=true;\n }\n else{\n this.getAddress(1);\n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n this.removeOptionOnAutoComplete(i);\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n // if(values!=null) {\n // return values.id==0 ? true : false;\n // }\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder } from '@angular/forms';\n\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-future-plans-and-business-environment',\n templateUrl: 'pd-question-future-plans-and-business-environment.html',\n})\nexport class PdQuestionFuturePlansAndBusinessEnvironmentPage {\n\n\n pdDetails: any;\n formDetails: any;\n pdid: any;\n FormId: any;\n company_id:any;\n users: any;\n product_abbr: any;\n lender_short_name: any;\n complete_status: boolean = false;\n tab: any = '0';\n imageDisplay: any = [];\n imageBucket: any = [];\n public _futurePlansForm: FormGroup;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public qustcat: QuestionCategoryProvider, public aws: AwsServiceProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,private constantProvider:ConstantsProvider) {\n\n \n this.formDetails=this.navParams.get('formDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n this.FormId = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n this.users = aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n this._futurePlansForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: ['23'],\n company_id:[this.company_id],\n usp_of_the_business: [''],\n future_plans_for_business_expansion: [''],\n impact_of_gst_on_the_business: [''],\n key_competitors: [''],\n succession_plan: [''],\n brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''],\n remarks: [''],\n fk_createdby:[this.users]\n });\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage');\n this.getFuturePlans();\n this.getPDImages();\n }\n\n ionViewCanLeave() {\n \n if (this._futurePlansForm.dirty) {\n\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Data will be Lost\", \"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n return true;\n }\n else {\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n\n }\n else {\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n\n }\n\n }\n\n getFuturePlans() {\n let Records = { 'parent_pdid': this.pdDetails.parent_pd_id, \n 'pd_id': this.pdid, \n 'pd_form_id': this.FormId,\n 'company_id': this.company_id}\n this.qustcat.retiverForm(Records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business);\n this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion);\n this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business);\n this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors);\n this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan);\n this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants);\n this._futurePlansForm.controls.remarks.setValue(data['records'].remarks);\n }\n else { };\n })\n\n }\n\n saveFuturePlan() {\n if (this._futurePlansForm.invalid) {\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else {\n var answerData = this._futurePlansForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res => {\n if (res['dataStatus'] == true) {\n //TO CHANGE THE FORM STATE \n this._futurePlansForm.reset(this._futurePlansForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n }\n else {\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id':this.pdDetails.company_id }\n this.qustcat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n \n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n \n }\n }\n })\n }\n\n changeName(value, index, img) {\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n }\n\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n \n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '' ,'link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n \n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id':this.company_id,\n \n }\n \n this.qustcat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n/**\n * Generated class for the FormCompleteCheckModalPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-form-complete-check-modal',\n templateUrl: 'form-complete-check-modal.html',\n})\nexport class FormCompleteCheckModalPage {\n\n datas:any\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n this.datas=this.navParams.get('values');\n console.log(this.datas)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FormCompleteCheckModalPage');\n\n }\n closeModal(){\n this.navCtrl.pop();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/form-complete-check-modal/form-complete-check-modal.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n \n\n@Component({\n selector: 'page-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule,Config, Events } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\nimport {FormCompleteCheckModalPage} from '../pages/form-complete-check-modal/form-complete-check-modal'\n//import { FCM } from '@ionic-native/fcm/ngx';\n\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { SearchRelationPipe } from '../pipes/search-relation/search-relation';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {BackgroundGeolocation} from '@ionic-native/background-geolocation'\nimport {ModalScaleUpEnterTransition} from '../app/modalanimations/enter'\nimport {ModalScaleUpLeaveTransition} from '../app/modalanimations/leave'\nimport {Push} from '@ionic-native/push'\n\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,SearchRelationPipe,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n \n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,BackgroundGeolocation,\n Push,Events,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {\n\n constructor(public config:Config){\n this.setCustomTransitionsForModal()\n }\n private setCustomTransitionsForModal() {\n this.config.setTransition('modal-scale-up-leave', ModalScaleUpLeaveTransition);\n this.config.setTransition('modal-scale-up-enter', ModalScaleUpEnterTransition);\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform, Events } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {Push,PushOptions,PushObject} from '@ionic-native/push'\nimport { CookieStorage } from 'amazon-cognito-identity-js';\nimport {ToastProvider} from '../providers/common-provider/toast'\n\ndeclare let notificationAccess:boolean\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n \n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService,private push:Push,private event:Events,private toastProvider:ToastProvider) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n \n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n this.notification()\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n this.unregisterNotification()\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n notificationAccess=true\n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n notification(){\n // this.nav.setRoot(this.nav.getActive().component);\n this.push.hasPermission().then((res: any) => {\n \n if (res.isEnabled) {\n console.log('We have permission to send push notifications');\n } else {\n console.log('We do not have permission to send push notifications');\n }\n \n });\n const option:PushOptions={\n android:{\n senderID:'893175418100'\n },\n ios: {\n alert: 'true',\n badge: true,\n sound: 'false'\n },\n windows: {},\n browser: {\n pushServiceURL: 'http://push.api.phonegap.com/v1/push'\n }\n }\n const pushObject:PushObject=this.push.init(option);\n if(notificationAccess){\n\n pushObject.on('notification').subscribe((notification: any) =>{\n console.log('Received a notification', notification)\n if(notification.additionalData.foreground){\n this.event.publish('alert',notification);\n this.toastProvider.setAlertwithButton(notification)\n }\n else{\n this.event.publish('notify',notification);\n //this.nav.setRoot(PdListPage,{notify:'Via Notification'});\n this.rootPage=PdListPage\n }\n });\n }\n else{\n console.log(\"Sorry you dont have notification access\");\n }\n \n\n pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration));\n\n pushObject.on('error').subscribe(error => console.error('Error with Push plugin', error));\n \n }\n unregisterNotification(){\n // PushObject.unregister(()=>console.log(\"Notification is Unregistered\"))\n // this.push.unregister()\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[{\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n },\n ]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertwithButton(data){\n let alert =this.alertCtrl.create({\n title: 'Notification',\n subTitle:data.title ,\n message:data.message,\n buttons: ['OK']\n })\n alert.present();\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpEnterTransition extends PageTransition {\n\npublic init() {\n const ele = this.enteringView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)');\n wrapper.fromTo('opacity', 1, 1);\n\n this\n .element(this.enteringView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/enter.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpLeaveTransition extends PageTransition {\n\npublic init() {\n const ele = this.leavingView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n const contentWrapper = new Animation(this.plt, ele.querySelector('.wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)');\n wrapper.fromTo('opacity', 1, 1);\n contentWrapper.fromTo('opacity', 1, 0);\n\n this\n .element(this.leavingView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(contentWrapper)\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/leave.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n updateSchedule(updateData){\n return this.http.post(this.apiurl + \"schdulePD\", { \"records\": updateData })\n }\n\n\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n pdFormsCompletenessCheck(pd_id){\n return this.http.post(this.apiurl+'pdFormsCompletenessCheck',{'pd_id':pd_id,'client':'MOB'})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides, Events } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n\n notification:any=[]\n from:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions,private event:Events) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n this.event.subscribe('notify',(res)=>{\n this.notification.push(res);\n })\n \n this.from=this.navParams.get('notify')\n console.log(\"from\",this.from);\n console.log(\"notification via event\",this.notification);\n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" || sch.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/storage/storage.ts","../../src/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../src/providers/common-provider/loading.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/search-relation/search-relation.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","../../src/pages/form-complete-check-modal/form-complete-check-modal.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/providers/common-provider/toast.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/app/modalanimations/enter.ts","../../src/app/modalanimations/leave.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/aws-service/aws-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;IAGD,kDAAe,GAAf,UAAgB,IAAI;QAElB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAC,yBAAyB,GAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,+CAAY,GAAZ,UAAa,QAAQ;QAEjB,IAAI,OAAO,GAAG,EAAC,SAAS,EAAC,CAAC,QAAQ,C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AC,CAAC;QAG/B,wDAAwD;QACvD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,KAAK,CAAC,CAAC;IAEhE,CAAC;IAED,0CAAa,GAAb,UAAc,GAAG;QAEf,IAAI,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAC9B,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,WAAW,EAAC,WAAW,EAAC,cAAc,EAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC;QACzF,IAAI,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAE9B,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,QAAQ,CAAC,CAAC;IAChE,CAAC;IA3JU,kBAAkB;QAD9B,yEAAU,EAAE;yCAGa,wEAAU,EAAe,gFAAsB,EAAY,+EAAiB;OAFzF,kBAAkB,CA4J9B;IAAD,yBAAC;CAAA;AA5J8B","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n // let cacheid=tableName\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // let data= this.http.post(this.apiurl+'getListOfMaster',masters);\n //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d')\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Geolocation} from '@ionic-native/geolocation'\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\n// import {C} from '../../constants'\nimport {environment as ENV} from '../../environments/environment'\n\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient,private geo:Geolocation,private locationAccuracy:LocationAccuracy) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n let sparqprod= 'https://pdgenie.com/sparqprod/'\n return testapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n enableAccuracy()\n {\n return this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n return this.getGeoTag();\n // this.getcurrentBackgroundLocation();\n },\n error => console.log('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n });\n }\n getGeoTag(){\n return this.geo.getCurrentPosition().then(res=>{\n console.log(\"res from getGeoTag\",res.coords)\n console.log(\"res from provider\",new Date(res.timestamp))\n let lat=res.coords.latitude;\n let long=res.coords.longitude;\n let curr_pos=lat+\",\"+long\n return curr_pos\n }).catch(err=>console.log(\"error in getGeoTag\",err))\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ModalController,ModalOptions, Modal } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'\nimport {FormCompleteCheckModalPage} from '../form-complete-check-modal/form-complete-check-modal'\nimport {ConstantsProvider} from '../../providers/constants/constants'\n\n\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,\n public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,\n public pdstatusprovide:PdtriggerProvider, private modalCtrl:ModalController,private constantProvider:ConstantsProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n \n this.constantProvider.enableAccuracy().then(res=>{\n console.log(\"Accuracy from Category Provider\",res)\n })\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\nPdFormCompletnessCheck(){\n this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(res=>{\n console.log(res['records']);\n if(res['records'].length > 0){\nconst modalOpt:ModalOptions={\n //component:FormCompleteCheckModalPage,\n // enterAnimation: 'modal-scale-up-enter',\n // leaveAnimation: 'modal-scale-up-leave',\n cssClass:\"pdimagecompleteModal\"\n}\nconst modal=this.modalCtrl.create(FormCompleteCheckModalPage,{'values':res['records']},modalOpt)\nmodal.present()\n }\n else{\n //alert(\"completed PD\")\n\t this.completePDAlert()\n }\n })\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\nimport {CameraProvider} from '../../providers/common-provider/camera' ;\nimport {LoadingProvider} from '../../providers/common-provider/loading';\nimport {StorageProvider} from '../../providers/storage/storage';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport {BackgroundGeolocation,\n BackgroundGeolocationConfig,\n BackgroundGeolocationResponse,\n BackgroundGeolocationEvents} from '@ionic-native/background-geolocation'\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\nimageDisplay: any=[];\nimageBucket: any=[];\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n add_requirements:any;\n requirement_hide: boolean=true;\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController,\n public qustCat: QuestionCategoryProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider,private backgroundgeolocation:BackgroundGeolocation) {\n \n \n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n this.requirement_hide=false;\n // this.getcurrentBackgroundLocation();\n }\n ionViewCanEnter(){\n this.getFullPD();\n \n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n console.log('ionViewDidLoad InputPage' ); \n this.getPDImages();\n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.add_requirements=res['records'].pd_additional_requirements;\n this.requirement_hide=res['records'].pd_additional_requirements.length == 0 ? true : false\n console.log(\"req\",this.add_requirements.length);\n \n console.log(\"req\",this.requirement_hide);\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n console.log('dasdsfdsffds',res);\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;let param : any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n //sample format : fk_pd_id: \"868\", schedule_time: \"2019-05-30 18:51\", fk_scheduled_by: \"165\";\n param = {'fk_pd_id': this.address_pd_id, 'schedule_time':schDate, 'fk_scheduled_by': this.users}\n this.pdDetails.updateSchedule(param).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n console.log(\"geoLocation data\",data)\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n\n getcurrentBackgroundLocation() \n {\n let data:any\n const config:BackgroundGeolocationConfig={\n desiredAccuracy: 10,\n stationaryRadius: 20,\n distanceFilter: 30,\n debug: false, // enable this hear sounds for background-geolocation life-cycle.\n stopOnTerminate: false // enable this to clear background location settings when the app terminates\n };\n console.log(\"getCurrent Location 1 function\")\n this.backgroundgeolocation.configure(config).then(()=>{\n this.backgroundgeolocation.on(BackgroundGeolocationEvents.location)\n .subscribe((location:BackgroundGeolocationResponse)=>{\n //this.toast.pdTriggerappmessage(\"alert for loca, \"+location)\n console.log(\"background geo location\",location);\n let pos=location.latitude+\",\"+location.longitude\n data = {'pd_id':this.address_pd_id,'link':pos};\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>{\n console.log(\"saved location in Api\",res);\n\n },err=>{\n console.log(\"Not saved in Api\",err);\n })\n },err=>{\n console.log(\"Error in background geolocation subscribtion\")\n })\n },err=>{\n console.log(\"Error in background geolocation configuration\")\n })\n this.backgroundgeolocation.start();\n \n // let data:any;\n // let options = {\n // frequency: 3000, \n // enableHighAccuracy: true,\n // timeOut:1000,\n // };\n \n // this.timeInterval = setInterval(()=>{\n // this.currentPosPDofficer = '';\n // this.geolocation.getCurrentPosition(options).then((resp) => {\n // // resp.coords.latitude\n // // resp.coords.longitude\n // if((resp as Geoposition).coords !=undefined){\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n // console.log(this.currentPosPDofficer);\n // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n // this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n // {\n // console.log(\"geoLocation data\",data)\n // // this.updateinitiated = res;\n // // if(this.updateinitiated.dataStatus == true)\n // // { \n // // // this.getNewpdupdate();\n // // // this.startedAccess = true;\n // // }else\n // // {\n // // this.startedAccess = false;\n // // }\n // })\n // }\n // }).catch((error)=>{\n // this.toast.pdTriggerappmessage(error.message);\n // })\n \n // },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n \n\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation()\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n this.backgroundgeolocation.finish();\n this.backgroundgeolocation.stop();\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'|| data.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e)+' Only';\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n\n if(!val['msg']){\n // res = this.customfilter(res); \n console.log('val[records]',val['records']);\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n capture(){\n \n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n \n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geocoords\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n \n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n\n customfilter(res){\n console.log('custome filter');\n return res.filter(data=>data.fk_form_id != null);\n }\n\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.applicatentDetails.pd_id,\n 'formid':null,\n 'images':this.imageBucket,\n 'company_id':null\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n business_serviceProvider: any = [];\n\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,\n private constantProvider: ConstantsProvider) {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n \n if(data.dataStatus){\n \n let datas = data.records;\n console.log('datas',datas);\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n // this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]);\n \n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if(api.length > 0){ \n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n if (val.type_of_activity_id == 5) {\n if(val.prodcuts){\n this.business_serviceProvider.push(val.prodcuts);\n console.log(this.business_serviceProvider);\n }\n }\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n \n \n }else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n // serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n \n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // this.serviceProviderForm = true;\n if (dataForm.servicing_details[0] != null) {\n let api_service_providers = dataForm.servicing_details[0].service_providers;\n this.initServiceProvidersDetails(api_service_providers);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n else {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n }\n this.noRecordsFound = true;\n } else {\n \n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n this.noRecordsFound = true;\n }\n } else {\n console.log(' data in else part');\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n \n let arr = val.filter(data => data.type_of_activity_id == 5);\n console.log(arr,arr.length);\n if (arr.length > 0) {\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_providers: this.fb.array([]),\n service_providers_total_payments_percent_on_credit: []\n });\n } else {\n console.log('ELSE');\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n initServiceProvidersDetails(datas) {\n console.log('datas',datas);\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n\n if (datas === null) {\n console.log('initServiceProvidersDetails if null');\n control.push(this.initServiceProviders(null));\n } else {\n console.log('else not null');\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_payment_type, 3, inx);\n control.push(this.initServiceProviders(val));\n });\n }\n }\n\n initServiceProviders(records) {\n console.log('initServiceProviders',records);\n if (records === null) {\n console.log('if');\n return this.fb.group({\n service_provider_name: [''],\n service_provider_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n service_provider_contact_person_name: [''],\n service_provider_contact_person_mobile_number: [''],\n person_stdcode: [null],\n person_landline: [null],\n service_provider_payment_type: [''],\n service_provider_payment_mode: [''],\n service_provider_frequency_of_purchase: [''],\n service_provider_credit_days_from: [''],\n service_provider_credit_days_to: [''],\n })\n } else {\n console.log('else');\n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n service_provider_supplier_name: [records.service_provider_supplier_name],\n service_provider_contact_person_name: [records.service_provider_contact_person_name],\n service_provider_contact_person_mobile_number: [records.service_provider_contact_person_mobile_number],\n person_stdcode: [records.person_stdcode],\n person_landline: [records.person_landline],\n service_provider_payment_type: [records.service_provider_payment_type],\n service_provider_payment_mode: [records.service_provider_payment_mode],\n service_provider_frequency_of_purchase: [records.service_provider_frequency_of_purchase],\n service_provider_credit_days_from: [records.service_provider_credit_days_from],\n service_provider_credit_days_to: [records.service_provider_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProvider(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.push(this.initServiceProviders(null));\n }\n\n removeServiceProvider(inx): void {\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n saveSupplierInfoWithImageCheck(answerFormValues) {\n console.log(\"forms\", answerFormValues);\n let required_imageCheck = this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\", required_imageCheck);\n if (!required_imageCheck) {\n let alert = this.toast.setAlert(\"Mandatory photographs not taken\", \" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value => {\n if (value == 's') {\n this.saveSupplierInfo(answerFormValues)\n }\n else {\n return true;\n }\n })\n }\n else {\n this.saveSupplierInfo(answerFormValues)\n }\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n e == 1 ? '' : '';\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n\n if (flag == 3) {\n if (e == 3) {\n // items.controls['service_provider_credit_days_from'].setValidators([Validators.required]);\n // items.controls['service_provider_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n // items.controls['service_provider_credit_days_from'].clearValidators();\n items.controls['service_provider_credit_days_from'].setValue('');\n // items.controls['service_provider_credit_days_to'].clearValidators();\n items.controls['service_provider_credit_days_to'].setValue('');\n }\n items.controls['service_provider_credit_days_from'].updateValueAndValidity();\n items.controls['service_provider_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n\n captureTheSupplierPics(materialName, index, supplierName) {\n \n \n if (supplierName != '') {\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res => {\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates });\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n }\n else if (supplierName == '') {\n alert('Please Fill The Supplier Name');\n }\n\n }\n mandatoryImageCheck(Form_values) {\n let Form_names = []\n if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) {\n if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) {\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) })\n })\n }\n }\n // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n // if(Form_values.service_provider_details[0].service_products.length != 0){\n // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) })\n // })\n // }\n // }\n if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) {\n if (Form_values.trade_details[0].trading_products.length != 0) {\n Form_values.trade_details[0].trading_products.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) })\n })\n }\n }\n // console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count: number = 0;\n let mandatoryimgSaved = []\n let mandatoryimgNotSaved = []\n\n if (Form_names.length != 0) {\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue => {\n this.imageDisplay.forEach((imgvalue) => {\n\n // console.log(\"Form values individuals\",formvalue)\n if (formvalue.name != imgvalue.Name) {\n\n valBool = true\n }\n else {\n\n valBool = false\n\n count++;\n\n\n }\n if (count >= 2 && valBool == false) {\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n //return\n }\n else {\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n\n })\n if (valBool == true)\n console.log(\"Form name\", formvalue.name)\n\n mandatoryimgNotSaved.push(formvalue.name)\n\n })\n\n console.log(\"mandatoryimgSaved\", mandatoryimgSaved)\n console.log(\"mandatoryimgNot Saved\", mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res => {\n mandatoryimgNotSaved = mandatoryimgNotSaved.filter(val => val != res)\n\n })\n\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage = (mandatoryimgNotSaved) => mandatoryimgNotSaved.filter((val, i) => mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\", uniquenotsavedImage(mandatoryimgNotSaved));\n if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) {\n return false\n }\n else {\n return true\n }\n\n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n\n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n //}\n }\n else {\n return true\n }\n\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"ll\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.formDetails.form_id,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"records\", JSON.stringify(records))\n\n this.qustCat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n S_GoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n spdCommentFlag: any = [];\n\n // serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n suppliers_service_providers : any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false;\n SPCommentCard: boolean = false;\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n public SPsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n let type5 = record.from_business.filter(data => data.type_of_activity_id == 5);\n let type5length = type5[0].hasOwnProperty(\"products\") ? type5[0].products.length : 0;\n console.log('type5length',type5,type5length);\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [dataForm.hasOwnProperty('is_sufficiant_service_goods') ? dataForm.is_sufficiant_service_goods : ''],\n service_goods_remarks: [dataForm.hasOwnProperty('service_goods_remarks') ? dataForm.service_goods_remarks : '' ]\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.serviceProviderForm = true;\n let servicing_temparr = [];\n if(dataForm.hasOwnProperty('service_provider')){\n servicing_temparr['service_provider'] = dataForm.servicing_details[0].service_provider;\n this.initServicingDetails(servicing_temparr);\n }\n else{\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null); \n }\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n \n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n \n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n console.log('inside servicingFormCreation',val);\n let arr = val\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n if (arr > 0){\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n } else {\n console.log('Else');\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n }\n }\n\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n // 'is_sufficiant_raw': '',\n // 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n // 'is_sufficiant_goods': '',\n // 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n // is_sufficiant_raw: [''],\n // rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n // is_sufficiant_raw: [records.is_sufficiant_raw],\n // rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n // is_sufficiant_goods: [''],\n // finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n // is_sufficiant_goods: [records.is_sufficiant_goods],\n // finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n // is_sufficiant_traded_goods: [''],\n // traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n // is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n // traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n\n initServicingDetails(datas) {\n const service = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n if (datas === null) {\n \n if (this.suppliers_service_providers.length > 0) {\n this.suppliers_service_providers.forEach(val => {\n let Serv_Prov_Goods: any = {\n 'service_provider_name': val,\n 'service_provider_observed': '',\n 'service_provider_quantity': '',\n 'service_provider_uom': '',\n 'service_provider_other_uom': '',\n 'estimated_service_provider_value': ''\n }\n\n service.push(this.createServiceProvider(Serv_Prov_Goods));\n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n } else {\n if (datas.service_provider !== undefined) {\n datas.service_provider.forEach((val, index) => {\n if (val.estimated_service_provider_value) {\n this.inWords(val.estimated_service_provider_value, 5, index);\n }\n this.checkComments(val.service_provider_observed, 5, index);\n service.push(this.createServiceProvider(val));\n \n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n }\n }\n\n createServiceProvider(records) {\n \n if (records === null) {\n \n return this.fb.group({\n service_provider_name: [''],\n service_provider_observed: [''],\n service_provider_quantity: [''],\n service_provider_uom: [''],\n uomSearch:[null],\n service_provider_other_uom: [''],\n estimated_service_provider_value: [''],\n // traded_goods_value: [''],\n });\n }\n else {\n \n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n service_provider_observed: [records.service_provider_observed],\n service_provider_quantity: [records.service_provider_quantity],\n service_provider_uom: [records.service_provider_uom],\n uomSearch:[null],\n service_provider_other_uom: [records.service_provider_other_uom],\n estimated_service_provider_value: [records.estimated_service_provider_value],\n // traded_goods_value: [records.traded_goods_value],\n\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.push(this.createServiceProvider(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n not_stock_of_sp: any = [];\n checkComments(value, flag, index) {\n \n console.log(value, flag, index);\n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 5) {\n console.log('adf');\n this.ServiceCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_sp[index] = value == \"yes\" ? 1 : 0;\n\n let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n this.SPCommentCard = SPOverallCount > 0 ? true : false;\n\n let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n \n if(not_stock3 > 0){ \n \n this.SPsufficientList[0].disabled = false;\n this.SPsufficientList[2].disabled = true;\n \n }\n else if(not_stock3 == 0){ \n \n this.SPsufficientList[0].disabled = true;\n this.SPsufficientList[2].disabled = false;\n \n }\n \n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 5:\n this.S_GoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n \n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray, FormControl } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n product_abbr: any;\n lender_short_name : any;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n AV_CCAnnualSalesAmtInwords:any = [];\n formDetails: any;\n CustSegAbbr:any;\n temparray : any = [];\n picsArrayLength :any = 0;\n ServiceDataAvailability:boolean = false;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.initFinancialForm()\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n if (data.dataStatus) { \n if(data.records.type_of_activity.length == 1){\n let bussiness_service_datas = data.records.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n this.ServiceDataAvailability = bussiness_service_datas.length>0 ? true : false;\n if(this.ServiceDataAvailability == true){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA');\n }else{\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n }\n else{\n this.ServiceDataAvailability = false;\n }\n }\n })\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([]),\n select_working_capital_facilities_availed : this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n estimate_posmachine_or_cc_annual_sales:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n if(this.CustSegAbbr == 'AI'){ \n this.financialForm.removeControl('estimated_value');\n this.financialForm.controls['is_financial_customer'].setValue('');\n } \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n\n if(records.is_financial_statements == 'yes' && this.picsArrayLength == 0){\n this.toast.pdTriggerappmessage(\"Photos of Finanical Statements are Required\");\n return;\n }\n \n records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(value => value.exist_status == 1);\n if(records.is_there_working_capital_available == \"no\"){\n records.select_working_capital_facilities_availed = [];\n if(records.bank_guarantee) delete records.bank_guarantee ;\n if(records.cash_credit_limit) delete records.cash_credit_limit;\n if(records.factoring) delete records.factoring;\n if(records.forfaiting) delete records.forfaiting;\n if(records.letter_of_credit) delete records.letter_of_credit;\n if(records.od_limit) delete records.od_limit;\n if(records.other_reason_for_working_capital_facilities_availed) delete records.other_reason_for_working_capital_facilities_availed ;\n if(records.reason_for_working_capital_facilities_availed) delete records.reason_for_working_capital_facilities_availed ;\n }\n \n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n const workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed'];\n\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n // Financial part 1 : Date \n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n\n // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value.\n\n if(this.CustSegAbbr != 'AI'){\n \n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n this.AV_CCAnnualSalesAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val;\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n }\n else if(this.CustSegAbbr == 'AI'){\n retrieveData.estimated_value = [];\n }\n\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n if (retrieveData.select_working_capital_facilities_availed) {\n exist_av_data = Object.keys(retrieveData.select_working_capital_facilities_availed).map(function (key) {\n return retrieveData.select_working_capital_facilities_availed[key].id;\n });\n }\n \n let actual_av = avData.map(item => item.id);\n \n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n \n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n\n if (val.exist_status == 1 && val.id == 2) {\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n \n });\n \n retrieveData.select_working_capital_facilities_availed = check_exist_av;\n }\n\n this.financialForm.setValue(retrieveData)\n\n if(this.ServiceDataAvailability == false && retrieveData.unsold_stock_lies_in_days == 'NA' ){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n\n }\n else {\n console.log('didN`T get the api');\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n let actual_av = avData.map(item => item.id);\n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n });\n }\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n workingCptl(details: any): FormGroup {\n return this.fb.group({\n id: [details.id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n\n changeWorkingCapitalFacilities(event: any) {\n \n if (event.value.exist_status == true && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n\n this.financialForm.removeControl('bank_guarantee');\n }\n else if (event.value.exist_status == false && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 3) {\n this.financialForm.removeControl('cash_credit_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 4) {\n this.financialForm.removeControl('factoring');\n }\n else if (event.value.exist_status == false && event.value.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 5) {\n this.financialForm.removeControl('forfaiting');\n }\n else if (event.value.exist_status == false && event.value.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 6) {\n this.financialForm.removeControl('letter_of_credit');\n }\n else if (event.value.exist_status == false && event.value.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 7) {\n this.financialForm.removeControl('od_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 1) {\n this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed');\n this.financialForm.removeControl('reason_for_working_capital_facilities_availed');\n }\n else if (event.value.exist_status == false && event.value.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n\n // if(event.value.exist_status==true && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n}\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n if(annual_sale != ''){\n\n let current_margin : number =(profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : \n loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00 )\n let pre_margin : number = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : \n temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00 );\n let absoulte_value_of_pre_margin : number = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00 ); \n\n let a: number = current_margin - pre_margin; \n let b: number = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin;\n let c: number = b * 100;\n \n // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))));\n // let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\n const pattern = /[0-9\\.]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 13 : \n this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n this.picsArrayLength = val['records'].length;\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n captureTheFinancialPics(value){\n// alert('Value '+value+' - '+this.picsArrayLength);\n if(value == 'yes' && this.picsArrayLength == 0){\n alert('You Must Take The Finanical Pic');\n }\n else{\n alert('No Need');\n }\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionClientInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider,private constantProvider:ConstantsProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\nconsole.log(\"form values\",this.clientInfoForm);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n \n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\n // this.qustCat.saveForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.navCtrl.pop();\n // }\n // });\n\n\n // }\n saveClientInfoWithImageCheck(answerFormValues){\n console.log(\"forms\",answerFormValues);\n let required_imageCheck=this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\",required_imageCheck);\n if(!required_imageCheck){\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.saveClientInfo(answerFormValues)\n }\n else{\n return true;\n }\n })\n }\n else{\n this.saveClientInfo(answerFormValues)\n }\n }\n\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n\n \n // answerFormValues.trade_details.forEach((value)=>{\n // value.trading_products.forEach()\n // })\n // this.imageDisplay.forEach((res,index)=>{\n // if(res.Name == )\n // })\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n \n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n captureTheClientPics(materialName,index,clientName){\n \n if(clientName != ''){\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':clientName + ' - ' + materialName + ' ' + (index+1),'link':geoCoordinates});\n })\n }\n\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n }\n else if(clientName == ''){\n alert('Please Fill The Client Name');\n }\n \n }\n mandatoryImageCheck(Form_values){\n let Form_names=[]\n if(Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null){\n if(Form_values.manufacturing_details[0].main_raw_materials.length != 0){\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.manufacturing_client_name+' - '+ 'Manufacturing Product ' + (index+1) })\n })\n }\n }\n if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n if(Form_values.service_provider_details[0].service_products.length != 0){\n Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provider ' + (index+1) })\n })\n }\n}\n if(Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null){\n if( Form_values.trade_details[0].trading_products.length != 0){\n Form_values.trade_details[0].trading_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.trade_client_name+' - '+ 'Trading Product ' + (index+1) })\n })\n }\n}\n console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count:number=0;\n let mandatoryimgSaved=[]\n let mandatoryimgNotSaved=[]\n\nif(Form_names.length != 0 ){\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue=>{\n this.imageDisplay.forEach((imgvalue)=>{\n \n // console.log(\"Form values individuals\",formvalue)\n if(formvalue.name != imgvalue.Name){\n \n valBool=true\n }\n else{\n\n valBool=false\n \n count ++;\n \n \n }\n if(count >=2 && valBool == false){\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n // return\n }\n else{\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n \n })\n if(valBool==true)\n console.log(\"Form name\",formvalue.name)\n \n mandatoryimgNotSaved.push(formvalue.name)\n \n })\n \n // console.log(\"mandatoryimgSaved\",mandatoryimgSaved)\n // console.log(\"mandatoryimgNot Saved\",mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res=>{\n mandatoryimgNotSaved=mandatoryimgNotSaved.filter(val=>val != res)\n \n })\n \n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage=(mandatoryimgNotSaved)=>mandatoryimgNotSaved.filter((val,i)=>mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\",uniquenotsavedImage(mandatoryimgNotSaved));\n if(uniquenotsavedImage(mandatoryimgNotSaved).length > 0){\n return false\n }\n else{\n return true\n }\n \n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n \n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n // }\n // else{\n // return true\n // }\n}\nelse{\n return true\n}\n\n }\n\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log(\n \"%cWelcome, Camera Provider\",\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\n );\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getPicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n\n getcommonpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getcommonpicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData.filter(data=>data.fk_form_id == null);\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 258;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 258\n// module chunks = 2","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 301;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 301\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\nimport { DatePipe } from '@angular/common';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n pipe = new DatePipe('en-US');\n AppxPDLocationImgValid : boolean = false;\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n alertnativeCityData: any=[];\n alertnativePincodeData: any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n //this.constant.getGeoTag().then(res=>{\n //console.log(\"constructor geo location promise\",res);\n //})\n\n // console.log(\"geo\",this.constant.getGeoTag())\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n\n this.pdQuestionAddress = this.fb.group(\n {\n // addresses:this.fb.array([]),\n // address_form_remark:[''],\n // alternative_address:this.fb.array([]),\n // address_type_ques:this.fb.array([]),\n // pd_is_done_on_initiated_address:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n addresses: this.fb.array([]),\n is_pd_done_on_initiated_address: [true],\n address_type: ['', Validators.compose([Validators.required])],\n locality: ['', Validators.compose([Validators.required])],\n locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n address_form_remark: ['']\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n //this.getaddressForm(); \n let params = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.setAddressFromDatas(params);\n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option,flag){\n\n if (option == 'city' && flag ==1) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin' && flag ==1) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n if (option == 'city' && flag ==2) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchAlternativeCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'pin' && flag ==2) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchAlternativePin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchAlternativePin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.alertnativePincodeData[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.alertnativePincodeData[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchAlternativeCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.alertnativeCityData[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.alertnativeCityData[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n \n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n \n \n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n \n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n \n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,flag) {\n \n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n this.pincodeData[i] = data.records.pincode;\n \n //this.filteredCity.next(this.cityData[i].slice())\n if(flag== 1){\n this.cityDataValue[i]=this.cityData[i].slice()\n // this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n else if(flag == 2){\n this.alertnativeCityData[i]=this.cityData[i].slice()\n this.alertnativePincodeData[i]=this.pincodeData[i].slice()\n }\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n \n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n \n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n // address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n // locality_others: [AddressDetails.locality_others],\n // // locality_mixuse: [AddressDetails.locality_mixuse],\n // pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n // comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n // estimated_area: [AddressDetails.estimated_area],\n // uom: [AddressDetails.uom],\n // uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n // address_type: ['', Validators.compose([Validators.required])],\n // address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: ['', Validators.compose([Validators.required])],\n // locality_others: [''],\n // // locality_mixuse: [''],\n // pd_location: ['', Validators.compose([Validators.required])],\n // comment_locality: ['', Validators.compose([Validators.required])],\n // estimated_area: [''],\n // uom: [''],\n // uom_others: [''] \n });\n }\n \n }\n alternativeAddress(e) {\n console.log(e);\n console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value)\n if (e === false) {\n console.log('alternativeAddress false',e);\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n alternative_address_control.push(this.initAlternativeAddress(null));\n }\n else if (e === true) {\n console.log('alternativeAddress',e);\n this.pdQuestionAddress.removeControl('alternative_addresses');\n }\n}\n initAlternativeAddress(add_values){\n if(add_values == null){\nreturn this.fb.group({\n alternative_address:[''],\n alternative_state:[''],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[''],\n alternative_pincode:[''],\n alternative_pincode_others:[''],\n reason_for_alternative_address:['']\n })\n}\nelse{\n return this.fb.group({\n alternative_address:[add_values.alternative_address],\n alternative_state:[add_values.alternative_state],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[add_values.alternative_city],\n alternative_pincode:[add_values.alternative_pincode],\n alternative_pincode_others:[add_values.alternative_pincode_others],\n reason_for_alternative_address:[add_values.reason_for_alternative_address]\n})\n}\n\n }\n /** On Key Press Event For Numbers */\n keyPress(event: any) {\n const pattern = /[0-9]/;\n \n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[0] = 'Estimated area of the ' + e;\n }\n imageMandatoryCheck(){\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.onSubmit()\n }\n else{\n return true;\n }\n })\n }\n else{\n this.onSubmit()\n }\n \n }\n onSubmit() {\n\n // if(this.pdQuestionAddress.invalid){\n // this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n // return\n // }\n // if(this.AppxPDLocationImgValid == false){\n // //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n \n // }\n // else if (this.addressForm.value.address_form_remark == '') {\n // this.notifier.notify('warning', 'Fill Remark!');\n // this.disableAfterSubmit = false;\n // return;\n // }\n \n // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value);\n\n let records: any = {};\n\n records.addresses = this.pdQuestionAddress.controls.addresses.value;\n records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value\n\n if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) {\n if(records.addresses[0].pincode != 1){\n delete records.addresses[0].pincode_others\n }\n records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.addresses[0].citySearch = '';\n records.addresses[0].pinSearch = '';\n records.addresses[0].stateSearch = '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) {\n records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value;\n records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if(records.addresses[0].alternative_pincode != 1){\n delete records.addresses[0].alternative_pincode_others\n }\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : '';\n records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : '';\n records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value;\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n\n // console.log('Final records', records);\n\n \n\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['status'] == 200) {\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n else {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!');\n \n }\n }, error => {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');\n \n });\n \n\n }\n\n savepdQuestionOLD(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n return\n }\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n\n setAddressFromDatas(params){\n this.qustCat.retiverForm(params).subscribe(data => {\n\n const control = this.pdQuestionAddress.controls['addresses'];\n if (data['status'] == 200) {\n let initiated_address_check =data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n if (data['records'].addresses.length == 0) {\n control.push(this.initAddress(null));\n } else {\n data['records'].addresses.forEach((datas, index) => {\n let obj = {\n 'address': datas.address,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode': datas.pincode,\n 'pincode_others': datas.pincode ? datas.pincode_others : ''\n }\n this.getCityAndPincodeDetails(datas.state, index, 1);\n control.push(this.initAddress(obj));\n \n if (datas.address_type_others == \"\" || datas.address_type_others == null){\n delete datas.address_type_others;\n }\n\n if (datas.citySearch == \"\" || datas.citySearch == null){\n delete datas.citySearch;\n }\n\n if (datas.locality_others == \"\" || datas.locality_others == null){\n delete datas.locality_others;\n }\n if (datas.pinSearch == \"\" || datas.pinSearch == null){\n delete datas.pinSearch;\n }\n if (datas.pincode_others == \"\" || datas.pincode_others == null){\n delete datas.pincode_others;\n }\n if (datas.stateSearch == \"\" || datas.stateSearch == null){\n delete datas.stateSearch;\n }\n if (datas.uom_others == \"\" || datas.uom_others == null){\n delete datas.uom_others;\n }\n \n if (initiated_address_check === true) {\n\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n });\n }\n\n if (initiated_address_check == false) {\n \n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n if (data['records'].alternative_addresses.length > 0) {\n \n data['records'].alternative_addresses.forEach((datas, index) => {\n \n // if (datas.citySearch == \"\" || datas.citySearch == null){\n // delete datas.citySearch;\n // } \n // if (datas.pinSearch == \"\" || datas.pinSearch == null){\n // delete datas.pinSearch;\n // }\n // if (datas.stateSearch == \"\" || datas.stateSearch == null){\n // delete datas.stateSearch;\n // }\n \n let obj = {\n 'alternative_address': datas.alternative_address,\n 'alternative_state': datas.alternative_state,\n 'alternative_city': datas.alternative_city,\n 'alternative_pincode': datas.alternative_pincode,\n 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '',\n 'reason_for_alternative_address': datas.reason_for_alternative_address,\n }\n this.getCityAndPincodeDetails(datas.alternative_state, index, 2);\n alternative_address_control.push(this.initAlternativeAddress(obj));\n \n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location);\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type);\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality);\n\n this.pdQuestionAddress.controls.locality.setValue(datas.locality);\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area);\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n\n });\n }\n }\n this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark);\n }\n else {\n this.getaddressForm();\n }\n // else {\n // control.push(this.createAddresses(null));\n // }\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n \n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n \n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n \n \n }\n setOthers(e, i, flag) {\n switch (flag) {\n case 1:\n const control = this.pdQuestionAddress.controls['addresses'];\n let ChildCtrl: any = control.controls[i];\n e == 1 ? ChildCtrl.addControl('pincode_others', new FormControl('', Validators.required)) : ChildCtrl.removeControl('pincode_others');\n break;\n case 2:\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n let AltChildCtrl: any = alternative_address_control.controls[i];\n e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new FormControl('', Validators.required)) : AltChildCtrl.removeControl('alternative_pincode_others');\n break;\n case 3:\n e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('address_type_others');\n break;\n case 4:\n e == 1 ? this.pdQuestionAddress.addControl('locality_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('locality_others');\n break;\n case 5:\n e == 1 ? this.pdQuestionAddress.addControl('uom_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('uom_others');\n break;\n }\n }\n\n\n getaddressForm()\n {\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1);\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n \n this.getaddressDetails.forEach((datas,index)=>{\n if (datas.address_type_others == \"\" || datas.address_type_others == null){ delete datas.address_type_others;}\n if (datas.citySearch == \"\" || datas.citySearch == null){delete datas.citySearch;}\n if (datas.locality_others == \"\" || datas.locality_others == null){delete datas.locality_others;}\n if (datas.pinSearch == \"\" || datas.pinSearch == null){delete datas.pinSearch;}\n if (datas.pincode_others == \"\" || datas.pincode_others == null){delete datas.pincode_others;}\n if (datas.stateSearch == \"\" || datas.stateSearch == null){delete datas.stateSearch;}\n if (datas.uom_others == \"\" || datas.uom_others == null){delete datas.uom_others;}\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n // if (datas.address_type) {\n // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0];\n // this.selectedAddressType(selectedAddressType.address_type);\n // this.setOthers(datas.address_type, '', 3);\n // if (datas.address_type == 1) {\n // this.addressForm.controls.address_type_others.setValue(datas.address_type_others);\n // this.selectedAddressType(datas.address_type_others);\n // }\n // }\n\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n if (datas.locality) {\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n }\n\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n if (datas.uom) {\n this.setOthers(datas.uom, '', 5);\n if (datas.uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n })\n let initiated_address_check =res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n \n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,1)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n \n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n console.log('record_for_pic',record_for_pic);\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n console.log('records result',result);\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })\n let img_title = (result.pd_document_title).split('(');\n if(img_title[0] == 'Approach to PD Location '){\n this.AppxPDLocationImgValid = true;\n //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')\n }\n })\n console.log(\"image Display Data Are\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are');\n this.imageDisplay[index]={'image':img,'Name':value,'is_show_report':0}\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n\n changeNameForBucket(value,index,img,active){\n // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active);\n this.imageBucket[index]={'image':img,'Name':value,'is_show_report':0}\n \n }\n changeOptions(event: any,index: any){\n // console.log('Option Changed ' + event);\n let name = this.imageBucket[index].value\n let length = this.imageDisplay.length;\n console.log('image display length',length);\n this.imageDisplay.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n result.is_show_report = 0;\n }\n })\n console.log('this.imageDisplay',this.imageDisplay);\n this.imageBucket.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n // this.AppxPDLocationImgValid = true;\n console.log('name',name);\n console.log('this.imageBucket.length',this.imageBucket.length);\n result.is_show_report=0;\n }\n })\n console.log('this.imageBucket',this.imageBucket);\n this.imageBucket[index].is_show_report=event;\n // console.log('this.imageBucket',JSON.stringify(this.imageBucket));\n }\n removeImg(index){\n // console.log('inside removeImg Fn - its param are - Index only ',index);\n this.imageDisplay.splice(index,1);\n \n }\n removeImgForBucket(index){\n // console.log('inside removeImgForBucket Fn - its param are - Index only ',index);\n this.imageBucket.splice(index,1)\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n savePhoto(flag){\n // console.log('savePhoto');\n let currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss');\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n // console.log('inside savePhoto Fn - its response ',imageData);\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n if(flag == 1){\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'','is_show_report':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n console.log(\"imagebucket\",this.imageBucket)\n this.getImageName(this.imageBucket.length-1)\n }else if(flag == 2){\n // console.log('flag');\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'Approach to PD Location ( ' + currentDate + ' )','is_show_report':''});\n }\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n\n getImageName(index){\n // console.log('inside get Image Name Fn - its param are - Index only ',index);\n let alert =this.toast.setAlertForDocName()\n \n alert.present()\n alert.onDidDismiss(value=>{\n // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport);\n this.imageBucket[index].Name=value.Name;\n });\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n\n updateImage(){\n }\n sendImage(){\n this.loading.loaderForSendImage() \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\nconsole.log(\"records for sendImage\",records);\n // console.log(\"inside SendImage Function - records array\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n // console.log(\"inside localInsert Fn - its Response\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: any;\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\n // other_frequency:[''],\n // loan_amount: [''],\n // frequency:[''],\n // emi: [''],\n // loan_type: [''],\n // others_loan_type:[''],\n // loan_taken_by:[''],\n // others_loan_taken:[''],\n // lender: [''],\n // others_lender:[''],\n // original_tenure: [''],\n // current_balance_tenure: [''],\n // elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n //details.controls.current_balance_tenure.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\n \n}\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].patchValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\n })\n }\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n \n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n \n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n tapEvent(value){\n console.log(\"dd\",value);\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n lender_short_name : any;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n fundAmtInWords : any;\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n is_there_total_fund:[''],\n fund_amt:[''],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\n })\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n case 8:\n this.fundAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value;\n records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails.is_there_total_fund);\n this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails.fund_amt);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if(loanDetails.fund_amt){this.fundAmtInWords = this.constant.convertNumberToWords(loanDetails.fund_amt); }\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n if(this.lender_short_name == 'CLIX'){\n \n this.loanDetailsForm.controls['is_transfer'].setValue(\"no\");\n this.selectedBalancesTransferChanges(\"no\")\n }\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n }\n // let modifyCompanyList : any=[];\n // if(this.existCompanyList.length>0){\n // modifyCompanyList = this.existCompanyList.map(element => {\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n // });\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n //}\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n //isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n this.inWords(val.rent,index,2)\n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: [''],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:[''],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_segment:[''],\n earning_gross_income_per_month: [''],\n earning_name_of_the_employer_or_business: [''],\n earning_number_of_years_in_employment_or_business: [''],\n non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n this.relationDataValue=this.relationData.slice();\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\n }\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n\n data.forEach((val,inx) => {\n \n // // family_member_earning_status\n // if(val.age){\n // this.isReadOnly[inx] = true;\n // }else{\n // this.isReadOnly[inx] = false;\n // }\n arraydata = {\n 'family_member_salutation':'',\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n // console.log('Temparr',Temparr);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n\n \n \n \n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo location promise\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(event: any) {\n const pattern = /[0-9\\-\\.\\ ]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':'','link':geoCoordinates});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public alertCtrl:AlertController) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n address:[''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \n \n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n let rentOptionCount: number = 0;\n let validateFlag: number = 0;\n let TextMessage :any;\n\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n console.log(records);\n // this.callSaveApi(records);\n\n if (records.other_income == 'Yes') {\n records.income_details.forEach(option => {\n if (+option.source == 5) {\n rentOptionCount++;\n validateFlag = 1;\n } \n });\n \n if(validateFlag == 1){\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id;\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = 17;\n \n this.qustCat.retiverForm(params).subscribe(data=>{\n if(!data['dataStatus']){\n let text : any = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property' ;\n TextMessage = '
You have chosen '+ text +' as rental income, but rental verification form is not filled
';\n\n let alert=this.alertCtrl.create({\n title:'Please Confirm',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.callSaveApi(records);\n }\n }\n ]\n });\n alert.present();\n }\n else if(data['dataStatus']){\n this.callSaveApi(records);\n }\n })\n } \n else{\n this.callSaveApi(records);\n }\n }\n else{\n this.callSaveApi(records);\n }\n}\n\ncallSaveApi(records){\n \n this.qustCat.saveForm(records).subscribe(data => {\n //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n}, error => {\n \n})\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\n}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"From Dashboard of Rental - values are \",this.data);\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\n}\n\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null,'rental_count_id':this.data.existing_rental_count_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n console.log('From getPDImages',val);\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\n\ncaptureThePropertyPics(){\n // alert('rentalDataCount '+this.data.existing_rental_count_id);\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':'Property '+this.data.existing_rental_count_id});\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n}\n\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n 'rental_count_id':this.data.existing_rental_count_id,\n \n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n console.log(\"savepd\",records) \n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expenses Page\";\n break;\n case 4:\n this.FormName = \"Household Expenses Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n });\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n/**\n * Generated class for the PdQuestionAssessedPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n \n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n other_expense_item:[null],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n other_expense_item:[data.other_expense_item || ''],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider,private constantProvider:ConstantsProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private constantProvider:ConstantsProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport { SearchRelationPipe } from '../../../pipes/search-relation/search-relation';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[SearchRelationPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n console.log(\"persons_with_relationships\",this.generalForm.controls['persons_with_relationships']['controls'][0])\n let control=this.generalForm.get('persons_with_relationships')\n console.log('p1',control)\n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.info(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;\");\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.table(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n console.log('if part . this.imageBucket.length',this.imageBucket.length);\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n console.log('else part . this.imageBucket.length',this.imageBucket.length)\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic :val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof : val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic:val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof:val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_person_met_pic:[''],\n is_person_met_id_proof:[''],\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_person_met_pic : data.is_person_met_pic != null ? data.is_person_met_pic : '' ,\n is_person_met_id_proof : data.is_person_met_id_proof,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n console.log('From Genral Form - value are',value)\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n console.log('fulldata',this.fulldata);\n console.log('control.length+1',control.length+1);\n console.log('full data',this.fulldata[control.length]);\n\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[this.fulldata[control.length].applicant_name],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n value.forEach((val,index)=>{\n console.log(\"val for each\",val)\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[index == 0 ? '0' : val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n })\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_person_met_pic : val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof: val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins');\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n // update personal relation\n updatePersonalRelation(indexVal) {\n let control: any = this.generalForm.controls['persons_with_relationships'];\n control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to);\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\n console.table(this.generalForm.value);\n console.log(answerData);\n\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_person_met_pic = '';\n datas.is_person_met_id_proof = '';\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n \n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\n })\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n\n sendImage(){\n \n this.loading.loaderForSendImage()\n console.log(\"image bucket - json data\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"DB - records\",JSON.stringify(records))\n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(control,Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_pic'].setValue(res);\n //this.toast.pdTriggerappmessage('Flag 1 Success');\n }\n else{\n control.controls['is_person_met_pic'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 1 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_id_proof'].setValue(res);\n // this.toast.pdTriggerappmessage('Flag 2 Success');\n }\n else{\n control.controls['is_person_met_id_proof'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 2 Fail');\n }\n // console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the SearchRelationPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'searchRelation',\n})\nexport class SearchRelationPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any): any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/search-relation/search-relation.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray,FormControl,Validators} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n product_abbr: any;\n lender_short_name : any;\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider,private constantProvider:ConstantsProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ \n this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ;\n this._finalRemarkForm.addControl('is_competition', new FormControl(''));\n this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); \n this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); \n }\n else{ \n this._finalRemarkForm.removeControl('outlet_location');\n this._finalRemarkForm.removeControl('is_competition');\n this._finalRemarkForm.removeControl('sealing_activity'); \n this._finalRemarkForm.removeControl('demolition_activity'); \n }\n\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records'].filter(val=>val.pdofficer_recommendation_id!=1)\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n this.setValidation();\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){\n \n this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location);\n this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);\n this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); \n this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); \n this.clixChange(data['records'].is_competition,1);\n this.clixChange(data['records'].sealing_activity,2);\n this.clixChange(data['records'].demolition_activity,3);\n \n if(data['records'].is_competition ==true){ this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores);}\n if(data['records'].sealing_activity ==true){ this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity);\n this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); }\n if(data['records'].demolition_activity ==true) {this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); \n this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); }\n }\n\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n\n clixChange(e,flag){\n if(flag == 1){ \n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores');\n }\n if(flag == 2){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity');\n e==true ? this._finalRemarkForm.addControl('demolition_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('demolition_activity_pic');\n }\n if(flag == 3){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity');\n e==true ? this._finalRemarkForm.addControl('sealing_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('sealing_activity_pic');\n }\n }\n\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n ImageUpload(Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n}\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\nimport {PdQuestionFuturePlansAndBusinessEnvironmentPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==23){\n this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport { searchValue } from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList: any = [];\n users: any; formdetails: any;\n FormId: any;\n pdDetails: any;\n businessForm: FormGroup;\n applicants: any = [];\n businessEntityTypeList: any = {\n business_entity_type_id: String,\n business_entity_type_name: String,\n sourcsection_labeleName: String\n };\n generalExistEntityType: string\n generalExistEntityType_other: string;\n generalExistBusinessYear: Number;\n generalExistBusinessMonth: Number;\n pdid: any;\n step: number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList: any = []\n countryDataList: any = []\n exist_status: any;\n\n filterCityList: any = [];\n errorMessage: any = [];\n appxSalaryAmtInwords: any;\n titleData: any = []\n personsList: any = []\n\n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean = false;\n bankList: any = [];\n bankListValue: any = [];\n temp_additiondetailofposmachine: any = []\n isreadonlyyear: any = [];\n isreadonlymonth: any = [];\n EntityTypeFlag: boolean = false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience: any = [];\n countryDataListValue: any = [];\n product_abbr: any;\n lender_short_name: any;\n\n @ViewChild('shareholding') share_focus: ElementRef\n private search: searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState: ReplaySubject = new ReplaySubject(1)\n public filteredCountry: ReplaySubject = new ReplaySubject(1)\n cityData: any = []\n cityDataValue: any = []\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider, public toast: ToastProvider,\n public qustCat: QuestionCategoryProvider, public fb: FormBuilder, public cons: ConstantsProvider,\n private loading: LoadingProvider, private cameraProvider: CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n\n this.formdetails = this.navParams.get('formDetails');\n\n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n\n this.applicants = this.pdDetails.applicat_details;\n console.log(\"pd\", this.pdDetails);\n this.generalExistEntityType = this.pdDetails.business_entity_type\n this.generalExistEntityType_other = this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.step = 0\n\n\n\n // this.initBusinessForm();\n // this.getBuisnessDetails();\n\n this.businessForm = this.fb.group({\n fk_createdby: [this.users],\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.FormId],\n company_id: this.pdDetails.company_id,\n partners: this.fb.array([]),\n persons_with_relationships: this.fb.array([]),\n select_business_activity_type: this.fb.array([]),\n manufacturing_activity_details: this.fb.array([]),\n retail_trading_activity_details: this.fb.array([]),\n wholesale_trading_activity_details: this.fb.array([]),\n service_provider_activity_details: this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales: ['', Validators.compose([Validators.max(100), Validators.min(0)])],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality: [''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary: [''],\n was_the_company_name_board_sighted: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n // shop_eat_act_cert_pic:['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n //export_import_cert: [''],\n //factory_cert: [''],\n //practice_cert: [''],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks: ['']\n })\n this.getdropdown();\n\n // this.initBusinessForm();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n\n\n }\n getdropdown() {\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data => {\n if (data['dataStatus'] == true) {\n let filterList = data['records'].filter(val => val.business_entity_type_id == this.generalExistEntityType);\n console.log(\"Filter\", filterList)\n if (filterList.length > 0) {\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : this.generalExistEntityType_other;\n\n if (this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') {\n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data => {\n this.companyRelationShipList = data['records'].filter(val => val.isactive == 1);\n\n });\n\n\n\n this.qustCat.getcommondrop('COUNTRY').subscribe(data => {\n this.countryDataList = data['records'].filter(val => val.isactive == 1);\n this.filteredCountry.next(this.countryDataList.slice());\n });\n this.qustCat.getcommondrop('TITLES').subscribe(data => {\n this.titleData = data['records'].filter(val => val.isactive == 1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data => {\n if (data.dataStatus) {\n\n this.personsList = data['record'].filter(val => val.applicant_type == 1)\n\n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data => {\n this.bankList = data['records'].filter(val => val.isactive == 1 && val.lender_type == 1);\n this.bankListValue = this.bankList.slice();\n })\n\n }\n getStateCityDet() {\n this.qustCat.getStateCityDetails().subscribe(data => {\n\n\n this.stateList = data.records\n this.filteredState.next(this.stateList.slice())\n\n this.getDetails();\n });\n\n\n }\n changeOfStartedBusiness(members, i, e) {\n if (e == 'yes') {\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else {\n this.isreadonlyyear[i] = false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails() {\n\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data => {\n console.log('data[records]', data['records']);\n let businessVal = data['records']\n let constVal: any;\n\n\n const Partnr: any = this.businessForm.controls['partners'];\n\n const control1: any = this.businessForm.controls['persons_with_relationships'];\n\n const business_activity: any = this.businessForm.controls['select_business_activity_type'];\n\n const manufacture_details: any = this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl: any = this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl: any = this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n this.product_abbr == 'LAEP' ? this.businessForm.addControl('fire_noc', new FormControl(null, Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc');\n if (data['status'] == 200) {\n\n let DocArray: any;\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n })\n\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners())\n }\n else {\n PartnrArray.forEach((datas, key) => {\n Partnr.push(this.createPartners());\n if (datas.partner_name == 'Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if (data['records'].persons_with_relationships) {\n let PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) {\n return data['records'].persons_with_relationships[key];\n })\n if (PartnrArray1.length > 0) {\n PartnrArray1.forEach((datas, key) => {\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships = PartnrArray1\n\n }\n else {\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships = []\n }\n }\n else {\n businessVal.persons_with_relationships = []\n\n }\n\n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents = DocArray\n\n if (businessVal.employees_appx_salary) {\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n\n\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id }))\n let exist_activity_data: any = [];\n if (data['records'].select_business_activity_type) {\n exist_activity_data = Object.keys(data['records'].select_business_activity_type).map(function (key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity = actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status = 0;\n return activityData[index];\n }\n else {\n activityData[index].exist_status = 1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_businees_activity.length > 0) {\n check_exist_businees_activity.forEach((val, index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n\n });\n\n businessVal.select_business_activity_type = check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n\n if (data['records'].manufacturing_activity_details) {\n let selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) {\n return data['records'].manufacturing_activity_details[key];\n });\n if (selectedManufacturing.length > 0) {\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n\n selectedManufacturing.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'MActivity', index)\n manufacture_details.push(this.manufactureDetails())\n if (element.area_of_sale == 'Within India') {\n\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if (element.area_of_sale == 'Export') {\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n }\n });\n businessVal.manufacturing_activity_details = selectedManufacturing;\n\n\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n\n if (data['records'].retail_trading_activity_details) {\n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if (selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedRetail.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'RActivity', index)\n retailControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details = selectedRetail;\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n\n\n // update whole sale details\n if (data['records'].wholesale_trading_activity_details) {\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if (selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedWholesale.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'WActivity', index)\n wholesaleControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n\n });\n businessVal.wholesale_trading_activity_details = selectedWholesale;\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n }\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n\n }\n\n\n if (data['records'].service_provider_activity_details) {\n let selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) {\n return data['records'].service_provider_activity_details[key];\n })\n if (selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n\n selectedService.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'SPActivity', index)\n serviceProviderControl.push(this.manufactureDetails());\n\n if (element.area_of_sale == 'Within India') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n\n }\n });\n\n\n businessVal.service_provider_activity_details = selectedService;\n\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n\n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n\n // dynamically add form group control\n if (data['dataStatus']) {\n\n if (data['records'].seasonality.toUpperCase() == 'YES') {\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required));\n }\n\n\n\n }\n\n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if (businessVal.applicant_use_pos_machines == 'yes') {\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value => {\n value.bankSearch = ''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for (let i = 1; i <= businessVal.no_of_pos_machines; i++) {\n\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n console.log('businessVal', businessVal);\n if (data['records'].gst_Regn_cert == 'yes') { this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (data['records'].factory_cert == 'yes') { this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('factory_cert_pic'); }\n if (data['records'].practice_cert == 'yes') { this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('practice_cert_pic'); }\n if (data['records'].shop_eat_act_cert == 'yes') { this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (data['records'].pf_regn == 'yes') { this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('pf_regn_pic'); }\n if (data['records'].esic_regn == 'yes') { this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('esic_regn_pic'); }\n if (data['records'].export_import_cert == 'yes') { this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('export_import_cert_pic'); }\n if (data['records'].fire_noc == 'yes') { this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('fire_noc_pic'); }\n\n this.businessForm.setValue(businessVal);\n\n\n }\n else {\n console.log('console.log 2');\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }))\n if (activityData.length > 0) {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n })\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n\n // if(this.businessForm.controls['gst_Regn_cert']){\n // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\n\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n // });}\n // if(this.businessForm.controls['factory_cert']){\n // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n // });}\n // if(this.businessForm.controls['practice_cert']){\n // this.businessForm.controls['practice_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n // });}\n // if(this.businessForm.controls['shop_eat_act_cert']){\n // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n // });}\n // if(this.businessForm.controls['pf_regn']){\n // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n // });}\n // if(this.businessForm.controls['esic_regn']){\n // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n // });}\n // if(this.businessForm.controls['export_import_cert']){\n // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n // });\n // }\n\n }\n\n filterCity(datasource: any, filterid: number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n\n\n if (filterid) {\n console.log(\"val filter\", filterid)\n let filter = this.stateList.filter(x => x.state_id == filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n }\n filterCityData(datasource: any, filterid: number, index) {\n console.log(\"test\")\n console.log(filterid, index)\n\n if (filterid) {\n let filter = this.stateList.filter(x => x.state_id == filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index] = this.cityData[index].slice()\n console.log(\"filter \", this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n }\n\n // filter max sale options\n filterMaxSaleState(datasource: any, filterValues: any) {\n this.filterCityList = filterValues;\n if (filterValues) {\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val => val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any = [];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any = [];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement, statePos) => {\n selectedCites.forEach((existElement, existPos) => {\n if (stateElement == existElement.state_name && existElement.city_name.length > 0) {\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal => cVal == \"1\");\n // this is for throuh out states city\n if (getAllCities.length > 0) {\n setCityValues = setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else {\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues = setCityValues.concat.apply(setCityValues, check);\n // console.log(\"second\",setCityValues) \n\n }\n }\n\n });\n });\n return setCityValues.length > 0 ? setCityValues.filter(fVal => fVal.city_id != \"1\") : [];\n\n }\n else {\n return [];\n }\n }\n // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n // console.log(selectedCites)\n // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n // console.log(\"selectd\",existCities)\n // existCities = [].concat.apply([], existCities);\n // existCities.forEach(element=>{\n // if(element== 1){\n\n // }\n // })\n // console.log(\"concat\",existCities)\n // if(filterValues){\n // let getOriginalStateList = datasource.map(dval => dval.state_id);\n // console.log(\"Original map\",getOriginalStateList)\n // let setCityFilter = filterValues.map(x => {\n // let findIndex = getOriginalStateList.indexOf(x);\n // findIndex = datasource[findIndex].cities;\n // return findIndex;\n // });\n // console.log(\"findindex\",setCityFilter)\n\n // let merged = [].concat.apply([], setCityFilter);\n // console.log(\"merge\",merged)\n\n // if(merged.length>0){\n // let check: any = merged.filter(function(fVal){\n // return existCities.some(function(sVal){\n // return fVal.city_id==sVal;\n // });\n // })\n // console.log(check);\n // return check;\n\n // }\n // else {\n // return [];\n // }\n // }\n // else {\n // return [];\n // }\n // }\n\n\n checkTotalEmployee(FormData) {\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0));\n }\n // checkWithExistBusinessYear(e,i){\n // if(e > this.generalExistBusinessYear){\n // this.errorMessage[i] = \"Higher than Business Vintage\";\n // }\n // else{\n // this.errorMessage[i] = '';\n // }\n // }\n\n checkWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n\n checkWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n }\n\n // businees activity type change event\n changeBusinessActivity(event: any) {\n\n if (event.value.exist_status == true && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]);\n\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n\n\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\n // check activity for extra question make dynamic\n\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\n\n if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) {\n if (this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP') {\n this.businessForm.controls['applicant_use_pos_machines'].setValue('yes');\n }\n this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2);\n }\n\n if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) {\n this.ExportFlag = false;\n }\n }\n\n\n changeManufacturingAreaSale(getDetails: any, getIndex) {\n console.log('changeManufacturingAreaSale', getDetails.value.area_of_sale);\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if (getDetails.value.area_of_sale == \"Within India\") {\n console.log('Within India', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n console.log('Export', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n console.log('Both', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change whole options\n changeWholesaleAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n // change service provider \n changeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n\n changePanIndiaOptions(type, selectedIndex, value) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 3) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 4) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n }\n\n // update partner group other form control\n changePartnerGroup(value, key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value == 'Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\n });\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if (total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if (total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n }\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n }\n ConvertMonthintoYear(itemrow, e, i) {\n\n console.log('datas', e, i);\n let year = itemrow.controls.current_business_experiance_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n\n }\n\n\n\n createPartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding: [''],\n started_business: [''],\n current_business_experiance_year: [''],\n current_business_experiance_month: [''],\n total_business_experiance: [''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n }\n createRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation: [''],\n family_member_name: [''],\n other_family_relationship_id: [''],\n relation_to_id: [''],\n relationship_with_company_id: [''],\n started_business: ['']\n });\n }\n createBusinessActivity(details): FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n createServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n }\n createOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n }\n manufactureDetails(): FormGroup {\n return this.fb.group({\n main_products: [''],\n area_of_sale: [''],\n description: ['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n }\n indiaSalesDone(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n maxSaleState(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n createDocument() {\n return this.fb.group({\n document: [''],\n document_pic: [''],\n });\n }\n addDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n }\n deleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if (control.length == 1) {\n this.businessForm.controls['designation'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n\n control.push(this.createPartners());\n }\n addPersonRelationship(event) {\n event.stopPropagation()\n const control = this.businessForm.controls['persons_with_relationships']\n let length = control.length\n this.step = length\n control.push(this.createRelationShip());\n }\n deletePersonRelationship(index) {\n const control = this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n }\n deletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if (control.length == 1) {\n this.businessForm.controls['partners'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n }\n removeManufacturing(index) {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if (manufacturingControl.length > 1) {\n manufacturingControl.removeAt(index)\n }\n else {\n manufacturingControl.reset();\n }\n }\n addMoreRetail() {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n removeRetail(index) {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n if (retailControl.length > 1) {\n retailControl.removeAt(index)\n }\n else {\n retailControl.reset();\n }\n }\n addMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n removeWholesale(index) {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if (wholesaleControl.length > 1) {\n wholesaleControl.removeAt(index)\n }\n else {\n wholesaleControl.reset();\n }\n }\n addMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n removeServiceProvider(index) {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if (serviceControl.length > 1) {\n serviceControl.removeAt(index)\n }\n else {\n serviceControl.reset();\n }\n }\n // addMoreOthersActivity(){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n createCountrySale() {\n return this.fb.group({\n country_name: ['', Validators.compose([Validators.required])],\n countrySearch: [''],\n approx_sale: ['', Validators.compose([Validators.required])]\n });\n }\n\n addMoreState(mindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n\n }\n removeState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n\n addRetailMoreState(rindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n removeRetailState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more whole sale state\n addWholesaleMoreState(windex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n }\n // remove for whole sale\n removeWholesaleState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more service provider\n addServiceMoreState(sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n\n // remove service provider\n\n removeServiceState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control1: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control1 = control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n }\n addDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n }\n deleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if (control.length == 1) {\n this.businessForm.controls['documents'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n UploadDocuments(index) {\n const control = this.businessForm.controls['documents'];\n const control_with_index = control.controls[index];\n this.cameraProvider.getpicture().then(res => {\n control_with_index.controls['document_pic'].setValue(res != 'error' ? res : '');\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n relationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({ member: option });\n });\n }\n createPOSMachinesDetails(data) {\n if (data == null) {\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch: [''],\n tid_no_of_pos_machine: [''],\n })\n }\n else {\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch: [''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n }\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid: this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n }\n\n submitDetails() {\n\n // if (!this.businessForm.valid) {\n // return;\n // }\n\n if (this.businessForm.controls['export_sale_of_total_sales'].invalid) {\n this.toast.pdTriggerappmessage(\"Please enter a value between 0 and 100 in export sale as a % total sales\");\n return;\n }\n\n if (this.businessForm.controls['gst_Regn_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"GST Regn Cert is required\");\n return;\n }\n if (this.businessForm.controls['gst_Regn_cert_pic'] && this.businessForm.value.gst_Regn_cert == 'yes') { \n if (this.businessForm.controls['gst_Regn_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"gst regn cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['factory_cert'] && this.businessForm.controls['factory_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Factory Cert is required\");\n return;\n }\n if (this.businessForm.controls['factory_cert_pic'] && this.businessForm.value.factory_cert == 'yes') { \n if (this.businessForm.controls['factory_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"factory cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['practice_cert'] && this.businessForm.controls['practice_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Practice Cert is required\");\n return;\n }\n if (this.businessForm.controls['practice_cert_pic'] && this.businessForm.value.practice_cert == 'yes') { \n if (this.businessForm.controls['practice_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\" practice cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['shop_eat_act_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"shop eat act cert is required\");\n return;\n }\n if (this.businessForm.controls['shop_eat_act_cert_pic'] && this.businessForm.value.shop_eat_act_cert == 'yes') { \n if (this.businessForm.controls['shop_eat_act_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Shop eat act cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['pf_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn is required\");\n return;\n }\n if (this.businessForm.controls['pf_regn_pic'] && this.businessForm.value.pf_regn == 'yes') { \n if (this.businessForm.controls['pf_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['esic_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn is required\");\n return;\n }\n if (this.businessForm.controls['esic_regn_pic'] && this.businessForm.value.esic_regn == 'yes') { \n if (this.businessForm.controls['esic_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['export_import_cert'] && this.businessForm.controls['export_import_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Export Import Cert is required\");\n return;\n }\n if (this.businessForm.controls['export_import_cert_pic'] && this.businessForm.value.export_import_cert == 'yes') { \n if (this.businessForm.controls['export_import_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Export /Import Cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['fire_noc'] && this.businessForm.controls['fire_noc'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc is required\");\n return;\n }\n if (this.businessForm.controls['fire_noc_pic'] && this.businessForm.value.fire_noc == 'yes') { \n if (this.businessForm.controls['fire_noc_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc pic is required\");\n return;\n } }\n \n \n // if(this.businessForm.controls['export_sale_of_total_sales']){\n // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){\n\n // }\n // }\n\n if (this.EntityTypeFlag == true) {\n let control: any = this.businessForm.controls['partners'];\n let control2: any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n\n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n\n // control2.controls['started_business'].setValue('');\n\n // control2.controls['current_business_experiance_year'].clearValidators();\n // control2.controls['current_business_experiance_year'].updateValueAndValidity();\n // control2.controls['current_business_experiance_year'].setValue('');\n\n // control2.controls['current_business_experiance_month'].setValue('');\n\n // control2.controls['total_business_experiance'].clearValidators();\n // control2.controls['total_business_experiance'].updateValueAndValidity();\n // control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\", control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n\n let family: any = [];\n\n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records: any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records = this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\n if (!this.EntityTypeFlag) {\n let count: number = 0;\n if (records.partners.length > 0) {\n records.partners.forEach(element => {\n console.log(element)\n count += element.shareholding\n })\n }\n if (count >= 101) {\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n }\n }\n let validationFlag: number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if (records.manufacturing_activity_details.length > 0) {\n\n records.manufacturing_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n\n }\n\n //type 3 checking wholesale_trading_activity_details\n if (records.wholesale_trading_activity_details.length > 0) {\n\n records.wholesale_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //type 2 checking retail_trading_activity_details\n if (records.retail_trading_activity_details.length > 0) {\n\n records.retail_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n\n //type 4 checking service_provider_activity_details\n if (records.service_provider_activity_details.length > 0) {\n\n records.service_provider_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if (validationFlag > 0) {\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value => value.exist_status == 1);\n if (records.pos_machines_details) {\n records.pos_machines_details.forEach(value => {\n delete value.bankSearch\n })\n }\n\n // if(records.manufacturing_activity_details.length > 0){\n // records.manufacturing_activity_details.forEach((val,index) => {\n // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n // if(val.area_of_sale != \"Export\"){ \n // if(val.india_where_sale_done.length > 0){\n // val.india_where_sale_done.forEach((vals,inx) => {\n // childCtrl1.controls[inx].removeControl('citySearch');\n // delete vals.citySearch;\n // childCtrl1.controls[inx].removeControl('stateSearch');\n // delete vals.stateSearch;\n // });\n // }\n // if(val.max_sale_state_name.length > 0){\n // val.max_sale_state_name.forEach((vals,inx) => {\n // childCtrl2.controls[inx].removeControl('citySearch');\n // childCtrl2.controls[inx].removeControl('stateSearch');\n // });\n // }\n // }\n // });\n // }\n // console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 3000);\n }\n });\n }\n getBuisnessDetails() {\n let records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId };\n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n\n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any = [];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n\n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n }\n inWords(e, flag) {\n switch (flag) {\n case 1:\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n CheckExport(value, stringFlag, index) {\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n\n\n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n\n\n\n\n if (!this.ManufacturingChecked) {\n // console.log(\"Manu\")\n if (stringFlag == 'MActivity' && value == \"Both\") {\n this.ManufacturingCounterArray[index] = 1;\n }\n else if (stringFlag == 'MActivity' && value != \"Both\") {\n this.ManufacturingCounterArray[index] = 0;\n }\n } else if (this.ManufacturingChecked && stringFlag == 'MActivity') {\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if (!this.RetailedChecked) {\n if (stringFlag == 'RActivity' && value == \"Both\") {\n this.RetailCounterArray[index] = 1;\n }\n else if (stringFlag == 'RActivity' && value != \"Both\") {\n this.RetailCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'RActivity' && this.RetailedChecked) {\n this.RetailCounterArray[index] = 0;\n }\n\n if (!this.WholeSalesChecked) {\n if (stringFlag == 'WActivity' && value == \"Both\") {\n this.WholeSaleCounterArray[index] = 1;\n }\n else if (stringFlag == 'WActivity' && value != \"Both\") {\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'WActivity' && this.WholeSalesChecked) {\n this.WholeSaleCounterArray[index] = 0;\n }\n\n if (!this.ServiceChecked) {\n\n if (stringFlag == 'SPActivity' && value == \"Both\") {\n this.ServiceCounterArray[index] = 1;\n }\n else if (stringFlag == 'SPActivity' && value != \"Both\") {\n this.ServiceCounterArray[index] = 0;\n }\n\n } else if (stringFlag == 'SPActivity') {\n this.ServiceCounterArray[index] = 0;\n }\n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n\n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter;\n\n\n this.ExportFlag = overallCounter > 0 ? true : false;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n }\n changePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n }\n toGetPOSMachinesDetails(e, flag) {\n\n if (flag == 1) { this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if (e > 0) {\n if (flag == 1) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if (flag == 2) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n // searchCountriesList(control:any,i:number){\n // if(!this.countryDataList){\n // return\n // }\n // let searchVal=control.controls['countrySearch'].value\n // if(!searchVal){\n // this.countryDataListValue=this.countryDataList.slice()\n // return\n // }\n // else{\n // searchVal=searchVal.toLowerCase();\n // this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\n // }\n // }\n\n searchFun(control: any, i: number, option) {\n\n\n if (option == 'country') {\n console.log('option', option, control);\n control.controls['countrySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchCountries(control.controls['countrySearch'].value);\n })\n }\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchState(control.controls['stateSearch'].value)\n\n })\n }\n //For Pos bank search using constant provider\n if (option == 'bank') {\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.bankListValue = this.cons.searchData(this.bankList, control.controls['bankSearch'].value, option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i] = this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i] =\n this.cityData[i].filter(val => val.city_name.toLowerCase().indexOf(searchValue) > -1)\n\n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n searchCountries(val: any) {\n console.log(\"Countrydata\");\n if (!this.countryDataList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredCountry.next(this.countryDataList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredCountry.next(\n this.countryDataList.filter(val => val.country_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }\n\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n capture(value) {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.cons.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n if (value != '') {\n if (this.imageBucket.length != 0) {\n this.imageBucket.forEach((res, index) => {\n if (res.Name == value) {\n console.log(\"res[index]\", res[index])\n delete res[index]\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n })\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n\n }\n else {\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n } // Else End\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"about business - Images bucket\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"about Business images \", JSON.stringify(records));\n\n this.qustCat.savePDImages(records).subscribe(res => {\n console.log('response records', res, res['record']);\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n changeSentence(value) {\n console.log(\"val\", value)\n let name = value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(Flag: any) {\n\n this.cameraProvider.getpicture().then(res => {\n if (Flag == 1) { this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 2) { this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 3) { this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 4) { this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 5) { this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); }// alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 6) { this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 7) { this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 8) { this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n radioChange(event, Flag) {\n if (Flag == 1) { event.value == 'yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (Flag == 2) { event.value == 'yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (Flag == 4) { event.value == 'yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('factory_cert_pic'); }\n if (Flag == 5) { event.value == 'yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('practice_cert_pic'); }\n if (Flag == 6) { event.value == 'yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('pf_regn_pic'); }\n if (Flag == 7) { event.value == 'yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('esic_regn_pic'); }\n if (Flag == 3) { event.value == 'yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('export_import_cert_pic'); }\n if (Flag == 8) { event.value == 'yes' ? this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc_pic'); }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n addressType:any = '';\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressList: any=[];\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n chooseAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n this.qustcat.retiverForm(params).subscribe(data=>{\n const control=this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status']==200){\n if(data['records'].is_pd_done_on_initiated_address){\n console.log(\"kd\",data['records'])\n }\n }\n })\n }\n getAddress(flag){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n if(flag == 1){\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n if (initiated_address_check == false ) {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n }\n }\n if(flag == 2){\n let dataOfAddress = data['records'].addresses.filter(item => item.isactive == 1);\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n if (initiated_address_check == true && data['records'].addresses.length > 0) \n \n if(initiated_address_check == true && data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else if(initiated_address_check == true && data['records'].alternative_addresses.length > 0)\n {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n data['records'].alternative_address.forEach((data,inx)=>{\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if (data['status'] == 200) {\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n })\n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n console.log(\"address List data\",this.addressList)\n }\n AutoCompleteUpdateFun(property_id,event,i){\n if(event != ''){\n let getList = this.addressList.map(dval => dval.value.replace(/\\s/g, \"\").toLowerCase());\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let findName = this.m_address_type.find(x => x.address_type_id == property_id);\n // console.log(getkeyname.indexOf(i));\n let evt = event.replace(/\\s/g, \"\").toLowerCase();\n\n let keyexist = this.addressList.find(ob => ob['key_name'] === i);\n\n if (keyexist === undefined || keyexist === null && !getList.includes(evt)) {\n console.log('push on this');\n this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i });\n }\n else {\n let Index = getkeyname.indexOf(i);\n this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }\n console.log('update on this => Index', Index);\n }\n\n console.log('at Final add or update ', this.addressList);\n }\n}\nremoveOptionOnAutoComplete(index){\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let Index = getkeyname.indexOf(index);\n if (Index !== -1) {\n this.addressList.splice(Index, 1);\n }\n console.log('at Final remove', this.addressList);\n}\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress(2);\n this.loadDetails=true;\n }\n else{\n this.getAddress(1);\n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n this.removeOptionOnAutoComplete(i);\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n // if(values!=null) {\n // return values.id==0 ? true : false;\n // }\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder } from '@angular/forms';\n\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-future-plans-and-business-environment',\n templateUrl: 'pd-question-future-plans-and-business-environment.html',\n})\nexport class PdQuestionFuturePlansAndBusinessEnvironmentPage {\n\n\n pdDetails: any;\n formDetails: any;\n pdid: any;\n FormId: any;\n company_id:any;\n users: any;\n product_abbr: any;\n lender_short_name: any;\n complete_status: boolean = false;\n tab: any = '0';\n imageDisplay: any = [];\n imageBucket: any = [];\n public _futurePlansForm: FormGroup;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public qustcat: QuestionCategoryProvider, public aws: AwsServiceProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,private constantProvider:ConstantsProvider) {\n\n \n this.formDetails=this.navParams.get('formDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n this.FormId = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n this.users = aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n this._futurePlansForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: ['23'],\n company_id:[this.company_id],\n usp_of_the_business: [''],\n future_plans_for_business_expansion: [''],\n impact_of_gst_on_the_business: [''],\n key_competitors: [''],\n succession_plan: [''],\n brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''],\n remarks: [''],\n fk_createdby:[this.users]\n });\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage');\n this.getFuturePlans();\n this.getPDImages();\n }\n\n ionViewCanLeave() {\n \n if (this._futurePlansForm.dirty) {\n\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Data will be Lost\", \"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n return true;\n }\n else {\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n\n }\n else {\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n\n }\n\n }\n\n getFuturePlans() {\n let Records = { 'parent_pdid': this.pdDetails.parent_pd_id, \n 'pd_id': this.pdid, \n 'pd_form_id': this.FormId,\n 'company_id': this.company_id}\n this.qustcat.retiverForm(Records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business);\n this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion);\n this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business);\n this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors);\n this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan);\n this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants);\n this._futurePlansForm.controls.remarks.setValue(data['records'].remarks);\n }\n else { };\n })\n\n }\n\n saveFuturePlan() {\n if (this._futurePlansForm.invalid) {\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else {\n var answerData = this._futurePlansForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res => {\n if (res['dataStatus'] == true) {\n //TO CHANGE THE FORM STATE \n this._futurePlansForm.reset(this._futurePlansForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n }\n else {\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id':this.pdDetails.company_id }\n this.qustcat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n \n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n \n }\n }\n })\n }\n\n changeName(value, index, img) {\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n }\n\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n \n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '' ,'link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n \n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id':this.company_id,\n \n }\n \n this.qustcat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n/**\n * Generated class for the FormCompleteCheckModalPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-form-complete-check-modal',\n templateUrl: 'form-complete-check-modal.html',\n})\nexport class FormCompleteCheckModalPage {\n\n datas:any\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n this.datas=this.navParams.get('values');\n console.log(this.datas)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FormCompleteCheckModalPage');\n\n }\n closeModal(){\n this.navCtrl.pop();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/form-complete-check-modal/form-complete-check-modal.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n \n\n@Component({\n selector: 'page-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule,Config, Events } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\nimport {FormCompleteCheckModalPage} from '../pages/form-complete-check-modal/form-complete-check-modal'\n//import { FCM } from '@ionic-native/fcm/ngx';\n\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { SearchRelationPipe } from '../pipes/search-relation/search-relation';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {BackgroundGeolocation} from '@ionic-native/background-geolocation'\nimport {ModalScaleUpEnterTransition} from '../app/modalanimations/enter'\nimport {ModalScaleUpLeaveTransition} from '../app/modalanimations/leave'\nimport {Push} from '@ionic-native/push'\n\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,SearchRelationPipe,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n \n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,BackgroundGeolocation,\n Push,Events,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {\n\n constructor(public config:Config){\n this.setCustomTransitionsForModal()\n }\n private setCustomTransitionsForModal() {\n this.config.setTransition('modal-scale-up-leave', ModalScaleUpLeaveTransition);\n this.config.setTransition('modal-scale-up-enter', ModalScaleUpEnterTransition);\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform, Events } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {Push,PushOptions,PushObject} from '@ionic-native/push'\nimport { CookieStorage } from 'amazon-cognito-identity-js';\nimport {ToastProvider} from '../providers/common-provider/toast'\n\ndeclare let notificationAccess:boolean\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n \n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService,private push:Push,private event:Events,private toastProvider:ToastProvider) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n \n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n this.notification()\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n this.unregisterNotification()\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n notificationAccess=true\n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n notification(){\n // this.nav.setRoot(this.nav.getActive().component);\n this.push.hasPermission().then((res: any) => {\n \n if (res.isEnabled) {\n console.log('We have permission to send push notifications');\n } else {\n console.log('We do not have permission to send push notifications');\n }\n \n });\n const option:PushOptions={\n android:{\n senderID:'893175418100'\n },\n ios: {\n alert: 'true',\n badge: true,\n sound: 'false'\n },\n windows: {},\n browser: {\n pushServiceURL: 'http://push.api.phonegap.com/v1/push'\n }\n }\n const pushObject:PushObject=this.push.init(option);\n if(notificationAccess){\n\n pushObject.on('notification').subscribe((notification: any) =>{\n console.log('Received a notification', notification)\n if(notification.additionalData.foreground){\n this.event.publish('alert',notification);\n this.toastProvider.setAlertwithButton(notification)\n }\n else{\n this.event.publish('notify',notification);\n //this.nav.setRoot(PdListPage,{notify:'Via Notification'});\n this.rootPage=PdListPage\n }\n });\n }\n else{\n console.log(\"Sorry you dont have notification access\");\n }\n \n\n pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration));\n\n pushObject.on('error').subscribe(error => console.error('Error with Push plugin', error));\n \n }\n unregisterNotification(){\n // PushObject.unregister(()=>console.log(\"Notification is Unregistered\"))\n // this.push.unregister()\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[{\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n },\n ]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertwithButton(data){\n let alert =this.alertCtrl.create({\n title: 'Notification',\n subTitle:data.title ,\n message:data.message,\n buttons: ['OK']\n })\n alert.present();\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpEnterTransition extends PageTransition {\n\npublic init() {\n const ele = this.enteringView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)');\n wrapper.fromTo('opacity', 1, 1);\n\n this\n .element(this.enteringView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/enter.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpLeaveTransition extends PageTransition {\n\npublic init() {\n const ele = this.leavingView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n const contentWrapper = new Animation(this.plt, ele.querySelector('.wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)');\n wrapper.fromTo('opacity', 1, 1);\n contentWrapper.fromTo('opacity', 1, 0);\n\n this\n .element(this.leavingView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(contentWrapper)\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/leave.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n updateSchedule(updateData){\n return this.http.post(this.apiurl + \"schdulePD\", { \"records\": updateData })\n }\n\n\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n pdFormsCompletenessCheck(pd_id){\n return this.http.post(this.apiurl+'pdFormsCompletenessCheck',{'pd_id':pd_id,'client':'MOB'})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides, Events } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n\n notification:any=[]\n from:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions,private event:Events) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n this.event.subscribe('notify',(res)=>{\n this.notification.push(res);\n })\n \n this.from=this.navParams.get('notify')\n console.log(\"from\",this.from);\n console.log(\"notification via event\",this.notification);\n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" || sch.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.html index ca1bd931..0fed4424 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.html +++ b/src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.html @@ -79,8 +79,14 @@
+ +
Manufacturing Product #{{l+1}} +
+
+
+
@@ -199,8 +205,14 @@
+ +
Trading Product #{{l+1}} +
+
+
+
@@ -325,8 +337,14 @@
+ +
Service Provider #{{l+1}} +
+
+
+
diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html index 259947e0..d813838e 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html +++ b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html @@ -431,42 +431,39 @@
- - + + Remarks diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts index a76f94f1..9c2e9122 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts @@ -38,22 +38,28 @@ export class PdQuestionStockInfoPage { M_goodsValueInWords: any = []; R_tradedGoodsValueInWords: any = []; T_tradedGoodsValueInWords: any = []; + S_GoodsValueInWords: any = []; mrmCommentFlag: any = []; mfgCommentFlag: any = []; rtrdCommentFlag: any = []; wtrdCommentFlag: any = []; - serviceProviderForm: Boolean = false; + spdCommentFlag: any = []; + + // serviceProviderForm: Boolean = false; suppliers_raw_materials: any = []; suppliers_retail_trade_details: any = []; suppliers_wholesale_trade_details: any = []; suppliers_finished_goods: any = []; + suppliers_service_providers : any = []; protected _onDestroy = new Subject(); RMCommentCard: boolean = false; - TGCommentCard: boolean = false + TGCommentCard: boolean = false; + SPCommentCard: boolean = false; public RMsufficientList: any = [{value:"yes",isdisplayvalue:"Yes",disabled:false},{value:"no",isdisplayvalue:"No",disabled:false},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",disabled:false}]; public TGsufficientList: any = [{value:"yes",isdisplayvalue:"Yes",isdisabled:false},{value:"no",isdisplayvalue:"No",isdisabled:false},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:false}]; + public SPsufficientList: any = [{value:"yes",isdisplayvalue:"Yes",isdisabled:false},{value:"no",isdisplayvalue:"No",isdisabled:false},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:false}]; imageDisplay: any[]; imageBucket: any=[]; tab: string='0'; @@ -111,6 +117,9 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; let type3length = type3[0].hasOwnProperty("products") ? type3[0].products.length : 0; let type4 = record.from_business.filter(data => data.type_of_activity_id == 4); let type4length = type4[0].hasOwnProperty("products") ? type4[0].products.length : 0; + let type5 = record.from_business.filter(data => data.type_of_activity_id == 5); + let type5length = type5[0].hasOwnProperty("products") ? type5[0].products.length : 0; + console.log('type5length',type5,type5length); let rm_api = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : []; @@ -148,6 +157,9 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]), retail_details: this.fb.array([this.retailFormCreation(type3length)]), trade_details: this.fb.array([this.tradingFormCreation(type4length)]), + servicing_details: this.fb.array([this.servicingFormCreation(type5length)]), + is_sufficiant_service_goods: [dataForm.hasOwnProperty('is_sufficiant_service_goods') ? dataForm.is_sufficiant_service_goods : ''], + service_goods_remarks: [dataForm.hasOwnProperty('service_goods_remarks') ? dataForm.service_goods_remarks : '' ] }); if (api.length > 0) { api.forEach(val => { @@ -182,9 +194,18 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; } if (val.type_of_activity_id == 5) { if (val.products) { - this.serviceProviderForm = true; - } + // this.serviceProviderForm = true; + let servicing_temparr = []; + if(dataForm.hasOwnProperty('service_provider')){ + servicing_temparr['service_provider'] = dataForm.servicing_details[0].service_provider; + this.initServicingDetails(servicing_temparr); + } + else{ + this.suppliers_service_providers = val.products; + this.initServicingDetails(null); + } } + } }); this.noRecordsFound = true; } @@ -204,6 +225,9 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]), retail_details: this.fb.array([this.retailFormCreation(type3length)]), trade_details: this.fb.array([this.tradingFormCreation(type4length)]), + servicing_details: this.fb.array([this.servicingFormCreation(type5length)]), + is_sufficiant_service_goods: [''], + service_goods_remarks: [''] }); if (api.length > 0) { api.forEach(val => { @@ -232,8 +256,10 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; } if (val.type_of_activity_id == 5) { if (val.products) { - // this.suppliers_service_product = val.products; - this.serviceProviderForm = true; + + this.suppliers_service_providers = val.products; + this.initServicingDetails(null); + // this.serviceProviderForm = true; } } }); @@ -260,6 +286,10 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; retail_details: this.fb.array([this.retailFormCreation(type3length)]), trade_details: this.fb.array([this.tradingFormCreation(type4length)]), + servicing_details: this.fb.array([this.servicingFormCreation(type5length)]), + + is_sufficiant_service_goods: [''], + service_goods_remarks: [''] }); if (api.length > 0) { api.forEach(val => { @@ -289,8 +319,9 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; } if (val.type_of_activity_id == 5) { if (val.products) { - // this.suppliers_service_product = val.products; - this.serviceProviderForm = true; + this.suppliers_service_providers = val.products; + this.initServicingDetails(null); + // this.serviceProviderForm = true; } } }); @@ -391,6 +422,26 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; } } + servicingForm: Boolean = false; + servicingFormCreation(val) { + console.log('inside servicingFormCreation',val); + let arr = val + // let arr = val.filter(data => data.type_of_activity_id == 4); + if (arr > 0){ + console.log('IF'); + this.servicingForm = true; + return this.fb.group({ + service_provider: this.fb.array([]) + }); + } else { + console.log('Else'); + return this.fb.group({ + service_provider: this.fb.array([]) + }); + } + } + + initManufacturingDetails(datas) { const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; @@ -405,8 +456,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; 'raw_uom': '', 'other_uom': '', 'raw_value': '', - 'is_sufficiant_raw': '', - 'rawmaterial_remarks': '' + // 'is_sufficiant_raw': '', + // 'rawmaterial_remarks': '' }; rawMaterial.push(this.createRawmaterial(Ref_RawMaterials)); }); @@ -423,8 +474,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; 'goods_uom': '', 'goods_other_uom': '', 'goods_value': '', - 'is_sufficiant_goods': '', - 'finishedgoods_remarks': '' + // 'is_sufficiant_goods': '', + // 'finishedgoods_remarks': '' }; finishedGoods.push(this.createGoods(Ref_Finished_Goods)); }); @@ -473,8 +524,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; uomSearch:[null], other_uom: [''], raw_value: [''], - is_sufficiant_raw: [''], - rawmaterial_remarks: [''] + // is_sufficiant_raw: [''], + // rawmaterial_remarks: [''] }) } else { return this.fb.group({ @@ -485,8 +536,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; uomSearch:[null], other_uom: [records.other_uom], raw_value: [records.raw_value], - is_sufficiant_raw: [records.is_sufficiant_raw], - rawmaterial_remarks: [records.rawmaterial_remarks] + // is_sufficiant_raw: [records.is_sufficiant_raw], + // rawmaterial_remarks: [records.rawmaterial_remarks] }) } } @@ -504,8 +555,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; 'traded_goods_uom': '', 'traded_goods_other_uom': '', 'estimated_traded_goods_value': '', - 'is_sufficiant_traded_goods': '', - 'traded_goods_remarks': '' + // 'is_sufficiant_traded_goods': '', + // 'traded_goods_remarks': '' }; tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); }); @@ -541,8 +592,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; uomSearch:[null], goods_other_uom: [''], goods_value: [''], - is_sufficiant_goods: [''], - finishedgoods_remarks: [''] + // is_sufficiant_goods: [''], + // finishedgoods_remarks: [''] }); } else { @@ -554,8 +605,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; uomSearch:[null], goods_other_uom: [records.goods_other_uom], goods_value: [records.goods_value], - is_sufficiant_goods: [records.is_sufficiant_goods], - finishedgoods_remarks: [records.finishedgoods_remarks] + // is_sufficiant_goods: [records.is_sufficiant_goods], + // finishedgoods_remarks: [records.finishedgoods_remarks] }) } } @@ -572,8 +623,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; 'traded_goods_uom': '', 'traded_goods_other_uom': '', 'estimated_traded_goods_value': '', - 'is_sufficiant_traded_goods': '', - 'traded_goods_remarks': '' + // 'is_sufficiant_traded_goods': '', + // 'traded_goods_remarks': '' }; tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); }); @@ -609,8 +660,8 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; uomSearch:[null], traded_goods_other_uom: [''], estimated_traded_goods_value: [''], - is_sufficiant_traded_goods: [''], - traded_goods_remarks: [''] + // is_sufficiant_traded_goods: [''], + // traded_goods_remarks: [''] }); } else { @@ -622,8 +673,78 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; uomSearch:[null], traded_goods_other_uom: [records.traded_goods_other_uom], estimated_traded_goods_value: [records.estimated_traded_goods_value], - is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods], - traded_goods_remarks: [records.traded_goods_remarks] + // is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods], + // traded_goods_remarks: [records.traded_goods_remarks] + }) + } + } + + + initServicingDetails(datas) { + const service = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider']; + if (datas === null) { + + if (this.suppliers_service_providers.length > 0) { + this.suppliers_service_providers.forEach(val => { + let Serv_Prov_Goods: any = { + 'service_provider_name': val, + 'service_provider_observed': '', + 'service_provider_quantity': '', + 'service_provider_uom': '', + 'service_provider_other_uom': '', + 'estimated_service_provider_value': '' + } + + service.push(this.createServiceProvider(Serv_Prov_Goods)); + }); + } + else { + service.push(this.createServiceProvider(null)); + } + } else { + if (datas.service_provider !== undefined) { + datas.service_provider.forEach((val, index) => { + if (val.estimated_service_provider_value) { + this.inWords(val.estimated_service_provider_value, 5, index); + } + this.checkComments(val.service_provider_observed, 5, index); + service.push(this.createServiceProvider(val)); + + }); + } + else { + service.push(this.createServiceProvider(null)); + } + } + } + + createServiceProvider(records) { + + if (records === null) { + + return this.fb.group({ + service_provider_name: [''], + service_provider_observed: [''], + service_provider_quantity: [''], + service_provider_uom: [''], + uomSearch:[null], + service_provider_other_uom: [''], + estimated_service_provider_value: [''], + // traded_goods_value: [''], + }); + } + else { + + return this.fb.group({ + service_provider_name: [records.service_provider_name], + service_provider_observed: [records.service_provider_observed], + service_provider_quantity: [records.service_provider_quantity], + service_provider_uom: [records.service_provider_uom], + uomSearch:[null], + service_provider_other_uom: [records.service_provider_other_uom], + estimated_service_provider_value: [records.estimated_service_provider_value], + // traded_goods_value: [records.traded_goods_value], + }) } } @@ -676,6 +797,11 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; control.push(this.createTradedGoods(null)); break; } + case 3: { + const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider']; + control.push(this.createServiceProvider(null)); + break; + } default: { break; } @@ -698,6 +824,11 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; control.removeAt(index); break; } + case 3: { + const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider']; + control.removeAt(index); + break; + } default: { break; } @@ -711,14 +842,18 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; FinishedCounterArray: any = []; RetailCounterArray: any = []; WholeSaleCounterArray: any = []; + ServiceCounterArray: any = []; not_stock_of_rm: any = []; not_stock_of_fg: any = []; not_stock_of_tg: any = []; not_stock_of_ws: any = []; + not_stock_of_sp: any = []; + checkComments(value, flag, index) { console.log(value, flag, index); + return; if (flag == 1) { this.ManufacturingCounterArray[index] = value != "" ? 1 : 0; @@ -757,6 +892,30 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; this.WholeSaleCounterArray[index] = value != "" ? 1 : 0 this.not_stock_of_ws[index] = value == "yes" ? 1 : 0; } + if (flag == 5) { + console.log('adf'); + this.ServiceCounterArray[index] = value != "" ? 1 : 0 + this.not_stock_of_sp[index] = value == "yes" ? 1 : 0; + + let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0); + this.SPCommentCard = SPOverallCount > 0 ? true : false; + + let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0); + + if(not_stock3 > 0){ + + this.SPsufficientList[0].disabled = false; + this.SPsufficientList[2].disabled = true; + + } + else if(not_stock3 == 0){ + + this.SPsufficientList[0].disabled = true; + this.SPsufficientList[2].disabled = false; + + } + + } let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0); let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0); let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0); @@ -833,6 +992,10 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; case 4: this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); break; + case 5: + this.S_GoodsValueInWords[i] = this.constant.convertNumberToWords(e); + break; + default: break; } diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html index 28091bf3..b6ab96da 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html +++ b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html @@ -80,8 +80,14 @@
+ +
Raw Material #{{l+1}} +
+
+
+
@@ -191,8 +197,15 @@
+ +
Trading Product #{{l+1}} +
+
+
+
+
@@ -295,6 +308,7 @@
+ @@ -302,19 +316,27 @@
-
+
-
- Service Provider #{{s+1}} - +
+ +
+ Service Provider #{{l+1}} +
+
+ +
+
- - Select - {{sp.name }} - + + + Select + {{ tp.name }} + + @@ -333,7 +355,7 @@ + (selectionChange)="selectedPersonDesignation(items,$event.value,3)"> Select {{comrelShip.name}} @@ -341,7 +363,7 @@ - + @@ -362,7 +384,7 @@ + (selectionChange)="selectedPaymentTerms(items,$event.value,3);checkCard($event.value,3,l);"> Select {{ pm.name }} @@ -376,7 +398,7 @@ Payment made through Cash and Banking Channels. - + No.of days of Credit Provided by Supplier @@ -389,8 +411,7 @@ - + diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts index 42f4e86a..59ab84fd 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts @@ -57,39 +57,46 @@ export class PdQuestionSupplierInfoPage { this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => { + + if(data.dataStatus){ + + let datas = data.records; + console.log('datas',datas); + this.initFormLoadDetails(datas.type_of_activity); + this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]); + // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); + // this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]); + + let api = Object.keys(datas.type_of_activity).map(function (key) { + return datas.type_of_activity[key]; + }); - if (data.dataStatus) { + if(api.length > 0){ + api.forEach(val => { + if (val.type_of_activity_id == 3) { + if(val.prodcuts){ + this.business_tradingProducts.push(val.prodcuts); + } + } - let datas = data.records; - this.initFormLoadDetails(datas.type_of_activity); - this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]); - // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - this.business_serviceProvider = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]); - - let api = Object.keys(datas.type_of_activity).map(function (key) { - return datas.type_of_activity[key]; - }); - - if (api.length > 0) { - api.forEach(val => { - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - this.business_tradingProducts.push(val.prodcuts); - } + if (val.type_of_activity_id == 4) { + if(val.prodcuts){ + this.business_tradingProducts.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 5) { + if(val.prodcuts){ + this.business_serviceProvider.push(val.prodcuts); + console.log(this.business_serviceProvider); + } + } + }); } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - this.business_tradingProducts.push(val.prodcuts); - } - } - - }); - } - - this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts); - - } else { + this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts); + + + }else { this.toast.pdTriggerappmessage('No Category Records Found.!'); this.noRecordsFound = false; this.errorMessage = data.msg; @@ -102,14 +109,13 @@ export class PdQuestionSupplierInfoPage { this.getdropList(); } - ionViewDidLoad() { console.log('ionViewDidLoad PdQuestionSupplierInfoPage'); this.getPDImages(); } - serviceProviderForm: Boolean = false; + // serviceProviderForm: Boolean = false; initFormLoadDetails(record) { let params: any = {}; params.parent_pdid = this.pdDetails.parent_pd_id @@ -120,6 +126,7 @@ export class PdQuestionSupplierInfoPage { this.qustCat.retiverForm(params).subscribe( data => { if (data['dataStatus'] == true) { + let dataForm = data['records']; if (dataForm !== undefined) { this.supplierInfoForm = this.fb.group({ @@ -168,9 +175,9 @@ export class PdQuestionSupplierInfoPage { let arr2 = record.filter(data => data.type_of_activity_id == 5); if (arr2.length > 0) { // this.serviceProviderForm = true; - if (dataForm.trade_details[0] != null) { - let api_service_provider = dataForm.servicing_details[0].service_provider; - this.initServiceProvidersDetails(api_service_provider); + if (dataForm.servicing_details[0] != null) { + let api_service_providers = dataForm.servicing_details[0].service_providers; + this.initServiceProvidersDetails(api_service_providers); this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null); } else { @@ -180,6 +187,7 @@ export class PdQuestionSupplierInfoPage { } this.noRecordsFound = true; } else { + this.supplierInfoForm = this.fb.group({ parent_pdid: [this.pdDetails.parent_pd_id], pdid: [this.pdDetails.pd_id], @@ -210,6 +218,7 @@ export class PdQuestionSupplierInfoPage { this.noRecordsFound = true; } } else { + console.log(' data in else part'); this.supplierInfoForm = this.fb.group({ parent_pdid: [this.pdDetails.parent_pd_id], pdid: [this.pdDetails.pd_id], @@ -234,7 +243,6 @@ export class PdQuestionSupplierInfoPage { } let arr2 = record.filter(data => data.type_of_activity_id == 5); if (arr2.length > 0) { - // this.serviceProviderForm = true; this.initServiceProvidersDetails(null); this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null); } @@ -277,14 +285,18 @@ export class PdQuestionSupplierInfoPage { servicingForm: Boolean = false; servicingFormCreation(val) { + let arr = val.filter(data => data.type_of_activity_id == 5); + console.log(arr,arr.length); if (arr.length > 0) { + console.log('IF'); this.servicingForm = true; return this.fb.group({ service_providers: this.fb.array([]), service_providers_total_payments_percent_on_credit: [] }); } else { + console.log('ELSE'); return; } } @@ -404,11 +416,14 @@ export class PdQuestionSupplierInfoPage { } initServiceProvidersDetails(datas) { + console.log('datas',datas); const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers']; if (datas === null) { + console.log('initServiceProvidersDetails if null'); control.push(this.initServiceProviders(null)); } else { + console.log('else not null'); datas.forEach((val, inx) => { this.checkCard(val.service_provider_payment_type, 3, inx); control.push(this.initServiceProviders(val)); @@ -417,7 +432,9 @@ export class PdQuestionSupplierInfoPage { } initServiceProviders(records) { + console.log('initServiceProviders',records); if (records === null) { + console.log('if'); return this.fb.group({ service_provider_name: [''], service_provider_supplier_name: [''], @@ -435,6 +452,7 @@ export class PdQuestionSupplierInfoPage { service_provider_credit_days_to: [''], }) } else { + console.log('else'); return this.fb.group({ service_provider_name: [records.service_provider_name], person_title_name: [records.person_title_name], @@ -686,8 +704,8 @@ export class PdQuestionSupplierInfoPage { captureTheSupplierPics(materialName, index, supplierName) { - console.log('ds'); - // alert('dsa'); + + if (supplierName != '') { // 'Raw Material','l',items.get('manufacturing_supplier_name').value this.cameraProvider.getpicture().then(res => { From f8bd0c713d8ed5328440dcab437c11de1953f842 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Sat, 6 Jul 2019 19:02:18 +0530 Subject: [PATCH 2/5] supplier stock : ps --- .../pd-question-stock-info/pd-question-stock-info.html | 2 +- .../pd-question-supplier-info/pd-question-supplier-info.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html index d813838e..d230a0f5 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html +++ b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html @@ -445,7 +445,7 @@ + > Select Add Stock Details No stock observed diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts index 59ab84fd..695a12d1 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts @@ -65,7 +65,7 @@ export class PdQuestionSupplierInfoPage { this.initFormLoadDetails(datas.type_of_activity); this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]); // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - // this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]); + this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]); let api = Object.keys(datas.type_of_activity).map(function (key) { return datas.type_of_activity[key]; From 53f586de630bdddc1eb501c0137dc2aeecbe72fc Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Sat, 6 Jul 2019 19:07:15 +0530 Subject: [PATCH 3/5] ad: ps --- .../pd-question-stock-info/pd-question-stock-info.ts | 4 +--- www/index.html | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts index 9c2e9122..5982d245 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts @@ -849,11 +849,9 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; not_stock_of_tg: any = []; not_stock_of_ws: any = []; not_stock_of_sp: any = []; - + checkComments(value, flag, index) { - console.log(value, flag, index); - return; if (flag == 1) { this.ManufacturingCounterArray[index] = value != "" ? 1 : 0; diff --git a/www/index.html b/www/index.html index c681631f..40ddf01d 100755 --- a/www/index.html +++ b/www/index.html @@ -1,9 +1,6 @@ - Ionic App From 57833e346646489f85ec6a9c7fcac6d243a2f2df Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Sat, 6 Jul 2019 20:15:16 +0530 Subject: [PATCH 4/5] redo supplier stock : ps --- .sourcemaps/main.js.map | 2 +- .../pd-question-stock-info.html | 13 ++--- .../pd-question-stock-info.ts | 55 ++++++++++--------- .../pd-question-supplier-info.html | 6 +- .../pd-question-supplier-info.ts | 13 ++--- .../pd-question-current-loans.html | 19 +++++-- .../pd-question-general-info.html | 4 +- www/index.html | 3 + 8 files changed, 62 insertions(+), 53 deletions(-) diff --git a/.sourcemaps/main.js.map b/.sourcemaps/main.js.map index 8492c3a5..970e195f 100644 --- a/.sourcemaps/main.js.map +++ b/.sourcemaps/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/storage/storage.ts","../../src/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../src/providers/common-provider/loading.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/search-relation/search-relation.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","../../src/pages/form-complete-check-modal/form-complete-check-modal.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/providers/common-provider/toast.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/app/modalanimations/enter.ts","../../src/app/modalanimations/leave.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/aws-service/aws-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7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"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n // let cacheid=tableName\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // let data= this.http.post(this.apiurl+'getListOfMaster',masters);\n //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d')\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Geolocation} from '@ionic-native/geolocation'\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\n// import {C} from '../../constants'\nimport {environment as ENV} from '../../environments/environment'\n\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient,private geo:Geolocation,private locationAccuracy:LocationAccuracy) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n let sparqprod= 'https://pdgenie.com/sparqprod/'\n return testapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n enableAccuracy()\n {\n return this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n return this.getGeoTag();\n // this.getcurrentBackgroundLocation();\n },\n error => console.log('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n });\n }\n getGeoTag(){\n return this.geo.getCurrentPosition().then(res=>{\n console.log(\"res from getGeoTag\",res.coords)\n console.log(\"res from provider\",new Date(res.timestamp))\n let lat=res.coords.latitude;\n let long=res.coords.longitude;\n let curr_pos=lat+\",\"+long\n return curr_pos\n }).catch(err=>console.log(\"error in getGeoTag\",err))\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ModalController,ModalOptions, Modal } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'\nimport {FormCompleteCheckModalPage} from '../form-complete-check-modal/form-complete-check-modal'\nimport {ConstantsProvider} from '../../providers/constants/constants'\n\n\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,\n public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,\n public pdstatusprovide:PdtriggerProvider, private modalCtrl:ModalController,private constantProvider:ConstantsProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n \n this.constantProvider.enableAccuracy().then(res=>{\n console.log(\"Accuracy from Category Provider\",res)\n })\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\nPdFormCompletnessCheck(){\n this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(res=>{\n console.log(res['records']);\n if(res['records'].length > 0){\nconst modalOpt:ModalOptions={\n //component:FormCompleteCheckModalPage,\n // enterAnimation: 'modal-scale-up-enter',\n // leaveAnimation: 'modal-scale-up-leave',\n cssClass:\"pdimagecompleteModal\"\n}\nconst modal=this.modalCtrl.create(FormCompleteCheckModalPage,{'values':res['records']},modalOpt)\nmodal.present()\n }\n else{\n //alert(\"completed PD\")\n\t this.completePDAlert()\n }\n })\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\nimport {CameraProvider} from '../../providers/common-provider/camera' ;\nimport {LoadingProvider} from '../../providers/common-provider/loading';\nimport {StorageProvider} from '../../providers/storage/storage';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport {BackgroundGeolocation,\n BackgroundGeolocationConfig,\n BackgroundGeolocationResponse,\n BackgroundGeolocationEvents} from '@ionic-native/background-geolocation'\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\nimageDisplay: any=[];\nimageBucket: any=[];\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n add_requirements:any;\n requirement_hide: boolean=true;\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController,\n public qustCat: QuestionCategoryProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider,private backgroundgeolocation:BackgroundGeolocation) {\n \n \n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n this.requirement_hide=false;\n // this.getcurrentBackgroundLocation();\n }\n ionViewCanEnter(){\n this.getFullPD();\n \n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n console.log('ionViewDidLoad InputPage' ); \n this.getPDImages();\n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.add_requirements=res['records'].pd_additional_requirements;\n this.requirement_hide=res['records'].pd_additional_requirements.length == 0 ? true : false\n console.log(\"req\",this.add_requirements.length);\n \n console.log(\"req\",this.requirement_hide);\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n console.log('dasdsfdsffds',res);\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;let param : any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n //sample format : fk_pd_id: \"868\", schedule_time: \"2019-05-30 18:51\", fk_scheduled_by: \"165\";\n param = {'fk_pd_id': this.address_pd_id, 'schedule_time':schDate, 'fk_scheduled_by': this.users}\n this.pdDetails.updateSchedule(param).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n console.log(\"geoLocation data\",data)\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n\n getcurrentBackgroundLocation() \n {\n let data:any\n const config:BackgroundGeolocationConfig={\n desiredAccuracy: 10,\n stationaryRadius: 20,\n distanceFilter: 30,\n debug: false, // enable this hear sounds for background-geolocation life-cycle.\n stopOnTerminate: false // enable this to clear background location settings when the app terminates\n };\n console.log(\"getCurrent Location 1 function\")\n this.backgroundgeolocation.configure(config).then(()=>{\n this.backgroundgeolocation.on(BackgroundGeolocationEvents.location)\n .subscribe((location:BackgroundGeolocationResponse)=>{\n //this.toast.pdTriggerappmessage(\"alert for loca, \"+location)\n console.log(\"background geo location\",location);\n let pos=location.latitude+\",\"+location.longitude\n data = {'pd_id':this.address_pd_id,'link':pos};\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>{\n console.log(\"saved location in Api\",res);\n\n },err=>{\n console.log(\"Not saved in Api\",err);\n })\n },err=>{\n console.log(\"Error in background geolocation subscribtion\")\n })\n },err=>{\n console.log(\"Error in background geolocation configuration\")\n })\n this.backgroundgeolocation.start();\n \n // let data:any;\n // let options = {\n // frequency: 3000, \n // enableHighAccuracy: true,\n // timeOut:1000,\n // };\n \n // this.timeInterval = setInterval(()=>{\n // this.currentPosPDofficer = '';\n // this.geolocation.getCurrentPosition(options).then((resp) => {\n // // resp.coords.latitude\n // // resp.coords.longitude\n // if((resp as Geoposition).coords !=undefined){\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n // console.log(this.currentPosPDofficer);\n // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n // this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n // {\n // console.log(\"geoLocation data\",data)\n // // this.updateinitiated = res;\n // // if(this.updateinitiated.dataStatus == true)\n // // { \n // // // this.getNewpdupdate();\n // // // this.startedAccess = true;\n // // }else\n // // {\n // // this.startedAccess = false;\n // // }\n // })\n // }\n // }).catch((error)=>{\n // this.toast.pdTriggerappmessage(error.message);\n // })\n \n // },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n \n\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation()\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n this.backgroundgeolocation.finish();\n this.backgroundgeolocation.stop();\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'|| data.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e)+' Only';\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n\n if(!val['msg']){\n // res = this.customfilter(res); \n console.log('val[records]',val['records']);\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n capture(){\n \n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n \n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geocoords\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n \n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n\n customfilter(res){\n console.log('custome filter');\n return res.filter(data=>data.fk_form_id != null);\n }\n\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.applicatentDetails.pd_id,\n 'formid':null,\n 'images':this.imageBucket,\n 'company_id':null\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n business_serviceProvider: any = [];\n\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,\n private constantProvider: ConstantsProvider) {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n \n if(data.dataStatus){\n \n let datas = data.records;\n console.log('datas',datas);\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n // this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]);\n \n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if(api.length > 0){ \n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n if (val.type_of_activity_id == 5) {\n if(val.prodcuts){\n this.business_serviceProvider.push(val.prodcuts);\n console.log(this.business_serviceProvider);\n }\n }\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n \n \n }else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n // serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n \n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // this.serviceProviderForm = true;\n if (dataForm.servicing_details[0] != null) {\n let api_service_providers = dataForm.servicing_details[0].service_providers;\n this.initServiceProvidersDetails(api_service_providers);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n else {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n }\n this.noRecordsFound = true;\n } else {\n \n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n this.noRecordsFound = true;\n }\n } else {\n console.log(' data in else part');\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n \n let arr = val.filter(data => data.type_of_activity_id == 5);\n console.log(arr,arr.length);\n if (arr.length > 0) {\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_providers: this.fb.array([]),\n service_providers_total_payments_percent_on_credit: []\n });\n } else {\n console.log('ELSE');\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n initServiceProvidersDetails(datas) {\n console.log('datas',datas);\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n\n if (datas === null) {\n console.log('initServiceProvidersDetails if null');\n control.push(this.initServiceProviders(null));\n } else {\n console.log('else not null');\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_payment_type, 3, inx);\n control.push(this.initServiceProviders(val));\n });\n }\n }\n\n initServiceProviders(records) {\n console.log('initServiceProviders',records);\n if (records === null) {\n console.log('if');\n return this.fb.group({\n service_provider_name: [''],\n service_provider_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n service_provider_contact_person_name: [''],\n service_provider_contact_person_mobile_number: [''],\n person_stdcode: [null],\n person_landline: [null],\n service_provider_payment_type: [''],\n service_provider_payment_mode: [''],\n service_provider_frequency_of_purchase: [''],\n service_provider_credit_days_from: [''],\n service_provider_credit_days_to: [''],\n })\n } else {\n console.log('else');\n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n service_provider_supplier_name: [records.service_provider_supplier_name],\n service_provider_contact_person_name: [records.service_provider_contact_person_name],\n service_provider_contact_person_mobile_number: [records.service_provider_contact_person_mobile_number],\n person_stdcode: [records.person_stdcode],\n person_landline: [records.person_landline],\n service_provider_payment_type: [records.service_provider_payment_type],\n service_provider_payment_mode: [records.service_provider_payment_mode],\n service_provider_frequency_of_purchase: [records.service_provider_frequency_of_purchase],\n service_provider_credit_days_from: [records.service_provider_credit_days_from],\n service_provider_credit_days_to: [records.service_provider_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProvider(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.push(this.initServiceProviders(null));\n }\n\n removeServiceProvider(inx): void {\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n saveSupplierInfoWithImageCheck(answerFormValues) {\n console.log(\"forms\", answerFormValues);\n let required_imageCheck = this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\", required_imageCheck);\n if (!required_imageCheck) {\n let alert = this.toast.setAlert(\"Mandatory photographs not taken\", \" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value => {\n if (value == 's') {\n this.saveSupplierInfo(answerFormValues)\n }\n else {\n return true;\n }\n })\n }\n else {\n this.saveSupplierInfo(answerFormValues)\n }\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n e == 1 ? '' : '';\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n\n if (flag == 3) {\n if (e == 3) {\n // items.controls['service_provider_credit_days_from'].setValidators([Validators.required]);\n // items.controls['service_provider_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n // items.controls['service_provider_credit_days_from'].clearValidators();\n items.controls['service_provider_credit_days_from'].setValue('');\n // items.controls['service_provider_credit_days_to'].clearValidators();\n items.controls['service_provider_credit_days_to'].setValue('');\n }\n items.controls['service_provider_credit_days_from'].updateValueAndValidity();\n items.controls['service_provider_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n\n captureTheSupplierPics(materialName, index, supplierName) {\n \n \n if (supplierName != '') {\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res => {\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates });\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n }\n else if (supplierName == '') {\n alert('Please Fill The Supplier Name');\n }\n\n }\n mandatoryImageCheck(Form_values) {\n let Form_names = []\n if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) {\n if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) {\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) })\n })\n }\n }\n // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n // if(Form_values.service_provider_details[0].service_products.length != 0){\n // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) })\n // })\n // }\n // }\n if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) {\n if (Form_values.trade_details[0].trading_products.length != 0) {\n Form_values.trade_details[0].trading_products.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) })\n })\n }\n }\n // console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count: number = 0;\n let mandatoryimgSaved = []\n let mandatoryimgNotSaved = []\n\n if (Form_names.length != 0) {\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue => {\n this.imageDisplay.forEach((imgvalue) => {\n\n // console.log(\"Form values individuals\",formvalue)\n if (formvalue.name != imgvalue.Name) {\n\n valBool = true\n }\n else {\n\n valBool = false\n\n count++;\n\n\n }\n if (count >= 2 && valBool == false) {\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n //return\n }\n else {\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n\n })\n if (valBool == true)\n console.log(\"Form name\", formvalue.name)\n\n mandatoryimgNotSaved.push(formvalue.name)\n\n })\n\n console.log(\"mandatoryimgSaved\", mandatoryimgSaved)\n console.log(\"mandatoryimgNot Saved\", mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res => {\n mandatoryimgNotSaved = mandatoryimgNotSaved.filter(val => val != res)\n\n })\n\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage = (mandatoryimgNotSaved) => mandatoryimgNotSaved.filter((val, i) => mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\", uniquenotsavedImage(mandatoryimgNotSaved));\n if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) {\n return false\n }\n else {\n return true\n }\n\n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n\n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n //}\n }\n else {\n return true\n }\n\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"ll\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.formDetails.form_id,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"records\", JSON.stringify(records))\n\n this.qustCat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n S_GoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n spdCommentFlag: any = [];\n\n // serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n suppliers_service_providers : any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false;\n SPCommentCard: boolean = false;\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n public SPsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n let type5 = record.from_business.filter(data => data.type_of_activity_id == 5);\n let type5length = type5[0].hasOwnProperty(\"products\") ? type5[0].products.length : 0;\n console.log('type5length',type5,type5length);\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [dataForm.hasOwnProperty('is_sufficiant_service_goods') ? dataForm.is_sufficiant_service_goods : ''],\n service_goods_remarks: [dataForm.hasOwnProperty('service_goods_remarks') ? dataForm.service_goods_remarks : '' ]\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.serviceProviderForm = true;\n let servicing_temparr = [];\n if(dataForm.hasOwnProperty('service_provider')){\n servicing_temparr['service_provider'] = dataForm.servicing_details[0].service_provider;\n this.initServicingDetails(servicing_temparr);\n }\n else{\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null); \n }\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n \n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n \n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n console.log('inside servicingFormCreation',val);\n let arr = val\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n if (arr > 0){\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n } else {\n console.log('Else');\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n }\n }\n\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n // 'is_sufficiant_raw': '',\n // 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n // 'is_sufficiant_goods': '',\n // 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n // is_sufficiant_raw: [''],\n // rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n // is_sufficiant_raw: [records.is_sufficiant_raw],\n // rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n // is_sufficiant_goods: [''],\n // finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n // is_sufficiant_goods: [records.is_sufficiant_goods],\n // finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n // is_sufficiant_traded_goods: [''],\n // traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n // is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n // traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n\n initServicingDetails(datas) {\n const service = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n if (datas === null) {\n \n if (this.suppliers_service_providers.length > 0) {\n this.suppliers_service_providers.forEach(val => {\n let Serv_Prov_Goods: any = {\n 'service_provider_name': val,\n 'service_provider_observed': '',\n 'service_provider_quantity': '',\n 'service_provider_uom': '',\n 'service_provider_other_uom': '',\n 'estimated_service_provider_value': ''\n }\n\n service.push(this.createServiceProvider(Serv_Prov_Goods));\n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n } else {\n if (datas.service_provider !== undefined) {\n datas.service_provider.forEach((val, index) => {\n if (val.estimated_service_provider_value) {\n this.inWords(val.estimated_service_provider_value, 5, index);\n }\n this.checkComments(val.service_provider_observed, 5, index);\n service.push(this.createServiceProvider(val));\n \n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n }\n }\n\n createServiceProvider(records) {\n \n if (records === null) {\n \n return this.fb.group({\n service_provider_name: [''],\n service_provider_observed: [''],\n service_provider_quantity: [''],\n service_provider_uom: [''],\n uomSearch:[null],\n service_provider_other_uom: [''],\n estimated_service_provider_value: [''],\n // traded_goods_value: [''],\n });\n }\n else {\n \n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n service_provider_observed: [records.service_provider_observed],\n service_provider_quantity: [records.service_provider_quantity],\n service_provider_uom: [records.service_provider_uom],\n uomSearch:[null],\n service_provider_other_uom: [records.service_provider_other_uom],\n estimated_service_provider_value: [records.estimated_service_provider_value],\n // traded_goods_value: [records.traded_goods_value],\n\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.push(this.createServiceProvider(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n not_stock_of_sp: any = [];\n checkComments(value, flag, index) {\n \n console.log(value, flag, index);\n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 5) {\n console.log('adf');\n this.ServiceCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_sp[index] = value == \"yes\" ? 1 : 0;\n\n let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n this.SPCommentCard = SPOverallCount > 0 ? true : false;\n\n let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n \n if(not_stock3 > 0){ \n \n this.SPsufficientList[0].disabled = false;\n this.SPsufficientList[2].disabled = true;\n \n }\n else if(not_stock3 == 0){ \n \n this.SPsufficientList[0].disabled = true;\n this.SPsufficientList[2].disabled = false;\n \n }\n \n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 5:\n this.S_GoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n \n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray, FormControl } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n product_abbr: any;\n lender_short_name : any;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n AV_CCAnnualSalesAmtInwords:any = [];\n formDetails: any;\n CustSegAbbr:any;\n temparray : any = [];\n picsArrayLength :any = 0;\n ServiceDataAvailability:boolean = false;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.initFinancialForm()\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n if (data.dataStatus) { \n if(data.records.type_of_activity.length == 1){\n let bussiness_service_datas = data.records.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n this.ServiceDataAvailability = bussiness_service_datas.length>0 ? true : false;\n if(this.ServiceDataAvailability == true){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA');\n }else{\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n }\n else{\n this.ServiceDataAvailability = false;\n }\n }\n })\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([]),\n select_working_capital_facilities_availed : this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n estimate_posmachine_or_cc_annual_sales:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n if(this.CustSegAbbr == 'AI'){ \n this.financialForm.removeControl('estimated_value');\n this.financialForm.controls['is_financial_customer'].setValue('');\n } \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n\n if(records.is_financial_statements == 'yes' && this.picsArrayLength == 0){\n this.toast.pdTriggerappmessage(\"Photos of Finanical Statements are Required\");\n return;\n }\n \n records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(value => value.exist_status == 1);\n if(records.is_there_working_capital_available == \"no\"){\n records.select_working_capital_facilities_availed = [];\n if(records.bank_guarantee) delete records.bank_guarantee ;\n if(records.cash_credit_limit) delete records.cash_credit_limit;\n if(records.factoring) delete records.factoring;\n if(records.forfaiting) delete records.forfaiting;\n if(records.letter_of_credit) delete records.letter_of_credit;\n if(records.od_limit) delete records.od_limit;\n if(records.other_reason_for_working_capital_facilities_availed) delete records.other_reason_for_working_capital_facilities_availed ;\n if(records.reason_for_working_capital_facilities_availed) delete records.reason_for_working_capital_facilities_availed ;\n }\n \n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n const workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed'];\n\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n // Financial part 1 : Date \n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n\n // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value.\n\n if(this.CustSegAbbr != 'AI'){\n \n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n this.AV_CCAnnualSalesAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val;\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n }\n else if(this.CustSegAbbr == 'AI'){\n retrieveData.estimated_value = [];\n }\n\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n if (retrieveData.select_working_capital_facilities_availed) {\n exist_av_data = Object.keys(retrieveData.select_working_capital_facilities_availed).map(function (key) {\n return retrieveData.select_working_capital_facilities_availed[key].id;\n });\n }\n \n let actual_av = avData.map(item => item.id);\n \n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n \n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n\n if (val.exist_status == 1 && val.id == 2) {\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n \n });\n \n retrieveData.select_working_capital_facilities_availed = check_exist_av;\n }\n\n this.financialForm.setValue(retrieveData)\n\n if(this.ServiceDataAvailability == false && retrieveData.unsold_stock_lies_in_days == 'NA' ){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n\n }\n else {\n console.log('didN`T get the api');\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n let actual_av = avData.map(item => item.id);\n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n });\n }\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n workingCptl(details: any): FormGroup {\n return this.fb.group({\n id: [details.id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n\n changeWorkingCapitalFacilities(event: any) {\n \n if (event.value.exist_status == true && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n\n this.financialForm.removeControl('bank_guarantee');\n }\n else if (event.value.exist_status == false && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 3) {\n this.financialForm.removeControl('cash_credit_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 4) {\n this.financialForm.removeControl('factoring');\n }\n else if (event.value.exist_status == false && event.value.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 5) {\n this.financialForm.removeControl('forfaiting');\n }\n else if (event.value.exist_status == false && event.value.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 6) {\n this.financialForm.removeControl('letter_of_credit');\n }\n else if (event.value.exist_status == false && event.value.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 7) {\n this.financialForm.removeControl('od_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 1) {\n this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed');\n this.financialForm.removeControl('reason_for_working_capital_facilities_availed');\n }\n else if (event.value.exist_status == false && event.value.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n\n // if(event.value.exist_status==true && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n}\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n if(annual_sale != ''){\n\n let current_margin : number =(profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : \n loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00 )\n let pre_margin : number = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : \n temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00 );\n let absoulte_value_of_pre_margin : number = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00 ); \n\n let a: number = current_margin - pre_margin; \n let b: number = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin;\n let c: number = b * 100;\n \n // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))));\n // let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\n const pattern = /[0-9\\.]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 13 : \n this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n this.picsArrayLength = val['records'].length;\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n captureTheFinancialPics(value){\n// alert('Value '+value+' - '+this.picsArrayLength);\n if(value == 'yes' && this.picsArrayLength == 0){\n alert('You Must Take The Finanical Pic');\n }\n else{\n alert('No Need');\n }\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionClientInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider,private constantProvider:ConstantsProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\nconsole.log(\"form values\",this.clientInfoForm);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n \n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\n // this.qustCat.saveForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.navCtrl.pop();\n // }\n // });\n\n\n // }\n saveClientInfoWithImageCheck(answerFormValues){\n console.log(\"forms\",answerFormValues);\n let required_imageCheck=this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\",required_imageCheck);\n if(!required_imageCheck){\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.saveClientInfo(answerFormValues)\n }\n else{\n return true;\n }\n })\n }\n else{\n this.saveClientInfo(answerFormValues)\n }\n }\n\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n\n \n // answerFormValues.trade_details.forEach((value)=>{\n // value.trading_products.forEach()\n // })\n // this.imageDisplay.forEach((res,index)=>{\n // if(res.Name == )\n // })\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n \n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n captureTheClientPics(materialName,index,clientName){\n \n if(clientName != ''){\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':clientName + ' - ' + materialName + ' ' + (index+1),'link':geoCoordinates});\n })\n }\n\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n }\n else if(clientName == ''){\n alert('Please Fill The Client Name');\n }\n \n }\n mandatoryImageCheck(Form_values){\n let Form_names=[]\n if(Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null){\n if(Form_values.manufacturing_details[0].main_raw_materials.length != 0){\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.manufacturing_client_name+' - '+ 'Manufacturing Product ' + (index+1) })\n })\n }\n }\n if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n if(Form_values.service_provider_details[0].service_products.length != 0){\n Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provider ' + (index+1) })\n })\n }\n}\n if(Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null){\n if( Form_values.trade_details[0].trading_products.length != 0){\n Form_values.trade_details[0].trading_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.trade_client_name+' - '+ 'Trading Product ' + (index+1) })\n })\n }\n}\n console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count:number=0;\n let mandatoryimgSaved=[]\n let mandatoryimgNotSaved=[]\n\nif(Form_names.length != 0 ){\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue=>{\n this.imageDisplay.forEach((imgvalue)=>{\n \n // console.log(\"Form values individuals\",formvalue)\n if(formvalue.name != imgvalue.Name){\n \n valBool=true\n }\n else{\n\n valBool=false\n \n count ++;\n \n \n }\n if(count >=2 && valBool == false){\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n // return\n }\n else{\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n \n })\n if(valBool==true)\n console.log(\"Form name\",formvalue.name)\n \n mandatoryimgNotSaved.push(formvalue.name)\n \n })\n \n // console.log(\"mandatoryimgSaved\",mandatoryimgSaved)\n // console.log(\"mandatoryimgNot Saved\",mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res=>{\n mandatoryimgNotSaved=mandatoryimgNotSaved.filter(val=>val != res)\n \n })\n \n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage=(mandatoryimgNotSaved)=>mandatoryimgNotSaved.filter((val,i)=>mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\",uniquenotsavedImage(mandatoryimgNotSaved));\n if(uniquenotsavedImage(mandatoryimgNotSaved).length > 0){\n return false\n }\n else{\n return true\n }\n \n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n \n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n // }\n // else{\n // return true\n // }\n}\nelse{\n return true\n}\n\n }\n\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log(\n \"%cWelcome, Camera Provider\",\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\n );\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getPicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n\n getcommonpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getcommonpicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData.filter(data=>data.fk_form_id == null);\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 258;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 258\n// module chunks = 2","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 301;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 301\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\nimport { DatePipe } from '@angular/common';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n pipe = new DatePipe('en-US');\n AppxPDLocationImgValid : boolean = false;\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n alertnativeCityData: any=[];\n alertnativePincodeData: any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n //this.constant.getGeoTag().then(res=>{\n //console.log(\"constructor geo location promise\",res);\n //})\n\n // console.log(\"geo\",this.constant.getGeoTag())\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n\n this.pdQuestionAddress = this.fb.group(\n {\n // addresses:this.fb.array([]),\n // address_form_remark:[''],\n // alternative_address:this.fb.array([]),\n // address_type_ques:this.fb.array([]),\n // pd_is_done_on_initiated_address:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n addresses: this.fb.array([]),\n is_pd_done_on_initiated_address: [true],\n address_type: ['', Validators.compose([Validators.required])],\n locality: ['', Validators.compose([Validators.required])],\n locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n address_form_remark: ['']\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n //this.getaddressForm(); \n let params = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.setAddressFromDatas(params);\n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option,flag){\n\n if (option == 'city' && flag ==1) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin' && flag ==1) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n if (option == 'city' && flag ==2) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchAlternativeCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'pin' && flag ==2) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchAlternativePin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchAlternativePin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.alertnativePincodeData[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.alertnativePincodeData[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchAlternativeCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.alertnativeCityData[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.alertnativeCityData[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n \n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n \n \n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n \n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n \n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,flag) {\n \n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n this.pincodeData[i] = data.records.pincode;\n \n //this.filteredCity.next(this.cityData[i].slice())\n if(flag== 1){\n this.cityDataValue[i]=this.cityData[i].slice()\n // this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n else if(flag == 2){\n this.alertnativeCityData[i]=this.cityData[i].slice()\n this.alertnativePincodeData[i]=this.pincodeData[i].slice()\n }\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n \n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n \n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n // address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n // locality_others: [AddressDetails.locality_others],\n // // locality_mixuse: [AddressDetails.locality_mixuse],\n // pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n // comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n // estimated_area: [AddressDetails.estimated_area],\n // uom: [AddressDetails.uom],\n // uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n // address_type: ['', Validators.compose([Validators.required])],\n // address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: ['', Validators.compose([Validators.required])],\n // locality_others: [''],\n // // locality_mixuse: [''],\n // pd_location: ['', Validators.compose([Validators.required])],\n // comment_locality: ['', Validators.compose([Validators.required])],\n // estimated_area: [''],\n // uom: [''],\n // uom_others: [''] \n });\n }\n \n }\n alternativeAddress(e) {\n console.log(e);\n console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value)\n if (e === false) {\n console.log('alternativeAddress false',e);\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n alternative_address_control.push(this.initAlternativeAddress(null));\n }\n else if (e === true) {\n console.log('alternativeAddress',e);\n this.pdQuestionAddress.removeControl('alternative_addresses');\n }\n}\n initAlternativeAddress(add_values){\n if(add_values == null){\nreturn this.fb.group({\n alternative_address:[''],\n alternative_state:[''],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[''],\n alternative_pincode:[''],\n alternative_pincode_others:[''],\n reason_for_alternative_address:['']\n })\n}\nelse{\n return this.fb.group({\n alternative_address:[add_values.alternative_address],\n alternative_state:[add_values.alternative_state],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[add_values.alternative_city],\n alternative_pincode:[add_values.alternative_pincode],\n alternative_pincode_others:[add_values.alternative_pincode_others],\n reason_for_alternative_address:[add_values.reason_for_alternative_address]\n})\n}\n\n }\n /** On Key Press Event For Numbers */\n keyPress(event: any) {\n const pattern = /[0-9]/;\n \n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[0] = 'Estimated area of the ' + e;\n }\n imageMandatoryCheck(){\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.onSubmit()\n }\n else{\n return true;\n }\n })\n }\n else{\n this.onSubmit()\n }\n \n }\n onSubmit() {\n\n // if(this.pdQuestionAddress.invalid){\n // this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n // return\n // }\n // if(this.AppxPDLocationImgValid == false){\n // //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n \n // }\n // else if (this.addressForm.value.address_form_remark == '') {\n // this.notifier.notify('warning', 'Fill Remark!');\n // this.disableAfterSubmit = false;\n // return;\n // }\n \n // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value);\n\n let records: any = {};\n\n records.addresses = this.pdQuestionAddress.controls.addresses.value;\n records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value\n\n if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) {\n if(records.addresses[0].pincode != 1){\n delete records.addresses[0].pincode_others\n }\n records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.addresses[0].citySearch = '';\n records.addresses[0].pinSearch = '';\n records.addresses[0].stateSearch = '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) {\n records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value;\n records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if(records.addresses[0].alternative_pincode != 1){\n delete records.addresses[0].alternative_pincode_others\n }\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : '';\n records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : '';\n records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value;\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n\n // console.log('Final records', records);\n\n \n\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['status'] == 200) {\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n else {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!');\n \n }\n }, error => {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');\n \n });\n \n\n }\n\n savepdQuestionOLD(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n return\n }\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n\n setAddressFromDatas(params){\n this.qustCat.retiverForm(params).subscribe(data => {\n\n const control = this.pdQuestionAddress.controls['addresses'];\n if (data['status'] == 200) {\n let initiated_address_check =data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n if (data['records'].addresses.length == 0) {\n control.push(this.initAddress(null));\n } else {\n data['records'].addresses.forEach((datas, index) => {\n let obj = {\n 'address': datas.address,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode': datas.pincode,\n 'pincode_others': datas.pincode ? datas.pincode_others : ''\n }\n this.getCityAndPincodeDetails(datas.state, index, 1);\n control.push(this.initAddress(obj));\n \n if (datas.address_type_others == \"\" || datas.address_type_others == null){\n delete datas.address_type_others;\n }\n\n if (datas.citySearch == \"\" || datas.citySearch == null){\n delete datas.citySearch;\n }\n\n if (datas.locality_others == \"\" || datas.locality_others == null){\n delete datas.locality_others;\n }\n if (datas.pinSearch == \"\" || datas.pinSearch == null){\n delete datas.pinSearch;\n }\n if (datas.pincode_others == \"\" || datas.pincode_others == null){\n delete datas.pincode_others;\n }\n if (datas.stateSearch == \"\" || datas.stateSearch == null){\n delete datas.stateSearch;\n }\n if (datas.uom_others == \"\" || datas.uom_others == null){\n delete datas.uom_others;\n }\n \n if (initiated_address_check === true) {\n\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n });\n }\n\n if (initiated_address_check == false) {\n \n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n if (data['records'].alternative_addresses.length > 0) {\n \n data['records'].alternative_addresses.forEach((datas, index) => {\n \n // if (datas.citySearch == \"\" || datas.citySearch == null){\n // delete datas.citySearch;\n // } \n // if (datas.pinSearch == \"\" || datas.pinSearch == null){\n // delete datas.pinSearch;\n // }\n // if (datas.stateSearch == \"\" || datas.stateSearch == null){\n // delete datas.stateSearch;\n // }\n \n let obj = {\n 'alternative_address': datas.alternative_address,\n 'alternative_state': datas.alternative_state,\n 'alternative_city': datas.alternative_city,\n 'alternative_pincode': datas.alternative_pincode,\n 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '',\n 'reason_for_alternative_address': datas.reason_for_alternative_address,\n }\n this.getCityAndPincodeDetails(datas.alternative_state, index, 2);\n alternative_address_control.push(this.initAlternativeAddress(obj));\n \n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location);\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type);\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality);\n\n this.pdQuestionAddress.controls.locality.setValue(datas.locality);\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area);\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n\n });\n }\n }\n this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark);\n }\n else {\n this.getaddressForm();\n }\n // else {\n // control.push(this.createAddresses(null));\n // }\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n \n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n \n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n \n \n }\n setOthers(e, i, flag) {\n switch (flag) {\n case 1:\n const control = this.pdQuestionAddress.controls['addresses'];\n let ChildCtrl: any = control.controls[i];\n e == 1 ? ChildCtrl.addControl('pincode_others', new FormControl('', Validators.required)) : ChildCtrl.removeControl('pincode_others');\n break;\n case 2:\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n let AltChildCtrl: any = alternative_address_control.controls[i];\n e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new FormControl('', Validators.required)) : AltChildCtrl.removeControl('alternative_pincode_others');\n break;\n case 3:\n e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('address_type_others');\n break;\n case 4:\n e == 1 ? this.pdQuestionAddress.addControl('locality_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('locality_others');\n break;\n case 5:\n e == 1 ? this.pdQuestionAddress.addControl('uom_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('uom_others');\n break;\n }\n }\n\n\n getaddressForm()\n {\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1);\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n \n this.getaddressDetails.forEach((datas,index)=>{\n if (datas.address_type_others == \"\" || datas.address_type_others == null){ delete datas.address_type_others;}\n if (datas.citySearch == \"\" || datas.citySearch == null){delete datas.citySearch;}\n if (datas.locality_others == \"\" || datas.locality_others == null){delete datas.locality_others;}\n if (datas.pinSearch == \"\" || datas.pinSearch == null){delete datas.pinSearch;}\n if (datas.pincode_others == \"\" || datas.pincode_others == null){delete datas.pincode_others;}\n if (datas.stateSearch == \"\" || datas.stateSearch == null){delete datas.stateSearch;}\n if (datas.uom_others == \"\" || datas.uom_others == null){delete datas.uom_others;}\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n // if (datas.address_type) {\n // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0];\n // this.selectedAddressType(selectedAddressType.address_type);\n // this.setOthers(datas.address_type, '', 3);\n // if (datas.address_type == 1) {\n // this.addressForm.controls.address_type_others.setValue(datas.address_type_others);\n // this.selectedAddressType(datas.address_type_others);\n // }\n // }\n\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n if (datas.locality) {\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n }\n\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n if (datas.uom) {\n this.setOthers(datas.uom, '', 5);\n if (datas.uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n })\n let initiated_address_check =res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n \n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,1)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n \n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n console.log('record_for_pic',record_for_pic);\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n console.log('records result',result);\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })\n let img_title = (result.pd_document_title).split('(');\n if(img_title[0] == 'Approach to PD Location '){\n this.AppxPDLocationImgValid = true;\n //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')\n }\n })\n console.log(\"image Display Data Are\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are');\n this.imageDisplay[index]={'image':img,'Name':value,'is_show_report':0}\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n\n changeNameForBucket(value,index,img,active){\n // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active);\n this.imageBucket[index]={'image':img,'Name':value,'is_show_report':0}\n \n }\n changeOptions(event: any,index: any){\n // console.log('Option Changed ' + event);\n let name = this.imageBucket[index].value\n let length = this.imageDisplay.length;\n console.log('image display length',length);\n this.imageDisplay.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n result.is_show_report = 0;\n }\n })\n console.log('this.imageDisplay',this.imageDisplay);\n this.imageBucket.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n // this.AppxPDLocationImgValid = true;\n console.log('name',name);\n console.log('this.imageBucket.length',this.imageBucket.length);\n result.is_show_report=0;\n }\n })\n console.log('this.imageBucket',this.imageBucket);\n this.imageBucket[index].is_show_report=event;\n // console.log('this.imageBucket',JSON.stringify(this.imageBucket));\n }\n removeImg(index){\n // console.log('inside removeImg Fn - its param are - Index only ',index);\n this.imageDisplay.splice(index,1);\n \n }\n removeImgForBucket(index){\n // console.log('inside removeImgForBucket Fn - its param are - Index only ',index);\n this.imageBucket.splice(index,1)\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n savePhoto(flag){\n // console.log('savePhoto');\n let currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss');\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n // console.log('inside savePhoto Fn - its response ',imageData);\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n if(flag == 1){\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'','is_show_report':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n console.log(\"imagebucket\",this.imageBucket)\n this.getImageName(this.imageBucket.length-1)\n }else if(flag == 2){\n // console.log('flag');\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'Approach to PD Location ( ' + currentDate + ' )','is_show_report':''});\n }\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n\n getImageName(index){\n // console.log('inside get Image Name Fn - its param are - Index only ',index);\n let alert =this.toast.setAlertForDocName()\n \n alert.present()\n alert.onDidDismiss(value=>{\n // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport);\n this.imageBucket[index].Name=value.Name;\n });\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n\n updateImage(){\n }\n sendImage(){\n this.loading.loaderForSendImage() \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\nconsole.log(\"records for sendImage\",records);\n // console.log(\"inside SendImage Function - records array\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n // console.log(\"inside localInsert Fn - its Response\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: any;\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\n // other_frequency:[''],\n // loan_amount: [''],\n // frequency:[''],\n // emi: [''],\n // loan_type: [''],\n // others_loan_type:[''],\n // loan_taken_by:[''],\n // others_loan_taken:[''],\n // lender: [''],\n // others_lender:[''],\n // original_tenure: [''],\n // current_balance_tenure: [''],\n // elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n //details.controls.current_balance_tenure.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\n \n}\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].patchValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\n })\n }\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n \n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n \n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n tapEvent(value){\n console.log(\"dd\",value);\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n lender_short_name : any;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n fundAmtInWords : any;\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n is_there_total_fund:[''],\n fund_amt:[''],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\n })\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n case 8:\n this.fundAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value;\n records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails.is_there_total_fund);\n this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails.fund_amt);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if(loanDetails.fund_amt){this.fundAmtInWords = this.constant.convertNumberToWords(loanDetails.fund_amt); }\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n if(this.lender_short_name == 'CLIX'){\n \n this.loanDetailsForm.controls['is_transfer'].setValue(\"no\");\n this.selectedBalancesTransferChanges(\"no\")\n }\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n }\n // let modifyCompanyList : any=[];\n // if(this.existCompanyList.length>0){\n // modifyCompanyList = this.existCompanyList.map(element => {\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n // });\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n //}\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n //isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n this.inWords(val.rent,index,2)\n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: [''],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:[''],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_segment:[''],\n earning_gross_income_per_month: [''],\n earning_name_of_the_employer_or_business: [''],\n earning_number_of_years_in_employment_or_business: [''],\n non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n this.relationDataValue=this.relationData.slice();\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\n }\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n\n data.forEach((val,inx) => {\n \n // // family_member_earning_status\n // if(val.age){\n // this.isReadOnly[inx] = true;\n // }else{\n // this.isReadOnly[inx] = false;\n // }\n arraydata = {\n 'family_member_salutation':'',\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n // console.log('Temparr',Temparr);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n\n \n \n \n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo location promise\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(event: any) {\n const pattern = /[0-9\\-\\.\\ ]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':'','link':geoCoordinates});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public alertCtrl:AlertController) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n address:[''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \n \n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n let rentOptionCount: number = 0;\n let validateFlag: number = 0;\n let TextMessage :any;\n\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n console.log(records);\n // this.callSaveApi(records);\n\n if (records.other_income == 'Yes') {\n records.income_details.forEach(option => {\n if (+option.source == 5) {\n rentOptionCount++;\n validateFlag = 1;\n } \n });\n \n if(validateFlag == 1){\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id;\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = 17;\n \n this.qustCat.retiverForm(params).subscribe(data=>{\n if(!data['dataStatus']){\n let text : any = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property' ;\n TextMessage = '
You have chosen '+ text +' as rental income, but rental verification form is not filled
';\n\n let alert=this.alertCtrl.create({\n title:'Please Confirm',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.callSaveApi(records);\n }\n }\n ]\n });\n alert.present();\n }\n else if(data['dataStatus']){\n this.callSaveApi(records);\n }\n })\n } \n else{\n this.callSaveApi(records);\n }\n }\n else{\n this.callSaveApi(records);\n }\n}\n\ncallSaveApi(records){\n \n this.qustCat.saveForm(records).subscribe(data => {\n //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n}, error => {\n \n})\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\n}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"From Dashboard of Rental - values are \",this.data);\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\n}\n\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null,'rental_count_id':this.data.existing_rental_count_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n console.log('From getPDImages',val);\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\n\ncaptureThePropertyPics(){\n // alert('rentalDataCount '+this.data.existing_rental_count_id);\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':'Property '+this.data.existing_rental_count_id});\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n}\n\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n 'rental_count_id':this.data.existing_rental_count_id,\n \n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n console.log(\"savepd\",records) \n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expenses Page\";\n break;\n case 4:\n this.FormName = \"Household Expenses Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n });\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n/**\n * Generated class for the PdQuestionAssessedPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n \n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n other_expense_item:[null],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n other_expense_item:[data.other_expense_item || ''],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider,private constantProvider:ConstantsProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private constantProvider:ConstantsProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport { SearchRelationPipe } from '../../../pipes/search-relation/search-relation';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[SearchRelationPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n console.log(\"persons_with_relationships\",this.generalForm.controls['persons_with_relationships']['controls'][0])\n let control=this.generalForm.get('persons_with_relationships')\n console.log('p1',control)\n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.info(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;\");\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.table(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n console.log('if part . this.imageBucket.length',this.imageBucket.length);\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n console.log('else part . this.imageBucket.length',this.imageBucket.length)\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic :val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof : val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic:val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof:val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_person_met_pic:[''],\n is_person_met_id_proof:[''],\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_person_met_pic : data.is_person_met_pic != null ? data.is_person_met_pic : '' ,\n is_person_met_id_proof : data.is_person_met_id_proof,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n console.log('From Genral Form - value are',value)\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n console.log('fulldata',this.fulldata);\n console.log('control.length+1',control.length+1);\n console.log('full data',this.fulldata[control.length]);\n\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[this.fulldata[control.length].applicant_name],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n value.forEach((val,index)=>{\n console.log(\"val for each\",val)\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[index == 0 ? '0' : val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n })\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_person_met_pic : val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof: val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins');\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n // update personal relation\n updatePersonalRelation(indexVal) {\n let control: any = this.generalForm.controls['persons_with_relationships'];\n control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to);\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\n console.table(this.generalForm.value);\n console.log(answerData);\n\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_person_met_pic = '';\n datas.is_person_met_id_proof = '';\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n \n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\n })\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n\n sendImage(){\n \n this.loading.loaderForSendImage()\n console.log(\"image bucket - json data\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"DB - records\",JSON.stringify(records))\n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(control,Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_pic'].setValue(res);\n //this.toast.pdTriggerappmessage('Flag 1 Success');\n }\n else{\n control.controls['is_person_met_pic'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 1 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_id_proof'].setValue(res);\n // this.toast.pdTriggerappmessage('Flag 2 Success');\n }\n else{\n control.controls['is_person_met_id_proof'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 2 Fail');\n }\n // console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the SearchRelationPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'searchRelation',\n})\nexport class SearchRelationPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any): any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/search-relation/search-relation.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray,FormControl,Validators} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n product_abbr: any;\n lender_short_name : any;\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider,private constantProvider:ConstantsProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ \n this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ;\n this._finalRemarkForm.addControl('is_competition', new FormControl(''));\n this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); \n this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); \n }\n else{ \n this._finalRemarkForm.removeControl('outlet_location');\n this._finalRemarkForm.removeControl('is_competition');\n this._finalRemarkForm.removeControl('sealing_activity'); \n this._finalRemarkForm.removeControl('demolition_activity'); \n }\n\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records'].filter(val=>val.pdofficer_recommendation_id!=1)\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n this.setValidation();\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){\n \n this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location);\n this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);\n this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); \n this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); \n this.clixChange(data['records'].is_competition,1);\n this.clixChange(data['records'].sealing_activity,2);\n this.clixChange(data['records'].demolition_activity,3);\n \n if(data['records'].is_competition ==true){ this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores);}\n if(data['records'].sealing_activity ==true){ this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity);\n this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); }\n if(data['records'].demolition_activity ==true) {this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); \n this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); }\n }\n\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n\n clixChange(e,flag){\n if(flag == 1){ \n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores');\n }\n if(flag == 2){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity');\n e==true ? this._finalRemarkForm.addControl('demolition_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('demolition_activity_pic');\n }\n if(flag == 3){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity');\n e==true ? this._finalRemarkForm.addControl('sealing_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('sealing_activity_pic');\n }\n }\n\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n ImageUpload(Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n}\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\nimport {PdQuestionFuturePlansAndBusinessEnvironmentPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==23){\n this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport { searchValue } from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList: any = [];\n users: any; formdetails: any;\n FormId: any;\n pdDetails: any;\n businessForm: FormGroup;\n applicants: any = [];\n businessEntityTypeList: any = {\n business_entity_type_id: String,\n business_entity_type_name: String,\n sourcsection_labeleName: String\n };\n generalExistEntityType: string\n generalExistEntityType_other: string;\n generalExistBusinessYear: Number;\n generalExistBusinessMonth: Number;\n pdid: any;\n step: number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList: any = []\n countryDataList: any = []\n exist_status: any;\n\n filterCityList: any = [];\n errorMessage: any = [];\n appxSalaryAmtInwords: any;\n titleData: any = []\n personsList: any = []\n\n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean = false;\n bankList: any = [];\n bankListValue: any = [];\n temp_additiondetailofposmachine: any = []\n isreadonlyyear: any = [];\n isreadonlymonth: any = [];\n EntityTypeFlag: boolean = false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience: any = [];\n countryDataListValue: any = [];\n product_abbr: any;\n lender_short_name: any;\n\n @ViewChild('shareholding') share_focus: ElementRef\n private search: searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState: ReplaySubject = new ReplaySubject(1)\n public filteredCountry: ReplaySubject = new ReplaySubject(1)\n cityData: any = []\n cityDataValue: any = []\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider, public toast: ToastProvider,\n public qustCat: QuestionCategoryProvider, public fb: FormBuilder, public cons: ConstantsProvider,\n private loading: LoadingProvider, private cameraProvider: CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n\n this.formdetails = this.navParams.get('formDetails');\n\n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n\n this.applicants = this.pdDetails.applicat_details;\n console.log(\"pd\", this.pdDetails);\n this.generalExistEntityType = this.pdDetails.business_entity_type\n this.generalExistEntityType_other = this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.step = 0\n\n\n\n // this.initBusinessForm();\n // this.getBuisnessDetails();\n\n this.businessForm = this.fb.group({\n fk_createdby: [this.users],\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.FormId],\n company_id: this.pdDetails.company_id,\n partners: this.fb.array([]),\n persons_with_relationships: this.fb.array([]),\n select_business_activity_type: this.fb.array([]),\n manufacturing_activity_details: this.fb.array([]),\n retail_trading_activity_details: this.fb.array([]),\n wholesale_trading_activity_details: this.fb.array([]),\n service_provider_activity_details: this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales: ['', Validators.compose([Validators.max(100), Validators.min(0)])],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality: [''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary: [''],\n was_the_company_name_board_sighted: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n // shop_eat_act_cert_pic:['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n //export_import_cert: [''],\n //factory_cert: [''],\n //practice_cert: [''],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks: ['']\n })\n this.getdropdown();\n\n // this.initBusinessForm();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n\n\n }\n getdropdown() {\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data => {\n if (data['dataStatus'] == true) {\n let filterList = data['records'].filter(val => val.business_entity_type_id == this.generalExistEntityType);\n console.log(\"Filter\", filterList)\n if (filterList.length > 0) {\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : this.generalExistEntityType_other;\n\n if (this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') {\n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data => {\n this.companyRelationShipList = data['records'].filter(val => val.isactive == 1);\n\n });\n\n\n\n this.qustCat.getcommondrop('COUNTRY').subscribe(data => {\n this.countryDataList = data['records'].filter(val => val.isactive == 1);\n this.filteredCountry.next(this.countryDataList.slice());\n });\n this.qustCat.getcommondrop('TITLES').subscribe(data => {\n this.titleData = data['records'].filter(val => val.isactive == 1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data => {\n if (data.dataStatus) {\n\n this.personsList = data['record'].filter(val => val.applicant_type == 1)\n\n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data => {\n this.bankList = data['records'].filter(val => val.isactive == 1 && val.lender_type == 1);\n this.bankListValue = this.bankList.slice();\n })\n\n }\n getStateCityDet() {\n this.qustCat.getStateCityDetails().subscribe(data => {\n\n\n this.stateList = data.records\n this.filteredState.next(this.stateList.slice())\n\n this.getDetails();\n });\n\n\n }\n changeOfStartedBusiness(members, i, e) {\n if (e == 'yes') {\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else {\n this.isreadonlyyear[i] = false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails() {\n\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data => {\n console.log('data[records]', data['records']);\n let businessVal = data['records']\n let constVal: any;\n\n\n const Partnr: any = this.businessForm.controls['partners'];\n\n const control1: any = this.businessForm.controls['persons_with_relationships'];\n\n const business_activity: any = this.businessForm.controls['select_business_activity_type'];\n\n const manufacture_details: any = this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl: any = this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl: any = this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n this.product_abbr == 'LAEP' ? this.businessForm.addControl('fire_noc', new FormControl(null, Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc');\n if (data['status'] == 200) {\n\n let DocArray: any;\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n })\n\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners())\n }\n else {\n PartnrArray.forEach((datas, key) => {\n Partnr.push(this.createPartners());\n if (datas.partner_name == 'Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if (data['records'].persons_with_relationships) {\n let PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) {\n return data['records'].persons_with_relationships[key];\n })\n if (PartnrArray1.length > 0) {\n PartnrArray1.forEach((datas, key) => {\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships = PartnrArray1\n\n }\n else {\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships = []\n }\n }\n else {\n businessVal.persons_with_relationships = []\n\n }\n\n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents = DocArray\n\n if (businessVal.employees_appx_salary) {\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n\n\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id }))\n let exist_activity_data: any = [];\n if (data['records'].select_business_activity_type) {\n exist_activity_data = Object.keys(data['records'].select_business_activity_type).map(function (key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity = actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status = 0;\n return activityData[index];\n }\n else {\n activityData[index].exist_status = 1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_businees_activity.length > 0) {\n check_exist_businees_activity.forEach((val, index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n\n });\n\n businessVal.select_business_activity_type = check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n\n if (data['records'].manufacturing_activity_details) {\n let selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) {\n return data['records'].manufacturing_activity_details[key];\n });\n if (selectedManufacturing.length > 0) {\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n\n selectedManufacturing.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'MActivity', index)\n manufacture_details.push(this.manufactureDetails())\n if (element.area_of_sale == 'Within India') {\n\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if (element.area_of_sale == 'Export') {\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n }\n });\n businessVal.manufacturing_activity_details = selectedManufacturing;\n\n\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n\n if (data['records'].retail_trading_activity_details) {\n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if (selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedRetail.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'RActivity', index)\n retailControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details = selectedRetail;\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n\n\n // update whole sale details\n if (data['records'].wholesale_trading_activity_details) {\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if (selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedWholesale.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'WActivity', index)\n wholesaleControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n\n });\n businessVal.wholesale_trading_activity_details = selectedWholesale;\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n }\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n\n }\n\n\n if (data['records'].service_provider_activity_details) {\n let selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) {\n return data['records'].service_provider_activity_details[key];\n })\n if (selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n\n selectedService.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'SPActivity', index)\n serviceProviderControl.push(this.manufactureDetails());\n\n if (element.area_of_sale == 'Within India') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n\n }\n });\n\n\n businessVal.service_provider_activity_details = selectedService;\n\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n\n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n\n // dynamically add form group control\n if (data['dataStatus']) {\n\n if (data['records'].seasonality.toUpperCase() == 'YES') {\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required));\n }\n\n\n\n }\n\n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if (businessVal.applicant_use_pos_machines == 'yes') {\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value => {\n value.bankSearch = ''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for (let i = 1; i <= businessVal.no_of_pos_machines; i++) {\n\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n console.log('businessVal', businessVal);\n if (data['records'].gst_Regn_cert == 'yes') { this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (data['records'].factory_cert == 'yes') { this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('factory_cert_pic'); }\n if (data['records'].practice_cert == 'yes') { this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('practice_cert_pic'); }\n if (data['records'].shop_eat_act_cert == 'yes') { this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (data['records'].pf_regn == 'yes') { this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('pf_regn_pic'); }\n if (data['records'].esic_regn == 'yes') { this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('esic_regn_pic'); }\n if (data['records'].export_import_cert == 'yes') { this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('export_import_cert_pic'); }\n if (data['records'].fire_noc == 'yes') { this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('fire_noc_pic'); }\n\n this.businessForm.setValue(businessVal);\n\n\n }\n else {\n console.log('console.log 2');\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }))\n if (activityData.length > 0) {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n })\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n\n // if(this.businessForm.controls['gst_Regn_cert']){\n // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\n\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n // });}\n // if(this.businessForm.controls['factory_cert']){\n // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n // });}\n // if(this.businessForm.controls['practice_cert']){\n // this.businessForm.controls['practice_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n // });}\n // if(this.businessForm.controls['shop_eat_act_cert']){\n // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n // });}\n // if(this.businessForm.controls['pf_regn']){\n // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n // });}\n // if(this.businessForm.controls['esic_regn']){\n // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n // });}\n // if(this.businessForm.controls['export_import_cert']){\n // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n // });\n // }\n\n }\n\n filterCity(datasource: any, filterid: number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n\n\n if (filterid) {\n console.log(\"val filter\", filterid)\n let filter = this.stateList.filter(x => x.state_id == filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n }\n filterCityData(datasource: any, filterid: number, index) {\n console.log(\"test\")\n console.log(filterid, index)\n\n if (filterid) {\n let filter = this.stateList.filter(x => x.state_id == filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index] = this.cityData[index].slice()\n console.log(\"filter \", this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n }\n\n // filter max sale options\n filterMaxSaleState(datasource: any, filterValues: any) {\n this.filterCityList = filterValues;\n if (filterValues) {\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val => val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any = [];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any = [];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement, statePos) => {\n selectedCites.forEach((existElement, existPos) => {\n if (stateElement == existElement.state_name && existElement.city_name.length > 0) {\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal => cVal == \"1\");\n // this is for throuh out states city\n if (getAllCities.length > 0) {\n setCityValues = setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else {\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues = setCityValues.concat.apply(setCityValues, check);\n // console.log(\"second\",setCityValues) \n\n }\n }\n\n });\n });\n return setCityValues.length > 0 ? setCityValues.filter(fVal => fVal.city_id != \"1\") : [];\n\n }\n else {\n return [];\n }\n }\n // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n // console.log(selectedCites)\n // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n // console.log(\"selectd\",existCities)\n // existCities = [].concat.apply([], existCities);\n // existCities.forEach(element=>{\n // if(element== 1){\n\n // }\n // })\n // console.log(\"concat\",existCities)\n // if(filterValues){\n // let getOriginalStateList = datasource.map(dval => dval.state_id);\n // console.log(\"Original map\",getOriginalStateList)\n // let setCityFilter = filterValues.map(x => {\n // let findIndex = getOriginalStateList.indexOf(x);\n // findIndex = datasource[findIndex].cities;\n // return findIndex;\n // });\n // console.log(\"findindex\",setCityFilter)\n\n // let merged = [].concat.apply([], setCityFilter);\n // console.log(\"merge\",merged)\n\n // if(merged.length>0){\n // let check: any = merged.filter(function(fVal){\n // return existCities.some(function(sVal){\n // return fVal.city_id==sVal;\n // });\n // })\n // console.log(check);\n // return check;\n\n // }\n // else {\n // return [];\n // }\n // }\n // else {\n // return [];\n // }\n // }\n\n\n checkTotalEmployee(FormData) {\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0));\n }\n // checkWithExistBusinessYear(e,i){\n // if(e > this.generalExistBusinessYear){\n // this.errorMessage[i] = \"Higher than Business Vintage\";\n // }\n // else{\n // this.errorMessage[i] = '';\n // }\n // }\n\n checkWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n\n checkWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n }\n\n // businees activity type change event\n changeBusinessActivity(event: any) {\n\n if (event.value.exist_status == true && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]);\n\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n\n\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\n // check activity for extra question make dynamic\n\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\n\n if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) {\n if (this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP') {\n this.businessForm.controls['applicant_use_pos_machines'].setValue('yes');\n }\n this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2);\n }\n\n if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) {\n this.ExportFlag = false;\n }\n }\n\n\n changeManufacturingAreaSale(getDetails: any, getIndex) {\n console.log('changeManufacturingAreaSale', getDetails.value.area_of_sale);\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if (getDetails.value.area_of_sale == \"Within India\") {\n console.log('Within India', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n console.log('Export', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n console.log('Both', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change whole options\n changeWholesaleAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n // change service provider \n changeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n\n changePanIndiaOptions(type, selectedIndex, value) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 3) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 4) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n }\n\n // update partner group other form control\n changePartnerGroup(value, key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value == 'Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\n });\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if (total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if (total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n }\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n }\n ConvertMonthintoYear(itemrow, e, i) {\n\n console.log('datas', e, i);\n let year = itemrow.controls.current_business_experiance_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n\n }\n\n\n\n createPartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding: [''],\n started_business: [''],\n current_business_experiance_year: [''],\n current_business_experiance_month: [''],\n total_business_experiance: [''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n }\n createRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation: [''],\n family_member_name: [''],\n other_family_relationship_id: [''],\n relation_to_id: [''],\n relationship_with_company_id: [''],\n started_business: ['']\n });\n }\n createBusinessActivity(details): FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n createServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n }\n createOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n }\n manufactureDetails(): FormGroup {\n return this.fb.group({\n main_products: [''],\n area_of_sale: [''],\n description: ['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n }\n indiaSalesDone(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n maxSaleState(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n createDocument() {\n return this.fb.group({\n document: [''],\n document_pic: [''],\n });\n }\n addDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n }\n deleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if (control.length == 1) {\n this.businessForm.controls['designation'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n\n control.push(this.createPartners());\n }\n addPersonRelationship(event) {\n event.stopPropagation()\n const control = this.businessForm.controls['persons_with_relationships']\n let length = control.length\n this.step = length\n control.push(this.createRelationShip());\n }\n deletePersonRelationship(index) {\n const control = this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n }\n deletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if (control.length == 1) {\n this.businessForm.controls['partners'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n }\n removeManufacturing(index) {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if (manufacturingControl.length > 1) {\n manufacturingControl.removeAt(index)\n }\n else {\n manufacturingControl.reset();\n }\n }\n addMoreRetail() {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n removeRetail(index) {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n if (retailControl.length > 1) {\n retailControl.removeAt(index)\n }\n else {\n retailControl.reset();\n }\n }\n addMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n removeWholesale(index) {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if (wholesaleControl.length > 1) {\n wholesaleControl.removeAt(index)\n }\n else {\n wholesaleControl.reset();\n }\n }\n addMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n removeServiceProvider(index) {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if (serviceControl.length > 1) {\n serviceControl.removeAt(index)\n }\n else {\n serviceControl.reset();\n }\n }\n // addMoreOthersActivity(){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n createCountrySale() {\n return this.fb.group({\n country_name: ['', Validators.compose([Validators.required])],\n countrySearch: [''],\n approx_sale: ['', Validators.compose([Validators.required])]\n });\n }\n\n addMoreState(mindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n\n }\n removeState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n\n addRetailMoreState(rindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n removeRetailState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more whole sale state\n addWholesaleMoreState(windex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n }\n // remove for whole sale\n removeWholesaleState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more service provider\n addServiceMoreState(sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n\n // remove service provider\n\n removeServiceState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control1: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control1 = control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n }\n addDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n }\n deleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if (control.length == 1) {\n this.businessForm.controls['documents'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n UploadDocuments(index) {\n const control = this.businessForm.controls['documents'];\n const control_with_index = control.controls[index];\n this.cameraProvider.getpicture().then(res => {\n control_with_index.controls['document_pic'].setValue(res != 'error' ? res : '');\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n relationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({ member: option });\n });\n }\n createPOSMachinesDetails(data) {\n if (data == null) {\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch: [''],\n tid_no_of_pos_machine: [''],\n })\n }\n else {\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch: [''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n }\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid: this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n }\n\n submitDetails() {\n\n // if (!this.businessForm.valid) {\n // return;\n // }\n\n if (this.businessForm.controls['export_sale_of_total_sales'].invalid) {\n this.toast.pdTriggerappmessage(\"Please enter a value between 0 and 100 in export sale as a % total sales\");\n return;\n }\n\n if (this.businessForm.controls['gst_Regn_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"GST Regn Cert is required\");\n return;\n }\n if (this.businessForm.controls['gst_Regn_cert_pic'] && this.businessForm.value.gst_Regn_cert == 'yes') { \n if (this.businessForm.controls['gst_Regn_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"gst regn cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['factory_cert'] && this.businessForm.controls['factory_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Factory Cert is required\");\n return;\n }\n if (this.businessForm.controls['factory_cert_pic'] && this.businessForm.value.factory_cert == 'yes') { \n if (this.businessForm.controls['factory_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"factory cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['practice_cert'] && this.businessForm.controls['practice_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Practice Cert is required\");\n return;\n }\n if (this.businessForm.controls['practice_cert_pic'] && this.businessForm.value.practice_cert == 'yes') { \n if (this.businessForm.controls['practice_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\" practice cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['shop_eat_act_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"shop eat act cert is required\");\n return;\n }\n if (this.businessForm.controls['shop_eat_act_cert_pic'] && this.businessForm.value.shop_eat_act_cert == 'yes') { \n if (this.businessForm.controls['shop_eat_act_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Shop eat act cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['pf_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn is required\");\n return;\n }\n if (this.businessForm.controls['pf_regn_pic'] && this.businessForm.value.pf_regn == 'yes') { \n if (this.businessForm.controls['pf_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['esic_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn is required\");\n return;\n }\n if (this.businessForm.controls['esic_regn_pic'] && this.businessForm.value.esic_regn == 'yes') { \n if (this.businessForm.controls['esic_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['export_import_cert'] && this.businessForm.controls['export_import_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Export Import Cert is required\");\n return;\n }\n if (this.businessForm.controls['export_import_cert_pic'] && this.businessForm.value.export_import_cert == 'yes') { \n if (this.businessForm.controls['export_import_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Export /Import Cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['fire_noc'] && this.businessForm.controls['fire_noc'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc is required\");\n return;\n }\n if (this.businessForm.controls['fire_noc_pic'] && this.businessForm.value.fire_noc == 'yes') { \n if (this.businessForm.controls['fire_noc_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc pic is required\");\n return;\n } }\n \n \n // if(this.businessForm.controls['export_sale_of_total_sales']){\n // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){\n\n // }\n // }\n\n if (this.EntityTypeFlag == true) {\n let control: any = this.businessForm.controls['partners'];\n let control2: any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n\n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n\n // control2.controls['started_business'].setValue('');\n\n // control2.controls['current_business_experiance_year'].clearValidators();\n // control2.controls['current_business_experiance_year'].updateValueAndValidity();\n // control2.controls['current_business_experiance_year'].setValue('');\n\n // control2.controls['current_business_experiance_month'].setValue('');\n\n // control2.controls['total_business_experiance'].clearValidators();\n // control2.controls['total_business_experiance'].updateValueAndValidity();\n // control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\", control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n\n let family: any = [];\n\n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records: any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records = this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\n if (!this.EntityTypeFlag) {\n let count: number = 0;\n if (records.partners.length > 0) {\n records.partners.forEach(element => {\n console.log(element)\n count += element.shareholding\n })\n }\n if (count >= 101) {\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n }\n }\n let validationFlag: number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if (records.manufacturing_activity_details.length > 0) {\n\n records.manufacturing_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n\n }\n\n //type 3 checking wholesale_trading_activity_details\n if (records.wholesale_trading_activity_details.length > 0) {\n\n records.wholesale_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //type 2 checking retail_trading_activity_details\n if (records.retail_trading_activity_details.length > 0) {\n\n records.retail_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n\n //type 4 checking service_provider_activity_details\n if (records.service_provider_activity_details.length > 0) {\n\n records.service_provider_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if (validationFlag > 0) {\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value => value.exist_status == 1);\n if (records.pos_machines_details) {\n records.pos_machines_details.forEach(value => {\n delete value.bankSearch\n })\n }\n\n // if(records.manufacturing_activity_details.length > 0){\n // records.manufacturing_activity_details.forEach((val,index) => {\n // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n // if(val.area_of_sale != \"Export\"){ \n // if(val.india_where_sale_done.length > 0){\n // val.india_where_sale_done.forEach((vals,inx) => {\n // childCtrl1.controls[inx].removeControl('citySearch');\n // delete vals.citySearch;\n // childCtrl1.controls[inx].removeControl('stateSearch');\n // delete vals.stateSearch;\n // });\n // }\n // if(val.max_sale_state_name.length > 0){\n // val.max_sale_state_name.forEach((vals,inx) => {\n // childCtrl2.controls[inx].removeControl('citySearch');\n // childCtrl2.controls[inx].removeControl('stateSearch');\n // });\n // }\n // }\n // });\n // }\n // console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 3000);\n }\n });\n }\n getBuisnessDetails() {\n let records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId };\n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n\n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any = [];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n\n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n }\n inWords(e, flag) {\n switch (flag) {\n case 1:\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n CheckExport(value, stringFlag, index) {\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n\n\n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n\n\n\n\n if (!this.ManufacturingChecked) {\n // console.log(\"Manu\")\n if (stringFlag == 'MActivity' && value == \"Both\") {\n this.ManufacturingCounterArray[index] = 1;\n }\n else if (stringFlag == 'MActivity' && value != \"Both\") {\n this.ManufacturingCounterArray[index] = 0;\n }\n } else if (this.ManufacturingChecked && stringFlag == 'MActivity') {\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if (!this.RetailedChecked) {\n if (stringFlag == 'RActivity' && value == \"Both\") {\n this.RetailCounterArray[index] = 1;\n }\n else if (stringFlag == 'RActivity' && value != \"Both\") {\n this.RetailCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'RActivity' && this.RetailedChecked) {\n this.RetailCounterArray[index] = 0;\n }\n\n if (!this.WholeSalesChecked) {\n if (stringFlag == 'WActivity' && value == \"Both\") {\n this.WholeSaleCounterArray[index] = 1;\n }\n else if (stringFlag == 'WActivity' && value != \"Both\") {\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'WActivity' && this.WholeSalesChecked) {\n this.WholeSaleCounterArray[index] = 0;\n }\n\n if (!this.ServiceChecked) {\n\n if (stringFlag == 'SPActivity' && value == \"Both\") {\n this.ServiceCounterArray[index] = 1;\n }\n else if (stringFlag == 'SPActivity' && value != \"Both\") {\n this.ServiceCounterArray[index] = 0;\n }\n\n } else if (stringFlag == 'SPActivity') {\n this.ServiceCounterArray[index] = 0;\n }\n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n\n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter;\n\n\n this.ExportFlag = overallCounter > 0 ? true : false;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n }\n changePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n }\n toGetPOSMachinesDetails(e, flag) {\n\n if (flag == 1) { this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if (e > 0) {\n if (flag == 1) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if (flag == 2) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n // searchCountriesList(control:any,i:number){\n // if(!this.countryDataList){\n // return\n // }\n // let searchVal=control.controls['countrySearch'].value\n // if(!searchVal){\n // this.countryDataListValue=this.countryDataList.slice()\n // return\n // }\n // else{\n // searchVal=searchVal.toLowerCase();\n // this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\n // }\n // }\n\n searchFun(control: any, i: number, option) {\n\n\n if (option == 'country') {\n console.log('option', option, control);\n control.controls['countrySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchCountries(control.controls['countrySearch'].value);\n })\n }\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchState(control.controls['stateSearch'].value)\n\n })\n }\n //For Pos bank search using constant provider\n if (option == 'bank') {\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.bankListValue = this.cons.searchData(this.bankList, control.controls['bankSearch'].value, option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i] = this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i] =\n this.cityData[i].filter(val => val.city_name.toLowerCase().indexOf(searchValue) > -1)\n\n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n searchCountries(val: any) {\n console.log(\"Countrydata\");\n if (!this.countryDataList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredCountry.next(this.countryDataList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredCountry.next(\n this.countryDataList.filter(val => val.country_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }\n\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n capture(value) {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.cons.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n if (value != '') {\n if (this.imageBucket.length != 0) {\n this.imageBucket.forEach((res, index) => {\n if (res.Name == value) {\n console.log(\"res[index]\", res[index])\n delete res[index]\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n })\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n\n }\n else {\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n } // Else End\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"about business - Images bucket\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"about Business images \", JSON.stringify(records));\n\n this.qustCat.savePDImages(records).subscribe(res => {\n console.log('response records', res, res['record']);\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n changeSentence(value) {\n console.log(\"val\", value)\n let name = value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(Flag: any) {\n\n this.cameraProvider.getpicture().then(res => {\n if (Flag == 1) { this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 2) { this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 3) { this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 4) { this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 5) { this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); }// alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 6) { this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 7) { this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 8) { this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n radioChange(event, Flag) {\n if (Flag == 1) { event.value == 'yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (Flag == 2) { event.value == 'yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (Flag == 4) { event.value == 'yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('factory_cert_pic'); }\n if (Flag == 5) { event.value == 'yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('practice_cert_pic'); }\n if (Flag == 6) { event.value == 'yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('pf_regn_pic'); }\n if (Flag == 7) { event.value == 'yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('esic_regn_pic'); }\n if (Flag == 3) { event.value == 'yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('export_import_cert_pic'); }\n if (Flag == 8) { event.value == 'yes' ? this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc_pic'); }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n addressType:any = '';\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressList: any=[];\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n chooseAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n this.qustcat.retiverForm(params).subscribe(data=>{\n const control=this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status']==200){\n if(data['records'].is_pd_done_on_initiated_address){\n console.log(\"kd\",data['records'])\n }\n }\n })\n }\n getAddress(flag){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n if(flag == 1){\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n if (initiated_address_check == false ) {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n }\n }\n if(flag == 2){\n let dataOfAddress = data['records'].addresses.filter(item => item.isactive == 1);\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n if (initiated_address_check == true && data['records'].addresses.length > 0) \n \n if(initiated_address_check == true && data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else if(initiated_address_check == true && data['records'].alternative_addresses.length > 0)\n {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n data['records'].alternative_address.forEach((data,inx)=>{\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if (data['status'] == 200) {\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n })\n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n console.log(\"address List data\",this.addressList)\n }\n AutoCompleteUpdateFun(property_id,event,i){\n if(event != ''){\n let getList = this.addressList.map(dval => dval.value.replace(/\\s/g, \"\").toLowerCase());\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let findName = this.m_address_type.find(x => x.address_type_id == property_id);\n // console.log(getkeyname.indexOf(i));\n let evt = event.replace(/\\s/g, \"\").toLowerCase();\n\n let keyexist = this.addressList.find(ob => ob['key_name'] === i);\n\n if (keyexist === undefined || keyexist === null && !getList.includes(evt)) {\n console.log('push on this');\n this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i });\n }\n else {\n let Index = getkeyname.indexOf(i);\n this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }\n console.log('update on this => Index', Index);\n }\n\n console.log('at Final add or update ', this.addressList);\n }\n}\nremoveOptionOnAutoComplete(index){\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let Index = getkeyname.indexOf(index);\n if (Index !== -1) {\n this.addressList.splice(Index, 1);\n }\n console.log('at Final remove', this.addressList);\n}\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress(2);\n this.loadDetails=true;\n }\n else{\n this.getAddress(1);\n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n this.removeOptionOnAutoComplete(i);\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n // if(values!=null) {\n // return values.id==0 ? true : false;\n // }\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder } from '@angular/forms';\n\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-future-plans-and-business-environment',\n templateUrl: 'pd-question-future-plans-and-business-environment.html',\n})\nexport class PdQuestionFuturePlansAndBusinessEnvironmentPage {\n\n\n pdDetails: any;\n formDetails: any;\n pdid: any;\n FormId: any;\n company_id:any;\n users: any;\n product_abbr: any;\n lender_short_name: any;\n complete_status: boolean = false;\n tab: any = '0';\n imageDisplay: any = [];\n imageBucket: any = [];\n public _futurePlansForm: FormGroup;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public qustcat: QuestionCategoryProvider, public aws: AwsServiceProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,private constantProvider:ConstantsProvider) {\n\n \n this.formDetails=this.navParams.get('formDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n this.FormId = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n this.users = aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n this._futurePlansForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: ['23'],\n company_id:[this.company_id],\n usp_of_the_business: [''],\n future_plans_for_business_expansion: [''],\n impact_of_gst_on_the_business: [''],\n key_competitors: [''],\n succession_plan: [''],\n brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''],\n remarks: [''],\n fk_createdby:[this.users]\n });\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage');\n this.getFuturePlans();\n this.getPDImages();\n }\n\n ionViewCanLeave() {\n \n if (this._futurePlansForm.dirty) {\n\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Data will be Lost\", \"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n return true;\n }\n else {\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n\n }\n else {\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n\n }\n\n }\n\n getFuturePlans() {\n let Records = { 'parent_pdid': this.pdDetails.parent_pd_id, \n 'pd_id': this.pdid, \n 'pd_form_id': this.FormId,\n 'company_id': this.company_id}\n this.qustcat.retiverForm(Records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business);\n this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion);\n this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business);\n this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors);\n this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan);\n this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants);\n this._futurePlansForm.controls.remarks.setValue(data['records'].remarks);\n }\n else { };\n })\n\n }\n\n saveFuturePlan() {\n if (this._futurePlansForm.invalid) {\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else {\n var answerData = this._futurePlansForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res => {\n if (res['dataStatus'] == true) {\n //TO CHANGE THE FORM STATE \n this._futurePlansForm.reset(this._futurePlansForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n }\n else {\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id':this.pdDetails.company_id }\n this.qustcat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n \n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n \n }\n }\n })\n }\n\n changeName(value, index, img) {\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n }\n\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n \n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '' ,'link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n \n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id':this.company_id,\n \n }\n \n this.qustcat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n/**\n * Generated class for the FormCompleteCheckModalPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-form-complete-check-modal',\n templateUrl: 'form-complete-check-modal.html',\n})\nexport class FormCompleteCheckModalPage {\n\n datas:any\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n this.datas=this.navParams.get('values');\n console.log(this.datas)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FormCompleteCheckModalPage');\n\n }\n closeModal(){\n this.navCtrl.pop();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/form-complete-check-modal/form-complete-check-modal.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n \n\n@Component({\n selector: 'page-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule,Config, Events } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\nimport {FormCompleteCheckModalPage} from '../pages/form-complete-check-modal/form-complete-check-modal'\n//import { FCM } from '@ionic-native/fcm/ngx';\n\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { SearchRelationPipe } from '../pipes/search-relation/search-relation';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {BackgroundGeolocation} from '@ionic-native/background-geolocation'\nimport {ModalScaleUpEnterTransition} from '../app/modalanimations/enter'\nimport {ModalScaleUpLeaveTransition} from '../app/modalanimations/leave'\nimport {Push} from '@ionic-native/push'\n\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,SearchRelationPipe,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n \n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,BackgroundGeolocation,\n Push,Events,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {\n\n constructor(public config:Config){\n this.setCustomTransitionsForModal()\n }\n private setCustomTransitionsForModal() {\n this.config.setTransition('modal-scale-up-leave', ModalScaleUpLeaveTransition);\n this.config.setTransition('modal-scale-up-enter', ModalScaleUpEnterTransition);\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform, Events } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {Push,PushOptions,PushObject} from '@ionic-native/push'\nimport { CookieStorage } from 'amazon-cognito-identity-js';\nimport {ToastProvider} from '../providers/common-provider/toast'\n\ndeclare let notificationAccess:boolean\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n \n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService,private push:Push,private event:Events,private toastProvider:ToastProvider) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n \n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n this.notification()\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n this.unregisterNotification()\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n notificationAccess=true\n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n notification(){\n // this.nav.setRoot(this.nav.getActive().component);\n this.push.hasPermission().then((res: any) => {\n \n if (res.isEnabled) {\n console.log('We have permission to send push notifications');\n } else {\n console.log('We do not have permission to send push notifications');\n }\n \n });\n const option:PushOptions={\n android:{\n senderID:'893175418100'\n },\n ios: {\n alert: 'true',\n badge: true,\n sound: 'false'\n },\n windows: {},\n browser: {\n pushServiceURL: 'http://push.api.phonegap.com/v1/push'\n }\n }\n const pushObject:PushObject=this.push.init(option);\n if(notificationAccess){\n\n pushObject.on('notification').subscribe((notification: any) =>{\n console.log('Received a notification', notification)\n if(notification.additionalData.foreground){\n this.event.publish('alert',notification);\n this.toastProvider.setAlertwithButton(notification)\n }\n else{\n this.event.publish('notify',notification);\n //this.nav.setRoot(PdListPage,{notify:'Via Notification'});\n this.rootPage=PdListPage\n }\n });\n }\n else{\n console.log(\"Sorry you dont have notification access\");\n }\n \n\n pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration));\n\n pushObject.on('error').subscribe(error => console.error('Error with Push plugin', error));\n \n }\n unregisterNotification(){\n // PushObject.unregister(()=>console.log(\"Notification is Unregistered\"))\n // this.push.unregister()\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[{\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n },\n ]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertwithButton(data){\n let alert =this.alertCtrl.create({\n title: 'Notification',\n subTitle:data.title ,\n message:data.message,\n buttons: ['OK']\n })\n alert.present();\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpEnterTransition extends PageTransition {\n\npublic init() {\n const ele = this.enteringView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)');\n wrapper.fromTo('opacity', 1, 1);\n\n this\n .element(this.enteringView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/enter.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpLeaveTransition extends PageTransition {\n\npublic init() {\n const ele = this.leavingView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n const contentWrapper = new Animation(this.plt, ele.querySelector('.wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)');\n wrapper.fromTo('opacity', 1, 1);\n contentWrapper.fromTo('opacity', 1, 0);\n\n this\n .element(this.leavingView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(contentWrapper)\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/leave.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n updateSchedule(updateData){\n return this.http.post(this.apiurl + \"schdulePD\", { \"records\": updateData })\n }\n\n\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n pdFormsCompletenessCheck(pd_id){\n return this.http.post(this.apiurl+'pdFormsCompletenessCheck',{'pd_id':pd_id,'client':'MOB'})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides, Events } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n\n notification:any=[]\n from:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions,private event:Events) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n this.event.subscribe('notify',(res)=>{\n this.notification.push(res);\n })\n \n this.from=this.navParams.get('notify')\n console.log(\"from\",this.from);\n console.log(\"notification via event\",this.notification);\n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" || sch.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/storage/storage.ts","../../src/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../src/providers/common-provider/loading.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/search-relation/search-relation.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","../../src/pages/form-complete-check-modal/form-complete-check-modal.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/providers/common-provider/toast.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/app/modalanimations/enter.ts","../../src/app/modalanimations/leave.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/aws-service/aws-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,M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sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n // let cacheid=tableName\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // let data= this.http.post(this.apiurl+'getListOfMaster',masters);\n //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d')\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Geolocation} from '@ionic-native/geolocation'\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\n// import {C} from '../../constants'\nimport {environment as ENV} from '../../environments/environment'\n\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient,private geo:Geolocation,private locationAccuracy:LocationAccuracy) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n let sparqprod= 'https://pdgenie.com/sparqprod/'\n return testapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n enableAccuracy()\n {\n return this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n return this.getGeoTag();\n // this.getcurrentBackgroundLocation();\n },\n error => console.log('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n });\n }\n getGeoTag(){\n return this.geo.getCurrentPosition().then(res=>{\n console.log(\"res from getGeoTag\",res.coords)\n console.log(\"res from provider\",new Date(res.timestamp))\n let lat=res.coords.latitude;\n let long=res.coords.longitude;\n let curr_pos=lat+\",\"+long\n return curr_pos\n }).catch(err=>console.log(\"error in getGeoTag\",err))\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ModalController,ModalOptions, Modal } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'\nimport {FormCompleteCheckModalPage} from '../form-complete-check-modal/form-complete-check-modal'\nimport {ConstantsProvider} from '../../providers/constants/constants'\n\n\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,\n public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,\n public pdstatusprovide:PdtriggerProvider, private modalCtrl:ModalController,private constantProvider:ConstantsProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n \n this.constantProvider.enableAccuracy().then(res=>{\n console.log(\"Accuracy from Category Provider\",res)\n })\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\nPdFormCompletnessCheck(){\n this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(res=>{\n console.log(res['records']);\n if(res['records'].length > 0){\nconst modalOpt:ModalOptions={\n //component:FormCompleteCheckModalPage,\n // enterAnimation: 'modal-scale-up-enter',\n // leaveAnimation: 'modal-scale-up-leave',\n cssClass:\"pdimagecompleteModal\"\n}\nconst modal=this.modalCtrl.create(FormCompleteCheckModalPage,{'values':res['records']},modalOpt)\nmodal.present()\n }\n else{\n //alert(\"completed PD\")\n\t this.completePDAlert()\n }\n })\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\nimport {CameraProvider} from '../../providers/common-provider/camera' ;\nimport {LoadingProvider} from '../../providers/common-provider/loading';\nimport {StorageProvider} from '../../providers/storage/storage';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport {BackgroundGeolocation,\n BackgroundGeolocationConfig,\n BackgroundGeolocationResponse,\n BackgroundGeolocationEvents} from '@ionic-native/background-geolocation'\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\nimageDisplay: any=[];\nimageBucket: any=[];\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n add_requirements:any;\n requirement_hide: boolean=true;\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController,\n public qustCat: QuestionCategoryProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider,private backgroundgeolocation:BackgroundGeolocation) {\n \n \n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n this.requirement_hide=false;\n // this.getcurrentBackgroundLocation();\n }\n ionViewCanEnter(){\n this.getFullPD();\n \n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n console.log('ionViewDidLoad InputPage' ); \n this.getPDImages();\n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.add_requirements=res['records'].pd_additional_requirements;\n this.requirement_hide=res['records'].pd_additional_requirements.length == 0 ? true : false\n console.log(\"req\",this.add_requirements.length);\n \n console.log(\"req\",this.requirement_hide);\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n console.log('dasdsfdsffds',res);\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;let param : any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n //sample format : fk_pd_id: \"868\", schedule_time: \"2019-05-30 18:51\", fk_scheduled_by: \"165\";\n param = {'fk_pd_id': this.address_pd_id, 'schedule_time':schDate, 'fk_scheduled_by': this.users}\n this.pdDetails.updateSchedule(param).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n console.log(\"geoLocation data\",data)\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n\n getcurrentBackgroundLocation() \n {\n let data:any\n const config:BackgroundGeolocationConfig={\n desiredAccuracy: 10,\n stationaryRadius: 20,\n distanceFilter: 30,\n debug: false, // enable this hear sounds for background-geolocation life-cycle.\n stopOnTerminate: false // enable this to clear background location settings when the app terminates\n };\n console.log(\"getCurrent Location 1 function\")\n this.backgroundgeolocation.configure(config).then(()=>{\n this.backgroundgeolocation.on(BackgroundGeolocationEvents.location)\n .subscribe((location:BackgroundGeolocationResponse)=>{\n //this.toast.pdTriggerappmessage(\"alert for loca, \"+location)\n console.log(\"background geo location\",location);\n let pos=location.latitude+\",\"+location.longitude\n data = {'pd_id':this.address_pd_id,'link':pos};\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>{\n console.log(\"saved location in Api\",res);\n\n },err=>{\n console.log(\"Not saved in Api\",err);\n })\n },err=>{\n console.log(\"Error in background geolocation subscribtion\")\n })\n },err=>{\n console.log(\"Error in background geolocation configuration\")\n })\n this.backgroundgeolocation.start();\n \n // let data:any;\n // let options = {\n // frequency: 3000, \n // enableHighAccuracy: true,\n // timeOut:1000,\n // };\n \n // this.timeInterval = setInterval(()=>{\n // this.currentPosPDofficer = '';\n // this.geolocation.getCurrentPosition(options).then((resp) => {\n // // resp.coords.latitude\n // // resp.coords.longitude\n // if((resp as Geoposition).coords !=undefined){\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n // console.log(this.currentPosPDofficer);\n // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n // this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n // {\n // console.log(\"geoLocation data\",data)\n // // this.updateinitiated = res;\n // // if(this.updateinitiated.dataStatus == true)\n // // { \n // // // this.getNewpdupdate();\n // // // this.startedAccess = true;\n // // }else\n // // {\n // // this.startedAccess = false;\n // // }\n // })\n // }\n // }).catch((error)=>{\n // this.toast.pdTriggerappmessage(error.message);\n // })\n \n // },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n \n\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation()\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n this.backgroundgeolocation.finish();\n this.backgroundgeolocation.stop();\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'|| data.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e)+' Only';\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n\n if(!val['msg']){\n // res = this.customfilter(res); \n console.log('val[records]',val['records']);\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n capture(){\n \n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n \n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geocoords\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n \n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n\n customfilter(res){\n console.log('custome filter');\n return res.filter(data=>data.fk_form_id != null);\n }\n\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.applicatentDetails.pd_id,\n 'formid':null,\n 'images':this.imageBucket,\n 'company_id':null\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n business_serviceProvider: any = [];\n\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,\n private constantProvider: ConstantsProvider) {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n \n if(data.dataStatus){\n \n let datas = data.records;\n console.log('datas',datas);\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]);\n \n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if(api.length > 0){ \n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n if (val.type_of_activity_id == 5) {\n if(val.prodcuts){\n this.business_serviceProvider.push(val.prodcuts);\n console.log(this.business_serviceProvider);\n }\n }\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n \n \n }else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n // serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n \n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // this.serviceProviderForm = true;\n if (dataForm.servicing_details[0] != null) {\n let api_service_providers = dataForm.servicing_details[0].service_providers;\n this.initServiceProvidersDetails(api_service_providers);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n else {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n }\n this.noRecordsFound = true;\n } else {\n \n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n this.noRecordsFound = true;\n }\n } else {\n console.log(' data in else part');\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n \n let arr = val.filter(data => data.type_of_activity_id == 5);\n console.log(arr,arr.length);\n if (arr.length > 0) {\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_providers: this.fb.array([]),\n service_providers_total_payments_percent_on_credit: []\n });\n } else {\n console.log('ELSE');\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n initServiceProvidersDetails(datas) {\n console.log('datas',datas);\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n\n if (datas === null) {\n console.log('initServiceProvidersDetails if null');\n control.push(this.initServiceProviders(null));\n } else {\n console.log('else not null');\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_payment_type, 3, inx);\n control.push(this.initServiceProviders(val));\n });\n }\n }\n\n initServiceProviders(records) {\n console.log('initServiceProviders',records);\n if (records === null) {\n console.log('if');\n return this.fb.group({\n service_provider_name: [''],\n service_provider_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n service_provider_contact_person_name: [''],\n service_provider_contact_person_mobile_number: [''],\n person_stdcode: [null],\n person_landline: [null],\n service_provider_payment_type: [''],\n service_provider_payment_mode: [''],\n service_provider_frequency_of_purchase: [''],\n service_provider_credit_days_from: [''],\n service_provider_credit_days_to: [''],\n })\n } else {\n console.log('else');\n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n service_provider_supplier_name: [records.service_provider_supplier_name],\n service_provider_contact_person_name: [records.service_provider_contact_person_name],\n service_provider_contact_person_mobile_number: [records.service_provider_contact_person_mobile_number],\n person_stdcode: [records.person_stdcode],\n person_landline: [records.person_landline],\n service_provider_payment_type: [records.service_provider_payment_type],\n service_provider_payment_mode: [records.service_provider_payment_mode],\n service_provider_frequency_of_purchase: [records.service_provider_frequency_of_purchase],\n service_provider_credit_days_from: [records.service_provider_credit_days_from],\n service_provider_credit_days_to: [records.service_provider_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProvider(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.push(this.initServiceProviders(null));\n }\n\n removeServiceProvider(inx): void {\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n saveSupplierInfoWithImageCheck(answerFormValues) {\n console.log(\"forms\", answerFormValues);\n let required_imageCheck = this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\", required_imageCheck);\n if (!required_imageCheck) {\n let alert = this.toast.setAlert(\"Mandatory photographs not taken\", \" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value => {\n if (value == 's') {\n this.saveSupplierInfo(answerFormValues)\n }\n else {\n return true;\n }\n })\n }\n else {\n this.saveSupplierInfo(answerFormValues)\n }\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n e == 1 ? '' : '';\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n\n if (flag == 3) {\n if (e == 3) {\n // items.controls['service_provider_credit_days_from'].setValidators([Validators.required]);\n // items.controls['service_provider_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n // items.controls['service_provider_credit_days_from'].clearValidators();\n items.controls['service_provider_credit_days_from'].setValue('');\n // items.controls['service_provider_credit_days_to'].clearValidators();\n items.controls['service_provider_credit_days_to'].setValue('');\n }\n items.controls['service_provider_credit_days_from'].updateValueAndValidity();\n items.controls['service_provider_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n\n captureTheSupplierPics(materialName, index, supplierName) {\n \n \n if (supplierName != '') {\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res => {\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates });\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n }\n else if (supplierName == '') {\n alert('Please Fill The Supplier Name');\n }\n\n }\n mandatoryImageCheck(Form_values) {\n let Form_names = []\n if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) {\n if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) {\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) })\n })\n }\n }\n // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n // if(Form_values.service_provider_details[0].service_products.length != 0){\n // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) })\n // })\n // }\n // }\n if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) {\n if (Form_values.trade_details[0].trading_products.length != 0) {\n Form_values.trade_details[0].trading_products.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) })\n })\n }\n }\n // console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count: number = 0;\n let mandatoryimgSaved = []\n let mandatoryimgNotSaved = []\n\n if (Form_names.length != 0) {\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue => {\n this.imageDisplay.forEach((imgvalue) => {\n\n // console.log(\"Form values individuals\",formvalue)\n if (formvalue.name != imgvalue.Name) {\n\n valBool = true\n }\n else {\n\n valBool = false\n\n count++;\n\n\n }\n if (count >= 2 && valBool == false) {\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n //return\n }\n else {\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n\n })\n if (valBool == true)\n console.log(\"Form name\", formvalue.name)\n\n mandatoryimgNotSaved.push(formvalue.name)\n\n })\n\n console.log(\"mandatoryimgSaved\", mandatoryimgSaved)\n console.log(\"mandatoryimgNot Saved\", mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res => {\n mandatoryimgNotSaved = mandatoryimgNotSaved.filter(val => val != res)\n\n })\n\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage = (mandatoryimgNotSaved) => mandatoryimgNotSaved.filter((val, i) => mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\", uniquenotsavedImage(mandatoryimgNotSaved));\n if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) {\n return false\n }\n else {\n return true\n }\n\n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n\n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n //}\n }\n else {\n return true\n }\n\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"ll\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.formDetails.form_id,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"records\", JSON.stringify(records))\n\n this.qustCat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n S_GoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n spdCommentFlag: any = [];\n\n // serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n suppliers_service_providers : any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false;\n SPCommentCard: boolean = false;\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n public SPsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n let type5 = record.from_business.filter(data => data.type_of_activity_id == 5);\n let type5length = type5[0].hasOwnProperty(\"products\") ? type5[0].products.length : 0;\n console.log('type5length',type5,type5length);\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [dataForm.hasOwnProperty('is_sufficiant_service_goods') ? dataForm.is_sufficiant_service_goods : ''],\n service_goods_remarks: [dataForm.hasOwnProperty('service_goods_remarks') ? dataForm.service_goods_remarks : '' ]\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.serviceProviderForm = true;\n let servicing_temparr = [];\n if(dataForm.hasOwnProperty('service_provider')){\n servicing_temparr['service_provider'] = dataForm.servicing_details[0].service_provider;\n this.initServicingDetails(servicing_temparr);\n }\n else{\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null); \n }\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n \n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n \n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n console.log('inside servicingFormCreation',val);\n let arr = val\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n if (arr > 0){\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n } else {\n console.log('Else');\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n }\n }\n\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n // 'is_sufficiant_raw': '',\n // 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n // 'is_sufficiant_goods': '',\n // 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n // is_sufficiant_raw: [''],\n // rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n // is_sufficiant_raw: [records.is_sufficiant_raw],\n // rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n // is_sufficiant_goods: [''],\n // finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n // is_sufficiant_goods: [records.is_sufficiant_goods],\n // finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n // is_sufficiant_traded_goods: [''],\n // traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n // is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n // traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n\n initServicingDetails(datas) {\n const service = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n if (datas === null) {\n \n if (this.suppliers_service_providers.length > 0) {\n this.suppliers_service_providers.forEach(val => {\n let Serv_Prov_Goods: any = {\n 'service_provider_name': val,\n 'service_provider_observed': '',\n 'service_provider_quantity': '',\n 'service_provider_uom': '',\n 'service_provider_other_uom': '',\n 'estimated_service_provider_value': ''\n }\n\n service.push(this.createServiceProvider(Serv_Prov_Goods));\n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n } else {\n if (datas.service_provider !== undefined) {\n datas.service_provider.forEach((val, index) => {\n if (val.estimated_service_provider_value) {\n this.inWords(val.estimated_service_provider_value, 5, index);\n }\n this.checkComments(val.service_provider_observed, 5, index);\n service.push(this.createServiceProvider(val));\n \n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n }\n }\n\n createServiceProvider(records) {\n \n if (records === null) {\n \n return this.fb.group({\n service_provider_name: [''],\n service_provider_observed: [''],\n service_provider_quantity: [''],\n service_provider_uom: [''],\n uomSearch:[null],\n service_provider_other_uom: [''],\n estimated_service_provider_value: [''],\n // traded_goods_value: [''],\n });\n }\n else {\n \n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n service_provider_observed: [records.service_provider_observed],\n service_provider_quantity: [records.service_provider_quantity],\n service_provider_uom: [records.service_provider_uom],\n uomSearch:[null],\n service_provider_other_uom: [records.service_provider_other_uom],\n estimated_service_provider_value: [records.estimated_service_provider_value],\n // traded_goods_value: [records.traded_goods_value],\n\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.push(this.createServiceProvider(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n not_stock_of_sp: any = [];\n\n checkComments(value, flag, index) {\n \n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 5) {\n console.log('adf');\n this.ServiceCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_sp[index] = value == \"yes\" ? 1 : 0;\n\n let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n this.SPCommentCard = SPOverallCount > 0 ? true : false;\n\n let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n \n if(not_stock3 > 0){ \n \n this.SPsufficientList[0].disabled = false;\n this.SPsufficientList[2].disabled = true;\n \n }\n else if(not_stock3 == 0){ \n \n this.SPsufficientList[0].disabled = true;\n this.SPsufficientList[2].disabled = false;\n \n }\n \n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 5:\n this.S_GoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n \n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray, FormControl } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n product_abbr: any;\n lender_short_name : any;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n AV_CCAnnualSalesAmtInwords:any = [];\n formDetails: any;\n CustSegAbbr:any;\n temparray : any = [];\n picsArrayLength :any = 0;\n ServiceDataAvailability:boolean = false;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.initFinancialForm()\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n if (data.dataStatus) { \n if(data.records.type_of_activity.length == 1){\n let bussiness_service_datas = data.records.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n this.ServiceDataAvailability = bussiness_service_datas.length>0 ? true : false;\n if(this.ServiceDataAvailability == true){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA');\n }else{\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n }\n else{\n this.ServiceDataAvailability = false;\n }\n }\n })\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([]),\n select_working_capital_facilities_availed : this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n estimate_posmachine_or_cc_annual_sales:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n if(this.CustSegAbbr == 'AI'){ \n this.financialForm.removeControl('estimated_value');\n this.financialForm.controls['is_financial_customer'].setValue('');\n } \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n\n if(records.is_financial_statements == 'yes' && this.picsArrayLength == 0){\n this.toast.pdTriggerappmessage(\"Photos of Finanical Statements are Required\");\n return;\n }\n \n records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(value => value.exist_status == 1);\n if(records.is_there_working_capital_available == \"no\"){\n records.select_working_capital_facilities_availed = [];\n if(records.bank_guarantee) delete records.bank_guarantee ;\n if(records.cash_credit_limit) delete records.cash_credit_limit;\n if(records.factoring) delete records.factoring;\n if(records.forfaiting) delete records.forfaiting;\n if(records.letter_of_credit) delete records.letter_of_credit;\n if(records.od_limit) delete records.od_limit;\n if(records.other_reason_for_working_capital_facilities_availed) delete records.other_reason_for_working_capital_facilities_availed ;\n if(records.reason_for_working_capital_facilities_availed) delete records.reason_for_working_capital_facilities_availed ;\n }\n \n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n const workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed'];\n\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n // Financial part 1 : Date \n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n\n // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value.\n\n if(this.CustSegAbbr != 'AI'){\n \n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n this.AV_CCAnnualSalesAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val;\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n }\n else if(this.CustSegAbbr == 'AI'){\n retrieveData.estimated_value = [];\n }\n\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n if (retrieveData.select_working_capital_facilities_availed) {\n exist_av_data = Object.keys(retrieveData.select_working_capital_facilities_availed).map(function (key) {\n return retrieveData.select_working_capital_facilities_availed[key].id;\n });\n }\n \n let actual_av = avData.map(item => item.id);\n \n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n \n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n\n if (val.exist_status == 1 && val.id == 2) {\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n \n });\n \n retrieveData.select_working_capital_facilities_availed = check_exist_av;\n }\n\n this.financialForm.setValue(retrieveData)\n\n if(this.ServiceDataAvailability == false && retrieveData.unsold_stock_lies_in_days == 'NA' ){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n\n }\n else {\n console.log('didN`T get the api');\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n let actual_av = avData.map(item => item.id);\n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n });\n }\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n workingCptl(details: any): FormGroup {\n return this.fb.group({\n id: [details.id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n\n changeWorkingCapitalFacilities(event: any) {\n \n if (event.value.exist_status == true && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n\n this.financialForm.removeControl('bank_guarantee');\n }\n else if (event.value.exist_status == false && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 3) {\n this.financialForm.removeControl('cash_credit_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 4) {\n this.financialForm.removeControl('factoring');\n }\n else if (event.value.exist_status == false && event.value.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 5) {\n this.financialForm.removeControl('forfaiting');\n }\n else if (event.value.exist_status == false && event.value.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 6) {\n this.financialForm.removeControl('letter_of_credit');\n }\n else if (event.value.exist_status == false && event.value.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 7) {\n this.financialForm.removeControl('od_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 1) {\n this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed');\n this.financialForm.removeControl('reason_for_working_capital_facilities_availed');\n }\n else if (event.value.exist_status == false && event.value.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n\n // if(event.value.exist_status==true && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n}\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n if(annual_sale != ''){\n\n let current_margin : number =(profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : \n loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00 )\n let pre_margin : number = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : \n temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00 );\n let absoulte_value_of_pre_margin : number = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00 ); \n\n let a: number = current_margin - pre_margin; \n let b: number = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin;\n let c: number = b * 100;\n \n // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))));\n // let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\n const pattern = /[0-9\\.]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 13 : \n this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n this.picsArrayLength = val['records'].length;\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n captureTheFinancialPics(value){\n// alert('Value '+value+' - '+this.picsArrayLength);\n if(value == 'yes' && this.picsArrayLength == 0){\n alert('You Must Take The Finanical Pic');\n }\n else{\n alert('No Need');\n }\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionClientInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider,private constantProvider:ConstantsProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\nconsole.log(\"form values\",this.clientInfoForm);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n \n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\n // this.qustCat.saveForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.navCtrl.pop();\n // }\n // });\n\n\n // }\n saveClientInfoWithImageCheck(answerFormValues){\n console.log(\"forms\",answerFormValues);\n let required_imageCheck=this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\",required_imageCheck);\n if(!required_imageCheck){\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.saveClientInfo(answerFormValues)\n }\n else{\n return true;\n }\n })\n }\n else{\n this.saveClientInfo(answerFormValues)\n }\n }\n\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n\n \n // answerFormValues.trade_details.forEach((value)=>{\n // value.trading_products.forEach()\n // })\n // this.imageDisplay.forEach((res,index)=>{\n // if(res.Name == )\n // })\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n \n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n captureTheClientPics(materialName,index,clientName){\n \n if(clientName != ''){\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':clientName + ' - ' + materialName + ' ' + (index+1),'link':geoCoordinates});\n })\n }\n\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n }\n else if(clientName == ''){\n alert('Please Fill The Client Name');\n }\n \n }\n mandatoryImageCheck(Form_values){\n let Form_names=[]\n if(Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null){\n if(Form_values.manufacturing_details[0].main_raw_materials.length != 0){\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.manufacturing_client_name+' - '+ 'Manufacturing Product ' + (index+1) })\n })\n }\n }\n if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n if(Form_values.service_provider_details[0].service_products.length != 0){\n Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provider ' + (index+1) })\n })\n }\n}\n if(Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null){\n if( Form_values.trade_details[0].trading_products.length != 0){\n Form_values.trade_details[0].trading_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.trade_client_name+' - '+ 'Trading Product ' + (index+1) })\n })\n }\n}\n console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count:number=0;\n let mandatoryimgSaved=[]\n let mandatoryimgNotSaved=[]\n\nif(Form_names.length != 0 ){\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue=>{\n this.imageDisplay.forEach((imgvalue)=>{\n \n // console.log(\"Form values individuals\",formvalue)\n if(formvalue.name != imgvalue.Name){\n \n valBool=true\n }\n else{\n\n valBool=false\n \n count ++;\n \n \n }\n if(count >=2 && valBool == false){\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n // return\n }\n else{\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n \n })\n if(valBool==true)\n console.log(\"Form name\",formvalue.name)\n \n mandatoryimgNotSaved.push(formvalue.name)\n \n })\n \n // console.log(\"mandatoryimgSaved\",mandatoryimgSaved)\n // console.log(\"mandatoryimgNot Saved\",mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res=>{\n mandatoryimgNotSaved=mandatoryimgNotSaved.filter(val=>val != res)\n \n })\n \n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage=(mandatoryimgNotSaved)=>mandatoryimgNotSaved.filter((val,i)=>mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\",uniquenotsavedImage(mandatoryimgNotSaved));\n if(uniquenotsavedImage(mandatoryimgNotSaved).length > 0){\n return false\n }\n else{\n return true\n }\n \n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n \n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n // }\n // else{\n // return true\n // }\n}\nelse{\n return true\n}\n\n }\n\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log(\n \"%cWelcome, Camera Provider\",\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\n );\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getPicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n\n getcommonpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getcommonpicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData.filter(data=>data.fk_form_id == null);\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 258;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 258\n// module chunks = 2","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 301;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 301\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\nimport { DatePipe } from '@angular/common';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n pipe = new DatePipe('en-US');\n AppxPDLocationImgValid : boolean = false;\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n alertnativeCityData: any=[];\n alertnativePincodeData: any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n //this.constant.getGeoTag().then(res=>{\n //console.log(\"constructor geo location promise\",res);\n //})\n\n // console.log(\"geo\",this.constant.getGeoTag())\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n\n this.pdQuestionAddress = this.fb.group(\n {\n // addresses:this.fb.array([]),\n // address_form_remark:[''],\n // alternative_address:this.fb.array([]),\n // address_type_ques:this.fb.array([]),\n // pd_is_done_on_initiated_address:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n addresses: this.fb.array([]),\n is_pd_done_on_initiated_address: [true],\n address_type: ['', Validators.compose([Validators.required])],\n locality: ['', Validators.compose([Validators.required])],\n locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n address_form_remark: ['']\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n //this.getaddressForm(); \n let params = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.setAddressFromDatas(params);\n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option,flag){\n\n if (option == 'city' && flag ==1) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin' && flag ==1) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n if (option == 'city' && flag ==2) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchAlternativeCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'pin' && flag ==2) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchAlternativePin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchAlternativePin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.alertnativePincodeData[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.alertnativePincodeData[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchAlternativeCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.alertnativeCityData[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.alertnativeCityData[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n \n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n \n \n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n \n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n \n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,flag) {\n \n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n this.pincodeData[i] = data.records.pincode;\n \n //this.filteredCity.next(this.cityData[i].slice())\n if(flag== 1){\n this.cityDataValue[i]=this.cityData[i].slice()\n // this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n else if(flag == 2){\n this.alertnativeCityData[i]=this.cityData[i].slice()\n this.alertnativePincodeData[i]=this.pincodeData[i].slice()\n }\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n \n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n \n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n // address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n // locality_others: [AddressDetails.locality_others],\n // // locality_mixuse: [AddressDetails.locality_mixuse],\n // pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n // comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n // estimated_area: [AddressDetails.estimated_area],\n // uom: [AddressDetails.uom],\n // uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n // address_type: ['', Validators.compose([Validators.required])],\n // address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: ['', Validators.compose([Validators.required])],\n // locality_others: [''],\n // // locality_mixuse: [''],\n // pd_location: ['', Validators.compose([Validators.required])],\n // comment_locality: ['', Validators.compose([Validators.required])],\n // estimated_area: [''],\n // uom: [''],\n // uom_others: [''] \n });\n }\n \n }\n alternativeAddress(e) {\n console.log(e);\n console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value)\n if (e === false) {\n console.log('alternativeAddress false',e);\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n alternative_address_control.push(this.initAlternativeAddress(null));\n }\n else if (e === true) {\n console.log('alternativeAddress',e);\n this.pdQuestionAddress.removeControl('alternative_addresses');\n }\n}\n initAlternativeAddress(add_values){\n if(add_values == null){\nreturn this.fb.group({\n alternative_address:[''],\n alternative_state:[''],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[''],\n alternative_pincode:[''],\n alternative_pincode_others:[''],\n reason_for_alternative_address:['']\n })\n}\nelse{\n return this.fb.group({\n alternative_address:[add_values.alternative_address],\n alternative_state:[add_values.alternative_state],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[add_values.alternative_city],\n alternative_pincode:[add_values.alternative_pincode],\n alternative_pincode_others:[add_values.alternative_pincode_others],\n reason_for_alternative_address:[add_values.reason_for_alternative_address]\n})\n}\n\n }\n /** On Key Press Event For Numbers */\n keyPress(event: any) {\n const pattern = /[0-9]/;\n \n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[0] = 'Estimated area of the ' + e;\n }\n imageMandatoryCheck(){\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.onSubmit()\n }\n else{\n return true;\n }\n })\n }\n else{\n this.onSubmit()\n }\n \n }\n onSubmit() {\n\n // if(this.pdQuestionAddress.invalid){\n // this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n // return\n // }\n // if(this.AppxPDLocationImgValid == false){\n // //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n \n // }\n // else if (this.addressForm.value.address_form_remark == '') {\n // this.notifier.notify('warning', 'Fill Remark!');\n // this.disableAfterSubmit = false;\n // return;\n // }\n \n // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value);\n\n let records: any = {};\n\n records.addresses = this.pdQuestionAddress.controls.addresses.value;\n records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value\n\n if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) {\n if(records.addresses[0].pincode != 1){\n delete records.addresses[0].pincode_others\n }\n records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.addresses[0].citySearch = '';\n records.addresses[0].pinSearch = '';\n records.addresses[0].stateSearch = '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) {\n records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value;\n records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if(records.addresses[0].alternative_pincode != 1){\n delete records.addresses[0].alternative_pincode_others\n }\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : '';\n records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : '';\n records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value;\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n\n // console.log('Final records', records);\n\n \n\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['status'] == 200) {\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n else {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!');\n \n }\n }, error => {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');\n \n });\n \n\n }\n\n savepdQuestionOLD(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n return\n }\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n\n setAddressFromDatas(params){\n this.qustCat.retiverForm(params).subscribe(data => {\n\n const control = this.pdQuestionAddress.controls['addresses'];\n if (data['status'] == 200) {\n let initiated_address_check =data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n if (data['records'].addresses.length == 0) {\n control.push(this.initAddress(null));\n } else {\n data['records'].addresses.forEach((datas, index) => {\n let obj = {\n 'address': datas.address,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode': datas.pincode,\n 'pincode_others': datas.pincode ? datas.pincode_others : ''\n }\n this.getCityAndPincodeDetails(datas.state, index, 1);\n control.push(this.initAddress(obj));\n \n if (datas.address_type_others == \"\" || datas.address_type_others == null){\n delete datas.address_type_others;\n }\n\n if (datas.citySearch == \"\" || datas.citySearch == null){\n delete datas.citySearch;\n }\n\n if (datas.locality_others == \"\" || datas.locality_others == null){\n delete datas.locality_others;\n }\n if (datas.pinSearch == \"\" || datas.pinSearch == null){\n delete datas.pinSearch;\n }\n if (datas.pincode_others == \"\" || datas.pincode_others == null){\n delete datas.pincode_others;\n }\n if (datas.stateSearch == \"\" || datas.stateSearch == null){\n delete datas.stateSearch;\n }\n if (datas.uom_others == \"\" || datas.uom_others == null){\n delete datas.uom_others;\n }\n \n if (initiated_address_check === true) {\n\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n });\n }\n\n if (initiated_address_check == false) {\n \n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n if (data['records'].alternative_addresses.length > 0) {\n \n data['records'].alternative_addresses.forEach((datas, index) => {\n \n // if (datas.citySearch == \"\" || datas.citySearch == null){\n // delete datas.citySearch;\n // } \n // if (datas.pinSearch == \"\" || datas.pinSearch == null){\n // delete datas.pinSearch;\n // }\n // if (datas.stateSearch == \"\" || datas.stateSearch == null){\n // delete datas.stateSearch;\n // }\n \n let obj = {\n 'alternative_address': datas.alternative_address,\n 'alternative_state': datas.alternative_state,\n 'alternative_city': datas.alternative_city,\n 'alternative_pincode': datas.alternative_pincode,\n 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '',\n 'reason_for_alternative_address': datas.reason_for_alternative_address,\n }\n this.getCityAndPincodeDetails(datas.alternative_state, index, 2);\n alternative_address_control.push(this.initAlternativeAddress(obj));\n \n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location);\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type);\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality);\n\n this.pdQuestionAddress.controls.locality.setValue(datas.locality);\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area);\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n\n });\n }\n }\n this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark);\n }\n else {\n this.getaddressForm();\n }\n // else {\n // control.push(this.createAddresses(null));\n // }\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n \n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n \n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n \n \n }\n setOthers(e, i, flag) {\n switch (flag) {\n case 1:\n const control = this.pdQuestionAddress.controls['addresses'];\n let ChildCtrl: any = control.controls[i];\n e == 1 ? ChildCtrl.addControl('pincode_others', new FormControl('', Validators.required)) : ChildCtrl.removeControl('pincode_others');\n break;\n case 2:\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n let AltChildCtrl: any = alternative_address_control.controls[i];\n e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new FormControl('', Validators.required)) : AltChildCtrl.removeControl('alternative_pincode_others');\n break;\n case 3:\n e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('address_type_others');\n break;\n case 4:\n e == 1 ? this.pdQuestionAddress.addControl('locality_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('locality_others');\n break;\n case 5:\n e == 1 ? this.pdQuestionAddress.addControl('uom_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('uom_others');\n break;\n }\n }\n\n\n getaddressForm()\n {\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1);\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n \n this.getaddressDetails.forEach((datas,index)=>{\n if (datas.address_type_others == \"\" || datas.address_type_others == null){ delete datas.address_type_others;}\n if (datas.citySearch == \"\" || datas.citySearch == null){delete datas.citySearch;}\n if (datas.locality_others == \"\" || datas.locality_others == null){delete datas.locality_others;}\n if (datas.pinSearch == \"\" || datas.pinSearch == null){delete datas.pinSearch;}\n if (datas.pincode_others == \"\" || datas.pincode_others == null){delete datas.pincode_others;}\n if (datas.stateSearch == \"\" || datas.stateSearch == null){delete datas.stateSearch;}\n if (datas.uom_others == \"\" || datas.uom_others == null){delete datas.uom_others;}\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n // if (datas.address_type) {\n // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0];\n // this.selectedAddressType(selectedAddressType.address_type);\n // this.setOthers(datas.address_type, '', 3);\n // if (datas.address_type == 1) {\n // this.addressForm.controls.address_type_others.setValue(datas.address_type_others);\n // this.selectedAddressType(datas.address_type_others);\n // }\n // }\n\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n if (datas.locality) {\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n }\n\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n if (datas.uom) {\n this.setOthers(datas.uom, '', 5);\n if (datas.uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n })\n let initiated_address_check =res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n \n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,1)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n \n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n console.log('record_for_pic',record_for_pic);\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n console.log('records result',result);\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })\n let img_title = (result.pd_document_title).split('(');\n if(img_title[0] == 'Approach to PD Location '){\n this.AppxPDLocationImgValid = true;\n //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')\n }\n })\n console.log(\"image Display Data Are\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are');\n this.imageDisplay[index]={'image':img,'Name':value,'is_show_report':0}\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n\n changeNameForBucket(value,index,img,active){\n // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active);\n this.imageBucket[index]={'image':img,'Name':value,'is_show_report':0}\n \n }\n changeOptions(event: any,index: any){\n // console.log('Option Changed ' + event);\n let name = this.imageBucket[index].value\n let length = this.imageDisplay.length;\n console.log('image display length',length);\n this.imageDisplay.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n result.is_show_report = 0;\n }\n })\n console.log('this.imageDisplay',this.imageDisplay);\n this.imageBucket.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n // this.AppxPDLocationImgValid = true;\n console.log('name',name);\n console.log('this.imageBucket.length',this.imageBucket.length);\n result.is_show_report=0;\n }\n })\n console.log('this.imageBucket',this.imageBucket);\n this.imageBucket[index].is_show_report=event;\n // console.log('this.imageBucket',JSON.stringify(this.imageBucket));\n }\n removeImg(index){\n // console.log('inside removeImg Fn - its param are - Index only ',index);\n this.imageDisplay.splice(index,1);\n \n }\n removeImgForBucket(index){\n // console.log('inside removeImgForBucket Fn - its param are - Index only ',index);\n this.imageBucket.splice(index,1)\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n savePhoto(flag){\n // console.log('savePhoto');\n let currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss');\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n // console.log('inside savePhoto Fn - its response ',imageData);\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n if(flag == 1){\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'','is_show_report':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n console.log(\"imagebucket\",this.imageBucket)\n this.getImageName(this.imageBucket.length-1)\n }else if(flag == 2){\n // console.log('flag');\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'Approach to PD Location ( ' + currentDate + ' )','is_show_report':''});\n }\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n\n getImageName(index){\n // console.log('inside get Image Name Fn - its param are - Index only ',index);\n let alert =this.toast.setAlertForDocName()\n \n alert.present()\n alert.onDidDismiss(value=>{\n // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport);\n this.imageBucket[index].Name=value.Name;\n });\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n\n updateImage(){\n }\n sendImage(){\n this.loading.loaderForSendImage() \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\nconsole.log(\"records for sendImage\",records);\n // console.log(\"inside SendImage Function - records array\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n // console.log(\"inside localInsert Fn - its Response\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: any;\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\n // other_frequency:[''],\n // loan_amount: [''],\n // frequency:[''],\n // emi: [''],\n // loan_type: [''],\n // others_loan_type:[''],\n // loan_taken_by:[''],\n // others_loan_taken:[''],\n // lender: [''],\n // others_lender:[''],\n // original_tenure: [''],\n // current_balance_tenure: [''],\n // elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n //details.controls.current_balance_tenure.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\n \n}\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].patchValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\n })\n }\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n \n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n \n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n tapEvent(value){\n console.log(\"dd\",value);\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n lender_short_name : any;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n fundAmtInWords : any;\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n is_there_total_fund:[''],\n fund_amt:[''],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\n })\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n case 8:\n this.fundAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value;\n records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails.is_there_total_fund);\n this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails.fund_amt);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if(loanDetails.fund_amt){this.fundAmtInWords = this.constant.convertNumberToWords(loanDetails.fund_amt); }\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n if(this.lender_short_name == 'CLIX'){\n \n this.loanDetailsForm.controls['is_transfer'].setValue(\"no\");\n this.selectedBalancesTransferChanges(\"no\")\n }\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n }\n // let modifyCompanyList : any=[];\n // if(this.existCompanyList.length>0){\n // modifyCompanyList = this.existCompanyList.map(element => {\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n // });\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n //}\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n //isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n this.inWords(val.rent,index,2)\n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: [''],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:[''],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_segment:[''],\n earning_gross_income_per_month: [''],\n earning_name_of_the_employer_or_business: [''],\n earning_number_of_years_in_employment_or_business: [''],\n non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n this.relationDataValue=this.relationData.slice();\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\n }\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n\n data.forEach((val,inx) => {\n \n // // family_member_earning_status\n // if(val.age){\n // this.isReadOnly[inx] = true;\n // }else{\n // this.isReadOnly[inx] = false;\n // }\n arraydata = {\n 'family_member_salutation':'',\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n // console.log('Temparr',Temparr);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n\n \n \n \n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo location promise\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(event: any) {\n const pattern = /[0-9\\-\\.\\ ]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':'','link':geoCoordinates});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public alertCtrl:AlertController) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n address:[''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \n \n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n let rentOptionCount: number = 0;\n let validateFlag: number = 0;\n let TextMessage :any;\n\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n console.log(records);\n // this.callSaveApi(records);\n\n if (records.other_income == 'Yes') {\n records.income_details.forEach(option => {\n if (+option.source == 5) {\n rentOptionCount++;\n validateFlag = 1;\n } \n });\n \n if(validateFlag == 1){\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id;\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = 17;\n \n this.qustCat.retiverForm(params).subscribe(data=>{\n if(!data['dataStatus']){\n let text : any = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property' ;\n TextMessage = '
You have chosen '+ text +' as rental income, but rental verification form is not filled
';\n\n let alert=this.alertCtrl.create({\n title:'Please Confirm',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.callSaveApi(records);\n }\n }\n ]\n });\n alert.present();\n }\n else if(data['dataStatus']){\n this.callSaveApi(records);\n }\n })\n } \n else{\n this.callSaveApi(records);\n }\n }\n else{\n this.callSaveApi(records);\n }\n}\n\ncallSaveApi(records){\n \n this.qustCat.saveForm(records).subscribe(data => {\n //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n}, error => {\n \n})\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\n}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"From Dashboard of Rental - values are \",this.data);\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\n}\n\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null,'rental_count_id':this.data.existing_rental_count_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n console.log('From getPDImages',val);\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\n\ncaptureThePropertyPics(){\n // alert('rentalDataCount '+this.data.existing_rental_count_id);\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':'Property '+this.data.existing_rental_count_id});\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n}\n\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n 'rental_count_id':this.data.existing_rental_count_id,\n \n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n console.log(\"savepd\",records) \n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expenses Page\";\n break;\n case 4:\n this.FormName = \"Household Expenses Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n });\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n/**\n * Generated class for the PdQuestionAssessedPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n \n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n other_expense_item:[null],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n other_expense_item:[data.other_expense_item || ''],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider,private constantProvider:ConstantsProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private constantProvider:ConstantsProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport { SearchRelationPipe } from '../../../pipes/search-relation/search-relation';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[SearchRelationPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n console.log(\"persons_with_relationships\",this.generalForm.controls['persons_with_relationships']['controls'][0])\n let control=this.generalForm.get('persons_with_relationships')\n console.log('p1',control)\n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.info(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;\");\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.table(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n console.log('if part . this.imageBucket.length',this.imageBucket.length);\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n console.log('else part . this.imageBucket.length',this.imageBucket.length)\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic :val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof : val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic:val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof:val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_person_met_pic:[''],\n is_person_met_id_proof:[''],\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_person_met_pic : data.is_person_met_pic != null ? data.is_person_met_pic : '' ,\n is_person_met_id_proof : data.is_person_met_id_proof,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n console.log('From Genral Form - value are',value)\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n console.log('fulldata',this.fulldata);\n console.log('control.length+1',control.length+1);\n console.log('full data',this.fulldata[control.length]);\n\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[this.fulldata[control.length].applicant_name],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n value.forEach((val,index)=>{\n console.log(\"val for each\",val)\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[index == 0 ? '0' : val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n })\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_person_met_pic : val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof: val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins');\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n // update personal relation\n updatePersonalRelation(indexVal) {\n let control: any = this.generalForm.controls['persons_with_relationships'];\n control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to);\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\n console.table(this.generalForm.value);\n console.log(answerData);\n\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_person_met_pic = '';\n datas.is_person_met_id_proof = '';\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n \n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\n })\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n\n sendImage(){\n \n this.loading.loaderForSendImage()\n console.log(\"image bucket - json data\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"DB - records\",JSON.stringify(records))\n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(control,Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_pic'].setValue(res);\n //this.toast.pdTriggerappmessage('Flag 1 Success');\n }\n else{\n control.controls['is_person_met_pic'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 1 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_id_proof'].setValue(res);\n // this.toast.pdTriggerappmessage('Flag 2 Success');\n }\n else{\n control.controls['is_person_met_id_proof'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 2 Fail');\n }\n // console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the SearchRelationPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'searchRelation',\n})\nexport class SearchRelationPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any): any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/search-relation/search-relation.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray,FormControl,Validators} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n product_abbr: any;\n lender_short_name : any;\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider,private constantProvider:ConstantsProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ \n this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ;\n this._finalRemarkForm.addControl('is_competition', new FormControl(''));\n this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); \n this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); \n }\n else{ \n this._finalRemarkForm.removeControl('outlet_location');\n this._finalRemarkForm.removeControl('is_competition');\n this._finalRemarkForm.removeControl('sealing_activity'); \n this._finalRemarkForm.removeControl('demolition_activity'); \n }\n\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records'].filter(val=>val.pdofficer_recommendation_id!=1)\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n this.setValidation();\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){\n \n this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location);\n this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);\n this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); \n this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); \n this.clixChange(data['records'].is_competition,1);\n this.clixChange(data['records'].sealing_activity,2);\n this.clixChange(data['records'].demolition_activity,3);\n \n if(data['records'].is_competition ==true){ this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores);}\n if(data['records'].sealing_activity ==true){ this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity);\n this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); }\n if(data['records'].demolition_activity ==true) {this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); \n this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); }\n }\n\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n\n clixChange(e,flag){\n if(flag == 1){ \n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores');\n }\n if(flag == 2){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity');\n e==true ? this._finalRemarkForm.addControl('demolition_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('demolition_activity_pic');\n }\n if(flag == 3){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity');\n e==true ? this._finalRemarkForm.addControl('sealing_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('sealing_activity_pic');\n }\n }\n\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n ImageUpload(Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n}\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\nimport {PdQuestionFuturePlansAndBusinessEnvironmentPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==23){\n this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport { searchValue } from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList: any = [];\n users: any; formdetails: any;\n FormId: any;\n pdDetails: any;\n businessForm: FormGroup;\n applicants: any = [];\n businessEntityTypeList: any = {\n business_entity_type_id: String,\n business_entity_type_name: String,\n sourcsection_labeleName: String\n };\n generalExistEntityType: string\n generalExistEntityType_other: string;\n generalExistBusinessYear: Number;\n generalExistBusinessMonth: Number;\n pdid: any;\n step: number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList: any = []\n countryDataList: any = []\n exist_status: any;\n\n filterCityList: any = [];\n errorMessage: any = [];\n appxSalaryAmtInwords: any;\n titleData: any = []\n personsList: any = []\n\n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean = false;\n bankList: any = [];\n bankListValue: any = [];\n temp_additiondetailofposmachine: any = []\n isreadonlyyear: any = [];\n isreadonlymonth: any = [];\n EntityTypeFlag: boolean = false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience: any = [];\n countryDataListValue: any = [];\n product_abbr: any;\n lender_short_name: any;\n\n @ViewChild('shareholding') share_focus: ElementRef\n private search: searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState: ReplaySubject = new ReplaySubject(1)\n public filteredCountry: ReplaySubject = new ReplaySubject(1)\n cityData: any = []\n cityDataValue: any = []\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider, public toast: ToastProvider,\n public qustCat: QuestionCategoryProvider, public fb: FormBuilder, public cons: ConstantsProvider,\n private loading: LoadingProvider, private cameraProvider: CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n\n this.formdetails = this.navParams.get('formDetails');\n\n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n\n this.applicants = this.pdDetails.applicat_details;\n console.log(\"pd\", this.pdDetails);\n this.generalExistEntityType = this.pdDetails.business_entity_type\n this.generalExistEntityType_other = this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.step = 0\n\n\n\n // this.initBusinessForm();\n // this.getBuisnessDetails();\n\n this.businessForm = this.fb.group({\n fk_createdby: [this.users],\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.FormId],\n company_id: this.pdDetails.company_id,\n partners: this.fb.array([]),\n persons_with_relationships: this.fb.array([]),\n select_business_activity_type: this.fb.array([]),\n manufacturing_activity_details: this.fb.array([]),\n retail_trading_activity_details: this.fb.array([]),\n wholesale_trading_activity_details: this.fb.array([]),\n service_provider_activity_details: this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales: ['', Validators.compose([Validators.max(100), Validators.min(0)])],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality: [''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary: [''],\n was_the_company_name_board_sighted: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n // shop_eat_act_cert_pic:['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n //export_import_cert: [''],\n //factory_cert: [''],\n //practice_cert: [''],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks: ['']\n })\n this.getdropdown();\n\n // this.initBusinessForm();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n\n\n }\n getdropdown() {\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data => {\n if (data['dataStatus'] == true) {\n let filterList = data['records'].filter(val => val.business_entity_type_id == this.generalExistEntityType);\n console.log(\"Filter\", filterList)\n if (filterList.length > 0) {\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : this.generalExistEntityType_other;\n\n if (this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') {\n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data => {\n this.companyRelationShipList = data['records'].filter(val => val.isactive == 1);\n\n });\n\n\n\n this.qustCat.getcommondrop('COUNTRY').subscribe(data => {\n this.countryDataList = data['records'].filter(val => val.isactive == 1);\n this.filteredCountry.next(this.countryDataList.slice());\n });\n this.qustCat.getcommondrop('TITLES').subscribe(data => {\n this.titleData = data['records'].filter(val => val.isactive == 1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data => {\n if (data.dataStatus) {\n\n this.personsList = data['record'].filter(val => val.applicant_type == 1)\n\n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data => {\n this.bankList = data['records'].filter(val => val.isactive == 1 && val.lender_type == 1);\n this.bankListValue = this.bankList.slice();\n })\n\n }\n getStateCityDet() {\n this.qustCat.getStateCityDetails().subscribe(data => {\n\n\n this.stateList = data.records\n this.filteredState.next(this.stateList.slice())\n\n this.getDetails();\n });\n\n\n }\n changeOfStartedBusiness(members, i, e) {\n if (e == 'yes') {\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else {\n this.isreadonlyyear[i] = false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails() {\n\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data => {\n console.log('data[records]', data['records']);\n let businessVal = data['records']\n let constVal: any;\n\n\n const Partnr: any = this.businessForm.controls['partners'];\n\n const control1: any = this.businessForm.controls['persons_with_relationships'];\n\n const business_activity: any = this.businessForm.controls['select_business_activity_type'];\n\n const manufacture_details: any = this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl: any = this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl: any = this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n this.product_abbr == 'LAEP' ? this.businessForm.addControl('fire_noc', new FormControl(null, Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc');\n if (data['status'] == 200) {\n\n let DocArray: any;\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n })\n\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners())\n }\n else {\n PartnrArray.forEach((datas, key) => {\n Partnr.push(this.createPartners());\n if (datas.partner_name == 'Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if (data['records'].persons_with_relationships) {\n let PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) {\n return data['records'].persons_with_relationships[key];\n })\n if (PartnrArray1.length > 0) {\n PartnrArray1.forEach((datas, key) => {\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships = PartnrArray1\n\n }\n else {\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships = []\n }\n }\n else {\n businessVal.persons_with_relationships = []\n\n }\n\n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents = DocArray\n\n if (businessVal.employees_appx_salary) {\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n\n\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id }))\n let exist_activity_data: any = [];\n if (data['records'].select_business_activity_type) {\n exist_activity_data = Object.keys(data['records'].select_business_activity_type).map(function (key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity = actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status = 0;\n return activityData[index];\n }\n else {\n activityData[index].exist_status = 1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_businees_activity.length > 0) {\n check_exist_businees_activity.forEach((val, index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n\n });\n\n businessVal.select_business_activity_type = check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n\n if (data['records'].manufacturing_activity_details) {\n let selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) {\n return data['records'].manufacturing_activity_details[key];\n });\n if (selectedManufacturing.length > 0) {\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n\n selectedManufacturing.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'MActivity', index)\n manufacture_details.push(this.manufactureDetails())\n if (element.area_of_sale == 'Within India') {\n\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if (element.area_of_sale == 'Export') {\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n }\n });\n businessVal.manufacturing_activity_details = selectedManufacturing;\n\n\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n\n if (data['records'].retail_trading_activity_details) {\n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if (selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedRetail.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'RActivity', index)\n retailControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details = selectedRetail;\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n\n\n // update whole sale details\n if (data['records'].wholesale_trading_activity_details) {\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if (selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedWholesale.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'WActivity', index)\n wholesaleControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n\n });\n businessVal.wholesale_trading_activity_details = selectedWholesale;\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n }\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n\n }\n\n\n if (data['records'].service_provider_activity_details) {\n let selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) {\n return data['records'].service_provider_activity_details[key];\n })\n if (selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n\n selectedService.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'SPActivity', index)\n serviceProviderControl.push(this.manufactureDetails());\n\n if (element.area_of_sale == 'Within India') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n\n }\n });\n\n\n businessVal.service_provider_activity_details = selectedService;\n\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n\n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n\n // dynamically add form group control\n if (data['dataStatus']) {\n\n if (data['records'].seasonality.toUpperCase() == 'YES') {\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required));\n }\n\n\n\n }\n\n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if (businessVal.applicant_use_pos_machines == 'yes') {\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value => {\n value.bankSearch = ''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for (let i = 1; i <= businessVal.no_of_pos_machines; i++) {\n\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n console.log('businessVal', businessVal);\n if (data['records'].gst_Regn_cert == 'yes') { this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (data['records'].factory_cert == 'yes') { this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('factory_cert_pic'); }\n if (data['records'].practice_cert == 'yes') { this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('practice_cert_pic'); }\n if (data['records'].shop_eat_act_cert == 'yes') { this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (data['records'].pf_regn == 'yes') { this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('pf_regn_pic'); }\n if (data['records'].esic_regn == 'yes') { this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('esic_regn_pic'); }\n if (data['records'].export_import_cert == 'yes') { this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('export_import_cert_pic'); }\n if (data['records'].fire_noc == 'yes') { this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('fire_noc_pic'); }\n\n this.businessForm.setValue(businessVal);\n\n\n }\n else {\n console.log('console.log 2');\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }))\n if (activityData.length > 0) {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n })\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n\n // if(this.businessForm.controls['gst_Regn_cert']){\n // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\n\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n // });}\n // if(this.businessForm.controls['factory_cert']){\n // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n // });}\n // if(this.businessForm.controls['practice_cert']){\n // this.businessForm.controls['practice_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n // });}\n // if(this.businessForm.controls['shop_eat_act_cert']){\n // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n // });}\n // if(this.businessForm.controls['pf_regn']){\n // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n // });}\n // if(this.businessForm.controls['esic_regn']){\n // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n // });}\n // if(this.businessForm.controls['export_import_cert']){\n // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n // });\n // }\n\n }\n\n filterCity(datasource: any, filterid: number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n\n\n if (filterid) {\n console.log(\"val filter\", filterid)\n let filter = this.stateList.filter(x => x.state_id == filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n }\n filterCityData(datasource: any, filterid: number, index) {\n console.log(\"test\")\n console.log(filterid, index)\n\n if (filterid) {\n let filter = this.stateList.filter(x => x.state_id == filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index] = this.cityData[index].slice()\n console.log(\"filter \", this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n }\n\n // filter max sale options\n filterMaxSaleState(datasource: any, filterValues: any) {\n this.filterCityList = filterValues;\n if (filterValues) {\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val => val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any = [];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any = [];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement, statePos) => {\n selectedCites.forEach((existElement, existPos) => {\n if (stateElement == existElement.state_name && existElement.city_name.length > 0) {\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal => cVal == \"1\");\n // this is for throuh out states city\n if (getAllCities.length > 0) {\n setCityValues = setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else {\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues = setCityValues.concat.apply(setCityValues, check);\n // console.log(\"second\",setCityValues) \n\n }\n }\n\n });\n });\n return setCityValues.length > 0 ? setCityValues.filter(fVal => fVal.city_id != \"1\") : [];\n\n }\n else {\n return [];\n }\n }\n // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n // console.log(selectedCites)\n // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n // console.log(\"selectd\",existCities)\n // existCities = [].concat.apply([], existCities);\n // existCities.forEach(element=>{\n // if(element== 1){\n\n // }\n // })\n // console.log(\"concat\",existCities)\n // if(filterValues){\n // let getOriginalStateList = datasource.map(dval => dval.state_id);\n // console.log(\"Original map\",getOriginalStateList)\n // let setCityFilter = filterValues.map(x => {\n // let findIndex = getOriginalStateList.indexOf(x);\n // findIndex = datasource[findIndex].cities;\n // return findIndex;\n // });\n // console.log(\"findindex\",setCityFilter)\n\n // let merged = [].concat.apply([], setCityFilter);\n // console.log(\"merge\",merged)\n\n // if(merged.length>0){\n // let check: any = merged.filter(function(fVal){\n // return existCities.some(function(sVal){\n // return fVal.city_id==sVal;\n // });\n // })\n // console.log(check);\n // return check;\n\n // }\n // else {\n // return [];\n // }\n // }\n // else {\n // return [];\n // }\n // }\n\n\n checkTotalEmployee(FormData) {\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0));\n }\n // checkWithExistBusinessYear(e,i){\n // if(e > this.generalExistBusinessYear){\n // this.errorMessage[i] = \"Higher than Business Vintage\";\n // }\n // else{\n // this.errorMessage[i] = '';\n // }\n // }\n\n checkWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n\n checkWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n }\n\n // businees activity type change event\n changeBusinessActivity(event: any) {\n\n if (event.value.exist_status == true && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]);\n\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n\n\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\n // check activity for extra question make dynamic\n\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\n\n if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) {\n if (this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP') {\n this.businessForm.controls['applicant_use_pos_machines'].setValue('yes');\n }\n this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2);\n }\n\n if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) {\n this.ExportFlag = false;\n }\n }\n\n\n changeManufacturingAreaSale(getDetails: any, getIndex) {\n console.log('changeManufacturingAreaSale', getDetails.value.area_of_sale);\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if (getDetails.value.area_of_sale == \"Within India\") {\n console.log('Within India', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n console.log('Export', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n console.log('Both', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change whole options\n changeWholesaleAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n // change service provider \n changeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n\n changePanIndiaOptions(type, selectedIndex, value) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 3) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 4) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n }\n\n // update partner group other form control\n changePartnerGroup(value, key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value == 'Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\n });\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if (total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if (total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n }\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n }\n ConvertMonthintoYear(itemrow, e, i) {\n\n console.log('datas', e, i);\n let year = itemrow.controls.current_business_experiance_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n\n }\n\n\n\n createPartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding: [''],\n started_business: [''],\n current_business_experiance_year: [''],\n current_business_experiance_month: [''],\n total_business_experiance: [''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n }\n createRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation: [''],\n family_member_name: [''],\n other_family_relationship_id: [''],\n relation_to_id: [''],\n relationship_with_company_id: [''],\n started_business: ['']\n });\n }\n createBusinessActivity(details): FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n createServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n }\n createOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n }\n manufactureDetails(): FormGroup {\n return this.fb.group({\n main_products: [''],\n area_of_sale: [''],\n description: ['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n }\n indiaSalesDone(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n maxSaleState(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n createDocument() {\n return this.fb.group({\n document: [''],\n document_pic: [''],\n });\n }\n addDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n }\n deleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if (control.length == 1) {\n this.businessForm.controls['designation'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n\n control.push(this.createPartners());\n }\n addPersonRelationship(event) {\n event.stopPropagation()\n const control = this.businessForm.controls['persons_with_relationships']\n let length = control.length\n this.step = length\n control.push(this.createRelationShip());\n }\n deletePersonRelationship(index) {\n const control = this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n }\n deletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if (control.length == 1) {\n this.businessForm.controls['partners'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n }\n removeManufacturing(index) {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if (manufacturingControl.length > 1) {\n manufacturingControl.removeAt(index)\n }\n else {\n manufacturingControl.reset();\n }\n }\n addMoreRetail() {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n removeRetail(index) {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n if (retailControl.length > 1) {\n retailControl.removeAt(index)\n }\n else {\n retailControl.reset();\n }\n }\n addMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n removeWholesale(index) {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if (wholesaleControl.length > 1) {\n wholesaleControl.removeAt(index)\n }\n else {\n wholesaleControl.reset();\n }\n }\n addMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n removeServiceProvider(index) {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if (serviceControl.length > 1) {\n serviceControl.removeAt(index)\n }\n else {\n serviceControl.reset();\n }\n }\n // addMoreOthersActivity(){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n createCountrySale() {\n return this.fb.group({\n country_name: ['', Validators.compose([Validators.required])],\n countrySearch: [''],\n approx_sale: ['', Validators.compose([Validators.required])]\n });\n }\n\n addMoreState(mindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n\n }\n removeState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n\n addRetailMoreState(rindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n removeRetailState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more whole sale state\n addWholesaleMoreState(windex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n }\n // remove for whole sale\n removeWholesaleState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more service provider\n addServiceMoreState(sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n\n // remove service provider\n\n removeServiceState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control1: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control1 = control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n }\n addDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n }\n deleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if (control.length == 1) {\n this.businessForm.controls['documents'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n UploadDocuments(index) {\n const control = this.businessForm.controls['documents'];\n const control_with_index = control.controls[index];\n this.cameraProvider.getpicture().then(res => {\n control_with_index.controls['document_pic'].setValue(res != 'error' ? res : '');\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n relationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({ member: option });\n });\n }\n createPOSMachinesDetails(data) {\n if (data == null) {\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch: [''],\n tid_no_of_pos_machine: [''],\n })\n }\n else {\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch: [''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n }\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid: this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n }\n\n submitDetails() {\n\n // if (!this.businessForm.valid) {\n // return;\n // }\n\n if (this.businessForm.controls['export_sale_of_total_sales'].invalid) {\n this.toast.pdTriggerappmessage(\"Please enter a value between 0 and 100 in export sale as a % total sales\");\n return;\n }\n\n if (this.businessForm.controls['gst_Regn_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"GST Regn Cert is required\");\n return;\n }\n if (this.businessForm.controls['gst_Regn_cert_pic'] && this.businessForm.value.gst_Regn_cert == 'yes') { \n if (this.businessForm.controls['gst_Regn_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"gst regn cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['factory_cert'] && this.businessForm.controls['factory_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Factory Cert is required\");\n return;\n }\n if (this.businessForm.controls['factory_cert_pic'] && this.businessForm.value.factory_cert == 'yes') { \n if (this.businessForm.controls['factory_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"factory cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['practice_cert'] && this.businessForm.controls['practice_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Practice Cert is required\");\n return;\n }\n if (this.businessForm.controls['practice_cert_pic'] && this.businessForm.value.practice_cert == 'yes') { \n if (this.businessForm.controls['practice_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\" practice cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['shop_eat_act_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"shop eat act cert is required\");\n return;\n }\n if (this.businessForm.controls['shop_eat_act_cert_pic'] && this.businessForm.value.shop_eat_act_cert == 'yes') { \n if (this.businessForm.controls['shop_eat_act_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Shop eat act cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['pf_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn is required\");\n return;\n }\n if (this.businessForm.controls['pf_regn_pic'] && this.businessForm.value.pf_regn == 'yes') { \n if (this.businessForm.controls['pf_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['esic_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn is required\");\n return;\n }\n if (this.businessForm.controls['esic_regn_pic'] && this.businessForm.value.esic_regn == 'yes') { \n if (this.businessForm.controls['esic_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['export_import_cert'] && this.businessForm.controls['export_import_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Export Import Cert is required\");\n return;\n }\n if (this.businessForm.controls['export_import_cert_pic'] && this.businessForm.value.export_import_cert == 'yes') { \n if (this.businessForm.controls['export_import_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Export /Import Cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['fire_noc'] && this.businessForm.controls['fire_noc'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc is required\");\n return;\n }\n if (this.businessForm.controls['fire_noc_pic'] && this.businessForm.value.fire_noc == 'yes') { \n if (this.businessForm.controls['fire_noc_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc pic is required\");\n return;\n } }\n \n \n // if(this.businessForm.controls['export_sale_of_total_sales']){\n // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){\n\n // }\n // }\n\n if (this.EntityTypeFlag == true) {\n let control: any = this.businessForm.controls['partners'];\n let control2: any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n\n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n\n // control2.controls['started_business'].setValue('');\n\n // control2.controls['current_business_experiance_year'].clearValidators();\n // control2.controls['current_business_experiance_year'].updateValueAndValidity();\n // control2.controls['current_business_experiance_year'].setValue('');\n\n // control2.controls['current_business_experiance_month'].setValue('');\n\n // control2.controls['total_business_experiance'].clearValidators();\n // control2.controls['total_business_experiance'].updateValueAndValidity();\n // control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\", control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n\n let family: any = [];\n\n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records: any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records = this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\n if (!this.EntityTypeFlag) {\n let count: number = 0;\n if (records.partners.length > 0) {\n records.partners.forEach(element => {\n console.log(element)\n count += element.shareholding\n })\n }\n if (count >= 101) {\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n }\n }\n let validationFlag: number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if (records.manufacturing_activity_details.length > 0) {\n\n records.manufacturing_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n\n }\n\n //type 3 checking wholesale_trading_activity_details\n if (records.wholesale_trading_activity_details.length > 0) {\n\n records.wholesale_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //type 2 checking retail_trading_activity_details\n if (records.retail_trading_activity_details.length > 0) {\n\n records.retail_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n\n //type 4 checking service_provider_activity_details\n if (records.service_provider_activity_details.length > 0) {\n\n records.service_provider_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if (validationFlag > 0) {\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value => value.exist_status == 1);\n if (records.pos_machines_details) {\n records.pos_machines_details.forEach(value => {\n delete value.bankSearch\n })\n }\n\n // if(records.manufacturing_activity_details.length > 0){\n // records.manufacturing_activity_details.forEach((val,index) => {\n // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n // if(val.area_of_sale != \"Export\"){ \n // if(val.india_where_sale_done.length > 0){\n // val.india_where_sale_done.forEach((vals,inx) => {\n // childCtrl1.controls[inx].removeControl('citySearch');\n // delete vals.citySearch;\n // childCtrl1.controls[inx].removeControl('stateSearch');\n // delete vals.stateSearch;\n // });\n // }\n // if(val.max_sale_state_name.length > 0){\n // val.max_sale_state_name.forEach((vals,inx) => {\n // childCtrl2.controls[inx].removeControl('citySearch');\n // childCtrl2.controls[inx].removeControl('stateSearch');\n // });\n // }\n // }\n // });\n // }\n // console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 3000);\n }\n });\n }\n getBuisnessDetails() {\n let records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId };\n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n\n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any = [];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n\n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n }\n inWords(e, flag) {\n switch (flag) {\n case 1:\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n CheckExport(value, stringFlag, index) {\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n\n\n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n\n\n\n\n if (!this.ManufacturingChecked) {\n // console.log(\"Manu\")\n if (stringFlag == 'MActivity' && value == \"Both\") {\n this.ManufacturingCounterArray[index] = 1;\n }\n else if (stringFlag == 'MActivity' && value != \"Both\") {\n this.ManufacturingCounterArray[index] = 0;\n }\n } else if (this.ManufacturingChecked && stringFlag == 'MActivity') {\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if (!this.RetailedChecked) {\n if (stringFlag == 'RActivity' && value == \"Both\") {\n this.RetailCounterArray[index] = 1;\n }\n else if (stringFlag == 'RActivity' && value != \"Both\") {\n this.RetailCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'RActivity' && this.RetailedChecked) {\n this.RetailCounterArray[index] = 0;\n }\n\n if (!this.WholeSalesChecked) {\n if (stringFlag == 'WActivity' && value == \"Both\") {\n this.WholeSaleCounterArray[index] = 1;\n }\n else if (stringFlag == 'WActivity' && value != \"Both\") {\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'WActivity' && this.WholeSalesChecked) {\n this.WholeSaleCounterArray[index] = 0;\n }\n\n if (!this.ServiceChecked) {\n\n if (stringFlag == 'SPActivity' && value == \"Both\") {\n this.ServiceCounterArray[index] = 1;\n }\n else if (stringFlag == 'SPActivity' && value != \"Both\") {\n this.ServiceCounterArray[index] = 0;\n }\n\n } else if (stringFlag == 'SPActivity') {\n this.ServiceCounterArray[index] = 0;\n }\n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n\n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter;\n\n\n this.ExportFlag = overallCounter > 0 ? true : false;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n }\n changePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n }\n toGetPOSMachinesDetails(e, flag) {\n\n if (flag == 1) { this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if (e > 0) {\n if (flag == 1) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if (flag == 2) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n // searchCountriesList(control:any,i:number){\n // if(!this.countryDataList){\n // return\n // }\n // let searchVal=control.controls['countrySearch'].value\n // if(!searchVal){\n // this.countryDataListValue=this.countryDataList.slice()\n // return\n // }\n // else{\n // searchVal=searchVal.toLowerCase();\n // this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\n // }\n // }\n\n searchFun(control: any, i: number, option) {\n\n\n if (option == 'country') {\n console.log('option', option, control);\n control.controls['countrySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchCountries(control.controls['countrySearch'].value);\n })\n }\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchState(control.controls['stateSearch'].value)\n\n })\n }\n //For Pos bank search using constant provider\n if (option == 'bank') {\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.bankListValue = this.cons.searchData(this.bankList, control.controls['bankSearch'].value, option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i] = this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i] =\n this.cityData[i].filter(val => val.city_name.toLowerCase().indexOf(searchValue) > -1)\n\n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n searchCountries(val: any) {\n console.log(\"Countrydata\");\n if (!this.countryDataList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredCountry.next(this.countryDataList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredCountry.next(\n this.countryDataList.filter(val => val.country_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }\n\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n capture(value) {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.cons.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n if (value != '') {\n if (this.imageBucket.length != 0) {\n this.imageBucket.forEach((res, index) => {\n if (res.Name == value) {\n console.log(\"res[index]\", res[index])\n delete res[index]\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n })\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n\n }\n else {\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n } // Else End\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"about business - Images bucket\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"about Business images \", JSON.stringify(records));\n\n this.qustCat.savePDImages(records).subscribe(res => {\n console.log('response records', res, res['record']);\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n changeSentence(value) {\n console.log(\"val\", value)\n let name = value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(Flag: any) {\n\n this.cameraProvider.getpicture().then(res => {\n if (Flag == 1) { this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 2) { this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 3) { this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 4) { this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 5) { this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); }// alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 6) { this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 7) { this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 8) { this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n radioChange(event, Flag) {\n if (Flag == 1) { event.value == 'yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (Flag == 2) { event.value == 'yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (Flag == 4) { event.value == 'yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('factory_cert_pic'); }\n if (Flag == 5) { event.value == 'yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('practice_cert_pic'); }\n if (Flag == 6) { event.value == 'yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('pf_regn_pic'); }\n if (Flag == 7) { event.value == 'yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('esic_regn_pic'); }\n if (Flag == 3) { event.value == 'yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('export_import_cert_pic'); }\n if (Flag == 8) { event.value == 'yes' ? this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc_pic'); }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n addressType:any = '';\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressList: any=[];\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n chooseAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n this.qustcat.retiverForm(params).subscribe(data=>{\n const control=this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status']==200){\n if(data['records'].is_pd_done_on_initiated_address){\n console.log(\"kd\",data['records'])\n }\n }\n })\n }\n getAddress(flag){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n if(flag == 1){\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n if (initiated_address_check == false ) {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n }\n }\n if(flag == 2){\n let dataOfAddress = data['records'].addresses.filter(item => item.isactive == 1);\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n if (initiated_address_check == true && data['records'].addresses.length > 0) \n \n if(initiated_address_check == true && data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else if(initiated_address_check == true && data['records'].alternative_addresses.length > 0)\n {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n data['records'].alternative_address.forEach((data,inx)=>{\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if (data['status'] == 200) {\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n })\n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n console.log(\"address List data\",this.addressList)\n }\n AutoCompleteUpdateFun(property_id,event,i){\n if(event != ''){\n let getList = this.addressList.map(dval => dval.value.replace(/\\s/g, \"\").toLowerCase());\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let findName = this.m_address_type.find(x => x.address_type_id == property_id);\n // console.log(getkeyname.indexOf(i));\n let evt = event.replace(/\\s/g, \"\").toLowerCase();\n\n let keyexist = this.addressList.find(ob => ob['key_name'] === i);\n\n if (keyexist === undefined || keyexist === null && !getList.includes(evt)) {\n console.log('push on this');\n this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i });\n }\n else {\n let Index = getkeyname.indexOf(i);\n this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }\n console.log('update on this => Index', Index);\n }\n\n console.log('at Final add or update ', this.addressList);\n }\n}\nremoveOptionOnAutoComplete(index){\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let Index = getkeyname.indexOf(index);\n if (Index !== -1) {\n this.addressList.splice(Index, 1);\n }\n console.log('at Final remove', this.addressList);\n}\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress(2);\n this.loadDetails=true;\n }\n else{\n this.getAddress(1);\n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n this.removeOptionOnAutoComplete(i);\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n // if(values!=null) {\n // return values.id==0 ? true : false;\n // }\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder } from '@angular/forms';\n\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-future-plans-and-business-environment',\n templateUrl: 'pd-question-future-plans-and-business-environment.html',\n})\nexport class PdQuestionFuturePlansAndBusinessEnvironmentPage {\n\n\n pdDetails: any;\n formDetails: any;\n pdid: any;\n FormId: any;\n company_id:any;\n users: any;\n product_abbr: any;\n lender_short_name: any;\n complete_status: boolean = false;\n tab: any = '0';\n imageDisplay: any = [];\n imageBucket: any = [];\n public _futurePlansForm: FormGroup;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public qustcat: QuestionCategoryProvider, public aws: AwsServiceProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,private constantProvider:ConstantsProvider) {\n\n \n this.formDetails=this.navParams.get('formDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n this.FormId = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n this.users = aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n this._futurePlansForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: ['23'],\n company_id:[this.company_id],\n usp_of_the_business: [''],\n future_plans_for_business_expansion: [''],\n impact_of_gst_on_the_business: [''],\n key_competitors: [''],\n succession_plan: [''],\n brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''],\n remarks: [''],\n fk_createdby:[this.users]\n });\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage');\n this.getFuturePlans();\n this.getPDImages();\n }\n\n ionViewCanLeave() {\n \n if (this._futurePlansForm.dirty) {\n\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Data will be Lost\", \"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n return true;\n }\n else {\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n\n }\n else {\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n\n }\n\n }\n\n getFuturePlans() {\n let Records = { 'parent_pdid': this.pdDetails.parent_pd_id, \n 'pd_id': this.pdid, \n 'pd_form_id': this.FormId,\n 'company_id': this.company_id}\n this.qustcat.retiverForm(Records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business);\n this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion);\n this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business);\n this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors);\n this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan);\n this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants);\n this._futurePlansForm.controls.remarks.setValue(data['records'].remarks);\n }\n else { };\n })\n\n }\n\n saveFuturePlan() {\n if (this._futurePlansForm.invalid) {\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else {\n var answerData = this._futurePlansForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res => {\n if (res['dataStatus'] == true) {\n //TO CHANGE THE FORM STATE \n this._futurePlansForm.reset(this._futurePlansForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n }\n else {\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id':this.pdDetails.company_id }\n this.qustcat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n \n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n \n }\n }\n })\n }\n\n changeName(value, index, img) {\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n }\n\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n \n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '' ,'link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n \n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id':this.company_id,\n \n }\n \n this.qustcat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n/**\n * Generated class for the FormCompleteCheckModalPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-form-complete-check-modal',\n templateUrl: 'form-complete-check-modal.html',\n})\nexport class FormCompleteCheckModalPage {\n\n datas:any\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n this.datas=this.navParams.get('values');\n console.log(this.datas)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FormCompleteCheckModalPage');\n\n }\n closeModal(){\n this.navCtrl.pop();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/form-complete-check-modal/form-complete-check-modal.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n \n\n@Component({\n selector: 'page-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule,Config, Events } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\nimport {FormCompleteCheckModalPage} from '../pages/form-complete-check-modal/form-complete-check-modal'\n//import { FCM } from '@ionic-native/fcm/ngx';\n\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { SearchRelationPipe } from '../pipes/search-relation/search-relation';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {BackgroundGeolocation} from '@ionic-native/background-geolocation'\nimport {ModalScaleUpEnterTransition} from '../app/modalanimations/enter'\nimport {ModalScaleUpLeaveTransition} from '../app/modalanimations/leave'\nimport {Push} from '@ionic-native/push'\n\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,SearchRelationPipe,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n \n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,BackgroundGeolocation,\n Push,Events,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {\n\n constructor(public config:Config){\n this.setCustomTransitionsForModal()\n }\n private setCustomTransitionsForModal() {\n this.config.setTransition('modal-scale-up-leave', ModalScaleUpLeaveTransition);\n this.config.setTransition('modal-scale-up-enter', ModalScaleUpEnterTransition);\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform, Events } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {Push,PushOptions,PushObject} from '@ionic-native/push'\nimport { CookieStorage } from 'amazon-cognito-identity-js';\nimport {ToastProvider} from '../providers/common-provider/toast'\n\ndeclare let notificationAccess:boolean\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n \n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService,private push:Push,private event:Events,private toastProvider:ToastProvider) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n \n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n this.notification()\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n this.unregisterNotification()\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n notificationAccess=true\n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n notification(){\n // this.nav.setRoot(this.nav.getActive().component);\n this.push.hasPermission().then((res: any) => {\n \n if (res.isEnabled) {\n console.log('We have permission to send push notifications');\n } else {\n console.log('We do not have permission to send push notifications');\n }\n \n });\n const option:PushOptions={\n android:{\n senderID:'893175418100'\n },\n ios: {\n alert: 'true',\n badge: true,\n sound: 'false'\n },\n windows: {},\n browser: {\n pushServiceURL: 'http://push.api.phonegap.com/v1/push'\n }\n }\n const pushObject:PushObject=this.push.init(option);\n if(notificationAccess){\n\n pushObject.on('notification').subscribe((notification: any) =>{\n console.log('Received a notification', notification)\n if(notification.additionalData.foreground){\n this.event.publish('alert',notification);\n this.toastProvider.setAlertwithButton(notification)\n }\n else{\n this.event.publish('notify',notification);\n //this.nav.setRoot(PdListPage,{notify:'Via Notification'});\n this.rootPage=PdListPage\n }\n });\n }\n else{\n console.log(\"Sorry you dont have notification access\");\n }\n \n\n pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration));\n\n pushObject.on('error').subscribe(error => console.error('Error with Push plugin', error));\n \n }\n unregisterNotification(){\n // PushObject.unregister(()=>console.log(\"Notification is Unregistered\"))\n // this.push.unregister()\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[{\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n },\n ]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertwithButton(data){\n let alert =this.alertCtrl.create({\n title: 'Notification',\n subTitle:data.title ,\n message:data.message,\n buttons: ['OK']\n })\n alert.present();\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpEnterTransition extends PageTransition {\n\npublic init() {\n const ele = this.enteringView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)');\n wrapper.fromTo('opacity', 1, 1);\n\n this\n .element(this.enteringView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/enter.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpLeaveTransition extends PageTransition {\n\npublic init() {\n const ele = this.leavingView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n const contentWrapper = new Animation(this.plt, ele.querySelector('.wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)');\n wrapper.fromTo('opacity', 1, 1);\n contentWrapper.fromTo('opacity', 1, 0);\n\n this\n .element(this.leavingView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(contentWrapper)\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/leave.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n updateSchedule(updateData){\n return this.http.post(this.apiurl + \"schdulePD\", { \"records\": updateData })\n }\n\n\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n pdFormsCompletenessCheck(pd_id){\n return this.http.post(this.apiurl+'pdFormsCompletenessCheck',{'pd_id':pd_id,'client':'MOB'})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides, Events } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n\n notification:any=[]\n from:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions,private event:Events) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n this.event.subscribe('notify',(res)=>{\n this.notification.push(res);\n })\n \n this.from=this.navParams.get('notify')\n console.log(\"from\",this.from);\n console.log(\"notification via event\",this.notification);\n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" || sch.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html index d230a0f5..95e209f5 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html +++ b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html @@ -437,15 +437,14 @@
-
- Service Provider #{{chd+1}} +
+ Service Provider #{{c+1}} - + Select Add Stock Details No stock observed @@ -478,16 +477,16 @@ + (keyup)="inWords($event.target.value,5,c)"> {{"₹"}} - {{S_GoodsValueInWords[g]}} Only + {{S_GoodsValueInWords[c]}} Only - + diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts index 5982d245..378c0cca 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts @@ -707,7 +707,7 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; if (val.estimated_service_provider_value) { this.inWords(val.estimated_service_provider_value, 5, index); } - this.checkComments(val.service_provider_observed, 5, index); + this.checkSPComment(val.service_provider_observed, 5, index); service.push(this.createServiceProvider(val)); }); @@ -850,8 +850,37 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; not_stock_of_ws: any = []; not_stock_of_sp: any = []; + checkSPComment(value, flag, index) { + + if (flag == 5) { + + this.ServiceCounterArray[index] = value != "" ? 1 : 0 + this.not_stock_of_sp[index] = value == "yes" ? 1 : 0; + + let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0); + this.SPCommentCard = SPOverallCount > 0 ? true : false; + + let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0); + + if(not_stock3 > 0){ + + this.SPsufficientList[0].disabled = false; + this.SPsufficientList[2].disabled = true; + + } + else if(not_stock3 == 0){ + + this.SPsufficientList[0].disabled = true; + this.SPsufficientList[2].disabled = false; + + } + + } + } checkComments(value, flag, index) { + console.log(value, flag, index); + if (flag == 1) { this.ManufacturingCounterArray[index] = value != "" ? 1 : 0; @@ -890,30 +919,6 @@ this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; this.WholeSaleCounterArray[index] = value != "" ? 1 : 0 this.not_stock_of_ws[index] = value == "yes" ? 1 : 0; } - if (flag == 5) { - console.log('adf'); - this.ServiceCounterArray[index] = value != "" ? 1 : 0 - this.not_stock_of_sp[index] = value == "yes" ? 1 : 0; - - let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0); - this.SPCommentCard = SPOverallCount > 0 ? true : false; - - let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0); - - if(not_stock3 > 0){ - - this.SPsufficientList[0].disabled = false; - this.SPsufficientList[2].disabled = true; - - } - else if(not_stock3 == 0){ - - this.SPsufficientList[0].disabled = true; - this.SPsufficientList[2].disabled = false; - - } - - } let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0); let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0); let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0); diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html index b6ab96da..d09aaed3 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html +++ b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html @@ -331,12 +331,10 @@
- - + Select - {{ tp.name }} + {{ msp.name }} - diff --git a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts index 695a12d1..d6d47512 100755 --- a/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts +++ b/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts @@ -30,7 +30,7 @@ export class PdQuestionSupplierInfoPage { business_manufacturingProducts: any = []; business_tradingProducts: any = []; - business_serviceProvider: any = []; + m_serviceProvider: any = []; m_titleList: any = []; m_paymentList: any = []; @@ -65,8 +65,7 @@ export class PdQuestionSupplierInfoPage { this.initFormLoadDetails(datas.type_of_activity); this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]); // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]); - + this.m_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]); let api = Object.keys(datas.type_of_activity).map(function (key) { return datas.type_of_activity[key]; }); @@ -84,17 +83,13 @@ export class PdQuestionSupplierInfoPage { this.business_tradingProducts.push(val.prodcuts); } } - if (val.type_of_activity_id == 5) { - if(val.prodcuts){ - this.business_serviceProvider.push(val.prodcuts); - console.log(this.business_serviceProvider); - } - } + }); } this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts); + }else { this.toast.pdTriggerappmessage('No Category Records Found.!'); diff --git a/src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.html b/src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.html index 8783c0f5..40538431 100755 --- a/src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.html +++ b/src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.html @@ -5,6 +5,15 @@ {{FormId.form_name}} + + +    + + + + + + - - @@ -34,7 +41,9 @@ --> - + + + + +
diff --git a/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html b/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html index 3fcf09b8..5e9217de 100755 --- a/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html +++ b/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html @@ -128,9 +128,7 @@
- +
diff --git a/www/index.html b/www/index.html index 40ddf01d..c681631f 100755 --- a/www/index.html +++ b/www/index.html @@ -1,6 +1,9 @@ + Ionic App From 8431c2d431b245a7857b9eb33547865559ccb187 Mon Sep 17 00:00:00 2001 From: saravanakumarkandasami Date: Sat, 6 Jul 2019 20:17:51 +0530 Subject: [PATCH 5/5] merge --- .sourcemaps/main.js.map | 2 +- package-lock.json | 1980 +- package.json | 2 +- .../app/src/main/assets/www/build/main.css | 36323 +-- .../app/src/main/assets/www/build/main.js | 28173 +- .../app/src/main/assets/www/build/vendor.js | 205359 +-------------- www/assets/fonts/roboto-bold.ttf | Bin 20040 -> 170760 bytes www/assets/fonts/roboto-light.ttf | Bin 19908 -> 170420 bytes www/assets/fonts/roboto-medium.ttf | Bin 19752 -> 172064 bytes www/assets/fonts/roboto-regular.ttf | Bin 19876 -> 171676 bytes www/index.html | 3 + 11 files changed, 998 insertions(+), 270844 deletions(-) diff --git a/.sourcemaps/main.js.map b/.sourcemaps/main.js.map index 8492c3a5..e0cba6ab 100644 --- a/.sourcemaps/main.js.map +++ b/.sourcemaps/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/storage/storage.ts","../../src/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../src/providers/common-provider/loading.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/search-relation/search-relation.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","../../src/pages/form-complete-check-modal/form-complete-check-modal.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/providers/common-provider/toast.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/app/modalanimations/enter.ts","../../src/app/modalanimations/leave.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/aws-service/aws-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;IAGD,kDAAe,GAAf,UAAgB,IAAI;QAElB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAC,yBAAyB,GAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,+CAAY,GAAZ,UAAa,QAAQ;QAEjB,IAAI,OAAO,GAAG,EAAC,SAAS,EAAC,CAAC,QAAQ,CAAC,EAAC,CAAC;QACrC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAGD,oDAAiB,GAAjB,UAAkB,WAAW;QAE3B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,WAAW,CAAC,CAAC;IACnE,CAAC;IA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WAAW,EAAC,cAAc,EAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC;QACzF,IAAI,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAE9B,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,QAAQ,CAAC,CAAC;IAChE,CAAC;IA3JU,kBAAkB;QAD9B,yEAAU,EAAE;yCAGa,wEAAU,EAAe,gFAAsB,EAAY,+EAAiB;OAFzF,kBAAkB,CA4J9B;IAAD,yBAAC;CAAA;AA5J8B","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n // let cacheid=tableName\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // let data= this.http.post(this.apiurl+'getListOfMaster',masters);\n //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d')\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Geolocation} from '@ionic-native/geolocation'\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\n// import {C} from '../../constants'\nimport {environment as ENV} from '../../environments/environment'\n\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient,private geo:Geolocation,private locationAccuracy:LocationAccuracy) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n let sparqprod= 'https://pdgenie.com/sparqprod/'\n return testapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n enableAccuracy()\n {\n return this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n return this.getGeoTag();\n // this.getcurrentBackgroundLocation();\n },\n error => console.log('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n });\n }\n getGeoTag(){\n return this.geo.getCurrentPosition().then(res=>{\n console.log(\"res from getGeoTag\",res.coords)\n console.log(\"res from provider\",new Date(res.timestamp))\n let lat=res.coords.latitude;\n let long=res.coords.longitude;\n let curr_pos=lat+\",\"+long\n return curr_pos\n }).catch(err=>console.log(\"error in getGeoTag\",err))\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ModalController,ModalOptions, Modal } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'\nimport {FormCompleteCheckModalPage} from '../form-complete-check-modal/form-complete-check-modal'\nimport {ConstantsProvider} from '../../providers/constants/constants'\n\n\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,\n public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,\n public pdstatusprovide:PdtriggerProvider, private modalCtrl:ModalController,private constantProvider:ConstantsProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n \n this.constantProvider.enableAccuracy().then(res=>{\n console.log(\"Accuracy from Category Provider\",res)\n })\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\nPdFormCompletnessCheck(){\n this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(res=>{\n console.log(res['records']);\n if(res['records'].length > 0){\nconst modalOpt:ModalOptions={\n //component:FormCompleteCheckModalPage,\n // enterAnimation: 'modal-scale-up-enter',\n // leaveAnimation: 'modal-scale-up-leave',\n cssClass:\"pdimagecompleteModal\"\n}\nconst modal=this.modalCtrl.create(FormCompleteCheckModalPage,{'values':res['records']},modalOpt)\nmodal.present()\n }\n else{\n //alert(\"completed PD\")\n\t this.completePDAlert()\n }\n })\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\nimport {CameraProvider} from '../../providers/common-provider/camera' ;\nimport {LoadingProvider} from '../../providers/common-provider/loading';\nimport {StorageProvider} from '../../providers/storage/storage';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport {BackgroundGeolocation,\n BackgroundGeolocationConfig,\n BackgroundGeolocationResponse,\n BackgroundGeolocationEvents} from '@ionic-native/background-geolocation'\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\nimageDisplay: any=[];\nimageBucket: any=[];\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n add_requirements:any;\n requirement_hide: boolean=true;\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController,\n public qustCat: QuestionCategoryProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider,private backgroundgeolocation:BackgroundGeolocation) {\n \n \n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n this.requirement_hide=false;\n // this.getcurrentBackgroundLocation();\n }\n ionViewCanEnter(){\n this.getFullPD();\n \n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n console.log('ionViewDidLoad InputPage' ); \n this.getPDImages();\n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.add_requirements=res['records'].pd_additional_requirements;\n this.requirement_hide=res['records'].pd_additional_requirements.length == 0 ? true : false\n console.log(\"req\",this.add_requirements.length);\n \n console.log(\"req\",this.requirement_hide);\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n console.log('dasdsfdsffds',res);\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;let param : any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n //sample format : fk_pd_id: \"868\", schedule_time: \"2019-05-30 18:51\", fk_scheduled_by: \"165\";\n param = {'fk_pd_id': this.address_pd_id, 'schedule_time':schDate, 'fk_scheduled_by': this.users}\n this.pdDetails.updateSchedule(param).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n console.log(\"geoLocation data\",data)\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n\n getcurrentBackgroundLocation() \n {\n let data:any\n const config:BackgroundGeolocationConfig={\n desiredAccuracy: 10,\n stationaryRadius: 20,\n distanceFilter: 30,\n debug: false, // enable this hear sounds for background-geolocation life-cycle.\n stopOnTerminate: false // enable this to clear background location settings when the app terminates\n };\n console.log(\"getCurrent Location 1 function\")\n this.backgroundgeolocation.configure(config).then(()=>{\n this.backgroundgeolocation.on(BackgroundGeolocationEvents.location)\n .subscribe((location:BackgroundGeolocationResponse)=>{\n //this.toast.pdTriggerappmessage(\"alert for loca, \"+location)\n console.log(\"background geo location\",location);\n let pos=location.latitude+\",\"+location.longitude\n data = {'pd_id':this.address_pd_id,'link':pos};\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>{\n console.log(\"saved location in Api\",res);\n\n },err=>{\n console.log(\"Not saved in Api\",err);\n })\n },err=>{\n console.log(\"Error in background geolocation subscribtion\")\n })\n },err=>{\n console.log(\"Error in background geolocation configuration\")\n })\n this.backgroundgeolocation.start();\n \n // let data:any;\n // let options = {\n // frequency: 3000, \n // enableHighAccuracy: true,\n // timeOut:1000,\n // };\n \n // this.timeInterval = setInterval(()=>{\n // this.currentPosPDofficer = '';\n // this.geolocation.getCurrentPosition(options).then((resp) => {\n // // resp.coords.latitude\n // // resp.coords.longitude\n // if((resp as Geoposition).coords !=undefined){\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n // console.log(this.currentPosPDofficer);\n // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n // this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n // {\n // console.log(\"geoLocation data\",data)\n // // this.updateinitiated = res;\n // // if(this.updateinitiated.dataStatus == true)\n // // { \n // // // this.getNewpdupdate();\n // // // this.startedAccess = true;\n // // }else\n // // {\n // // this.startedAccess = false;\n // // }\n // })\n // }\n // }).catch((error)=>{\n // this.toast.pdTriggerappmessage(error.message);\n // })\n \n // },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n \n\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation()\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.getcurrentBackgroundLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n this.backgroundgeolocation.finish();\n this.backgroundgeolocation.stop();\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'|| data.addtional_pd_data[0].pd_status == 'INPROGRESS'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e)+' Only';\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n\n if(!val['msg']){\n // res = this.customfilter(res); \n console.log('val[records]',val['records']);\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n capture(){\n \n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n \n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geocoords\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n \n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n\n customfilter(res){\n console.log('custome filter');\n return res.filter(data=>data.fk_form_id != null);\n }\n\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.applicatentDetails.pd_id,\n 'formid':null,\n 'images':this.imageBucket,\n 'company_id':null\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n business_serviceProvider: any = [];\n\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,\n private constantProvider: ConstantsProvider) {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n \n if(data.dataStatus){\n \n let datas = data.records;\n console.log('datas',datas);\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n // this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]);\n \n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if(api.length > 0){ \n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if(val.prodcuts){\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n if (val.type_of_activity_id == 5) {\n if(val.prodcuts){\n this.business_serviceProvider.push(val.prodcuts);\n console.log(this.business_serviceProvider);\n }\n }\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n \n \n }else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n // serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n \n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // this.serviceProviderForm = true;\n if (dataForm.servicing_details[0] != null) {\n let api_service_providers = dataForm.servicing_details[0].service_providers;\n this.initServiceProvidersDetails(api_service_providers);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n else {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n }\n this.noRecordsFound = true;\n } else {\n \n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\n }\n this.noRecordsFound = true;\n }\n } else {\n console.log(' data in else part');\n this.supplierInfoForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProvidersDetails(null);\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n \n let arr = val.filter(data => data.type_of_activity_id == 5);\n console.log(arr,arr.length);\n if (arr.length > 0) {\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_providers: this.fb.array([]),\n service_providers_total_payments_percent_on_credit: []\n });\n } else {\n console.log('ELSE');\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n initServiceProvidersDetails(datas) {\n console.log('datas',datas);\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n\n if (datas === null) {\n console.log('initServiceProvidersDetails if null');\n control.push(this.initServiceProviders(null));\n } else {\n console.log('else not null');\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_payment_type, 3, inx);\n control.push(this.initServiceProviders(val));\n });\n }\n }\n\n initServiceProviders(records) {\n console.log('initServiceProviders',records);\n if (records === null) {\n console.log('if');\n return this.fb.group({\n service_provider_name: [''],\n service_provider_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n service_provider_contact_person_name: [''],\n service_provider_contact_person_mobile_number: [''],\n person_stdcode: [null],\n person_landline: [null],\n service_provider_payment_type: [''],\n service_provider_payment_mode: [''],\n service_provider_frequency_of_purchase: [''],\n service_provider_credit_days_from: [''],\n service_provider_credit_days_to: [''],\n })\n } else {\n console.log('else');\n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n service_provider_supplier_name: [records.service_provider_supplier_name],\n service_provider_contact_person_name: [records.service_provider_contact_person_name],\n service_provider_contact_person_mobile_number: [records.service_provider_contact_person_mobile_number],\n person_stdcode: [records.person_stdcode],\n person_landline: [records.person_landline],\n service_provider_payment_type: [records.service_provider_payment_type],\n service_provider_payment_mode: [records.service_provider_payment_mode],\n service_provider_frequency_of_purchase: [records.service_provider_frequency_of_purchase],\n service_provider_credit_days_from: [records.service_provider_credit_days_from],\n service_provider_credit_days_to: [records.service_provider_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProvider(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.push(this.initServiceProviders(null));\n }\n\n removeServiceProvider(inx): void {\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n saveSupplierInfoWithImageCheck(answerFormValues) {\n console.log(\"forms\", answerFormValues);\n let required_imageCheck = this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\", required_imageCheck);\n if (!required_imageCheck) {\n let alert = this.toast.setAlert(\"Mandatory photographs not taken\", \" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value => {\n if (value == 's') {\n this.saveSupplierInfo(answerFormValues)\n }\n else {\n return true;\n }\n })\n }\n else {\n this.saveSupplierInfo(answerFormValues)\n }\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n e == 1 ? '' : '';\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n\n if (flag == 3) {\n if (e == 3) {\n // items.controls['service_provider_credit_days_from'].setValidators([Validators.required]);\n // items.controls['service_provider_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n // items.controls['service_provider_credit_days_from'].clearValidators();\n items.controls['service_provider_credit_days_from'].setValue('');\n // items.controls['service_provider_credit_days_to'].clearValidators();\n items.controls['service_provider_credit_days_to'].setValue('');\n }\n items.controls['service_provider_credit_days_from'].updateValueAndValidity();\n items.controls['service_provider_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n\n captureTheSupplierPics(materialName, index, supplierName) {\n \n \n if (supplierName != '') {\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res => {\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates });\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n }\n else if (supplierName == '') {\n alert('Please Fill The Supplier Name');\n }\n\n }\n mandatoryImageCheck(Form_values) {\n let Form_names = []\n if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) {\n if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) {\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) })\n })\n }\n }\n // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n // if(Form_values.service_provider_details[0].service_products.length != 0){\n // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) })\n // })\n // }\n // }\n if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) {\n if (Form_values.trade_details[0].trading_products.length != 0) {\n Form_values.trade_details[0].trading_products.forEach((value, index) => {\n Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) })\n })\n }\n }\n // console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count: number = 0;\n let mandatoryimgSaved = []\n let mandatoryimgNotSaved = []\n\n if (Form_names.length != 0) {\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue => {\n this.imageDisplay.forEach((imgvalue) => {\n\n // console.log(\"Form values individuals\",formvalue)\n if (formvalue.name != imgvalue.Name) {\n\n valBool = true\n }\n else {\n\n valBool = false\n\n count++;\n\n\n }\n if (count >= 2 && valBool == false) {\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n //return\n }\n else {\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n\n })\n if (valBool == true)\n console.log(\"Form name\", formvalue.name)\n\n mandatoryimgNotSaved.push(formvalue.name)\n\n })\n\n console.log(\"mandatoryimgSaved\", mandatoryimgSaved)\n console.log(\"mandatoryimgNot Saved\", mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res => {\n mandatoryimgNotSaved = mandatoryimgNotSaved.filter(val => val != res)\n\n })\n\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage = (mandatoryimgNotSaved) => mandatoryimgNotSaved.filter((val, i) => mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\", uniquenotsavedImage(mandatoryimgNotSaved));\n if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) {\n return false\n }\n else {\n return true\n }\n\n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n\n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n //}\n }\n else {\n return true\n }\n\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"ll\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.formDetails.form_id,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"records\", JSON.stringify(records))\n\n this.qustCat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n S_GoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n spdCommentFlag: any = [];\n\n // serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n suppliers_service_providers : any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false;\n SPCommentCard: boolean = false;\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n public SPsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n let type5 = record.from_business.filter(data => data.type_of_activity_id == 5);\n let type5length = type5[0].hasOwnProperty(\"products\") ? type5[0].products.length : 0;\n console.log('type5length',type5,type5length);\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [dataForm.hasOwnProperty('is_sufficiant_service_goods') ? dataForm.is_sufficiant_service_goods : ''],\n service_goods_remarks: [dataForm.hasOwnProperty('service_goods_remarks') ? dataForm.service_goods_remarks : '' ]\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.serviceProviderForm = true;\n let servicing_temparr = [];\n if(dataForm.hasOwnProperty('service_provider')){\n servicing_temparr['service_provider'] = dataForm.servicing_details[0].service_provider;\n this.initServicingDetails(servicing_temparr);\n }\n else{\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null); \n }\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n \n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\n \n is_sufficiant_service_goods: [''],\n service_goods_remarks: ['']\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.suppliers_service_providers = val.products;\n this.initServicingDetails(null);\n // this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n servicingForm: Boolean = false;\n servicingFormCreation(val) {\n console.log('inside servicingFormCreation',val);\n let arr = val\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n if (arr > 0){\n console.log('IF');\n this.servicingForm = true;\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n } else {\n console.log('Else');\n return this.fb.group({\n service_provider: this.fb.array([])\n });\n }\n }\n\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n // 'is_sufficiant_raw': '',\n // 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n // 'is_sufficiant_goods': '',\n // 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n // is_sufficiant_raw: [''],\n // rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n // is_sufficiant_raw: [records.is_sufficiant_raw],\n // rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n // is_sufficiant_goods: [''],\n // finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n // is_sufficiant_goods: [records.is_sufficiant_goods],\n // finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n // 'is_sufficiant_traded_goods': '',\n // 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n // is_sufficiant_traded_goods: [''],\n // traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n // is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n // traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n\n initServicingDetails(datas) {\n const service = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n if (datas === null) {\n \n if (this.suppliers_service_providers.length > 0) {\n this.suppliers_service_providers.forEach(val => {\n let Serv_Prov_Goods: any = {\n 'service_provider_name': val,\n 'service_provider_observed': '',\n 'service_provider_quantity': '',\n 'service_provider_uom': '',\n 'service_provider_other_uom': '',\n 'estimated_service_provider_value': ''\n }\n\n service.push(this.createServiceProvider(Serv_Prov_Goods));\n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n } else {\n if (datas.service_provider !== undefined) {\n datas.service_provider.forEach((val, index) => {\n if (val.estimated_service_provider_value) {\n this.inWords(val.estimated_service_provider_value, 5, index);\n }\n this.checkComments(val.service_provider_observed, 5, index);\n service.push(this.createServiceProvider(val));\n \n });\n }\n else {\n service.push(this.createServiceProvider(null));\n }\n }\n }\n\n createServiceProvider(records) {\n \n if (records === null) {\n \n return this.fb.group({\n service_provider_name: [''],\n service_provider_observed: [''],\n service_provider_quantity: [''],\n service_provider_uom: [''],\n uomSearch:[null],\n service_provider_other_uom: [''],\n estimated_service_provider_value: [''],\n // traded_goods_value: [''],\n });\n }\n else {\n \n return this.fb.group({\n service_provider_name: [records.service_provider_name],\n service_provider_observed: [records.service_provider_observed],\n service_provider_quantity: [records.service_provider_quantity],\n service_provider_uom: [records.service_provider_uom],\n uomSearch:[null],\n service_provider_other_uom: [records.service_provider_other_uom],\n estimated_service_provider_value: [records.estimated_service_provider_value],\n // traded_goods_value: [records.traded_goods_value],\n\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.push(this.createServiceProvider(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 3: {\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n not_stock_of_sp: any = [];\n checkComments(value, flag, index) {\n \n console.log(value, flag, index);\n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 5) {\n console.log('adf');\n this.ServiceCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_sp[index] = value == \"yes\" ? 1 : 0;\n\n let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n this.SPCommentCard = SPOverallCount > 0 ? true : false;\n\n let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n \n if(not_stock3 > 0){ \n \n this.SPsufficientList[0].disabled = false;\n this.SPsufficientList[2].disabled = true;\n \n }\n else if(not_stock3 == 0){ \n \n this.SPsufficientList[0].disabled = true;\n this.SPsufficientList[2].disabled = false;\n \n }\n \n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 5:\n this.S_GoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n \n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray, FormControl } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n product_abbr: any;\n lender_short_name : any;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n AV_CCAnnualSalesAmtInwords:any = [];\n formDetails: any;\n CustSegAbbr:any;\n temparray : any = [];\n picsArrayLength :any = 0;\n ServiceDataAvailability:boolean = false;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.initFinancialForm()\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n if (data.dataStatus) { \n if(data.records.type_of_activity.length == 1){\n let bussiness_service_datas = data.records.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n this.ServiceDataAvailability = bussiness_service_datas.length>0 ? true : false;\n if(this.ServiceDataAvailability == true){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA');\n }else{\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n }\n else{\n this.ServiceDataAvailability = false;\n }\n }\n })\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([]),\n select_working_capital_facilities_availed : this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n estimate_posmachine_or_cc_annual_sales:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n if(this.CustSegAbbr == 'AI'){ \n this.financialForm.removeControl('estimated_value');\n this.financialForm.controls['is_financial_customer'].setValue('');\n } \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n\n if(records.is_financial_statements == 'yes' && this.picsArrayLength == 0){\n this.toast.pdTriggerappmessage(\"Photos of Finanical Statements are Required\");\n return;\n }\n \n records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(value => value.exist_status == 1);\n if(records.is_there_working_capital_available == \"no\"){\n records.select_working_capital_facilities_availed = [];\n if(records.bank_guarantee) delete records.bank_guarantee ;\n if(records.cash_credit_limit) delete records.cash_credit_limit;\n if(records.factoring) delete records.factoring;\n if(records.forfaiting) delete records.forfaiting;\n if(records.letter_of_credit) delete records.letter_of_credit;\n if(records.od_limit) delete records.od_limit;\n if(records.other_reason_for_working_capital_facilities_availed) delete records.other_reason_for_working_capital_facilities_availed ;\n if(records.reason_for_working_capital_facilities_availed) delete records.reason_for_working_capital_facilities_availed ;\n }\n \n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n const workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed'];\n\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n // Financial part 1 : Date \n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n\n // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value.\n\n if(this.CustSegAbbr != 'AI'){\n \n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n this.AV_CCAnnualSalesAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val;\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n }\n else if(this.CustSegAbbr == 'AI'){\n retrieveData.estimated_value = [];\n }\n\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n if (retrieveData.select_working_capital_facilities_availed) {\n exist_av_data = Object.keys(retrieveData.select_working_capital_facilities_availed).map(function (key) {\n return retrieveData.select_working_capital_facilities_availed[key].id;\n });\n }\n \n let actual_av = avData.map(item => item.id);\n \n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n \n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n\n if (val.exist_status == 1 && val.id == 2) {\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (val.exist_status == 1 && val.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n \n });\n \n retrieveData.select_working_capital_facilities_availed = check_exist_av;\n }\n\n this.financialForm.setValue(retrieveData)\n\n if(this.ServiceDataAvailability == false && retrieveData.unsold_stock_lies_in_days == 'NA' ){\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\n }\n\n }\n else {\n console.log('didN`T get the api');\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\n let exist_av_data: any = [];\n\n let actual_av = avData.map(item => item.id);\n let check_exist_av = actual_av.map((id, index) => {\n if (exist_av_data.indexOf(id) < 0) {\n avData[index].exist_status = 0;\n return avData[index];\n }\n else {\n avData[index].exist_status = 1;\n return avData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_av.length > 0) {\n check_exist_av.forEach(val => {\n workingCptlControl.push(this.workingCptl(val));\n });\n }\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n workingCptl(details: any): FormGroup {\n return this.fb.group({\n id: [details.id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n\n changeWorkingCapitalFacilities(event: any) {\n \n if (event.value.exist_status == true && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n\n this.financialForm.removeControl('bank_guarantee');\n }\n else if (event.value.exist_status == false && event.value.id == 2) {\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 3) {\n this.financialForm.removeControl('cash_credit_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 3) {\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 4) {\n this.financialForm.removeControl('factoring');\n }\n else if (event.value.exist_status == false && event.value.id == 4) {\n this.financialForm.addControl('factoring', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 5) {\n this.financialForm.removeControl('forfaiting');\n }\n else if (event.value.exist_status == false && event.value.id == 5) {\n this.financialForm.addControl('forfaiting', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 6) {\n this.financialForm.removeControl('letter_of_credit');\n }\n else if (event.value.exist_status == false && event.value.id == 6) {\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 7) {\n this.financialForm.removeControl('od_limit');\n }\n else if (event.value.exist_status == false && event.value.id == 7) {\n this.financialForm.addControl('od_limit', new FormControl(''));\n }\n if (event.value.exist_status == true && event.value.id == 1) {\n this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed');\n this.financialForm.removeControl('reason_for_working_capital_facilities_availed');\n }\n else if (event.value.exist_status == false && event.value.id == 1) {\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\n }\n\n // if(event.value.exist_status==true && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n}\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n if(annual_sale != ''){\n\n let current_margin : number =(profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : \n loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00 )\n let pre_margin : number = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : \n temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00 );\n let absoulte_value_of_pre_margin : number = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00 ); \n\n let a: number = current_margin - pre_margin; \n let b: number = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin;\n let c: number = b * 100;\n \n // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))));\n // let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\n const pattern = /[0-9\\.]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 13 : \n this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n this.picsArrayLength = val['records'].length;\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n captureTheFinancialPics(value){\n// alert('Value '+value+' - '+this.picsArrayLength);\n if(value == 'yes' && this.picsArrayLength == 0){\n alert('You Must Take The Finanical Pic');\n }\n else{\n alert('No Need');\n }\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionClientInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider,private constantProvider:ConstantsProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\nconsole.log(\"form values\",this.clientInfoForm);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n \n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\n // this.qustCat.saveForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.navCtrl.pop();\n // }\n // });\n\n\n // }\n saveClientInfoWithImageCheck(answerFormValues){\n console.log(\"forms\",answerFormValues);\n let required_imageCheck=this.mandatoryImageCheck(answerFormValues)\n console.log(\"required image check\",required_imageCheck);\n if(!required_imageCheck){\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.saveClientInfo(answerFormValues)\n }\n else{\n return true;\n }\n })\n }\n else{\n this.saveClientInfo(answerFormValues)\n }\n }\n\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n\n \n // answerFormValues.trade_details.forEach((value)=>{\n // value.trading_products.forEach()\n // })\n // this.imageDisplay.forEach((res,index)=>{\n // if(res.Name == )\n // })\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n \n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n\n captureTheClientPics(materialName,index,clientName){\n \n if(clientName != ''){\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':clientName + ' - ' + materialName + ' ' + (index+1),'link':geoCoordinates});\n })\n }\n\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n }\n else if(clientName == ''){\n alert('Please Fill The Client Name');\n }\n \n }\n mandatoryImageCheck(Form_values){\n let Form_names=[]\n if(Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null){\n if(Form_values.manufacturing_details[0].main_raw_materials.length != 0){\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.manufacturing_client_name+' - '+ 'Manufacturing Product ' + (index+1) })\n })\n }\n }\n if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\n if(Form_values.service_provider_details[0].service_products.length != 0){\n Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provider ' + (index+1) })\n })\n }\n}\n if(Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null){\n if( Form_values.trade_details[0].trading_products.length != 0){\n Form_values.trade_details[0].trading_products.forEach((value,index)=>{\n Form_names.push({'index':index+1,'name':value.trade_client_name+' - '+ 'Trading Product ' + (index+1) })\n })\n }\n}\n console.log(\"Form Values\",Form_names);\n // console.log(\"image values\",this.imageDisplay)\n let valBool\n let count:number=0;\n let mandatoryimgSaved=[]\n let mandatoryimgNotSaved=[]\n\nif(Form_names.length != 0 ){\n // if( this.imageDisplay.length !=0){\n Form_names.forEach(formvalue=>{\n this.imageDisplay.forEach((imgvalue)=>{\n \n // console.log(\"Form values individuals\",formvalue)\n if(formvalue.name != imgvalue.Name){\n \n valBool=true\n }\n else{\n\n valBool=false\n \n count ++;\n \n \n }\n if(count >=2 && valBool == false){\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\n mandatoryimgSaved.push(formvalue.name)\n // return\n }\n else{\n mandatoryimgNotSaved.push(formvalue.name)\n return\n }\n \n })\n if(valBool==true)\n console.log(\"Form name\",formvalue.name)\n \n mandatoryimgNotSaved.push(formvalue.name)\n \n })\n \n // console.log(\"mandatoryimgSaved\",mandatoryimgSaved)\n // console.log(\"mandatoryimgNot Saved\",mandatoryimgNotSaved)\n mandatoryimgSaved.forEach(res=>{\n mandatoryimgNotSaved=mandatoryimgNotSaved.filter(val=>val != res)\n \n })\n \n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\n let uniquenotsavedImage=(mandatoryimgNotSaved)=>mandatoryimgNotSaved.filter((val,i)=>mandatoryimgNotSaved.indexOf(val) === i)\n console.log(\"uniw\",uniquenotsavedImage(mandatoryimgNotSaved));\n if(uniquenotsavedImage(mandatoryimgNotSaved).length > 0){\n return false\n }\n else{\n return true\n }\n \n //COUNTING THE DUPLICATES IN AN ARRAY\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\n // var map = arr.reduce(function(prev, cur) {\n // prev[cur] = (prev[cur] || 0) + 1;\n // return prev;\n // }, {});\n \n // map is an associative array mapping the elements to their frequency:\n // console.log(map);\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\n // }\n // else{\n // return true\n // }\n}\nelse{\n return true\n}\n\n }\n\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log(\n \"%cWelcome, Camera Provider\",\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\n );\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getPicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n\n getcommonpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n console.log('From Camera.ts - getcommonpicture fn image are',imageData)\n const base64Image = 'data:image/png;base64,' + imageData.filter(data=>data.fk_form_id == null);\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 258;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 258\n// module chunks = 2","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 301;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 301\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\nimport { DatePipe } from '@angular/common';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n pipe = new DatePipe('en-US');\n AppxPDLocationImgValid : boolean = false;\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n alertnativeCityData: any=[];\n alertnativePincodeData: any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n //this.constant.getGeoTag().then(res=>{\n //console.log(\"constructor geo location promise\",res);\n //})\n\n // console.log(\"geo\",this.constant.getGeoTag())\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n\n this.pdQuestionAddress = this.fb.group(\n {\n // addresses:this.fb.array([]),\n // address_form_remark:[''],\n // alternative_address:this.fb.array([]),\n // address_type_ques:this.fb.array([]),\n // pd_is_done_on_initiated_address:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n addresses: this.fb.array([]),\n is_pd_done_on_initiated_address: [true],\n address_type: ['', Validators.compose([Validators.required])],\n locality: ['', Validators.compose([Validators.required])],\n locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n address_form_remark: ['']\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n //this.getaddressForm(); \n let params = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.setAddressFromDatas(params);\n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option,flag){\n\n if (option == 'city' && flag ==1) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin' && flag ==1) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n if (option == 'city' && flag ==2) {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchAlternativeCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'pin' && flag ==2) {\n \n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchAlternativePin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchAlternativePin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.alertnativePincodeData[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.alertnativePincodeData[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchAlternativeCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.alertnativeCityData[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.alertnativeCityData[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n \n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n \n \n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n \n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n \n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,flag) {\n \n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n this.pincodeData[i] = data.records.pincode;\n \n //this.filteredCity.next(this.cityData[i].slice())\n if(flag== 1){\n this.cityDataValue[i]=this.cityData[i].slice()\n // this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n else if(flag == 2){\n this.alertnativeCityData[i]=this.cityData[i].slice()\n this.alertnativePincodeData[i]=this.pincodeData[i].slice()\n }\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n \n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n \n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n // address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n // locality_others: [AddressDetails.locality_others],\n // // locality_mixuse: [AddressDetails.locality_mixuse],\n // pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n // comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n // estimated_area: [AddressDetails.estimated_area],\n // uom: [AddressDetails.uom],\n // uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n // address_type: ['', Validators.compose([Validators.required])],\n // address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n // locality: ['', Validators.compose([Validators.required])],\n // locality_others: [''],\n // // locality_mixuse: [''],\n // pd_location: ['', Validators.compose([Validators.required])],\n // comment_locality: ['', Validators.compose([Validators.required])],\n // estimated_area: [''],\n // uom: [''],\n // uom_others: [''] \n });\n }\n \n }\n alternativeAddress(e) {\n console.log(e);\n console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value)\n if (e === false) {\n console.log('alternativeAddress false',e);\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n alternative_address_control.push(this.initAlternativeAddress(null));\n }\n else if (e === true) {\n console.log('alternativeAddress',e);\n this.pdQuestionAddress.removeControl('alternative_addresses');\n }\n}\n initAlternativeAddress(add_values){\n if(add_values == null){\nreturn this.fb.group({\n alternative_address:[''],\n alternative_state:[''],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[''],\n alternative_pincode:[''],\n alternative_pincode_others:[''],\n reason_for_alternative_address:['']\n })\n}\nelse{\n return this.fb.group({\n alternative_address:[add_values.alternative_address],\n alternative_state:[add_values.alternative_state],\n stateSearch:[''],\n citySearch:[''],\n pinSearch:[''],\n alternative_city:[add_values.alternative_city],\n alternative_pincode:[add_values.alternative_pincode],\n alternative_pincode_others:[add_values.alternative_pincode_others],\n reason_for_alternative_address:[add_values.reason_for_alternative_address]\n})\n}\n\n }\n /** On Key Press Event For Numbers */\n keyPress(event: any) {\n const pattern = /[0-9]/;\n \n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[0] = 'Estimated area of the ' + e;\n }\n imageMandatoryCheck(){\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\n alert.present();\n alert.onDidDismiss(value=>{\n if(value=='s'){\n this.onSubmit()\n }\n else{\n return true;\n }\n })\n }\n else{\n this.onSubmit()\n }\n \n }\n onSubmit() {\n\n // if(this.pdQuestionAddress.invalid){\n // this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n // return\n // }\n // if(this.AppxPDLocationImgValid == false){\n // //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n \n // }\n // else if (this.addressForm.value.address_form_remark == '') {\n // this.notifier.notify('warning', 'Fill Remark!');\n // this.disableAfterSubmit = false;\n // return;\n // }\n \n // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value);\n\n let records: any = {};\n\n records.addresses = this.pdQuestionAddress.controls.addresses.value;\n records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value\n\n if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) {\n if(records.addresses[0].pincode != 1){\n delete records.addresses[0].pincode_others\n }\n records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.addresses[0].citySearch = '';\n records.addresses[0].pinSearch = '';\n records.addresses[0].stateSearch = '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) {\n records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value;\n records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\n if(records.addresses[0].alternative_pincode != 1){\n delete records.addresses[0].alternative_pincode_others\n }\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\n records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\n }\n records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\n if (this.pdQuestionAddress.controls.locality.value == 1) {\n records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\n }\n records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\n records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\n records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\n records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\n records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\n records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : '';\n records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : '';\n records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : '';\n if (this.pdQuestionAddress.controls.uom.value == 1) {\n records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\n }\n }\n records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value;\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n\n // console.log('Final records', records);\n\n \n\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['status'] == 200) {\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n else {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!');\n \n }\n }, error => {\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');\n \n });\n \n\n }\n\n savepdQuestionOLD(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n if(this.AppxPDLocationImgValid == false){\n this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\n return\n }\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n\n setAddressFromDatas(params){\n this.qustCat.retiverForm(params).subscribe(data => {\n\n const control = this.pdQuestionAddress.controls['addresses'];\n if (data['status'] == 200) {\n let initiated_address_check =data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n if (data['records'].addresses.length == 0) {\n control.push(this.initAddress(null));\n } else {\n data['records'].addresses.forEach((datas, index) => {\n let obj = {\n 'address': datas.address,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode': datas.pincode,\n 'pincode_others': datas.pincode ? datas.pincode_others : ''\n }\n this.getCityAndPincodeDetails(datas.state, index, 1);\n control.push(this.initAddress(obj));\n \n if (datas.address_type_others == \"\" || datas.address_type_others == null){\n delete datas.address_type_others;\n }\n\n if (datas.citySearch == \"\" || datas.citySearch == null){\n delete datas.citySearch;\n }\n\n if (datas.locality_others == \"\" || datas.locality_others == null){\n delete datas.locality_others;\n }\n if (datas.pinSearch == \"\" || datas.pinSearch == null){\n delete datas.pinSearch;\n }\n if (datas.pincode_others == \"\" || datas.pincode_others == null){\n delete datas.pincode_others;\n }\n if (datas.stateSearch == \"\" || datas.stateSearch == null){\n delete datas.stateSearch;\n }\n if (datas.uom_others == \"\" || datas.uom_others == null){\n delete datas.uom_others;\n }\n \n if (initiated_address_check === true) {\n\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n });\n }\n\n if (initiated_address_check == false) {\n \n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n if (data['records'].alternative_addresses.length > 0) {\n \n data['records'].alternative_addresses.forEach((datas, index) => {\n \n // if (datas.citySearch == \"\" || datas.citySearch == null){\n // delete datas.citySearch;\n // } \n // if (datas.pinSearch == \"\" || datas.pinSearch == null){\n // delete datas.pinSearch;\n // }\n // if (datas.stateSearch == \"\" || datas.stateSearch == null){\n // delete datas.stateSearch;\n // }\n \n let obj = {\n 'alternative_address': datas.alternative_address,\n 'alternative_state': datas.alternative_state,\n 'alternative_city': datas.alternative_city,\n 'alternative_pincode': datas.alternative_pincode,\n 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '',\n 'reason_for_alternative_address': datas.reason_for_alternative_address,\n }\n this.getCityAndPincodeDetails(datas.alternative_state, index, 2);\n alternative_address_control.push(this.initAlternativeAddress(obj));\n \n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location);\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type);\n\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n\n this.setOthers(datas.address_type, '', 3);\n\n if (datas.address_type == 1) {\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\n this.selectedAddressType(datas.address_type_others,index);\n }\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality);\n\n this.pdQuestionAddress.controls.locality.setValue(datas.locality);\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area);\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n this.setOthers(datas.uom, '', 5);\n if (data['records'].uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n\n });\n }\n }\n this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark);\n }\n else {\n this.getaddressForm();\n }\n // else {\n // control.push(this.createAddresses(null));\n // }\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n \n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n \n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n \n \n }\n setOthers(e, i, flag) {\n switch (flag) {\n case 1:\n const control = this.pdQuestionAddress.controls['addresses'];\n let ChildCtrl: any = control.controls[i];\n e == 1 ? ChildCtrl.addControl('pincode_others', new FormControl('', Validators.required)) : ChildCtrl.removeControl('pincode_others');\n break;\n case 2:\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\n let AltChildCtrl: any = alternative_address_control.controls[i];\n e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new FormControl('', Validators.required)) : AltChildCtrl.removeControl('alternative_pincode_others');\n break;\n case 3:\n e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('address_type_others');\n break;\n case 4:\n e == 1 ? this.pdQuestionAddress.addControl('locality_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('locality_others');\n break;\n case 5:\n e == 1 ? this.pdQuestionAddress.addControl('uom_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('uom_others');\n break;\n }\n }\n\n\n getaddressForm()\n {\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1);\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n \n this.getaddressDetails.forEach((datas,index)=>{\n if (datas.address_type_others == \"\" || datas.address_type_others == null){ delete datas.address_type_others;}\n if (datas.citySearch == \"\" || datas.citySearch == null){delete datas.citySearch;}\n if (datas.locality_others == \"\" || datas.locality_others == null){delete datas.locality_others;}\n if (datas.pinSearch == \"\" || datas.pinSearch == null){delete datas.pinSearch;}\n if (datas.pincode_others == \"\" || datas.pincode_others == null){delete datas.pincode_others;}\n if (datas.stateSearch == \"\" || datas.stateSearch == null){delete datas.stateSearch;}\n if (datas.uom_others == \"\" || datas.uom_others == null){delete datas.uom_others;}\n \n this.getCityAndPincodeDetails(datas.state,index,1)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n \n let val={\n 'address': datas.address,\n // 'address_type': datas.address_type,\n // 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n // 'locality': datas.locality,\n // 'locality_others': datas.locality_others,\n // // 'locality_mixuse': datas.locality_mixuse,\n // 'pd_location': datas.pd_location,\n // 'comment_locality': datas.comment_locality,\n // 'estimated_area': datas.estimated_area,\n // 'uom': datas.uom,\n // 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\n // if (datas.address_type) {\n // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0];\n // this.selectedAddressType(selectedAddressType.address_type);\n // this.setOthers(datas.address_type, '', 3);\n // if (datas.address_type == 1) {\n // this.addressForm.controls.address_type_others.setValue(datas.address_type_others);\n // this.selectedAddressType(datas.address_type_others);\n // }\n // }\n\n\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\n\n if (datas.locality) {\n\n this.setOthers(datas.locality, '', 4);\n\n if (datas.locality == 1) {\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\n }\n }\n\n\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\n if (datas.uom) {\n this.setOthers(datas.uom, '', 5);\n if (datas.uom == 1) {\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\n }\n }\n })\n let initiated_address_check =res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true ;\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n \n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,1)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n \n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n console.log('record_for_pic',record_for_pic);\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n console.log('records result',result);\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })\n let img_title = (result.pd_document_title).split('(');\n if(img_title[0] == 'Approach to PD Location '){\n this.AppxPDLocationImgValid = true;\n //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')\n }\n })\n console.log(\"image Display Data Are\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are');\n this.imageDisplay[index]={'image':img,'Name':value,'is_show_report':0}\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n\n changeNameForBucket(value,index,img,active){\n // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active);\n this.imageBucket[index]={'image':img,'Name':value,'is_show_report':0}\n \n }\n changeOptions(event: any,index: any){\n // console.log('Option Changed ' + event);\n let name = this.imageBucket[index].value\n let length = this.imageDisplay.length;\n console.log('image display length',length);\n this.imageDisplay.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n result.is_show_report = 0;\n }\n })\n console.log('this.imageDisplay',this.imageDisplay);\n this.imageBucket.forEach(result=>{\n if(name == 'Approach to PD Location ' && event == 1){\n // this.AppxPDLocationImgValid = true;\n console.log('name',name);\n console.log('this.imageBucket.length',this.imageBucket.length);\n result.is_show_report=0;\n }\n })\n console.log('this.imageBucket',this.imageBucket);\n this.imageBucket[index].is_show_report=event;\n // console.log('this.imageBucket',JSON.stringify(this.imageBucket));\n }\n removeImg(index){\n // console.log('inside removeImg Fn - its param are - Index only ',index);\n this.imageDisplay.splice(index,1);\n \n }\n removeImgForBucket(index){\n // console.log('inside removeImgForBucket Fn - its param are - Index only ',index);\n this.imageBucket.splice(index,1)\n // console.log(\"image Display Data Are\",this.imageDisplay);\n }\n savePhoto(flag){\n // console.log('savePhoto');\n let currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss');\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n // console.log('inside savePhoto Fn - its response ',imageData);\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n if(flag == 1){\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'','is_show_report':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n console.log(\"imagebucket\",this.imageBucket)\n this.getImageName(this.imageBucket.length-1)\n }else if(flag == 2){\n // console.log('flag');\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'Approach to PD Location ( ' + currentDate + ' )','is_show_report':''});\n }\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n\n getImageName(index){\n // console.log('inside get Image Name Fn - its param are - Index only ',index);\n let alert =this.toast.setAlertForDocName()\n \n alert.present()\n alert.onDidDismiss(value=>{\n // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport);\n this.imageBucket[index].Name=value.Name;\n });\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n\n updateImage(){\n }\n sendImage(){\n this.loading.loaderForSendImage() \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\nconsole.log(\"records for sendImage\",records);\n // console.log(\"inside SendImage Function - records array\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n // console.log(\"inside localInsert Fn - its Response\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionCurrentLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-current-loans',\n templateUrl: 'pd-question-current-loans.html',\n})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: any;\n placeholderName: any = [];\n lenderData: any;\n frequencyData: any;\n loanTypeData:any;\n FormId: any;\n users: any;\n pdDetails: any;\n questionDetails: any;\n currentLoans:FormGroup;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n pdid:number;\n amtInwords: any=[];\n emiAmtInwords: any=[];\n dataFromAssets : any = [];\n labelArr : any = [];\n investmentTypeData: any=[];\n addressTypeData: any;\n propertyTypeData: any;\n tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\n \n this.users = this.aws.getlocale();\n this.currentLoans = this.fb.group(\n {\n existing_loan: [null],\n currentloan_remarks:[null],\n loan_details: this.fb.array([])\n });\n \n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\n });\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\n });\n\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\n \n \n });\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\n })\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\n })\n }\n \n exitsCheck(val)\n { \n \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\n // other_frequency:[''],\n // loan_amount: [''],\n // frequency:[''],\n // emi: [''],\n // loan_type: [''],\n // others_loan_type:[''],\n // loan_taken_by:[''],\n // others_loan_taken:[''],\n // lender: [''],\n // others_lender:[''],\n // original_tenure: [''],\n // current_balance_tenure: [''],\n // elapsed_tenure:[],\n });\n}\naddLoanDetails() {\n const control = this.currentLoans.controls['loan_details'];\n control.push(this.createLoanDetail(null));\n}\ndeleteLoanDetails(index) {\n const control = this.currentLoans.controls['loan_details'];\n if(control.length==1)\n {\n this.currentLoans.controls['loan_details'].reset();\n }else{\n control.removeAt(index);\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncheckOthers(values){\n console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\n details.controls.current_balance_tenure.updateValueAndValidity();\n //details.controls.current_balance_tenure.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n // let BalanceTenure = details.value.current_balance_tenure;\n // if( originalTenure < BalanceTenure){\n // alert('Greater');\n // details.controls.current_balance_tenure.setValue('');\n // alert('validation setted For');\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\n // details.controls.current_balance_tenure.updateValueAndValidity(); \n \n \n // }\n}\ncalculateTenure(details,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\n \n}\n}\nkeyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n}\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n\nselectedfrequency(e,i){\n \n switch(+e){\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\n default: this.placeholderName[i] = 'Instalment Amount'; break;\n}\n \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.existing_loan = answerData.existing_loan;\n records.loan_details = answerData.loan_details;\n records.currentloan_remarks = answerData.currentloan_remarks;\n records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control = this.currentLoans.controls['loan_details'];\n if(res['dataStatus']==true )\n {\n let currentLoanDetails = res['records'];\n \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n const control = this.currentLoans.controls['loan_details'];\n if(currentLoanDetails.existing_loan != 'No')\n {\n if(result.length ==0)\n {\n control.push(this.createLoanDetail(null));\n }else\n {\n \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\n control.push(this.createLoanDetail(null));\n this.selectedfrequency(datas.frequency,index);\n if(datas.loan_amount!=''){\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\n }\n if(datas.emi!=''){\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\n }\n })\n\n this.currentLoans.controls['loan_details'].patchValue(result);\n \n }\n }\n }\n else\n {\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\n }\n\n }\n else {\n \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \n if(AssetData.business_address_asset.length > 0){\n AssetData.business_address_asset.map(element=>{\n this.dataFromAssets.push({mode:0,\n mode_name:element.address_label,\n details:[],\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Bussiness Address'})\n })\n }\n\n if(AssetData.business_assets.length>0){\n AssetData.business_assets.map(element => {\n this.dataFromAssets.push({mode:element.business_assets_mode,\n mode_name:element.business_assets_mode_name,\n details:element.business_details,\n owner_name:element.business_name_of_the_owner,\n other_owner: element.business_name_of_the_other_owner,\n form_type:'Data From Business Assets'})\n });\n }\n\n if(AssetData.other_assests.length > 0){\n AssetData.other_assests.map(element => {\n this.dataFromAssets.push({mode:element.assets_mode,\n mode_name:element.assets_mode_name,\n details:element.details,\n owner_name:element.name_of_the_owner,\n other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\n })\n }\n \n \n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\n \n if(this.dataFromAssets.length > 0){ \n let labelarray : any = [];\n \n this.dataFromAssets.forEach((val,index) => {\n if(val.mode == 0){\n \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\n let data;\n val.details.forEach((v,index) => {\n data = v.property_type_name;\n if(v.property_type != 1){\n if(val.form_type == 'Data From Business Assets'){\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\n }\n else if(val.form_type == 'Data From Other Asset'){\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\n }\n else{\n data = '';\n }\n }else{\n data=v.other_property_type;\n }\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.investments_type != 1 \n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \n : v.other_investments_type ;\n\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \n }\n });\n const control = this.currentLoans.controls['loan_details'];\n this.labelArr = labelarray;\n let arr : any = [];\n if(this.labelArr.length > 0){\n this.currentLoans.controls['existing_loan'].setValue('Yes');\n this.labelArr.forEach((v,index) => {\n \n arr = { \n 'label': v,\n 'loan_amount': '',\n 'frequency':'',\n 'other_frequency':'',\n 'emi': '',\n 'loan_type': '',\n 'others_loan_type': '',\n 'loan_taken_by':'',\n 'others_loan_taken':'',\n 'lender': '',\n 'others_lender':'',\n 'original_tenure': '',\n 'current_balance_tenure': '',\n 'elapsed_tenure':''\n }\n control.push(this.createLoanDetail(arr));\n });\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\n }\n }\n else{\n \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n tapEvent(value){\n console.log(\"dd\",value);\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n lender_short_name : any;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n fundAmtInWords : any;\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n is_there_total_fund:[''],\n fund_amt:[''],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\n })\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n case 8:\n this.fundAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value;\n records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails.is_there_total_fund);\n this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails.fund_amt);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if(loanDetails.fund_amt){this.fundAmtInWords = this.constant.convertNumberToWords(loanDetails.fund_amt); }\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n if(this.lender_short_name == 'CLIX'){\n \n this.loanDetailsForm.controls['is_transfer'].setValue(\"no\");\n this.selectedBalancesTransferChanges(\"no\")\n }\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \n }\n // let modifyCompanyList : any=[];\n // if(this.existCompanyList.length>0){\n // modifyCompanyList = this.existCompanyList.map(element => {\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n // });\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n //}\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFamilyPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-family',\n templateUrl: 'pd-question-family.html',\n})\nexport class PdQuestionFamilyPage {\n\n\n earningStatus = [{\n type: 'Earning',\n id: 1\n}, {\n type: 'Non Earning',\n id: 2\n}]\nearning_gross_income_per_month:any;\n\n nofamily:number;\ndata:any;\n familyAddStatus: boolean;\n ownerShip: any;\n cusSeg: any;\n FormId: any;\n users: any;\n pdDetails: any;\n occupationData: any;\n membersitem: FormArray;\n items: FormArray;\n relationData: any;\n familyForm: FormGroup;\n total_number_of_family_members;\n filteredStates: any ;\n public selected_person;\n stateData:any;\n cityData: any =[];\n pincodeData:any=[];\n FamilyMemberAsLabel: any=[];\n selectPerson: any=[];\n apiFamilyMembers: any=[];\n //isReadOnly: any=[];\n RentAmount: any=[];\n IncomePerMonth: any=[];\n // cons: any;\n cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.selected_person=this.pdDetails.pdapplicants_details;\n this.selectPerson=this.pdDetails.applicat_details\n this.users = this.aws.getlocale();\n \n \n this.familyForm = this.fb.group({\n family_details: this.fb.array([\n //this.initFamilyDetails()\n \n ]),\n family_details_form_remark:[''],\n \n \n });\n this.getRelation();\n this.getoccupation();\n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n initFamilyDetails(records) : void\n {\n if (records === null) {\n let formData: FormGroup = this.fb.group({\n selected_person: ['', Validators.compose([Validators.required])],\n residence_place: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\n ownershipOther: [''],\n rent: [''],\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details: this.fb.array([])\n });\n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n }\n else{\n records.forEach((val,index)=>{\n if(val.rent != null){\n this.inWords(val.rent,index,2)\n }\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\n this.getCity(val.residence_state,index);\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\n residence_ownership:[val.residence_ownership],\n rent:[val.rent || null],\n ownershipOther:[val.ownershipOther || null],\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\n family_members_details:this.fb.array([])\n \n });\n \n const control = this.familyForm.controls['family_details'];\n control.push(formData);\n \n let inx=control.length-1;\n //this.getNumberOfFamilyMemberDetails(inx);\n this.initFamilyMembersDetails(inx, val.family_members_details);\n \n \n //this.initFamilyMembersDetails\n \n })\n }\n /*\n return this.fb.group({\n //family_details\n selected_person:[''],\n residence_place:[''],\n residence_city:[''],\n residence_state:[''],\n residence_pin:[''],\n residence_No_of_years: [''],\n residence_ownership:[],\n rent:[''],\n ownershipOther:[''],\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\n \n //family_member_details\n \n \n \n family_members_details:this.fb.array([]),\n \n\n // person: [null],\n /* personOther: [''],\n members: [''],\n residence: [''],\n years: [null],\n family_details_form_remark:[''],\n \n });*/\n\n }\n initFamilyMembersDetails(inx,val) :void {\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n val.forEach((vals,index)=>{\n\n \n if(vals.earning_gross_income_per_month != null){\n this.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\n })\n \n control.push(datas);\n });\n }\n \n /*return this.fb.group({\n family_member_name:[''],\n family_member_relationship:[],\n family_member_age:[],\n family_member_earning_status:[''],\n //family_member_earnings\n earning_segment:[''],\n earning_gross_income_per_month:[''],\n earning_name_of_the_employer_or_business:[''],\n earning_number_of_years_in_employment_or_business:[''],\n \n non_earning_occupation:[''],\n non_earning_if_others:[''],\n non_earning_if_retired_from:[''],\n });*/\n \n\n\n add() :void { \n // const control=this.familyForm.controls['family_details'];\n //control.push(this.initFamilyDetails('chck'));\n this.initFamilyDetails(null);\n this.toast.pdTriggerappmessage(\"Family Details Added\");\n }\n remove_family_details(i:number):void{\n const control=this.familyForm.controls['family_details'];\n control.removeAt(i);\n }\n addMemberDet(data:any){\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n //this.initFamilyMembersDetails('','')\n control.push(this.generateFamilyMembersDetailsGet())\n }\n removeMemberDet(index:any,f_index:any){\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\n if(control.length>1){\n control.removeAt(index); \n }\n else{\n control.reset()\n }\n // if(control.value !=null && index == 0)\n\n }\n getNumberOfFamilyMemberDetails(data)\n {\n \n var datavalue=data;\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\n if(formData['total_number_of_family_members'].valid)\n {\n let totmem=formData['total_number_of_family_members'].value;\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n if(totmem>=control.length){\n let len=totmem-control.length;\n for( let i=0;i=totmem;i--)\n {\n control.removeAt(i);\n }\n \n // var nn=control.length-totmem; \n // control.controls = [];\n /*for (let i = 0; i < totmem; i++) {\n control.push(this.generateFamilyMembersDetailsGet());\n\n }*/\n // this.initFamilyDetails(this.resValue['records'].family_details);\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\n }\n \n \n }\n else{\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.removeAt(control.length);\n control.controls=[];\n }\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\n control.push(this.initFamilyMembersDetails());\n */ \n }\n generateFamilyMembersDetailsGet(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_segment:[''],\n earning_gross_income_per_month: [''],\n earning_name_of_the_employer_or_business: [''],\n earning_number_of_years_in_employment_or_business: [''],\n non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\n })\n}\n \n getRelation() {\n let master_name = 'RELATIONSHIPS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n \n if(data['dataStatus'] == true){\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\n this.relationDataValue=this.relationData.slice();\n }\n });\n\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\n }\n });\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n // }\n // });\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\n if(res['dataStatus']==true){\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\n }\n })\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\n }\n });\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.stateData=res['records'].filter(item=>item.isactive==1);\n this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n}\ngetCity(e,i){\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \n // this._pd.retriveForm(params).subscribe(data => {\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\n if (data['dataStatus'] == true) {\n this.cityData[i] = data.records.cities; \n this.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n });\n}\ngetoccupation()\n{\n let master_name = 'OCCUPATIONMEMBERS';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true){\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\n }\n });\n}\n /* createMembers(): FormGroup {\n return this.fb.group({\n earning_member_name : [null],\n earning_member_age : [null],\n relation: [null],\n segment: [null],\n income: [null],\n employer_name: [null],\n });\n}\ncount :number = 0;\naddearningMembers()\n{\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.items.push(this.createMembers());\n this.count++;\n this.checkfamilystatus(this.count,''); \n\n}\n\ndeleteEarningMembers(i)\n{\n\n if(this.items.length==1)\n {\n this.familyForm.controls['earningMembers'].reset();\n }else{\n this.items.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncreateNonMembers(): FormGroup {\n return this.fb.group({\n non_earning_member_name : [''],\n non_earning_member_age : [''],\n relationship: [null],\n occupation: [null],\n retired: [null],\n others_occupation:[null],\n });\n}\naddMembers()\n{\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n this.count++;\n this.checkfamilystatus(this.count,''); \n this.membersitem.push(this.createNonMembers());\n \n}\ndeleteMembers(i)\n{\n if(this.membersitem.length==1){\n this.familyForm.controls['nonEarningMembers'].reset();\n \n }else{\n this.membersitem.removeAt(i);\n }\n this.count--;\n this.checkfamilystatus(this.count,''); \n}\ncheckfamilystatus(count,familystatus)\n{\n if(familystatus !='' && familystatus !==undefined){\n\n }else{\n familystatus = this.familyForm.get('members').value;\n }\n if(familystatus !== null ){\n if(familystatus == count)\n {\n\n this.familyAddStatus = true;\n }else\n {\n this.familyAddStatus = false;\n }\n }\n}*/\n/* Old\nsavepdfamily(answerData)\n{\n let records: any = {};\n records.no_of_years = answerData.years;\n if (answerData.ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n records.residence = answerData.residence;\n if (answerData.ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.ownership\n records.family_members = answerData.members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })\n}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\n }\n \n let records:any={};\n \n records=this.familyForm.value;\n\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\n \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n \n },err=>{\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\n })\n\n /*let records: any = {};\n records.no_of_years = answerData.residence_No_of_years;\n if (answerData.residence_ownership == '4') {\n records.ownershipOther = answerData.ownershipOther;\n } \n //records.residence = answerData.residence;\n if (answerData.residence_ownership == '3') {\n records.what_rent = answerData.rent;\n }\n // if (answerData.person == '8') {\n // records.person_met = answerData.personOther.value;\n // } else {\n // records.person_met = answerData.person;\n // }\n records.ownership = answerData.residence_ownership\n records.family_members = answerData.total_number_of_family_members;\n records.earning_members = answerData.earningMembers;\n records.non_earning_members = answerData.nonEarningMembers;\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.family_details_form_remark = answerData.family_details_form_remark;\n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n }\n })*/\n}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\nselectedPerson(e,inx){\n \n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\n \n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\n \n this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n if(this.apiFamilyMembers.length>0){\n\n let arraydata : any;\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\n\n \n // data_gets_from:'GeneralForm'\n // data_gets_from:'BusinessForm'\n \n if(data.length > 0){\n \n \n this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n\n\n data.forEach((val,inx) => {\n \n // // family_member_earning_status\n // if(val.age){\n // this.isReadOnly[inx] = true;\n // }else{\n // this.isReadOnly[inx] = false;\n // }\n arraydata = {\n 'family_member_salutation':'',\n 'family_member_name' : val.name,\n 'family_member_relationship' : val.relationship,\n 'family_member_age' : val.age,\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\n 'earning_segment': '',\n 'earning_gross_income_per_month': '',\n 'earning_name_of_the_employer_or_business':'',\n 'earning_number_of_years_in_employment_or_business': '',\n 'earning_if_others_segment':'',\n 'non_earning_occupation': '',\n 'non_earning_if_others': '',\n 'non_earning_if_retired_from': '',\n 'non_earning_if_schoolorcollege': ''\n }\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\n \n });\n }\n else{\n this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \n\n control.push(this.generateFamilyMembersDetailsGet()); \n }\n }\n else{\n \n control.push(this.generateFamilyMembersDetailsGet());\n } \n}\n\ngenerateFamilyMembersDetailsGetData(data){\n var result = Object.keys(data).map(function (key) {\n return data[key];\n});\nif (result.length > 0) {\n for (let val of result) {\n const control = this.familyForm.controls['family_members_details'];\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\n }\n}\n}\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\n return this.fb.group({\n family_member_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\n let Temparr : any = [];\n\n if(res.record.from_general_form.length>0){\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\n return res.record.from_general_form[key]\n });\n let datas=familyMembersGeneralForm.map(element=>{\n return {id:element.pd_co_applicant_id.toString(),\n name:element.applicant_name,\n relationship:element.relationship,\n relation_to:element.relation_to,\n age:element.age,\n data_gets_from:'GeneralForm'};\n \n });\n Temparr.push(datas);\n // console.log('Temparr',Temparr);\n }\n else{\n console.log(\"No data in General Form\")\n }\n if(res.record.from_business_form.length >0){\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\n return res.record.from_business_form[key]\n });\n let datas=familyMembersBusinessForm.map(element=>{\n return {id:element.other_family_relationship_id,\n name:element.family_member_name,\n relationship:element.other_family_relationship_id,\n relation_to:element.relation_to_id,\n age:'',\n data_gets_from:'BusinessForm'};\n });\n Temparr.push(datas);\n }\n else{\n console.log(\"No data in Business Form\")\n }\n this.apiFamilyMembers = [].concat.apply([],Temparr);\n }\n })\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>{\n console.log(\"Entering Retrieve\");\n \n if(res['status']==200){\n if(res['records'].family_details.length > 0){\n //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\n this.resValue=res;\n this.initFamilyDetails(res['records'].family_details);\n \n }\n \n }\n else{\n console.log(\"No Data Found\");\n this.initFamilyDetails(null);\n \n }\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\n \n },err=>{\n console.log(\"Error\",err)\n })\n\n \n \n \n /*let earning:any = [];\n let non_earning:any = [];\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\n\n return res['records'].non_earning_members[key];\n });\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\n earning = Object.keys(res['records'].earning_members).map(function(key) {\n return res['records'].earning_members[key];\n });\n let familyDetails = res['records'];\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\n // this.familyForm.controls['earningMembers'].setValue(earning);\n // for(this.)\n this.items = this.familyForm.get('earningMembers') as FormArray;\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\n if(earning.length==0)\n {\n this.addearningMembers();\n }else\n {\n earning.forEach(datas => {\n this.count++;\n this.items.push(this.createMembers());\n });\n this.familyForm.controls['earningMembers'].setValue(earning);\n \n }\n\n if(non_earning.length==0)\n {\n this.addMembers(); \n }else\n {\n non_earning.forEach(datas => {\n this.count++;\n this.membersitem.push(this.createNonMembers());\n \n });\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\n // this.checkfamilystatus(this.count);\n }\n \n // for(let earningDetails of earning){\n // this.items = this.familyForm.get('earningMembers') as FormArray;\n // this.items.push(earning);\n // }\n\n }else\n {\n this.addearningMembers();\n this.addMembers();\n }\n }) */ \n }\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \n break;\n }\n }\n initSetValue(records):void{\n for(let val of records){\n let formData:FormGroup=this.fb.group({\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo location promise\",geoCoordinates)\n \n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n \n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(event: any) {\n const pattern = /[0-9\\-\\.\\ ]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':'','link':geoCoordinates});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n })\n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionOtherIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-other-income',\n templateUrl: 'pd-question-other-income.html',\n})\nexport class PdQuestionOtherIncomePage {\n\n FormId: any;\n custSeg: any;\n sourceIncome: any;\n otherIncomeDetails: any;\n users: any;\n pdDetails: any;\n pdid:any;\n incomeEarnedBy:any=[];\n amtInWords:any=[];\n \n frequencyData: any;\n otherIncomeForm: FormGroup;\n incomeDetails:FormArray;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public alertCtrl:AlertController) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\n\n this.otherIncomeForm = this.fb.group({\n other_income: [null],\n otherincome_remarks:[null],\n income_details: this.fb.array([])\n });\n \n \n \n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\n //this.incomeDetails.push(this.createDetail())\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n createDetail():FormGroup {\n return this.fb.group({\n source: [''],\n address:[''],\n others_source : [''],\n income_earned_by:[''],\n others_income_earned_by:[''],\n amount: [''],\n frequency: [''],\n others_frequency : ['']\n });\n}\naddIncomeDetails() {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n \n this.incomeDetails.push(this.createDetail());\n}\ndeleteIncomeDetails(index) {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n if(this.incomeDetails.length==1){\n // this.otherIncomeForm.controls['income_details'].reset();\n this.otherIncomeForm.reset();\n this.amtInWords[index]=''\n }else{\n this.incomeDetails.removeAt(index);\n }\n}\ncheckotherDetails(val)\n{\n if(val==\"Yes\")\n {\n this.addIncomeDetails();\n }\n if(val==\"No\"){\n //let length=this.otherIncomeForm.income_details.controls.length\n const control= this.otherIncomeForm.controls['income_details'];\n control.removeAt(0)\n // let len=control.length\n // for(let i=0;i{\n if(res['dataStatus']==true)\n {\n this.incomeEarnedBy=res['record'];\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n\n let master_name = 'FREQUENCY';\n this.qustCat.getcommondrop(master_name).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\n }\n });\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.sourceIncome = res['records'];\n if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \n \n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n let rentOptionCount: number = 0;\n let validateFlag: number = 0;\n let TextMessage :any;\n\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.other_income = answerData.other_income;\n records.income_details = answerData.income_details;\n records.otherincome_remarks = answerData.otherincome_remarks;\n console.log(records);\n // this.callSaveApi(records);\n\n if (records.other_income == 'Yes') {\n records.income_details.forEach(option => {\n if (+option.source == 5) {\n rentOptionCount++;\n validateFlag = 1;\n } \n });\n \n if(validateFlag == 1){\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id;\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = 17;\n \n this.qustCat.retiverForm(params).subscribe(data=>{\n if(!data['dataStatus']){\n let text : any = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property' ;\n TextMessage = '
You have chosen '+ text +' as rental income, but rental verification form is not filled
';\n\n let alert=this.alertCtrl.create({\n title:'Please Confirm',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.callSaveApi(records);\n }\n }\n ]\n });\n alert.present();\n }\n else if(data['dataStatus']){\n this.callSaveApi(records);\n }\n })\n } \n else{\n this.callSaveApi(records);\n }\n }\n else{\n this.callSaveApi(records);\n }\n}\n\ncallSaveApi(records){\n \n this.qustCat.saveForm(records).subscribe(data => {\n //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n}, error => {\n \n})\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\n this.otherIncomeDetails = res; \n if(this.otherIncomeDetails.dataStatus == true)\n {\n this.otherIncomeDetails = this.otherIncomeDetails.records;\n if(this.otherIncomeDetails.other_income=='Yes'){\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\n return res['records'].income_details[key];\n\n });\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n \n \n \n \n if(incomeArray.length==0)\n {\n // this.incomeDetails.push(this.createDetail());\n }else\n {\n incomeArray.forEach((datas,index)=>\n {\n \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\n })\n }\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\n \n }else\n {\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\n }\n }\n else{\n // this.incomeDetails.push(this.createDetail())\n }\n })\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\n}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"From Dashboard of Rental - values are \",this.data);\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\n}\n\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null,'rental_count_id':this.data.existing_rental_count_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n console.log('From getPDImages',val);\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\n\ncaptureThePropertyPics(){\n // alert('rentalDataCount '+this.data.existing_rental_count_id);\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':'Property '+this.data.existing_rental_count_id});\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n}\n\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constprovider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n 'rental_count_id':this.data.existing_rental_count_id,\n \n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n console.log(\"savepd\",records) \n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expenses Page\";\n break;\n case 4:\n this.FormName = \"Household Expenses Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n });\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n/**\n * Generated class for the PdQuestionAssessedPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n \n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n other_expense_item:[null],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n other_expense_item:[data.other_expense_item || ''],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider,private constantProvider:ConstantsProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private constantProvider:ConstantsProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport { SearchRelationPipe } from '../../../pipes/search-relation/search-relation';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[SearchRelationPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n console.log(\"persons_with_relationships\",this.generalForm.controls['persons_with_relationships']['controls'][0])\n let control=this.generalForm.get('persons_with_relationships')\n console.log('p1',control)\n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.info(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;\");\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.table(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n console.log('if part . this.imageBucket.length',this.imageBucket.length);\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n console.log('else part . this.imageBucket.length',this.imageBucket.length)\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic :val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof : val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic:val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof:val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_person_met_pic:[''],\n is_person_met_id_proof:[''],\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_person_met_pic : data.is_person_met_pic != null ? data.is_person_met_pic : '' ,\n is_person_met_id_proof : data.is_person_met_id_proof,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n console.log('From Genral Form - value are',value)\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n console.log('fulldata',this.fulldata);\n console.log('control.length+1',control.length+1);\n console.log('full data',this.fulldata[control.length]);\n\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[this.fulldata[control.length].applicant_name],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n value.forEach((val,index)=>{\n console.log(\"val for each\",val)\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[index == 0 ? '0' : val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n })\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_person_met_pic : val.is_person_met_pic != null ? val.is_person_met_pic : '',\n is_person_met_id_proof: val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins');\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n // update personal relation\n updatePersonalRelation(indexVal) {\n let control: any = this.generalForm.controls['persons_with_relationships'];\n control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to);\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\n console.table(this.generalForm.value);\n console.log(answerData);\n\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_person_met_pic = '';\n datas.is_person_met_id_proof = '';\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n \n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\n })\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n\n sendImage(){\n \n this.loading.loaderForSendImage()\n console.log(\"image bucket - json data\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"DB - records\",JSON.stringify(records))\n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(control,Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_pic'].setValue(res);\n //this.toast.pdTriggerappmessage('Flag 1 Success');\n }\n else{\n control.controls['is_person_met_pic'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 1 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n control.controls['is_person_met_id_proof'].setValue(res);\n // this.toast.pdTriggerappmessage('Flag 2 Success');\n }\n else{\n control.controls['is_person_met_id_proof'].setValue('');\n // this.toast.pdTriggerappmessage('Flag 2 Fail');\n }\n // console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the SearchRelationPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'searchRelation',\n})\nexport class SearchRelationPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any): any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/search-relation/search-relation.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\n }\n let modifyCompanyList:any=[]\n if(this.existCompanyList.length>0){\n modifyCompanyList=this.existCompanyList.map(element=>{\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\n \n }\n let modifyApplicantList:any=[]\n if(this.applicants.length>0){\n modifyApplicantList=this.applicants.map(element=>{\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n })\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\n }\n}\ncompareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constant.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray,FormControl,Validators} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n product_abbr: any;\n lender_short_name : any;\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider,private constantProvider:ConstantsProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ \n this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ;\n this._finalRemarkForm.addControl('is_competition', new FormControl(''));\n this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); \n this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); \n }\n else{ \n this._finalRemarkForm.removeControl('outlet_location');\n this._finalRemarkForm.removeControl('is_competition');\n this._finalRemarkForm.removeControl('sealing_activity'); \n this._finalRemarkForm.removeControl('demolition_activity'); \n }\n\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records'].filter(val=>val.pdofficer_recommendation_id!=1)\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n this.setValidation();\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){\n \n this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location);\n this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);\n this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); \n this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); \n this.clixChange(data['records'].is_competition,1);\n this.clixChange(data['records'].sealing_activity,2);\n this.clixChange(data['records'].demolition_activity,3);\n \n if(data['records'].is_competition ==true){ this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores);}\n if(data['records'].sealing_activity ==true){ this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity);\n this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); }\n if(data['records'].demolition_activity ==true) {this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); \n this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); }\n }\n\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n\n clixChange(e,flag){\n if(flag == 1){ \n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores');\n }\n if(flag == 2){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity');\n e==true ? this._finalRemarkForm.addControl('demolition_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('demolition_activity_pic');\n }\n if(flag == 3){\n console.log(e,flag);\n e==true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity');\n e==true ? this._finalRemarkForm.addControl('sealing_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('sealing_activity_pic');\n }\n }\n\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n ImageUpload(Flag : any){ \n if(Flag == 1){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n this.cameraProvider.getpicture().then(res=>{\n if(res != 'error'){\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res);\n }\n else{\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue('');\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n}\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':'',\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\nimport {PdQuestionFuturePlansAndBusinessEnvironmentPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==23){\n this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport { searchValue } from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList: any = [];\n users: any; formdetails: any;\n FormId: any;\n pdDetails: any;\n businessForm: FormGroup;\n applicants: any = [];\n businessEntityTypeList: any = {\n business_entity_type_id: String,\n business_entity_type_name: String,\n sourcsection_labeleName: String\n };\n generalExistEntityType: string\n generalExistEntityType_other: string;\n generalExistBusinessYear: Number;\n generalExistBusinessMonth: Number;\n pdid: any;\n step: number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList: any = []\n countryDataList: any = []\n exist_status: any;\n\n filterCityList: any = [];\n errorMessage: any = [];\n appxSalaryAmtInwords: any;\n titleData: any = []\n personsList: any = []\n\n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean = false;\n bankList: any = [];\n bankListValue: any = [];\n temp_additiondetailofposmachine: any = []\n isreadonlyyear: any = [];\n isreadonlymonth: any = [];\n EntityTypeFlag: boolean = false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience: any = [];\n countryDataListValue: any = [];\n product_abbr: any;\n lender_short_name: any;\n\n @ViewChild('shareholding') share_focus: ElementRef\n private search: searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState: ReplaySubject = new ReplaySubject(1)\n public filteredCountry: ReplaySubject = new ReplaySubject(1)\n cityData: any = []\n cityDataValue: any = []\n imageDisplay: any[];\n imageBucket: any = [];\n tab: string = '0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider, public toast: ToastProvider,\n public qustCat: QuestionCategoryProvider, public fb: FormBuilder, public cons: ConstantsProvider,\n private loading: LoadingProvider, private cameraProvider: CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n\n this.formdetails = this.navParams.get('formDetails');\n\n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n\n this.applicants = this.pdDetails.applicat_details;\n console.log(\"pd\", this.pdDetails);\n this.generalExistEntityType = this.pdDetails.business_entity_type\n this.generalExistEntityType_other = this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.step = 0\n\n\n\n // this.initBusinessForm();\n // this.getBuisnessDetails();\n\n this.businessForm = this.fb.group({\n fk_createdby: [this.users],\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.FormId],\n company_id: this.pdDetails.company_id,\n partners: this.fb.array([]),\n persons_with_relationships: this.fb.array([]),\n select_business_activity_type: this.fb.array([]),\n manufacturing_activity_details: this.fb.array([]),\n retail_trading_activity_details: this.fb.array([]),\n wholesale_trading_activity_details: this.fb.array([]),\n service_provider_activity_details: this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales: ['', Validators.compose([Validators.max(100), Validators.min(0)])],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality: [''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary: [''],\n was_the_company_name_board_sighted: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n // shop_eat_act_cert_pic:['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n //export_import_cert: [''],\n //factory_cert: [''],\n //practice_cert: [''],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks: ['']\n })\n this.getdropdown();\n\n // this.initBusinessForm();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n\n\n }\n getdropdown() {\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data => {\n if (data['dataStatus'] == true) {\n let filterList = data['records'].filter(val => val.business_entity_type_id == this.generalExistEntityType);\n console.log(\"Filter\", filterList)\n if (filterList.length > 0) {\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : this.generalExistEntityType_other;\n\n if (this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') {\n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n\n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data => {\n this.companyRelationShipList = data['records'].filter(val => val.isactive == 1);\n\n });\n\n\n\n this.qustCat.getcommondrop('COUNTRY').subscribe(data => {\n this.countryDataList = data['records'].filter(val => val.isactive == 1);\n this.filteredCountry.next(this.countryDataList.slice());\n });\n this.qustCat.getcommondrop('TITLES').subscribe(data => {\n this.titleData = data['records'].filter(val => val.isactive == 1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data => {\n if (data.dataStatus) {\n\n this.personsList = data['record'].filter(val => val.applicant_type == 1)\n\n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data => {\n this.bankList = data['records'].filter(val => val.isactive == 1 && val.lender_type == 1);\n this.bankListValue = this.bankList.slice();\n })\n\n }\n getStateCityDet() {\n this.qustCat.getStateCityDetails().subscribe(data => {\n\n\n this.stateList = data.records\n this.filteredState.next(this.stateList.slice())\n\n this.getDetails();\n });\n\n\n }\n changeOfStartedBusiness(members, i, e) {\n if (e == 'yes') {\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else {\n this.isreadonlyyear[i] = false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails() {\n\n let params: any = {};\n params.parent_pdid = this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data => {\n console.log('data[records]', data['records']);\n let businessVal = data['records']\n let constVal: any;\n\n\n const Partnr: any = this.businessForm.controls['partners'];\n\n const control1: any = this.businessForm.controls['persons_with_relationships'];\n\n const business_activity: any = this.businessForm.controls['select_business_activity_type'];\n\n const manufacture_details: any = this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl: any = this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl: any = this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n this.product_abbr == 'LAEP' ? this.businessForm.addControl('fire_noc', new FormControl(null, Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc');\n if (data['status'] == 200) {\n\n let DocArray: any;\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n })\n\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners())\n }\n else {\n PartnrArray.forEach((datas, key) => {\n Partnr.push(this.createPartners());\n if (datas.partner_name == 'Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if (data['records'].persons_with_relationships) {\n let PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) {\n return data['records'].persons_with_relationships[key];\n })\n if (PartnrArray1.length > 0) {\n PartnrArray1.forEach((datas, key) => {\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships = PartnrArray1\n\n }\n else {\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships = []\n }\n }\n else {\n businessVal.persons_with_relationships = []\n\n }\n\n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents = DocArray\n\n if (businessVal.employees_appx_salary) {\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n\n\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id }))\n let exist_activity_data: any = [];\n if (data['records'].select_business_activity_type) {\n exist_activity_data = Object.keys(data['records'].select_business_activity_type).map(function (key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity = actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status = 0;\n return activityData[index];\n }\n else {\n activityData[index].exist_status = 1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n\n if (check_exist_businees_activity.length > 0) {\n check_exist_businees_activity.forEach((val, index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n\n });\n\n businessVal.select_business_activity_type = check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n\n if (data['records'].manufacturing_activity_details) {\n let selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) {\n return data['records'].manufacturing_activity_details[key];\n });\n if (selectedManufacturing.length > 0) {\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n\n selectedManufacturing.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'MActivity', index)\n manufacture_details.push(this.manufactureDetails())\n if (element.area_of_sale == 'Within India') {\n\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if (element.area_of_sale == 'Export') {\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n }\n });\n businessVal.manufacturing_activity_details = selectedManufacturing;\n\n\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n }\n else {\n\n businessVal.manufacturing_activity_details = [];\n }\n\n if (data['records'].retail_trading_activity_details) {\n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if (selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedRetail.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'RActivity', index)\n retailControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details = selectedRetail;\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n }\n else {\n businessVal.retail_trading_activity_details = [];\n }\n\n\n // update whole sale details\n if (data['records'].wholesale_trading_activity_details) {\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if (selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n selectedWholesale.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'WActivity', index)\n wholesaleControl.push(this.manufactureDetails());\n if (element.area_of_sale == 'Within India') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n\n });\n businessVal.wholesale_trading_activity_details = selectedWholesale;\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n }\n }\n else {\n businessVal.wholesale_trading_activity_details = [];\n\n }\n\n\n if (data['records'].service_provider_activity_details) {\n let selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) {\n return data['records'].service_provider_activity_details[key];\n })\n if (selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\n\n selectedService.forEach((element, index) => {\n this.CheckExport(element.area_of_sale, 'SPActivity', index)\n serviceProviderControl.push(this.manufactureDetails());\n\n if (element.area_of_sale == 'Within India') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if (element.area_of_sale == 'Export') {\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n }\n else if (element.area_of_sale == 'Both') {\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch = ''\n innerElement.citySearch = ''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innerElement.countrySearch = '';\n innercontrol.push(this.createCountrySale())\n });\n\n\n }\n });\n\n\n businessVal.service_provider_activity_details = selectedService;\n\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n }\n else {\n businessVal.service_provider_activity_details = [];\n\n }\n\n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n\n // dynamically add form group control\n if (data['dataStatus']) {\n\n if (data['records'].seasonality.toUpperCase() == 'YES') {\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required));\n }\n\n\n\n }\n\n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if (businessVal.applicant_use_pos_machines == 'yes') {\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value => {\n value.bankSearch = ''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for (let i = 1; i <= businessVal.no_of_pos_machines; i++) {\n\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n console.log('businessVal', businessVal);\n if (data['records'].gst_Regn_cert == 'yes') { this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (data['records'].factory_cert == 'yes') { this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('factory_cert_pic'); }\n if (data['records'].practice_cert == 'yes') { this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('practice_cert_pic'); }\n if (data['records'].shop_eat_act_cert == 'yes') { this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (data['records'].pf_regn == 'yes') { this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('pf_regn_pic'); }\n if (data['records'].esic_regn == 'yes') { this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('esic_regn_pic'); }\n if (data['records'].export_import_cert == 'yes') { this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('export_import_cert_pic'); }\n if (data['records'].fire_noc == 'yes') { this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('fire_noc_pic'); }\n\n this.businessForm.setValue(businessVal);\n\n\n }\n else {\n console.log('console.log 2');\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }))\n if (activityData.length > 0) {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n })\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n\n // if(this.businessForm.controls['gst_Regn_cert']){\n // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\n\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n // });}\n // if(this.businessForm.controls['factory_cert']){\n // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n // });}\n // if(this.businessForm.controls['practice_cert']){\n // this.businessForm.controls['practice_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n // });}\n // if(this.businessForm.controls['shop_eat_act_cert']){\n // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n // });}\n // if(this.businessForm.controls['pf_regn']){\n // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n // });}\n // if(this.businessForm.controls['esic_regn']){\n // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n // });}\n // if(this.businessForm.controls['export_import_cert']){\n // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n // });\n // }\n\n }\n\n filterCity(datasource: any, filterid: number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n\n\n if (filterid) {\n console.log(\"val filter\", filterid)\n let filter = this.stateList.filter(x => x.state_id == filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n }\n filterCityData(datasource: any, filterid: number, index) {\n console.log(\"test\")\n console.log(filterid, index)\n\n if (filterid) {\n let filter = this.stateList.filter(x => x.state_id == filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index] = this.cityData[index].slice()\n console.log(\"filter \", this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n }\n\n // filter max sale options\n filterMaxSaleState(datasource: any, filterValues: any) {\n this.filterCityList = filterValues;\n if (filterValues) {\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val => val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any = [];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any = [];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement, statePos) => {\n selectedCites.forEach((existElement, existPos) => {\n if (stateElement == existElement.state_name && existElement.city_name.length > 0) {\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal => cVal == \"1\");\n // this is for throuh out states city\n if (getAllCities.length > 0) {\n setCityValues = setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else {\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues = setCityValues.concat.apply(setCityValues, check);\n // console.log(\"second\",setCityValues) \n\n }\n }\n\n });\n });\n return setCityValues.length > 0 ? setCityValues.filter(fVal => fVal.city_id != \"1\") : [];\n\n }\n else {\n return [];\n }\n }\n // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n // console.log(selectedCites)\n // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n // console.log(\"selectd\",existCities)\n // existCities = [].concat.apply([], existCities);\n // existCities.forEach(element=>{\n // if(element== 1){\n\n // }\n // })\n // console.log(\"concat\",existCities)\n // if(filterValues){\n // let getOriginalStateList = datasource.map(dval => dval.state_id);\n // console.log(\"Original map\",getOriginalStateList)\n // let setCityFilter = filterValues.map(x => {\n // let findIndex = getOriginalStateList.indexOf(x);\n // findIndex = datasource[findIndex].cities;\n // return findIndex;\n // });\n // console.log(\"findindex\",setCityFilter)\n\n // let merged = [].concat.apply([], setCityFilter);\n // console.log(\"merge\",merged)\n\n // if(merged.length>0){\n // let check: any = merged.filter(function(fVal){\n // return existCities.some(function(sVal){\n // return fVal.city_id==sVal;\n // });\n // })\n // console.log(check);\n // return check;\n\n // }\n // else {\n // return [];\n // }\n // }\n // else {\n // return [];\n // }\n // }\n\n\n checkTotalEmployee(FormData) {\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0));\n }\n // checkWithExistBusinessYear(e,i){\n // if(e > this.generalExistBusinessYear){\n // this.errorMessage[i] = \"Higher than Business Vintage\";\n // }\n // else{\n // this.errorMessage[i] = '';\n // }\n // }\n\n checkWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n\n checkWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n }\n\n // businees activity type change event\n changeBusinessActivity(event: any) {\n\n if (event.value.exist_status == true && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]);\n\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) {\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n\n\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) {\n this.RetailedChecked = event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) {\n this.WholeSalesChecked = event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if (event.value.exist_status == true && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) {\n this.ServiceChecked = event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\n // check activity for extra question make dynamic\n\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\n\n if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) {\n if (this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP') {\n this.businessForm.controls['applicant_use_pos_machines'].setValue('yes');\n }\n this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2);\n }\n\n if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) {\n this.ExportFlag = false;\n }\n }\n\n\n changeManufacturingAreaSale(getDetails: any, getIndex) {\n console.log('changeManufacturingAreaSale', getDetails.value.area_of_sale);\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if (getDetails.value.area_of_sale == \"Within India\") {\n console.log('Within India', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n console.log('Export', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n console.log('Both', getDetails.value.area_of_sale);\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n // change whole options\n changeWholesaleAreaSale(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n // change service provider \n changeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if (getDetails.value.area_of_sale == \"Within India\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n\n }\n else if (getDetails.value.area_of_sale == \"Export\") {\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if (getDetails.value.area_of_sale == \"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n }\n\n\n changePanIndiaOptions(type, selectedIndex, value) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 3) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n else if (type == 4) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if (value == 'Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n else if (value == 'No') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\n }\n }\n }\n\n // update partner group other form control\n changePartnerGroup(value, key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value == 'Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\n });\n }\n keyPress(event: any) {\n const pattern = /[0-9]/;\n\n let inputChar = String.fromCharCode(event.charCode);\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\n event.preventDefault();\n }\n }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if (total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if (total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n }\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n }\n ConvertMonthintoYear(itemrow, e, i) {\n\n console.log('datas', e, i);\n let year = itemrow.controls.current_business_experiance_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n\n }\n\n\n\n createPartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding: [''],\n started_business: [''],\n current_business_experiance_year: [''],\n current_business_experiance_month: [''],\n total_business_experiance: [''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n }\n createRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation: [''],\n family_member_name: [''],\n other_family_relationship_id: [''],\n relation_to_id: [''],\n relationship_with_company_id: [''],\n started_business: ['']\n });\n }\n createBusinessActivity(details): FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status: [details.exist_status == 1 ? true : false]\n });\n }\n createServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n }\n createOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n }\n manufactureDetails(): FormGroup {\n return this.fb.group({\n main_products: [''],\n area_of_sale: [''],\n description: ['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n }\n indiaSalesDone(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n maxSaleState(): FormGroup {\n return this.fb.group({\n state_name: [''],\n city_name: [''],\n stateSearch: [''],\n citySearch: ['']\n })\n }\n createDocument() {\n return this.fb.group({\n document: [''],\n document_pic: [''],\n });\n }\n addDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n }\n deleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if (control.length == 1) {\n this.businessForm.controls['designation'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n\n control.push(this.createPartners());\n }\n addPersonRelationship(event) {\n event.stopPropagation()\n const control = this.businessForm.controls['persons_with_relationships']\n let length = control.length\n this.step = length\n control.push(this.createRelationShip());\n }\n deletePersonRelationship(index) {\n const control = this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n }\n deletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if (control.length == 1) {\n this.businessForm.controls['partners'].reset();\n } else {\n control.removeAt(index);\n }\n }\n addMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n }\n removeManufacturing(index) {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if (manufacturingControl.length > 1) {\n manufacturingControl.removeAt(index)\n }\n else {\n manufacturingControl.reset();\n }\n }\n addMoreRetail() {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n removeRetail(index) {\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n if (retailControl.length > 1) {\n retailControl.removeAt(index)\n }\n else {\n retailControl.reset();\n }\n }\n addMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n removeWholesale(index) {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if (wholesaleControl.length > 1) {\n wholesaleControl.removeAt(index)\n }\n else {\n wholesaleControl.reset();\n }\n }\n addMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n removeServiceProvider(index) {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if (serviceControl.length > 1) {\n serviceControl.removeAt(index)\n }\n else {\n serviceControl.reset();\n }\n }\n // addMoreOthersActivity(){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n createCountrySale() {\n return this.fb.group({\n country_name: ['', Validators.compose([Validators.required])],\n countrySearch: [''],\n approx_sale: ['', Validators.compose([Validators.required])]\n });\n }\n\n addMoreState(mindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n\n }\n removeState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n\n addRetailMoreState(rindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n removeRetailState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more whole sale state\n addWholesaleMoreState(windex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n }\n // remove for whole sale\n removeWholesaleState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n }\n // add more service provider\n addServiceMoreState(sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if (type == 2) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n\n // remove service provider\n\n removeServiceState(mindex, sindex, type) {\n if (type == 1) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if (type == 2) {\n let control1: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control1 = control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n }\n addDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n }\n deleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if (control.length == 1) {\n this.businessForm.controls['documents'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n UploadDocuments(index) {\n const control = this.businessForm.controls['documents'];\n const control_with_index = control.controls[index];\n this.cameraProvider.getpicture().then(res => {\n control_with_index.controls['document_pic'].setValue(res != 'error' ? res : '');\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n relationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({ member: option });\n });\n }\n createPOSMachinesDetails(data) {\n if (data == null) {\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch: [''],\n tid_no_of_pos_machine: [''],\n })\n }\n else {\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch: [''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n }\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid: this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n }\n\n submitDetails() {\n\n // if (!this.businessForm.valid) {\n // return;\n // }\n\n if (this.businessForm.controls['export_sale_of_total_sales'].invalid) {\n this.toast.pdTriggerappmessage(\"Please enter a value between 0 and 100 in export sale as a % total sales\");\n return;\n }\n\n if (this.businessForm.controls['gst_Regn_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"GST Regn Cert is required\");\n return;\n }\n if (this.businessForm.controls['gst_Regn_cert_pic'] && this.businessForm.value.gst_Regn_cert == 'yes') { \n if (this.businessForm.controls['gst_Regn_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"gst regn cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['factory_cert'] && this.businessForm.controls['factory_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Factory Cert is required\");\n return;\n }\n if (this.businessForm.controls['factory_cert_pic'] && this.businessForm.value.factory_cert == 'yes') { \n if (this.businessForm.controls['factory_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"factory cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['practice_cert'] && this.businessForm.controls['practice_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Practice Cert is required\");\n return;\n }\n if (this.businessForm.controls['practice_cert_pic'] && this.businessForm.value.practice_cert == 'yes') { \n if (this.businessForm.controls['practice_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\" practice cert pic is required\");\n return;\n }\n }\n\n\n if (this.businessForm.controls['shop_eat_act_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"shop eat act cert is required\");\n return;\n }\n if (this.businessForm.controls['shop_eat_act_cert_pic'] && this.businessForm.value.shop_eat_act_cert == 'yes') { \n if (this.businessForm.controls['shop_eat_act_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Shop eat act cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['pf_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn is required\");\n return;\n }\n if (this.businessForm.controls['pf_regn_pic'] && this.businessForm.value.pf_regn == 'yes') { \n if (this.businessForm.controls['pf_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"PF Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['esic_regn'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn is required\");\n return;\n }\n if (this.businessForm.controls['esic_regn_pic'] && this.businessForm.value.esic_regn == 'yes') { \n if (this.businessForm.controls['esic_regn_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"ESIC Regn pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['export_import_cert'] && this.businessForm.controls['export_import_cert'].invalid) {\n this.toast.pdTriggerappmessage(\"Export Import Cert is required\");\n return;\n }\n if (this.businessForm.controls['export_import_cert_pic'] && this.businessForm.value.export_import_cert == 'yes') { \n if (this.businessForm.controls['export_import_cert_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Export /Import Cert pic is required\");\n return;\n }\n }\n\n if (this.businessForm.controls['fire_noc'] && this.businessForm.controls['fire_noc'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc is required\");\n return;\n }\n if (this.businessForm.controls['fire_noc_pic'] && this.businessForm.value.fire_noc == 'yes') { \n if (this.businessForm.controls['fire_noc_pic'].invalid) {\n this.toast.pdTriggerappmessage(\"Fire Noc pic is required\");\n return;\n } }\n \n \n // if(this.businessForm.controls['export_sale_of_total_sales']){\n // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){\n\n // }\n // }\n\n if (this.EntityTypeFlag == true) {\n let control: any = this.businessForm.controls['partners'];\n let control2: any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n\n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n\n // control2.controls['started_business'].setValue('');\n\n // control2.controls['current_business_experiance_year'].clearValidators();\n // control2.controls['current_business_experiance_year'].updateValueAndValidity();\n // control2.controls['current_business_experiance_year'].setValue('');\n\n // control2.controls['current_business_experiance_month'].setValue('');\n\n // control2.controls['total_business_experiance'].clearValidators();\n // control2.controls['total_business_experiance'].updateValueAndValidity();\n // control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\", control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n\n let family: any = [];\n\n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records: any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records = this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\n if (!this.EntityTypeFlag) {\n let count: number = 0;\n if (records.partners.length > 0) {\n records.partners.forEach(element => {\n console.log(element)\n count += element.shareholding\n })\n }\n if (count >= 101) {\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n }\n }\n let validationFlag: number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if (records.manufacturing_activity_details.length > 0) {\n\n records.manufacturing_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n\n }\n\n //type 3 checking wholesale_trading_activity_details\n if (records.wholesale_trading_activity_details.length > 0) {\n\n records.wholesale_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //type 2 checking retail_trading_activity_details\n if (records.retail_trading_activity_details.length > 0) {\n\n records.retail_trading_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n\n //type 4 checking service_provider_activity_details\n if (records.service_provider_activity_details.length > 0) {\n\n records.service_provider_activity_details.forEach((val, index) => {\n if (val.area_of_sale != \"Within India\") {\n\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if (total > 100 || total < 100) {\n validationFlag++;\n }\n }\n });\n\n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if (validationFlag > 0) {\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value => value.exist_status == 1);\n if (records.pos_machines_details) {\n records.pos_machines_details.forEach(value => {\n delete value.bankSearch\n })\n }\n\n // if(records.manufacturing_activity_details.length > 0){\n // records.manufacturing_activity_details.forEach((val,index) => {\n // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n // if(val.area_of_sale != \"Export\"){ \n // if(val.india_where_sale_done.length > 0){\n // val.india_where_sale_done.forEach((vals,inx) => {\n // childCtrl1.controls[inx].removeControl('citySearch');\n // delete vals.citySearch;\n // childCtrl1.controls[inx].removeControl('stateSearch');\n // delete vals.stateSearch;\n // });\n // }\n // if(val.max_sale_state_name.length > 0){\n // val.max_sale_state_name.forEach((vals,inx) => {\n // childCtrl2.controls[inx].removeControl('citySearch');\n // childCtrl2.controls[inx].removeControl('stateSearch');\n // });\n // }\n // }\n // });\n // }\n // console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 3000);\n }\n });\n }\n getBuisnessDetails() {\n let records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId };\n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n\n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any = [];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n\n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{ document: '', document_pic: '' }];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n }\n inWords(e, flag) {\n switch (flag) {\n case 1:\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n ServiceCounterArray: any = [];\n\n CheckExport(value, stringFlag, index) {\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n\n\n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n\n\n\n\n if (!this.ManufacturingChecked) {\n // console.log(\"Manu\")\n if (stringFlag == 'MActivity' && value == \"Both\") {\n this.ManufacturingCounterArray[index] = 1;\n }\n else if (stringFlag == 'MActivity' && value != \"Both\") {\n this.ManufacturingCounterArray[index] = 0;\n }\n } else if (this.ManufacturingChecked && stringFlag == 'MActivity') {\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if (!this.RetailedChecked) {\n if (stringFlag == 'RActivity' && value == \"Both\") {\n this.RetailCounterArray[index] = 1;\n }\n else if (stringFlag == 'RActivity' && value != \"Both\") {\n this.RetailCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'RActivity' && this.RetailedChecked) {\n this.RetailCounterArray[index] = 0;\n }\n\n if (!this.WholeSalesChecked) {\n if (stringFlag == 'WActivity' && value == \"Both\") {\n this.WholeSaleCounterArray[index] = 1;\n }\n else if (stringFlag == 'WActivity' && value != \"Both\") {\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if (stringFlag == 'WActivity' && this.WholeSalesChecked) {\n this.WholeSaleCounterArray[index] = 0;\n }\n\n if (!this.ServiceChecked) {\n\n if (stringFlag == 'SPActivity' && value == \"Both\") {\n this.ServiceCounterArray[index] = 1;\n }\n else if (stringFlag == 'SPActivity' && value != \"Both\") {\n this.ServiceCounterArray[index] = 0;\n }\n\n } else if (stringFlag == 'SPActivity') {\n this.ServiceCounterArray[index] = 0;\n }\n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n\n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter;\n\n\n this.ExportFlag = overallCounter > 0 ? true : false;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n }\n changePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n }\n toGetPOSMachinesDetails(e, flag) {\n\n if (flag == 1) { this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if (e > 0) {\n if (flag == 1) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if (flag == 2) {\n for (let i = 1; i <= e; i++) {\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n // searchCountriesList(control:any,i:number){\n // if(!this.countryDataList){\n // return\n // }\n // let searchVal=control.controls['countrySearch'].value\n // if(!searchVal){\n // this.countryDataListValue=this.countryDataList.slice()\n // return\n // }\n // else{\n // searchVal=searchVal.toLowerCase();\n // this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\n // }\n // }\n\n searchFun(control: any, i: number, option) {\n\n\n if (option == 'country') {\n console.log('option', option, control);\n control.controls['countrySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchCountries(control.controls['countrySearch'].value);\n })\n }\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.searchState(control.controls['stateSearch'].value)\n\n })\n }\n //For Pos bank search using constant provider\n if (option == 'bank') {\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.bankListValue = this.cons.searchData(this.bankList, control.controls['bankSearch'].value, option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i] = this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i] =\n this.cityData[i].filter(val => val.city_name.toLowerCase().indexOf(searchValue) > -1)\n\n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n searchCountries(val: any) {\n console.log(\"Countrydata\");\n if (!this.countryDataList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredCountry.next(this.countryDataList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredCountry.next(\n this.countryDataList.filter(val => val.country_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\n /*IMAGE SECTION*/\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }\n\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n console.log(val['records'])\n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n console.log(\"imageBuck\", this.imageDisplay);\n }\n }\n })\n }\n changeName(value, index, img) {\n console.log(value);\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n\n }\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n capture(value) {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n console.log(\"Value\", res)\n if (res != 'error') {\n this.cons.getGeoTag().then(geoCoordinates => {\n console.log(\"geo promise\", geoCoordinates)\n if (value != '') {\n if (this.imageBucket.length != 0) {\n this.imageBucket.forEach((res, index) => {\n if (res.Name == value) {\n console.log(\"res[index]\", res[index])\n delete res[index]\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n })\n }\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\n\n }\n else {\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\n\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n console.log(\"alert value\", value);\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n } // Else End\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n console.log(\"about business - Images bucket\", JSON.stringify(this.imageBucket));\n\n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id': this.pdDetails.company_id,\n\n }\n console.log(\"about Business images \", JSON.stringify(records));\n\n this.qustCat.savePDImages(records).subscribe(res => {\n console.log('response records', res, res['record']);\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n\n }\n changeSentence(value) {\n console.log(\"val\", value)\n let name = value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(Flag: any) {\n\n this.cameraProvider.getpicture().then(res => {\n if (Flag == 1) { this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 2) { this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 3) { this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 4) { this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 5) { this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); }// alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 6) { this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 7) { this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n if (Flag == 8) { this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n }\n\n radioChange(event, Flag) {\n if (Flag == 1) { event.value == 'yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('shop_eat_act_cert_pic'); }\n if (Flag == 2) { event.value == 'yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('gst_Regn_cert_pic'); }\n if (Flag == 4) { event.value == 'yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('factory_cert_pic'); }\n if (Flag == 5) { event.value == 'yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('practice_cert_pic'); }\n if (Flag == 6) { event.value == 'yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('pf_regn_pic'); }\n if (Flag == 7) { event.value == 'yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('esic_regn_pic'); }\n if (Flag == 3) { event.value == 'yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('export_import_cert_pic'); }\n if (Flag == 8) { event.value == 'yes' ? this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc_pic'); }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n addressType:any = '';\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressList: any=[];\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n chooseAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n this.qustcat.retiverForm(params).subscribe(data=>{\n const control=this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status']==200){\n if(data['records'].is_pd_done_on_initiated_address){\n console.log(\"kd\",data['records'])\n }\n }\n })\n }\n getAddress(flag){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n if(flag == 1){\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n if (initiated_address_check == false ) {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n }\n }\n if(flag == 2){\n let dataOfAddress = data['records'].addresses.filter(item => item.isactive == 1);\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\n if (initiated_address_check == true && data['records'].addresses.length > 0) \n \n if(initiated_address_check == true && data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else if(initiated_address_check == true && data['records'].alternative_addresses.length > 0)\n {\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\n data['records'].alternative_address.forEach((data,inx)=>{\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if (data['status'] == 200) {\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n })\n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n console.log(\"address List data\",this.addressList)\n }\n AutoCompleteUpdateFun(property_id,event,i){\n if(event != ''){\n let getList = this.addressList.map(dval => dval.value.replace(/\\s/g, \"\").toLowerCase());\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let findName = this.m_address_type.find(x => x.address_type_id == property_id);\n // console.log(getkeyname.indexOf(i));\n let evt = event.replace(/\\s/g, \"\").toLowerCase();\n\n let keyexist = this.addressList.find(ob => ob['key_name'] === i);\n\n if (keyexist === undefined || keyexist === null && !getList.includes(evt)) {\n console.log('push on this');\n this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i });\n }\n else {\n let Index = getkeyname.indexOf(i);\n this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }\n console.log('update on this => Index', Index);\n }\n\n console.log('at Final add or update ', this.addressList);\n }\n}\nremoveOptionOnAutoComplete(index){\n let getkeyname = this.addressList.map(dval => dval.key_name);\n let Index = getkeyname.indexOf(index);\n if (Index !== -1) {\n this.addressList.splice(Index, 1);\n }\n console.log('at Final remove', this.addressList);\n}\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\n \n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress(2);\n this.loadDetails=true;\n }\n else{\n this.getAddress(1);\n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n this.removeOptionOnAutoComplete(i);\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n // if(values!=null) {\n // return values.id==0 ? true : false;\n // }\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \n }\n let modifyCompanyList : any=[];\n if(this.existCompanyList.length>0){\n modifyCompanyList = this.existCompanyList.map(element => {\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\n });\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.cons.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n \n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id,\n \n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder } from '@angular/forms';\n\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-future-plans-and-business-environment',\n templateUrl: 'pd-question-future-plans-and-business-environment.html',\n})\nexport class PdQuestionFuturePlansAndBusinessEnvironmentPage {\n\n\n pdDetails: any;\n formDetails: any;\n pdid: any;\n FormId: any;\n company_id:any;\n users: any;\n product_abbr: any;\n lender_short_name: any;\n complete_status: boolean = false;\n tab: any = '0';\n imageDisplay: any = [];\n imageBucket: any = [];\n public _futurePlansForm: FormGroup;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public qustcat: QuestionCategoryProvider, public aws: AwsServiceProvider,\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,private constantProvider:ConstantsProvider) {\n\n \n this.formDetails=this.navParams.get('formDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid = this.pdDetails.pd_id\n this.FormId = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n this.users = aws.getlocale();\n this.lender_short_name = this.pdDetails.lender_short_name;\n this.product_abbr = this.pdDetails.product_abbr;\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n this._futurePlansForm = this.fb.group({\n parent_pdid: [this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: ['23'],\n company_id:[this.company_id],\n usp_of_the_business: [''],\n future_plans_for_business_expansion: [''],\n impact_of_gst_on_the_business: [''],\n key_competitors: [''],\n succession_plan: [''],\n brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''],\n remarks: [''],\n fk_createdby:[this.users]\n });\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage');\n this.getFuturePlans();\n this.getPDImages();\n }\n\n ionViewCanLeave() {\n \n if (this._futurePlansForm.dirty) {\n\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Data will be Lost\", \"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n return true;\n }\n else {\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n\n }\n else {\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n \n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n\n }\n\n }\n\n getFuturePlans() {\n let Records = { 'parent_pdid': this.pdDetails.parent_pd_id, \n 'pd_id': this.pdid, \n 'pd_form_id': this.FormId,\n 'company_id': this.company_id}\n this.qustcat.retiverForm(Records).subscribe(data => {\n if (data['dataStatus'] == true) {\n this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business);\n this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion);\n this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business);\n this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors);\n this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan);\n this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants);\n this._futurePlansForm.controls.remarks.setValue(data['records'].remarks);\n }\n else { };\n })\n\n }\n\n saveFuturePlan() {\n if (this._futurePlansForm.invalid) {\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else {\n var answerData = this._futurePlansForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res => {\n if (res['dataStatus'] == true) {\n //TO CHANGE THE FORM STATE \n this._futurePlansForm.reset(this._futurePlansForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n }\n else {\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages() {\n //FOR RETRIEVING PICTURES\n this.imageDisplay = []\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id':this.pdDetails.company_id }\n this.qustcat.getPDImages(record_for_pic).subscribe(val => {\n if (!val['msg']) {\n \n if (val['records'].length > 0) {\n val['records'].forEach(result => {\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\n })\n \n }\n }\n })\n }\n\n changeName(value, index, img) {\n this.imageDisplay[index] = { 'image': img, 'Name': value }\n }\n\n changeNameForBucket(value, index, img) {\n this.imageBucket[index] = { 'image': img, 'Name': value }\n }\n\n removeImg(index) {\n this.imageDisplay.splice(index, 1);\n }\n\n removeImgForBucket(index) {\n this.imageBucket.splice(index, 1)\n }\n\n capture() {\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res => {\n \n if (res != 'error') {\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\n console.log(\"geo promise\",geoCoordinates)\n this.imageBucket.push({ 'image': res, 'Name': '' ,'link':geoCoordinates});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert = this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value => {\n if (value) {\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\n }\n })\n })\n }\n }, error => {\n console.log(\"Camera Error \", JSON.stringify(error));\n })\n this.tab = '1';\n\n\n }\n sendImage() {\n this.loading.loaderForSendImage()\n \n let records: any = {\n 'pd_id': this.pdDetails.pd_id,\n 'formid': this.FormId,\n 'images': this.imageBucket,\n 'company_id':this.company_id,\n \n }\n \n this.qustcat.savePDImages(records).subscribe(res => {\n if (res['dataStatus'] == true) {\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket = []\n this.getPDImages();\n }\n else {\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n/**\n * Generated class for the FormCompleteCheckModalPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-form-complete-check-modal',\n templateUrl: 'form-complete-check-modal.html',\n})\nexport class FormCompleteCheckModalPage {\n\n datas:any\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n this.datas=this.navParams.get('values');\n console.log(this.datas)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FormCompleteCheckModalPage');\n\n }\n closeModal(){\n this.navCtrl.pop();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/form-complete-check-modal/form-complete-check-modal.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n \n\n@Component({\n selector: 'page-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule,Config, Events } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\nimport {FormCompleteCheckModalPage} from '../pages/form-complete-check-modal/form-complete-check-modal'\n//import { FCM } from '@ionic-native/fcm/ngx';\n\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { SearchRelationPipe } from '../pipes/search-relation/search-relation';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {BackgroundGeolocation} from '@ionic-native/background-geolocation'\nimport {ModalScaleUpEnterTransition} from '../app/modalanimations/enter'\nimport {ModalScaleUpLeaveTransition} from '../app/modalanimations/leave'\nimport {Push} from '@ionic-native/push'\n\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,SearchRelationPipe,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage,\n FormCompleteCheckModalPage\n \n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,BackgroundGeolocation,\n Push,Events,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {\n\n constructor(public config:Config){\n this.setCustomTransitionsForModal()\n }\n private setCustomTransitionsForModal() {\n this.config.setTransition('modal-scale-up-leave', ModalScaleUpLeaveTransition);\n this.config.setTransition('modal-scale-up-enter', ModalScaleUpEnterTransition);\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform, Events } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\nimport {Push,PushOptions,PushObject} from '@ionic-native/push'\nimport { CookieStorage } from 'amazon-cognito-identity-js';\nimport {ToastProvider} from '../providers/common-provider/toast'\n\ndeclare let notificationAccess:boolean\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n \n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService,private push:Push,private event:Events,private toastProvider:ToastProvider) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n \n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n this.notification()\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n this.unregisterNotification()\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n notificationAccess=true\n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n notification(){\n // this.nav.setRoot(this.nav.getActive().component);\n this.push.hasPermission().then((res: any) => {\n \n if (res.isEnabled) {\n console.log('We have permission to send push notifications');\n } else {\n console.log('We do not have permission to send push notifications');\n }\n \n });\n const option:PushOptions={\n android:{\n senderID:'893175418100'\n },\n ios: {\n alert: 'true',\n badge: true,\n sound: 'false'\n },\n windows: {},\n browser: {\n pushServiceURL: 'http://push.api.phonegap.com/v1/push'\n }\n }\n const pushObject:PushObject=this.push.init(option);\n if(notificationAccess){\n\n pushObject.on('notification').subscribe((notification: any) =>{\n console.log('Received a notification', notification)\n if(notification.additionalData.foreground){\n this.event.publish('alert',notification);\n this.toastProvider.setAlertwithButton(notification)\n }\n else{\n this.event.publish('notify',notification);\n //this.nav.setRoot(PdListPage,{notify:'Via Notification'});\n this.rootPage=PdListPage\n }\n });\n }\n else{\n console.log(\"Sorry you dont have notification access\");\n }\n \n\n pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration));\n\n pushObject.on('error').subscribe(error => console.error('Error with Push plugin', error));\n \n }\n unregisterNotification(){\n // PushObject.unregister(()=>console.log(\"Notification is Unregistered\"))\n // this.push.unregister()\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[{\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n },\n ]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertwithButton(data){\n let alert =this.alertCtrl.create({\n title: 'Notification',\n subTitle:data.title ,\n message:data.message,\n buttons: ['OK']\n })\n alert.present();\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpEnterTransition extends PageTransition {\n\npublic init() {\n const ele = this.enteringView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)');\n wrapper.fromTo('opacity', 1, 1);\n\n this\n .element(this.enteringView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/enter.ts","import { Animation, PageTransition } from 'ionic-angular';\n\nexport class ModalScaleUpLeaveTransition extends PageTransition {\n\npublic init() {\n const ele = this.leavingView.pageRef().nativeElement;\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\n const contentWrapper = new Animation(this.plt, ele.querySelector('.wrapper'));\n\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\n wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)');\n wrapper.fromTo('opacity', 1, 1);\n contentWrapper.fromTo('opacity', 1, 0);\n\n this\n .element(this.leavingView.pageRef())\n .duration(500)\n .easing('cubic-bezier(.1, .7, .1, 1)')\n .add(contentWrapper)\n .add(wrapper);\n}\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/leave.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n updateSchedule(updateData){\n return this.http.post(this.apiurl + \"schdulePD\", { \"records\": updateData })\n }\n\n\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n pdFormsCompletenessCheck(pd_id){\n return this.http.post(this.apiurl+'pdFormsCompletenessCheck',{'pd_id':pd_id,'client':'MOB'})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides, Events } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n\n notification:any=[]\n from:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions,private event:Events) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n this.event.subscribe('notify',(res)=>{\n this.notification.push(res);\n })\n \n this.from=this.navParams.get('notify')\n console.log(\"from\",this.from);\n console.log(\"notification via event\",this.notification);\n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" || sch.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/storage/storage.ts","../../src/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../src/providers/common-provider/loading.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/search-relation/search-relation.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","../../src/pages/form-complete-check-modal/form-complete-check-modal.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/providers/common-provider/toast.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/app/modalanimations/enter.ts","../../src/app/modalanimations/leave.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/aws-service/aws-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;IAGD,kDAAe,GAAf,UAAgB,IAAI;QAElB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAC,yBAAyB,GAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,+CAAY,GAAZ,UAAa,QAAQ;QAEjB,IAAI,OAAO,GAAG,EAAC,SAAS,EAAC,CAAC,QAAQ,CAAC,EAAC,CAAC;QACrC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAGD,oDAAiB,GAAjB,UAAkB,WAAW;QAE3B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,WAAW,CAAC,CAAC;IACnE,CAAC;IAED;;;OAGG;IACH,gDAAa,GAAb,UAAc,SAAS;QAGrB,gCAAgC;QAC9B,IAAI,OAAO,GAAG,EAAC,aAAa,EAAC,SAAS,EAAC;QACzC,wBAAwB;QACxB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CA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EAAC,cAAc,EAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC;QACzF,IAAI,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAE9B,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAC,iBAAiB,EAAC,QAAQ,CAAC,CAAC;IAChE,CAAC;IA3JU,kBAAkB;QAD9B,yEAAU,EAAE;yCAGa,wEAAU,EAAe,gFAAsB,EAAY,+EAAiB;OAFzF,kBAAkB,CA4J9B;IAAD,yBAAC;CAAA;AA5J8B","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ConstantsProvider } from '../constants/constants';\r\nimport { Observable } from 'rxjs';\r\nimport {CacheService} from 'ionic-cache'\r\n\r\n/*\r\n Generated class for the QuestionCategoryProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class QuestionCategoryProvider {\r\napiurl:any;\r\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\r\n console.log('Hello QuestionCategoryProvider Provider');\r\n this.apiurl = constant.apiurl();\r\n }\r\n \r\n \r\n getLoadTemplate(pdid)\r\n {\r\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\r\n }\r\n saveQusetion(saveData)\r\n {\r\n let records = {'records':[saveData]};\r\n return this.http.post(this.apiurl+'savePDQuestions',records);\r\n }\r\n\r\n \r\n getAnswerTemplate(qustDetails)\r\n {\r\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\r\n }\r\n\r\n /***\r\n * Get PD Questions dropdown api\r\n * sriram\r\n */\r\n getcommondrop(tableName)\r\n {\r\n \r\n // return Observable.defer(()=>{\r\n let masters = {'master_name':tableName}\r\n // let cacheid=tableName\r\n return this.http.post(this.apiurl+'getListOfMaster',masters);\r\n // let data= this.http.post(this.apiurl+'getListOfMaster',masters);\r\n //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d')\r\n // })\r\n }\r\n\r\n saveForm(records)\r\n { let record = {'records':records};\r\n return this.http.post(this.apiurl+'savePDFormDetails',record);\r\n }\r\n\r\n retiverForm(records)\r\n {\r\n return this.http.post(this.apiurl+'getPDFormDetails',records);\r\n }\r\n\r\n /**Assessed Form Details API */\r\n saveassessedForms(api,saveData)\r\n {\r\n return this.http.post(this.apiurl+api,saveData);\r\n }\r\n\r\n retiverassessedForm(api,records)\r\n {\r\n console.log(\"rec\",records)\r\n return this.http.post(this.apiurl+api,records);\r\n }\r\n\r\n updatePdApplicant(editData: any) {\r\n // editData.fk_updatedby = this._aws.getlocale();\r\n // editData.updatedon = currentdate;\r\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\r\n\r\n \r\n}\r\n\r\ngetEndUseForLoan(pdid:any,subproduct){\r\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\r\n}\r\ngetCompaniesListsForBusiness(pdid:any){\r\n // let cacheKey=pdid\r\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\r\n // return this.cache.loadFromObservable(cacheKey,data)\r\n}\r\ngetStateWiseCities(stateid:any){\r\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\r\n}\r\ngetAllPersonsName(pdid:any){\r\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\r\n \r\n}\r\ngetStateCityDetails(){\r\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\r\n}\r\ngetAssetsWithLoanFromBusiness(pdid:any){\r\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\r\n\r\n}\r\n\r\n\r\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\r\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\r\n}\r\n\r\n/** For Stock Details \r\n * To Get The Products With TypeofActivity From Business \r\n **/\r\nstockFormAccess(pdid: any,companyid: any) {\r\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\r\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\r\n}\r\n\r\n\r\n\r\n/*****Save Images */\r\nsavePDImages(imagesDetails)\r\n{ \r\n let record = {'records':imagesDetails};\r\n return this.http.post(this.apiurl+'savePDPhotos',record);\r\n}\r\ngetPDImages(records){\r\n let record={'records':records};\r\n return this.http.post(this.apiurl+'getPDImages',record);\r\n}\r\ngetFamilyDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\r\n}\r\ngetAddressDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\r\n}\r\ngetStateCityNamesAndPincode(values:any){\r\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\r\n}\r\n // get customers list\r\ngetCustomersDetails(): Observable {\r\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\r\n \r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {Geolocation} from '@ionic-native/geolocation'\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\n// import {C} from '../../constants'\r\nimport {environment as ENV} from '../../environments/environment'\r\n\r\n\r\n/*\r\n Generated class for the ConstantsProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ConstantsProvider {\r\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\r\n constructor(public http: HttpClient,private geo:Geolocation,private locationAccuracy:LocationAccuracy) {\r\n console.log('Hello ConstantsProvider Provider');\r\n }\r\n\r\n apiurl()\r\n {\r\n let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';\r\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\r\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\r\n let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';\r\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\r\n let sparqprod= 'https://pdgenie.com/sparqprod/'\r\n return testapiurl;\r\n }\r\n\r\n getcurrentDate()\r\n {\r\n var today = new Date();\r\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\r\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\r\n var time = today.getHours() + \":\" + today.getMinutes();\r\n let CurrentDate = date+\"T00:00\";\r\n return CurrentDate.toString();\r\n }\r\n \r\n convertNumberToWords(price) {\r\n price = price.toString();\r\n let atemp = price.split(\".\");\r\n let amount = atemp[0];\r\n\r\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\r\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\r\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\r\n \r\n handle_tens = function(dgt, prevDgt) {\r\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\r\n },\r\n handle_utlc = function(dgt, nxtDgt, denom) {\r\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\r\n };\r\n\r\n var str = \"\",\r\n digitIdx = 0,\r\n digit = 0,\r\n nxtDigit = 0,\r\n words = [];\r\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\r\n else if (parseInt(amount) > 0 && amount.length <= 10) {\r\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \r\n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\r\n case 0:\r\n words.push(handle_utlc(digit, nxtDigit, \"\"));\r\n break;\r\n case 1:\r\n words.push(handle_tens(digit, amount[digitIdx + 1]));\r\n break;\r\n case 2:\r\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\r\n break;\r\n case 3:\r\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\r\n break;\r\n case 4:\r\n words.push(handle_tens(digit, amount[digitIdx + 1]));\r\n break;\r\n case 5:\r\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\r\n break;\r\n case 6:\r\n words.push(handle_tens(digit, amount[digitIdx + 1]));\r\n break;\r\n case 7:\r\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\r\n break;\r\n case 8:\r\n words.push(handle_tens(digit, amount[digitIdx + 1]));\r\n break;\r\n case 9:\r\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\r\n // break; \r\n // case 10:\r\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \r\n // : \"\")\r\n // break;\r\n }\r\n str = words.reverse().join(\"\")\r\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\r\n } else str = \"\";\r\n return str\r\n\r\n // var words = new Array();\r\n // words[0] = '';\r\n // words[1] = 'One';\r\n // words[2] = 'Two';\r\n // words[3] = 'Three';\r\n // words[4] = 'Four';\r\n // words[5] = 'Five';\r\n // words[6] = 'Six';\r\n // words[7] = 'Seven';\r\n // words[8] = 'Eight';\r\n // words[9] = 'Nine';\r\n // words[10] = 'Ten';\r\n // words[11] = 'Eleven';\r\n // words[12] = 'Twelve';\r\n // words[13] = 'Thirteen';\r\n // words[14] = 'Fourteen';\r\n // words[15] = 'Fifteen';\r\n // words[16] = 'Sixteen';\r\n // words[17] = 'Seventeen';\r\n // words[18] = 'Eighteen';\r\n // words[19] = 'Nineteen';\r\n // words[20] = 'Twenty';\r\n // words[30] = 'Thirty';\r\n // words[40] = 'Forty';\r\n // words[50] = 'Fifty';\r\n // words[60] = 'Sixty';\r\n // words[70] = 'Seventy';\r\n // words[80] = 'Eighty';\r\n // words[90] = 'Ninety';\r\n // amount = amount.toString();\r\n // var atemp = amount.split(\".\");\r\n // var number = atemp[0].split(\",\").join(\"\");\r\n // var n_length = number.length;\r\n // let value:any = \"\";\r\n // var words_string = \"\";\r\n // if (n_length <= 9) {\r\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\r\n // var received_n_array = new Array();\r\n // for (var i = 0; i < n_length; i++) {\r\n // received_n_array[i] = number.substr(i, 1);\r\n // }\r\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\r\n // n_array[i] = received_n_array[j];\r\n // }\r\n // for (var i = 0, j = 1; i < 9; i++, j++) {\r\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n // if (n_array[i] == 1) {\r\n // n_array[j] = 10 + parseInt(n_array[j]);\r\n // n_array[i] = 0;\r\n // }\r\n // }\r\n // }\r\n // value = \"\";\r\n // for (var i = 0; i < 9; i++) {\r\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n // value = n_array[i] * 10;\r\n // } else {\r\n // value = n_array[i];\r\n // }\r\n // if (value != 0) {\r\n // words_string += words[value] + \" \";\r\n // }\r\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\r\n // words_string += \"Crores \";\r\n // }\r\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\r\n // words_string += \"Lakhs \";\r\n // }\r\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\r\n // words_string += \"Thousand \";\r\n // }\r\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\r\n // words_string += \"Hundred and \";\r\n // } else if (i == 6 && value != 0) {\r\n // words_string += \"Hundred \";\r\n // }\r\n // }\r\n // words_string = words_string.split(\" \").join(\" \");\r\n // }\r\n // return words_string;\r\n}\r\n//FOR SEARCHABLE DROP DOWN\r\nsearchData(data,val: any,option) {\r\n let DataValue:any\r\n // let nameVal=name.toLowerCase()\r\n console.log(\"statedata\")\r\n if (!data) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n // this.filteredState.next(this.stateList.slice())\r\n DataValue=data.slice()\r\n return DataValue\r\n \r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n if(option == \"bank\"){\r\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\r\n return DataValue\r\n }\r\n else if(option == \"city\"){\r\n console.log(\"city\",data)\r\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\r\n return DataValue\r\n }\r\n else if(option == \"pin\"){\r\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\r\n return DataValue\r\n }\r\n else{\r\n //This is suitable for state\r\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\r\n return DataValue\r\n }\r\n // this.filteredState.next(\r\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\r\n // )\r\n }\r\n sentenceCase (str) {\r\n if ((str===null) || (str===''))\r\n return '';\r\n else\r\n str = str.toString();\r\n \r\n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\r\n }\r\n enableAccuracy()\r\n {\r\n return this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n return this.getGeoTag();\r\n // this.getcurrentBackgroundLocation();\r\n },\r\n error => console.log('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n });\r\n }\r\n getGeoTag(){\r\n return this.geo.getCurrentPosition().then(res=>{\r\n console.log(\"res from getGeoTag\",res.coords)\r\n console.log(\"res from provider\",new Date(res.timestamp))\r\n let lat=res.coords.latitude;\r\n let long=res.coords.longitude;\r\n let curr_pos=lat+\",\"+long\r\n return curr_pos\r\n }).catch(err=>console.log(\"error in getGeoTag\",err))\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,ModalController,ModalOptions, Modal } from 'ionic-angular';\r\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdQuestionPage } from '../pd-question/pd-question';\r\nimport Chart from 'chart.js';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\r\n\r\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\r\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\r\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\r\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\r\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment'\r\nimport {FormCompleteCheckModalPage} from '../form-complete-check-modal/form-complete-check-modal'\r\nimport {ConstantsProvider} from '../../providers/constants/constants'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionCategoryPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-category',\r\n templateUrl: 'pd-question-category.html',\r\n})\r\nexport class PdQuestionCategoryPage {\r\n searchTempForm: any;\r\n searchQuestion: any;\r\n viewchange: boolean;\r\n templateAccess: boolean;\r\n bgColortempForm: any=[];\r\n bgColorqustCat: any=[];\r\n dis_forms:any;\r\n // @ViewChild('doughnutCanvas') doughnutCanvas;\r\n pdinfo: any;\r\nquestionList:any;\r\nquestionCate:any;\r\nquestionCateAccess:boolean = null;\r\nquestionfinishedList:any =[];\r\npddetails:any=[];\r\noverallqustioncountAccess:boolean = true;\r\ndoughnutChart: any;\r\ncompletedAccess:any;\r\nsearchitem:any;\r\n enableAddonPD: boolean=false;\r\n pageTitle:string;\r\n complete_btn:boolean=true;\r\n complete_status : boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,\r\n public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,\r\n public pdstatusprovide:PdtriggerProvider, private modalCtrl:ModalController,private constantProvider:ConstantsProvider) {\r\n this.pddetails = this.navParams.get('pdDetails');\r\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\r\n \r\n let params: any={};\r\n params.pd_id = this.pddetails.pd_id;\r\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\r\n if (result['dataStatus'] === true) {\r\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\r\n console.log(\"addon\",this.enableAddonPD);\r\n }\r\n });\r\n\r\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\r\n \r\n this.constantProvider.enableAccuracy().then(res=>{\r\n console.log(\"Accuracy from Category Provider\",res)\r\n })\r\n\r\n }\r\n\r\n ionViewCanEnter()\r\n {\r\n this.getcategoryList(); \r\n }\r\n // doughuntChart()\r\n // {\r\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\r\n \r\n // type: 'doughnut',\r\n // data: {\r\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\r\n // datasets: [{\r\n // label: '# of Votes',\r\n // data: [12],\r\n // backgroundColor: [\r\n // // 'rgba(255, 99, 132, 0.2)',\r\n // 'rgba(54, 162, 235, 0.2)',\r\n // // 'rgba(255, 206, 86, 0.2)',\r\n // // 'rgba(75, 192, 192, 0.2)',\r\n // // 'rgba(153, 102, 255, 0.2)',\r\n // // 'rgba(255, 159, 64, 0.2)'\r\n // ],\r\n // hoverBackgroundColor: [\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\",\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\"\r\n // ]\r\n // }]\r\n // }\r\n\r\n // });\r\n // }\r\n ionViewDidLoad() {\r\n this.shared.refresh();\r\n //this.doughuntChart();\r\n console.log('ionViewDidLoad PdQuestionCategoryPage');\r\n }\r\n \r\n getcategoryList()\r\n {\r\n let j = 1;\r\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\r\n {\r\n this.questionCate = res;\r\n if(this.questionCate.dataStatus == true)\r\n {\r\n \r\n this.questionCate = this.questionCate.records;\r\n this.random_ng_past(); \r\n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\r\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\r\n // {\r\n // this.questionCateAccess = true;\r\n // this.templateAccess = true;\r\n // this.questionCate = this.questionCate;\r\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\r\n // this.searchQuestion = this.questionCate.question_answers;\r\n\r\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n // {\r\n // this.overallqustioncountAccess = false;\r\n // }else\r\n // {\r\n // this.overallqustioncountAccess = true;\r\n // }\r\n \r\n \r\n \r\n \r\n \r\n // }else \r\n if(this.questionCate.template_forms!='')\r\n {\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate\r\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\r\n console.log(\"temp\",this.questionCate);\r\n\r\n this.searchTempForm = this.questionCate.template_forms\r\n // for(let i of this.dis_forms){\r\n // if(i.)\r\n // }\r\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\r\n console.log(\"an len\",answered);\r\n if(answered.length == this.dis_forms.length){\r\n this.overallqustioncountAccess= true;\r\n }\r\n else{\r\n this.overallqustioncountAccess=false\r\n }\r\n \r\n \r\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n // {\r\n // this.overallqustioncountAccess = false;\r\n // }else\r\n // {\r\n // this.overallqustioncountAccess = true;\r\n // }\r\n }\r\n else\r\n {\r\n this.questionCateAccess = false;\r\n this.templateAccess = false; \r\n this.questionCate = \"No Template Available\";\r\n }\r\n }\r\n })\r\n \r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.questionCate.question_answers){\r\n var a = Math.floor(Math.random() * 256);\r\n var b = Math.floor(Math.random() * 256);\r\n var c = Math.floor(Math.random() * 256);\r\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\r\n \r\n }\r\n for(let id of this.questionCate.template_forms){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n questionsTag(categroyId){\r\n \r\n this.pdinfo = this.pddetails; \r\n \r\n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\r\n // if(this.questionCate.questions.length !=\"0\"){\r\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\r\n \r\n // }else\r\n // {\r\n // this.getcategoryList();\r\n // this.toast.pdTriggerappmessage('No Question Available');\r\n // }\r\n }\r\n\r\n tempQustionTag(categroyId)\r\n {\r\n //FOR UPDATING THE PD APPLICANT LIST\r\n this.pdinfo = this.pddetails; \r\n let newData= this.questionCate.pdapplicants_detials\r\n console.log(\"new Data\",newData);\r\n this.pdinfo.applicat_details=newData\r\n console.log(this.pdinfo);\r\n\r\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\r\n if(categroyId ==5)\r\n {\r\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n \r\n }else if(categroyId==12){\r\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }else if(categroyId==10)\r\n {\r\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==8){\r\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==13)\r\n {\r\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n \r\n }else if(categroyId==7)\r\n {\r\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n\r\n }else if(categroyId==6)\r\n {\r\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==4){\r\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==9){\r\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==3){\r\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==11)\r\n {\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==14)\r\n {\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==2)\r\n {\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId ==17)\r\n {\r\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }\r\n else if(categroyId==16)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==15)\r\n {\r\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==18)\r\n {\r\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==19)\r\n {\r\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }\r\n else if(categroyId==20)\r\n {\r\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n }\r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n // this.questionCate = this.searchQuestion;\r\n // this.questionCate.template_forms = this.searchTempForm;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n if(this.searchQuestion !== undefined){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\r\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n // return true;\r\n // }\r\n // })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\r\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n// return true;\r\n// }\r\n// })\r\n }\r\n }\r\n}\r\nPdFormCompletnessCheck(){\r\n this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(res=>{\r\n console.log(res['records']);\r\n if(res['records'].length > 0){\r\nconst modalOpt:ModalOptions={\r\n //component:FormCompleteCheckModalPage,\r\n // enterAnimation: 'modal-scale-up-enter',\r\n // leaveAnimation: 'modal-scale-up-leave',\r\n cssClass:\"pdimagecompleteModal\"\r\n}\r\nconst modal=this.modalCtrl.create(FormCompleteCheckModalPage,{'values':res['records']},modalOpt)\r\nmodal.present()\r\n }\r\n else{\r\n //alert(\"completed PD\")\r\n\t this.completePDAlert()\r\n }\r\n })\r\n}\r\ncompletePDAlert()\r\n{ \r\n if(!this.overallqustioncountAccess){// For checking Answered Forms\r\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\r\n return;\r\n }\r\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\r\n return new Promise(reject=>{\r\n let alert=this.toast.setAlertForCompletePD() \r\n alert.present();\r\n alert.onDidDismiss(data=>{\r\n if(data == 'yes'){\r\n \r\n this.completed('COMPLETED');\r\n }\r\n else if(data == 'addon'){\r\n this.completed('ADD_ON_PENDING')\r\n } \r\n else{\r\n reject();\r\n }\r\n })\r\n })\r\n}\r\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\r\n return new Promise(reject=>{\r\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\r\n alert.present()\r\n alert.onDidDismiss(data=>{\r\n if(data==false){\r\n reject()\r\n }\r\n else{\r\n this.completed('COMPLETED')\r\n }\r\n })\r\n })\r\n}\r\n}\r\n completed(status:string)\r\n {\r\n \r\n \r\n //alert.present();\r\n let users = this.aws.getlocale();\r\n if(!this.overallqustioncountAccess){// For checking Answered Forms\r\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\r\n }\r\n else{\r\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\r\n \r\n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.completedAccess = res;\r\n if(this.completedAccess.dataStatus == true)\r\n {\r\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\r\n setTimeout(()=>{\r\n this.navCtrl.setRoot(PdListPage);\r\n },2000);\r\n \r\n \r\n }\r\n })\r\n }\r\n}\r\n doRefresh(refresher) {\r\n this.questionCate = [];\r\n this.questionfinishedList = [];\r\n this.shared.refresh();\r\n this.getcategoryList();\r\n setTimeout(() => {\r\n refresher.complete();\r\n }, 2000);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {Storage} from '@ionic/storage'\r\nimport {ToastProvider} from '../common-provider/toast'\r\n\r\n/*\r\n Generated class for the StorageProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n//const storage_key='form_Datas'\r\n\r\n@Injectable()\r\nexport class StorageProvider {\r\n\r\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\r\n console.log('Hello StorageProvider Provider');\r\n }\r\ninsertData(data){\r\n this.toast.pdTriggerappmessage(this.storage.driver);\r\n const storage_key=data.pd_id\r\n console.log(\"storage provider\")\r\n console.log(data);\r\n console.log(JSON.stringify(data));\r\n \r\n console.log(\"sto\",this.storage.get(storage_key))\r\n return this.storage.get(storage_key).then((res)=>{\r\n console.log(\"res\",res)\r\n if(res != null ){\r\n let option:boolean=false\r\n if( res.length != 0 && res.length != undefined){\r\n // res.forEach((value)=>{\r\n // if(value.form_id==data.form_id){\r\n // option=true\r\n // }\r\n // })\r\n let current=res.filter(val=>val.form_id==data.form_id)\r\n console.log(\"current\",current);\r\n if(current.length > 0){\r\n let value:any=[]\r\n value.push(data)\r\n return this.storage.set(storage_key,value)\r\n }\r\n}\r\n let old_Data:any=[]\r\n old_Data=res\r\n console.log(\"old data\",old_Data)\r\n old_Data.push(data)\r\n return this.storage.set(storage_key,old_Data)\r\n \r\n }\r\n else{\r\n //res.push(data)\r\n // let dataValue=Object.keys(data).map(function(key){\r\n // return data[key];\r\n // })\r\n let value:any=[]\r\n value.push(data)\r\n return this.storage.set(storage_key,value)\r\n }\r\n })\r\n \r\n\r\n\r\n}\r\nretrieveLocalStorage(data){\r\n const storage_key=data.pd_id\r\n return this.storage.get(storage_key).then(res=>{\r\n console.log(\"storage get\",res)\r\n if(res != null){\r\n return res.filter(val=>val.form_id==data.form_id)\r\n \r\n }\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the RupeeCurrencyFormatPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'rupeeCurrencyFormat',\r\n})\r\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any):any {\r\n if (!isNaN(value) && value) {\r\n var currencySymbol = '₹';\r\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \r\n var result = value.toString().split('.');\r\n\r\n var lastThree = result[0].substring(result[0].length - 3);\r\n var otherNumbers = result[0].substring(0, result[0].length - 3);\r\n if (otherNumbers != '')\r\n lastThree = ',' + lastThree;\r\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\r\n \r\n if (result.length > 1) {\r\n output += \".\" + result[1];\r\n } \r\n\r\n return currencySymbol+output;\r\n }\r\n // return value.toLowerCase();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\r\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\r\nimport {MatDatepicker} from '@angular/material/datepicker';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \r\nimport { AuthPage } from '../auth/auth';\r\n\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { OtpPage } from '../otp/otp';\r\n\r\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\r\nimport {DatePipe } from '@angular/common';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { observable, Observable } from 'rxjs';\r\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\r\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\r\nimport {MapAddressPage} from '../../pages/map-address/map-address'\r\n\r\nimport {CameraProvider} from '../../providers/common-provider/camera' ;\r\nimport {LoadingProvider} from '../../providers/common-provider/loading';\r\nimport {StorageProvider} from '../../providers/storage/storage';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport {BackgroundGeolocation,\r\n BackgroundGeolocationConfig,\r\n BackgroundGeolocationResponse,\r\n BackgroundGeolocationEvents} from '@ionic-native/background-geolocation'\r\n/**\r\n * Generated class for the InputPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19);\r\n\r\n\r\n@Component({\r\n selector: 'page-input',\r\n templateUrl: 'input.html',\r\n})\r\n\r\n\r\nexport class InputPage {\r\n enableStartPD: boolean;\r\n diffInHours: number;\r\n updatestarted: any;\r\n updateinitiated: any;\r\n appdata: any;\r\n users: any;\r\n initiatedAccess: boolean = false;\r\n scheduleAccess: boolean = false;\r\napplicatentDetails:any;\r\nmaxdate :any;\r\npipe = new DatePipe('en-US');\r\nupdateStatus:any;\r\nscheduleDate:any;\r\nupdateSchedule:any;\r\nacceptedAccess:boolean = false;\r\nstartedAccess:boolean = false;\r\ntimeOut:any = 15*1000;\r\ntimeInterval:any;\r\ncurrentPosPDofficer:any;\r\nother_applicant:any=[];\r\nloadDetails=false;\r\nmainApplicant:any=[]\r\npdMaster:any=[]\r\nimageDisplay: any=[];\r\nimageBucket: any=[];\r\ncheckOtpAccess:boolean = false;\r\n@ViewChild('focusinp') input_focus ;\r\n@ViewChild('scroll') scrolltop : Content;\r\n addresses: any=[];\r\n address_pd_id: any;\r\n address_pd_status: any='';\r\n address_allocated_data:any\r\n add_requirements:any;\r\n requirement_hide: boolean=true;\r\n // address_child_schedule_time:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\r\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\r\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\r\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController,\r\n public qustCat: QuestionCategoryProvider,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider,public storagedb:StorageProvider,private backgroundgeolocation:BackgroundGeolocation) {\r\n \r\n \r\n\r\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\r\n // this.maxdate=new Date().toLocaleString();\r\n \r\n var date=new Date('dd');\r\n //console.log(date)\r\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\r\n console.log(\"today\",curr)\r\n /***Header value pass */\r\n this.statusBar.styleDefault();\r\n \r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\r\n \r\n \r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n \r\n // this.getFullPD();\r\n \r\n \r\n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n // {\r\n // this.acceptedAccess = true;\r\n // }\r\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n // {\r\n // this.scheduleAccess = true;\r\n // }\r\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n // {\r\n \r\n // this.initiatedAccess = true;\r\n // }\r\n // //console.log(this.initiatedAccess);\r\n // if(this.applicatentDetails.pd_status == 'INITIATED')\r\n // {\r\n // this.startedAccess = true;\r\n // this.getenableAccuracy();\r\n \r\n // }\r\n this.users = this.aws.getlocale();\r\n this.requirement_hide=false;\r\n // this.getcurrentBackgroundLocation();\r\n }\r\n ionViewCanEnter(){\r\n this.getFullPD();\r\n \r\n }\r\n // ionViewDidEnter(){\r\n // console.log(\"ionViewDidEnter\")\r\n // this.getFullPD();\r\n // }\r\n \r\n ionViewDidLoad() {\r\n this.setPermission();\r\n console.log('ionViewDidLoad InputPage' ); \r\n this.getPDImages();\r\n }\r\n ionViewCanLeave()\r\n {\r\n clearInterval(this.timeInterval);\r\n }\r\n locationnavicate(index)\r\n {\r\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\r\n let data=this.addresses[index]\r\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\r\n //console.log(\"add\",address_full)\r\n this.launchNavigator.navigate(address_full);\r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n\r\n getFullPD()\r\n {\r\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\r\n let records = {'pdid':pdDetails_pdid};\r\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.add_requirements=res['records'].pd_additional_requirements;\r\n this.requirement_hide=res['records'].pd_additional_requirements.length == 0 ? true : false\r\n console.log(\"req\",this.add_requirements.length);\r\n \r\n console.log(\"req\",this.requirement_hide);\r\n this.other_applicant=res['records'].applicants_details\r\n this.mainApplicant=res['records'].applicants_details[0]\r\n this.pdMaster=res['records'].pd_master_details[0]\r\n console.log(\"other\",this.mainApplicant)\r\n this.addresses=res['records'].pd_address\r\n this.address_pd_id=this.addresses.addtional_pd_data\r\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \r\n this.addresses.forEach(res=>{\r\n console.log(\"address\",res);\r\n if(res.addtional_pd_data.length != 0){\r\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS'){\r\n this.address_pd_id=res.addtional_pd_data[0].pd_id\r\n this.address_pd_status=res.addtional_pd_data[0].pd_status\r\n this.address_allocated_data=res.addtional_pd_data[0]\r\n \r\n console.log(\"pd\",this.address_pd_id)\r\n return;\r\n }\r\n }\r\n })\r\n //FOR CHANGING THE PD ID based on assigned pd address\r\n //this.applicatentDetails.pd_id=this.address_pd_id\r\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\r\n if(this.address_pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.address_pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.address_pd_status == 'SCHEDULED')\r\n {\r\n \r\n this.initiatedAccess = true;\r\n }\r\n //console.log(this.initiatedAccess);\r\n if(this.address_pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.getenableAccuracy();\r\n \r\n }\r\n if(this.address_pd_status == 'STARTED')\r\n {\r\n this.checkOtpAccess=true;\r\n }\r\n console.log(\"address allocated\",this.address_allocated_data);\r\n console.log(this.other_applicant);\r\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\r\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \r\n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\r\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\r\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\r\n console.log(diffInHours);\r\n \r\n if(diffInHours <-4){\r\n this.enableStartPD=true;\r\n }\r\n else\r\n {\r\n this.enableStartPD = false;\r\n }\r\n }\r\n this.loadDetails=true\r\n } \r\n \r\n })\r\n \r\n }\r\n pdStatus(status,appdetails)\r\n {\r\n let data :any;\r\n \r\n if(status == 'BOUNCED')\r\n {\r\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.navCtrl.push(BouncedRejectPage,{'details':data})\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n // {\r\n // this.updateStatus = res;\r\n // if(this.updateStatus.dataStatus == true)\r\n // {\r\n // this.navCtrl.setRoot(PdListPage); \r\n // }\r\n // })\r\n }else if(status == 'ACCEPTED')\r\n {\r\n \r\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n console.log('dasdsfdsffds',res);\r\n this.updateStatus = res;\r\n if(this.updateStatus.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n \r\n this.scheduleAccess = true;\r\n \r\n }else\r\n {\r\n this.scheduleAccess = false;\r\n }\r\n })\r\n }\r\n \r\n }\r\n\r\n pdschedule(scheduledate,appdetails)\r\n {\r\n \r\n let data :any;let param : any;\r\n console.log(scheduledate);\r\n if(scheduledate != undefined){\r\n let schDate = scheduledate.slice(0,19).replace('T',' ');\r\n console.log(schDate);\r\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n //sample format : fk_pd_id: \"868\", schedule_time: \"2019-05-30 18:51\", fk_scheduled_by: \"165\";\r\n param = {'fk_pd_id': this.address_pd_id, 'schedule_time':schDate, 'fk_scheduled_by': this.users}\r\n this.pdDetails.updateSchedule(param).subscribe(res=>\r\n {\r\n this.updateSchedule = res;\r\n if(this.updateSchedule.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n \r\n this.initiatedAccess = true;\r\n }\r\n });\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\r\n this.input_focus.setFocus();\r\n //this.input_focus.scrollToTop();\r\n this.scrolltop.scrollTop;\r\n }\r\n}\r\n\r\n getenableAccuracy()\r\n {\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.getcurrentLocation();\r\n this.getcurrentBackgroundLocation();\r\n },\r\n error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n getcurrentLocation() \r\n {\r\n let data:any;\r\n let options = {\r\n frequency: 3000, \r\n enableHighAccuracy: true,\r\n timeOut:1000,\r\n };\r\n \r\n this.timeInterval = setInterval(()=>{\r\n this.currentPosPDofficer = '';\r\n this.geolocation.getCurrentPosition(options).then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n if((resp as Geoposition).coords !=undefined){\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\r\n console.log(this.currentPosPDofficer);\r\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\r\n {\r\n console.log(\"geoLocation data\",data)\r\n // this.updateinitiated = res;\r\n // if(this.updateinitiated.dataStatus == true)\r\n // { \r\n // // this.getNewpdupdate();\r\n // // this.startedAccess = true;\r\n // }else\r\n // {\r\n // this.startedAccess = false;\r\n // }\r\n })\r\n }\r\n }).catch((error)=>{\r\n this.toast.pdTriggerappmessage(error.message);\r\n })\r\n \r\n },this.timeOut);\r\n }\r\n\r\n getcurrentBackgroundLocation() \r\n {\r\n let data:any\r\n const config:BackgroundGeolocationConfig={\r\n desiredAccuracy: 10,\r\n stationaryRadius: 20,\r\n distanceFilter: 30,\r\n debug: false, // enable this hear sounds for background-geolocation life-cycle.\r\n stopOnTerminate: false // enable this to clear background location settings when the app terminates\r\n };\r\n console.log(\"getCurrent Location 1 function\")\r\n this.backgroundgeolocation.configure(config).then(()=>{\r\n this.backgroundgeolocation.on(BackgroundGeolocationEvents.location)\r\n .subscribe((location:BackgroundGeolocationResponse)=>{\r\n //this.toast.pdTriggerappmessage(\"alert for loca, \"+location)\r\n console.log(\"background geo location\",location);\r\n let pos=location.latitude+\",\"+location.longitude\r\n data = {'pd_id':this.address_pd_id,'link':pos};\r\n\r\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>{\r\n console.log(\"saved location in Api\",res);\r\n\r\n },err=>{\r\n console.log(\"Not saved in Api\",err);\r\n })\r\n },err=>{\r\n console.log(\"Error in background geolocation subscribtion\")\r\n })\r\n },err=>{\r\n console.log(\"Error in background geolocation configuration\")\r\n })\r\n this.backgroundgeolocation.start();\r\n \r\n // let data:any;\r\n // let options = {\r\n // frequency: 3000, \r\n // enableHighAccuracy: true,\r\n // timeOut:1000,\r\n // };\r\n \r\n // this.timeInterval = setInterval(()=>{\r\n // this.currentPosPDofficer = '';\r\n // this.geolocation.getCurrentPosition(options).then((resp) => {\r\n // // resp.coords.latitude\r\n // // resp.coords.longitude\r\n // if((resp as Geoposition).coords !=undefined){\r\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n // // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\r\n // console.log(this.currentPosPDofficer);\r\n // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\r\n\r\n\r\n // this.pdDetails.saveCurrentLocation(data).subscribe(res=>\r\n // {\r\n // console.log(\"geoLocation data\",data)\r\n // // this.updateinitiated = res;\r\n // // if(this.updateinitiated.dataStatus == true)\r\n // // { \r\n // // // this.getNewpdupdate();\r\n // // // this.startedAccess = true;\r\n // // }else\r\n // // {\r\n // // this.startedAccess = false;\r\n // // }\r\n // })\r\n // }\r\n // }).catch((error)=>{\r\n // this.toast.pdTriggerappmessage(error.message);\r\n // })\r\n \r\n // },this.timeOut);\r\n }\r\n pdreschedule()\r\n {\r\n this.scheduleAccess = true;\r\n this.initiatedAccess = false;\r\n }\r\n \r\n\r\n pdinitiated(appdetails)\r\n { let data:any;\r\n\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\r\n console.log(\"mobile\",mobile_no)\r\n if(mobile_no ==undefined){\r\n mobile_no=this.mainApplicant.mobile_no\r\n }\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateinitiated = res;\r\n if(this.updateinitiated.dataStatus == true)\r\n { \r\n this.getNewpdupdate();\r\n this.getcurrentLocation();\r\n this.getcurrentBackgroundLocation()\r\n this.startedAccess = true;\r\n }else\r\n {\r\n this.startedAccess = false;\r\n }\r\n })\r\n }).catch((error) => {\r\n console.log('Error getting location', error);\r\n });\r\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n },error=>{\r\n console.log(\"currnpd\",this.currentPosPDofficer);\r\n alert(JSON.stringify(error))\r\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\r\n console.log(\"mobile\",mobile_no)\r\n if(mobile_no ==undefined){\r\n mobile_no=this.mainApplicant.mobile_no\r\n }\r\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateinitiated = res;\r\n if(this.updateinitiated.dataStatus == true)\r\n { \r\n console.log(\"status\",\"true\");\r\n this.getNewpdupdate();\r\n this.getcurrentLocation();\r\n this.getcurrentBackgroundLocation();\r\n this.startedAccess = true;\r\n }else\r\n {\r\n this.startedAccess = false;\r\n }\r\n })\r\n });\r\n }\r\n checkOTP(appdetails){\r\n let data:any;\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\r\n console.log(\"mobile\",mobile_no)\r\n if(mobile_no ==undefined){\r\n mobile_no=this.mainApplicant.mobile_no\r\n }\r\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\r\n console.log(data);\r\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\r\n{\r\n this.updatestarted = res;\r\nif(this.updatestarted.dataStatus == true)\r\n{\r\n //appdetails.pd_id=this.address_pd_id\r\n //clearInterval(this.timeInterval);\r\n //console.log(\"appdetails\",appdetails)\r\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\r\n this.getNewpdupdate();\r\n this.startedAccess=false\r\n this.checkOtpAccess=true\r\n \r\n}\r\nelse{\r\n this.checkOtpAccess=false\r\n}\r\n\r\n},err=>alert(JSON.stringify(err)));\r\n // console.log('Buy clicked');\r\n },err=>{\r\n alert(JSON.stringify(err))\r\n })\r\n }\r\n\r\n startPdDiscussion()\r\n {\r\n\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'Start Discussion',\r\n message: 'Are you starting the Discussion',\r\n buttons: [\r\n {\r\n text: 'No',\r\n role: 'cancel',\r\n handler: () => {\r\n \r\n // console.log('Cancel clicked');\r\n // this.toast.pdTriggerappmessage('')\r\n }\r\n },\r\n {\r\n text: 'YES',\r\n handler: () => {\r\n // this.geolocation.getCurrentPosition().then((resp) => {\r\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n \r\n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\r\n // console.log(data);\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n // {this.updatestarted = res;\r\n // if(this.updatestarted.dataStatus == true)\r\n // {\r\n // appdetails.pd_id=this.address_pd_id\r\n // clearInterval(this.timeInterval);\r\n // console.log(\"appdetails\",appdetails)\r\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\r\n // }\r\n \r\n // })\r\n // // console.log('Buy clicked');\r\n // })\r\n clearInterval(this.timeInterval);\r\n this.backgroundgeolocation.finish();\r\n this.backgroundgeolocation.stop();\r\n //FOR GIVING THE CORRECT ADDRESS MASTER\r\n console.log(\"address\",this.address_allocated_data);\r\n //Assigning applicant details to the params\r\n let pdValues= this.address_allocated_data\r\n pdValues.applicat_details=this.other_applicant\r\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\r\n } \r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n getNewpdupdate()\r\n {\r\n console.log(\"Started\",this.startedAccess)\r\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\r\n this.acceptedAccess = false;\r\n this.initiatedAccess = false;\r\n this.scheduleAccess = false;\r\n this.startedAccess = false;\r\n this.checkOtpAccess = false;\r\n this.pdDetails.getpddetails(this.users).subscribe(res=>\r\n {\r\n this.appdata = res;\r\n if(this.appdata.dataStatus == true)\r\n {\r\n \r\n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\r\n // this.address_pd_status=this.applicatentDetails\r\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\r\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\r\n let rec_pdid = {'pdid':pdDetails_pdid};\r\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\r\n if(result['dataStatus']==true){\r\n this.addresses= result['records'].pd_address\r\n result['records'].pd_address.forEach(data=>{\r\n if(data.addtional_pd_data.length != 0){\r\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'|| data.addtional_pd_data[0].pd_status == 'INPROGRESS'){\r\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\r\n this.address_pd_status=data.addtional_pd_data[0].pd_status\r\n // this.address_allocated_data=data.addtional_pd_data[0]\r\n console.log(\"pd\",this.address_pd_id)\r\n return;\r\n }\r\n }\r\n })\r\n \r\n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n // {\r\n // this.acceptedAccess = true;\r\n // }\r\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n // {\r\n // this.scheduleAccess = true;\r\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\r\n // }\r\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n // {\r\n // this.initiatedAccess = true;\r\n // this.getFullPD();\r\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\r\n // }\r\n\r\n // if(this.applicatentDetails.pd_status == 'INITIATED')\r\n // {\r\n // this.startedAccess = true;\r\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\r\n // }\r\n\r\n if(this.address_pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.address_pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\r\n }\r\n if(this.address_pd_status == 'SCHEDULED')\r\n {\r\n this.initiatedAccess = true;\r\n this.getFullPD();\r\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\r\n }\r\n\r\n if(this.address_pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\r\n }\r\n if(this.address_pd_status == 'STARTED'){\r\n this.checkOtpAccess=true;\r\n }\r\n \r\n }\r\n })\r\n }\r\n \r\n })\r\n console.log(\"app\",this.applicatentDetails);\r\n \r\n }\r\n\r\n camerasetup()\r\n {\r\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\r\n }\r\n\r\n inprogress(data,address_child){\r\n // data.pd_id=address_child.pd_id\r\n console.log(address_child)\r\n let pdValues=address_child\r\n pdValues.applicat_details=this.other_applicant\r\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\r\n }\r\n mapAddress(values){\r\n const modalOptions:ModalOptions={\r\n cssClass:\"mapAddress\"\r\n }\r\n \r\n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\r\n modal.present();\r\n modal.onDidDismiss((data)=>{\r\n console.log(\"datas\",data)\r\n this.getFullPD();\r\n })\r\n }\r\n\r\n inWords(e){\r\n return this.constant.convertNumberToWords(+e)+' Only';\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.applicatentDetails.pd_id,'form_id':null,'company_id':null,'is_common':1}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n\r\n if(!val['msg']){\r\n // res = this.customfilter(res); \r\n console.log('val[records]',val['records']);\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n\r\n capture(){\r\n \r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n \r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geocoords\",geoCoordinates)\r\n \r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n \r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n \r\n\r\n \r\n }\r\n\r\n customfilter(res){\r\n console.log('custome filter');\r\n return res.filter(data=>data.fk_form_id != null);\r\n }\r\n\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n let records:any={\r\n 'pd_id':this.applicatentDetails.pd_id,\r\n 'formid':null,\r\n 'images':this.imageBucket,\r\n 'company_id':null\r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Geolocation } from '@ionic-native/geolocation'; \r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n/**\r\n * Generated class for the OtpPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-otp',\r\n templateUrl: 'otp.html',\r\n})\r\nexport class OtpPage {\r\n\r\n \r\n timeLimit: any;\r\n reason_otp: any;\r\n users: any;\r\n timerOn: boolean = true;\r\n balance_time: string;\r\n otpStatus: any;\r\n pin:any;\r\n otpStatusAccess:boolean = true;\r\n applicatentDetails: any;\r\n commonImage:any;\r\n maxtime: any=30;\r\n //address_pd_id:any;\r\n \r\n reasonForm:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n console.log(\"this\",this.applicatentDetails);\r\n // this.address_pd_id=this.navParams.get('address_pd_id')\r\n this.users = this.aws.getlocale();\r\n console.log(\"user\",this.users)\r\n this.reasonForm = this.fb.group(\r\n {\r\n reason:[null,Validators.compose([Validators.required])],\r\n others_reason:[null],\r\n })\r\n \r\n this.getDropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad OtpPage');\r\n }\r\n ionViewDidEnter(){\r\n //this.Menu.enable(false);\r\n this.setPermission();\r\n this.timer(120);\r\n \r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n ionViewWillLeave(){\r\n //this.Menu.enable(true);\r\n clearTimeout(this.timeLimit);\r\n }\r\n getDropdown()\r\n {\r\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\r\n console.log(this.reason_otp);\r\n \r\n }\r\n })\r\n }\r\n checkotp(otp)\r\n {\r\n //console.log(\"Otp\",otp)\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n //console.log(\"Otp\",res)\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }\r\n\r\n timer(remaining) {\r\n // console.log(remaining);\r\n let m:any = Math.floor(remaining / 60);\r\n let s:any = remaining % 60;\r\n \r\n m = m < 10 ? '0' + m : m;\r\n s = s < 10 ? '0' + s : s;\r\n // var balance_time = m + ':' + s;\r\n this.balance_time = m + ':' + s;\r\n remaining -=1;\r\n // console.log(this.balance_time);\r\n if(remaining >= 0 && this.timerOn) {\r\n this.timeLimit = setTimeout(()=> {\r\n this.timer(remaining);\r\n }, 1000);\r\n return;\r\n }\r\n \r\n if(!this.timerOn) {\r\n // Do validate stuff here\r\n return;\r\n }\r\n \r\n // Do timeout stuff here\r\n \r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'OTP Expired ',\r\n message: 'Do you want to resend the OTP ? ',\r\n buttons: [\r\n {\r\n text: 'Start PD Without OTP',\r\n \r\n handler: () => {\r\n \r\n this.otpStatusAccess = false;\r\n }\r\n },\r\n {\r\n text: 'Resend OTP',\r\n handler: () => {\r\n \r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\r\n console.log(data);\r\n this.pddetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.timer(60);\r\n })\r\n });\r\n // console.log('Buy clicked');\r\n \r\n } \r\n }\r\n \r\n ]\r\n \r\n });\r\n alert.present();\r\n }\r\n \r\n saveotpreasno()\r\n {\r\n console.log(this.reasonForm.value);\r\n if(this.reasonForm.valid)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\r\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\r\n/**\r\n * Generated class for the PdQuestionRentalDashPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n// @IonicPage()\r\n@Component({\r\n selector: 'page-pd-question-rental-dash',\r\n templateUrl: 'pd-question-rental-dash.html',\r\n providers:[RupeeCurrencyFormatPipe]\r\n})\r\nexport class PdQuestionRentalDashPage {\r\n pdDetails:any;\r\n form_details:any;\r\n pageTitle:any\r\n existing_rental_count_id: number=0;\r\n existing_rental_list: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.form_details=this.navParams.get('FormId');\r\n console.log(this.form_details);\r\n \r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\r\n \r\n }\r\n ionViewCanEnter(){\r\n this.getAllRentalInfo();\r\n }\r\n getAllRentalInfo(){\r\n this.existing_rental_list=[]\r\n \r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n \r\n // console.log(\"rental\",rentalVal.length)\r\n // console.log(JSON.parse(res['records']))\r\n let rentalVal:any=res['records']\r\n \r\n \r\n console.log(\"tyeva\",typeof(rentalVal))\r\n let tempArray: any = [];\r\n let amt: any = [];\r\n this.existing_rental_count_id = rentalVal.length;\r\n // if(rentalVal.length >0){\r\n console.log(\"rental val\",rentalVal);\r\n \r\n rentalVal.forEach((value,index)=>{\r\n let annualRentAmt:any\r\n if(value.property_unit_details){\r\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\r\n return value.property_unit_details[key]\r\n });\r\n if(selectedUnit.length>0){\r\n selectedUnit.forEach((element,innerIndex)=>{\r\n tempArray[innerIndex]=element.monthly_rent_amount\r\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\r\n annualRentAmt=annualRentAmt*12;\r\n })\r\n }\r\n else{\r\n annualRentAmt=0;\r\n }\r\n amt[index]=annualRentAmt\r\n }\r\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\r\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\r\n if(datas.dataStatus==true){\r\n let obj={\r\n 'address':value.address_property,\r\n 'applicants_rent': amt[index],\r\n 'state': datas.records.state_name,\r\n 'city': datas.records.city_name,\r\n 'pincode': datas.records.pincode,\r\n 'rental_count_id': value.rental_count_id,\r\n 'rental_existing_data': value\r\n }\r\n this.existing_rental_list.push(obj)\r\n console.log(\"modify\",this.existing_rental_list);\r\n }\r\n })\r\n })\r\n }\r\n else{\r\n this.existing_rental_count_id=0\r\n // this.addMore();\r\n }\r\n })\r\n console.log(\"ren\",this.existing_rental_list);\r\n }\r\n editDet(values){\r\n let passValues: any = {\r\n manage_status: 2,\r\n existing_rental_count_id: values.rental_count_id,\r\n editData: values\r\n }\r\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\r\n console.log(\"hai\");\r\n console.log(\"d\",values)\r\n }\r\n addMore(){\r\n let passValues: any = {\r\n manage_status: 1,\r\n // parentData: this.parentData,\r\n // masterData: this.masterData,\r\n existing_rental_count_id: this.existing_rental_count_id + 1,\r\n }\r\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\r\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionSupplsierInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-supplier-info',\r\n templateUrl: 'pd-question-supplier-info.html',\r\n})\r\n\r\nexport class PdQuestionSupplierInfoPage {\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n company_id: any;\r\n form_id: any;\r\n questionDetails: any;\r\n supplierInfoForm: FormGroup;\r\n\r\n business_manufacturingProducts: any = [];\r\n business_tradingProducts: any = [];\r\n business_serviceProvider: any = [];\r\n\r\n m_titleList: any = [];\r\n m_paymentList: any = [];\r\n m_companyRelationShipList: any = [];\r\n\r\n noRecordsFound: Boolean = false;\r\n public submitted = false;\r\n errorMessage: any = '';\r\n imageDisplay: any[];\r\n imageBucket: any = [];\r\n tab: string = '0';\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\r\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\r\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,\r\n private constantProvider: ConstantsProvider) {\r\n\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id = this.pdDetails.company_id;\r\n this.users = this.aws.getlocale();\r\n\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\r\n \r\n if(data.dataStatus){\r\n \r\n let datas = data.records;\r\n console.log('datas',datas);\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n this.business_manufacturingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 2 ){return data}}).map(data=> [...data.prodcuts]);\r\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n this.business_serviceProvider = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 5){return data}}).map(data=> [...data.prodcuts]);\r\n \r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if(val.prodcuts){\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if(val.prodcuts){\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.prodcuts){\r\n this.business_serviceProvider.push(val.prodcuts);\r\n console.log(this.business_serviceProvider);\r\n }\r\n }\r\n });\r\n }\r\n\r\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\r\n \r\n \r\n }else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\r\n this.getPDImages();\r\n }\r\n\r\n\r\n // serviceProviderForm: Boolean = false;\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.parent_pdid = this.pdDetails.parent_pd_id\r\n params.pd_id = this.pdDetails.pd_id;\r\n params.pd_form_id = this.form_id;\r\n params.company_id = this.company_id;\r\n\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus'] == true) {\r\n \r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.supplierInfoForm = this.fb.group({\r\n parent_pdid: [this.pdDetails.parent_pd_id],\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if (dataForm.manufacturing_details[0] != null) {\r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\r\n }\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if (dataForm.trade_details[0] != null) {\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n // this.serviceProviderForm = true;\r\n if (dataForm.servicing_details[0] != null) {\r\n let api_service_providers = dataForm.servicing_details[0].service_providers;\r\n this.initServiceProvidersDetails(api_service_providers);\r\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\r\n }\r\n else {\r\n this.initServiceProvidersDetails(null);\r\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n this.noRecordsFound = true;\r\n } else {\r\n \r\n this.supplierInfoForm = this.fb.group({\r\n parent_pdid: [this.pdDetails.parent_pd_id],\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProvidersDetails(null);\r\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(dataForm.servicing_details[0].service_providers_total_payments_percent_on_credit || null);\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n } else {\r\n console.log(' data in else part');\r\n this.supplierInfoForm = this.fb.group({\r\n parent_pdid: [this.pdDetails.parent_pd_id],\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n servicing_details: this.fb.array([this.servicingFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProvidersDetails(null);\r\n this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n servicingForm: Boolean = false;\r\n servicingFormCreation(val) {\r\n \r\n let arr = val.filter(data => data.type_of_activity_id == 5);\r\n console.log(arr,arr.length);\r\n if (arr.length > 0) {\r\n console.log('IF');\r\n this.servicingForm = true;\r\n return this.fb.group({\r\n service_providers: this.fb.array([]),\r\n service_providers_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n console.log('ELSE');\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [''],\r\n manufacturing_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: [''],\r\n manufacturing_frequency_of_purchase: [''],\r\n person_stdcode: [''],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [''],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\r\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\r\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\r\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\r\n person_stdcode: [records.person_stdcode || null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline || null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n person_title_name: [records.person_title_name],\r\n person_designation: [records.person_designation],\r\n other_person_designation: [records.other_person_designation],\r\n trade_supplier_name: [records.trade_supplier_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\r\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [records.person_stdcode],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n })\r\n }\r\n }\r\n\r\n initServiceProvidersDetails(datas) {\r\n console.log('datas',datas);\r\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\r\n\r\n if (datas === null) {\r\n console.log('initServiceProvidersDetails if null');\r\n control.push(this.initServiceProviders(null));\r\n } else {\r\n console.log('else not null');\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.service_provider_payment_type, 3, inx);\r\n control.push(this.initServiceProviders(val));\r\n });\r\n }\r\n }\r\n\r\n initServiceProviders(records) {\r\n console.log('initServiceProviders',records);\r\n if (records === null) {\r\n console.log('if');\r\n return this.fb.group({\r\n service_provider_name: [''],\r\n service_provider_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n service_provider_contact_person_name: [''],\r\n service_provider_contact_person_mobile_number: [''],\r\n person_stdcode: [null],\r\n person_landline: [null],\r\n service_provider_payment_type: [''],\r\n service_provider_payment_mode: [''],\r\n service_provider_frequency_of_purchase: [''],\r\n service_provider_credit_days_from: [''],\r\n service_provider_credit_days_to: [''],\r\n })\r\n } else {\r\n console.log('else');\r\n return this.fb.group({\r\n service_provider_name: [records.service_provider_name],\r\n person_title_name: [records.person_title_name],\r\n person_designation: [records.person_designation],\r\n other_person_designation: [records.other_person_designation],\r\n service_provider_supplier_name: [records.service_provider_supplier_name],\r\n service_provider_contact_person_name: [records.service_provider_contact_person_name],\r\n service_provider_contact_person_mobile_number: [records.service_provider_contact_person_mobile_number],\r\n person_stdcode: [records.person_stdcode],\r\n person_landline: [records.person_landline],\r\n service_provider_payment_type: [records.service_provider_payment_type],\r\n service_provider_payment_mode: [records.service_provider_payment_mode],\r\n service_provider_frequency_of_purchase: [records.service_provider_frequency_of_purchase],\r\n service_provider_credit_days_from: [records.service_provider_credit_days_from],\r\n service_provider_credit_days_to: [records.service_provider_credit_days_to],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoreServiceProvider(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\r\n control.push(this.initServiceProviders(null));\r\n }\r\n\r\n removeServiceProvider(inx): void {\r\n const control = this.supplierInfoForm.controls['servicing_details']['controls'][0].controls['service_providers'];\r\n control.removeAt(inx);\r\n }\r\n\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.m_companyRelationShipList = data['records']\r\n //.filter(data => data.isactive == 1); \r\n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n saveSupplierInfoWithImageCheck(answerFormValues) {\r\n console.log(\"forms\", answerFormValues);\r\n let required_imageCheck = this.mandatoryImageCheck(answerFormValues)\r\n console.log(\"required image check\", required_imageCheck);\r\n if (!required_imageCheck) {\r\n let alert = this.toast.setAlert(\"Mandatory photographs not taken\", \" Do you want to take it later?\")\r\n alert.present();\r\n alert.onDidDismiss(value => {\r\n if (value == 's') {\r\n this.saveSupplierInfo(answerFormValues)\r\n }\r\n else {\r\n return true;\r\n }\r\n })\r\n }\r\n else {\r\n this.saveSupplierInfo(answerFormValues)\r\n }\r\n }\r\n\r\n\r\n saveSupplierInfo(FormValues) {\r\n\r\n var answerFormValues = FormValues;\r\n\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.supplierInfoForm.markAsUntouched();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(() => {\r\n this.navCtrl.pop();\r\n }, 2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n e == 1 ? '' : '';\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n e == 1 ? '' : '';\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 3) {\r\n e == 1 ? '' : '';\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n spCreditCardFlag: boolean = false;\r\n\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n spCounter: any = [];\r\n\r\n checkCard(e, flag, index) {\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n\r\n if (flag == 3 && e == 3) {\r\n this.spCounter[index] = 1;\r\n }\r\n else if (flag == 3 && e != 3) {\r\n this.spCounter[index] = 0;\r\n }\r\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\r\n this.spCreditCardFlag = SP > 0 ? true : false;\r\n\r\n }\r\n\r\n selectedPaymentTerms(items, e, flag) {\r\n if (flag == 2) {\r\n if (e == 3) {\r\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\r\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['trade_product_credit_days_from'].clearValidators();\r\n items.controls['trade_product_credit_days_from'].setValue('');\r\n items.controls['trade_product_credit_days_to'].clearValidators();\r\n items.controls['trade_product_credit_days_to'].setValue('');\r\n }\r\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\r\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\r\n }\r\n else if (flag == 1) {\r\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\r\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['manufacturing_credit_days_from'].clearValidators();\r\n items.controls['manufacturing_credit_days_from'].setValue('');\r\n items.controls['manufacturing_credit_days_to'].clearValidators();\r\n items.controls['manufacturing_credit_days_to'].setValue('');\r\n }\r\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\r\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\r\n }\r\n\r\n if (flag == 3) {\r\n if (e == 3) {\r\n // items.controls['service_provider_credit_days_from'].setValidators([Validators.required]);\r\n // items.controls['service_provider_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n // items.controls['service_provider_credit_days_from'].clearValidators();\r\n items.controls['service_provider_credit_days_from'].setValue('');\r\n // items.controls['service_provider_credit_days_to'].clearValidators();\r\n items.controls['service_provider_credit_days_to'].setValue('');\r\n }\r\n items.controls['service_provider_credit_days_from'].updateValueAndValidity();\r\n items.controls['service_provider_credit_days_to'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages() {\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay = []\r\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\r\n if (!val['msg']) {\r\n console.log(val['records'])\r\n if (val['records'].length > 0) {\r\n val['records'].forEach(result => {\r\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\r\n })\r\n console.log(\"imageBuck\", this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value, index, img) {\r\n console.log(value);\r\n this.imageDisplay[index] = { 'image': img, 'Name': value }\r\n\r\n }\r\n changeNameForBucket(value, index, img) {\r\n this.imageBucket[index] = { 'image': img, 'Name': value }\r\n }\r\n removeImg(index) {\r\n this.imageDisplay.splice(index, 1);\r\n }\r\n removeImgForBucket(index) {\r\n this.imageBucket.splice(index, 1)\r\n }\r\n\r\n\r\n captureTheSupplierPics(materialName, index, supplierName) {\r\n \r\n \r\n if (supplierName != '') {\r\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \r\n this.cameraProvider.getpicture().then(res => {\r\n if (res != 'error') {\r\n this.constantProvider.getGeoTag().then(geoCoordinates => {\r\n console.log(\"geo promise\", geoCoordinates)\r\n this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates });\r\n })\r\n }\r\n }, error => {\r\n console.log(\"Camera Error \", JSON.stringify(error));\r\n })\r\n this.tab = '1';\r\n }\r\n else if (supplierName == '') {\r\n alert('Please Fill The Supplier Name');\r\n }\r\n\r\n }\r\n mandatoryImageCheck(Form_values) {\r\n let Form_names = []\r\n if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) {\r\n if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) {\r\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value, index) => {\r\n Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) })\r\n })\r\n }\r\n }\r\n // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\r\n // if(Form_values.service_provider_details[0].service_products.length != 0){\r\n // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\r\n // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) })\r\n // })\r\n // }\r\n // }\r\n if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) {\r\n if (Form_values.trade_details[0].trading_products.length != 0) {\r\n Form_values.trade_details[0].trading_products.forEach((value, index) => {\r\n Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) })\r\n })\r\n }\r\n }\r\n // console.log(\"Form Values\",Form_names);\r\n // console.log(\"image values\",this.imageDisplay)\r\n let valBool\r\n let count: number = 0;\r\n let mandatoryimgSaved = []\r\n let mandatoryimgNotSaved = []\r\n\r\n if (Form_names.length != 0) {\r\n // if( this.imageDisplay.length !=0){\r\n Form_names.forEach(formvalue => {\r\n this.imageDisplay.forEach((imgvalue) => {\r\n\r\n // console.log(\"Form values individuals\",formvalue)\r\n if (formvalue.name != imgvalue.Name) {\r\n\r\n valBool = true\r\n }\r\n else {\r\n\r\n valBool = false\r\n\r\n count++;\r\n\r\n\r\n }\r\n if (count >= 2 && valBool == false) {\r\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\r\n mandatoryimgSaved.push(formvalue.name)\r\n //return\r\n }\r\n else {\r\n mandatoryimgNotSaved.push(formvalue.name)\r\n return\r\n }\r\n\r\n })\r\n if (valBool == true)\r\n console.log(\"Form name\", formvalue.name)\r\n\r\n mandatoryimgNotSaved.push(formvalue.name)\r\n\r\n })\r\n\r\n console.log(\"mandatoryimgSaved\", mandatoryimgSaved)\r\n console.log(\"mandatoryimgNot Saved\", mandatoryimgNotSaved)\r\n mandatoryimgSaved.forEach(res => {\r\n mandatoryimgNotSaved = mandatoryimgNotSaved.filter(val => val != res)\r\n\r\n })\r\n\r\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\r\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\r\n let uniquenotsavedImage = (mandatoryimgNotSaved) => mandatoryimgNotSaved.filter((val, i) => mandatoryimgNotSaved.indexOf(val) === i)\r\n console.log(\"uniw\", uniquenotsavedImage(mandatoryimgNotSaved));\r\n if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) {\r\n return false\r\n }\r\n else {\r\n return true\r\n }\r\n\r\n //COUNTING THE DUPLICATES IN AN ARRAY\r\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\r\n // var map = arr.reduce(function(prev, cur) {\r\n // prev[cur] = (prev[cur] || 0) + 1;\r\n // return prev;\r\n // }, {});\r\n\r\n // map is an associative array mapping the elements to their frequency:\r\n // console.log(map);\r\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\r\n //}\r\n }\r\n else {\r\n return true\r\n }\r\n\r\n }\r\n\r\n capture() {\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res => {\r\n console.log(\"Value\", res)\r\n if (res != 'error') {\r\n this.constantProvider.getGeoTag().then(geoCoordinates => {\r\n console.log(\"geo promise\", geoCoordinates)\r\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert = this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value => {\r\n console.log(\"alert value\", value);\r\n if (value) {\r\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\r\n }\r\n })\r\n })\r\n }\r\n }, error => {\r\n console.log(\"Camera Error \", JSON.stringify(error));\r\n })\r\n this.tab = '1';\r\n\r\n\r\n }\r\n sendImage() {\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\", JSON.stringify(this.imageBucket));\r\n\r\n let records: any = {\r\n 'pd_id': this.pdDetails.pd_id,\r\n 'formid': this.formDetails.form_id,\r\n 'images': this.imageBucket,\r\n 'company_id': this.pdDetails.company_id,\r\n\r\n }\r\n console.log(\"records\", JSON.stringify(records))\r\n\r\n this.qustCat.savePDImages(records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket = []\r\n this.getPDImages();\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionStockInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-stock-info',\r\n templateUrl: 'pd-question-stock-info.html',\r\n})\r\nexport class PdQuestionStockInfoPage {\r\n\r\n uomData: any;\r\n uomDataValue:any;\r\n rawmaterial: any;\r\n users: any;\r\n formDetails: any;\r\n pdDetails: any;\r\n company_id: any;\r\n pdid: any;\r\n stockForm: FormGroup;\r\n noRecordsFound: Boolean;\r\n errorMessage: any = '';\r\n M_rawValueInWords: any = [];\r\n M_goodsValueInWords: any = [];\r\n R_tradedGoodsValueInWords: any = [];\r\n T_tradedGoodsValueInWords: any = [];\r\n S_GoodsValueInWords: any = [];\r\n mrmCommentFlag: any = [];\r\n mfgCommentFlag: any = [];\r\n rtrdCommentFlag: any = [];\r\n wtrdCommentFlag: any = [];\r\n spdCommentFlag: any = [];\r\n\r\n // serviceProviderForm: Boolean = false;\r\n suppliers_raw_materials: any = [];\r\n suppliers_retail_trade_details: any = [];\r\n suppliers_wholesale_trade_details: any = [];\r\n suppliers_finished_goods: any = [];\r\n suppliers_service_providers : any = [];\r\n\r\n protected _onDestroy = new Subject();\r\n\r\n RMCommentCard: boolean = false;\r\n TGCommentCard: boolean = false;\r\n SPCommentCard: boolean = false;\r\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\r\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\r\n public SPsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: string='0';\r\n complete_status: boolean = false;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \r\n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \r\n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\r\n {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.company_id = this.pdDetails.company_id;\r\n this.pdid = this.pdDetails.pd_id; \r\n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\r\n if (data.dataStatus == true) {\r\n this.initstockForm(data.record);\r\n }\r\n else if (data.dataStatus == false) {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\r\n return;\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\r\n return;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropdown();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\r\n this.getPDImages();\r\n }\r\n\r\n public initstockForm(record) {\r\n let api = Object.keys(record.from_business).map(function (key) {\r\n return record.from_business[key];\r\n });\r\n if (record.from_business.length > 0) {\r\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\r\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\r\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\r\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\r\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\r\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\r\n let type5 = record.from_business.filter(data => data.type_of_activity_id == 5);\r\n let type5length = type5[0].hasOwnProperty(\"products\") ? type5[0].products.length : 0;\r\n console.log('type5length',type5,type5length);\r\n\r\n\r\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\r\n\r\n let params: any = {};\r\n params.parent_pdid=this.pdDetails.parent_pd_id;\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(value => {\r\n if (value['status'] == 200) {\r\n let dataForm = value['records'];\r\n // dataForm.manufacturing_details.forEach(top=>{\r\n // top.manufacturing_finished_goods.forEach(below1=>{\r\n // below1.uomSearch=''\r\n // })\r\n // top.manufacturing_raw_materials.forEach(below2=>{\r\n // below2.uomSearch=''\r\n // })\r\n // })\r\n if (dataForm !== undefined) {\r\n this.stockForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n stock_remarks: [dataForm.stock_remarks],\r\n\r\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\r\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\r\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\r\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\r\n\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\r\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\r\n is_sufficiant_service_goods: [dataForm.hasOwnProperty('is_sufficiant_service_goods') ? dataForm.is_sufficiant_service_goods : ''],\r\n service_goods_remarks: [dataForm.hasOwnProperty('service_goods_remarks') ? dataForm.service_goods_remarks : '' ]\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if (val.products) {\r\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\r\n let manufacturing_temparr = [];\r\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\r\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\r\n this.initManufacturingDetails(manufacturing_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n let retail_temparr = [];\r\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\r\n\r\n this.initRetailDetails(retail_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n let trading_temparr = [];\r\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\r\n console.log(\"Trade\", trading_temparr)\r\n this.initTradingDetails(trading_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if (val.products) {\r\n // this.serviceProviderForm = true;\r\n let servicing_temparr = [];\r\n if(dataForm.hasOwnProperty('service_provider')){\r\n servicing_temparr['service_provider'] = dataForm.servicing_details[0].service_provider;\r\n this.initServicingDetails(servicing_temparr);\r\n }\r\n else{\r\n this.suppliers_service_providers = val.products;\r\n this.initServicingDetails(null); \r\n }\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n else {\r\n this.stockForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n stock_remarks: [''],\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods: [''],\r\n finished_and_traded_goods_remarks: [''],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\r\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\r\n is_sufficiant_service_goods: [''],\r\n service_goods_remarks: ['']\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.initManufacturingDetails(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details = val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details = val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if (val.products) {\r\n \r\n this.suppliers_service_providers = val.products;\r\n this.initServicingDetails(null);\r\n // this.serviceProviderForm = true;\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n }\r\n else {\r\n console.log(\"Record\", record)\r\n this.stockForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n stock_remarks: [''],\r\n\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods: [''],\r\n finished_and_traded_goods_remarks: [''],\r\n\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\r\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\r\n\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n servicing_details: this.fb.array([this.servicingFormCreation(type5length)]),\r\n \r\n is_sufficiant_service_goods: [''],\r\n service_goods_remarks: ['']\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.suppliers_raw_materials = rm_api;\r\n this.initManufacturingDetails(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details = val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if (val.products) {\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details = val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if (val.products) {\r\n this.suppliers_service_providers = val.products;\r\n this.initServicingDetails(null);\r\n // this.serviceProviderForm = true;\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n })\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\r\n return;\r\n }\r\n }\r\n\r\n \r\n\r\n\r\n getdropdown() {\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if (data['dataStatus'] == true) {\r\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\r\n this.uomDataValue=this.uomData.slice();\r\n }\r\n });\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(record,length) {\r\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\r\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\r\n //console.log(\"Manufacturing \",arr);\r\n //console.log(\"rm_arr\",rm_arr);\r\n if (length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n is_sufficiant_raw: [],\r\n rawmaterial_remarks: [],\r\n manufacturing_raw_materials: this.fb.array([]),\r\n manufacturing_finished_goods: this.fb.array([]),\r\n })\r\n } else {\r\n return this.fb.group({\r\n is_sufficiant_raw: [],\r\n rawmaterial_remarks: [],\r\n manufacturing_raw_materials: this.fb.array([]),\r\n manufacturing_finished_goods: this.fb.array([]),\r\n })\r\n // return;\r\n }\r\n }\r\n\r\n retailForm: Boolean = false;\r\n retailFormCreation(val) {\r\n //let arr = val.filter(data => data.type_of_activity_id == 3);\r\n let arr = val\r\n // console.log(\"retail Form \", arr);\r\n if (arr > 0) {\r\n // if(arr.products != undefined){\r\n this.retailForm = true;\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n });\r\n // }else{\r\n // this.retailForm = false;\r\n // return;\r\n // } \r\n } else {\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n });\r\n // return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr = val\r\n //let arr = val.filter(data => data.type_of_activity_id == 4);\r\n\r\n if (arr > 0) {\r\n\r\n // if(arr.products === undefined){\r\n\r\n // this.tradingForm = false;\r\n // return;\r\n // }\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n });\r\n } else {\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n });\r\n // return;\r\n }\r\n }\r\n\r\n servicingForm: Boolean = false;\r\n servicingFormCreation(val) {\r\n console.log('inside servicingFormCreation',val);\r\n let arr = val\r\n // let arr = val.filter(data => data.type_of_activity_id == 4);\r\n if (arr > 0){\r\n console.log('IF');\r\n this.servicingForm = true;\r\n return this.fb.group({\r\n service_provider: this.fb.array([])\r\n });\r\n } else {\r\n console.log('Else');\r\n return this.fb.group({\r\n service_provider: this.fb.array([])\r\n });\r\n }\r\n }\r\n\r\n\r\n initManufacturingDetails(datas) {\r\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n if (this.suppliers_raw_materials.length > 0) {\r\n this.suppliers_raw_materials.forEach(val => {\r\n let Ref_RawMaterials: any = {\r\n 'raw_name': val,\r\n 'stock_observed': '',\r\n 'raw_quantity': '',\r\n 'raw_uom': '',\r\n 'other_uom': '',\r\n 'raw_value': '',\r\n // 'is_sufficiant_raw': '',\r\n // 'rawmaterial_remarks': ''\r\n };\r\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\r\n });\r\n }\r\n else {\r\n rawMaterial.push(this.createRawmaterial(null));\r\n }\r\n if (this.suppliers_finished_goods.length > 0) {\r\n this.suppliers_finished_goods.forEach(val => {\r\n let Ref_Finished_Goods: any = {\r\n 'goods_name': val,\r\n 'goods_observed': '',\r\n 'goods_quantity': '',\r\n 'goods_uom': '',\r\n 'goods_other_uom': '',\r\n 'goods_value': '',\r\n // 'is_sufficiant_goods': '',\r\n // 'finishedgoods_remarks': ''\r\n };\r\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\r\n });\r\n }\r\n else {\r\n finishedGoods.push(this.createGoods(null));\r\n }\r\n } else {\r\n if (datas.manufacturing_raw_materials != undefined) {\r\n datas.manufacturing_raw_materials.forEach((val, index) => {\r\n if (val.raw_value) {\r\n this.inWords(val.raw_value, 1, index);\r\n }\r\n // this.checkComments(val.is_sufficiant_raw,1,index);\r\n this.checkComments(val.stock_observed, 1, index);\r\n rawMaterial.push(this.createRawmaterial(val));\r\n });\r\n }\r\n else {\r\n rawMaterial.push(this.createRawmaterial(null));\r\n }\r\n if (datas.manufacturing_finished_goods != undefined) {\r\n datas.manufacturing_finished_goods.forEach((val, index) => {\r\n if (val.goods_value) {\r\n this.inWords(val.goods_value, 2, index);\r\n }\r\n // this.checkComments(val.is_sufficiant_goods,2,index);\r\n this.checkComments(val.goods_observed, 2, index);\r\n finishedGoods.push(this.createGoods(val));\r\n\r\n });\r\n }\r\n else {\r\n finishedGoods.push(this.createGoods(null));\r\n }\r\n }\r\n }\r\n\r\n createRawmaterial(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n raw_name: [''],\r\n stock_observed: [''],\r\n raw_quantity: [''],\r\n raw_uom: [''],\r\n uomSearch:[null],\r\n other_uom: [''],\r\n raw_value: [''],\r\n // is_sufficiant_raw: [''],\r\n // rawmaterial_remarks: ['']\r\n })\r\n } else {\r\n return this.fb.group({\r\n raw_name: [records.raw_name],\r\n stock_observed: [records.stock_observed],\r\n raw_quantity: [records.raw_quantity],\r\n raw_uom: [records.raw_uom],\r\n uomSearch:[null],\r\n other_uom: [records.other_uom],\r\n raw_value: [records.raw_value],\r\n // is_sufficiant_raw: [records.is_sufficiant_raw],\r\n // rawmaterial_remarks: [records.rawmaterial_remarks]\r\n })\r\n }\r\n }\r\n\r\n initRetailDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n if (datas === null) {\r\n if (this.suppliers_retail_trade_details.length > 0) {\r\n // this.rawMaterialAccess = true;\r\n this.suppliers_retail_trade_details.forEach(val => {\r\n let Ref_Trade_Goods: any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n // 'is_sufficiant_traded_goods': '',\r\n // 'traded_goods_remarks': ''\r\n };\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\r\n });\r\n }\r\n else {\r\n tradedGoods.push(this.createTradedGoods(null));\r\n }\r\n } else {\r\n if (datas.retail_traded_goods !== undefined) {\r\n datas.retail_traded_goods.forEach((val, index) => {\r\n if (val.estimated_traded_goods_value) {\r\n this.inWords(val.estimated_traded_goods_value, 3, index);\r\n }\r\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\r\n this.checkComments(val.traded_goods_observed, 3, index);\r\n tradedGoods.push(this.createTradedGoods(val));\r\n });\r\n }\r\n else {\r\n tradedGoods.push(this.createTradedGoods(null));\r\n }\r\n }\r\n }\r\n\r\n\r\n createGoods(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n goods_name: [''],\r\n goods_observed: [''],\r\n goods_quantity: [''],\r\n goods_uom: [''],\r\n uomSearch:[null],\r\n goods_other_uom: [''],\r\n goods_value: [''],\r\n // is_sufficiant_goods: [''],\r\n // finishedgoods_remarks: ['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n goods_name: [records.goods_name],\r\n goods_observed: [records.goods_observed],\r\n goods_quantity: [records.goods_quantity],\r\n goods_uom: [records.goods_uom],\r\n uomSearch:[null],\r\n goods_other_uom: [records.goods_other_uom],\r\n goods_value: [records.goods_value],\r\n // is_sufficiant_goods: [records.is_sufficiant_goods],\r\n // finishedgoods_remarks: [records.finishedgoods_remarks]\r\n })\r\n }\r\n }\r\n\r\n initTradingDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n if (datas === null) {\r\n if (this.suppliers_wholesale_trade_details.length > 0) {\r\n this.suppliers_wholesale_trade_details.forEach(val => {\r\n let Ref_Trade_Goods: any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n // 'is_sufficiant_traded_goods': '',\r\n // 'traded_goods_remarks': ''\r\n };\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\r\n });\r\n }\r\n else {\r\n tradedGoods.push(this.createTradedGoods(null));\r\n }\r\n\r\n } else {\r\n if (datas.trading_traded_goods !== undefined) {\r\n datas.trading_traded_goods.forEach((val, index) => {\r\n if (val.estimated_traded_goods_value) {\r\n this.inWords(val.estimated_traded_goods_value, 4, index);\r\n }\r\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\r\n this.checkComments(val.traded_goods_observed, 4, index);\r\n tradedGoods.push(this.createTradedGoods(val));\r\n });\r\n }\r\n else {\r\n tradedGoods.push(this.createTradedGoods(null));\r\n }\r\n }\r\n }\r\n\r\n createTradedGoods(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n traded_goods_name: [''],\r\n traded_goods_observed: [''],\r\n traded_goods_quantity: [''],\r\n traded_goods_uom: [''],\r\n uomSearch:[null],\r\n traded_goods_other_uom: [''],\r\n estimated_traded_goods_value: [''],\r\n // is_sufficiant_traded_goods: [''],\r\n // traded_goods_remarks: ['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n traded_goods_name: [records.traded_goods_name],\r\n traded_goods_observed: [records.traded_goods_observed],\r\n traded_goods_quantity: [records.traded_goods_quantity],\r\n traded_goods_uom: [records.traded_goods_uom],\r\n uomSearch:[null],\r\n traded_goods_other_uom: [records.traded_goods_other_uom],\r\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\r\n // is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\r\n // traded_goods_remarks: [records.traded_goods_remarks]\r\n })\r\n }\r\n }\r\n\r\n\r\n initServicingDetails(datas) {\r\n const service = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\r\n if (datas === null) {\r\n \r\n if (this.suppliers_service_providers.length > 0) {\r\n this.suppliers_service_providers.forEach(val => {\r\n let Serv_Prov_Goods: any = {\r\n 'service_provider_name': val,\r\n 'service_provider_observed': '',\r\n 'service_provider_quantity': '',\r\n 'service_provider_uom': '',\r\n 'service_provider_other_uom': '',\r\n 'estimated_service_provider_value': ''\r\n }\r\n\r\n service.push(this.createServiceProvider(Serv_Prov_Goods));\r\n });\r\n }\r\n else {\r\n service.push(this.createServiceProvider(null));\r\n }\r\n } else {\r\n if (datas.service_provider !== undefined) {\r\n datas.service_provider.forEach((val, index) => {\r\n if (val.estimated_service_provider_value) {\r\n this.inWords(val.estimated_service_provider_value, 5, index);\r\n }\r\n this.checkComments(val.service_provider_observed, 5, index);\r\n service.push(this.createServiceProvider(val));\r\n \r\n });\r\n }\r\n else {\r\n service.push(this.createServiceProvider(null));\r\n }\r\n }\r\n }\r\n\r\n createServiceProvider(records) {\r\n \r\n if (records === null) {\r\n \r\n return this.fb.group({\r\n service_provider_name: [''],\r\n service_provider_observed: [''],\r\n service_provider_quantity: [''],\r\n service_provider_uom: [''],\r\n uomSearch:[null],\r\n service_provider_other_uom: [''],\r\n estimated_service_provider_value: [''],\r\n // traded_goods_value: [''],\r\n });\r\n }\r\n else {\r\n \r\n return this.fb.group({\r\n service_provider_name: [records.service_provider_name],\r\n service_provider_observed: [records.service_provider_observed],\r\n service_provider_quantity: [records.service_provider_quantity],\r\n service_provider_uom: [records.service_provider_uom],\r\n uomSearch:[null],\r\n service_provider_other_uom: [records.service_provider_other_uom],\r\n estimated_service_provider_value: [records.estimated_service_provider_value],\r\n // traded_goods_value: [records.traded_goods_value],\r\n\r\n })\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Add More Raw Material Details */\r\n addRawMaterials(flag) {\r\n if (flag == 1) {\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.push(this.createRawmaterial(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Raw Material Details */\r\n deleteRawMaterials(index, flag) {\r\n if (flag == 1) {\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Add More Finished Goods */\r\n addGoods(flag) {\r\n if (flag == 1) {\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.push(this.createGoods(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Finished Goods */\r\n deleteGoods(index, flag) {\r\n if (flag == 1) {\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To Add More trade Goods\r\n * Case 2 wholesale Traded -> To Add More trade Goods\r\n */\r\n addTradedGoods(flag) {\r\n switch (flag) {\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n case 3: {\r\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\r\n control.push(this.createServiceProvider(null));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To remove trade Goods\r\n * Case 2 wholesale Traded -> To remove trade Goods\r\n */\r\n deleteTradedGoods(index, flag) {\r\n switch (flag) {\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n case 3: {\r\n const control = this.stockForm.controls['servicing_details']['controls'][0].controls['service_provider'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n\r\n //const control = this.stockForm.controls['traded_goods'];\r\n\r\n }\r\n\r\n ManufacturingCounterArray: any = [];\r\n FinishedCounterArray: any = [];\r\n RetailCounterArray: any = [];\r\n WholeSaleCounterArray: any = [];\r\n ServiceCounterArray: any = [];\r\n\r\n not_stock_of_rm: any = [];\r\n not_stock_of_fg: any = [];\r\n not_stock_of_tg: any = [];\r\n not_stock_of_ws: any = [];\r\n not_stock_of_sp: any = [];\r\n\r\n checkComments(value, flag, index) {\r\n \r\n if (flag == 1) {\r\n \r\n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\r\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\r\n\r\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\r\n\r\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\r\n console.log('value',value);\r\n console.log('not_stock1',not_stock1);\r\n if(not_stock1 > 0){ \r\n console.log('not_stock1',not_stock1);\r\n this.RMsufficientList[0].disabled = false;\r\n this.RMsufficientList[2].disabled = true;\r\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\r\n }\r\n else if(not_stock1 == 0){ \r\n console.log('0',not_stock1);\r\n this.RMsufficientList[0].disabled = true;\r\n this.RMsufficientList[2].disabled = false;\r\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\r\n }\r\n console.log('this.RMsufficientList',this.RMsufficientList);\r\n }\r\n \r\n if(flag == 2) {\r\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\r\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\r\n }\r\n if (flag == 3) {\r\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\r\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\r\n }\r\n if (flag == 4) {\r\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\r\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\r\n }\r\n if (flag == 5) {\r\n console.log('adf');\r\n this.ServiceCounterArray[index] = value != \"\" ? 1 : 0\r\n this.not_stock_of_sp[index] = value == \"yes\" ? 1 : 0;\r\n\r\n let SPOverallCount = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\r\n this.SPCommentCard = SPOverallCount > 0 ? true : false;\r\n\r\n let not_stock3 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\r\n \r\n if(not_stock3 > 0){ \r\n \r\n this.SPsufficientList[0].disabled = false;\r\n this.SPsufficientList[2].disabled = true;\r\n \r\n }\r\n else if(not_stock3 == 0){ \r\n \r\n this.SPsufficientList[0].disabled = true;\r\n this.SPsufficientList[2].disabled = false;\r\n \r\n }\r\n \r\n }\r\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\r\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\r\n\r\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\r\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\r\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\r\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\r\n console.log('not_stock2',not_stock2);\r\n if(not_stock2 > 0){ \r\n console.log('not_stock2',not_stock2);\r\n this.TGsufficientList[0].isdisabled = false;\r\n this.TGsufficientList[2].isdisabled = true;\r\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\r\n }\r\n else if(not_stock2 == 0){ \r\n console.log('0',not_stock2);\r\n this.TGsufficientList[0].isdisabled = true;\r\n this.TGsufficientList[2].isdisabled = false;\r\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\r\n }\r\n console.log('Data',this.TGsufficientList);\r\n // else if(not_stock == 0){ \r\n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\r\n // }\r\n \r\n }\r\n\r\n\r\n /** To Save/Edited Popup Data */\r\n saveStockInfo(answerFormValues) {\r\n //To Remove The \"Null\" With Key also\r\n // if(answerFormValues.manufacturing_details){\r\n // answerFormValues.manufacturing_details.forEach(parent=>{\r\n // if(parent.manufacturing_finished_goods){\r\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\r\n // delete finish_goods.uomSearch\r\n // })\r\n // }\r\n // if(parent.manufacturing_raw_materials){\r\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\r\n // delete raw_mat.uomSearch\r\n // })\r\n // }\r\n // })\r\n // }\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.stockForm.markAsUntouched();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(() => {\r\n this.navCtrl.pop();\r\n }, 2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n }\r\n\r\n inWords(e, flag: number, i) {\r\n switch (flag) {\r\n case 1:\r\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 2:\r\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 3:\r\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 4:\r\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 5:\r\n this.S_GoodsValueInWords[i] = this.constant.convertNumberToWords(e);\r\n break;\r\n \r\n default:\r\n break;\r\n }\r\n }\r\n searchFun(control,index){\r\n console.log(\"control\",control.controls['uomSearch'].value)\r\n control.controls['uomSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\r\n })\r\n \r\n }\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.formDetails.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':this.pdDetails.company_id,\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport { FormGroup,Validators,FormBuilder, FormArray, FormControl } from '@angular/forms'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionFinancialInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-financial-info',\r\n templateUrl: 'pd-question-financial-info.html',\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class PdQuestionFinancialInfoPage {\r\n \r\n public financialForm: FormGroup;\r\n\r\n pdDetails:any;\r\n FormId:any;\r\n users:any;\r\n company_id:any;\r\n isDisplay:boolean;\r\n product_abbr: any;\r\n lender_short_name : any;\r\n customerCommentsFlag:boolean;\r\n FY_annualSalesInwords: any =[]\r\n FY_netProfitAmtInwords: any=[]\r\n FY_netLossAmtInwords: any=[]\r\n AV_annualSalesInwords: any=[]\r\n AV_netProfitAmtInwords: any=[]\r\n AV_netLossAmtInwords: any=[]\r\n AV_netProfitAmtFrmInwords: any=[]\r\n AV_netProfitAmtToInwords: any=[]\r\n AV_netLossAmtFrmInwords: any=[]\r\n AV_netLossAmtToInwords: any=[]\r\n AV_SalesFrmInwords: any=[]\r\n AV_SalesToInwords: any=[]\r\n AV_SalesInwords: any=[];\r\n AV_marginProfitAmtInwords: any=[];\r\n AV_marginLossAmtInwords: any=[];\r\n AV_CCAnnualSalesAmtInwords:any = [];\r\n formDetails: any;\r\n CustSegAbbr:any;\r\n temparray : any = [];\r\n picsArrayLength :any = 0;\r\n ServiceDataAvailability:boolean = false;\r\n\r\n av : any =[{id:6, name:'Letter of Credit'},\r\n {id:2, name:'Bank Guarantee'},\r\n {id:3, name:'Cash Credit Limit'},\r\n {id:7, name:'OD Limit'},\r\n {id:4, name:'Factoring'},\r\n {id:5, name:'Forfaiting'},\r\n {id:1, name:'Others'}]\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: string='0';\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\r\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\r\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.FormId = this.formDetails.form_id;\r\n // this.FormId=this.navParams.get('FormId');\r\n this.company_id=this.pdDetails.company_id\r\n this.users=this.aws.getlocale();\r\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\r\n this.CustSegAbbr=x[1]\r\n this.lender_short_name = this.pdDetails.lender_short_name;\r\n this.product_abbr = this.pdDetails.product_abbr;\r\n this.initFinancialForm()\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\r\n if (data.dataStatus) { \r\n if(data.records.type_of_activity.length == 1){\r\n let bussiness_service_datas = data.records.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\r\n this.ServiceDataAvailability = bussiness_service_datas.length>0 ? true : false;\r\n if(this.ServiceDataAvailability == true){\r\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA');\r\n }else{\r\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\r\n }\r\n }\r\n else{\r\n this.ServiceDataAvailability = false;\r\n }\r\n }\r\n })\r\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\r\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\r\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\r\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\r\n // console.log(estime_value)\r\n // estime_value.valueChanges.subscribe(res=>{\r\n // console.log(\"changes\",res);\r\n // })\r\n//}\r\n\r\n//To checking Completed Status For CompleteList Menu\r\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\r\n this.getDetails()\r\n this.getPDImages();\r\n }\r\n\r\n AllCalculation(control,index){\r\n console.log(\"all\",control)\r\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\r\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\r\n console.log(\"calculate marginP\")\r\n this.calculateMarginProfit(index,control)\r\n }\r\n }\r\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\r\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\r\n console.log(\"calculate Profit \")\r\n this.calculateProfitAmount(index,control)\r\n }\r\n }\r\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\r\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\r\n console.log(\"calculate marginL\")\r\n this.calculateMarginLoss(index,control)\r\n }\r\n }\r\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\r\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\r\n console.log(\"calculate Loss\")\r\n this.calculateLossAmount(index,control)\r\n }\r\n }\r\n }\r\n selectedStatement(e :any):void{\r\n\r\n if(e == 'yes'){\r\n\r\n this.isDisplay = true;\r\n this.financialForm.controls['is_financial_customer'].setValue('');\r\n \r\n }\r\n else if(e == 'no'){\r\n\r\n this.isDisplay = false;\r\n this.financialForm.controls['is_financial_customer'].setValue('no');\r\n // this.selectedFinancialCustomer('no');\r\n \r\n const statementControl = this.financialForm.controls['date_per_financial'];\r\n \r\n while (statementControl.length !== 0) {\r\n statementControl.removeAt(0);\r\n }\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n this.financialForm.controls['financial_starting_year'].setValue('');\r\n this.financialForm.controls['financial_no_of_year'].setValue('');\r\n\r\n // alert((new Date()).getFullYear());\r\n // let year1 = (new Date()).getFullYear();\r\n // let year2 = ((new Date()).getFullYear() + 1); \r\n // let Year = year1 +'-'+ year2;\r\n \r\n }\r\n\r\n}\r\n /** fin customer data from Fin statement*/\r\n selectedFinancialCustomer(e: any): void {\r\n if(e == 'yes'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n }\r\n else if (e == 'no'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n }\r\n }\r\n\r\n selectedProfitOrLossType(e,detail){\r\n \r\n if(e.value == 1){\r\n detail.controls.financial_net_loss.setValue('');\r\n detail.controls.financial_margin_of_loss.setValue('');\r\n }\r\n else if(e.value == 2){\r\n detail.controls.financial_net_profit.setValue('');\r\n detail.controls.financial_margin_of_profit.setValue('');\r\n }\r\n}\r\n\r\n\r\n /** For Auto-generating FinYear */\r\n dynamicalFinYear($event){\r\n \r\n // let e = $event.target.value;\r\n let e =this.financialForm.controls['financial_no_of_year'].value\r\n if(e != null && e != ''){\r\n if(e == 1){\r\n this.customerCommentsFlag = false;\r\n }\r\n else{\r\n this.customerCommentsFlag = true;\r\n }\r\n\r\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\r\n\r\n const control = this.financialForm.controls['date_per_financial'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\r\n control.push(this.createDate(Year));\r\n }\r\n }\r\n}\r\n }\r\n\r\n\r\n initFinancialForm(){\r\n this.financialForm = this.fb.group({\r\n parent_pdid:this.pdDetails.parent_pd_id,\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId,\r\n company_id: this.company_id,\r\n fk_createdby: this.users,\r\n financial_remarks: [''],\r\n is_financial_statements:[''],\r\n is_financial_customer:[''],\r\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n financial_no_of_year : [''],\r\n financial_reason: [''],\r\n financial_customer:[''],\r\n receive_the_money_in_days:[''],\r\n pay_the_money_in_days:[''],\r\n unsold_stock_lies_in_days:[''],\r\n is_there_working_capital_available:[''],\r\n working_capital_facilities_availed:[''],\r\n // reason_for_working_capital_facilities_availed:[''],\r\n // same_as_financial_statements:[''],\r\n date_per_financial: this.fb.array([]),\r\n estimated_value: this.fb.array([]),\r\n select_working_capital_facilities_availed : this.fb.array([])\r\n });\r\n }\r\n createDate(date){\r\n return this.fb.group({\r\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\r\n finanical_profit_or_loss:[''],\r\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_margin_of_profit: [''],\r\n financial_margin_of_loss: [''],\r\n financial_variation: [''],\r\n financial_profit_to_sale_variation:[''],\r\n financial_annualsales_variation : [''],\r\n })\r\n }\r\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\r\n createValue(date) {\r\n return this.fb.group({\r\n \r\n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n estimate_sales_from: [''],\r\n estimate_sales_to: [''],\r\n estimate_sales_average: [''],\r\n estimate_profit_or_loss:[''],\r\n estimate_net_margin_availablity:[''],\r\n estimate_profit_range_from:[''],\r\n estimate_profit_range_to:[''],\r\n estimate_profit_margin_percent:[''],\r\n estimate_profit_margin:[''],\r\n estimate_net_profit_from:[''],\r\n estimate_net_profit_to:[''],\r\n estimate_net_profit_percent:[''],\r\n estimate_net_profit:[''],\r\n estimate_loss_range_from:[''],\r\n estimate_loss_range_to:[''],\r\n estimate_loss_margin_percent:[''],\r\n estimate_loss_margin:[''],\r\n estimate_net_loss_from:[''],\r\n estimate_net_loss_to:[''],\r\n estimate_net_loss_percent:[''],\r\n estimate_net_loss:[''],\r\n estimate_reason_for_loss:[''],\r\n estimate_posmachine_or_cc_annual_sales:[''],\r\n // estimate_receive_the_money_in_days:[''],\r\n // estimate_pay_the_money_in_days:[''],\r\n // estimate_unsold_stock_lies_in_days:[''],\r\n // estimate_working_capital_facilities_availed:[''],\r\n // reason_for_working_capital_facilities_availed:[''],\r\n // is_there_working_capital_available:['']\r\n\r\n });\r\n}\r\nsubmitDetails(){\r\n if(this.CustSegAbbr == 'AI'){ \r\n this.financialForm.removeControl('estimated_value');\r\n this.financialForm.controls['is_financial_customer'].setValue('');\r\n } \r\n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n}\r\n let records=this.financialForm.value;\r\n\r\n if(records.is_financial_statements == 'yes' && this.picsArrayLength == 0){\r\n this.toast.pdTriggerappmessage(\"Photos of Finanical Statements are Required\");\r\n return;\r\n }\r\n \r\n records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(value => value.exist_status == 1);\r\n if(records.is_there_working_capital_available == \"no\"){\r\n records.select_working_capital_facilities_availed = [];\r\n if(records.bank_guarantee) delete records.bank_guarantee ;\r\n if(records.cash_credit_limit) delete records.cash_credit_limit;\r\n if(records.factoring) delete records.factoring;\r\n if(records.forfaiting) delete records.forfaiting;\r\n if(records.letter_of_credit) delete records.letter_of_credit;\r\n if(records.od_limit) delete records.od_limit;\r\n if(records.other_reason_for_working_capital_facilities_availed) delete records.other_reason_for_working_capital_facilities_availed ;\r\n if(records.reason_for_working_capital_facilities_availed) delete records.reason_for_working_capital_facilities_availed ;\r\n }\r\n \r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n if(res['status']== 200){\r\n this.financialForm.markAsUntouched();\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\r\n })\r\n}\r\n getDetails(){\r\n const financeDate=this.financialForm.controls['date_per_financial']\r\n //financeDate.push(this.createDate(''))\r\n const estimate= this.financialForm.controls['estimated_value']\r\n //estimate.push(this.createValue(''))\r\n const workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed'];\r\n\r\n let params:any={}\r\n params.parent_pdid=this.pdDetails.parent_pd_id\r\n params.pd_id=this.pdDetails.pd_id\r\n params.pd_form_id=this.FormId\r\n params.company_id=this.company_id\r\n this.qustCat.retiverForm(params).subscribe(value=>{\r\n\r\n if(value['dataStatus']==true){\r\n let retrieveData=value['records'];\r\n // Financial part 1 : Date \r\n if(value['records'].is_financial_statements == 'yes'){\r\n this.isDisplay = true;\r\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\r\n return value['records'].date_per_financial[key]\r\n })\r\n if(result.length>0){\r\n this.customerCommentsFlag=result.length == 1 ? false : true\r\n result.forEach((val,index)=>{\r\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\r\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\r\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\r\n financeDate.push(this.createDate(''));\r\n });\r\n retrieveData.date_per_financial=result;\r\n }\r\n else{\r\n financeDate.push(this.createDate(''))\r\n }\r\n }\r\n\r\n // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value.\r\n\r\n if(this.CustSegAbbr != 'AI'){\r\n \r\n if(value['records'].is_financial_customer == 'no'){\r\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\r\n return value['records'].estimated_value[key]\r\n });\r\n if(result_val.length>0){\r\n result_val.forEach((val,index)=>{\r\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\r\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\r\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\r\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from));\r\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to));\r\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\r\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\r\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from));\r\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to));\r\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\r\n this.AV_CCAnnualSalesAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales));\r\n estimate.push(this.createValue(''))\r\n });\r\n retrieveData.estimated_value=result_val;\r\n }\r\n else{\r\n estimate.push(this.createValue(''));\r\n }\r\n }\r\n }\r\n else if(this.CustSegAbbr == 'AI'){\r\n retrieveData.estimated_value = [];\r\n }\r\n\r\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\r\n retrieveData.pdid=this.pdDetails.pd_id\r\n retrieveData.company_id=this.company_id\r\n retrieveData.fk_createdby=this.users\r\n retrieveData.formid=this.FormId\r\n\r\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\r\n let exist_av_data: any = [];\r\n\r\n if (retrieveData.select_working_capital_facilities_availed) {\r\n exist_av_data = Object.keys(retrieveData.select_working_capital_facilities_availed).map(function (key) {\r\n return retrieveData.select_working_capital_facilities_availed[key].id;\r\n });\r\n }\r\n \r\n let actual_av = avData.map(item => item.id);\r\n \r\n let check_exist_av = actual_av.map((id, index) => {\r\n if (exist_av_data.indexOf(id) < 0) {\r\n avData[index].exist_status = 0;\r\n return avData[index];\r\n }\r\n else {\r\n avData[index].exist_status = 1;\r\n return avData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n \r\n if (check_exist_av.length > 0) {\r\n check_exist_av.forEach(val => {\r\n workingCptlControl.push(this.workingCptl(val));\r\n\r\n if (val.exist_status == 1 && val.id == 2) {\r\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\r\n }\r\n if (val.exist_status == 1 && val.id == 3) {\r\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\r\n }\r\n if (val.exist_status == 1 && val.id == 4) {\r\n this.financialForm.addControl('factoring', new FormControl(''));\r\n }\r\n if (val.exist_status == 1 && val.id == 5) {\r\n this.financialForm.addControl('forfaiting', new FormControl(''));\r\n }\r\n if (val.exist_status == 1 && val.id == 6) {\r\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\r\n }\r\n if (val.exist_status == 1 && val.id == 7) {\r\n this.financialForm.addControl('od_limit', new FormControl(''));\r\n }\r\n if (val.exist_status == 1 && val.id == 1) {\r\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\r\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\r\n }\r\n \r\n });\r\n \r\n retrieveData.select_working_capital_facilities_availed = check_exist_av;\r\n }\r\n\r\n this.financialForm.setValue(retrieveData)\r\n\r\n if(this.ServiceDataAvailability == false && retrieveData.unsold_stock_lies_in_days == 'NA' ){\r\n this.financialForm.controls['unsold_stock_lies_in_days'].setValue('');\r\n }\r\n\r\n }\r\n else {\r\n console.log('didN`T get the api');\r\n let avData = this.av.map(item => ({ name: item.name, id: item.id }))\r\n let exist_av_data: any = [];\r\n\r\n let actual_av = avData.map(item => item.id);\r\n let check_exist_av = actual_av.map((id, index) => {\r\n if (exist_av_data.indexOf(id) < 0) {\r\n avData[index].exist_status = 0;\r\n return avData[index];\r\n }\r\n else {\r\n avData[index].exist_status = 1;\r\n return avData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n\r\n if (check_exist_av.length > 0) {\r\n check_exist_av.forEach(val => {\r\n workingCptlControl.push(this.workingCptl(val));\r\n });\r\n }\r\n //financial_date.push(this.createDate());\r\n //estimated_val.push(this.createValue(''));\r\n }\r\n })\r\n }\r\n\r\n workingCptl(details: any): FormGroup {\r\n return this.fb.group({\r\n id: [details.id, Validators.compose([Validators.required])],\r\n name: [details.name, Validators.compose([Validators.required])],\r\n exist_status: [details.exist_status == 1 ? true : false]\r\n });\r\n }\r\n\r\n changeWorkingCapitalFacilities(event: any) {\r\n \r\n if (event.value.exist_status == true && event.value.id == 2) {\r\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\r\n\r\n this.financialForm.removeControl('bank_guarantee');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 2) {\r\n console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)\r\n this.financialForm.addControl('bank_guarantee', new FormControl(''));\r\n }\r\n if (event.value.exist_status == true && event.value.id == 3) {\r\n this.financialForm.removeControl('cash_credit_limit');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 3) {\r\n this.financialForm.addControl('cash_credit_limit', new FormControl(''));\r\n }\r\n if (event.value.exist_status == true && event.value.id == 4) {\r\n this.financialForm.removeControl('factoring');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 4) {\r\n this.financialForm.addControl('factoring', new FormControl(''));\r\n }\r\n if (event.value.exist_status == true && event.value.id == 5) {\r\n this.financialForm.removeControl('forfaiting');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 5) {\r\n this.financialForm.addControl('forfaiting', new FormControl(''));\r\n }\r\n if (event.value.exist_status == true && event.value.id == 6) {\r\n this.financialForm.removeControl('letter_of_credit');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 6) {\r\n this.financialForm.addControl('letter_of_credit', new FormControl(''));\r\n }\r\n if (event.value.exist_status == true && event.value.id == 7) {\r\n this.financialForm.removeControl('od_limit');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 7) {\r\n this.financialForm.addControl('od_limit', new FormControl(''));\r\n }\r\n if (event.value.exist_status == true && event.value.id == 1) {\r\n this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed');\r\n this.financialForm.removeControl('reason_for_working_capital_facilities_availed');\r\n }\r\n else if (event.value.exist_status == false && event.value.id == 1) {\r\n this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new FormControl(''));\r\n this.financialForm.addControl('reason_for_working_capital_facilities_availed', new FormControl(''));\r\n }\r\n\r\n // if(event.value.exist_status==true && event.value.id==1){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.controls = [];\r\n // othersControl.setValue([]);\r\n // }\r\n // else if(event.value.exist_status==false && event.value.id==1){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.push(this.createOthersActivity());\r\n // }\r\n // check activity type for make dosument sighted filed dynamically\r\n}\r\n\r\n /**\r\n * New Calculation for Finanical Statement \r\n **/\r\n calculationForFinanicalStatement(){\r\n \r\n let parentArray = this.financialForm.controls['date_per_financial'];\r\n // let prev_annual_sale : any = '';\r\n // let prev_profit_margin : any = '';\r\n // let prev_loss_margin : any = '';\r\n // let prev_profit_amt : any = '';\r\n // let prev_loss_amt : any = '';\r\n // let profit_margin : any = '';\r\n // let loss_margin : any = '';\r\n // let annual_sale : any = '';\r\n // let profit_amt : any = '';\r\n // let loss_amt : any = '';\r\n let prev_annual_sale : any = '';\r\n let prev_profit_margin : any = [];\r\n let prev_loss_margin : any = [];\r\n let prev_profit_amt : any = '';\r\n let prev_loss_amt : any = '';\r\n let profit_margin : any = '';\r\n let loss_margin : any = '';\r\n let annual_sale : any = '';\r\n let profit_amt : any = '';\r\n let loss_amt : any = '';\r\n\r\n parentArray.value.forEach((val,index) => {\r\n\r\n let childArray : any = parentArray.controls[index];\r\n annual_sale = val.financial_annual_sale;\r\n \r\n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \r\n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\r\n * Label name : \" Sale Variation from Previous Year in % \"\r\n */\r\n \r\n if (index != 0) { \r\n if(annual_sale != ''){\r\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\r\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\r\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\r\n }\r\n }\r\n else{\r\n childArray.controls.financial_annualsales_variation.setValue(0.00);\r\n }\r\n \r\n\r\n prev_annual_sale = annual_sale;\r\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\r\n\r\n\r\n profit_amt = val.financial_net_profit;\r\n loss_amt = val.financial_net_loss;\r\n\r\n /** Calculating Profit's Variation - STARTS HERE\r\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\r\n * Label name : \"Profit Variation from Previous Year in %\"\r\n */\r\n if((profit_amt != '' || loss_amt != '') && index != 0) {\r\n if(+profit_amt > +annual_sale){\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n } \r\n else{\r\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\r\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\r\n\r\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \r\n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\r\n childArray.controls.financial_variation.setValue(final_variation);\r\n\r\n }\r\n }\r\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\r\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\r\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \r\n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\r\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \r\n **/\r\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\r\n \r\n if(SelectedlossOrProfit == 1){\r\n\r\n loss_margin = '';\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_profit != '') {\r\n if(+profit_amt>+annual_sale){\r\n alert(\"profit is greater than Annual Sale \");\r\n childArray.controls.financial_net_profit.setValue(0);\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\r\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\r\n \r\n }\r\n }\r\n }\r\n else if(SelectedlossOrProfit == 2){\r\n profit_margin = '';\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_loss != '') {\r\n if(+val.financial_net_loss>+annual_sale){\r\n alert(\"Loss is greater than Annual Sale \");\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n if(+loss_amt>+annual_sale){\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n \r\n\r\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\r\n\r\n\r\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\r\n \r\n }\r\n }\r\n }\r\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\r\n // console.log('profit_margin',profit_margin);\r\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\r\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\r\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\r\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\r\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\r\n \r\n \r\n // if(index != 0 ){\r\n \r\n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \r\n \r\n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\r\n \r\n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\r\n\r\n // }\r\n\r\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Sales's Profit Variation \r\n * Label name = \"Variation of Profit % over sales\"\r\n **/\r\n \r\n if ((profit_margin != '' || loss_margin != '') && index != 0) {\r\n \r\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\r\n profit_margin = profit_margin !== undefined ? profit_margin:0;\r\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\r\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\r\n\r\n if(annual_sale != ''){\r\n\r\n let current_margin : number =(profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : \r\n loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00 )\r\n let pre_margin : number = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : \r\n temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00 );\r\n let absoulte_value_of_pre_margin : number = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00 ); \r\n\r\n let a: number = current_margin - pre_margin; \r\n let b: number = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin;\r\n let c: number = b * 100;\r\n \r\n // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\r\n // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))));\r\n // let c = b * 100;\r\n \r\n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\r\n \r\n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\r\n }\r\n }\r\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\r\n\r\n\r\n });\r\n }\r\n \r\n \r\n confirmAlert(i, details){\r\n\r\n let estimate_sales_from = +details.value.estimate_sales_from;\r\n let estimate_sales_to = +details.value.estimate_sales_to;\r\n\r\n if (estimate_sales_from != null && estimate_sales_to != null){\r\n \r\n if(+estimate_sales_from>+estimate_sales_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_sales_to.setValue('');\r\n details.controls.estimate_sales_average.setValue('');\r\n return;\r\n }\r\n\r\n let C = (estimate_sales_to - estimate_sales_from)\r\n let D = (C / estimate_sales_from) * 100;\r\n \r\n if(estimate_sales_from <= 5000000){\r\n if(D > 20){\r\n var r = confirm(\"Given Sales Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\r\n if(D > 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 10000000){\r\n if(D > 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n\r\n // if(D >= 30){\r\n // var r = confirm(\"Given Sales Range is greater than 30%\");\r\n // if (r == true) {\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \r\n // }else{\r\n // details.controls.estimate_sales_to.setValue('');\r\n // return;\r\n // }\r\n // }\r\n // else{\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\r\n // }\r\n }\r\n this.calculateSalesAverage(i, details);\r\n }\r\n\r\n calculateSalesAverage(i, details){\r\n \r\n let estimate_sales_from = details.value.estimate_sales_from;\r\n let estimate_sales_to = details.value.estimate_sales_to;\r\n\r\n if(estimate_sales_from != '' && estimate_sales_to != ''){\r\n\r\n let range1 = +estimate_sales_from/10;\r\n \r\n let lower = (+estimate_sales_from)+range1;\r\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\r\n\r\n if(lower > higer){\r\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue('');\r\n }\r\n\r\n }\r\n calculateMarginProfit( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\r\n if(+estimate_profit_range_from > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_profit_range_to = details.value.estimate_profit_range_to;\r\n \r\n if(+estimate_profit_range_to > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n\r\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\r\n if(+estimate_profit_range_from>+estimate_profit_range_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \r\n let Profit_Average = (profit_percent*sales_average)/100;\r\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n }else{\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n }\r\n \r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\r\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\r\n \r\n \r\n \r\n }\r\n \r\n }\r\n\r\n\r\n calculateProfitAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n //alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\r\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\r\n\r\n if(+estimate_net_profit_to>+sales_average){\r\n \r\n //alert(\"Given Profit is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n\r\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\r\n if(+estimate_net_profit_from>+estimate_net_profit_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n \r\n let C = (estimate_net_profit_to - estimate_net_profit_from)\r\n let D = (C / estimate_net_profit_from) * 100;\r\n \r\n let range1 = +estimate_net_profit_from/10;\r\n \r\n let lower = (+estimate_net_profit_from)+range1;\r\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\r\n\r\n if(estimate_net_profit_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_profit_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n \r\n }\r\n \r\n}\r\n\r\ncalculateMarginLoss( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n // else{\r\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\r\n if(+estimate_loss_range_from > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_loss_range_to = details.value.estimate_loss_range_to;\r\n if(+estimate_loss_range_to > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n\r\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\r\n \r\n if(+estimate_loss_range_from>+estimate_loss_range_to){\r\n //alert(\"Given Loss Percent is more than 100\");\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n \r\n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\r\n let loss_Average = (loss_percent*sales_average)/100;\r\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\r\n\r\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\r\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\r\n \r\n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n \r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }else{\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n } \r\n \r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }\r\n\r\n}\r\n\r\n\r\ncalculateLossAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\r\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\r\n\r\n if(+estimate_net_loss_to > +sales_average){\r\n \r\n // alert(\"Given Loss is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\r\n if(+estimate_net_loss_from > +estimate_net_loss_to){\r\n //alert(\"Given To value is Lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n \r\n // if(+estimate_net_loss_to > +estimate_net_loss_from){\r\n // alert(\"loss is greater than sales\");\r\n // details.controls.estimate_net_loss_to.setValue('');\r\n // details.controls.estimate_net_loss.setValue('');\r\n // details.controls.estimate_net_loss_percent.setValue('');\r\n // return;\r\n // }\r\n \r\n \r\n let C = (estimate_net_loss_to - estimate_net_loss_from)\r\n let D = (C / estimate_net_loss_from) * 100;\r\n \r\n let range1 = +estimate_net_loss_from/10;\r\n \r\n let lower = (+estimate_net_loss_from)+range1;\r\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\r\n\r\n if(estimate_net_loss_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_loss_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n \r\n }\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n \r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n }\r\n \r\n }\r\n \r\n}\r\n\r\n \r\n\r\n\r\n \r\n\r\n /** On Key Press Event For Input Field */\r\n keyPress(event: any) {\r\n //const pattern = /[0-9\\-\\.\\ ]/;\r\n const pattern = /[0-9\\.]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n\r\n switch(flag){\r\n case 1 :\r\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\r\n break;\r\n case 2 : \r\n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\r\n break;\r\n case 3 : \r\n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\r\n break;\r\n case 4 : \r\n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 : \r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 6 : \r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 7 : \r\n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 8 : \r\n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 9 : \r\n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 10 : \r\n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 11 : \r\n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 12 : \r\n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 13 : \r\n this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n this.picsArrayLength = val['records'].length;\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n captureTheFinancialPics(value){\r\n// alert('Value '+value+' - '+this.picsArrayLength);\r\n if(value == 'yes' && this.picsArrayLength == 0){\r\n alert('You Must Take The Finanical Pic');\r\n }\r\n else{\r\n alert('No Need');\r\n }\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.cons.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.formDetails.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':this.pdDetails.company_id,\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionClientInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-client-info',\r\n templateUrl: 'pd-question-client-info.html',\r\n})\r\nexport class PdQuestionClientInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n pdid: any;\r\n company_id: any;\r\n questionDetails: any;\r\n clientInfoForm: FormGroup;\r\n\r\n\r\n\r\n\r\n public submitted = false;\r\n\r\n public m_paymentType = [];\r\n\r\n companyRelationShipList: any = [];\r\n\r\n titleList: any = [];\r\n noRecordsFound: Boolean = false;\r\n errorMessage: any = '';\r\n m_manufacturingProducts: any = [];\r\n m_tradingProducts: any = [];\r\n m_suplierProducts: any = [];\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: string='0';\r\n complete_status: boolean = false;\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, \r\n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \r\n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider,private constantProvider:ConstantsProvider)\r\n {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid = this.pdDetails.pd_id;\r\n this.company_id = this.pdDetails.company_id;\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\r\n\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n });\r\n\r\n this.getdropList();\r\n\r\n\r\n //To checking Completed Status For CompleteList Menu\r\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\nconsole.log(\"form values\",this.clientInfoForm);\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\r\n this.getPDImages();\r\n \r\n }\r\n\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.parent_pdid=this.pdDetails.parent_pd_id\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus']) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.clientInfoForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n // Load form details for manufacturing\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n // if(dataForm.manufacturing_details[0].main_raw_materials){\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details){\r\n console.log(dataForm)\r\n \r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n console.log(\"NO Data\",dataForm)\r\n this.initManufacturingProductsDetails(null)\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n // }\r\n\r\n // Load form details for the wholeshale trading details\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n\r\n // Load form details for the service provider prduct details \r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n // return dataForm.service_products[key];\r\n // });\r\n if(dataForm.service_provider_details){\r\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initServiceProviderProductsDetails(null)\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n return dataForm.service_products[key];\r\n });\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProviderProductsDetails(null);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n // let arr = val.filter(data => data.type_of_activity_id == 4);\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n serviceProviderForm: Boolean = false;\r\n serviceProviderFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 5);\r\n if (arr.length > 0) {\r\n this.serviceProviderForm = true;\r\n return this.fb.group({\r\n service_products: this.fb.array([]),\r\n service_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initManufacturingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_product_name: [''],\r\n manufacturing_client_name: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n // manufacturing_credit_days: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: ['']\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_product_name: [records.manufacturing_product_name || null],\r\n manufacturing_client_name: [records.manufacturing_client_name || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\r\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initTradingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_client_name: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n trade_client_name: [records.trade_client_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n initServiceProviderProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n if (datas === null) {\r\n control.push(this.initServiceProviderProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\r\n control.push(this.initServiceProviderProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initServiceProviderProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initServiceProviderProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n service_provider_product_name: [''],\r\n service_provider_client_name: [''],\r\n service_provider_product_contact_person_name: [''],\r\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [''],\r\n service_provider_product_payment_mode: [''],\r\n service_provider_product_frequency_of_purchase: [''],\r\n service_provider_product_credit_days_from: [''],\r\n service_provider_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n service_provider_product_name: [records.service_provider_product_name],\r\n service_provider_client_name: [records.service_provider_client_name],\r\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\r\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\r\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\r\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\r\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\r\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoreServiceProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n\r\n control.push(this.initServiceProviderProducts(null));\r\n }\r\n\r\n removeServiceProduct(inx): void {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.companyRelationShipList = data['records'];\r\n // .filter(data => data.isactive == 1);\r\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n // saveclientDetails(answerData)\r\n // {\r\n // let records:any ={};\r\n\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId.form_id;\r\n // records.fk_createdby = this.users;\r\n\r\n // records.client_details = answerData.clientArray;\r\n\r\n // this.qustCat.saveForm(records).subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.navCtrl.pop();\r\n // }\r\n // });\r\n\r\n\r\n // }\r\n saveClientInfoWithImageCheck(answerFormValues){\r\n console.log(\"forms\",answerFormValues);\r\n let required_imageCheck=this.mandatoryImageCheck(answerFormValues)\r\n console.log(\"required image check\",required_imageCheck);\r\n if(!required_imageCheck){\r\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\r\n alert.present();\r\n alert.onDidDismiss(value=>{\r\n if(value=='s'){\r\n this.saveClientInfo(answerFormValues)\r\n }\r\n else{\r\n return true;\r\n }\r\n })\r\n }\r\n else{\r\n this.saveClientInfo(answerFormValues)\r\n }\r\n }\r\n\r\n /** To Save/Edited Popup Data */\r\n saveClientInfo(answerFormValues) {\r\n \r\n\r\n \r\n // answerFormValues.trade_details.forEach((value)=>{\r\n // value.trading_products.forEach()\r\n // })\r\n // this.imageDisplay.forEach((res,index)=>{\r\n // if(res.Name == )\r\n // })\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n if (answerFormValues.manufacturing_details[0] == null) {\r\n delete answerFormValues['manufacturing_details'];\r\n }\r\n if (answerFormValues.trade_details[0] == null) {\r\n delete answerFormValues['trade_details'];\r\n }\r\n if (answerFormValues.service_provider_details[0] == null) {\r\n delete answerFormValues['service_provider_details'];\r\n }\r\n\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n this.clientInfoForm.markAsUntouched();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n \r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 3) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n spCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n spCounter: any = [];\r\n checkCard(e, flag, index) {\r\n\r\n if (flag == 3 && e == 3) {\r\n this.spCounter[index] = 1;\r\n }\r\n else if (flag == 3 && e != 3) {\r\n this.spCounter[index] = 0;\r\n }\r\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\r\n this.spCreditCardFlag = SP > 0 ? true : false;\r\n\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n\r\n captureTheClientPics(materialName,index,clientName){\r\n \r\n if(clientName != ''){\r\n // 'Raw Material','l',items.get('manufacturing_supplier_name').value \r\n this.cameraProvider.getpicture().then(res=>{\r\n if(res != 'error'){\r\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':clientName + ' - ' + materialName + ' ' + (index+1),'link':geoCoordinates});\r\n })\r\n }\r\n\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n }\r\n else if(clientName == ''){\r\n alert('Please Fill The Client Name');\r\n }\r\n \r\n }\r\n mandatoryImageCheck(Form_values){\r\n let Form_names=[]\r\n if(Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null){\r\n if(Form_values.manufacturing_details[0].main_raw_materials.length != 0){\r\n Form_values.manufacturing_details[0].main_raw_materials.forEach((value,index)=>{\r\n Form_names.push({'index':index+1,'name':value.manufacturing_client_name+' - '+ 'Manufacturing Product ' + (index+1) })\r\n })\r\n }\r\n }\r\n if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){\r\n if(Form_values.service_provider_details[0].service_products.length != 0){\r\n Form_values.service_provider_details[0].service_products.forEach((value,index)=>{\r\n Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provider ' + (index+1) })\r\n })\r\n }\r\n}\r\n if(Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null){\r\n if( Form_values.trade_details[0].trading_products.length != 0){\r\n Form_values.trade_details[0].trading_products.forEach((value,index)=>{\r\n Form_names.push({'index':index+1,'name':value.trade_client_name+' - '+ 'Trading Product ' + (index+1) })\r\n })\r\n }\r\n}\r\n console.log(\"Form Values\",Form_names);\r\n // console.log(\"image values\",this.imageDisplay)\r\n let valBool\r\n let count:number=0;\r\n let mandatoryimgSaved=[]\r\n let mandatoryimgNotSaved=[]\r\n\r\nif(Form_names.length != 0 ){\r\n // if( this.imageDisplay.length !=0){\r\n Form_names.forEach(formvalue=>{\r\n this.imageDisplay.forEach((imgvalue)=>{\r\n \r\n // console.log(\"Form values individuals\",formvalue)\r\n if(formvalue.name != imgvalue.Name){\r\n \r\n valBool=true\r\n }\r\n else{\r\n\r\n valBool=false\r\n \r\n count ++;\r\n \r\n \r\n }\r\n if(count >=2 && valBool == false){\r\n // console.log(\"end of image dis\",formvalue.name,\"count \",count)\r\n mandatoryimgSaved.push(formvalue.name)\r\n // return\r\n }\r\n else{\r\n mandatoryimgNotSaved.push(formvalue.name)\r\n return\r\n }\r\n \r\n })\r\n if(valBool==true)\r\n console.log(\"Form name\",formvalue.name)\r\n \r\n mandatoryimgNotSaved.push(formvalue.name)\r\n \r\n })\r\n \r\n // console.log(\"mandatoryimgSaved\",mandatoryimgSaved)\r\n // console.log(\"mandatoryimgNot Saved\",mandatoryimgNotSaved)\r\n mandatoryimgSaved.forEach(res=>{\r\n mandatoryimgNotSaved=mandatoryimgNotSaved.filter(val=>val != res)\r\n \r\n })\r\n \r\n // console.log(\"res for not saved img\",mandatoryimgNotSaved);\r\n // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)]\r\n let uniquenotsavedImage=(mandatoryimgNotSaved)=>mandatoryimgNotSaved.filter((val,i)=>mandatoryimgNotSaved.indexOf(val) === i)\r\n console.log(\"uniw\",uniquenotsavedImage(mandatoryimgNotSaved));\r\n if(uniquenotsavedImage(mandatoryimgNotSaved).length > 0){\r\n return false\r\n }\r\n else{\r\n return true\r\n }\r\n \r\n //COUNTING THE DUPLICATES IN AN ARRAY\r\n // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a'];\r\n // var map = arr.reduce(function(prev, cur) {\r\n // prev[cur] = (prev[cur] || 0) + 1;\r\n // return prev;\r\n // }, {});\r\n \r\n // map is an associative array mapping the elements to their frequency:\r\n // console.log(map);\r\n // prints {\"a\": 3, \"b\": 2, \"c\": 2, \"d\": 2, \"e\": 2, \"f\": 1, \"g\": 1, \"h\": 3}\r\n // }\r\n // else{\r\n // return true\r\n // }\r\n}\r\nelse{\r\n return true\r\n}\r\n\r\n }\r\n\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.formDetails.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':this.pdDetails.company_id,\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\r\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\r\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDashPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-dash',\r\n templateUrl: 'pd-question-assessed-dash.html',\r\n})\r\nexport class PdQuestionAssessedDashPage {\r\n\r\n businessIncome: boolean;\r\n grossAccess: boolean;\r\n finalAccess: boolean;\r\n finalExpense: any;\r\n finalIncome: any;\r\n finalData: any;\r\n houseExpenseData: boolean;\r\n businessData: boolean;\r\n salesData: boolean;\r\n purchaseData: boolean;\r\n purchaseBillData:boolean=false;\r\n grossprofit: any;\r\n assessedProcess: boolean;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n alertShown: boolean;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n calc_type_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n // radio_for_mode:[null,Validators.compose([Validators.required])],\r\n mode:[null],\r\n margin:[null],\r\n purchase_type:[null,Validators.compose([Validators.required])],\r\n fk_createdby:[null],\r\n fk_updatedby:[null],\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getassessedIncome(); \r\n }\r\n getViewPage(pageId)\r\n {\r\nif(pageId == 11){//Summary\r\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\r\n}\r\nelse if(pageId == 12){//IMAGES\r\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\r\n}\r\nelse{\r\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\r\n}\r\n }\r\n\r\n saveAssessedForm(answerData)\r\n {\r\n \r\n \r\n if(this.assessedForm.valid)\r\n {\r\n console.log(\"mode\",answerData.purchase_type.value)\r\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\r\n this.assessedForm.controls['mode'].setValue(1)\r\n this.assessedForm.controls['margin'].setValue(null)\r\n \r\n }\r\n else if(this.assessedForm.controls['purchase_type'].value == 2){\r\n this.assessedForm.controls['mode'].setValue(1)\r\n this.assessedForm.controls['margin'].setValue(null)\r\n \r\n }\r\n else if(this.assessedForm.controls['purchase_type'].value == 0){\r\n this.assessedForm.controls['mode'].setValue(2)\r\n this.assessedForm.controls['margin'].setValue(2)\r\n this.assessedForm.controls['purchase_type'].setValue(null)\r\n }\r\n if(this.assessedForm.controls['calc_type_id'].value != null){\r\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\r\n }\r\n if(this.assessedForm.controls['fk_createdby'].value == null){\r\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\r\n }\r\n console.log(this.assessedForm.value);\r\n let tempRec=this.assessedForm.value\r\n tempRec.company_id=this.pdDetails.company_id;\r\n console.log(\"tempRec\",tempRec)\r\n let records = {'records':tempRec};\r\n // delete records.records.radio_for_mode\r\n\r\n // console.log(\"after\",records);\r\n \r\n \r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\r\n setTimeout(()=>{\r\n this.getassessedIncome();\r\n })\r\n \r\n }else\r\n {\r\n\r\n }\r\n })\r\n \r\n }\r\n \r\n }\r\n\r\n getassessedIncome()\r\n {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.assessedProcess = true;\r\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\r\n if(res['records'].purchase_details.length !=0)\r\n {\r\n this.purchaseData = true;\r\n }\r\n if(res['records'].purchase_billwise.length != 0){\r\n this.purchaseBillData=true;\r\n }\r\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\r\n {\r\n this.salesData = true;\r\n }\r\n if(res['records'].business_expenses.length !=0)\r\n {\r\n this.businessData = true;\r\n }\r\n if(res['records'].house_hold_expenses.length !=0)\r\n {\r\n this.houseExpenseData = true;\r\n }\r\n if(res['records'].othre_business_income.length !=0)\r\n {\r\n this.businessIncome = true;\r\n }\r\n \r\n if(res['records'].final_data.length !=0){\r\n this.finalAccess = true;\r\n this.finalData = res['records'].final_data[0]; \r\n this.finalIncome = this.finalData.income;\r\n this.finalExpense = this.finalData.expense; \r\n }\r\n \r\n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\r\n {\r\n this.grossAccess = true;\r\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\r\n if(this.grossprofit.purchase_type == null ){\r\n this.assessedForm.controls['purchase_type'].setValue(0);\r\n }\r\n else{\r\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\r\n }\r\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\r\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\r\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\r\n }\r\n \r\n \r\n }else\r\n {\r\n this.assessedProcess = false;\r\n }\r\n });\r\n }\r\n completeAI(){\r\n let updateStatus={\r\n \"fk_pd_id\":this.pdDetails.pd_id,\r\n \"company_id\":this.pdDetails.company_id,\r\n \"calc_type_id\":this.grossprofit.calc_type_id,\r\n \"is_completed\":1\r\n }\r\n let records:any={'records':updateStatus}\r\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1000)\r\n\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Error\")\r\n }\r\n })\r\n }\r\n presentConfirm(){\r\n let alert=this.alertCtrl.create({\r\n title:'Complete Assessed Income',\r\n message:'Please confirm you are completing the Assessed Income details?',\r\n buttons:[\r\n {\r\n text:'No',\r\n role:'no',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n //this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.completeAI()\r\n }\r\n }\r\n ]\r\n });\r\n alert.present();\r\n // this.alertShown=true;\r\n }\r\n\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\r\n/*\r\n Generated class for the DatabaseProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class DatabaseProvider {\r\n database:SQLiteObject;\r\n constructor(public http: HttpClient,public sql:SQLite) {\r\n console.log('Hello DatabaseProvider Provider');\r\n this.createnewdb();\r\n }\r\n\r\n createnewdb()\r\n {\r\n // alert('function in');\r\n this.sql.create(\r\n {\r\n name:'sinnedge',\r\n location:'defalut',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \r\n {\r\n // alert('db create');\r\n this.getuserDetails();\r\n })\r\n .catch(e => console.log(e));\r\n })\r\n }\r\n getuserDetails()\r\n {\r\n // alert('getusers');\r\n this.sql.create(\r\n {\r\n name:'sineedge',\r\n location:'default',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\r\n {\r\n console.log(res);\r\n })\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Camera } from '@ionic-native/camera';\r\n/*\r\n Generated class for the CameraProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class CameraProvider {\r\n\r\n constructor(public http: HttpClient,public camera:Camera) {\r\n console.log(\r\n \"%cWelcome, Camera Provider\",\r\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\r\n );\r\n }\r\n getpicture() \r\n {\r\n const options = {\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 500,\r\n correctOrientation: true\r\n };\r\n\r\n // If set to crop, restricts the image to a square of 600 by 600\r\n \r\n\r\n return this.camera.getPicture(options).then(imageData => {\r\n console.log('From Camera.ts - getPicture fn image are',imageData)\r\n const base64Image = 'data:image/png;base64,' + imageData;\r\n console.log(\"base 64\",base64Image);\r\n return base64Image;\r\n }, error => {\r\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\r\n return \"error\"\r\n });\r\n \r\n }\r\n\r\n getcommonpicture() \r\n {\r\n const options = {\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 500,\r\n correctOrientation: true\r\n };\r\n\r\n // If set to crop, restricts the image to a square of 600 by 600\r\n \r\n\r\n return this.camera.getPicture(options).then(imageData => {\r\n console.log('From Camera.ts - getcommonpicture fn image are',imageData)\r\n const base64Image = 'data:image/png;base64,' + imageData.filter(data=>data.fk_form_id == null);\r\n console.log(\"base 64\",base64Image);\r\n return base64Image;\r\n }, error => {\r\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\r\n return \"error\"\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { LoadingController } from 'ionic-angular';\r\nimport { async } from 'rxjs/internal/scheduler/async';\r\n/*\r\n Generated class for the LoadingProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class LoadingProvider {\r\n\r\n loading: any;\r\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\r\n console.log('Hello LoadingProvider Provider');\r\n }\r\n\r\n pdloader(content)\r\n {\r\n this.loading = this.loadingCtrl.create({\r\n content: content\r\n });\r\n\r\n this.loading.present();\r\n }\r\n loaderForSendImage(){\r\n const loading=this.loadingCtrl.create({\r\n content:'Sending...',\r\n duration:2000,\r\n })\r\n return loading.present();\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 258;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 258\n// module chunks = 2","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 301;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 301\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\nimport { AlertController } from 'ionic-angular';\r\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\r\n// import { GridPage } from '../grid/grid';\r\n\r\n\r\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\r\nimport { Camera } from '@ionic-native/camera';\r\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\n\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\n// import { CustomValidators } from 'ng2-validation';\r\n\r\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PasswordPage } from '../password/password';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n\r\n@Component({\r\n selector: 'page-login',\r\n templateUrl: 'login.html',\r\n})\r\nexport class LoginPage {\r\n users: any;\r\nchangepass: FormGroup;\r\nemail: string;\r\npassword: string;\r\nnewpassword: any;\r\nconfirmPassword: any;\r\nchangePassword: any;\r\nstatus: Boolean = false;\r\nconfig: MatDialogConfig = {\r\n disableClose: false,\r\n width: '',\r\n height: '',\r\n position: {\r\n top: '',\r\n bottom: '',\r\n left: '',\r\n right: ''\r\n }\r\n};\r\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\r\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\r\n,public toast:ToastProvider) {\r\n \r\n}\r\nngOnInit(){\r\n //this.loggedInCheck();\r\n \r\n}\r\nionViewDidEnter(){\r\n this.Menu.enable(false);\r\n}\r\nionViewWillLeave(){\r\n this.Menu.enable(true);\r\n}\r\n/**\r\n* @param email\r\n* @param password\r\n* AWS login service\r\n*/\r\nlogin() {\r\n // console.log(this.email);\r\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\r\n let auth = { 'Username': this.email, 'Password': this.password };\r\n this.aws.dologin(auth).subscribe(awsres => {\r\n let userid = this.aws.getlocale();\r\n \r\n this.aws.getuserprofile(userid).subscribe(usersres=>\r\n {\r\n this.users = usersres; \r\n \r\n if (this.users.dataStatus == true) {\r\n \r\n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\r\n this.navCtrl.setRoot(PdListPage);\r\n \r\n }else\r\n {\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n\r\n \r\n }\r\n });\r\n }, err => {\r\n console.log(JSON.stringify(err.message));\r\n if (err.message == \"New password is required.\") {\r\n //console.log(\"if\");\r\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\r\n } else {\r\n console.log(JSON.stringify(err.message));\r\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\r\n\r\n }\r\n //alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter Email or Password');\r\n }\r\n}\r\n/**\r\n * New password set\r\n * Defalut aws function \r\n * @param email password,newpassword\r\n */\r\n// newpassopen() {\r\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\r\n// dialogRef.afterClosed().subscribe(result => {\r\n// if (result !== undefined) {\r\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\r\n// console.log(auth);\r\n// this.aws.dologin(auth).subscribe(res => {\r\n// console.log(res);\r\n// // this.router.navigate(['/home']);\r\n// }, err => {\r\n// // alert(err.message);\r\n\r\n// })\r\n// }\r\n// });\r\n// }\r\n\r\nforgotopen() {\r\n this.status = true;\r\n}\r\n\r\n\r\nforgotpassword() {\r\n\r\n let auth = { 'Username': this.email };\r\n console.log(auth);\r\n // this.aws.userforgotpass(auth).subscribe(res => {\r\n // console.log(res);\r\n\r\n // })\r\n}\r\nloggedInCheck(){\r\n //alert(this.shared.isLoggedIn);\r\n if(this.shared.isLoggedIn){\r\n alert(\"if\");\r\n // this.router.navigate(['/home']);\r\n return false;\r\n }else{\r\n alert(\"else\");\r\n \r\n return true;\r\n }\r\n}\r\n\r\n}\r\n\r\n// ======================= END ==============================\r\n/**\r\n* New password Dialog\r\n*/\r\n\r\n// const newpassword = new FormControl('', Validators.required);\r\n// const confirmPassword = new FormControl('');\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
New Password Change.
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n//
\r\n// \r\n// \r\n// \r\n\r\n// Passwords do not math.\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class NewPasswordDialog {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n\r\n// }\r\n\r\n\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
Forgot Password
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class ForgotPass {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n// }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\n\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question',\r\n templateUrl: 'pd-question.html',\r\n})\r\nexport class PdQuestionPage {\r\n \r\n docqustid: any;\r\n docName: any = [];\r\n docArray: any = [];\r\n imageArray:any = [];\r\n questionCate: any;\r\n qustCate: any;\r\n pdinfo: any;\r\n items: FormArray;\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= false;\r\n isLeft:boolean= false;\r\n tabs:any=[];\r\n \r\n questionDetails: any;\r\n questionAnswer:FormGroup;\r\n questionanotherData:FormGroup;\r\n userid:any;\r\n questionId:any;\r\n qustType:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\r\n \r\n this.screenWidth_px=platform.width();\r\n\r\n \r\n this.questionAnswer = this.fb.group(\r\n {\r\n answerDetails:[null],\r\n items:this.fb.array([]),\r\n })\r\n this.questionanotherData = this.fb.group(\r\n {\r\n questionRemarks:[null]\r\n })\r\n this.getpdQuestionDetails();\r\n this.userid = this.aws.getlocale();\r\n}\r\n\r\n ionViewDidLoad() {\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n ionViewWillLeave() {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n // let answerDetails = this.questionAnswer.value;\r\n // let remarks = this.questionanotherData.value;\r\n if(this.isLeft)\r\n {\r\n //this.prev(answerDetails,remarks,this.questionDetails);\r\n }\r\n if(this.isRight)\r\n {\r\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\r\n }\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n \r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n \r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n \r\n this.isLeft=false;\r\n this.isRight=false;\r\n \r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n \r\n \r\n }\r\n /**\r\n * Pd Discussion Qustion Load\r\n */\r\n getpdQuestionDetails()\r\n {\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdinfo = this.navParams.get('pdDetails');\r\n for(let qustimage of this.questionDetails.questions)\r\n { \r\n if(qustimage.images !==undefined){\r\n for(let image of qustimage.images)\r\n {\r\n image.questionId = qustimage.fk_question_id; \r\n this.docArray.push(image);\r\n }\r\n for(let answers of qustimage.answers)\r\n {\r\n if(qustimage.fk_question_answertype == 3)\r\n {\r\n this.items = this.questionAnswer.get('items') as FormArray;\r\n \r\n this.items.push(this.getquestionAnswer(answers));\r\n \r\n \r\n }\r\n }\r\n }\r\n }\r\n for(let i=1;i<=this.questionDetails.questions_count;i++){\r\n let j = i.toString();\r\n this.tabs.push(j);\r\n }\r\n }\r\n\r\ngetquestionAnswer(answers)\r\n{\r\n return this.fb.group(\r\n {\r\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\r\n \"pd_answer_id\":answers.question_answer_id,\r\n \"pd_answer\": answers.answer,\r\n \"pd_answer_weightage\": answers.template_answer_weightage,\r\n \"fk_pd_id\":this.pdinfo.pd_id,\r\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\r\n \"checkbox\":(answers.isactive == null?false:true)\r\n \r\n \r\n })\r\n}\r\n // count = 0;\r\n getDocUpload(qustid)\r\n {\r\n // this.docqustid = qustId;\r\n this.camera.getpicture().then(res=>\r\n {\r\n if(res !== undefined){\r\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\r\n }\r\n });\r\n // this.count++;\r\n }\r\n docnames(name,id,image,qustid)\r\n {\r\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\r\n }\r\n removeimage(index){\r\n //for(let i=0;i<=this.igrimage.length;i++){\r\n //if(this.igrimage[i]== this.igrimage[index]){\r\n this.docArray.splice(index,1);\r\n //}\r\n //}\r\n }\r\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\r\n {\r\n \r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n\t\t\"fk_pd_id\": pd_id,\r\n\t\t\"fk_category_id\": catid,\r\n\t\t\"fk_question_id\": qut_id,\r\n\t\t\"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n\t\t\"pd_answer\": pd_answer,\r\n\t\t\"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n\t\t\r\n\t\t\"fk_createdon\": createon,\r\n\t\t\"createdby\": createdby,\r\n\t\t\"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n // {\r\n // this.qustCate = res;\r\n // if(this.qustCate.dataStatus == true){\r\n // this.SwipedTabsSlider.slideNext();\r\n // this.docArray = [];\r\n // this.getcategoryList(qt_id,pd_id);\r\n // }\r\n // })\r\n // }else\r\n // {\r\n \r\n // this.SwipedTabsSlider.slideNext(); \r\n }\r\n } \r\n\r\n getcategoryList(qustinfo,pdId)\r\n {\r\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\r\n };\r\n let answerData:any;\r\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\r\n {\r\n answerData = res;\r\n if(answerData.dataStatus == true)\r\n {\r\n \r\n // answerData = answerData.records;\r\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\r\n // eachquestion['answers'] = answerData.answers; \r\n \r\n // this.questionDetails =\r\n // this.imageArray = answerData.images;\r\n // for(let docs of this.imageArray)\r\n // {\r\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\r\n // }\r\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\r\n }\r\n });\r\n }\r\n prev(answerDetails,questionRemarks,questionDetails) {\r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n \"fk_pd_id\": pd_id,\r\n \"fk_category_id\": catid,\r\n \"fk_question_id\": qut_id,\r\n \"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n \"pd_answer\": pd_answer,\r\n \"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n \r\n \"fk_createdon\": createon,\r\n \"createdby\": createdby,\r\n \"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n {\r\n this.qustCate = res;\r\n if(this.qustCate.dataStatus == true){\r\n this.SwipedTabsSlider.slidePrev();\r\n this.docArray = [];\r\n this.getcategoryList(qt_id,pd_id);\r\n }\r\n })\r\n }else{\r\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\r\n this.SwipedTabsSlider.slidePrev();\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport {Camera} from '@ionic-native/camera'\r\n\r\nimport {searchValue} from '../search'\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {StorageProvider} from '../../../providers/storage/storage'\r\nimport 'rxjs/add/observable/interval';\r\nimport { DatePipe } from '@angular/common';\r\n// import{CacheService} from 'ionic-cache-observable'\r\n/**\r\n * Generated class for the PdQuestionAddressPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-address',\r\n templateUrl: 'pd-question-address.html',\r\n})\r\nexport class PdQuestionAddressPage {\r\n\r\n // additional_premises: any=[];\r\n // bussiness_address_type: any=[];\r\n // formPremisesCityArray: any=[];\r\n // tempArr: any[];\r\n // cityData: any = [];\r\n // PremisesLabel: any=[];\r\n // formPremisesArray: any=[];\r\n // z:number = 0;\r\n \r\n // PremisesOtherFlag: boolean;\r\n CITY: any;\r\n residence: any;\r\n FormId: any;\r\n getaddressDetails: any;\r\n users: any;\r\n address: string;\r\n custBehaviour: any;\r\n cmtlocality: any;\r\n\r\n //placeholderName : any = 'Estimated area of the (Address Type)';\r\n placeholderName:any=[];\r\n premisesRentAmtInwords:any=[];\r\n rentAmtInwords : any ;\r\n\r\n locality: any = [];\r\n pdlocation: any = [];\r\n pdDetails: any;\r\n questionDetails: any;\r\n pdQuestionAddress:FormGroup;\r\n addressTypes:any=[];\r\n addressRemarksAccess:boolean = false;\r\n items:FormArray;\r\n pdState: any;\r\n pdCity: any;\r\n pdPincode: any;\r\n pdOtherPincode: any;\r\n cityData: any=[];\r\n pincodeData: any=[];\r\n stateData: any=[];\r\n uomData: any=[];\r\n addressesList: any;\r\n pincodeValue:any=[]\r\n cityDataValue:any=[]\r\n complete_status : boolean = false;\r\n pipe = new DatePipe('en-US');\r\n AppxPDLocationImgValid : boolean = false;\r\n // counts:number = 1;\r\n private search:searchValue[]\r\n protected _onDestroy = new Subject();\r\n public filteredCity: ReplaySubject = new ReplaySubject(1);\r\n public filteredState:ReplaySubject=new ReplaySubject(1)\r\n pincodeDataValue: any=[];\r\n base64: string;\r\n imageBucket: any=[];\r\n tab:string='0';\r\n imageDisplay: any=[];\r\n public data$:Observable\r\n timer:any;\r\n alertnativeCityData: any=[];\r\n alertnativePincodeData: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\r\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\r\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n \r\n this.FormId = this.navParams.get('FormId');\r\n\r\n this.users = this.aws.getlocale();\r\n //this.constant.getGeoTag().then(res=>{\r\n //console.log(\"constructor geo location promise\",res);\r\n //})\r\n\r\n // console.log(\"geo\",this.constant.getGeoTag())\r\n\r\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\r\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\r\n // }else{\r\n // this.address = this.pdDetails.addressline1+', - , -'; \r\n // }\r\n // this.pdState = this.pdDetails.fk_state;\r\n // this.getCityAndPincodeDetails(this.pdState);\r\n // this.pdCity = this.pdDetails.fk_city;\r\n // this.pdPincode = this.pdDetails.pincode_id;\r\n \r\n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\r\n \r\n this.getdropdownlist();\r\n \r\n //const control=this.pdQuestionAddress.controls['addresses']\r\n\r\n this.pdQuestionAddress = this.fb.group(\r\n {\r\n // addresses:this.fb.array([]),\r\n // address_form_remark:[''],\r\n // alternative_address:this.fb.array([]),\r\n // address_type_ques:this.fb.array([]),\r\n // pd_is_done_on_initiated_address:['']\r\n // address_ownership:[null],\r\n // other_ownership:[null],\r\n // rent_amt:[null],\r\n // other_premises_bussiness_activity : [null],\r\n // bussiness_activity_remark:[null],\r\n // bussiness_activity:[null],\r\n // bussiness_address_type:[null],\r\n // bussiness_address_type_others:[null], \r\n // business_years:[null],\r\n // business_month:[null],\r\n // additional_address_units: this.fb.array([]),\r\n addresses: this.fb.array([]),\r\n is_pd_done_on_initiated_address: [true],\r\n address_type: ['', Validators.compose([Validators.required])],\r\n locality: ['', Validators.compose([Validators.required])],\r\n locality_mixuse: [''],\r\n pd_location: ['', Validators.compose([Validators.required])],\r\n comment_locality: ['', Validators.compose([Validators.required])],\r\n estimated_area: [''],\r\n uom: [''],\r\n address_form_remark: ['']\r\n \r\n });\r\n \r\n //this.loadPD()\r\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\r\n \r\n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\r\n // .pipe(takeUntil(this._onDestroy))\r\n // .subscribe(()=>{\r\n // this.SearchCity(0);\r\n // })\r\n this.timer = Observable.interval(10000)\r\n .subscribe((val) => { console.log('test',val); });\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n //this.addUnits();\r\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\r\n //this.getaddressForm(); \r\n let params = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.setAddressFromDatas(params);\r\n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\r\n this.getPDImages();\r\n \r\n }\r\n\r\n \r\n searchFun(control:any,i:number,option,flag){\r\n\r\n if (option == 'city' && flag ==1) {\r\n control.controls['citySearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.SearchCity(control.controls['citySearch'].value, i);\r\n })\r\n }\r\n if (option == 'state') {\r\n\r\n control.controls['stateSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.searchState(control.controls['stateSearch'].value)\r\n })\r\n }\r\n if (option == 'pin' && flag ==1) {\r\n \r\n control.controls['pinSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.searchPin(control.controls['pinSearch'].value,i)\r\n })\r\n }\r\n if (option == 'city' && flag ==2) {\r\n control.controls['citySearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.SearchAlternativeCity(control.controls['citySearch'].value, i);\r\n })\r\n }\r\n if (option == 'pin' && flag ==2) {\r\n \r\n control.controls['pinSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.searchAlternativePin(control.controls['pinSearch'].value,i)\r\n })\r\n }\r\n }\r\n searchPin(val:any,index:number){\r\n if(!this.pincodeData[index]){\r\n return\r\n }\r\n let searchValue=val\r\n if(!searchValue){\r\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\r\n return\r\n }else{\r\n searchValue=searchValue.toLowerCase()\r\n }\r\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\r\n }\r\n SearchCity(val: any, i: number) {\r\n if (!this.cityData[i]) {\r\n return\r\n }\r\n let searchValue = val\r\n if (!searchValue) {\r\n // this.filteredCity.next(this.cityData[i].slice())\r\n this.cityDataValue[i]=this.cityData[i].slice()\r\n return\r\n } else {\r\n searchValue = searchValue.toLowerCase()\r\n }\r\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n // this.filteredCity.next(\r\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n // )\r\n\r\n }\r\n searchAlternativePin(val:any,index:number){\r\n if(!this.pincodeData[index]){\r\n return\r\n }\r\n let searchValue=val\r\n if(!searchValue){\r\n this.alertnativePincodeData[index]=this.pincodeData[index].slice()\r\n return\r\n }else{\r\n searchValue=searchValue.toLowerCase()\r\n }\r\n this.alertnativePincodeData[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\r\n }\r\n SearchAlternativeCity(val: any, i: number) {\r\n if (!this.cityData[i]) {\r\n return\r\n }\r\n let searchValue = val\r\n if (!searchValue) {\r\n // this.filteredCity.next(this.cityData[i].slice())\r\n this.alertnativeCityData[i]=this.cityData[i].slice()\r\n return\r\n } else {\r\n searchValue = searchValue.toLowerCase()\r\n }\r\n this.alertnativeCityData[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n // this.filteredCity.next(\r\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n // )\r\n\r\n }\r\n searchState(val: any) {\r\n \r\n if (!this.stateData) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n this.filteredState.next(this.stateData.slice())\r\n return\r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n this.filteredState.next(\r\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\r\n )\r\n }\r\n\r\ncountRowsForTextarea(text){\r\n \r\n \r\n \r\n if(text !='' && text != undefined){\r\n if(text.length%100 > 5)\r\n return 5;\r\n else if(text.length%100 <= 3)\r\n return 3;\r\n else return Math.floor(text.length%100);\r\n\r\n }\r\n}\r\n\r\n ionViewWillLeave()\r\n {\r\n \r\n\r\n // let method = this.alerCtrl.create({\t\t\t\r\n // message: 'Do You Want Save',\r\n // buttons: [\r\n // {\r\n // text: 'Save',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // }\r\n // },\r\n // {\r\n // text: 'Cancel',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // this.navCtrl.pop(); \r\n // }\r\n // }\r\n // ]\r\n // });\r\n // method.present()\r\n \r\n \r\n \r\n }\r\n\r\n ionViewCanLeave(){\r\n this.timer.unsubscribe();\r\n \r\n if(this.pdQuestionAddress.dirty){\r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n \r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n //For Inserting the data locally\r\n // this.localInsert(true);\r\n\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n /** To Get City And Pincode Data For Address Form \r\n * Param 'stateID' -> selected StateId\r\n */\r\n getCityAndPincodeDetails(stateID: string,i,flag) {\r\n \r\n //this.pdQuestionAddress.controls['addresses']['controls'].controls\r\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\r\n if (data.status == 200) {\r\n this.cityData[i] = data.records.cities;\r\n this.search=this.cityData[i]\r\n this.pincodeData[i] = data.records.pincode;\r\n \r\n //this.filteredCity.next(this.cityData[i].slice())\r\n if(flag== 1){\r\n this.cityDataValue[i]=this.cityData[i].slice()\r\n // this.pincodeData[i] = data.records.pincode;\r\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\r\n }\r\n else if(flag == 2){\r\n this.alertnativeCityData[i]=this.cityData[i].slice()\r\n this.alertnativePincodeData[i]=this.pincodeData[i].slice()\r\n }\r\n }\r\n //FOR PINCODE FREE TEXT\r\n // let pin\r\n // if(pincode != ''){\r\n // if(pincode != 1){\r\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\r\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\r\n \r\n\r\n // }\r\n // }\r\n });\r\n }\r\n\r\n\r\n\r\n getdropdownlist()\r\n {\r\n // this.addressTypes = [\r\n \r\n // {'id':'Office','Name':'Office'},\r\n // {'id':'Clinic','Name':'Clinic'},\r\n // {'id':'Factory','Name':'Factory'},\r\n // {'id':'Warehouse','Name':'Warehouse'},\r\n // {'id':'Shop','Name':'Shop'},\r\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\r\n // {'id':'Residence','Name':'Residence'},\r\n // {'id':'OTHERS','Name':'OTHERS'}\r\n // ];\r\n\r\n \r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \r\n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\r\n // this.data$=res.get$\r\n // })\r\n }\r\n // this.cacheObservable.loadFromObservable()\r\n \r\n })\r\n \r\n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\r\n {\r\n this.pdlocation = res;\r\n if(this.pdlocation.dataStatus == true)\r\n {\r\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\r\n {\r\n this.cmtlocality = res;\r\n if(this.cmtlocality.dataStatus ==true)\r\n {\r\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\r\n }\r\n });\r\n\r\n \r\n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\r\n // {\r\n // this.custBehaviour = res;\r\n // if(this.custBehaviour.dataStatus == true)\r\n // {\r\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\r\n // }\r\n // })\r\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.locality = res['records'].filter(loc=>loc.isactive==1);\r\n }\r\n })\r\n\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.residence = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('CITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.CITY = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\r\n this.stateData=res['records'].filter(val=>val.isactive == 1);\r\n this.filteredState.next(this.stateData.slice())\r\n\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\r\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\r\n })\r\n \r\n }\r\n\r\n // checkaddress(value)\r\n // {\r\n // \r\n // if(value==\"OTHERS\")\r\n // {\r\n // this.addressRemarksAccess = true;\r\n // }else\r\n // {\r\n // this.addressRemarksAccess = false;\r\n // }\r\n // }\r\n\r\n // createItem(): FormGroup {\r\n // return this.fb.group({\r\n // name: [null],\r\n // do_you_know: [null],\r\n // how_long: [null],\r\n // is_owner: [null],\r\n // });\r\n // };\r\n \r\n createUnits(val): FormGroup {\r\n if(val==null){\r\n return this.fb.group({\r\n no_of_additional_units: [''],\r\n premises_type: [''],\r\n premises_type_others: [''],\r\n premises_city: [''],\r\n // premises_ownership: [''],\r\n //premises_ownership_others: [''],\r\n //premises_rent_amt:[''],\r\n premises_remarks: [''],\r\n });\r\n }\r\n else{\r\n \r\n return this.fb.group({\r\n no_of_additional_units: [val.no_of_additional_units],\r\n premises_type: [val.premises_type],\r\n premises_type_others: [val.premises_type_others],\r\n premises_city: [val.premises_city],\r\n // premises_ownership: [val.premises_ownership],\r\n // premises_ownership_others: [val.other_ownership],\r\n // premises_rent_amt:[val.rent_amt],\r\n premises_remarks: [val.premises_remarks],\r\n });\r\n \r\n }\r\n }\r\n\r\n addUnits() {\r\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n this.items.push(this.createUnits(null));\r\n}\r\n\r\n\r\n removeUnits(i){\r\n this.items.removeAt(i);\r\n }\r\n\r\n ConvertMonthintoYear(e){\r\n \r\n let business_year = this.pdQuestionAddress.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n }\r\n initAddress(AddressDetails){\r\n \r\n if(AddressDetails != null){\r\n return this.fb.group({\r\n address: [AddressDetails.address],\r\n // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\r\n // address_type_others: [AddressDetails.address_type_others],\r\n state: [AddressDetails.state],\r\n city: [AddressDetails.city],\r\n citySearch:[''],\r\n stateSearch:[''],\r\n pinSearch:[''],\r\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\r\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n // locality: [AddressDetails.locality, Validators.compose([Validators.required])],\r\n // locality_others: [AddressDetails.locality_others],\r\n // // locality_mixuse: [AddressDetails.locality_mixuse],\r\n // pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\r\n // comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\r\n // estimated_area: [AddressDetails.estimated_area],\r\n // uom: [AddressDetails.uom],\r\n // uom_others: [AddressDetails.uom_others] \r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n address: ['' ],\r\n // address_type: ['', Validators.compose([Validators.required])],\r\n // address_type_others: [''],\r\n state: [''],\r\n city: [''],\r\n citySearch:[''],\r\n stateSearch:[''],\r\n pinSearch:[''],\r\n pincode: [''],\r\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n // locality: ['', Validators.compose([Validators.required])],\r\n // locality_others: [''],\r\n // // locality_mixuse: [''],\r\n // pd_location: ['', Validators.compose([Validators.required])],\r\n // comment_locality: ['', Validators.compose([Validators.required])],\r\n // estimated_area: [''],\r\n // uom: [''],\r\n // uom_others: [''] \r\n });\r\n }\r\n \r\n }\r\n alternativeAddress(e) {\r\n console.log(e);\r\n console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value)\r\n if (e === false) {\r\n console.log('alternativeAddress false',e);\r\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\r\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\r\n alternative_address_control.push(this.initAlternativeAddress(null));\r\n }\r\n else if (e === true) {\r\n console.log('alternativeAddress',e);\r\n this.pdQuestionAddress.removeControl('alternative_addresses');\r\n }\r\n}\r\n initAlternativeAddress(add_values){\r\n if(add_values == null){\r\nreturn this.fb.group({\r\n alternative_address:[''],\r\n alternative_state:[''],\r\n stateSearch:[''],\r\n citySearch:[''],\r\n pinSearch:[''],\r\n alternative_city:[''],\r\n alternative_pincode:[''],\r\n alternative_pincode_others:[''],\r\n reason_for_alternative_address:['']\r\n })\r\n}\r\nelse{\r\n return this.fb.group({\r\n alternative_address:[add_values.alternative_address],\r\n alternative_state:[add_values.alternative_state],\r\n stateSearch:[''],\r\n citySearch:[''],\r\n pinSearch:[''],\r\n alternative_city:[add_values.alternative_city],\r\n alternative_pincode:[add_values.alternative_pincode],\r\n alternative_pincode_others:[add_values.alternative_pincode_others],\r\n reason_for_alternative_address:[add_values.reason_for_alternative_address]\r\n})\r\n}\r\n\r\n }\r\n /** On Key Press Event For Numbers */\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n \r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i){ \r\n \r\n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n \r\n }\r\n\r\n inWordsForRent(e){\r\n \r\n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\r\n }\r\n\r\n selectedAddressType(e: any,i){\r\n this.placeholderName[0] = 'Estimated area of the ' + e;\r\n }\r\n imageMandatoryCheck(){\r\n if(this.pdQuestionAddress.invalid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\r\n return\r\n }\r\n if(this.AppxPDLocationImgValid == false){\r\n //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\r\n let alert=this.toast.setAlert(\"Mandatory photographs not taken\",\" Do you want to take it later?\")\r\n alert.present();\r\n alert.onDidDismiss(value=>{\r\n if(value=='s'){\r\n this.onSubmit()\r\n }\r\n else{\r\n return true;\r\n }\r\n })\r\n }\r\n else{\r\n this.onSubmit()\r\n }\r\n \r\n }\r\n onSubmit() {\r\n\r\n // if(this.pdQuestionAddress.invalid){\r\n // this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\r\n // return\r\n // }\r\n // if(this.AppxPDLocationImgValid == false){\r\n // //this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\r\n \r\n // }\r\n // else if (this.addressForm.value.address_form_remark == '') {\r\n // this.notifier.notify('warning', 'Fill Remark!');\r\n // this.disableAfterSubmit = false;\r\n // return;\r\n // }\r\n \r\n // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value);\r\n\r\n let records: any = {};\r\n\r\n records.addresses = this.pdQuestionAddress.controls.addresses.value;\r\n records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value\r\n\r\n if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) {\r\n if(records.addresses[0].pincode != 1){\r\n delete records.addresses[0].pincode_others\r\n }\r\n records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\r\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\r\n records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\r\n }\r\n records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\r\n if (this.pdQuestionAddress.controls.locality.value == 1) {\r\n records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\r\n }\r\n records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\r\n records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\r\n records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\r\n records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\r\n records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\r\n records.addresses[0].citySearch = '';\r\n records.addresses[0].pinSearch = '';\r\n records.addresses[0].stateSearch = '';\r\n if (this.pdQuestionAddress.controls.uom.value == 1) {\r\n records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\r\n }\r\n }\r\n else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) {\r\n records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value;\r\n records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value;\r\n if(records.addresses[0].alternative_pincode != 1){\r\n delete records.addresses[0].alternative_pincode_others\r\n }\r\n if (this.pdQuestionAddress.controls.address_type.value == 1) {\r\n records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value;\r\n }\r\n records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value;\r\n if (this.pdQuestionAddress.controls.locality.value == 1) {\r\n records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value;\r\n }\r\n records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value;\r\n records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value;\r\n records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value;\r\n records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value;\r\n records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value;\r\n records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : '';\r\n records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : '';\r\n records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : '';\r\n if (this.pdQuestionAddress.controls.uom.value == 1) {\r\n records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value;\r\n }\r\n }\r\n records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value;\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n\r\n // console.log('Final records', records);\r\n\r\n \r\n\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if (data['status'] == 200) {\r\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\r\n //FOR UPDATING THE FORM STATUS IN LOCAL\r\n // this.localInsert(false);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000); \r\n }\r\n else {\r\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!');\r\n \r\n }\r\n }, error => {\r\n this.toast.pdTriggerappmessage( 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');\r\n \r\n });\r\n \r\n\r\n }\r\n\r\n savepdQuestionOLD(answerData)\r\n {\r\n let records: any = {};\r\n // records.address = answerData.address;\r\n // if(answerData.address_type_others != null){\r\n // records.address_type_others = answerData.address_type_others;\r\n // }\r\n // // records.state =answerData.state\r\n // records.city = answerData.city\r\n\r\n // records.pincode = answerData.pincode\r\n // records.pincode_others = answerData.pincode== 1 ?\r\n // this.pdQuestionAddress.controls.pincode_others.value : '';\r\n\r\n // records.address_type = answerData.address_type;\r\n // records.locality = answerData.locality;\r\n \r\n // records.locality_others = answerData.locality == 1 ?\r\n // this.pdQuestionAddress.controls.locality_others.value : '';\r\n\r\n // records.locality_mixuse = answerData.locality == 5 ?\r\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\r\n\r\n // records.pd_location = answerData.pd_location;\r\n // records.comment_locality = answerData.comment_locality;\r\n // records.other_comment_locality = answerData.other_comment_locality;\r\n // records.estimated_area = answerData.estimated_area;\r\n\r\n // records.uom = answerData.uom;\r\n // records.uom_others = answerData.uom == 1 ?\r\n // this.pdQuestionAddress.controls.uom_others.value : '';\r\n // records.customer_behaviour = answerData.customer_behaviour;\r\n // records.neighbourhood = answerData.neighbourhood;\r\n \r\n // answerData.addresses.forEach(element=>{\r\n // let temp=element.pincode\r\n // element.pincode=1\r\n // element.pincode_others=temp\r\n // })\r\n if(this.pdQuestionAddress.invalid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\r\n return\r\n }\r\n if(this.AppxPDLocationImgValid == false){\r\n this.toast.pdTriggerappmessage(\"Please Take the Image for Approach to PD Location\");\r\n return\r\n }\r\n records.addresses=answerData.addresses\r\n // records.addressess\r\n records.address_form_remark=answerData.address_form_remark\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.address_form_remark = answerData.address_form_remark;\r\n // records.address_ownership = answerData.address_ownership;\r\n // records.other_ownership = answerData.other_ownership;\r\n // records.rent_amt = answerData.rent_amt;\r\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\r\n // records.bussiness_activity = answerData.bussiness_activity;\r\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\r\n // records.business_years = answerData.business_years;\r\n // records.business_month = answerData.business_month;\r\n \r\n // records.additional_address_units = answerData.additional_address_units;\r\n \r\n \r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n // let params: any = {};\r\n // params.pd_id = '250';\r\n // params.pd_form_id = '250';\r\n \r\n // setTimeout(function(){\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // },5000)\r\n if(data['dataStatus']==true){\r\n //TO CHANGE THE FORM STATE \r\n\r\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\r\n //FOR UPDATING THE FORM STATUS IN LOCAL\r\n // this.localInsert(false);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000); \r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage('Something went wrong ');\r\n });\r\n }\r\n\r\n setAddressFromDatas(params){\r\n this.qustCat.retiverForm(params).subscribe(data => {\r\n\r\n const control = this.pdQuestionAddress.controls['addresses'];\r\n if (data['status'] == 200) {\r\n let initiated_address_check =data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true ;\r\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\r\n if (data['records'].addresses.length == 0) {\r\n control.push(this.initAddress(null));\r\n } else {\r\n data['records'].addresses.forEach((datas, index) => {\r\n let obj = {\r\n 'address': datas.address,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode': datas.pincode,\r\n 'pincode_others': datas.pincode ? datas.pincode_others : ''\r\n }\r\n this.getCityAndPincodeDetails(datas.state, index, 1);\r\n control.push(this.initAddress(obj));\r\n \r\n if (datas.address_type_others == \"\" || datas.address_type_others == null){\r\n delete datas.address_type_others;\r\n }\r\n\r\n if (datas.citySearch == \"\" || datas.citySearch == null){\r\n delete datas.citySearch;\r\n }\r\n\r\n if (datas.locality_others == \"\" || datas.locality_others == null){\r\n delete datas.locality_others;\r\n }\r\n if (datas.pinSearch == \"\" || datas.pinSearch == null){\r\n delete datas.pinSearch;\r\n }\r\n if (datas.pincode_others == \"\" || datas.pincode_others == null){\r\n delete datas.pincode_others;\r\n }\r\n if (datas.stateSearch == \"\" || datas.stateSearch == null){\r\n delete datas.stateSearch;\r\n }\r\n if (datas.uom_others == \"\" || datas.uom_others == null){\r\n delete datas.uom_others;\r\n }\r\n \r\n if (initiated_address_check === true) {\r\n\r\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\r\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\r\n\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n this.setOthers(datas.address_type, '', 3);\r\n\r\n if (datas.address_type == 1) {\r\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n\r\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\r\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\r\n\r\n this.setOthers(datas.locality, '', 4);\r\n\r\n if (datas.locality == 1) {\r\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\r\n }\r\n\r\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\r\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\r\n\r\n this.setOthers(datas.uom, '', 5);\r\n if (data['records'].uom == 1) {\r\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\r\n }\r\n }\r\n });\r\n }\r\n\r\n if (initiated_address_check == false) {\r\n \r\n this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([]));\r\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\r\n if (data['records'].alternative_addresses.length > 0) {\r\n \r\n data['records'].alternative_addresses.forEach((datas, index) => {\r\n \r\n // if (datas.citySearch == \"\" || datas.citySearch == null){\r\n // delete datas.citySearch;\r\n // } \r\n // if (datas.pinSearch == \"\" || datas.pinSearch == null){\r\n // delete datas.pinSearch;\r\n // }\r\n // if (datas.stateSearch == \"\" || datas.stateSearch == null){\r\n // delete datas.stateSearch;\r\n // }\r\n \r\n let obj = {\r\n 'alternative_address': datas.alternative_address,\r\n 'alternative_state': datas.alternative_state,\r\n 'alternative_city': datas.alternative_city,\r\n 'alternative_pincode': datas.alternative_pincode,\r\n 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '',\r\n 'reason_for_alternative_address': datas.reason_for_alternative_address,\r\n }\r\n this.getCityAndPincodeDetails(datas.alternative_state, index, 2);\r\n alternative_address_control.push(this.initAlternativeAddress(obj));\r\n \r\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location);\r\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type);\r\n\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n\r\n this.setOthers(datas.address_type, '', 3);\r\n\r\n if (datas.address_type == 1) {\r\n this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others);\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n\r\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality);\r\n\r\n this.pdQuestionAddress.controls.locality.setValue(datas.locality);\r\n this.setOthers(datas.locality, '', 4);\r\n\r\n if (datas.locality == 1) {\r\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\r\n }\r\n\r\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area);\r\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\r\n this.setOthers(datas.uom, '', 5);\r\n if (data['records'].uom == 1) {\r\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\r\n }\r\n\r\n });\r\n }\r\n }\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark);\r\n }\r\n else {\r\n this.getaddressForm();\r\n }\r\n // else {\r\n // control.push(this.createAddresses(null));\r\n // }\r\n });\r\n }\r\n getaddressFormFromLocal(){\r\n let local_value:any;\r\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\r\n // data.pd_id=this.pdDetails.pd_id\r\n // data.form_id=this.FormId.form_id\r\n this.storagedb.retrieveLocalStorage(data).then(res=>{\r\n \r\n if(res){\r\n let val_rec:any={}\r\n val_rec.records=res[0]\r\n local_value=res[0]\r\n console.log(\"addd\",val_rec,\"loca\",local_value)\r\n \r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.getaddressDetails = val_rec;\r\n \r\n if(local_value.active == true){\r\n if(this.getaddressDetails.records.addresses ){\r\n \r\n this.getaddressDetails = this.getaddressDetails.records.addresses;\r\n\r\n if(this.getaddressDetails.length == 0 ){\r\n control.push(this.initAddress(''));\r\n }\r\n else{\r\n this.getaddressDetails.forEach((datas,index)=>{\r\n \r\n this.getCityAndPincodeDetails(datas.state,index,1)\r\n if(datas.pincode == 1){\r\n this.pincodeValue[index]=datas.pincode_others\r\n }//if(val==true){\r\n \r\n let val={\r\n 'address': datas.address,\r\n // 'address_type': datas.address_type,\r\n // 'address_type_others': datas.address_type_others,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode':datas.pincode,\r\n 'pincode_others':datas.pincode_others,\r\n // 'locality': datas.locality,\r\n // 'locality_others': datas.locality_others,\r\n // // 'locality_mixuse': datas.locality_mixuse,\r\n // 'pd_location': datas.pd_location,\r\n // 'comment_locality': datas.comment_locality,\r\n // 'estimated_area': datas.estimated_area,\r\n // 'uom': datas.uom,\r\n // 'uom_others': datas.uom_others\r\n }\r\n \r\n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n \r\n if(datas.address_type != ''){\r\n this.selectedAddressType(datas.address_type,index);\r\n // this.selectedAddressType(selectedAddressType.address_type,index);\r\n if (datas.address_type == 1) {\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n }\r\n control.push(this.initAddress(val))\r\n })\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\r\n }\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else{\r\n this.getaddressForm()\r\n }\r\n }\r\n else{\r\n this.getaddressForm()\r\n }\r\n \r\n \r\n \r\n })\r\n \r\n \r\n }\r\n setOthers(e, i, flag) {\r\n switch (flag) {\r\n case 1:\r\n const control = this.pdQuestionAddress.controls['addresses'];\r\n let ChildCtrl: any = control.controls[i];\r\n e == 1 ? ChildCtrl.addControl('pincode_others', new FormControl('', Validators.required)) : ChildCtrl.removeControl('pincode_others');\r\n break;\r\n case 2:\r\n const alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses'];\r\n let AltChildCtrl: any = alternative_address_control.controls[i];\r\n e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new FormControl('', Validators.required)) : AltChildCtrl.removeControl('alternative_pincode_others');\r\n break;\r\n case 3:\r\n e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('address_type_others');\r\n break;\r\n case 4:\r\n e == 1 ? this.pdQuestionAddress.addControl('locality_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('locality_others');\r\n break;\r\n case 5:\r\n e == 1 ? this.pdQuestionAddress.addControl('uom_others', new FormControl('', Validators.required)) : this.pdQuestionAddress.removeControl('uom_others');\r\n break;\r\n }\r\n }\r\n\r\n\r\n getaddressForm()\r\n {\r\n \r\n let res:any;\r\n\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1);\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n \r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.getaddressDetails = res;\r\n \r\n if(this.getaddressDetails.dataStatus ==true){\r\n if(this.getaddressDetails.records.addresses ){\r\n \r\n this.getaddressDetails = this.getaddressDetails.records.addresses;\r\n\r\n if(this.getaddressDetails.length == 0 ){\r\n control.push(this.initAddress(''));\r\n }\r\n else{\r\n \r\n this.getaddressDetails.forEach((datas,index)=>{\r\n if (datas.address_type_others == \"\" || datas.address_type_others == null){ delete datas.address_type_others;}\r\n if (datas.citySearch == \"\" || datas.citySearch == null){delete datas.citySearch;}\r\n if (datas.locality_others == \"\" || datas.locality_others == null){delete datas.locality_others;}\r\n if (datas.pinSearch == \"\" || datas.pinSearch == null){delete datas.pinSearch;}\r\n if (datas.pincode_others == \"\" || datas.pincode_others == null){delete datas.pincode_others;}\r\n if (datas.stateSearch == \"\" || datas.stateSearch == null){delete datas.stateSearch;}\r\n if (datas.uom_others == \"\" || datas.uom_others == null){delete datas.uom_others;}\r\n \r\n this.getCityAndPincodeDetails(datas.state,index,1)\r\n if(datas.pincode == 1){\r\n this.pincodeValue[index]=datas.pincode_others\r\n }//if(val==true){\r\n \r\n let val={\r\n 'address': datas.address,\r\n // 'address_type': datas.address_type,\r\n // 'address_type_others': datas.address_type_others,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode':datas.pincode,\r\n 'pincode_others':datas.pincode_others,\r\n // 'locality': datas.locality,\r\n // 'locality_others': datas.locality_others,\r\n // // 'locality_mixuse': datas.locality_mixuse,\r\n // 'pd_location': datas.pd_location,\r\n // 'comment_locality': datas.comment_locality,\r\n // 'estimated_area': datas.estimated_area,\r\n // 'uom': datas.uom,\r\n // 'uom_others': datas.uom_others\r\n }\r\n if(datas.address_type != ''){\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n if (datas.address_type == 1) {\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n }\r\n control.push(this.initAddress(val))\r\n this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : '');\r\n this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : '');\r\n // if (datas.address_type) {\r\n // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0];\r\n // this.selectedAddressType(selectedAddressType.address_type);\r\n // this.setOthers(datas.address_type, '', 3);\r\n // if (datas.address_type == 1) {\r\n // this.addressForm.controls.address_type_others.setValue(datas.address_type_others);\r\n // this.selectedAddressType(datas.address_type_others);\r\n // }\r\n // }\r\n\r\n\r\n this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : '');\r\n this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : '');\r\n\r\n if (datas.locality) {\r\n\r\n this.setOthers(datas.locality, '', 4);\r\n\r\n if (datas.locality == 1) {\r\n this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others);\r\n }\r\n }\r\n\r\n\r\n this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : '');\r\n this.pdQuestionAddress.controls.uom.setValue(datas.uom);\r\n if (datas.uom) {\r\n this.setOthers(datas.uom, '', 5);\r\n if (datas.uom == 1) {\r\n this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others);\r\n }\r\n }\r\n })\r\n let initiated_address_check =res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true ;\r\n this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check);\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\r\n }\r\n // if(this.getaddressDetails.additional_address_units != null){\r\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\r\n // // return res['records'].additional_address_units[key];\r\n // //for slicing the automatically created\r\n \r\n // });\r\n // //this.removeUnits(0);\r\n // }\r\n\r\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n\r\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\r\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\r\n\r\n // if (this.getaddressDetails.state != '') {\r\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\r\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\r\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\r\n // if (this.getaddressDetails.pincode == 1) {\r\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\r\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\r\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\r\n // }\r\n // }\r\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\r\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\r\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\r\n // this.selectedAddressType(selectedAddressType);\r\n\r\n // if(this.getaddressDetails.address_type != null) {\r\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\r\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\r\n // }\r\n\r\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\r\n\r\n // if(this.getaddressDetails.comment_locality != null){\r\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\r\n // }\r\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\r\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\r\n // if(this.getaddressDetails.locality == 1 ){\r\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\r\n // }\r\n // if(this.getaddressDetails.locality == 5){\r\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\r\n // }\r\n \r\n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\r\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\r\n // if (this.getaddressDetails.uom == 1) {\r\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\r\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\r\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\r\n // }\r\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\r\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\r\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\r\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\r\n // if(this.getaddressDetails.rent_amt != null){\r\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\r\n // }\r\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // } \r\n // else{\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\r\n // }\r\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\r\n\r\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\r\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\r\n \r\n \r\n \r\n\r\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\r\n \r\n if (result.length == 0) {\r\n \r\n control.push(this.createUnits(null));\r\n } else {*/\r\n \r\n //for(let val of this.getaddressDetails.additional_address_units){\r\n //control.push(this.createUnits(val));\r\n //}\r\n //result.forEach((datas,index) => {\r\n \r\n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\r\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\r\n \r\n //});\r\n \r\n //}\r\n \r\n // }\r\n\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else\r\n this.loadPD();\r\n });\r\n \r\n }\r\n loadPD(){\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\r\n \r\n if(this.addressesList.length > 0){\r\n this.addressesList.forEach((datas,index)=>{\r\n this.getCityAndPincodeDetails(datas.fk_state,index,1)\r\n \r\n let obj ={\r\n 'address': datas.addressline1,\r\n 'address_type': '',\r\n 'address_type_others': '',\r\n 'state': datas.fk_state,\r\n 'city': datas.fk_city,\r\n 'pincode':datas.pincode_id,\r\n 'pincode_others': datas.other_pincode,\r\n 'locality': '',\r\n 'locality_others': '',\r\n // 'locality_mixuse':'',\r\n 'pd_location': '',\r\n 'comment_locality': '',\r\n 'estimated_area': '',\r\n 'uom': '',\r\n 'uom_others': ''\r\n }\r\n \r\n control.push(this.initAddress(obj))\r\n })\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n })\r\n }\r\n getPDImages(){\r\n \r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n console.log('record_for_pic',record_for_pic);\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n console.log('records result',result);\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy','is_show_report': result.is_show_report == null ? 0 : result.is_show_report })\r\n let img_title = (result.pd_document_title).split('(');\r\n if(img_title[0] == 'Approach to PD Location '){\r\n this.AppxPDLocationImgValid = true;\r\n //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ')\r\n }\r\n })\r\n console.log(\"image Display Data Are\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value,index,img){\r\n // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are');\r\n this.imageDisplay[index]={'image':img,'Name':value,'is_show_report':0}\r\n // console.log(\"image Display Data Are\",this.imageDisplay);\r\n }\r\n\r\n changeNameForBucket(value,index,img,active){\r\n // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active);\r\n this.imageBucket[index]={'image':img,'Name':value,'is_show_report':0}\r\n \r\n }\r\n changeOptions(event: any,index: any){\r\n // console.log('Option Changed ' + event);\r\n let name = this.imageBucket[index].value\r\n let length = this.imageDisplay.length;\r\n console.log('image display length',length);\r\n this.imageDisplay.forEach(result=>{\r\n if(name == 'Approach to PD Location ' && event == 1){\r\n result.is_show_report = 0;\r\n }\r\n })\r\n console.log('this.imageDisplay',this.imageDisplay);\r\n this.imageBucket.forEach(result=>{\r\n if(name == 'Approach to PD Location ' && event == 1){\r\n // this.AppxPDLocationImgValid = true;\r\n console.log('name',name);\r\n console.log('this.imageBucket.length',this.imageBucket.length);\r\n result.is_show_report=0;\r\n }\r\n })\r\n console.log('this.imageBucket',this.imageBucket);\r\n this.imageBucket[index].is_show_report=event;\r\n // console.log('this.imageBucket',JSON.stringify(this.imageBucket));\r\n }\r\n removeImg(index){\r\n // console.log('inside removeImg Fn - its param are - Index only ',index);\r\n this.imageDisplay.splice(index,1);\r\n \r\n }\r\n removeImgForBucket(index){\r\n // console.log('inside removeImgForBucket Fn - its param are - Index only ',index);\r\n this.imageBucket.splice(index,1)\r\n // console.log(\"image Display Data Are\",this.imageDisplay);\r\n }\r\n savePhoto(flag){\r\n // console.log('savePhoto');\r\n let currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss');\r\n this.camera.getPicture({\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 600,\r\n correctOrientation: true\r\n }).then((imageData)=>{\r\n // console.log('inside savePhoto Fn - its response ',imageData);\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.base64='data:image/png;base64,'+imageData\r\n if(flag == 1){\r\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'','is_show_report':''});\r\n // this.imageDisplay.push({'image':this.base64,'Name':''})\r\n console.log(\"imagebucket\",this.imageBucket)\r\n this.getImageName(this.imageBucket.length-1)\r\n }else if(flag == 2){\r\n // console.log('flag');\r\n this.imageBucket.push({'image':this.base64,'link':geoCoordinates,'Name':'Approach to PD Location ( ' + currentDate + ' )','is_show_report':''});\r\n }\r\n })\r\n },(err)=>{\r\n //alert(\"error\");\r\n })\r\n this.tab='1';\r\n // this.content.scrollToBottom();\r\n // let dimensions = this.content.getContentDimensions();\r\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\r\n // this.inputFocus.setFocus();\r\n }\r\n\r\n getImageName(index){\r\n // console.log('inside get Image Name Fn - its param are - Index only ',index);\r\n let alert =this.toast.setAlertForDocName()\r\n \r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport);\r\n this.imageBucket[index].Name=value.Name;\r\n });\r\n \r\n \r\n // let alert=this.alerCtrl.create({\r\n // title:'Document Name',\r\n // message: 'Please Enter the Document Name',\r\n // cssClass:'prompt_alert',\r\n // inputs:[\r\n // {\r\n // name:'Name',\r\n // //value:this.imageBucket[index].Name\r\n // placeholder:'Document Name'\r\n // }\r\n // ],\r\n // buttons:[\r\n // {\r\n // text:'Submit',\r\n // handler:data=>{\r\n // this.imageBucket[index].Name=data.Name\r\n // alert.dismiss\r\n // }\r\n // }\r\n // ]\r\n // })\r\n // alert.present();\r\n //this.inputFocus.setFocus();\r\n \r\n }\r\n // al(){\r\n // this.toast.pdTriggerappmessage(\"touched\");\r\n // }\r\n\r\n updateImage(){\r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage() \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\nconsole.log(\"records for sendImage\",records);\r\n // console.log(\"inside SendImage Function - records array\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n\r\n localInsert(option){\r\n let datas:any=this.pdQuestionAddress.value\r\n datas.pd_id=this.pdDetails.pd_id\r\n datas.form_id=this.FormId.form_id;\r\n datas.active=option;\r\n // let recors={'records':datas}\r\n this.storagedb.insertData(datas).then(res=>{\r\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\r\n // alert.present();\r\n // console.log(\"inside localInsert Fn - its Response\",res);\r\n })\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport { max } from 'rxjs/operators';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionEmpInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-emp-info',\r\n templateUrl: 'pd-question-emp-info.html',\r\n})\r\nexport class PdQuestionEmpInfoPage {\r\n questionDetails: any;\r\n pdDetails: any;\r\n employmentForm:FormGroup;\r\n FormId: any;\r\n pd_cus_segment: string;\r\n customer_segment_abbr: string;\r\n users: any;\r\n pdid: any;\r\n frequency_data: any[];\r\n company_list: any[];\r\n person_met_list: any[];\r\n company_related_applicants_list: any[];\r\n company_relationship_list: any[];\r\n filtered_company_relationship_list: any[];\r\n \r\n mthlySlryAmtInWords\r\n grossMthlySlryAmtInWords\r\n netMthlySlryAmtInWords\r\n bonusIncentiveAmtInWords\r\n bankAmtInWords\r\n cashAmtInWords\r\n\r\n workExperienceFlag: boolean = false;\r\n workExperienceErrorFlag:boolean = false;\r\n generalExistBusinessYear:any;\r\n generalExistBusinessMonth:any;\r\n tab:any='0'\r\n imageBucket:any=[]\r\n imageDisplay:any=[]\r\n\r\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\r\n public todate: any[] = this.dateonly;\r\n @ViewChild('workExp') expFocus: ElementRef\r\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\r\n @ViewChild('yearFocus') inputYearFocus :ElementRef\r\n complete_status: boolean = false;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \r\n public toast: ToastProvider,public constant:ConstantsProvider,\r\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.generalExistBusinessYear=100;\r\n this.generalExistBusinessMonth=12;\r\n this.getDropDownList();\r\n this.getCompanyFromGeneralDetails();\r\n this.getEmploymentDetails();\r\n this.employmentForm = this.fb.group(\r\n {\r\n employer_name: [''],\r\n employer_in_brief:[''],\r\n \r\n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\r\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\r\n \r\n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\r\n how_long_month: [''],\r\n total_business_experience: [''],\r\n total_business_previous_experience: [''],\r\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n name_person_met: [''],\r\n designation_person_met: [''],\r\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n confirm_salary_amount: [''],\r\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n from_date_the_salary_is_rcv: [''],\r\n to_date_the_salary_is_rcv: [''],\r\n gross_monthly_salary: [''],\r\n net_monthly_salary: [''],\r\n amount_paid_in_cash: [''],\r\n amount_paid_through_bank: [''],\r\n check_validated:[''],\r\n how_was_it_validated: [''],\r\n why_was_it_not_validated: [''],\r\n bonus_incentive: [''],\r\n bonus_frequency: [''],\r\n bonus_type: [''],\r\n bonus_type_other: [''],\r\n any_delays: [''],\r\n employment_remarks: [''],\r\n // nameOfEmp:[null],\r\n // yearWithEmp:[null],\r\n // empMet:[null],\r\n // designationOfEmp:[null],\r\n // salaryConfirm:[null],\r\n // actualSalary:[null],\r\n // attRegisterSeen:[null],\r\n // salaryRegisterSeen:[null]\r\n })\r\n\r\n //To checking Completed Status For CompleteList Menu\r\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.employmentForm.dirty);\r\n if(this.employmentForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n getDropDownList()\r\n {\r\n\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.frequency_data = data['records'];\r\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\r\n }\r\n });\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\r\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\r\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\r\n }\r\n });\r\n }\r\n\r\n getCompanyFromGeneralDetails(){\r\n \r\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\r\n \r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\r\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\r\n this.company_related_applicants_list = value['records'].company_with_relationships;\r\n } \r\n else {\r\n\r\n }\r\n })\r\n \r\n }\r\n \r\n ValidateNetSalary(){\r\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \r\n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\r\n \r\n if(salary != ''){\r\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\r\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\r\n\r\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \r\n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\r\n let maxamt = salary-cash_amount\r\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\r\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\r\n console.log(\"bal\",balance)\r\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\r\n this.inWords(balance,5)\r\n }\r\n if(maxamt >= 0 ){\r\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \r\n }\r\n else{\r\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\r\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \r\n }\r\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\r\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \r\n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\r\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \r\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\r\n return;\r\n }\r\n \r\n \r\n }\r\n\r\n saveEmpInfo(){\r\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\r\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\r\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\r\n this.inputYearFocus.nativeElement.focus();\r\n return\r\n }\r\n \r\n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\r\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\r\n this.expFocus.nativeElement.focus();\r\n return\r\n }\r\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\r\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\r\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\r\n this.inputCashPaidFocus.nativeElement.focus();\r\n return\r\n }\r\n \r\n if (!this.employmentForm.valid) {\r\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\r\n return;\r\n }\r\n \r\n\r\n let records: any = {};\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.employer_name = this.employmentForm.controls['employer_name'].value;\r\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\r\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\r\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\r\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\r\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\r\n records.was_met = this.employmentForm.controls['was_met'].value;\r\n if (this.employmentForm.controls['was_met'].value == 'yes') {\r\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\r\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\r\n }else{\r\n records.name_person_met = '';\r\n records.designation_person_met = '';\r\n }\r\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\r\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\r\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\r\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\r\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\r\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\r\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\r\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\r\n \r\n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\r\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\r\n records.check_validated = this.employmentForm.controls['check_validated'].value;\r\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\r\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\r\n \r\n records.any_delays = this.employmentForm.controls['any_delays'].value;\r\n\r\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\r\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\r\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\r\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\r\n\r\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n\r\n\r\n if(data['dataStatus']== true){\r\n //TO CHANGE THE FORM STATE \r\n // this.employmentForm.markAsUntouched();\r\n this.employmentForm.reset(this.employmentForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n })\r\n }\r\n \r\n\r\n filtercompanyrelationship(companyid, applicantid) {\r\n var array = companyid.split(\"-\");\r\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\r\n if (data.length > 0) {\r\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\r\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\r\n }\r\n else {\r\n this.employmentForm.controls['designation_person_met'].setValue('');\r\n }\r\n }\r\n\r\n formDate(value){\r\n // console.log('to',this.todate)\r\n // console.log(value);\r\n // console.log('to length',this.todate.length);\r\n // console.log('index',value-1);\r\n // console.log('this.todate',this.todate[11]);\r\n // console.log('this.todate',this.todate[11].isdisabled);\r\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\r\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\r\n var i ;\r\n \r\n if(value != 0 && value != '')\r\n for(i=0;i<=value-1;i++){\r\n this.todate[i].isdisabled = true;\r\n if(value == 31){\r\n this.todate[30].isdisabled = false;\r\n }\r\n }\r\n \r\n }\r\n checkWithExistYear(e) {\r\n \r\n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\r\n \r\n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\r\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\r\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\r\n this.generalExistBusinessMonth = data1.business_month\r\n }\r\n if(data1.business_years){\r\n this.generalExistBusinessYear = data1.business_years\r\n }\r\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \r\n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\r\n \r\n }\r\n\r\n \r\nConvertMonthintoYear(e) {\r\n\r\n let how_long_year = this.employmentForm.controls.how_long_year.value;\r\n\r\n let converted_month: number = e % 12;\r\n let converted_year: number = e / 12;\r\n\r\n if (how_long_year > this.generalExistBusinessYear) {\r\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \r\n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\r\n this.employmentForm.controls['how_long_year'].setValue('');\r\n this.employmentForm.controls['how_long_month'].setValue('');\r\n }\r\n else {\r\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\r\n \r\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \r\n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \r\n\r\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \r\n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \r\n\r\n } else { \r\n\r\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\r\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\r\n\r\n }\r\n }\r\n}\r\n\r\n\r\ncheckWorkingExperiences(){\r\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\r\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\r\n\r\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \r\n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \r\n \r\n if(!this.employmentForm.controls['total_business_experience'].valid){\r\n this.expFocus.nativeElement.focus();\r\n }\r\n\r\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\r\n\r\n if(!this.workExperienceFlag){\r\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\r\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \r\n }\r\n\r\n}\r\n\r\ninWords(val,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \r\n break;\r\n case 2 : \r\n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 3 :\r\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 4 :\r\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 5 :\r\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 6 :\r\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n }\r\n }\r\n\r\n\r\n getEmploymentDetails(){\r\n \r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let Emp = value['records'];\r\n console.log('emp',Emp);\r\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\r\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\r\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\r\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\r\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\r\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\r\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\r\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\r\n //this.checkWorkingExperiences();\r\n }\r\n\r\n if (Emp.name_person_met) {\r\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\r\n }\r\n if (Emp.designation_person_met) {\r\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\r\n }\r\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\r\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\r\n if (Emp.confirm_salary) {\r\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\r\n this.inWords(Emp.confirm_salary_amount,1);\r\n \r\n }\r\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\r\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\r\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\r\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\r\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\r\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\r\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\r\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\r\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\r\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\r\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\r\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\r\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\r\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\r\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\r\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\r\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\r\n \r\n this.inWords(Emp.gross_monthly_salary,2);\r\n this.inWords(Emp.net_monthly_salary,3);\r\n this.inWords(Emp.bonus_incentive,4);\r\n this.inWords(Emp.amount_paid_in_cash,6);\r\n this.inWords(Emp.amount_paid_through_bank,5);\r\n if(Emp.total_business_experience != ''){\r\n this.checkWorkingExperiences();\r\n}\r\n\r\n } \r\n })\r\n \r\n }\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionCurrentLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-current-loans',\r\n templateUrl: 'pd-question-current-loans.html',\r\n})\r\n\r\nexport class PdQuestionCurrentLoansPage {\r\napplicants: any;\r\n placeholderName: any = [];\r\n lenderData: any;\r\n frequencyData: any;\r\n loanTypeData:any;\r\n FormId: any;\r\n users: any;\r\n pdDetails: any;\r\n questionDetails: any;\r\n currentLoans:FormGroup;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n pdid:number;\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n dataFromAssets : any = [];\r\n labelArr : any = [];\r\n investmentTypeData: any=[];\r\n addressTypeData: any;\r\n propertyTypeData: any;\r\n tentureErrorFlag:boolean=false\r\n others_loanAccess:boolean=false\r\n @ViewChild('balanceTenure') TenureFocus : ElementRef\r\n lenderDataValue: any;\r\n protected _onDestroy = new Subject();\r\n base64: any;\r\n imageBucket: any=[];\r\n tab: any='0';\r\n imageDisplay: any=[];\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \r\n public aws:AwsServiceProvider,public constant:ConstantsProvider,\r\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\r\n\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\r\n \r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n \r\n\r\n this.getdropdown();\r\n \r\n this.users = this.aws.getlocale();\r\n this.currentLoans = this.fb.group(\r\n {\r\n existing_loan: [null],\r\n currentloan_remarks:[null],\r\n loan_details: this.fb.array([])\r\n });\r\n \r\n //To checking Completed Status For CompleteList Menu\r\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\r\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\r\n this.getcurrentLoans()\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.currentLoans.dirty);\r\n if(this.currentLoans.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n }\r\n}\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\r\n {\r\n this.lenderData = res['records'].filter(len=>len.isactive==1);\r\n this.lenderDataValue=this.lenderData.slice();\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\r\n });\r\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\r\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\r\n });\r\n\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n // modifyApplicantList.push()\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n\r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\r\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\r\n \r\n \r\n });\r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\r\n })\r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\r\n })\r\n }\r\n \r\n exitsCheck(val)\r\n { \r\n \r\n if(val ==\"Yes\")\r\n {\r\n this.addLoanDetails();\r\n }\r\n\r\n }\r\n createLoanDetail(data) {\r\n return this.fb.group({\r\n label: data == null ? [''] : [data.label],\r\n loan_amount: data == null ? [''] : [data.loan_amount],\r\n frequency: data == null ? [''] : [data.frequency],\r\n other_frequency: data == null ? [''] : [data.other_frequency],\r\n emi: data == null ? [''] : [data.emi],\r\n loan_type: data == null ? [''] : [data.loan_type],\r\n others_loan_type: data == null ? [''] : [data.others_loan_type],\r\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\r\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\r\n lender: data == null ? [''] : [data.lender],\r\n bankSearch:[''],\r\n others_lender: data == null ? [''] : [data.others_lender],\r\n original_tenure: data == null ? [''] : [data.original_tenure],\r\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\r\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\r\n // other_frequency:[''],\r\n // loan_amount: [''],\r\n // frequency:[''],\r\n // emi: [''],\r\n // loan_type: [''],\r\n // others_loan_type:[''],\r\n // loan_taken_by:[''],\r\n // others_loan_taken:[''],\r\n // lender: [''],\r\n // others_lender:[''],\r\n // original_tenure: [''],\r\n // current_balance_tenure: [''],\r\n // elapsed_tenure:[],\r\n });\r\n}\r\naddLoanDetails() {\r\n const control = this.currentLoans.controls['loan_details'];\r\n control.push(this.createLoanDetail(null));\r\n}\r\ndeleteLoanDetails(index) {\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(control.length==1)\r\n {\r\n this.currentLoans.controls['loan_details'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\ncheckOthers(values){\r\n console.log(values)\r\n let status\r\n if(values.length != 0 && values != null){\r\n status=values.filter(res=>res.id == 0) \r\n status=status.length > 0 ?true : false\r\n console.log(status)\r\n this.others_loanAccess=status\r\n }\r\n else {\r\n this.others_loanAccess= false;\r\n }\r\n \r\n \r\n}\r\ncheckTenure(details){\r\n let originalTenure = details.value.original_tenure;\r\n // alert(originalTenure);\r\n // if(originalTenure>=details.value.current_balance_tenure){\r\n // this.tentureErrorFlag=true\r\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\r\n details.controls.current_balance_tenure.updateValueAndValidity();\r\n //details.controls.current_balance_tenure.setValue\r\n // }\r\n // else{\r\n\r\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\r\n \r\n \r\n \r\n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\r\n // details.controls.current_balance_tenure.updateValueAndValidity(); \r\n // let BalanceTenure = details.value.current_balance_tenure;\r\n // if( originalTenure < BalanceTenure){\r\n // alert('Greater');\r\n // details.controls.current_balance_tenure.setValue('');\r\n // alert('validation setted For');\r\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\r\n // details.controls.current_balance_tenure.updateValueAndValidity(); \r\n \r\n \r\n // }\r\n}\r\ncalculateTenure(details,flag)\r\n{\r\n \r\n switch(flag){\r\n \r\n \r\n case 1:\r\n let ElapsedValues;\r\n console.log(details)\r\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\r\n console.log(\"not null\")\r\n \r\n if(details.value.current_balance_tenure == 0){\r\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\r\n }\r\n if(details.value.current_balance_tenure <= details.value.original_tenure){\r\n \r\n console.log(\"validate\")\r\n this.tentureErrorFlag=false\r\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\r\n \r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n else{\r\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\r\n this.tentureErrorFlag=true\r\n this.TenureFocus.nativeElement.focus();\r\n }\r\n \r\n}\r\nelse{\r\n this.tentureErrorFlag=false\r\n}\r\nbreak;\r\ncase 2:\r\nlet balance\r\nconsole.log(\"case 2\",details);\r\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\r\n \r\n if(details.value.elapsed_tenure == 0){\r\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\r\n }\r\n if(details.value.elapsed_tenure <= details.value.original_tenure){\r\n this.tentureErrorFlag=false\r\n balance=details.value.original_tenure - details.value.elapsed_tenure;\r\n \r\n console.log(\"ba\",balance);\r\n details.controls['current_balance_tenure'].setValue(balance)\r\n }\r\n else{\r\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\r\n this.tentureErrorFlag=true\r\n // this.TenureFocus.nativeElement.focus();\r\n }\r\n}\r\nelse{\r\n this.tentureErrorFlag=false\r\n}\r\n \r\n}\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n}\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n\r\nselectedfrequency(e,i){\r\n \r\n switch(+e){\r\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\r\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\r\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\r\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\r\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\r\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\r\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\r\n default: this.placeholderName[i] = 'Instalment Amount'; break;\r\n}\r\n \r\n}\r\n\r\nsubmitCurrentloan(answerData) {\r\n console.log(answerData)\r\n console.log(\"true\",this.tentureErrorFlag);\r\n let inde=[]\r\n // answerData.loan_details.forEach((element,index)=>{\r\n \r\n // if(element.current_balance_tenure > element.original_tenure){\r\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\r\n // inde=index\r\n // }\r\n \r\n // })\r\n // console.log(\"index\",inde);\r\n // if(inde){\r\n // return\r\n // }\r\n if(this.tentureErrorFlag == true){\r\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\r\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\r\n this.TenureFocus.nativeElement.focus();\r\n return\r\n }\r\n \r\n let records: any = {};\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.existing_loan = answerData.existing_loan;\r\n records.loan_details = answerData.loan_details;\r\n records.currentloan_remarks = answerData.currentloan_remarks;\r\n records.loan_details.forEach(val=>{\r\n delete val.bankSearch\r\n })\r\n console.log(' final records when save',records);\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n //TO CHANGE THE FORM STATE \r\n // this.currentLoans.markAsUntouched();\r\n this.currentLoans.reset(this.currentLoans.value);\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n \r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n });\r\n}\r\n getcurrentLoans()\r\n {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(res['dataStatus']==true )\r\n {\r\n let currentLoanDetails = res['records'];\r\n \r\n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\r\n currentLoanDetails.loan_details.forEach(val=>{\r\n val.bankSearch=''\r\n })\r\n var result = Object.keys(res['records'].loan_details).map(function(key) {\r\n \r\n return res['records'].loan_details[key];\r\n \r\n });\r\n console.log(\"resutl\",result);\r\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\r\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(currentLoanDetails.existing_loan != 'No')\r\n {\r\n if(result.length ==0)\r\n {\r\n control.push(this.createLoanDetail(null));\r\n }else\r\n {\r\n \r\n result.forEach((datas,index)=>\r\n {\r\n //this.calculateTenure(res['records'])\r\n control.push(this.createLoanDetail(null));\r\n this.selectedfrequency(datas.frequency,index);\r\n if(datas.loan_amount!=''){\r\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\r\n }\r\n if(datas.emi!=''){\r\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\r\n }\r\n })\r\n\r\n this.currentLoans.controls['loan_details'].patchValue(result);\r\n \r\n }\r\n }\r\n }\r\n else\r\n {\r\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\r\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\r\n }\r\n\r\n }\r\n else {\r\n \r\n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\r\n \r\n\r\n if(data.dataStatus == true){\r\n \r\n \r\n \r\n let AssetData = data.record;\r\n \r\n \r\n \r\n if(AssetData.business_address_asset.length > 0){\r\n AssetData.business_address_asset.map(element=>{\r\n this.dataFromAssets.push({mode:0,\r\n mode_name:element.address_label,\r\n details:[],\r\n owner_name:element.business_name_of_the_owner,\r\n other_owner: element.business_name_of_the_other_owner,\r\n form_type:'Data From Bussiness Address'})\r\n })\r\n }\r\n\r\n if(AssetData.business_assets.length>0){\r\n AssetData.business_assets.map(element => {\r\n this.dataFromAssets.push({mode:element.business_assets_mode,\r\n mode_name:element.business_assets_mode_name,\r\n details:element.business_details,\r\n owner_name:element.business_name_of_the_owner,\r\n other_owner: element.business_name_of_the_other_owner,\r\n form_type:'Data From Business Assets'})\r\n });\r\n }\r\n\r\n if(AssetData.other_assests.length > 0){\r\n AssetData.other_assests.map(element => {\r\n this.dataFromAssets.push({mode:element.assets_mode,\r\n mode_name:element.assets_mode_name,\r\n details:element.details,\r\n owner_name:element.name_of_the_owner,\r\n other_owner: element.other_owner,\r\n form_type:'Data From Other Asset'\r\n })\r\n })\r\n }\r\n \r\n \r\n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\r\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\r\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\r\n \r\n if(this.dataFromAssets.length > 0){ \r\n let labelarray : any = [];\r\n \r\n this.dataFromAssets.forEach((val,index) => {\r\n if(val.mode == 0){\r\n \r\n let owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n \r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\r\n } \r\n if(val.mode == 1){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.any_other_assets;\r\n });\r\n if(val.owner_name.length>0 ){\r\n owner = val.owner_name.map((e => {\r\n // return e.name.split(',')\r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 2){\r\n \r\n let owner: any = \"Owner Not Mentioned\";\r\n let data;\r\n val.details.forEach((v,index) => {\r\n data = v.property_type_name;\r\n if(v.property_type != 1){\r\n if(val.form_type == 'Data From Business Assets'){\r\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\r\n }\r\n else if(val.form_type == 'Data From Other Asset'){\r\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\r\n }\r\n else{\r\n data = '';\r\n }\r\n }else{\r\n data=v.other_property_type;\r\n }\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n });\r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 3){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.manufacturer_model_vehicle;\r\n });\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 4){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.equipment_manufacturing_description;\r\n });\r\n if(val.owner_name.length>0 ){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 6){\r\n \r\n let owner:any=\"Owner Not Mentioned\";\r\n if(val.owner_name.length>0)\r\n {\r\n owner=val.owner_name.map((e=>{\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\r\n }\r\n if(val.mode == 7){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.investments_type != 1 \r\n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \r\n : v.other_investments_type ;\r\n\r\n });\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\r\n var vals= owner + ' - '+ val.mode_name \r\n \r\n }\r\n });\r\n const control = this.currentLoans.controls['loan_details'];\r\n this.labelArr = labelarray;\r\n let arr : any = [];\r\n if(this.labelArr.length > 0){\r\n this.currentLoans.controls['existing_loan'].setValue('Yes');\r\n this.labelArr.forEach((v,index) => {\r\n \r\n arr = { \r\n 'label': v,\r\n 'loan_amount': '',\r\n 'frequency':'',\r\n 'other_frequency':'',\r\n 'emi': '',\r\n 'loan_type': '',\r\n 'others_loan_type': '',\r\n 'loan_taken_by':'',\r\n 'others_loan_taken':'',\r\n 'lender': '',\r\n 'others_lender':'',\r\n 'original_tenure': '',\r\n 'current_balance_tenure': '',\r\n 'elapsed_tenure':''\r\n }\r\n control.push(this.createLoanDetail(arr));\r\n });\r\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\r\n }\r\n }\r\n else{\r\n \r\n control.push(this.createLoanDetail(null));\r\n }\r\n \r\n }\r\n });\r\n }\r\n })\r\n \r\n \r\n }\r\n searchFun(control){\r\n console.log(control)\r\n let name:string=\"bank\"\r\n control.controls['bankSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\r\n })\r\n \r\n }\r\n/*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n tapEvent(value){\r\n console.log(\"dd\",value);\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n console.log(\"res\",res);\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n console.log(\"Fail\")\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n },ERR=>{\r\n console.log(JSON.stringify(ERR));\r\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('others_loan_taken').value\r\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { ReplaySubject, Subject } from 'rxjs';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {StorageProvider} from '../../../providers/storage/storage'\r\n\r\n/**\r\n * Generated class for the PdQuestionLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nexport interface Dbmaster{\r\n bt_lender_list_id: number;\r\n lender_name: string;\r\n // constant_name: string;\r\n}\r\n\r\n@Component({\r\n selector: 'page-pd-question-loans',\r\n templateUrl: 'pd-question-loans.html',\r\n})\r\n\r\nexport class PdQuestionLoansPage {\r\n enduse: any = [];\r\n propertyType: any;\r\n mortagetypeAccess: boolean;\r\n mortageAccess: boolean = false;\r\n mortageCardAccess: boolean;\r\n lender_short_name : any;\r\n topUpAmtInWords: any;\r\n ownContributionInWords: any;\r\n valAsPerAgmtInWords: any;\r\n balTxrfAmtInWords: any;\r\n loanAmtInWords: any;\r\n\r\n emiAmtInWords:any;\r\n emvAmtInWords:any;\r\n fundAmtInWords : any;\r\n m_btLenderList: any;\r\n applicants: any;\r\n m_endUseofLoad: any;\r\n m_sourceofamount: any;\r\n m_mortageTypeProperty: any;\r\n m_statusofCunstruction: any;\r\n ownerNames: any=[];\r\n isOtherPurpose: boolean=false;\r\n endUserList: any=[];\r\n pdDetails: any;\r\n FormId: any;\r\n productAbbr:any;\r\n loanDetailsForm: FormGroup;\r\n users: any;\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any;\r\n m_endUseOFTopUpList:any=[]\r\n isContribution: boolean = false;\r\n\r\n \r\n isOtherSource: boolean = false;\r\n isPLSource: boolean = false;\r\n\r\n sourceList:any=[];\r\n pdid:number;\r\n m_endUseForLoan:any;\r\n subProductName : any;\r\n //public filterCtrl:FormControl=new FormControl\r\n private dbmasters: Dbmaster[];\r\n /** Subject that emits when the component has been destroyed. */\r\n protected _onDestroy = new Subject();\r\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\r\n imageDisplay: any=[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n complete_status : boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \r\n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \r\n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider,public storagedb:StorageProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n console.log(\"pd\",this.pdDetails);\r\n this.applicants = this.pdDetails.applicat_details\r\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\r\n this.productAbbr = this.pdDetails.product_abbr;\r\n this.subProductName = this.pdDetails.subproduct_name;\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.lender_short_name = this.pdDetails.lender_short_name;\r\n this.getDropdown();\r\n\r\n this.loanDetailsForm = this.fb.group({\r\n loan_amount: [''],\r\n loan_tenure:[''],\r\n sub_product:[''],\r\n end_use: ['', Validators.compose([Validators.required])],\r\n end_use_other: [''],\r\n is_transfer: ['', Validators.compose([Validators.required])],\r\n is_there_total_fund:[''],\r\n fund_amt:[''],\r\n //is_topup: ['', Validators.compose([Validators.required])],\r\n // is_topup: [''],\r\n balance_transfer_amount: [''],\r\n topup_amount: [''],\r\n end_use_topup:[''],\r\n other_end_use_topup:[''],\r\n lender: [''],\r\n filterCtrl:[''],\r\n other_bt_lender : [''],\r\n own_contribution: ['', Validators.compose([Validators.required])],\r\n source: [''],\r\n //personal_loan_source:[''],\r\n other_source:[''],\r\n //lender_name_type: [''],\r\n emi_level: ['', Validators.compose([Validators.required])],\r\n property_type: ['', Validators.compose([Validators.required])],\r\n property_type_others:[''],\r\n owner_name: ['', Validators.compose([Validators.required])],\r\n construction_status: ['', Validators.compose([Validators.required])],\r\n //percentage_of_construction : [''],\r\n emv_per_customer: ['', Validators.compose([Validators.required])],\r\n //value_per_agreement: ['', Validators.compose([Validators.required])],\r\n loandetails_remarks: ['', Validators.compose([Validators.required])],\r\n });\r\n console.log(this.pdDetails)\r\n //Setting Initial value from PD Master\r\n if(this.pdDetails.loan_amount!=null){\r\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\r\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\r\n }\r\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\r\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\r\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\r\n }\r\n \r\n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\r\n {\r\n this.mortagetypeAccess = true;\r\n }else\r\n {\r\n this.mortagetypeAccess = false;\r\n }\r\n \r\n \r\n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\r\n this.isContribution = true;\r\n }\r\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.filterBank();\r\n })\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n\r\n }\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionLoansPage');\r\n \r\n this.getLoanDetails();\r\n this.getPDImages();\r\n }\r\n ngOnDestroy() {\r\n this._onDestroy.next();\r\n this._onDestroy.complete();\r\n }\r\n \r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.loanDetailsForm.dirty);\r\n if(this.loanDetailsForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n // this.localInsert(true)\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n }\r\n \r\n }\r\n protected filterBank(){\r\n if(!this.dbmasters){\r\n return\r\n }\r\n let search=this.loanDetailsForm.controls['filterCtrl'].value \r\n if(!search){\r\n this.dbmasters=this.m_btLenderList\r\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\r\n // if(a.lender_name>b.lender_name){\r\n // return 1;\r\n // }\r\n // if(a.lender_name{\r\n // if(a.lender_name>b.lender_name){\r\n // return 1;\r\n // }\r\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\r\n //this.dbmasters.filter(master => master.lender_name==search)\r\n )\r\n // console.log(\"mbtlender\",this.m_btLenderList)\r\n // console.log(\"Filtered banks\",this.filteredBanks)\r\n }\r\n\r\n\r\n \r\n\r\n\r\n getDropdown() {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n this.dbmasters=this.m_btLenderList\r\n this.dbmasters=this.dbmasters.sort((a,b)=>{\r\n if(a.lender_name>b.lender_name){\r\n return 1;\r\n }\r\n if(a.lender_name{\r\n \r\n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\r\n \r\n });\r\n\r\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\r\n data => {\r\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n console.log('data[records]',data['records']);\r\n let that = this;\r\n this.m_mortageTypeProperty = data['records'].filter(\r\n function (data) {\r\n if (that.pdDetails.product_abbr != \"LAP\") {\r\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\r\n return data;\r\n }\r\n }\r\n else if (that.pdDetails.product_abbr == \"LAP\") {\r\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\r\n return data;\r\n }\r\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\r\n return data;\r\n }\r\n }\r\n });\r\n // this.mortage_type(this.propertyType);\r\n }\r\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\r\n data => {\r\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\r\n });\r\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\r\n subdata => {\r\n if(subdata['dataStatus']==true){\r\n let that = this;\r\n this.m_endUseofLoad = subdata['records'].filter(\r\n function(data)\r\n {\r\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\r\n {\r\n return data;\r\n }\r\n });\r\n this.endUserChange(this.enduse)\r\n }\r\n });\r\n \r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n }\r\n })\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n if(this.productAbbr != 'LAP'){\r\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\r\n }\r\n }\r\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\r\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\r\n }) \r\n \r\n }\r\n\r\n selectedBalancesTransferChanges(event: any){\r\n // if(event.value == 'no') { \r\n // this.loanDetailsForm.controls['is_topup'].clearValidators();\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // this.loanDetailsForm.controls['is_topup'].setValue('');\r\n //}\r\n //else if(event.value == 'yes'){\r\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // }\r\n if (event == 'no') {\r\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n\r\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \r\n this.loanDetailsForm.controls['lender'].setValue('');\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\r\n this.topUpAmtInWords=''\r\n\r\n }\r\n else if (event == 'yes') {\r\n this.loanDetailsForm.controls['source'].setValue('');\r\n this.loanDetailsForm.controls['source'].clearValidators();\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['own_contribution'].setValue('');\r\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.isOtherSource = false;\r\n this.loanDetailsForm.controls['other_source'].setValue('');\r\n \r\n }\r\n\r\n}\r\n \r\n mortage_type(mortage_value)\r\n {\r\n console.log('mortage_value',mortage_value);\r\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\r\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\r\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\r\n if(property_name=='others(pleasespecify)' || property_name=='others')\r\n {\r\n this.mortageAccess = true;\r\n }else\r\n {\r\n this.mortageAccess = false; \r\n }\r\n \r\n \r\n }\r\n compareObjects(o1: any, o2: any){\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n \r\n }\r\n\r\n\r\n loanCalc()\r\n {\r\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\r\n let loanAmount = this.loanDetailsForm.value.loan_amount;\r\n let topupAmt ;\r\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\r\n {if (loanAmount >= BtAmount) {\r\n topupAmt = loanAmount - BtAmount;\r\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n \r\n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\r\n } else {\r\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\r\n this.balTxrfAmtInWords = '';\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.topUpAmtInWords = '';\r\n } }\r\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n }\r\n\r\n onChangeSubProduct(subproduct) {\r\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\r\n data => {\r\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n endUserChange(event) {\r\n //this.endUserList = [];\r\n event.forEach(option => {\r\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\r\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\r\n this.endUserList.push({ end_use: option });\r\n if (othresData == 'others') {\r\n \r\n this.isOtherPurpose = true;\r\n return ;\r\n }else\r\n {\r\n this.isOtherPurpose = false;\r\n \r\n }\r\n });\r\n }\r\n ownerNameChange(event) {\r\n this.ownerNames = [];\r\n event.value.forEach(option => {\r\n this.ownerNames.push({ owner_name: option });\r\n });\r\n }\r\n sourceChange(evt) {\r\n\r\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\r\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\r\n\r\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\r\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\r\n\r\n this.sourceList = [];\r\n\r\n evt.forEach(option => {\r\n this.sourceList.push({source: option});\r\n });\r\n}\r\n inWords(e,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 2 : \r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 3 :\r\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 4 :\r\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 :\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 6:\r\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 7:\r\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n case 8:\r\n this.fundAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n default:\r\n break;\r\n }\r\n}\r\n submitLoanDetails() {\r\n // if(this.loanDetailsForm.valid){\r\n let records: any = {};\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\r\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\r\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\r\n records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value;\r\n records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value;\r\n // get end user final group data\r\n let dataEnd_user_data = [];\r\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\r\n dataEnd_user_data.push({end_use: element})\r\n });\r\n records.end_use_group = dataEnd_user_data;\r\n\r\n if (this.isOtherPurpose) {\r\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\r\n }\r\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\r\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\r\n }\r\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\r\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\r\n \r\n let dataSource_list=[];\r\n if(this.loanDetailsForm.controls['source'].value != '')\r\n {\r\n \r\n this.loanDetailsForm.controls['source'].value.forEach(element => {\r\n dataSource_list.push({sources : element})\r\n });\r\n }\r\n records.source_group=dataSource_list;\r\n \r\n }\r\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\r\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\r\n //}\r\n if(records.topup_amount > 0){\r\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\r\n if(records.end_use_topup == 1){\r\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\r\n }\r\n }\r\n \r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.lender = this.loanDetailsForm.controls['lender'].value;\r\n }\r\n if(this.loanDetailsForm.controls['lender'].value == 1){\r\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\r\n } \r\n \r\n \r\n\r\n \r\n /* records.source = this.loanDetailsForm.controls['source'].value;\r\n if (this.loanDetailsForm.controls['source'].value == 'other') {\r\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\r\n }*/\r\n if(this.isOtherSource){\r\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\r\n }\r\n else{\r\n records.other_source = ''; \r\n }\r\n \r\n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\r\n if(this.mortageCardAccess == true){\r\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\r\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\r\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\r\n };\r\n // records.owner_name_group = this.ownerNames;\r\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\r\n let dataOwner_name = [];\r\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\r\n dataOwner_name.push({owner_name: element})\r\n });\r\n records.owner_name_group = dataOwner_name;\r\n }\r\n else{\r\n records.owner_name_group='';\r\n }\r\n \r\n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\r\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\r\n \r\n }else{\r\n records.property_type = null;\r\n records.property_type_others = null;\r\n records.owner_name_group = null;\r\n records.construction_status = null;\r\n records.emv_per_customer = null;\r\n }\r\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\r\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\r\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']== true){\r\n //TO CHANGE THE FORM STATE \r\n // this.loanDetailsForm.markAsUntouched();\r\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n // this.notifier.notify('success', 'Saved Successfully.');\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter The All Field');\r\n // }\r\n }\r\n\r\n getLoanDetails() {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let loanDetails = value['records'];\r\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\r\n return loanDetails.end_use_group[key];\r\n });\r\n \r\n\r\n //this.enduse\r\n result.forEach(val => {\r\n this.enduse.push(val.end_use);\r\n //this.endUserList.push({'end_use':val.end_use});\r\n });\r\n let ownername: any = [];\r\n if(loanDetails.owner_name_group != null){\r\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\r\n return loanDetails.owner_name_group[key];\r\n });\r\n owner.forEach(val => {\r\n ownername.push(val.owner_name);\r\n this.ownerNames.push({'end_use':val.end_use});\r\n });\r\n }\r\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\r\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\r\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\r\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\r\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\r\n this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails.is_there_total_fund);\r\n this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails.fund_amt);\r\n this.endUserChange(this.enduse);\r\n\r\n if (loanDetails.end_use_other!='') {\r\n //this.endUserChange(this.enduse);\r\n // this.isOtherPurpose=true;\r\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\r\n }\r\n \r\n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \r\n if(loanDetails.topup_amount > 0){\r\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\r\n if (loanDetails.end_use_topup == 1) {\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\r\n }\r\n } \r\n }\r\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n }\r\n if (loanDetails.lender) {\r\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\r\n }\r\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\r\n // if(loanDetails.own_contribution)\r\n // {\r\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\r\n // }\r\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\r\n if(loanDetails.fund_amt){this.fundAmtInWords = this.constant.convertNumberToWords(loanDetails.fund_amt); }\r\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\r\n this.loanDetailsForm.controls['own_contribution'].setValue('');\r\n this.loanDetailsForm.controls['other_source'].setValue('');\r\n this.loanDetailsForm.controls['source'].setValue('');\r\n }\r\n else{\r\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\r\n {\r\n let source=Object.keys(loanDetails.source_group).map(function(key){\r\n return loanDetails.source_group[key];\r\n });\r\n let dbsourcelist:any=[];\r\n source.forEach(val=>{\r\n dbsourcelist.push(val.sources);\r\n });\r\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\r\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\r\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\r\n this.sourceChange(dbsourcelist);\r\n if(loanDetails.other_source) {\r\n // this.isOtherSource = true;\r\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\r\n }\r\n \r\n \r\n }\r\n }\r\n\r\n/* if (loanDetails.lender_name_type) {\r\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\r\n }*/\r\n \r\n if(loanDetails.emi_level){\r\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\r\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\r\n }\r\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \r\n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\r\n this.propertyType =loanDetails.property_type;\r\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\r\n this.mortage_type(this.propertyType);\r\n if(this.mortageCardAccess == true){\r\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \r\n // this.mortage_type(loanDetails.property_type_others);\r\n \r\n }\r\n }\r\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\r\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\r\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\r\n if(loanDetails.emv_per_customer)\r\n {\r\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\r\n }\r\n \r\n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\r\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\r\n } else {\r\n if(this.lender_short_name == 'CLIX'){\r\n \r\n this.loanDetailsForm.controls['is_transfer'].setValue(\"no\");\r\n this.selectedBalancesTransferChanges(\"no\")\r\n }\r\n }\r\n })\r\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP'){\r\n this.mortageCardAccess = false;\r\n this.loanDetailsForm.controls['owner_name'].setValue('');\r\n this.loanDetailsForm.controls['owner_name'].clearValidators();\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }else{\r\n this.mortageCardAccess = true;\r\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }\r\n \r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n // this.imageDisplay.push(this.imageBucket)\r\n // console.log(\"length\",this.imageDisplay.length)\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n localInsert(option){\r\n let datas:any=this.loanDetailsForm.value\r\n datas.pd_id=this.pdDetails.pd_id\r\n datas.form_id=this.FormId.form_id;\r\n datas.active=option;\r\n // let form_id=this.FormId.form_id\r\n // let recors={'records':datas}\r\n this.storagedb.insertData(datas).then(res=>{\r\n let alert=this.toast.setAlert('data',JSON.stringify(res))\r\n alert.present();\r\n console.log(res);\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport { Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-banking',\r\n templateUrl: 'pd-question-banking.html',\r\n // changeDetection:ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PdQuestionBankingPage {\r\n \r\n m_btLenderList: any;\r\n applicants: any ;\r\n salaryField: boolean;\r\n FormId: any;\r\n accountType: any;\r\n users: any;\r\n bankDetails:FormGroup;\r\n pdDetails: any;\r\n pdid:any;\r\n bankitems:FormArray;\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n limitCaseFlag: any=[];\r\n amtInwords: any=[];\r\n\r\n protected _onDestroy = new Subject();\r\n m_btLenderListValue: any=[];\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\r\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider) {\r\n //this.applicants.pop();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n \r\n \r\n // alert();\r\n this.users = this.aws.getlocale();\r\n this.bankDetails = this.fb.group(\r\n {\r\n bankitems:this.fb.array([]),\r\n banking_form_remark:[null],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n // this.bankDetails.controls['bankitems'].valueChanges\r\n // .pipe(takeUntil(this._onDestroy))\r\n // .subscribe(()=>{\r\n // this.filterBank();\r\n // })\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBankingPage');\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.bankDetails.dirty);\r\n if(this.bankDetails.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n }\r\n}\r\n\r\n checkImage(){\r\n let value\r\n if(this.imageDisplay.length>0){\r\n // return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n // reject();\r\n value=false;\r\n }\r\n else{\r\n // resolve();\r\n value=true;\r\n }\r\n })\r\n // })\r\n }\r\n return value\r\n }\r\n searchFun(control){\r\n control.controls['filterCtrl'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.filterBank(control);\r\n })\r\n}\r\n\r\n filterBank(event){\r\n if(!this.m_btLenderListValue){\r\n return\r\n }\r\n let search=event.controls['filterCtrl'].value\r\n if(!search){\r\n this.m_btLenderListValue=this.m_btLenderList.slice()\r\n return\r\n }\r\n else{\r\n search=search.toLowerCase()\r\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\r\n }\r\n }\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\r\n this.m_btLenderListValue=this.m_btLenderList.slice();\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n // let modifyCompanyList : any=[];\r\n // if(this.existCompanyList.length>0){\r\n // modifyCompanyList = this.existCompanyList.map(element => {\r\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n // });\r\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n //}\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n\r\n/** Amount InWords */\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n bank_name: [''],\r\n filterCtrl:[''],\r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n //is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n \r\n addBankDetails() {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n\r\n if(this.bankitems.length==1){\r\n this.bankitems.reset();\r\n }\r\n else\r\n this.bankitems.removeAt(i);\r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n\r\n answerData.bankitems.forEach(element=>{\r\n //console.log(\"items\",element.filterCtrl);\r\n // if(element.filterCtrl){\r\n // console.log(\"enter\",element.filterCtrl)\r\n delete element.filterCtrl\r\n // }\r\n });\r\n // console.log(\"logs\",answerData)\r\n let records: any = {};\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.banking_details = answerData.bankitems;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.bankDetails.dirty=false;\r\n // this.bankDetails.markAsDirty();\r\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\r\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\r\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\r\n\r\n //TO CHANGE THE FORM STATE \r\n // this.bankDetails.markAsUntouched();\r\n // console.log(\"touched\",this.bankDetails.touched)\r\n // console.log(\"untouched\",this.bankDetails.untouched)\r\n // console.log(\"pristine\",this.bankDetails.pristine)\r\n this.bankDetails.reset(this.bankDetails.value)\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n \r\n }\r\n\r\n retiveBankDetails()\r\n {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n if(result.length ==0){\r\n \r\n this.bankitems.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n \r\n \r\n \r\n result.forEach((datas,index)=>\r\n {\r\n datas.filterCtrl=''\r\n this.selectedAccTypeChanges(+datas.account_type,index)\r\n if(datas.limit != ''){\r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n } \r\n // this.selectedBorrower(datas.applicant_name,index);\r\n this.bankitems.push(this.createBankItem(''));\r\n })\r\n this.bankDetails.controls['bankitems'].setValue(result);\r\n }\r\n \r\n \r\n }else\r\n {\r\n \r\n this.addBankDetails();\r\n }\r\n });\r\n \r\n }\r\n\r\n \r\n/*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.cons.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('other_applicant').value\r\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\n\r\n/**\r\n * Generated class for the PdQuestionFamilyPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-family',\r\n templateUrl: 'pd-question-family.html',\r\n})\r\nexport class PdQuestionFamilyPage {\r\n\r\n\r\n earningStatus = [{\r\n type: 'Earning',\r\n id: 1\r\n}, {\r\n type: 'Non Earning',\r\n id: 2\r\n}]\r\nearning_gross_income_per_month:any;\r\n\r\n nofamily:number;\r\ndata:any;\r\n familyAddStatus: boolean;\r\n ownerShip: any;\r\n cusSeg: any;\r\n FormId: any;\r\n users: any;\r\n pdDetails: any;\r\n occupationData: any;\r\n membersitem: FormArray;\r\n items: FormArray;\r\n relationData: any;\r\n familyForm: FormGroup;\r\n total_number_of_family_members;\r\n filteredStates: any ;\r\n public selected_person;\r\n stateData:any;\r\n cityData: any =[];\r\n pincodeData:any=[];\r\n FamilyMemberAsLabel: any=[];\r\n selectPerson: any=[];\r\n apiFamilyMembers: any=[];\r\n //isReadOnly: any=[];\r\n RentAmount: any=[];\r\n IncomePerMonth: any=[];\r\n // cons: any;\r\n cityDataValue:any=[]\r\n stateDataValue:any=[]\r\n protected _onDestroy = new Subject();\r\n pincodeDataValue: any=[];\r\n relationDataValue: any=[];\r\n imageDisplay: any=[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n titleList: any=[];\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\r\n public toast:ToastProvider,public cons:ConstantsProvider,\r\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.selected_person=this.pdDetails.pdapplicants_details;\r\n this.selectPerson=this.pdDetails.applicat_details\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n this.familyForm = this.fb.group({\r\n family_details: this.fb.array([\r\n //this.initFamilyDetails()\r\n \r\n ]),\r\n family_details_form_remark:[''],\r\n \r\n \r\n });\r\n this.getRelation();\r\n this.getoccupation();\r\n \r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\r\n this.getFamilyData();\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.familyForm.dirty);\r\n if(this.familyForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n initFamilyDetails(records) : void\r\n {\r\n if (records === null) {\r\n let formData: FormGroup = this.fb.group({\r\n selected_person: ['', Validators.compose([Validators.required])],\r\n residence_place: [''],\r\n residence_city: [''],\r\n citySearch:[''],\r\n residence_state: [''],\r\n stateSearch:[''],\r\n pinSearch:[''],\r\n residence_pin: [''],\r\n residence_other_pincode:[''],\r\n residence_No_of_years: [''],\r\n residence_ownership: [''],\r\n ownershipOther: [''],\r\n rent: [''],\r\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\r\n family_members_details: this.fb.array([])\r\n });\r\n const control = this.familyForm.controls['family_details'];\r\n control.push(formData);\r\n \r\n }\r\n else{\r\n records.forEach((val,index)=>{\r\n if(val.rent != null){\r\n this.inWords(val.rent,index,2)\r\n }\r\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\r\n this.getCity(val.residence_state,index);\r\n let formData:FormGroup=this.fb.group({\r\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\r\n residence_place:[val.residence_place],\r\n residence_city:[val.residence_city],\r\n citySearch:[''],\r\n residence_state:[val.residence_state],\r\n stateSearch:[''],\r\n pinSearch:[''],\r\n residence_pin:[val.residence_pin],\r\n residence_other_pincode:[val.residence_other_pincode],\r\n residence_No_of_years: [val.residence_No_of_years],\r\n residence_ownership:[val.residence_ownership],\r\n rent:[val.rent || null],\r\n ownershipOther:[val.ownershipOther || null],\r\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\r\n family_members_details:this.fb.array([])\r\n \r\n });\r\n \r\n const control = this.familyForm.controls['family_details'];\r\n control.push(formData);\r\n \r\n let inx=control.length-1;\r\n //this.getNumberOfFamilyMemberDetails(inx);\r\n this.initFamilyMembersDetails(inx, val.family_members_details);\r\n \r\n \r\n //this.initFamilyMembersDetails\r\n \r\n })\r\n }\r\n /*\r\n return this.fb.group({\r\n //family_details\r\n selected_person:[''],\r\n residence_place:[''],\r\n residence_city:[''],\r\n residence_state:[''],\r\n residence_pin:[''],\r\n residence_No_of_years: [''],\r\n residence_ownership:[],\r\n rent:[''],\r\n ownershipOther:[''],\r\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\r\n \r\n //family_member_details\r\n \r\n \r\n \r\n family_members_details:this.fb.array([]),\r\n \r\n\r\n // person: [null],\r\n /* personOther: [''],\r\n members: [''],\r\n residence: [''],\r\n years: [null],\r\n family_details_form_remark:[''],\r\n \r\n });*/\r\n\r\n }\r\n initFamilyMembersDetails(inx,val) :void {\r\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\r\n val.forEach((vals,index)=>{\r\n\r\n \r\n if(vals.earning_gross_income_per_month != null){\r\n this.inWords(vals.earning_gross_income_per_month,index,1);\r\n }\r\n let datas = this.fb.group({\r\n family_member_salutation:[vals.family_member_salutation || null],\r\n family_member_name: [vals.family_member_name || null],\r\n family_member_relationship: [vals.family_member_relationship || null],\r\n relationSearch:[''],\r\n family_member_age: [vals.family_member_age || null],\r\n family_member_earning_status: [vals.family_member_earning_status || null],\r\n earning_segment: [vals.earning_segment || null],\r\n earning_if_others_segment:[vals.earning_if_others_segment || null],\r\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\r\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\r\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\r\n non_earning_occupation: [vals.non_earning_occupation || null],\r\n non_earning_if_others: [vals.non_earning_if_others || null],\r\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\r\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\r\n })\r\n \r\n control.push(datas);\r\n });\r\n }\r\n \r\n /*return this.fb.group({\r\n family_member_name:[''],\r\n family_member_relationship:[],\r\n family_member_age:[],\r\n family_member_earning_status:[''],\r\n //family_member_earnings\r\n earning_segment:[''],\r\n earning_gross_income_per_month:[''],\r\n earning_name_of_the_employer_or_business:[''],\r\n earning_number_of_years_in_employment_or_business:[''],\r\n \r\n non_earning_occupation:[''],\r\n non_earning_if_others:[''],\r\n non_earning_if_retired_from:[''],\r\n });*/\r\n \r\n\r\n\r\n add() :void { \r\n // const control=this.familyForm.controls['family_details'];\r\n //control.push(this.initFamilyDetails('chck'));\r\n this.initFamilyDetails(null);\r\n this.toast.pdTriggerappmessage(\"Family Details Added\");\r\n }\r\n remove_family_details(i:number):void{\r\n const control=this.familyForm.controls['family_details'];\r\n control.removeAt(i);\r\n }\r\n addMemberDet(data:any){\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n //this.initFamilyMembersDetails('','')\r\n control.push(this.generateFamilyMembersDetailsGet())\r\n }\r\n removeMemberDet(index:any,f_index:any){\r\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\r\n if(control.length>1){\r\n control.removeAt(index); \r\n }\r\n else{\r\n control.reset()\r\n }\r\n // if(control.value !=null && index == 0)\r\n\r\n }\r\n getNumberOfFamilyMemberDetails(data)\r\n {\r\n \r\n var datavalue=data;\r\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\r\n if(formData['total_number_of_family_members'].valid)\r\n {\r\n let totmem=formData['total_number_of_family_members'].value;\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n if(totmem>=control.length){\r\n let len=totmem-control.length;\r\n for( let i=0;i=totmem;i--)\r\n {\r\n control.removeAt(i);\r\n }\r\n \r\n // var nn=control.length-totmem; \r\n // control.controls = [];\r\n /*for (let i = 0; i < totmem; i++) {\r\n control.push(this.generateFamilyMembersDetailsGet());\r\n\r\n }*/\r\n // this.initFamilyDetails(this.resValue['records'].family_details);\r\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\r\n }\r\n \r\n \r\n }\r\n else{\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n control.removeAt(control.length);\r\n control.controls=[];\r\n }\r\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n control.push(this.initFamilyMembersDetails());\r\n */ \r\n }\r\n generateFamilyMembersDetailsGet(): FormGroup {\r\n return this.fb.group({\r\n family_member_salutation:[''],\r\n family_member_name: ['' ],\r\n family_member_relationship: [''],\r\n relationSearch:[''],\r\n family_member_age: [''],\r\n family_member_earning_status: [''],\r\n earning_segment: [''],\r\n earning_if_others_segment:[''],\r\n earning_gross_income_per_month: [''],\r\n earning_name_of_the_employer_or_business: [''],\r\n earning_number_of_years_in_employment_or_business: [''],\r\n non_earning_occupation: [''],\r\n non_earning_if_others: [''],\r\n non_earning_if_schoolorcollege:[''],\r\n non_earning_if_retired_from: [''],\r\n })\r\n}\r\n \r\n getRelation() {\r\n let master_name = 'RELATIONSHIPS';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n \r\n if(data['dataStatus'] == true){\r\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\r\n this.relationDataValue=this.relationData.slice();\r\n }\r\n });\r\n\r\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\r\n }\r\n });\r\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\r\n // }\r\n // });\r\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.stateData=res['records'].filter(item=>item.isactive==1);\r\n this.stateDataValue=this.stateData.slice();\r\n }\r\n })\r\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.titleList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n}\r\ngetCity(e,i){\r\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \r\n // this._pd.retriveForm(params).subscribe(data => {\r\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\r\n if (data['dataStatus'] == true) {\r\n this.cityData[i] = data.records.cities; \r\n this.cityDataValue[i]=this.cityData[i].slice();\r\n this.pincodeData[i] = data.records.pincode;\r\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\r\n }\r\n });\r\n}\r\ngetoccupation()\r\n{\r\n let master_name = 'OCCUPATIONMEMBERS';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\r\n }\r\n });\r\n}\r\n /* createMembers(): FormGroup {\r\n return this.fb.group({\r\n earning_member_name : [null],\r\n earning_member_age : [null],\r\n relation: [null],\r\n segment: [null],\r\n income: [null],\r\n employer_name: [null],\r\n });\r\n}\r\ncount :number = 0;\r\naddearningMembers()\r\n{\r\n this.items = this.familyForm.get('earningMembers') as FormArray;\r\n this.items.push(this.createMembers());\r\n this.count++;\r\n this.checkfamilystatus(this.count,''); \r\n\r\n}\r\n\r\ndeleteEarningMembers(i)\r\n{\r\n\r\n if(this.items.length==1)\r\n {\r\n this.familyForm.controls['earningMembers'].reset();\r\n }else{\r\n this.items.removeAt(i);\r\n }\r\n this.count--;\r\n this.checkfamilystatus(this.count,''); \r\n}\r\ncreateNonMembers(): FormGroup {\r\n return this.fb.group({\r\n non_earning_member_name : [''],\r\n non_earning_member_age : [''],\r\n relationship: [null],\r\n occupation: [null],\r\n retired: [null],\r\n others_occupation:[null],\r\n });\r\n}\r\naddMembers()\r\n{\r\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\r\n this.count++;\r\n this.checkfamilystatus(this.count,''); \r\n this.membersitem.push(this.createNonMembers());\r\n \r\n}\r\ndeleteMembers(i)\r\n{\r\n if(this.membersitem.length==1){\r\n this.familyForm.controls['nonEarningMembers'].reset();\r\n \r\n }else{\r\n this.membersitem.removeAt(i);\r\n }\r\n this.count--;\r\n this.checkfamilystatus(this.count,''); \r\n}\r\ncheckfamilystatus(count,familystatus)\r\n{\r\n if(familystatus !='' && familystatus !==undefined){\r\n\r\n }else{\r\n familystatus = this.familyForm.get('members').value;\r\n }\r\n if(familystatus !== null ){\r\n if(familystatus == count)\r\n {\r\n\r\n this.familyAddStatus = true;\r\n }else\r\n {\r\n this.familyAddStatus = false;\r\n }\r\n }\r\n}*/\r\n/* Old\r\nsavepdfamily(answerData)\r\n{\r\n let records: any = {};\r\n records.no_of_years = answerData.years;\r\n if (answerData.ownership == '4') {\r\n records.ownershipOther = answerData.ownershipOther;\r\n } \r\n records.residence = answerData.residence;\r\n if (answerData.ownership == '3') {\r\n records.what_rent = answerData.rent;\r\n }\r\n // if (answerData.person == '8') {\r\n // records.person_met = answerData.personOther.value;\r\n // } else {\r\n // records.person_met = answerData.person;\r\n // }\r\n records.ownership = answerData.ownership\r\n records.family_members = answerData.members;\r\n records.earning_members = answerData.earningMembers;\r\n records.non_earning_members = answerData.nonEarningMembers;\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.family_details_form_remark = answerData.family_details_form_remark;\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n}*/\r\nsetValidation(control){\r\n console.log(control)\r\n if(control.controls['family_member_earning_status'].value == 1){\r\n control.controls['non_earning_occupation'].clearValidators()\r\n control.controls['non_earning_occupation'].updateValueAndValidity()\r\n }\r\n if(control.controls['family_member_earning_status'].value == 2 ){\r\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\r\n control.controls['non_earning_occupation'].updateValueAndValidity()\r\n }\r\n}\r\n\r\nsavepdfamily(answerData)\r\n{\r\n if(!this.familyForm.valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\r\n return\r\n }\r\n \r\n let records:any={};\r\n \r\n records=this.familyForm.value;\r\n\r\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\r\n \r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid=this.pdDetails.pd_id;\r\n records.formid=this.FormId.form_id;\r\n records.fk_createdby=this.users;\r\n records.family_details.forEach(parVal=>{\r\n console.log(\"par\",parVal)\r\n delete parVal.stateSearch\r\n delete parVal.citySearch\r\n delete parVal.pinSearch\r\n parVal.family_members_details.forEach(childVal=>{\r\n console.log(\"childval\",parVal)\r\n delete childVal.relationSearch\r\n })\r\n })\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n //TO CHANGE THE FORM STATE \r\n this.familyForm.reset(this.familyForm.value);\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n \r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\r\n })\r\n\r\n /*let records: any = {};\r\n records.no_of_years = answerData.residence_No_of_years;\r\n if (answerData.residence_ownership == '4') {\r\n records.ownershipOther = answerData.ownershipOther;\r\n } \r\n //records.residence = answerData.residence;\r\n if (answerData.residence_ownership == '3') {\r\n records.what_rent = answerData.rent;\r\n }\r\n // if (answerData.person == '8') {\r\n // records.person_met = answerData.personOther.value;\r\n // } else {\r\n // records.person_met = answerData.person;\r\n // }\r\n records.ownership = answerData.residence_ownership\r\n records.family_members = answerData.total_number_of_family_members;\r\n records.earning_members = answerData.earningMembers;\r\n records.non_earning_members = answerData.nonEarningMembers;\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.family_details_form_remark = answerData.family_details_form_remark;\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })*/\r\n}\r\nprevFamilyMembersCtrlLength: number = 0;\r\ncurrFamilyMembersCtrlLength: number = 0;\r\nselectedPerson(e,inx){\r\n \r\n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\r\n \r\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\r\n \r\n this.currFamilyMembersCtrlLength = control.length;\r\n \r\n let i : number = 0 ;\r\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\r\n console.log(i,this.prevFamilyMembersCtrlLength);\r\n control.removeAt(i);\r\n }\r\n // while(index < this.prevFamilyMembersCtrlLength)\r\n // { \r\n // }\r\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n\r\n if(this.apiFamilyMembers.length>0){\r\n\r\n let arraydata : any;\r\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\r\n\r\n \r\n // data_gets_from:'GeneralForm'\r\n // data_gets_from:'BusinessForm'\r\n \r\n if(data.length > 0){\r\n \r\n \r\n this.prevFamilyMembersCtrlLength = data.length;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n\r\n\r\n data.forEach((val,inx) => {\r\n \r\n // // family_member_earning_status\r\n // if(val.age){\r\n // this.isReadOnly[inx] = true;\r\n // }else{\r\n // this.isReadOnly[inx] = false;\r\n // }\r\n arraydata = {\r\n 'family_member_salutation':'',\r\n 'family_member_name' : val.name,\r\n 'family_member_relationship' : val.relationship,\r\n 'family_member_age' : val.age,\r\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\r\n 'earning_segment': '',\r\n 'earning_gross_income_per_month': '',\r\n 'earning_name_of_the_employer_or_business':'',\r\n 'earning_number_of_years_in_employment_or_business': '',\r\n 'earning_if_others_segment':'',\r\n 'non_earning_occupation': '',\r\n 'non_earning_if_others': '',\r\n 'non_earning_if_retired_from': '',\r\n 'non_earning_if_schoolorcollege': ''\r\n }\r\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\r\n \r\n });\r\n }\r\n else{\r\n this.prevFamilyMembersCtrlLength = 1;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n \r\n\r\n control.push(this.generateFamilyMembersDetailsGet()); \r\n }\r\n }\r\n else{\r\n \r\n control.push(this.generateFamilyMembersDetailsGet());\r\n } \r\n}\r\n\r\ngenerateFamilyMembersDetailsGetData(data){\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n});\r\nif (result.length > 0) {\r\n for (let val of result) {\r\n const control = this.familyForm.controls['family_members_details'];\r\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\r\n }\r\n}\r\n}\r\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\r\n return this.fb.group({\r\n family_member_salutation:[val.family_member_salutation],\r\n family_member_name: [val.family_member_name],\r\n family_member_relationship: [val.family_member_relationship],\r\n relationSearch:[''],\r\n family_member_age: [val.family_member_age],\r\n family_member_earning_status: [val.family_member_earning_status],\r\n earning_segment: [val.earning_segment],\r\n earning_if_others_segment:[val.earning_if_others_segment],\r\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\r\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\r\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\r\n non_earning_occupation: [val.non_earning_occupation],\r\n non_earning_if_others: [val.non_earning_if_others],\r\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\r\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\r\n})\r\n}\r\nresValue:any;\r\n\r\n getFamilyData()\r\n {\r\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n // console.log(res);\r\n if(res['dataStatus']==true){\r\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\r\n let Temparr : any = [];\r\n\r\n if(res.record.from_general_form.length>0){\r\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\r\n return res.record.from_general_form[key]\r\n });\r\n let datas=familyMembersGeneralForm.map(element=>{\r\n return {id:element.pd_co_applicant_id.toString(),\r\n name:element.applicant_name,\r\n relationship:element.relationship,\r\n relation_to:element.relation_to,\r\n age:element.age,\r\n data_gets_from:'GeneralForm'};\r\n \r\n });\r\n Temparr.push(datas);\r\n // console.log('Temparr',Temparr);\r\n }\r\n else{\r\n console.log(\"No data in General Form\")\r\n }\r\n if(res.record.from_business_form.length >0){\r\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\r\n return res.record.from_business_form[key]\r\n });\r\n let datas=familyMembersBusinessForm.map(element=>{\r\n return {id:element.other_family_relationship_id,\r\n name:element.family_member_name,\r\n relationship:element.other_family_relationship_id,\r\n relation_to:element.relation_to_id,\r\n age:'',\r\n data_gets_from:'BusinessForm'};\r\n });\r\n Temparr.push(datas);\r\n }\r\n else{\r\n console.log(\"No data in Business Form\")\r\n }\r\n this.apiFamilyMembers = [].concat.apply([],Temparr);\r\n }\r\n })\r\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n console.log(\"Entering Retrieve\");\r\n \r\n if(res['status']==200){\r\n if(res['records'].family_details.length > 0){\r\n //FOR REMOVING CONTROL\r\n res['records'].family_details.forEach(parVal=>{\r\n parVal.stateSearch=''\r\n parVal.citySearch=''\r\n parVal.pinSearch=''\r\n parVal.family_members_details.forEach(childVal=>{\r\n delete childVal.relationSearch\r\n })\r\n })\r\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\r\n this.resValue=res;\r\n this.initFamilyDetails(res['records'].family_details);\r\n \r\n }\r\n \r\n }\r\n else{\r\n console.log(\"No Data Found\");\r\n this.initFamilyDetails(null);\r\n \r\n }\r\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\r\n \r\n },err=>{\r\n console.log(\"Error\",err)\r\n })\r\n\r\n \r\n \r\n \r\n /*let earning:any = [];\r\n let non_earning:any = [];\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\r\n\r\n return res['records'].non_earning_members[key];\r\n });\r\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\r\n earning = Object.keys(res['records'].earning_members).map(function(key) {\r\n return res['records'].earning_members[key];\r\n });\r\n let familyDetails = res['records'];\r\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \r\n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\r\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\r\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\r\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\r\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\r\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\r\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\r\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\r\n // this.familyForm.controls['earningMembers'].setValue(earning);\r\n // for(this.)\r\n this.items = this.familyForm.get('earningMembers') as FormArray;\r\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\r\n if(earning.length==0)\r\n {\r\n this.addearningMembers();\r\n }else\r\n {\r\n earning.forEach(datas => {\r\n this.count++;\r\n this.items.push(this.createMembers());\r\n });\r\n this.familyForm.controls['earningMembers'].setValue(earning);\r\n \r\n }\r\n\r\n if(non_earning.length==0)\r\n {\r\n this.addMembers(); \r\n }else\r\n {\r\n non_earning.forEach(datas => {\r\n this.count++;\r\n this.membersitem.push(this.createNonMembers());\r\n \r\n });\r\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\r\n // this.checkfamilystatus(this.count);\r\n }\r\n \r\n // for(let earningDetails of earning){\r\n // this.items = this.familyForm.get('earningMembers') as FormArray;\r\n // this.items.push(earning);\r\n // }\r\n\r\n }else\r\n {\r\n this.addearningMembers();\r\n this.addMembers();\r\n }\r\n }) */ \r\n }\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \r\n break;\r\n case 2 :\r\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \r\n break;\r\n }\r\n }\r\n initSetValue(records):void{\r\n for(let val of records){\r\n let formData:FormGroup=this.fb.group({\r\n selected_person:[val.selected_person,Validators.compose([Validators.required])],\r\n residence_place:[val.residence_place]\r\n })\r\n }\r\n }\r\n\r\n\r\nsearchFun(control:any,i:number,option){\r\n console.log(\"control\",control)\r\n if (option == 'city') {\r\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\r\n control.controls['citySearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.SearchCity(control.controls['citySearch'].value, i);\r\n })\r\n }\r\n if (option == 'state') {\r\n console.log(\"state\")\r\n control.controls['stateSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.searchState(control.controls['stateSearch'].value)\r\n })\r\n }\r\n if (option == 'pin') {\r\n console.log(\"pin\")\r\n control.controls['pinSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.searchPin(control.controls['pinSearch'].value,i)\r\n })\r\n }\r\n }\r\n searchPin(val:any,index:number){\r\n if(!this.pincodeData[index]){\r\n return\r\n }\r\n let searchValue=val\r\n if(!searchValue){\r\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\r\n return\r\n }else{\r\n searchValue=searchValue.toLowerCase()\r\n }\r\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\r\n }\r\n SearchCity(val: any, i: number) {\r\n // let cityData=\r\n console.log(this.cityData[i])\r\n if (!this.cityData[i]) {\r\n return\r\n }\r\n let searchValue = val\r\n if (!searchValue) {\r\n this.cityDataValue[i]=this.cityData[i].slice()\r\n return\r\n } else {\r\n searchValue = searchValue.toLowerCase()\r\n }\r\n this.cityDataValue[i]=\r\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\r\n \r\n console.log(\"City Data value\",this.cityDataValue[i])\r\n // this.filteredCity.next(\r\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n // )\r\n \r\n }\r\n searchState(val: any) {\r\n console.log(\"statedata\")\r\n if (!this.stateData) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n // this.filteredState.next(this.stateList.slice())\r\n this.stateDataValue=this.stateData.slice()\r\n return\r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\r\n // this.filteredState.next(\r\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\r\n // )\r\n }\r\n searchRelation(val:any){\r\n // val=val.controls['relationSearch'].value\r\n console.log(\"val\",val);\r\n val.controls['relationSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\r\n \r\n })\r\n \r\n }\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n \r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n \r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.cons.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo location promise\",geoCoordinates)\r\n \r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n \r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('family_member_name').value\r\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\r\n }\r\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\r\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {Camera} from '@ionic-native/camera'\r\n// import {CacheService} from 'ionic-cache-observable'\r\n// import { Observable } from 'rxjs/Observable';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssestsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assests',\r\n templateUrl: 'pd-question-assests.html',\r\n})\r\nexport class PdQuestionAssestsPage {\r\n tab:any='0'\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n m_relation: any;\r\n applicants: any ;\r\n users: any;\r\n FormId: any;\r\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\r\n m_investmentType: { 'id': string; 'name': string; }[];\r\n m_insuranceType: { 'id': string; 'name': string; }[];\r\n m_propertyType: { 'id': string; 'name': string; }[];\r\n m_assets_type: { 'id': string; 'name': string; }[];\r\n m_vehicle_type: any=[];\r\n m_uom_type: any=[];\r\n pdDetails: any;\r\n assetItem: any;\r\n items:FormArray;\r\n AssetsDetailsForm:FormGroup;\r\n details:FormArray;\r\n FormList:boolean = false;\r\n loadDetails:boolean = true;\r\n assestInfo:any;\r\n PremiumPaidInwords: any=[]; \r\n SumAssuredInwords: any=[];\r\n AmtInvestInwords: any=[];\r\n ApproxInwords:any =[];\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n isOtherOwner: any = [];\r\n pdid:any;\r\n currentYear: any = new Date().getFullYear();\r\n imageBucket: any=[];\r\n base64: string;\r\n imageDisplay: any=[];\r\n @ViewChild('focusName') inputFocus;\r\n @ViewChild('picContent') content: Content\r\n complete_status: boolean = false;\r\n // data:Observable ;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\r\n \r\n this.assestInfo = \"busass\";\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.users = this.aws.getlocale();\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n this.AssetsDetailsForm = this.fb.group({\r\n assets_details:this.fb.array([]),\r\n assets_form_remark:['']\r\n })\r\n \r\n this.getAssetDetails();\r\n this.getdropList();\r\n this.loadDetails = true;\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssestsPage');\r\n console.log(\"Form\",this.AssetsDetailsForm)\r\n this.getPDImages();\r\n }\r\n // ionViewWillLeave(){\r\n // console.log(this.AssetsDetailsForm.dirty);\r\n // if(this.AssetsDetailsForm.dirty){\r\n // return;\r\n // }\r\n \r\n // }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\r\n if(this.AssetsDetailsForm.dirty){\r\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\r\n //return false;\r\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\r\n // console.log(\"v\",val)\r\n // if(val==1){\r\n\r\n // }\r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n }\r\n \r\n }\r\n\r\n getdropList()\r\n {\r\n //GETTING Asset Type\r\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\r\n \r\n }\r\n })\r\n \r\n //GETTING Property Type;\r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\r\n \r\n }\r\n })\r\n \r\n //GETTING Investment Type;\r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n\r\n //GETTING Insurance Type;\r\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n \r\n //GETTING Frequency Type;\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n\r\n //GETTING Relationship;\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \r\n {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_relation = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n\r\n //GETTING VEHICLE TYPE;\r\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n }\r\n })\r\n \r\n //GETTING UOM List;\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\r\n }\r\n })\r\n\r\n //GETTING Company And Applicant List.\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\r\n { \r\n if(data['dataStatus']==true)\r\n {\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n })\r\n \r\n \r\n }\r\n createAsset() : FormGroup\r\n {\r\n return this.fb.group(\r\n {\r\n assets_mode: [null],\r\n details: this.fb.array([]),\r\n approximate_market_value: [null],\r\n name_of_the_owner: [''],\r\n other_owner:[''],\r\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n vintage_personal : [''],\r\n emi: [null],\r\n });\r\n }\r\n\r\n addAsset(flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n this.assetItem.push(this.createAsset());\r\n }\r\n }\r\n\r\n deleteAsset(i,flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n if(this.assetItem.length==1)\r\n {\r\n this.AssetsDetailsForm.controls['assets_details'].reset();\r\n }else{\r\n this.assetItem.removeAt(i);\r\n } \r\n }\r\n }\r\n \r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n \r\n loanCalc(details ,flag)\r\n {\r\n if(flag == 1){\r\n \r\n let ElapsedValues;\r\n \r\n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\r\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n }\r\n }\r\n \r\n show: boolean;\r\n selectedAssetsType(e: any, i: any,flag : any): void {\r\n \r\n let val = i;\r\n if(flag == 1){\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n }\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n case '5': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadConsumerDurableDescription());\r\n break;\r\n }\r\n case '6': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadInsuranceDescription());\r\n break;\r\n }\r\n case '7': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadInvestDescription());\r\n break;\r\n }\r\n case '8': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: [''],\r\n describe_of_the_property_asset: [''],\r\n area_covered_by_this_property: [''],\r\n uom_of_the_property: [''],\r\n other_uom: ['']\r\n });\r\n } \r\n\r\n loadConsumerDurableDescription() {\r\n return this.fb.group({\r\n consumer_durable_description: [null]\r\n });\r\n }\r\n \r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n\r\n otherAssetsDescription() {\r\n return this.fb.group({ any_other_assets: [''] });\r\n }\r\n\r\n loadInsuranceDescription() {\r\n return this.fb.group({\r\n // insurance_type: [null],\r\n premium_paid: [null],\r\n frequency_mode: [null],\r\n other_frequency_mode:[null],\r\n sum_assured: [null],\r\n members_coverd: [null]\r\n });\r\n }\r\n\r\n loadInvestDescription() {\r\n return this.fb.group({\r\n investments_type: [''],\r\n other_investments_type:[''],\r\n in_which_organisation:[''],\r\n amount_of_invest: [''],\r\n bank_name: ['']\r\n });\r\n }\r\n\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n \r\n\r\n load_Two_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_two_weeler: ['']\r\n });\r\n }\r\n\r\n\r\n\r\n loadPropertyWithData(data) {\r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\r\n area_covered_by_this_property: [data.area_covered_by_this_property],\r\n uom_of_the_property: [data.uom_of_the_property],\r\n other_uom: [data.other_uom]\r\n });\r\n }\r\n\r\n loadJwellDescriptionWithData(data) {\r\n return this.fb.group({\r\n // jwell_description: [data.jwell_description]\r\n });\r\n }\r\n\r\n loadConsumerDurableDescriptionWithData(data) {\r\n return this.fb.group({\r\n consumer_durable_description: [data.consumer_durable_description]\r\n });\r\n }\r\n\r\n otherAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n });\r\n }\r\n \r\n loadInsuranceDescriptionWithData(data) {\r\n return this.fb.group({\r\n //insurance_type: [data.insurance_type],\r\n premium_paid: [data.premium_paid],\r\n frequency_mode: [data.frequency_mode],\r\n other_frequency_mode:[data.other_frequency_mode],\r\n sum_assured: [data.sum_assured],\r\n members_coverd: [data.members_coverd]\r\n });\r\n }\r\n\r\n loadInvestDescriptionWithData(data) {\r\n return this.fb.group({\r\n investments_type: [data.investments_type],\r\n other_investments_type:[data.other_investments_type],\r\n in_which_organisation:[data.in_which_organisation],\r\n amount_of_invest: [data.amount_of_invest],\r\n bank_name: [data.bank_name]\r\n });\r\n }\r\n\r\n \r\n\r\n load_Four_WeelerWithData(data) {\r\n return this.fb.group({\r\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n });\r\n }\r\n\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n\r\n load_Two_WeelerWithData(data) {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n\r\n\r\n initDetailsWithdata(data) {\r\n return this.fb.group({\r\n assets_mode: [data.assets_mode],\r\n details: this.fb.array([]),\r\n approximate_market_value: [data.approximate_market_value],\r\n name_of_the_owner: [data.name_of_the_owner],\r\n other_owner:[data.other_owner || ''],\r\n vintage_personal:[data.vintage_personal],\r\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n emi: [data.emi || 0],\r\n });\r\n }\r\n\r\n saveAssetDetails(answerData)\r\n {\r\n if(!this.AssetsDetailsForm.dirty){\r\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\r\n return;\r\n }\r\n \r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n // answerData.assets_details.map(val => {\r\n // if (val.emi == 'no') {\r\n // val.emi_paid = '';\r\n // val.elapsed_tenure = '';\r\n // val.balance_tenure = '';\r\n // val.original_loan_tenure ='';\r\n // }\r\n // });\r\n answerData.parent_pdid=this.pdDetails.parent_pd_id\r\n answerData.pdid = this.pdDetails.pd_id;\r\n answerData.formid = this.FormId.form_id;\r\n answerData.fk_createdby = this.users;\r\n \r\n this.qustCat.saveForm(answerData).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n //TO CHANGE THE FORM STATE \r\n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n }\r\n\r\n apiLoadFinish:boolean = false;\r\n\r\n // To Fetch The Asset Value;\r\n getAssetDetails()\r\n {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\r\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n return res['records'].assets_details[key];\r\n });\r\n \r\n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n if (assetArray.length > 0) {\r\n assetArray.forEach((val, index) => {\r\n let vals = {\r\n assets_mode: val.assets_mode,\r\n approximate_market_value: val.approximate_market_value,\r\n name_of_the_owner: val.name_of_the_owner,\r\n other_owner:val.other_owner,\r\n purchase_year: val.purchase_year,\r\n vintage_personal:val.vintage_personal,\r\n emi: val.emi,\r\n };\r\n \r\n let Avaliablity = 1;\r\n if(val.name_of_the_owner.length>0){\r\n val.name_of_the_owner.forEach(option => {\r\n if (option.id == 0 && option.group_id == 2) {\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\r\n \r\n const control = this.AssetsDetailsForm.controls['assets_details'];\r\n control.push(this.initDetailsWithdata(vals));\r\n this.inWords(+val.approximate_market_value,index,4);\r\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\r\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\r\n });\r\n \r\n }\r\n \r\n this.apiLoadFinish = true;\r\n \r\n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\r\n }else{\r\n this.apiLoadFinish = true;\r\n this.addAsset(1);\r\n // this.addAsset(2);\r\n }\r\n })\r\n \r\n }\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\r\n let val = i;\r\n \r\n let data = datas;\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n switch (assets_details_mode) {\r\n case '1': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'any_other_assets': datas.any_other_assets };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(array_data));\r\n break;\r\n }\r\n \r\n case '2': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\r\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\r\n 'uom_of_the_property': datas.uom_of_the_property,\r\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadPropertyWithData(array_data));\r\n break;\r\n }\r\n case '3': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\r\n 'vehicle_type': datas.vehicle_type,\r\n 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.load_Four_WeelerWithData(array_data));\r\n break;\r\n }\r\n case '4': {\r\n let array_data:any\r\n data.forEach((datas,i)=>{\r\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\r\n })\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '5': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\r\n break;\r\n }\r\n case '6': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { \r\n 'premium_paid': datas.premium_paid,\r\n 'frequency_mode': datas.frequency_mode,\r\n 'other_frequency_mode':datas.other_frequency_mode,\r\n 'sum_assured': datas.sum_assured,\r\n 'members_coverd': datas.members_coverd\r\n };\r\n this.inWords(+datas.premium_paid,i,1);\r\n this.inWords(+datas.sum_assured,i,2);\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInsuranceDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '7': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n this.inWords(+datas.amount_of_invest,i,3);\r\n array_data = { 'investments_type': datas.investments_type,\r\n 'other_investments_type' : datas.other_investments_type,\r\n 'in_which_organisation':datas.in_which_organisation,\r\n 'amount_of_invest': datas.amount_of_invest,\r\n 'bank_name': datas.bank_name };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInvestDescriptionWithData(array_data));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /** On Key Press Event For Number only Accepting */\r\n keyPress(event: any) {\r\n const pattern = /[0-9\\-\\.\\ ]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 2 :\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 3 :\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 4 :\r\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) { }\r\n else if (type == 2) { }\r\n else if (type == 3) {\r\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\r\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\r\n }\r\n\r\n }\r\n\r\n\r\n setRequiredValidation(value, ParInx, ChdInx, flag) {\r\n\r\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\r\n\r\n let ChdCtrls: any = ParCtrls.controls[ParInx];\r\n\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n\r\n if (value.length > 0) {\r\n value.forEach(option => {\r\n if (option.id == 0 && option.group_id == 2) {\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n if (Avaliablity == 0) {\r\n\r\n\r\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\r\n this.isOtherOwner[ParInx] = true;\r\n\r\n } else if (Avaliablity == 1) {\r\n\r\n\r\n ChdCtrls.controls.other_owner.setValue('');\r\n // ChdCtrls.controls.other_owner.clearValidators();\r\n this.isOtherOwner[ParInx] = false;\r\n\r\n }\r\n\r\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\r\n\r\n }\r\n \r\n }\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n savePhoto(){\r\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\r\n console.log(\"num of images\",num_of_images)\r\n if(num_of_images <=10){\r\n this.camera.getPicture({\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 600,\r\n correctOrientation: true\r\n }).then((imageData)=>{\r\n this.constprovider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.base64='data:image/png;base64,'+imageData\r\n this.imageBucket.push({'image':this.base64,'Name':'','link':geoCoordinates});\r\n // this.imageDisplay.push({'image':this.base64,'Name':''})\r\n this. getImageName(this.imageBucket.length-1)\r\n })\r\n },(err)=>{\r\n //alert(\"error\");\r\n })\r\n this.tab='1';\r\n // this.content.scrollToBottom();\r\n // let dimensions = this.content.getContentDimensions();\r\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\r\n // this.inputFocus.setFocus();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\r\n }\r\n }\r\n getImageName(index){\r\n console.log(\"index\",index);\r\n let alert=this.alert.create({\r\n title:'Document Name',\r\n message: 'Please Enter the Document Name',\r\n cssClass:'prompt_alert',\r\n inputs:[\r\n {\r\n name:'Name',\r\n //value:this.imageBucket[index].Name\r\n placeholder:'Document Name'\r\n }\r\n ],\r\n buttons:[\r\n {\r\n text:'Submit',\r\n handler:data=>{\r\n console.log(data.Name)\r\n this.imageBucket[index].Name=data.Name\r\n alert.dismiss\r\n }\r\n }\r\n ]\r\n })\r\n alert.present();\r\n //this.inputFocus.setFocus();\r\n \r\n }\r\n// al(){\r\n// this.toast.pdTriggerappmessage(\"touched\");\r\n// }\r\n sendImage(){\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('other_owner').value\r\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\r\n }\r\n \r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\n\r\n/**\r\n * Generated class for the PdQuestionOtherIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-other-income',\r\n templateUrl: 'pd-question-other-income.html',\r\n})\r\nexport class PdQuestionOtherIncomePage {\r\n\r\n FormId: any;\r\n custSeg: any;\r\n sourceIncome: any;\r\n otherIncomeDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n pdid:any;\r\n incomeEarnedBy:any=[];\r\n amtInWords:any=[];\r\n \r\n frequencyData: any;\r\n otherIncomeForm: FormGroup;\r\n incomeDetails:FormArray;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n applicants: any=[];\r\n isOrganisationOwner: any=[];\r\n customer_segment_abbr: any;\r\n imageDisplay: any=[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\r\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider,public alertCtrl:AlertController) \r\n {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\r\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\r\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.getFrequency();\r\n this.users = this.aws.getlocale();\r\n\r\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\r\n // {\r\n // this.one = res;\r\n // if(this.one.dataStatus == true)\r\n // {\r\n // this.one = this.one.records.template_forms;\r\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\r\n // console.log(this.one,one);\r\n // }\r\n\r\n // });\r\n\r\n this.otherIncomeForm = this.fb.group({\r\n other_income: [null],\r\n otherincome_remarks:[null],\r\n income_details: this.fb.array([])\r\n });\r\n \r\n \r\n \r\n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\r\n //this.incomeDetails.push(this.createDetail())\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\r\n this.getOtherIncome();\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.otherIncomeForm.dirty);\r\n if(this.otherIncomeForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n createDetail():FormGroup {\r\n return this.fb.group({\r\n source: [''],\r\n address:[''],\r\n others_source : [''],\r\n income_earned_by:[''],\r\n others_income_earned_by:[''],\r\n amount: [''],\r\n frequency: [''],\r\n others_frequency : ['']\r\n });\r\n}\r\naddIncomeDetails() {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n \r\n this.incomeDetails.push(this.createDetail());\r\n}\r\ndeleteIncomeDetails(index) {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n if(this.incomeDetails.length==1){\r\n // this.otherIncomeForm.controls['income_details'].reset();\r\n this.otherIncomeForm.reset();\r\n this.amtInWords[index]=''\r\n }else{\r\n this.incomeDetails.removeAt(index);\r\n }\r\n}\r\ncheckotherDetails(val)\r\n{\r\n if(val==\"Yes\")\r\n {\r\n this.addIncomeDetails();\r\n }\r\n if(val==\"No\"){\r\n //let length=this.otherIncomeForm.income_details.controls.length\r\n const control= this.otherIncomeForm.controls['income_details'];\r\n control.removeAt(0)\r\n // let len=control.length\r\n // for(let i=0;i{\r\n if(res['dataStatus']==true)\r\n {\r\n this.incomeEarnedBy=res['record'];\r\n }\r\n })\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus==true){\r\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\r\n console.log(this.existCompanyList)\r\n }\r\n let modifyCompanyList:any=[]\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList=this.existCompanyList.map(element=>{\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\r\n \r\n }\r\n let modifyApplicantList:any=[]\r\n if(this.applicants.length>0){\r\n modifyApplicantList=this.applicants.map(element=>{\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n })\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\r\n })\r\n\r\n let master_name = 'FREQUENCY';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.sourceIncome = res['records'];\r\n if (this.customer_segment_abbr == 'SE-RI') {\r\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\r\n /** -X- Please NOTE THIS :\r\n * inx is '-1' -> this will remove the last item from array \r\n * so that If Condition is given. */\r\n if (inx !== -1) {\r\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\r\n }\r\n }\r\n }\r\n });\r\n \r\n \r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\n\r\ngetOtherOrganisationOwner(value,i) {\r\n //console.log('value',value,'I',i);\r\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\r\n console.log('ParCtrls',Ctrls);\r\nlet ChdCtrls:any = Ctrls.controls[i];\r\n // console.log('ChdCtrls',ChdCtrls);\r\n // return;\r\n\r\n\r\nlet Avaliablity = 1;\r\nconsole.log('val',value);\r\nif(value.length>0){\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n}\r\nif(Avaliablity == 0){\r\n// console.log('if Avaliablity',Avaliablity);\r\nconsole.log(\"chld\",ChdCtrls)\r\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\r\n this.isOrganisationOwner[i] = true;\r\n}else if(Avaliablity == 1){\r\n// console.log('else Avaliablity',Avaliablity);\r\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n ChdCtrls.controls.others_income_earned_by.setValue('');\r\n ChdCtrls.controls.others_income_earned_by.clearValidators();\r\n this.isOrganisationOwner[i] = false;\r\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n}\r\n \r\nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \r\n}\r\ninWords(val,i){\r\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n}\r\n\r\nToview(){\r\n // alert('Rental Income Details - Is inprogress');\r\n \r\n // here Hardcoded;\r\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\r\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\r\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\r\n}\r\nsubmitOtherIncome(answerData)\r\n{\r\n \r\n let records: any = {};\r\n let rentOptionCount: number = 0;\r\n let validateFlag: number = 0;\r\n let TextMessage :any;\r\n\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.other_income = answerData.other_income;\r\n records.income_details = answerData.income_details;\r\n records.otherincome_remarks = answerData.otherincome_remarks;\r\n console.log(records);\r\n // this.callSaveApi(records);\r\n\r\n if (records.other_income == 'Yes') {\r\n records.income_details.forEach(option => {\r\n if (+option.source == 5) {\r\n rentOptionCount++;\r\n validateFlag = 1;\r\n } \r\n });\r\n \r\n if(validateFlag == 1){\r\n let params: any = {};\r\n params.parent_pdid = this.pdDetails.parent_pd_id;\r\n params.pd_id = this.pdDetails.pd_id;\r\n params.pd_form_id = 17;\r\n \r\n this.qustCat.retiverForm(params).subscribe(data=>{\r\n if(!data['dataStatus']){\r\n let text : any = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property' ;\r\n TextMessage = '
You have chosen '+ text +' as rental income, but rental verification form is not filled
';\r\n\r\n let alert=this.alertCtrl.create({\r\n title:'Please Confirm',\r\n message:TextMessage,\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Confirm',\r\n handler:()=>{\r\n this.callSaveApi(records);\r\n }\r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n else if(data['dataStatus']){\r\n this.callSaveApi(records);\r\n }\r\n })\r\n } \r\n else{\r\n this.callSaveApi(records);\r\n }\r\n }\r\n else{\r\n this.callSaveApi(records);\r\n }\r\n}\r\n\r\ncallSaveApi(records){\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n //TO CHANGE THE FORM STATE \r\n this.otherIncomeForm.reset(this.otherIncomeForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n}, error => {\r\n \r\n})\r\n}\r\n\r\ngetOtherIncome()\r\n{\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n this.otherIncomeDetails = res; \r\n if(this.otherIncomeDetails.dataStatus == true)\r\n {\r\n this.otherIncomeDetails = this.otherIncomeDetails.records;\r\n if(this.otherIncomeDetails.other_income=='Yes'){\r\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\r\n return res['records'].income_details[key];\r\n\r\n });\r\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\r\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\r\n \r\n \r\n \r\n \r\n if(incomeArray.length==0)\r\n {\r\n // this.incomeDetails.push(this.createDetail());\r\n }else\r\n {\r\n incomeArray.forEach((datas,index)=>\r\n {\r\n \r\n this.incomeDetails.push(this.createDetail());\r\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\r\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\r\n })\r\n }\r\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\r\n \r\n }else\r\n {\r\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\r\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\r\n }\r\n }\r\n else{\r\n // this.incomeDetails.push(this.createDetail())\r\n }\r\n })\r\n}\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n}\r\n\r\nchangeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n}\r\nchangeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n}\r\nremoveImg(index){\r\n this.imageDisplay.splice(index,1);\r\n}\r\nremoveImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n}\r\ncapture(){\r\n //FOR CAPTURING PICS\r\nthis.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n},error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n})\r\nthis.tab='1';\r\n\r\n\r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n // this.imageDisplay.push(this.imageBucket)\r\n // console.log(\"length\",this.imageDisplay.length)\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('others_income_earned_by').value\r\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\r\n}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants';\r\nimport {DatePipe} from '@angular/common'\r\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\n\r\n/**\r\n * Generated class for the PdQuestionRentalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-rental-info',\r\n templateUrl: 'pd-question-rental-info.html',\r\n})\r\nexport class PdQuestionRentalInfoPage {\r\n pipe = new DatePipe('en-US');\r\n users: any;\r\n pdDetails: any;\r\n FormId: any;\r\n rentalForms:FormGroup;\r\n applicants: any ;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\r\n relationShipList: any=[];\r\n relationToList: any=[];\r\n rentAmtInwords : String;\r\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\r\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\r\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\r\n unitTypeList: any=[];\r\n stateData:any=[];\r\n cityData:any=[];\r\n pincodeData:any=[];\r\n stateList:any=[];\r\n cityList:any=[];\r\n pincodeList:any=[];\r\n \r\n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\r\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\r\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\r\n unitMeasurementList: any=[];\r\n\r\n rent_per_unit_Inwords : any= [];\r\n amount_Inwords : any=[];\r\n // rent_per_unit_2_Inwords: any=[];\r\n floor_rent_per_unit_Inwords : any[][];\r\n floor_rent_amount_Inwords: any=[];\r\n monthly_rent_amount_Inwords: any=[];\r\n amount_received_cash_Inwords: any=[];\r\n amount_received_bank_Inwords: any=[];\r\n securtity_deposit_amount_Inwords: any=[]; \r\n agreement_monthly_rent_amount_Inwords: any=[];\r\n agreement_security_deposit_amount_Inwords: any=[]\r\n paid_monthly_rent_per_met_Inwords: any=[];\r\n amount_received_cash_per_met_Inwords: any=[];\r\n amount_received_bank_per_met_Inwords: any=[];\r\n protected _onDestroy = new Subject();\r\n imageBucket: any=[];\r\n tab: any='0';\r\n imageDisplay: any=[];\r\n pageTitle: string;\r\n data:any;\r\n complete_status: boolean = false;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws:AwsServiceProvider,public toast:ToastProvider,\r\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\r\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\r\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \r\n {\r\n this.data=this.navParams.get('values'); // for get the data from dash page\r\n console.log(\"From Dashboard of Rental - values are \",this.data);\r\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n this.getdropList();\r\n\r\n this.rentalForms = this.fb.group(\r\n {\r\n parent_pdid:this.pdDetails.parent_pd_id,\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId.form_id,\r\n address_property:['',Validators.required],\r\n state:['',Validators.required],\r\n stateSearch:[''],\r\n city:['',Validators.required],\r\n citySearch:[''],\r\n pincode:['',Validators.required],\r\n pincodeSearch:[''],\r\n validate_visited_address:[true],\r\n person_met: ['',Validators.required],\r\n property_owner: ['',Validators.required],\r\n property_ownership_proof_documents: ['',Validators.required],\r\n nature_property: ['',Validators.required],\r\n unit_type:['',Validators.required],\r\n no_units:[''],\r\n multistoried_building_details: this.fb.array([]),\r\n property_unit_details : this.fb.array([]),\r\n done_third_party_check :['',Validators.required],\r\n rental_remark: [''],\r\n })\r\n\r\n // observe person met controls\r\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\r\n if(val && val.length>0){\r\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\r\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\r\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\r\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\r\n\r\n \r\n }\r\n else {\r\n this.rentalForms.removeControl('other_person_met');\r\n this.rentalForms.removeControl('other_name_person_showing_property');\r\n this.rentalForms.removeControl('other_name_person_type');\r\n }\r\n });\r\n // observe owner of the property\r\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\r\n if(val && val.length>0){\r\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\r\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\r\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\r\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\r\n\r\n }\r\n else {\r\n this.rentalForms.removeControl('property_owner_other');\r\n this.rentalForms.removeControl('property_owner_other_relationship');\r\n this.rentalForms.removeControl('other_name_person_type');\r\n this.rentalForms.removeControl('property_owner_other_relation_to');\r\n }\r\n });\r\n // observe other property type\r\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \r\n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\r\n });\r\n\r\n // observe unit type changes\r\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \r\n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\r\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\r\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\r\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\r\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\r\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\r\n });\r\n\r\n // observe visit address\r\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \r\n if(val===false){\r\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \r\n }\r\n else {\r\n this.rentalForms.removeControl('other_visited_address'); \r\n }\r\n });\r\n // get city list based on state changes\r\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \r\n this.qustCat.getStateWiseCities(val).subscribe(data => {\r\n if (data.status == 200) {\r\n this.cityData = data.records.cities;\r\n this.cityList = this.cityData.slice();\r\n this.pincodeData = data.records.pincode;\r\n this.pincodeList = this.pincodeData.slice();\r\n }\r\n });\r\n });\r\n\r\n // ownership property documents during the visit\r\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \r\n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\r\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\r\n }); \r\n\r\n // listen third party check\r\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \r\n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\r\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\r\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\r\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\r\n }); \r\n if(this.data.manage_status != 1){\r\n this.getRentalDetails(); \r\n }\r\n else{\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n control.push(this.createUnitDetails(''));\r\n }\r\n\r\n//To checking Completed Status For CompleteList Menu\r\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.rentalForms.dirty);\r\n if(this.rentalForms.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n getdropList()\r\n {\r\n\r\n let modifyApplicantList: any=[];\r\n \r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n \r\n }\r\n // set unit type list details\r\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\r\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\r\n \r\n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\r\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\r\n\r\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\r\n \r\n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\r\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\r\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \r\n \r\n\r\n //GETTING RELATIONSHIPS\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\r\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\r\n });\r\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\r\n }\r\n })\r\n \r\n //GETTING COMPANYRELATIONSHIPS;\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\r\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\r\n });\r\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\r\n } \r\n })\r\n \r\n //GETTING STATE;\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.stateData = res['records'].filter(data => data.isactive == 1);\r\n this.stateList = this.stateData.slice();\r\n }\r\n })\r\n\r\n //GETTING UOM;\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\r\n }\r\n }) \r\n }\r\n\r\n// initRentalForm() {\r\n// return this.rentalForms = this.fb.group({\r\n// pdid: this.pdDetails.pd_id,\r\n// formid: this.FormId.form_id,\r\n// address_property:['',Validators.required],\r\n// state:['',Validators.required],\r\n// city:['',Validators.required],\r\n// pincode:['',Validators.required],\r\n// validate_visited_address:[true],\r\n// person_met: ['',Validators.required],\r\n// property_owner: ['',Validators.required],\r\n// property_ownership_proof_documents: ['',Validators.required],\r\n// nature_property: ['',Validators.required],\r\n// unit_type:['',Validators.required],\r\n// no_units:[''],\r\n// property_unit_details : this.fb.array([]),\r\n// done_third_party_check :['',Validators.required],\r\n// rental_remark: [''],\r\n// });\r\n// }\r\n\r\n // createrentalHome()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // complete_add:[null,Validators.compose([Validators.required])],\r\n // area_of_property:[null,Validators.compose([Validators.required])],\r\n // structure_property:[null,Validators.compose([Validators.required])],\r\n // total_room:[null,Validators.compose([Validators.required])],\r\n // is_rent:[null,Validators.compose([Validators.required])],\r\n // date_agreement:[null,Validators.compose([Validators.required])],\r\n // date_validity:[null,Validators.compose([Validators.required])],\r\n // rent_agreement:[null,Validators.compose([Validators.required])],\r\n // actual_rent:[null,Validators.compose([Validators.required])],\r\n // photo_areegment:[null,Validators.compose([Validators.required])],\r\n // property_photographs:[null],\r\n // bank:[null,Validators.compose([Validators.required])],\r\n // cash:[null,Validators.compose([Validators.required])],\r\n // rent_each_floor:[null,Validators.compose([Validators.required])],\r\n // total_rent:[null,Validators.compose([Validators.required])],\r\n // related_doc_owner:[null,Validators.compose([Validators.required])],\r\n // details_tenants:this.fb.array([]),\r\n // third_party_check:[null,Validators.compose([Validators.required])],\r\n // })\r\n // }\r\n\r\n // other_name_person_showing_property changes\r\n personShowingChanges(value: any): void { \r\n if(value.length>0){\r\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\r\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\r\n}\r\nelse {\r\n this.rentalForms.removeControl('other_name_person_type');\r\n}\r\n}\r\n\r\n// dynamic form control generate for other documents sighted\r\ngetSightedDocs(value): void{\r\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\r\n}\r\n\r\n// add more unit details\r\naddMoreUnitDetails(){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n //control.push(this.createUnitDetails(''));\r\n control.push(this.createUnitDetails(''));\r\n}\r\n\r\n // create unit details\r\n createUnitDetails(details){\r\n return this.fb.group({\r\n tenant_lessees_options:['1',Validators.required],\r\n name_tenant_lessees:['',Validators.required],\r\n monthly_rent_amount: ['',Validators.required],\r\n payment_mode: ['',Validators.required],\r\n securtity_deposit_amount: ['',Validators.required],\r\n property_cover_area: ['',Validators.required],\r\n unit_measurement: ['',Validators.required],\r\n is_rent_agreement_executed: ['',Validators.required],\r\n met_tenant_lessees_options: ['',Validators.required],\r\n });\r\n }\r\n\r\n // remove unit\r\n removeUnit(index) {\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n control.removeAt(index);\r\n }\r\n\r\n // generate payment dynamic fields\r\n generatePaymentOptions(value:any,index:number,type: number){\r\n if(type==1){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n if(value && value.payment_mode.id==1){\r\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\r\n control.controls[index].removeControl('amount_received_bank');\r\n control.controls[index].removeControl('payment_received_reason');\r\n }\r\n else if(value && value.payment_mode.id==2){\r\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\r\n control.controls[index].removeControl('amount_received_cash');\r\n control.controls[index].removeControl('payment_received_reason');\r\n }\r\n else if(value && value.payment_mode.id==3){\r\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\r\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\r\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\r\n }\r\n else {\r\n control.controls[index].removeControl('amount_received_cash');\r\n control.controls[index].removeControl('amount_received_bank');\r\n control.controls[index].removeControl('payment_received_reason');\r\n }\r\n \r\n }\r\n else if(type==2){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n console.log(\"controls\",control.controls['index'])\r\n if( control.controls[index].controls['payment_difference_per_met']){\r\n console.log(\"pay\");\r\n control.controls[index].controls['payment_difference_per_met'].setValue('')\r\n }\r\n \r\n if(value && value.payment_mode_per_met.id==1){\r\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\r\n control.controls[index].removeControl('amount_received_bank_per_met');\r\n control.controls[index].removeControl('payment_received_reason_per_met');\r\n }\r\n else if(value && value.payment_mode_per_met.id==2){\r\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\r\n control.controls[index].removeControl('amount_received_cash_per_met');\r\n control.controls[index].removeControl('payment_received_reason_per_met');\r\n }\r\n else if(value && value.payment_mode_per_met.id==3){\r\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\r\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\r\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\r\n }\r\n else {\r\n control.controls[index].removeControl('amount_received_cash_per_met');\r\n control.controls[index].removeControl('amount_received_bank_per_met');\r\n control.controls[index].removeControl('payment_received_reason_per_met');\r\n }\r\n }\r\n \r\n \r\n }\r\n\r\n// tenant/lessees options\r\ngenerateTenantOptions(value:any,index:number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n if(value.tenant_lessees_options==\"1\"){\r\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\r\n control.controls[index].removeControl('name_tenant_lessees_reason');\r\n }\r\n else if(value.tenant_lessees_options==\"0\"){\r\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\r\n control.controls[index].removeControl('name_tenant_lessees');\r\n }\r\n else {\r\n control.controls[index].removeControl('name_tenant_lessees');\r\n control.controls[index].removeControl('name_tenant_lessees_reason');\r\n }\r\n }\r\n\r\n // unit of measurement generate other field\r\n generateOtherunitMeasurement(value: any,index:number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\r\n \r\n}\r\n\r\n// generate multistoried other uom\r\ngenerateMultistoriedOtherUOM(value: any){\r\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\r\n}\r\n\r\n// generate Rent AgreementSeen\r\ngenerateRentAgreementSeen(value: any,index:number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n \r\n if(value.is_rent_agreement_executed==\"1\"){\r\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\r\n }\r\n else{\r\n control.controls[index].removeControl('rent_agreement_seen');\r\n // after no\r\n control.controls[index].removeControl('rent_agreement_registered');\r\n // after No\r\n control.controls[index].removeControl('agreement_date');\r\n control.controls[index].removeControl('agreement_no_months');\r\n control.controls[index].removeControl('agreement_expiring_date');\r\n control.controls[index].removeControl('rental_remaining_months');\r\n control.controls[index].removeControl('agreement_monthly_rent_amount');\r\n control.controls[index].removeControl('agreement_security_deposit_amount');\r\n control.controls[index].removeControl('agreement_property_owners_name');\r\n control.controls[index].removeControl('agreement_tenant_lessees_name');\r\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\r\n // remove agrement other ownres \r\n control.controls[index].removeControl('agreement_property_owner_other');\r\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\r\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\r\n }\r\n \r\n}\r\n//genearate rent agreement registered options\r\ngenerateRegisterOptions(value: any,index:number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n if(value.rent_agreement_seen==\"1\"){\r\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\r\n }\r\n else{\r\n control.controls[index].removeControl('rent_agreement_registered');\r\n // after No\r\n control.controls[index].removeControl('agreement_date');\r\n control.controls[index].removeControl('agreement_no_months');\r\n control.controls[index].removeControl('agreement_expiring_date');\r\n control.controls[index].removeControl('rental_remaining_months');\r\n control.controls[index].removeControl('agreement_monthly_rent_amount');\r\n control.controls[index].removeControl('agreement_security_deposit_amount');\r\n control.controls[index].removeControl('agreement_property_owners_name');\r\n control.controls[index].removeControl('agreement_tenant_lessees_name');\r\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\r\n // remove agrement other ownres \r\n control.controls[index].removeControl('agreement_property_owner_other');\r\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\r\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\r\n }\r\n\r\n}\r\n//genearate if rent agreement yes registered details\r\ngenerateRegisterDetails(value: any,index:number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n if(value.rent_agreement_registered==\"1\"){\r\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\r\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\r\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\r\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\r\n\r\n }\r\n else if(value.rent_agreement_registered==\"0\"){\r\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\r\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\r\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\r\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\r\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\r\n }\r\n else{\r\n control.controls[index].removeControl('agreement_date');\r\n control.controls[index].removeControl('agreement_no_months');\r\n control.controls[index].removeControl('agreement_expiring_date');\r\n control.controls[index].removeControl('rental_remaining_months');\r\n control.controls[index].removeControl('agreement_monthly_rent_amount');\r\n control.controls[index].removeControl('agreement_security_deposit_amount');\r\n control.controls[index].removeControl('agreement_property_owners_name');\r\n control.controls[index].removeControl('agreement_tenant_lessees_name');\r\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\r\n // remove agrement other ownres \r\n control.controls[index].removeControl('agreement_property_owner_other');\r\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\r\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\r\n\r\n }\r\n\r\n}\r\n\r\n// calculate expiry date\r\n// calculateExpiryDate(e: any,index){\r\n// let control: any = this.rentalForms.controls['property_unit_details'];\r\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\r\n// let getSeletedDate: any='';\r\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\r\n// if(getSeletedDate && getEnteredMonth>0){\r\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\r\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\r\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\r\n// let getExpiryDate='';\r\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\r\n// // calculate remaining month\r\n// if(modifySeletedDate >= new Date()){\r\n// let currentDate:any = new Date();\r\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\r\n// currentDate = '';\r\n// let remaingMonths;\r\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\r\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\r\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\r\n// }\r\n// else{\r\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\r\n// }\r\n// }\r\n// else {\r\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\r\n// control.controls[index].controls['rental_remaining_months'].setValue('');\r\n\r\n// }\r\n\r\n// } \r\n\r\ncalculateExpiryDate(e: any,index){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\r\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\r\n if(getSeletedDate && getEnteredMonth>0){\r\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\r\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\r\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\r\n console.log('getExpiryDate',getExpiryDate);\r\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\r\n // calculate remaining month\r\n if(modifySeletedDate >= new Date()){\r\n let currentDate:any = new Date();\r\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\r\n let remaingMonths;\r\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\r\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\r\n console.log('remaingMonths',remaingMonths);\r\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\r\n }\r\n else{\r\n control.controls[index].controls['rental_remaining_months'].setValue(0);\r\n }\r\n }\r\n else {\r\n control.controls[index].controls['agreement_expiring_date'].setValue('');\r\n control.controls[index].controls['rental_remaining_months'].setValue('');\r\n\r\n }\r\n\r\n} \r\n\r\n// generate other owners as per rent agreement\r\ngenerateAgreementOtherOwners(value:any,index:number) {\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n if(value && value.length>0){\r\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\r\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\r\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\r\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\r\n\r\n }\r\n else {\r\n control.controls[index].removeControl('agreement_property_owner_other');\r\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\r\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\r\n }\r\n}\r\n\r\n// validate agreement amount\r\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\r\n if(actualRent>0 && agreementRent>0){\r\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\r\n }\r\n else{\r\n return \"0\";\r\n }\r\n\r\n}\r\n \r\n// generate tenant met details\r\ngenerateTenantMetDetails(value: any, index: number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n \r\n if(value.met_tenant_lessees_options==\"1\"){\r\n // remove reason \r\n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\r\n \r\n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\r\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\r\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\r\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\r\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\r\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\r\n \r\n\r\n }\r\n else{\r\n control.controls[index].removeControl('name_tenant_lessees_per_met');\r\n control.controls[index].removeControl('property_owner_per_met');\r\n control.controls[index].removeControl('paid_monthly_rent_per_met');\r\n control.controls[index].removeControl('period_of_stay_per_met');\r\n control.controls[index].removeControl('payment_mode_per_met');\r\n control.controls[index].removeControl('payment_difference_per_met');\r\n\r\n\r\n // remove other owner details\r\n control.controls[index].removeControl('property_owner_other_per_met');\r\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\r\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\r\n // remove paymnet options\r\n control.controls[index].removeControl('amount_received_cash_per_met');\r\n control.controls[index].removeControl('amount_received_bank_per_met');\r\n control.controls[index].removeControl('payment_received_reason_per_met');\r\n // add reason\r\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\r\n\r\n\r\n }\r\n}\r\n\r\n// generate met others owner\r\ngenerateMetOtherOwners(value: any, index: number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n if(value.property_owner_per_met.length>0){\r\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\r\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\r\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\r\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\r\n\r\n}\r\nelse {\r\n control.controls[index].removeControl('property_owner_other_per_met');\r\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\r\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\r\n\r\n}\r\n\r\n}\r\n\r\n// generate floor rows\r\ngenerateFloor(e:any): void{\r\n let control = this.rentalForms.controls['multistoried_building_details'];\r\n if(e.target.value && Math.round(e.target.value)!=0){\r\n \r\n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\r\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\r\n for(let i=rowValue;i>0;i--){\r\n control.push(this.createFloorDetails(''));\r\n }\r\n }\r\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\r\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\r\n for(let i=rowValue;i>0;i--){\r\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\r\n }\r\n }\r\n }\r\n else if(e.target.value && Math.round(e.target.value)==0){\r\n control.controls = [];\r\n control.setValue([]); \r\n }\r\n else{\r\n control.controls = [];\r\n control.setValue([]); \r\n }\r\n e.stopPropagation();\r\n}\r\n\r\n// create floor details\r\ncreateFloorDetails(details){\r\n if(details){\r\n return this.fb.group({\r\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\r\n no_units_in_floor: ['', Validators.compose([Validators.required])],\r\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \r\n floor_unit_details : this.fb.array([]),\r\n floor_rent_amount: [''],\r\n });\r\n }\r\n else{\r\n return this.fb.group({\r\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\r\n no_units_in_floor: ['', Validators.compose([Validators.required])],\r\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\r\n floor_unit_details : this.fb.array([]),\r\n floor_rent_amount: [''],\r\n });\r\n }\r\n\r\n}\r\n\r\n// generate floor unit details\r\ngenerateFloorUnit(values:any, index:number){\r\n let control: any = this.rentalForms.controls['multistoried_building_details'];\r\n control = control.controls[index];\r\n control= control.controls['floor_unit_details'];\r\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\r\n if(Math.round(values.no_units_in_floor) > control.value.length){\r\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\r\n for(let i=rowValue;i>0;i--){\r\n control.push(this.createFloorUnitDetails(2));\r\n }\r\n }\r\n else if(Math.round(values.no_units_in_floor) < control.value.length){\r\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\r\n for(let i=rowValue;i>0;i--){\r\n control.removeAt(control.value.length-1);\r\n }\r\n }\r\n else if(Math.round(values.no_units_in_floor)==0){\r\n control.controls = [];\r\n control.setValue([]); \r\n }\r\n else{\r\n control.controls = [];\r\n control.setValue([]); \r\n }\r\n this.calculateFloorRentAmt(values,index);\r\n \r\n }\r\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\r\n control.controls = [];\r\n control.setValue([]); \r\n control.push(this.createFloorUnitDetails(1));\r\n this.calculateFloorRentAmt(values,index);\r\n }\r\n else {\r\n control.controls = [];\r\n control.setValue([]); \r\n }\r\n\r\n}\r\n\r\n// create floor unit details\r\ncreateFloorUnitDetails(type:number){\r\n if(type==1){\r\n return this.fb.group({\r\n rent_per_unit: ['', Validators.compose([Validators.required])],\r\n amount: [''],\r\n });\r\n }\r\n else if(type==2){\r\n return this.fb.group({\r\n rent_per_unit: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n}\r\n// calculate floor rent amount\r\ncalculateFloorRentAmt(values: any, index: number){\r\n // this.inWords(values,index,1);\r\n if(values.unit_rent_difference_options==\"1\"){\r\n let control: any = this.rentalForms.controls['multistoried_building_details'];\r\n let unitcontrol = control.controls[index];\r\n unitcontrol= unitcontrol.controls['floor_unit_details'];\r\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\r\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\r\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\r\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\r\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\r\n }\r\n else{\r\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\r\n control.controls[index].controls['floor_rent_amount'].setValue('');\r\n\r\n }\r\n }\r\n else if(values.unit_rent_difference_options==\"0\"){\r\n let control: any = this.rentalForms.controls['multistoried_building_details'];\r\n let unitcontrol = control.controls[index];\r\n unitcontrol= unitcontrol.controls['floor_unit_details'];\r\n // console.log(unitcontrol)\r\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\r\n if(getunitValues.length>0){\r\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\r\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\r\n }\r\n else{\r\n control.controls[index].controls['floor_rent_amount'].setValue('');\r\n\r\n }\r\n }\r\n\r\n}\r\n\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\ncompareSingleObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id)\r\n return true;\r\n else return false\r\n}\r\n // createTenantsDetails()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // name:[null,Validators.compose([Validators.required])],\r\n // mobile_no:[null,Validators.compose([Validators.required])],\r\n // tenants_seen:[null,Validators.compose([Validators.required])],\r\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\r\n // rent_paid:[null,Validators.compose([Validators.required])],\r\n // staying_since:[null,Validators.compose([Validators.required])],\r\n \r\n // });\r\n // }\r\n\r\n // addrentalHome()\r\n // {\r\n // const control = this.rentalForms.get('rental_home') as FormArray;\r\n // control.push(this.createrentalHome());\r\n // this.addTenantsDetails(0);\r\n // }\r\n\r\n // addTenantsDetails(i)\r\n // {\r\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\r\n \r\n // // control.controls.splice(0);\r\n // control.push(this.createTenantsDetails());\r\n\r\n // }\r\n\r\n // deleteTenantsDetails(rentIndex,TenantsIndex)\r\n // {\r\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\r\n \r\n // control.removeAt(TenantsIndex);\r\n // }\r\n\r\n // deleterentalHome(i)\r\n // {\r\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n // if(control.length==1)\r\n // {\r\n // this.rentalForms.controls['rental_home'].reset();\r\n // }else\r\n // {\r\n // control.removeAt(i);\r\n // }\r\n // }\r\n saveAlert(answerData){\r\n let ApplicantRentAmt : number=0 ; \r\n let TenantRentAmt : number =0; \r\n let FloorsTotalRentAmt : number =0; \r\n\r\n let TempArray1 : any = [];\r\n let TempArray2 : any = [];\r\n let TempArray3 : any = [];\r\n\r\n let TextMessage :any;\r\n\r\n if(answerData.property_unit_details.length > 0){\r\n \r\n answerData.property_unit_details.forEach((data,index) => {\r\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\r\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\r\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\r\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\r\n })\r\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \r\n }\r\n\r\n \r\n if(answerData.multistoried_building_details.length > 0){\r\n answerData.multistoried_building_details.forEach((val,index) => {\r\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\r\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\r\n });\r\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\r\n }\r\n else{\r\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\r\n }\r\n \r\n let alert=this.alertCtrl.create({\r\n title:'Confirm The Rent Amount',\r\n message:TextMessage,\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Confirm',\r\n handler:()=>{\r\n this.saveRentalDetails(answerData)\r\n }\r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n saveRentalDetails(answerData) {\r\n answerData.rental_count_id=this.data.existing_rental_count_id\r\n console.log('answerData',answerData);\r\n \r\n delete answerData.stateSearch;\r\n delete answerData.citySearch;\r\n delete answerData.pincodeSearch;\r\n answerData.fk_createdby = this.users;\r\n\r\n console.log('answerData',answerData);\r\n\r\n this.qustCat.saveForm(answerData).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n //TO CHANGE THE FORM STATE \r\n this.rentalForms.reset(this.rentalForms.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n }\r\n\r\n// s(answerData)\r\n// {\r\n// let records:any={}\r\n \r\n \r\n// // if(this.rentalForms.valid){\r\n// records.pdid = this.pdDetails.pd_id;\r\n// records.formid = this.FormId.form_id;\r\n// records.fk_createdby = this.users;\r\n// records.person_met = answerData.person_met;\r\n// records.property_own = answerData.property_own;\r\n// records.nature_property = answerData.nature_property;\r\n// if(answerData.nature_property=='others')\r\n// {\r\n// records.nature_others = answerData.nature_others\r\n// }\r\n// records.rental_home = answerData.rental_home;\r\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\r\n\r\n// this.qustCat.saveForm(records).subscribe(res=>\r\n// { \r\n// if(res['dataStatus']==true)\r\n// {\r\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n// setTimeout(()=>{\r\n// this.navCtrl.pop();\r\n// },2000);\r\n// }\r\n// })\r\n// // }else\r\n// // {\r\n// // this.toast.pdTriggerappmessage('Enter All Field');\r\n// // }\r\n// }\r\n\r\n getRentalDetails()\r\n {\r\n\r\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n \r\n \r\n \r\n // this.qustCat.retiverForm(records).subscribe(res=> {\r\n console.log(\"enter\",this.data.editData)\r\n if(this.data.editData)\r\n {\r\n \r\n let rentalDetails = this.data.editData;\r\n console.log(\"rental\",rentalDetails)\r\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\r\n rentalDetails.pdid = this.pdDetails.pd_id,\r\n rentalDetails.formid = this.FormId.form_id;\r\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\r\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\r\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\r\n // this.rentalForms.addControl('citySearch', new FormControl(''));\r\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\r\n rentalDetails.stateSearch = '';\r\n rentalDetails.citySearch = '';\r\n rentalDetails.pincodeSearch = '';\r\n //get Multistoried Building Details\r\n if(rentalDetails.multistoried_building_details){\r\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\r\n return rentalDetails.multistoried_building_details[key];\r\n });\r\n\r\n if(selectedMultistoriedBuilding.length>0){\r\n let control: any = this.rentalForms.controls['multistoried_building_details'];\r\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\r\n control.push(this.createFloorDetails(''));\r\n let unitControl = control.controls[floorIndex];\r\n unitControl= unitControl.controls['floor_unit_details'];\r\n let floor_rent_amount_val;\r\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\r\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\r\n console.log(\"rent per unit\",unitElement.rent_per_unit);\r\n if(floorElement.unit_rent_difference_options == \"1\"){\r\n console.log(\"check\",unitElement.rent_per_unit)\r\n if(unitElement.rent_per_unit !=''){\r\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\r\n }\r\n if(unitElement.amount!=''){\r\n this.inWords(unitElement.amount,floorIndex,2)\r\n }\r\n }\r\n else if(floorElement.unit_rent_difference_options==\"0\"){\r\n if(unitElement.rent_per_unit!=''){\r\n //floor_rent_amount_val+=unitElement.rent_per_unit\r\n }\r\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\r\n }\r\n });\r\n // this.inWords(floor_rent_amount_val,floorIndex,4)\r\n });\r\n }\r\n } \r\n\r\n // get property unit details\r\n if(rentalDetails.property_unit_details){\r\n console.log(\"property\",rentalDetails.property_unit_details)\r\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\r\n return rentalDetails.property_unit_details[key];\r\n });\r\n if(selectedUnitDetails.length>0){\r\n selectedUnitDetails.forEach((element,index) => {\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n control.push(this.createUnitDetails(''));\r\n \r\n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\r\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\r\n // for payment options\r\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\r\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\r\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\r\n \r\n // unit of other measurement \r\n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\r\n // rent agreement seen\r\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\r\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\r\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\r\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\r\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\r\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\r\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\r\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\r\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\r\n \r\n //agreement owners\r\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\r\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\r\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\r\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\r\n \r\n // name of tenant/lessess as agreement\r\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\r\n \r\n //met tenant details\r\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\r\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\r\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\r\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\r\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\r\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\r\n \r\n // tennat payment\r\n \r\n \r\n // element.payment_difference_per_met=''\r\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\r\n console.log(\"payment\",element);\r\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\r\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\r\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\r\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\r\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\r\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\r\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\r\n // control.controls[index].removeControl('payment_difference_per_met');\r\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\r\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\r\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\r\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\r\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\r\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\r\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\r\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\r\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\r\n\r\n });\r\n }\r\n }\r\n this.rentalForms.patchValue(rentalDetails);\r\n }\r\n else{\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n control.push(this.createUnitDetails(''));\r\n \r\n }\r\n \r\n \r\n // });\r\n \r\n // this.qustCat.retiverForm(records).subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // let rentalDetails = res['records'];\r\n // var rentalData = Object.keys(res['records'].rental_home\r\n // ).map(function(key) {\r\n // return res['records'].rental_home\r\n // [key];\r\n\r\n // });\r\n // var tanantsData = [];\r\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n // var tanantscontrol; \r\n // rentalData.forEach((val,index)=>\r\n // {\r\n \r\n // // this.addrentalHome();\r\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\r\n // // {\r\n \r\n \r\n // // return val.details_tenants[key];\r\n // // }));\r\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\r\n // {\r\n \r\n \r\n // return val.details_tenants[key];\r\n // });\r\n // // control.push(this.createrentalHome()); \r\n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \r\n \r\n // rentalData[index].details_tenants.forEach((val,key)=>\r\n // {\r\n // //rentalData[index].details_tenants = val;\r\n \r\n // // rentalData[index].details_tenants = [key];\r\n // // tanantscontrol.push(this.createTenantsDetails());\r\n // });\r\n \r\n // // control[index].details_tenants =tanantscontrol; \r\n // });\r\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\r\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\r\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\r\n // if(rentalDetails.nature_property=='others'){\r\n // this.rentalForms.controls['nature_others'].\r\n // setValue(rentalDetails.nature_others);\r\n // }\r\n \r\n // this.rentalForms.controls['rental_home'].setValue(rentalData); \r\n // }else\r\n // {\r\n // // this.addrentalHome();\r\n // // this.addTenantsDetails(0);\r\n // }\r\n // })\r\n }\r\n // createTenantsDetailswithData(index,data)\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // name:[data.name],\r\n // mobile_no:[data.mobile_no],\r\n // tenants_seen:[data.tenants_seen],\r\n // tenants_con_owner:[data.tenants_con_owner],\r\n // rent_paid:[data.rent_paid],\r\n // staying_since:[data.staying_since]\r\n // });\r\n // }\r\n\r\n inWords(e,i,flag){\r\n // console.log(e,i,flag);\r\n switch(flag){\r\n case 1 : \r\n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 2 :\r\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 3 :\r\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 4 :\r\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 5 : \r\n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 6 :\r\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 7 :\r\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 8 :\r\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 9 : \r\n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 10:\r\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 11 :\r\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 12 :\r\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 13 :\r\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n }\r\n }\r\n\r\n inWordsmultiple(e,i,j,flag){\r\n // console.log(e,i,j,flag); \r\n return this.constprovider.convertNumberToWords(e);\r\n }\r\n validateAllFormFields(formGroup: any) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n \r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { \r\n this.validateAllFormFields(control);\r\n } else if (control instanceof FormArray) { \r\n this.validateAllFormFields(control);\r\n }\r\n });\r\n }\r\n\r\n\r\n // generate payment dynamic fields\r\n\r\nValidatedRentAmount(value:any,index:number,type: number){\r\n let control: any = this.rentalForms.controls['property_unit_details'];\r\n console.log(\"validated\",value);\r\n if(type==1){\r\n if(value && value.payment_mode.id==3){\r\n let ChildCtrl : any = control.controls[index]; \r\n ChildCtrl.controls['amount_received_bank'].clearValidators();\r\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\r\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \r\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\r\n let monthlyrentamt : any = value.monthly_rent_amount ; \r\n \r\n\r\n if(monthlyrentamt != ''){\r\n \r\n let bank_amount = value.amount_received_bank;\r\n\r\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \r\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\r\n let maxamt = monthlyrentamt-bank_amount\r\n if(maxamt >= 0 ){\r\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\r\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \r\n this.inWords(maxamt,index,6)\r\n }\r\n else{\r\n ChildCtrl.controls['amount_received_cash'].setValue(0);\r\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \r\n }\r\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\r\n \r\n }\r\n }\r\n }\r\n if(type==2){\r\n \r\n if(value && value.payment_mode_per_met.id==3){\r\n let ChildCtrl : any = control.controls[index]; \r\n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\r\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\r\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \r\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\r\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \r\n \r\n\r\n if(paidmonthlyrentamt != ''){\r\n \r\n let bank_amount = value.amount_received_bank_per_met;\r\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \r\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\r\n let remainingAmt = paidmonthlyrentamt-bank_amount\r\n console.log(\"paid monthly\",paidmonthlyrentamt);\r\n console.log(\"remaining\",remainingAmt)\r\n if(remainingAmt >= 0 ){\r\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\r\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \r\n this.inWords(remainingAmt,index,12)\r\n }\r\n else{\r\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\r\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \r\n }\r\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\r\n }\r\n }\r\n \r\n }\r\n}\r\n\r\nforSearchableDropdown(val:any,Flag:any){\r\n // val=val.controls['relationSearch'].value\r\n console.log(\"val\",val,'Flag',Flag);\r\n switch(Flag){\r\n case 'state' : \r\n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\r\n val.controls['stateSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\r\n }); break;\r\n case 'city' : \r\n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\r\n val.controls['citySearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\r\n }); break;\r\n case 'pin' : \r\n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\r\n val.controls['pincodeSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\r\n }); break;\r\n }\r\n}\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null,'rental_count_id':this.data.existing_rental_count_id}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n console.log('From getPDImages',val);\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n}\r\n\r\nchangeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n}\r\nchangeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n}\r\nremoveImg(index){\r\n this.imageDisplay.splice(index,1);\r\n}\r\nremoveImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n}\r\n\r\ncaptureThePropertyPics(){\r\n // alert('rentalDataCount '+this.data.existing_rental_count_id);\r\n this.cameraProvider.getpicture().then(res=>{\r\n if(res != 'error'){\r\n this.imageBucket.push({'image':res,'Name':'Property '+this.data.existing_rental_count_id});\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n}\r\n\r\ncapture(){\r\n //FOR CAPTURING PICS\r\nthis.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constprovider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n},error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n})\r\nthis.tab='1';\r\n\r\n\r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n 'rental_count_id':this.data.existing_rental_count_id,\r\n \r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n // this.imageDisplay.push(this.imageBucket)\r\n // console.log(\"length\",this.imageDisplay.length)\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n console.log(\"savepd\",records) \r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('agreement_property_owner_other').value\r\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionPersonalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-personal-info',\r\n templateUrl: 'pd-question-personal-info.html',\r\n})\r\nexport class PdQuestionPersonalInfoPage implements OnInit{\r\n\r\n questionDetails: any;\r\n pdDetails: any;\r\n users: any;\r\n _personalForm: FormGroup;\r\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\r\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\r\n relationShipList:any=[];\r\n \r\n form_id:number;\r\n \r\n\r\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\r\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\r\n \r\n public mainApplicantDetails :any=[];\r\n public coApplicantDetails :any=[];\r\n \r\n errorMessage:any;\r\n //coItem:any;\r\n //mainItem:any;\r\n\r\n repeat:number=3;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n // this.getRelationMaster();\r\n \r\n \r\n \r\n }\r\n ngOnInit() {\r\n \r\n this.loadPDDetails();\r\n this.getRelationMaster();\r\n this.mainApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 1);\r\n this.coApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 0);\r\n }\r\n\r\n // load form pd details\r\n loadPDDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\r\n \r\n this.qustCat.retiverForm(records).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.loadFormWithIDData(data['records']);\r\n \r\n }\r\n else{\r\n let defaultMainApp=[];\r\n let defaultCoApp=[];\r\n // generate default main applicant form details\r\n if(this.mainApplicantDetails.length>0){ \r\n for(let j=0;j this.errorMessage = error);\r\n}\r\n\r\nloadDataStatus: boolean = false;\r\n\r\nloadFormWithIDData(data) {\r\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\r\n return data.main_applicant_details[key];\r\n});\r\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\r\n return data.co_applicant_details[key];\r\n});\r\n\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n relation_ans:new FormControl(item.relation_ans, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark: [data.personal_info_form_remark]\r\n });\r\n this.loadDataStatus = true;\r\n}\r\n\r\n loadFormData(mainApp,coApp){\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n \r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.coApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.coApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\r\n relation_id:new FormControl(5),\r\n relation_ans:new FormControl(null, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark:null\r\n });\r\nthis.loadDataStatus = true;\r\n }\r\n\r\n //get pd main applicant array values \r\n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\r\n\r\n // get pd co applicant array values\r\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\r\n\r\n // get relation master details\r\n getRelationMaster(){\r\n let relation =\"RELATIONSHIPS\";\r\n this.qustCat.getcommondrop(relation).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.relationShipList=data['records'];\r\n \r\n }\r\n}, error => this.errorMessage = error);\r\n}\r\n\r\n// submit forms details\r\nsubmitPersonalForm(formData:any) {\r\n if(this._personalForm.valid){\r\n let main_applicantDetails:any=[];\r\n let co_applicantDetails:any=[];\r\n\r\n formData.mainItem.forEach((element,key) => {\r\n if(key==0){\r\n main_applicantDetails.push({\r\n \"name_ans\":element.name_ans,\r\n \"age_ans\":element.age_ans,\r\n \"entity_ans\":element.entity_ans,\r\n \"qualification_ans\":element.qualification_ans,\r\n \"earning_ans\":element.earning_ans, \r\n })\r\n }\r\n \r\n });\r\n formData.coItem.forEach((Coelement,Cokey) => {\r\n co_applicantDetails.push({\r\n\r\n \"name_ans\":Coelement.name_ans,\r\n \"age_ans\":Coelement.age_ans,\r\n \"qualification_ans\":Coelement.qualification_ans,\r\n \"entity_ans\":Coelement.entity_ans,\r\n \"earning_ans\":Coelement.earning_ans, \r\n \"relation_ans\":Coelement.relation_ans, \r\n })\r\n \r\n });\r\n\r\n let save_details:any={\r\n \"pdid\" : this.pdDetails.pd_id,\r\n \"formid\" : '341',\r\n \"fk_createdby\":this.users,\r\n \"main_applicant_details\":main_applicantDetails,\r\n \"co_applicant_details\":co_applicantDetails,\r\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\r\n };\r\n this.qustCat.saveForm(save_details).subscribe(result => {\r\n if (result['dataStatus']==true) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n // this.notifier.notify('success', 'Success.');\r\n }\r\n else {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n }\r\n }, error => {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n });\r\n }\r\n}\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { FormatWidth } from '@angular/common';\r\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\r\n\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\r\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-info',\r\n templateUrl: 'pd-question-assessed-info.html',\r\n providers:[RupeeCurrencyFormatPipe]\r\n})\r\nexport class PdQuestionAssessedInfoPage {\r\n\r\n grossProfitForm:FormGroup\r\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\r\n busissnessIncome: any;\r\n mode: any;\r\n grossprofitCalc: any;\r\n houseHold_details: any;\r\n grandHouseExpenseTotal: any;\r\n houseannual: any=[];\r\n businessExpenses_details: any;\r\n grandExpenseTotal: any;\r\n expenseannual: any=[];\r\n businessExpenses: any;\r\n purchse_details: any;\r\n sales_item_month_value: any=[];\r\n sales_wise_month_headers:any = [];\r\n sales_month_wise_data:any = [];\r\n sales_item_value: any;\r\n grandpurchaseTotal: any=null;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n users: any;\r\n pageId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n FormName:any;\r\n annual:any = [];\r\n rawMaterialForm:FormGroup;\r\n BuissnessForm:FormGroup;\r\n houseHoldForm:FormGroup;\r\n activateMarginCalculation:boolean=false\r\n SaleAmtInwords: any=[];\r\n marginAmtInwords: any=[];\r\n purchase_bill_wise: any=[];\r\n purchase_bill_wise_data:any=[]\r\n purchase_type:any;\r\n totalAnnualSale_Item_wise;\r\n totalAnnualpurchase_Item_wise: any;\r\n totalAnnualBusiness_details: any;\r\n totalAnnual_House_hold_details: any;\r\n sales_type: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pageId = this.navParams.get('pageId');\r\n // this.getAssessedDetails(); \r\n switch(this.pageId)\r\n {\r\n case 1:\r\n this.FormName = \"Sales Page\";\r\n break;\r\n case 2:\r\n this.FormName = \"Purchase Page\";\r\n break;\r\n case 3:\r\n this.FormName = \"Business Expenses Page\";\r\n break;\r\n case 4:\r\n this.FormName = \"Household Expenses Page\";\r\n break;\r\n default:\r\n this.FormName = \"Question Page\";\r\n break;\r\n }\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n sdc_id:[null],\r\n sales_declared_by_customer:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n margin_per:[null],\r\n margin_value:[null],\r\n comments:[null],\r\n isactive:[1],\r\n fk_createdby:[this.users],\r\n \r\n });\r\n this.grossProfitForm=this.fb.group({\r\n calc_type_id:[''],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n mode:['',Validators.compose([Validators.required])],\r\n margin:[''],\r\n })\r\n \r\n \r\n \r\n \r\n // this.getdropList();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\r\n }\r\n\r\n\r\n \r\n \r\n\r\n ionViewDidEnter() {\r\n \r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getAssessedDetails()\r\n }\r\n\r\n\r\n \r\n \r\n changeOptions(values: any){\r\n // console.log('values',values);\r\n this.grossProfitForm.controls['margin'].setValue('');\r\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\r\n * Refer => check_sales_type **/\r\n if(values.mode == 2){\r\n // console.log('2');\r\n this.grossProfitForm.controls['margin'].setValue('2');\r\n }\r\n }\r\n\r\n //PURCHASE DETAILS SUBMIT\r\n // submitDetails(records: any){\r\n // if (this.grossProfitForm.invalid) {\r\n \r\n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\r\n // return;\r\n // }\r\n // // let datas:any;\r\n // // datas=records;\r\n\r\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\r\n // this.toast.pdTriggerappmessage('Saved Successfully.');\r\n // //this.loadAssessedForms.next('1');\r\n // }, error => {\r\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n // // this.loadAssessedForms.next('1');\r\n // });\r\n // } \r\n \r\n\r\n getMarginCalc()\r\n {\r\n \r\n let margin_per = this.assessedForm.controls['margin_per'].value;\r\n console.log(\"Margin Per\",margin_per)\r\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\r\n if(margin_per !=null && sales_declared_by_customer !=null)\r\n {\r\n let value = sales_declared_by_customer * (margin_per/100);\r\n this.assessedForm.controls['margin_value'].setValue(value);\r\n }\r\n }\r\n\r\n saveData(answerData)\r\n {\r\n let records:any = {};\r\n answerData.company_id=this.pdDetails.company_id\r\n \r\n records ={'records':answerData};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\r\n {\r\n // console.log(res);\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n \r\n }\r\n })\r\n setTimeout(()=>{\r\n this.getAssessedDetails();\r\n },1500)\r\n }\r\n salesCalculation(values): void {\r\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\r\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\r\n {\r\n \r\n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\r\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\r\n }\r\n }\r\n \r\n getAssessedDetails()\r\n {\r\n this.sales_item_month_value = [];\r\n this.sales_month_wise_data = [];\r\n this.sales_item_value= [];\r\n this.purchase_bill_wise_data=[];\r\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\r\n console.log(\"company\",this.pdDetails.company_id)\r\n console.log(\"getAssesed\",records)\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let sales_value = res['records'].sales_declared_by_customer[0];\r\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\r\n //SALE ANNUAL TOTAL\r\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\r\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\r\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\r\n this.purchse_details = res['records'].purchase_details; \r\n //PURCHASE ANNUAL TOTAL\r\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\r\n this.purchase_bill_wise=res['records'].purchase_billwise\r\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\r\n this.purchase_type=this.grossprofitCalc.purchase_type;\r\n console.log(\"gross\",this.grossprofitCalc);\r\n this.mode = this.grossprofitCalc.mode;\r\n\r\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\r\n console.log(\"len\",lenOfGrossProfit)\r\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\r\n console.log(this.activateMarginCalculation);\r\n var result = this.purchse_details.reduce(function(p, c) {\r\n \r\n return p;\r\n },[]);\r\n console.log(result);\r\n\r\n\r\n this.businessExpenses_details = res['records'].business_expenses;\r\n //BUSINESS ANNUAL TOTAL\r\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\r\n this.houseHold_details = res['records'].house_hold_expenses;\r\n //HOUSEHOLD ANNUAL TOTAL\r\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\r\n this.busissnessIncome = res['records'].othre_business_income;\r\n // console.log(this.sales_item_month_value);\r\n // this.getpurchaseDetails(this.purchse_details);\r\n \r\n \r\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\r\n\r\n // const control=this.grossProfitForm['controls']\r\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\r\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\r\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\r\n \r\n \r\n \r\n \r\n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\r\n this.sales_type[itemIndex]=itemElement.sales_type\r\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\r\n let listItems: any=[];\r\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\r\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\r\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\r\n })\r\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\r\n \r\n let convertYear : number = 12 / listItems.length;\r\n let footerMessage: any=[];\r\n footerMessage.push({\r\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\r\n month_value:calculateAllItemsTotal,\r\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\r\n year_value: calculateAllItemsTotal * convertYear,\r\n })\r\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\r\n });\r\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\r\n console.log(\"0index\",itemElement.items[0]);\r\n let result=Object.assign({},...itemElement.items);\r\n console.log(\"result\",result)\r\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\r\n console.log(\"expanBody\",expandBodyContent);\r\n let listItems:any=[];\r\n expandBodyContent.forEach((expandElement,expandIndex)=>{\r\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\r\n listItems.push({items:expandElement,itemsTotal:calculateItems})\r\n })\r\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\r\n let convertYear : number = 12 / listItems.length;\r\n let footerMessage: any=[];\r\n footerMessage.push({\r\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\r\n month_value:calculateAllItemsTotal,\r\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\r\n year_value: calculateAllItemsTotal * convertYear,\r\n })\r\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\r\n })\r\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\r\n\r\n\r\n console.log(\"value\",this.sales_month_wise_data);\r\n if(sales_value!==undefined){\r\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\r\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\r\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\r\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\r\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\r\n if(sales_value.sales_declared_by_customer != null){\r\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\r\n }\r\n if(sales_value.margin_value != null){\r\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\r\n }\r\n \r\n }\r\n \r\n }\r\n })\r\n\r\n }\r\n grossProfitWithData(data:any){\r\n return this.fb.group({\r\n calc_type_id:[data.calc_type_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[data.company_id],\r\n mode:[data.mode],\r\n margin:[data.margin],\r\n})\r\n }\r\n /**\r\n * Add Assessed Forms\r\n */\r\n\r\n AddAssessedForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \r\n \r\n }\r\n\r\n editDetails(salesCal)\r\n {\r\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\r\n console.log(salesData);\r\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \r\n \r\n }\r\n editAllDetails(AllsalesData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \r\n }\r\n\r\n /**Assessed Daily Form Details */\r\n\r\n AddAssessedDailyForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\r\n }\r\n editAssessedDailyForm(simId)\r\n {\r\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\r\n console.log(dailySaleDetails);\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\r\n \r\n }\r\n allEditSalesDailyWise(values){\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\r\n }\r\n\r\n /**purchase Details Forms */\r\n AddPurchaseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \r\n \r\n }\r\n\r\n editPurchaseDetails(purchaseCal)\r\n {\r\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \r\n \r\n }\r\n editPurchaseAllDetails(AllpurchaseData)\r\n {\r\n console.log('260',AllpurchaseData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \r\n }\r\n AddPurchaseBillWiseForm(){\r\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\r\n }\r\n \r\n alleditPurchaseBillWise(all_purchase_daily){\r\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\r\n }\r\n editPurchaseBillWise(daily_purchase){\r\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\r\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\r\n }\r\n\r\n /**Business Expense */\r\n AddExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editExpenseAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \r\n }\r\n \r\n\r\n /** Household Expenses Details */\r\n AddHouseExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editHouseExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editHouseExpenseAllDetails(AllExpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \r\n }\r\n\r\n /**\r\n * Income Details\r\n */\r\n AddIncomeForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \r\n \r\n }\r\n\r\n editIncomeDetails(expenseCal)\r\n {\r\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \r\n \r\n }\r\n editIncomeAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \r\n }\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedSalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-sales',\r\n templateUrl: 'pd-question-assessed-sales.html',\r\n})\r\nexport class PdQuestionAssessedSalesPage {\r\n\r\n grossprofitCalc: any;\r\n salesData: any =[];\r\n annual: any=[];\r\n grandTotal: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n assessedForm: FormGroup;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n annualSaleAmtInwords: any=[];\r\n marginAmtInwords: any=[];\r\n marginFinalAmtInwords:any =[];\r\n ratePerUnitAmtInwords: any=[];\r\n margin_calculation_status:any=[]\r\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\r\n product_and_services: any=[];\r\n complete_status: boolean = false;\r\n UOMData:any=[]\r\n protected _onDestroy = new Subject();\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n //this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n \r\n salesCalItemwise:this.fb.array([]),\r\n });\r\n this.salesData = this.navParams.get('sales');\r\n if(this.salesData!=null)\r\n {\r\n this.getSalesItemData(this.salesData);\r\n }else\r\n {\r\n this.addSalesCal();\r\n }\r\n // this.addSalesCal();\r\n this.getdropList();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n this.UOMData=this.UOM.slice();\r\n }\r\n });\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n let datas=res.records\r\n let api=Object.keys(datas.type_of_activity).map(function(key){\r\n return datas.type_of_activity[key];\r\n })\r\n if(api.length>0){\r\n api.forEach(val=>{\r\n if(val.type_of_activity_id == 2){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n if(val.type_of_activity_id == 3){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n if(val.type_of_activity_id == 4){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n if(val.type_of_activity_id == 5){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n })\r\n }\r\n console.log(\"before\",this.product_and_services)\r\n this.product_and_services = [].concat.apply([], this.product_and_services);\r\n console.log(\"After\",this.product_and_services)\r\n }\r\n })\r\n }\r\n\r\n createSalesCal()\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[null],\r\n \r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n sales_item:[null,Validators.compose([Validators.required])],\r\n other_sales_item:[null],\r\n sales_qty:[null,Validators.compose([Validators.required])],\r\n sales_type:[\"1\"],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n uomSearch:[null],\r\n uom_other:[null],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_sale_value:[null],\r\n margin_per:[null],\r\n margin_per_uom:[null],\r\n margin_final_value:[null],\r\n comments:[null]\r\n });\r\n }\r\n\r\n addSalesCal()\r\n {\r\n if(this.assessedForm.valid){\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n control.push(this.createSalesCal());\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the all fields');\r\n }\r\n }\r\n \r\n removeSalesCal(i,item)\r\n {\r\n console.log(\"value\",item)\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n console.log(this.grandTotal);\r\n console.log(\"pd\",this.pdDetails);\r\n let deleteRecords:any;\r\n if(item.sci_id !=null && item.fk_pd_id !=null){\r\n deleteRecords=[{\r\n sci_id:item.sci_id,\r\n fk_pd_id:item.fk_pd_id,\r\n company_id:this.pdDetails.company_id,\r\n isactive:false\r\n\r\n }]\r\n \r\n let records:any={'records':deleteRecords}\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\r\n }\r\n })\r\n }\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(i);\r\n this.addSalesCal(); \r\n } else{\r\n control.removeAt(i);\r\n }\r\n }\r\n /**\r\n * frequency Type \r\n * 1.Weekly no need\r\n * 2.Daily 250\r\n * 3.Yearly \r\n * 4.Hourly no need\r\n * 5.Monthly 12\r\n * 6.none\r\n * 7.none\r\n * 8.none\r\n */\r\n salecalculat(indexVal,values)\r\n {\r\n // console.log(\"Det\",details);\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let salesQty = details.value.sales_qty;\r\n // let UOM = details.value.rate_per_unit;\r\n // // console.log(frequencyId,salesQty,UOM,index);\r\n // // console.log(frequencyId);\r\n // let annual\r\n // if(salesQty!=null && UOM!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (salesQty*UOM*250);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (salesQty*UOM);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (salesQty*UOM*12);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n // }else\r\n // {\r\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\r\n // }\r\n \r\n \r\n \r\n \r\n // console.log(this.annual);\r\n\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\r\n console.log(\"Rate Per value\",values.rate_per_unit);\r\n this.inWords(values.rate_per_unit,indexVal,4)\r\n }\r\n \r\n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\r\n console.log(\"Frequency\",values.fk_frequency_id);\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\r\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(AnnualSalesValue,indexVal,1)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\r\n }\r\n if(this.margin_calculation_status===true) {\r\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\r\n }\r\n }\r\n salesCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\r\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\r\n }\r\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\r\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\r\n }\r\n if(this.margin_calculation_status===true) {\r\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\r\n }\r\n }\r\n \r\n salesMarginPerCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\r\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\r\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\r\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n salesMarginAmtCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per'].setValue('');\r\n \r\n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\r\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\r\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\r\n }\r\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\r\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\r\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\r\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n /*OLD NOT USED CALCULATION*/\r\n getSalesCalc(indexVal,values)\r\n {\r\n // // console.log(details);\r\n // let margin_per = details.value.margin_per;\r\n // let margin_amount = details.value.margin_per_uom;\r\n // let annual_sale_value = details.value.annual_sale_value;\r\n // let sales_qty = details.value.sales_qty;\r\n // // console.log(sales_qty,margin_amount);\r\n // let value:any = '';\r\n // if(margin_per !=null || margin_amount !=null){\r\n // if(margin_per !=null)\r\n // {\r\n // value = +annual_sale_value * (+margin_per/100);\r\n // }else\r\n // {\r\n // console.log('else');\r\n // value = +sales_qty* +margin_amount;\r\n // }\r\n // console.log(value);\r\n // details.controls['margin_final_value'].setValue(value);\r\n // }\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\r\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\r\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n \r\n inWords(value,inx,flag){\r\n switch(flag){\r\n case 1 : \r\n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 2 : \r\n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 3 : \r\n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 4 : \r\n console.log(\"Rate\",value);\r\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n default:break;}\r\n }\r\n saveData(answerData)\r\n {\r\n \r\n if(this.assessedForm.valid){\r\n answerData.salesCalItemwise.forEach(parVal=>{\r\n delete parVal.uomSearch\r\n });\r\n\r\n let records = {'records':answerData.salesCalItemwise};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1500)\r\n }\r\n })\r\n }\r\nelse{\r\n console.log(answerData);\r\n\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\r\n}\r\n}\r\n getSalesItemData(salesData)\r\n {\r\n console.log(salesData);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n\r\n salesData.forEach((sale,index)=>{\r\n \r\n this.annual[index] = sale.annual_sale_value\r\n control.push(this.createSaleswithData(sale));\r\n if(sale.rate_per_unit != null){\r\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\r\n }\r\n if(sale.annual_sale_value != null){\r\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\r\n }\r\n if(sale.margin_per_uom != null){\r\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\r\n }\r\n if(sale.margin_final_value != null){\r\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\r\n }\r\n this.changeOptions(index,sale.sales_type)\r\n })\r\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\r\n // console.log(control);\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }\r\n changeOptions(indexVal: any,event: any): void{\r\n console.log(\"ai\")\r\n let control: any = this.assessedForm.controls['salesCalItemwise'];\r\n if(event.value==\"1\"){\r\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\r\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\r\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\r\n\r\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\r\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\r\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\r\n\r\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\r\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\r\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\r\n\r\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\r\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\r\n \r\n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\r\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\r\n this.salesCalculation(indexVal,control.controls[indexVal].value);\r\n }\r\n else if(event.value==\"2\"){\r\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\r\n control.controls[indexVal].controls['sales_qty'].clearValidators();\r\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\r\n \r\n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\r\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\r\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\r\n \r\n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\r\n \r\n this.salesCalculation(indexVal,control.controls[indexVal].value);\r\n }\r\n }\r\n \r\n\r\n\r\n createSaleswithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[data.sci_id],\r\n company_id:[this.pdDetails.company_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\r\n other_sales_item:[data.other_sales_item],\r\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\r\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n uomSearch:[null],\r\n uom_other:[data.uom_other],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_sale_value:[data.annual_sale_value],\r\n margin_per:[data.margin_per],\r\n margin_per_uom:[data.margin_per_uom],\r\n margin_final_value:[data.margin_final_value],\r\n comments:[data.comments]\r\n });\r\n }\r\n\r\n searchUOM(control:any,i:number){ \r\n control.controls['uomSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n let val = control.controls['uomSearch'].value;\r\n if (!this.UOM) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n \r\n this.UOMData=this.UOM.slice()\r\n return\r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport {DatePipe} from '@angular/common'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDailySalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-daily-sales',\r\n templateUrl: 'pd-question-assessed-daily-sales.html',\r\n})\r\nexport class PdQuestionAssessedDailySalesPage {\r\n pipe = new DatePipe('en-US');\r\n\r\n currentDate: string;\r\n grossprofitCalc: any;\r\n salesDaily: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n salesDailyForm: FormGroup;\r\n margin_calculation_status:any\r\n Value: any=[];\r\n marginAmtInwords: any=[];\r\n frequencyData: any=[];\r\n freqAmtInwords: any=[];\r\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\r\n product_and_services: any=[];\r\n maxDate:any;\r\n complete_status: boolean = false;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n // this.maxDate=new Date()\r\n var today=new Date\r\n console.log(\"today\",today)\r\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\r\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\r\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\r\n console.log(\"max\",this.maxDate)\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.salesDaily = this.navParams.get('salesDaily');\r\n // this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\r\n \r\n this.salesDailyForm = this.fb.group(\r\n {\r\n sales_product: this.fb.array([]),\r\n })\r\n if (this.salesDaily != null) {\r\n this.getDailySalesData(this.salesDaily);\r\n } else {\r\n this.adddailySalaesProduct();\r\n\r\n }\r\n this.getDropDown()\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\r\n }\r\n\r\n getDropDown(){\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\r\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\r\n })\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n let datas=res.records\r\n let api=Object.keys(datas.type_of_activity).map(function(key){\r\n return datas.type_of_activity[key];\r\n })\r\n if(api.length>0){\r\n api.forEach(val=>{\r\n if(val.type_of_activity_id == 2){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n if(val.type_of_activity_id == 3){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n if(val.type_of_activity_id == 4){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n if(val.type_of_activity_id == 5){\r\n if(val.prodcuts){\r\n this.product_and_services.push(val.prodcuts)\r\n }\r\n }\r\n })\r\n }\r\n console.log(\"before\",this.product_and_services)\r\n this.product_and_services = [].concat.apply([], this.product_and_services);\r\n console.log(\"After\",this.product_and_services)\r\n }\r\n })\r\n }\r\n // change options for either Date/Frequency Information\r\nchangeOptions(indexVal: any,event: any): void{\r\n console.log(\"event\",event)\r\n let control: any = this.salesDailyForm.controls['sales_product'];\r\n console.log(\"control\",control)\r\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\r\n if(event==\"1\"){\r\n for (let i = 0; i < innercontrol.value.length-1; i++) {\r\n innercontrol.removeAt(i);\r\n }\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\r\n \r\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\r\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\r\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\r\n\r\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\r\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\r\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\r\n\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\r\n\r\n // control.controls[indexVal].controls['comments'].setValue(\"\");\r\n // control.controls[indexVal].controls['comments'].clearValidators();\r\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\r\n }\r\n else if(event==\"2\"){\r\n for (let i = 0; i < innercontrol.value.length-1; i++) {\r\n innercontrol.removeAt(i);\r\n }\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\r\n \r\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\r\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\r\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\r\n \r\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\r\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\r\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\r\n \r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\r\n\r\n control.controls[indexVal].controls['comments'].setValue(\"\");\r\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\r\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\r\n\r\n }\r\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\r\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\r\n\r\n }\r\n createdailysalesProduct() {\r\n return this.fb.group(\r\n {\r\n sim_id: [null],\r\n sales_item: [null, Validators.compose([Validators.required])],\r\n other_sales_item:[null],\r\n sales_type:[\"1\"],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n margin_per: [null],\r\n margin_value: [null],\r\n comments:[null],\r\n fk_createdby: [this.users],\r\n isactive: [true],\r\n });\r\n }\r\n createdailyChildSaleProduct() {\r\n return this.fb.group({\r\n simc_id: [null],\r\n fk_sim_id: [null],\r\n sales_date: [null],\r\n sales_value: [null],\r\n fk_frequency_id:[null],\r\n frequency_value:[null],\r\n isactive: [true],\r\n })\r\n }\r\n temparr = [];\r\n tempdate = [];\r\n getSalesCalc(subchild,child,key) {\r\n \r\n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\r\n let totalitemmargin = child.value.margin_per;\r\n \r\n if (totalitemmargin != null && subchild.value.sales_value !=null) {\r\n let loopAccess = false;\r\n let loopindex = 0;\r\n if (this.tempdate.length != 0) {\r\n for (var i = 0; i < this.tempdate.length; i++) {\r\n\r\n if (this.tempdate[i].month == saledate) {\r\n loopAccess = true;\r\n loopindex = i;\r\n }\r\n }\r\n\r\n if (loopAccess) {\r\n\r\n \r\n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\r\n this.temparr.push(subchild.value.sales_value);\r\n loopAccess = false;\r\n loopindex = 0;\r\n \r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n\r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\r\n this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n let totalMonth = 12 / this.tempdate.length;\r\n \r\n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\r\n \r\n // let value = tempgrandTotal * (totalitemmargin / 100);\r\n let value = tempgrandTotal*totalMonth ;\r\n \r\n let grandValue = value * (totalitemmargin / 100);\r\n child.controls['margin_value'].setValue(grandValue);\r\n \r\n }\r\n \r\n }\r\n salesCalculation(indexVal: number,values: any): void {\r\n console.log(indexVal,values)\r\n console.log(\"Margin\",this.margin_calculation_status);\r\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\r\n console.log(\"value == 1\")\r\n let control:any = this.salesDailyForm.controls['sales_product'];\r\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\r\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\r\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\r\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\r\n return mval;\r\n });\r\n console.log(\"transform\",transformData)\r\n if(transformData.length>0) {\r\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\r\n .filter((fVal,fIndex,fArray)=>{\r\n return fIndex === fArray.indexOf(fVal);\r\n });\r\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\r\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\r\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\r\n console.log(control.controls[indexVal])\r\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\r\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\r\n }\r\n else{\r\n console.log(\"else 1\")\r\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\r\n \r\n }\r\n console.log(\"else 1\")\r\n }\r\n else {\r\n console.log(\"else 2\")\r\n control.controls[indexVal].controls['margin_value'].setValue('');\r\n \r\n }\r\n }\r\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\r\n let control:any = this.salesDailyForm.controls['sales_product'];\r\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\r\n \r\n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\r\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\r\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\r\n \r\n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\r\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\r\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\r\n }\r\n else {\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\r\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\r\n \r\n }\r\n }\r\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\r\n let control:any = this.salesDailyForm.controls['sales_product'];\r\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\r\n \r\n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\r\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\r\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\r\n }\r\n else {\r\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\r\n }\r\n }\r\n \r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 3:\r\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\r\n default : break;\r\n }\r\n }\r\n adddailySalaesProduct() {\r\n this.tempdate = [];\r\n if (this.salesDailyForm.valid) {\r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n control.push(this.createdailysalesProduct());\r\n \r\n this.adddailyChildSaleProduct(control.length - 1);\r\n }\r\n }\r\n adddailyChildSaleProduct(index) {\r\n // if(this.salesDailyForm.valid){\r\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\r\n\r\n control.push(this.createdailyChildSaleProduct());\r\n // }\r\n }\r\n\r\n deletedailySalesProduct(index,item) {\r\n console.log(\"fk_pd_id\",item);\r\n this.tempdate.slice(index,1);\r\n let deleteRecords:any;\r\n \r\n if(item.fk_pd_id !=null){\r\n deleteRecords=[{\r\n sim_id:item.sim_id,\r\n fk_pd_id:item.fk_pd_id,\r\n company_id:this.pdDetails.company_id,\r\n isactive:false\r\n\r\n }]\r\n \r\n let records:any={'records':deleteRecords}\r\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\r\n }\r\n })\r\n }\r\n \r\n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\r\n if (control.length == 1) {\r\n this.salesDailyForm.controls['sales_product'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\r\n let control = this.salesDailyForm.controls['sales_product'];\r\n control=control.controls[saleIndex].get('child') as FormArray\r\n if(childVal == '' || childVal == null){\r\n control.removeAt(saleChildIndex)\r\n }\r\n else{\r\n console.log(\"control\",control.controls[saleChildIndex])\r\n control.controls[saleChildIndex].get('isactive').setValue(false);\r\n }\r\n\r\n // this.tempdate = [];\r\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\r\n // if(control.length==1)\r\n // {\r\n // control.removeAt(saleChildIndex);\r\n // this.adddailyChildSaleProduct(saleIndex); \r\n // }else{\r\n // control.removeAt(saleChildIndex);\r\n // }\r\n }\r\n saveData(answerData) {\r\n answerData.sales_product.forEach(parVal=>{\r\n parVal.child.forEach(childVal=>{\r\n if(childVal['custum_date']){\r\n delete childVal['custum_date'];\r\n }\r\n if(childVal['sales_date'])\r\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\r\n });\r\n });\r\n if (this.salesDailyForm.valid) {\r\n let records = { 'records': answerData.sales_product };\r\n console.log(\"answer Data\",records)\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1500)\r\n }\r\n });\r\n }\r\n else{\r\n console.log(\"pd\",this.salesDailyForm);\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\r\n }\r\n\r\n\r\n }\r\n getDailySalesData(dailySalesData) {\r\n console.log(\"daily sale\",dailySalesData);\r\n \r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n let control1: any = this.salesDailyForm.controls['sales_product'];\r\n let salesChildControl;\r\n let salesChildControlarr = [];\r\n dailySalesData.forEach((val, index) => {\r\n \r\n if(val.margin_per != null && val.margin_per != ''){\r\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\r\n val.margin_per=parseInt(val.margin_per).toFixed(2)\r\n }\r\n if(val.margin_value != null && val.margin_value != ''){\r\n val.margin_value=parseInt(val.margin_value).toFixed(2)\r\n }\r\n control.push(this.dailySalesWithData(val));\r\n if(val.margin_value != null){\r\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\r\n }\r\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\r\n\r\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\r\n\r\n salesChildControlarr[index].forEach((vals, i) => {\r\n vals.forEach((item, key) => {\r\n console.log(\"item\",item,'key',key)\r\n if(val.sales_type != 2){\r\n let saleDate = new Date(item.sales_date);\r\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\r\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\r\n\r\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\r\n console.log(\"sale Day\",saleDate.getDay())\r\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\r\n }\r\n \r\n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\r\n console.log(\"itme\",val)\r\n console.log(\"sale\",item.sales_date)\r\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\r\n if(item.sales_value !=null){\r\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\r\n }\r\n if(item.frequency_value != null){\r\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\r\n }\r\n })\r\n \r\n\r\n\r\n });\r\n // this.changeOptions(index,val.sales_type)\r\n if(val.sales_type==\"2\"){\r\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\r\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\r\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\r\n \r\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\r\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\r\n \r\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\r\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\r\n \r\n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\r\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\r\n\r\n }\r\n });\r\n \r\n console.log(\"aall\",this.salesDailyForm.value)\r\n }\r\n\r\n dailySalesWithData(data) {\r\n\r\n return this.fb.group(\r\n {\r\n sim_id: [data.sim_id],\r\n sales_item: [data.sales_item],\r\n other_sales_item:[data.other_sales_item],\r\n sales_type:[data.sales_type],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n fk_createdby: [this.users],\r\n isactive: [true],\r\n margin_per: [data.margin_per == null ? '' : data.margin_per],\r\n margin_value: [data.margin_value == null ? '' :data.margin_value],\r\n comments:[data.comments]\r\n })\r\n }\r\n dailySalesChildWithData(data, fk_id,salesType) {\r\n\r\nconsole.log(\"Sales type\",salesType)\r\n return this.fb.group(\r\n {\r\n simc_id: [data.simc_id],\r\n fk_sim_id: [fk_id],\r\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\r\n sales_date:[salesType==2 ? '' : data.sales_date],\r\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\r\n sales_value: [data.sales_value],\r\n fk_frequency_id:[data.fk_frequency_id],\r\n frequency_value:[data.frequency_value],\r\n isactive: [true],\r\n })\r\n \r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\n/**\r\n * Generated class for the PdQuestionAssessedPurchasePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-purchase',\r\n templateUrl: 'pd-question-assessed-purchase.html',\r\n})\r\nexport class PdQuestionAssessedPurchasePage {\r\n purchaseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n businessExpenses: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n annual: any = [];\r\n grandpurchaseTotal: any;\r\n rawMaterialForm:FormGroup;\r\n RateOfPurchase: any=[];\r\n AnnualPurchase: any=[];\r\n productListData:any=[];\r\n UOMData:any=[]\r\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\r\n complete_status: boolean = false;\r\n \r\n protected _onDestroy = new Subject();\r\n\r\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.purchaseDetails = this.navParams.get('purchase');\r\n console.log(\"purchase\",this.purchaseDetails)\r\n console.log(\"pd\",this.pdDetails);\r\n this.users = this.aws.getlocale();\r\n this.rawMaterialForm = this.fb.group(\r\n {\r\n purchase:this.fb.array([]),\r\n });\r\n \r\n if(this.purchaseDetails!=null)\r\n {\r\n this.getpurchaseDetails(this.purchaseDetails);\r\n }else\r\n {\r\n this.addPurchaseDetails();\r\n }\r\n this.getdropList();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\r\n }\r\n\r\n\r\n createPurchaseDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n purchase_item:[null,Validators.compose([Validators.required])],\r\n other_purchase_item:[null],\r\n purchase_type:['1'],\r\n purchase_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n uomSearch:[null],\r\n uom_other:[null],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_purchase_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n this.UOMData=this.UOM.slice();\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n }\r\n })\r\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\r\n if (data.dataStatus){\r\n let datas = data.record;\r\n \r\n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \r\n if(type2[0].hasOwnProperty(\"products\")){\r\n // this.productListData.push(type2[0].products);\r\n }\r\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\r\n if(type3[0].hasOwnProperty(\"products\")){\r\n this.productListData.push(type3[0].products);\r\n }\r\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\r\n if(type4[0].hasOwnProperty(\"products\")){\r\n this.productListData.push(type4[0].products);\r\n }\r\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\r\n this.productListData.push(datas.from_supplier.raw_material);\r\n }\r\n this.productListData = [].concat.apply([], this.productListData);\r\n \r\n }\r\n })\r\n }\r\n addPurchaseDetails()\r\n {\r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.push(this.createPurchaseDetails());\r\n }\r\n\r\n deletePurchaseDetails(i,item)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n let deleteRecords:any; \r\n if(item.fk_pd_id !=null){\r\n deleteRecords=[{\r\n purchase_id:item.purchase_id,\r\n fk_pd_id:item.fk_pd_id,\r\n company_id:this.pdDetails.company_id,\r\n isactive:false\r\n\r\n }]\r\n \r\n let records:any={'records':deleteRecords}\r\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\r\n }\r\n })\r\n }\r\n \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else{\r\n control.removeAt(i); \r\n } \r\n }\r\n\r\n\r\n purchaseCalculation(indexVal,values)\r\n {\r\n let control:any = this.rawMaterialForm.controls['purchase'];\r\n if(values.rate_per_unit != null){\r\n if(values.rate_per_unit != ''){\r\n this.inWords(values.rate_per_unit,indexVal,1);\r\n }\r\n }\r\n\r\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\r\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n\r\n }\r\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\r\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\r\n }\r\n // console.log(this.grandpurchaseTotal);\r\n // console.log(details,index);\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let purchaseQty = details.value.purchase_qty;\r\n // let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,purchaseQty,UOM,index);\r\n // // console.log(frequencyId);\r\n // let annual\r\n // if(purchaseQty!=null && UOM!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (purchaseQty*UOM*250);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (purchaseQty*UOM);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (purchaseQty*UOM*12);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\r\n // }\r\n }\r\n savepurchaseData(answerData)\r\n {\r\n answerData.purchase.forEach(parVal=>{\r\n delete parVal.uomSearch\r\n })\r\n\r\n if(this.rawMaterialForm.valid){\r\n \r\n answerData.purchase.forEach(parVal=>{\r\n delete parVal.uomSearch\r\n })\r\n \r\n let records = {'records':answerData.purchase};\r\n console.log('data',records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1500)\r\n // this.getAssessedDetails();\r\n \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getpurchaseDetails(purchaseDetails)\r\n {\r\n console.log('function in',purchaseDetails);\r\n \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \r\n console.log(control); \r\n if(purchaseDetails.length ==0)\r\n {\r\n console.log('if');\r\n this.addPurchaseDetails();\r\n }else{\r\n console.log('else');\r\n purchaseDetails.forEach((val,index)=>\r\n {\r\n // console.log(index);\r\n control.push(this.createPurchasewithData(val));\r\n this.annual[index] = val.annual_purchase_value;\r\n if(val.rate_per_unit != null){\r\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\r\n }\r\n if(val.annual_purchase_value != null){\r\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\r\n }\r\n });\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\r\n }\r\n // console.log(control); \r\n \r\n }\r\n\r\n createPurchasewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[data.purchase_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\r\n other_purchase_item:[data.other_purchase_item],\r\n purchase_type:[data.purchase_type],\r\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n uomSearch:[null],\r\n uom_other:[data.uom_other],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n changeOptions(indexVal: any,event: any): void{\r\n console.log('event',event)\r\n let control: any = this.rawMaterialForm.controls['purchase'];\r\n if(event.value==\"1\"){\r\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\r\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\r\n \r\n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\r\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\r\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\r\n }\r\n else if(event.value==\"2\"){\r\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\r\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\r\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\r\n \r\n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\r\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\r\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\r\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\r\n }\r\n }\r\n\r\n searchUOM(control:any,i:number){ \r\n control.controls['uomSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(()=>{\r\n let val = control.controls['uomSearch'].value;\r\n if (!this.UOM) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n \r\n this.UOMData=this.UOM.slice()\r\n return\r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\r\n })\r\n }\r\n\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business',\r\n templateUrl: 'pd-question-assessed-business.html',\r\n})\r\nexport class PdQuestionAssessedBusinessPage {\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n complete_status: boolean = false;\r\n grandpurchaseTotal(arg0: any): any {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n grandExpenseTotal: any=[];\r\n expenseannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessExpenses:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busExpense:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\r\n }\r\n\r\n\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n expense_item_id:[null,Validators.compose([Validators.required])],\r\n other_expense_item:[null],\r\n expense_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_expenses_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n\r\n businessCalculation(indexVal: number,values: any): void {\r\n let control:any = this.BuissnessForm.controls['busExpense'];\r\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\r\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\r\n }\r\n }\r\n \r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i,item)\r\n {\r\n console.log(\"item\",item);\r\n this.expenseannual.splice(i,1); \r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n \r\n let deleteRecords:any;\r\n if(item.fk_pd_id !=null){\r\n deleteRecords=[{\r\n pd_expense_id:item.pd_expense_id,\r\n fk_pd_id:item.fk_pd_id,\r\n company_id:this.pdDetails.company_id,\r\n isactive:false\r\n\r\n }]\r\n \r\n let records:any={'records':deleteRecords}\r\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\r\n }\r\n })\r\n }\r\n \r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else{\r\n control.removeAt(i); \r\n } \r\n }\r\n\r\n busExpensecalculat(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n let UOM = details.value.rate_per_unit;\r\n \r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual); \r\n this.inWords(annual,index,2) \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n this.inWords(annual,index,2)\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n this.inWords(annual,index,2)\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busExpense};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1500)\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.expenseannual[index] = val.annual_expenses_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n if(val.expense_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\r\n }\r\n })\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[data.pd_expense_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\r\n other_expense_item:[data.other_expense_item || ''],\r\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedHouseholdPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-household',\r\n templateUrl: 'pd-question-assessed-household.html',\r\n})\r\nexport class PdQuestionAssessedHouseholdPage {\r\n\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n houseExpenseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n houseannual: any =[];\r\n grandHouseExpenseTotal: any=[];\r\n houseHoldForm:FormGroup;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n complete_status: boolean = false;\r\n // nn:Object[][]=[]\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.houseExpenseDetails = this.navParams.get('FormId');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.houseHoldForm = this.fb.group(\r\n {\r\n houseExpense:this.fb.array([]),\r\n });\r\n if(this.expenseDetails !=null)\r\n {\r\n this.getHouseholdExpense(this.expenseDetails);\r\n }else\r\n {\r\n this.addHouseExpenses();\r\n }\r\n this.getdropdown();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n createHouseExpense()\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id] ,\r\n company_id:[this.pdDetails.company_id],\r\n\t\t expense_item: [null,Validators.compose([Validators.required])],\r\n\t\t expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\r\n annual_expense_value: [null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n\r\n addHouseExpenses()\r\n {\r\n \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n\r\n control.push(this.createHouseExpense());\r\n }\r\n\r\n deleteHouseExpense(i,item)\r\n {\r\n this.houseannual.splice(i,1); \r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n let deleteRecords:any\r\n if(item.household_expense_id !=null){\r\n deleteRecords=[{\r\n household_expense_id:item.household_expense_id,\r\n fk_pd_id:item.fk_pd_id,\r\n company_id:this.pdDetails.company_id,\r\n isactive:false\r\n\r\n }]\r\n \r\n let records:any={'records':deleteRecords}\r\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\r\n }\r\n })\r\n }\r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else{\r\n control.removeAt(i); \r\n } \r\n }\r\n houseExpensecalculat(indexVal,values)\r\n {\r\n\r\n let control:any = this.houseHoldForm.controls['houseExpense'];\r\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\r\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\r\n }\r\n \r\n //OLD CALCULATION\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let expenseValue = details.value.expense_value;\r\n // // let UOM = details.value.rate_per_unit;\r\n // // console.log(frequencyId,purchaseQty,UOM,index);\r\n // // console.log(details);\r\n // let annual\r\n // if(expenseValue!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (expenseValue*250);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (expenseValue);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (expenseValue*12);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n // console.log(this.grandHouseExpenseTotal); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n // }\r\n }\r\n saveHouseExpenseData(answerData)\r\n {\r\n if(this.houseHoldForm.valid)\r\n {\r\n let records = {'records':answerData.houseExpense};\r\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1500)\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n getHouseholdExpense(houseExpesneDetails)\r\n {\r\n if(houseExpesneDetails.length==0)\r\n {\r\n this.addHouseExpenses(); \r\n }else\r\n {\r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \r\n houseExpesneDetails.forEach((val,index)=>\r\n {\r\n this.houseannual[index] = val.annual_expense_value;\r\n control.push(this.createHouseholdwithData(val));\r\n if(val.expense_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\r\n }\r\n \r\n });\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createHouseholdwithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[data.household_expense_id],\r\n fk_pd_id:[this.pdDetails.pd_id] ,\r\n company_id:[this.pdDetails.company_id],\r\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\r\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business-income',\r\n templateUrl: 'pd-question-assessed-business-income.html',\r\n})\r\nexport class PdQuestionAssessedBusinessIncomePage {\r\n m_freqOfPurchase: any = [];\r\n expenseDetails: any;\r\n \r\n grandIncomeTotal: any=[];\r\n incomeannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessIncome:any;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n complete_status : boolean = false;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('income');\r\n \r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busIncome:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\r\n }\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[null,Validators.compose([Validators.required])],\r\n income_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_income_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[null],\r\n other_frequncy_item:[null],\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.incomeannual.splice(i,1); \r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busIncomecalculate(indexVal,values)\r\n {\r\n let control:any = this.BuissnessForm.controls['busIncome'];\r\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_income_value'].setValue('');\r\n }\r\n //OLD CALCULATION\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let incomeValue = details.value.income_value;\r\n // // let UOM = details.value.rate_per_unit;\r\n \r\n // let annual:any;\r\n // if(incomeValue!=null && incomeValue !=null){\r\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \r\n // if(frequencyId==1)\r\n // {\r\n \r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==7)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==8)\r\n // {\r\n // annual = (incomeValue);\r\n // this.incomeannual[index] = annual; \r\n // details.controls['annual_income_value'].setValue(annual); \r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n // }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busIncome};\r\n \r\n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },1500)\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.incomeannual[index] = val.annual_income_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n if(val.income_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\r\n }\r\n })\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[data.pd_business_income_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\r\n income_value:[data.income_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[data.other_income_item],\r\n other_frequncy_item:[data.other_frequncy_item],\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\r\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\r\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\r\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\nimport { DatePipe } from '@angular/common';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { max } from 'rxjs/operators';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDailyPurchasePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-daily-purchase',\r\n templateUrl: 'pd-question-assessed-daily-purchase.html',\r\n})\r\nexport class PdQuestionAssessedDailyPurchasePage {\r\n pipe = new DatePipe('en-US');\r\n pdDetails:any;\r\n formId:any;\r\n margin_calculation_status: any;\r\n users: any;\r\n purchaseItemForm:FormGroup\r\n dailyPurchase:any;\r\n productListData: any=[];\r\n purchaseData:any;\r\n purchaseAmtInWords: any=[];\r\n maxDate:any;\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\r\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\r\n var today=new Date\r\n console.log(\"today\",today)\r\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\r\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\r\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\r\n console.log(\"max\",this.maxDate)\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n console.log(\"pd\",this.pdDetails)\r\n this.formId=this.navParams.get('FormId')\r\n this.purchaseData=this.navParams.get('purchaseDaily')\r\n console.log(\"data\",this.purchaseData);\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n\r\n this.purchaseItemForm=this.fb.group({\r\n // purchase_item:[''],\r\n // other_purchase_item:[''],\r\n purchase_product:this.fb.array([])\r\n // child:this.fb.array([])\r\n })\r\n this.getDropDown()\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\r\n if(this.purchaseData != null){\r\n this.getDailyPurchase(this.purchaseData)\r\n }\r\n else{\r\n this.addPurchase();\r\n }\r\n \r\n }\r\n getDropDown(){\r\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\r\n if (data.dataStatus){\r\n let datas = data.record;\r\n \r\n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \r\n if(type2[0].hasOwnProperty(\"products\")){\r\n // this.productListData.push(type2[0].products);\r\n }\r\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\r\n if(type3[0].hasOwnProperty(\"products\")){\r\n this.productListData.push(type3[0].products);\r\n }\r\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\r\n if(type4[0].hasOwnProperty(\"products\")){\r\n this.productListData.push(type4[0].products);\r\n }\r\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\r\n this.productListData.push(datas.from_supplier.raw_material);\r\n }\r\n this.productListData = [].concat.apply([], this.productListData);\r\n \r\n }\r\n })\r\n }\r\n addPurchase(){\r\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\r\n control.push(this.createDailyPurchase())\r\n this.addDailyPurchaseChild(control.length-1)\r\n }\r\n createDailyPurchase(){\r\n return this.fb.group({\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n pbw_id: [''],\r\n purchase_item: ['', Validators.compose([Validators.required])],\r\n other_purchase_item:[''],\r\n annual_purchase_value: [''],\r\n child: this.fb.array([]),\r\n comments: [''],\r\n isactive:[true],\r\n })\r\n }\r\n addDailyPurchaseChild(index)\r\n {\r\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\r\n control.push(this.createDailyPurchaseChild(''))\r\n }\r\n createDailyPurchaseChild(value){\r\n return this.fb.group({\r\n pbwc_id: [''],\r\n fk_pbw_id: [value],\r\n purchase_date: [''],\r\n purchase_value: ['', Validators.compose([Validators.required])],\r\n isactive:[true],\r\n })\r\n }\r\n createPurchaseItemWithData(values: any) {\r\n return this.fb.group({\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n pbw_id: [values.pbw_id],\r\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\r\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\r\n annual_purchase_value: [values.annual_purchase_value],\r\n child: this.fb.array([]),\r\n comments: [values.comments],\r\n isactive:[true],\r\n });\r\n }\r\n \r\n // create daily purchase product with Data\r\n createDailyPurchaseWithData(values: any, parent: any) {\r\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\r\n return this.fb.group({\r\n pbwc_id: [values.pbwc_id],\r\n fk_pbw_id: [parent.pbw_id],\r\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\r\n purchase_date:[values.purchase_date],\r\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\r\n isactive:[true]\r\n })\r\n }\r\ninWords(values,index){\r\n console.log(\"value\",values)\r\n if(values != ''){\r\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\r\n }\r\n}\r\n // this caculation for running total\r\npurchaseCalculation(indexVal: number,values: any): void {\r\n \r\n let control:any = this.purchaseItemForm.controls['purchase_product'];\r\n \r\n if(values.child.length>0){\r\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\r\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\r\n return mval;\r\n });\r\n\r\n if(transformData.length>0) {\r\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\r\n // .filter((fVal,fIndex,fArray)=>{\r\n // return fIndex === fArray.indexOf(fVal);\r\n // });\r\n\r\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\r\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\r\n // let months:number=12/values.child.length;\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\r\n }\r\n else{\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\r\n }\r\n \r\n }\r\n else {\r\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\r\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\r\n }\r\n}\r\naddDailyPurchase(len){\r\n const control=this.purchaseItemForm.get('purchase_product');\r\n control.push(this.createDailyPurchase())\r\n const innercontrol=control.at(len).get('child') as FormArray\r\n innercontrol.push(this.createDailyPurchaseChild(''))\r\n}\r\nremoveDailyPurchase(index){\r\n const control=this.purchaseItemForm.get('purchase_product');\r\n control.removeAt(index)\r\n}\r\naddChild(parentIndex,values){\r\n let control: any = this.purchaseItemForm.controls['purchase_product'];\r\n control=control.controls[parentIndex].get('child') as FormArray;\r\n control.push(this.createDailyPurchaseChild(values.pbw_id));\r\n}\r\nremoveChild(parentIndex,childIndex,childValue){\r\n let control: any = this.purchaseItemForm.controls['purchase_product'];\r\n control=control.controls[parentIndex].get('child') as FormArray;\r\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\r\n control.removeAt(childIndex);\r\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\r\n calculatControlValues = calculatControlValues.controls[parentIndex];\r\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\r\n }\r\n else {\r\n control.controls[childIndex].controls.isactive.setValue(false);\r\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\r\n calculatControlValues = calculatControlValues.controls[parentIndex];\r\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\r\n }\r\n}\r\ngetDailyPurchase(records){\r\n const control=this.purchaseItemForm.get('purchase_product')\r\n // const innercontrol=control.at(0).get('child') as FormArray\r\n records.forEach((element,index)=>{\r\n let purchaseChildControlarr=[]\r\n let nexContro=[]\r\n control.push(this.createPurchaseItemWithData(element))\r\n console.log(\"records\",element)\r\n let result=Object.assign({},...element.items);\r\n console.log(\"result\",result);\r\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\r\n // console.log(\"expandBody\",expandBodyContent);\r\n // let listItems: any=[];\r\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\r\n console.log(\"purchasechildcontrol\",nexContro[index])\r\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\r\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\r\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\r\n // console.log(\"expand\",expnadElement)\r\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\r\n // console.log(\"calculateItems\",calculateItems)\r\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\r\n const innercontrol=control.at(index).get('child') as FormArray\r\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\r\n chilVal.forEach((val,innerIndex)=>{\r\n if(val.purchase_date ){\r\n let saleDate = new Date(val.purchase_date);\r\n console.log(saleDate.getDay())\r\n console.log(saleDate.getDate());\r\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\r\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\r\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\r\n console.log(\"datamonth\")\r\n console.log(date,month)\r\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\r\n console.log( val.purchase_date)\r\n }\r\n if(val.purchase_value != ''){\r\n this.inWords(val.purchase_value,childIndex)\r\n }\r\n console.log(\"child\",val)\r\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\r\n })\r\n })\r\n \r\n })\r\n // console.log(\"list_items\",listItems)\r\n // })\r\n // control.push(this.createPurchaseItemWithData(records))\r\n \r\n //console.log('innercontrol',innercontrol)\r\n // records.items.forEach((element,index)=>{\r\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\r\n // })\r\n \r\n}\r\n\r\n\r\nsubmitDetails(records){\r\n records.purchase_product.forEach(parVal=>{\r\n parVal.child.forEach(childVal=>{\r\n if(childVal['custum_date']){\r\n delete childVal['custum_date']\r\n }\r\n if(childVal['purchase_date']){\r\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\r\n }\r\n })\r\n })\r\n let recordVal:any={'records':records.purchase_product}\r\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\r\n setTimeout(()=>{\r\n this.navCtrl.pop()\r\n },1500)\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Error\");\r\n }\r\n })\r\n}\r\n \r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\r\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedSummaryPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-summary',\r\n templateUrl: 'pd-question-assessed-summary.html',\r\n providers:[RupeeCurrencyFormatPipe]\r\n})\r\nexport class PdQuestionAssessedSummaryPage {\r\n pdDetails:any;\r\n salesCustomer:any;\r\n salesMonthWise:any;\r\n salesItemWise:any;\r\n consolidatedReport:any;\r\n loadData:boolean=false;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n // console.log(this.pdDetails)\r\n this.getAssessedDetails();\r\n }\r\n ionViewWillEnter(){\r\n //console.log(\"ionViewWillEnter\")\r\n //this.getAssessedDetails();\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\r\n \r\n }\r\n getAssessedDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n if(res['records'].final_data.length != 0){\r\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\r\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\r\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\r\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\r\n console.log(this.salesCustomer);\r\n }\r\n this.loadData=true\r\n \r\n }\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\r\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionAssessedImagesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-images',\r\n templateUrl: 'pd-question-assessed-images.html',\r\n})\r\nexport class PdQuestionAssessedImagesPage {\r\n imageDisplay: any=[];\r\n imageBucket: any=[];\r\n pdDetails:any;\r\n FormId:any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider,private constantProvider:ConstantsProvider ) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.FormId=this.navParams.get('formdetails')\r\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\r\n this.getPDImages();\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n \r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':this.pdDetails.company_id,\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n console.log(\"res\",res);\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n console.log(\"Fail\")\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n },ERR=>{\r\n console.log(JSON.stringify(ERR));\r\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\r\n })\r\n \r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionLenderRepresentativePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-lender-representative',\r\n templateUrl: 'pd-question-lender-representative.html',\r\n})\r\nexport class PdQuestionLenderRepresentativePage {\r\n\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n representativeForm:FormGroup;\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n complete_status: boolean = false;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\r\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\r\n private loading:LoadingProvider,private constantProvider:ConstantsProvider) \r\n {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.representativeForm = this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid:[this.pdDetails.pd_id],\r\n formid:[this.FormId.form_id],\r\n fk_createdby:[this.users],\r\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\r\n representative_remarks: ['', Validators.compose([Validators.required])],\r\n lender_representative_details: this.fb.array([]),\r\n });\r\n this.getLenderReDetails();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\r\n this.getPDImages();\r\n }\r\n\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.representativeForm.dirty);\r\n if(this.representativeForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n \r\n createlenReDetails()\r\n {\r\n return this.fb.group({\r\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\r\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n selectedLoanChanges(e): void {\r\n if (e.value == 'Yes') {\r\n const control = this.representativeForm.controls['lender_representative_details'];\r\n control.push(this.createlenReDetails());\r\n } else if (e.value == 'No') {\r\n const arr = this.representativeForm.controls.lender_representative_details;\r\n arr.removeAt(0);\r\n }\r\n }\r\n\r\n sumbitData(answerData)\r\n { \r\n if(this.representativeForm.valid)\r\n {\r\n let records = this.representativeForm.value;\r\n \r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n //TO CHANGE THE FORM STATE \r\n this.representativeForm.reset(this.representativeForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n });\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getLenderReDetails()\r\n {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let lenderReDetails = res['records'];\r\n if(lenderReDetails.lender_representative_accompany=='Yes'){\r\n\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n\r\n\r\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\r\n {\r\n return res['records'].lender_representative_details[key];\r\n });\r\n \r\n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \r\n lender_represent_details.forEach(val=>\r\n {\r\n control.push(this.createlenReDetails());\r\n })\r\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\r\n\r\n }else\r\n {\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n }\r\n }\r\n })\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n // this.imageDisplay.push(this.imageBucket)\r\n // console.log(\"length\",this.imageDisplay.length)\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\r\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { DatePipe} from '@angular/common';\r\nimport { SearchRelationPipe } from '../../../pipes/search-relation/search-relation';\r\nimport { removeSummaryDuplicates } from '@angular/compiler';\r\nimport { DataSource } from '@angular/cdk/table';\r\nimport { MatSelect } from '@angular/material';\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n//import {} from 'moment'\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-info',\r\n templateUrl: 'pd-question-general-info.html',\r\n providers:[SearchRelationPipe],\r\n})\r\nexport class PdQuestionGeneralInfoPage {\r\n pipe=new DatePipe('en-US');\r\n // person_name:any;\r\n qualification_name:any;\r\n individuals_order_id:any;\r\n is_new:any;\r\n pd_co_applicant_id:any;\r\n lengthv:any;\r\n qual_name:any;\r\n curr_qualification_name;\r\n curr_business_name;\r\n \r\n\r\n applicant_name: any;\r\n otherapp: any;\r\n fetch_related_details: any = [];\r\n checkApplicantExist: any;\r\n pd_applicants_details: any = [];\r\n companyRelationShipList: any;\r\n qualificationList:any;\r\n businessEntityTypeList:any;\r\n relationShipList: any;\r\n titleList:any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n generalForm:FormGroup;\r\n list_value:FormArray;\r\n fulldata:any\r\n public buttonClick:boolean;\r\n public h_companies:boolean\r\n \r\n datav:any;\r\n individualsListBothCase:any;\r\n individualsList:any;\r\n companyList:any;\r\n i:number;\r\n data_all:any;\r\n maxDate:any;\r\n OldData:any=[];\r\n OldData_indi:any=[];\r\n updateIndex_indi:any;\r\n public addComp:boolean\r\n public addIndi:boolean\r\n updateIndex_comp: any;\r\n\r\n complete_status : boolean = false;\r\n\r\n@ViewChild('remark') nameField: ElementRef;\r\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\r\n customer_segment_abbr: any;\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\r\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\r\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\r\n this.maxDate = new Date();\r\n this.pd_applicants_details = []; \r\n this.pd_applicants_details.pop(); \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdDetails)\r\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\r\n //this.maxDate=new Date(get_max_date)\r\n this.FormId = this.navParams.get('FormId');\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\r\n this.users = this.aws.getlocale();\r\n this.getdropdown();\r\n \r\n this.generalForm = this.fb.group({\r\n parent_pdid:this.pdDetails.parent_pd_id,\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n applicant_list: this.fb.array([]),\r\n applicant_relation: this.fb.array([]),\r\n list_value:this.fb.array([]),\r\n company_value:this.fb.array([]),\r\n individuals:this.fb.array([]),\r\n companies:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n company_with_relationships:this.fb.array([]),\r\n rental_income_rcv_in_years:[''],\r\n rental_income_rcv_in_month:[''],\r\n \r\n general_remark:''\r\n });\r\n \r\n //this.initIndividuals();\r\n this.pd_applicants_details = this.pdDetails.applicat_details;\r\n \r\n console.log(\"persons_with_relationships\",this.generalForm.controls['persons_with_relationships']['controls'][0])\r\n let control=this.generalForm.get('persons_with_relationships')\r\n console.log('p1',control)\r\n \r\n \r\n // this.getcoapplicantDetails();\r\n this.buttonClick=false;\r\n this.h_companies=false;\r\n this.addIndi=false\r\n this.addComp=false\r\n // this.initCompanies()\r\n this.datav=[{\r\n name:\"fairoj\",\r\n id:1\r\n },\r\n {\r\n name:\"ff\",\r\n id:2\r\n }\r\n \r\n ]\r\n //this.fulldata=this.generalForm.value\r\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['list_value'];\r\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\r\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\r\n this.fulldata=control.value;\r\n //control.controls.length\r\n //control.push()\r\n });\r\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['company_value'];\r\n this.companyList=control.value.filter(element=>element.company_name )\r\n })\r\n this.i=0;\r\n\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n // this.pd_applicants_details.pop();\r\n console.info(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;\");\r\n this.getGeneralForm()\r\n this.getPDImages();\r\n \r\n }\r\n ionViewLoaded() {\r\n\r\n // setTimeout(() => {\r\n // this.generalForm.controls['general_remark']['controls'].setFocus();\r\n // },150);\r\n }\r\n\r\n ionViewCanLeave(){\r\n console.table(\"dirty\",this.generalForm.dirty);\r\n if(this.generalForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n console.log('if part . this.imageBucket.length',this.imageBucket.length);\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n console.log('else part . this.imageBucket.length',this.imageBucket.length)\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n initlistv(data,purpose) :void\r\n {\r\n const control=this.generalForm.controls['list_value'];\r\n console.log(\"control\",control.length)\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_person_met_pic :val.is_person_met_pic != null ? val.is_person_met_pic : '',\r\n is_person_met_id_proof : val.is_person_met_id_proof,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[control.length+1],\r\n is_new:true,\r\n is_active:true,\r\n pd_co_applicant_id:[control.length+1], \r\n \r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n if(purpose=='get'){\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_person_met_pic:val.is_person_met_pic != null ? val.is_person_met_pic : '',\r\n is_person_met_id_proof:val.is_person_met_id_proof,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[val.individuals_order_id],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n pd_co_applicant_id:[val.pd_co_applicant_id] , \r\n \r\n \r\n \r\n \r\n\r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n}\r\n\r\n qualificationById(data):string{\r\n for(let i of this.qualificationList){\r\n if(data==i.qualification_id){\r\n this.qual_name=i.qualification_name\r\n return this.qual_name\r\n }\r\n }\r\n \r\n }\r\n initCompanyValue(data,purpose):void{\r\n const control=this.generalForm.controls['company_value'];\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n \r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n // company_order_id:[this.lengthv.companies.length+1],\r\n company_order_id:[control.length+1],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:true,\r\n is_active:true,\r\n company_messrs_name:['M/s'],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n associate_pd_id:[this.pdDetails.pd_id],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n if(purpose=='get')\r\n {\r\n for(let val of data)\r\n {\r\n \r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n company_order_id:[val.company_order_id],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n company_messrs_name:[val.company_messrs_name],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n associate_pd_id:[val.associate_pd_id],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n }\r\n businessEntityById(val):string{\r\n for(let v of this.businessEntityTypeList){\r\n if(val==v.business_entity_type_id){\r\n var name=v.business_entity_type_name\r\n return name\r\n }\r\n }\r\n \r\n }\r\n \r\n\r\n initIndividuals(data):void{\r\n \r\n const control=this.generalForm.controls['individuals'];\r\n control.controls=[]\r\n if(data==null){\r\n let formData : FormGroup=this.fb.group({\r\n applicant_name:['',Validators.required],\r\n is_person_met:false,\r\n is_person_met_pic:[''],\r\n is_person_met_id_proof:[''],\r\n is_applicant:false,\r\n age:[''],\r\n qualification:[''],\r\n course_name:[''],\r\n applicant_title_name:['']\r\n\r\n });\r\n control.push(formData);\r\n }\r\n else{\r\n let formData : FormGroup=this.fb.group({\r\n \r\n \r\n applicant_name:[data.applicant_name,Validators.required],\r\n is_person_met:data.is_person_met,\r\n is_person_met_pic : data.is_person_met_pic != null ? data.is_person_met_pic : '' ,\r\n is_person_met_id_proof : data.is_person_met_id_proof,\r\n is_applicant:data.is_applicant,\r\n age:[data.age],\r\n qualification:[data.qualification],\r\n course_name:[data.course_name],\r\n applicant_title_name:[data.applicant_title_name]\r\n \r\n \r\n });\r\n this.buttonClick=!this.buttonClick;\r\n control.push(formData);\r\n\r\n }\r\n \r\n \r\n \r\n \r\n }\r\n initCompanies(data):void{\r\n const control=this.generalForm.controls['companies'];\r\n control.controls=[]\r\n if(data == null){\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[''],\r\n is_company_applicant:false,\r\n business_entity_type:[''],\r\n business_entity_type_other:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_date_object:[''],\r\n });\r\n control.controls=[]\r\n control.push(formData)\r\n \r\n }\r\n else{\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[data.company_name],\r\n is_company_applicant:data.is_company_applicant,\r\n business_entity_type:[data.business_entity_type],\r\n business_entity_type_other:[data.business_entity_type_other],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_date_object:[data.business_date_object]\r\n })\r\n this.h_companies=!this.h_companies\r\n \r\n control.push(formData)\r\n }\r\n }\r\n initPersonRelationship(value):void{\r\n console.log('From Genral Form - value are',value)\r\n const control=this.generalForm.controls['persons_with_relationships'];\r\n if(value=='')\r\n {\r\n console.log('fulldata',this.fulldata);\r\n console.log('control.length+1',control.length+1);\r\n console.log('full data',this.fulldata[control.length]);\r\n\r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[''],\r\n applicant_name:[this.fulldata[control.length].applicant_name],\r\n relationship:[''],\r\n relation_to:[''],\r\n individuals_order_id:[control.length+1],\r\n \r\n });\r\n \r\n control.push(formData);\r\n }\r\n else{\r\n value.forEach((val,index)=>{\r\n console.log(\"val for each\",val)\r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[val.pd_co_applicant_id],\r\n applicant_name:[val.applicant_name],\r\n relationship:[index == 0 ? '0' : val.relationship],\r\n relation_to:[val.relation_to],\r\n });\r\n \r\n control.push(formData);\r\n })\r\n }\r\n \r\n }\r\n initCompanyRelationShip(value):void{\r\n console.log(value)\r\n if(value=='')\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[''],\r\n company_relationship:[''],\r\n relation_to_company:[''],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n else{\r\n console.log(\"data\",value);\r\n for(let val of value){\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[val.applicant_name],\r\n company_relationship:[val.company_relationship],\r\n relation_to_company:[val.relation_to_company],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n\r\n \r\n \r\n add():void{\r\n \r\n this.initIndividuals(null);\r\n }\r\ndata:any;\r\ncart=[];\r\ndatajson:any;\r\ndataobj:any;\r\n\r\n addRec(v){\r\n if(v=='1')\r\n {\r\n this.addIndi=true;\r\n this.buttonClick=!this.buttonClick;\r\n this.initIndividuals(null);\r\n }\r\n if(v=='2')\r\n {\r\n console.log(\"companies\",this.h_companies);\r\n this.addComp=true\r\n // this.h_companies=true;\r\n this.h_companies=!this.h_companies;\r\n console.log(\"companies\",this.h_companies);\r\n this.initCompanies(null);\r\n }\r\n }\r\n editIndividuals(index){\r\n let values=this.generalForm.controls.list_value.value[index]\r\n console.log(values)\r\n this.addIndi=false\r\n this.updateIndex_indi=index;\r\n this.initIndividuals(values);\r\n // this.nameField.nativeElement.focus();\r\n\r\n }\r\n editCompanies(index){\r\n console.log(\"index\",index);\r\n let values=this.generalForm.controls.company_value.value[index]\r\n console.log(values)\r\n this.updateIndex_comp=index\r\n this.addComp=false\r\n //this.\r\n this.initCompanies(values)\r\n }\r\n update(v,controlVal){\r\n console.log(\"index\",v)\r\n if(v=='1'){\r\n\r\n let values=this.generalForm.controls['individuals'].value[0]\r\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\r\n // console.log(\"full\",this.generalForm)\r\n // console.log(control,values);\r\n if(values.is_person_met == true && values.is_applicant != true){\r\n controlVal.controls['age'].clearValidators();\r\n controlVal.controls['age'].updateValueAndValidity()\r\n\r\n controlVal.controls['qualification'].clearValidators();\r\n controlVal.controls['qualification'].updateValueAndValidity()\r\n }\r\n if(values.is_person_met != true){\r\n console.log(\"1st\");\r\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['age'].updateValueAndValidity()\r\n\r\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['qualification'].updateValueAndValidity()\r\n }\r\n if(values.is_person_met == true && values.is_applicant == true){\r\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['age'].updateValueAndValidity()\r\n\r\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['qualification'].updateValueAndValidity()\r\n }\r\n\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\r\n }\r\n else{\r\n let val=this.generalForm.controls.individuals.value[0]\r\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\r\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\r\n // const control=this.list_value\r\n var c_qualification_name=this.qualificationById(val.qualification) \r\n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\r\n control.patchValue({\r\n \r\n applicant_title_name:val.applicant_title_name,\r\n applicant_name:val.applicant_name,\r\n is_person_met:val.is_person_met,\r\n is_person_met_pic : val.is_person_met_pic != null ? val.is_person_met_pic : '',\r\n is_person_met_id_proof: val.is_person_met_id_proof,\r\n is_applicant:val.is_applicant,\r\n age:val.age,\r\n qualification:val.qualification,\r\n course_name:val.course_name,\r\n \r\n individuals_order_id:old.individuals_order_id,\r\n is_new:old.is_new,\r\n is_active:old.is_active,\r\n pd_co_applicant_id:old.pd_co_applicant_id, \r\n \r\n qualification_name:c_qualification_name\r\n });\r\n this.buttonClick=false;\r\n console.log(this.generalForm.controls.list_value['controls'])\r\n // this.generalForm.controls.list_value.value.scrollToTop();\r\n // this.generalForm.controls['list_value']._scrollContent;\r\n //this.myinput._scrollContent();\r\n \r\n \r\n console.log(\"values\",val)\r\n console.log(\"old\",old);\r\n console.log(control);\r\n \r\n }\r\n }\r\n else if(v=='2'){\r\n if(!this.generalForm.controls['companies'].valid)\r\n {\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\r\n }\r\n else{\r\n let val=this.generalForm.controls.companies.value[0]\r\n var c_business_name=this.businessEntityById(val.business_entity_type)\r\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\r\n control.patchValue({\r\n company_name:val.company_name,\r\n // company_order_id:[control.length+1],\r\n is_company_applicant:val.is_company_applicant,\r\n business_entity_type:val.business_entity_type,\r\n business_entity_type_other:val.business_entity_type_other,\r\n // is_new:true,\r\n // is_active:true,\r\n //company_messrs_name:['M/s'],\r\n \r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_date_object:val.business_date_object,\r\n\r\n business_entity_type_name:c_business_name\r\n })\r\n this.h_companies=false\r\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\r\n }\r\n }\r\n \r\n\r\n }\r\n \r\n addParticular(v,controlVal):void{\r\n //console.log(\"controlVAl\",controlVal)\r\n // const control=this.generalForm.controls['individuals'];\r\n //control.removeAt(i);\r\n //this.data=this.generalForm.value.individuals;\r\n this.cart.push(this.generalForm.value.individuals);\r\n this.data=Object.assign(this.cart);\r\n // this.data=Object.assign(this.generalForm.value.individuals)\r\n this.datajson=JSON.stringify(this.cart)\r\n if(v=='1')\r\n {let values=this.generalForm.controls['individuals'].value[0]\r\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\r\n // console.log(\"full\",this.generalForm)\r\n // console.log(control,values);\r\n if(values.is_person_met == true && values.is_applicant != true){\r\n controlVal.controls['age'].clearValidators();\r\n controlVal.controls['age'].updateValueAndValidity()\r\n\r\n controlVal.controls['qualification'].clearValidators();\r\n controlVal.controls['qualification'].updateValueAndValidity()\r\n }\r\n if(values.is_person_met != true){\r\n // console.log(\"1st\");\r\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['age'].updateValueAndValidity()\r\n\r\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['qualification'].updateValueAndValidity()\r\n }\r\n if(values.is_person_met == true && values.is_applicant == true){\r\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['age'].updateValueAndValidity()\r\n\r\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\r\n controlVal.controls['qualification'].updateValueAndValidity()\r\n }\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initlistv(this.generalForm.value.individuals,'ins');\r\n this.initPersonRelationship('');\r\n }\r\n }\r\n else if(v=='2')\r\n {\r\n if(!this.generalForm.controls['companies'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initCompanyValue(this.generalForm.value.companies,'ins')\r\n }\r\n }\r\n \r\n }\r\n removeList(i,index){\r\n if(index=='1')\r\n {\r\n //For List List_value(Individuals)\r\n const control=this.generalForm.controls['list_value'];\r\n control.value[i].is_active=false;\r\n this.OldData_indi.push(control.value[i])\r\n control.removeAt(i);\r\n //For Person RelationShip auto Delete\r\n const control1=this.generalForm.controls['persons_with_relationships'];\r\n control1.removeAt(i);\r\n \r\n }\r\n if(index==2){\r\n //For Company_values(Companies)\r\n const control=this.generalForm.controls['company_value']\r\n control.value[i].is_active=false\r\n var vla=control.value[i]\r\n this.OldData.push(vla);\r\n control.removeAt(i);\r\n \r\n\r\n // let control: any = this.generalForm.get('companies') as FormArray;\r\n //this.generalForm.controls['companies']\r\n //control.controls['is_active'].setValue(false);\r\n //control.controls[i].clearValidators();\r\n //control.controls[i].updateValueAndValidity();\r\n //control.clear\r\n // control.controls[i].is_active.setValue(false);\r\n /* control.controls[i].controls.company_name.clearValidators();\r\n control.controls[i].controls.company_name.updateValueAndValidity();\r\n control.controls[i].controls.business_years.clearValidators();\r\n control.controls[i].controls.business_years.updateValueAndValidity();\r\n control.controls[i].controls.business_entity_type.clearValidators();\r\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\r\n }\r\n if(index==\"companyrel\")\r\n {\r\n //For company_relationship\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.removeAt(i);\r\n }\r\n }\r\n \r\n \r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\r\n if(res['dataStatus']==true)\r\n {\r\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\r\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\r\n });\r\n\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.titleList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n }\r\n\r\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\r\n {\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n if(checkApplicantExist.length > 0)\r\n {\r\n checkApplicantExist.forEach(val => {\r\n applicantControl.push(this.createApplicant(val));\r\n });\r\n \r\n }\r\n if(exist_applicant_relation.length > 0){\r\n exist_applicant_relation.forEach(val => {\r\n relationControl.push(this.createApplicantRelation(val));\r\n //push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }\r\n }\r\n\r\n createApplicant(elementValue:any){\r\n return this.fb.group({\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name],\r\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\r\n });\r\n }\r\n\r\n coapplicantChange(event,index,item)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n if(item.exist_status.value)\r\n {\r\n if(item.pd_co_applicant_id.value==0){\r\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\r\n modal.onDidDismiss(data => {\r\n if(data!=1){\r\n data.otherName.forEach(val=>\r\n {\r\n\r\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n \r\n }\r\n });\r\n modal.present();\r\n }else\r\n {\r\n \r\n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(item.applicant_name.value);\r\n }\r\n }\r\n else\r\n {\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let pos_id = relationControl.value.map(e=> \r\n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\r\n if(item.pd_co_applicant_id.value !=0){\r\n relationControl.removeAt(pos_id);\r\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\r\n this.fetch_related_details.splice(pos_name, 1); \r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n }\r\n // remove related to details\r\n \r\n }\r\n\r\n }\r\n\r\n // update personal relation\r\n updatePersonalRelation(indexVal) {\r\n let control: any = this.generalForm.controls['persons_with_relationships'];\r\n control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to);\r\n }\r\n\r\n createApplicantRelation(elementValue: any) {\r\n return this.fb.group({\r\n \r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\r\n company_relationship: [elementValue.company_relationship],\r\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\r\n relationship: [elementValue.relationship],\r\n });\r\n }\r\n // temparr=[];\r\n removereferance(index)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n \r\n \r\n relationControl.removeAt(index);\r\n // this.temparr = [];\r\n \r\n }\r\n // createApplicateOthers()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // Name:\r\n // })\r\n // }\r\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\r\n \r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\nif(flag==1){\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control = control.controls[controlIndex];\r\n let business_year = control.controls.business_years.value;\r\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n control.controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag==2){\r\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\r\n }\r\n}\r\ngetDateObjects(values: any, controlIndex) {\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control.controls['business_years']=''\r\n control.controls['business_month']=''\r\n control = control.controls[controlIndex];\r\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\r\n let date=new Date()\r\n\r\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\r\n console.log(\"current date\",curr_date);\r\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\r\n console.log(\"pd date\",pd_initiation_date);\r\n console.log(\"selected date\",selected_date)\r\n /*WORKING STATEMENT*/\r\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\r\n\r\nif (months >= 12) {\r\n console.log('years:', (months - (months %12))/12 );\r\n console.log(\"moth\",months%12);\r\n} else {\r\n console.log('only months',months);\r\n}\r\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\r\n control.controls['business_month'].setValue(months%12);\r\n/*END OF WORKING STATEMENT*/\r\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\r\n// function monthDiff(d1, d2) {\r\n// var months;\r\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\r\n// months -= d1.getMonth() + 1;\r\n// months += d2.getMonth();\r\n// return months <= 0 ? 0 : months;\r\n \r\n// }\r\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\r\n //var start_date=moment(start_date)\r\n /* old working statement*/\r\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\r\n // let diff: number = Math.floor(diffInMs / 1000);\r\n // console.log(\"diff\",diff)\r\n // diff /= (60 * 60 * 24 * 30);\r\n // console.log(\"diff /\",diff)\r\n // diff=Math.abs(Math.round(diff));\r\n // control.controls['business_years'].setValue(0);\r\n // control.controls['business_month'].setValue(0);\r\n \r\n // if(diff){\r\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\r\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\r\n // }\r\n\r\n}\r\ntemp: number = 0;\r\n\r\n submitData(answerData)\r\n {\r\n console.table(this.generalForm.value);\r\n console.log(answerData);\r\n\r\nconsole.log('1)',this.temp);\r\n let saveRecords:any={}\r\n var valuesData_indi:any=[]\r\n\r\n var valuesData:any=[]\r\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\r\n return answerData.list_value[key]\r\n })\r\n existData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n if(this.OldData_indi.length>0){\r\n this.OldData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n }\r\n\r\n var existData=Object.keys(answerData.company_value).map(function(key){\r\n return answerData.company_value[key]\r\n })\r\n if(this.customer_segment_abbr != 'SE-RI'){\r\n let count=0\r\n existData.forEach((element,index)=>{\r\n // console.log(\"company value\",element)\r\n if(element.business_entity_type=='' || element.business_entity_type == null){\r\n this.editCompanies(index);\r\n // this.focus_business_entity.focused=true;\r\n count=count+1;\r\n }\r\n valuesData.push(element)\r\n })\r\n if(count >0){\r\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\r\n return\r\n }\r\n }\r\n if(this.OldData.length>0){\r\n this.OldData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n }\r\n \r\n if (valuesData_indi.length > 0) {\r\n // console.log('2)',this.temp);\r\n valuesData_indi.forEach((val, index) => {\r\n if (val.is_person_met == false) {\r\n this.temp++;\r\n }\r\n // console.log('3)',this.temp);\r\n });\r\n // console.log('4)',this.temp,'length',valuesData_indi.length);\r\n if (this.temp == valuesData_indi.length) {\r\n // console.log('5)',this.temp);\r\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\r\n this.temp = 0;\r\n // console.log('6)',this.temp);\r\n return;\r\n }\r\n }\r\n\r\n if (this.customer_segment_abbr != 'SE-RI') {\r\n saveRecords.companies=valuesData\r\n saveRecords.company_with_relationships=answerData.company_with_relationships\r\n saveRecords.rental_income_rcv_in_years = null;\r\n saveRecords.rental_income_rcv_in_month = null;\r\n //saveRecords.applicant_relation=answerData.applicant_relation; \r\n }\r\n else if (this.customer_segment_abbr == 'SE-RI') {\r\n saveRecords.companies = [];\r\n saveRecords.company_with_relationships = [];\r\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\r\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\r\n //saveRecords.applicant_relation=answerData.applicant_relation;\r\n }\r\n\r\n saveRecords.individuals=valuesData_indi;\r\n // saveRecords.companies=valuesData\r\n saveRecords.parent_pdid=answerData.parent_pdid\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.fk_createdby=this.users; \r\n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\r\n // saveRecords.company_with_relationships=answerData.company_with_relationships\r\n saveRecords.general_remark=answerData.general_remark;\r\n \r\n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\r\n if(dataResult['dataStatus']==true){\r\n //TO CHANGE THE FORM STATE \r\n this.generalForm.reset(this.generalForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },3000);\r\n \r\n\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n })\r\n \r\n /* Old Data\r\n if(this.generalForm.valid)\r\n {\r\n let saveRecords:any = {}\r\n let applicantList:any=[];\r\n let applicantRelationList:any=[];\r\n // this for applicant list for selected\r\n answerData.applicant_list.forEach((element,key) => {\r\n if(element.exist_status==1){\r\n applicantList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n }) \r\n }\r\n });\r\n // this is for selected applicant relation \r\n answerData.applicant_relation.forEach((element,key) => {\r\n applicantRelationList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n \"company_name\":element.company_name,\r\n \"company_relationship\":element.company_relationship,\r\n \"applicant_relation_to\":element.applicant_relation_to,\r\n \"relationship\":element.relationship,\r\n }) \r\n });\r\n \r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.general_remark=answerData.general_remark;\r\n saveRecords.selected_applicant=applicantList;\r\n saveRecords.applicant_relation=applicantRelationList;\r\n saveRecords.fk_createdby = this.users;\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n } \r\n })\r\n }*/\r\n }\r\n\r\n getGeneralForm()\r\n {\r\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n this.data_all=res['records'];\r\n let exist_companies:any;\r\n let exist_company_with_relationship:any;\r\n let companyControl = this.generalForm.get('company_value') as FormArray;\r\n companyControl.controls=[]\r\n this.lengthv=this.data_all;\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n \r\n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\r\n //\r\n\r\n var arrlist_indi:any=[] \r\n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\r\n return res['records'].individuals[key];\r\n }) \r\n if(exist_individuals.length>0){\r\n exist_individuals.forEach((element)=>{\r\n if(element.is_active != false){\r\n arrlist_indi.push(element);\r\n }\r\n else{\r\n this.OldData_indi.push(element)\r\n }\r\n })\r\n }\r\n this.initlistv(arrlist_indi,'get')\r\n \r\n \r\n if(this.data_all.persons_with_relationships != ''){\r\n this.initPersonRelationship(this.data_all.persons_with_relationships);\r\n }\r\n //Create Company with Relationship\r\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\r\n return res['records'].company_with_relationships[key];\r\n })\r\n console.log(\"Customer Segment\",this.customer_segment_abbr)\r\n if(this.customer_segment_abbr !='SE-RI')\r\n {\r\n if(exist_company_with_relationship.length>0){\r\n // exist_company_with_relationship.forEach(key=>{\r\n // console.log(\"company relation\",key)\r\n // this.initCompanyRelationShip(key)\r\n // })\r\n this.initCompanyRelationShip(exist_company_with_relationship);\r\n }\r\n else if(exist_company_with_relationship.length==0){\r\n this.initCompanyRelationShip('');\r\n }\r\n //create Companies\r\n exist_companies=Object.keys(res['records'].companies).map(function(key){\r\n return res['records'].companies[key];\r\n })\r\n var arraylis:any=[]\r\n if(exist_companies.length>0){\r\n exist_companies.forEach((element,cindex)=>{\r\n if(element.is_active!=false){\r\n arraylis.push(element);\r\n }\r\n else{\r\n this.OldData.push(element);\r\n }\r\n })\r\n \r\n }\r\n this.initCompanyValue(arraylis,'get');\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\r\n }\r\n else if(this.customer_segment_abbr == 'SE-RI'){\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\r\n\r\n }\r\n\r\n // var arraylis:any=[]\r\n \r\n \r\n // if(exist_companies.length>0){\r\n // exist_companies.forEach((element,cindex)=>{\r\n // if(element.is_active!=false){\r\n // arraylis.push(element);\r\n // }\r\n // else{\r\n // this.OldData.push(element);\r\n // }\r\n // })\r\n \r\n // }\r\n // this.initCompanyValue(arraylis,'get');\r\n \r\n \r\n\r\n // if(this.data_all.company_with_relationships != ''){\r\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\r\n // }\r\n \r\n }\r\n else{\r\n console.log(\"Else data\",this.pd_applicants_details)\r\n this.pd_applicants_details.forEach((datas,index)=>{\r\n datas.is_applicant=true,\r\n datas.is_person_met = false;\r\n datas.is_person_met_pic = '';\r\n datas.is_person_met_id_proof = '';\r\n datas.is_new = false;\r\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\r\n datas.is_active = true;\r\n datas.individuals_order_id = index + 1;\r\n // company_order_id = index+1,\r\n datas.age = '',\r\n datas.qualification = '',\r\n datas.course_name = ''\r\n \r\n if (datas.company_name != '' && datas.company_name != null) {\r\n console.log(\"company\");\r\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id:this.pdDetails.pd_id }\r\n companyControl.push(this.createCompanies(setCompanyValues))\r\n }\r\n });\r\n \r\n // this.lengthv.push(\"individuals\")\r\n // this.lengthv.push(\"companies\")\r\n // this.lengthv.push('persons_with_relationships')\r\n //this.lengthv.push(\"\")\r\n console.log(\"applicant\",this.lengthv)\r\n this.initlistv(this.pd_applicants_details,'get');\r\n this.initPersonRelationship(this.pd_applicants_details)\r\n // this.initCompanyValue(this.pd_applicants_details,'get');\r\n this.initCompanyRelationShip('')\r\n\r\n }\r\n })\r\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n let generalDetails = res['records'];\r\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\r\n\r\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\r\n {\r\n return res['records'].applicant_relation[key];\r\n });\r\n\r\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\r\n {\r\n return res['records'].selected_applicant[key].pd_co_applicant_id;\r\n });\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\r\n let checkApplicantExist =actual_applicant.map((id, index) => {\r\n if (selected_applicant.indexOf(id) < 0) {\r\n this.pd_applicants_details[index].exist_status=0;\r\n return this.pd_applicants_details[index];\r\n }\r\n else{\r\n this.pd_applicants_details[index].exist_status=1;\r\n this.pd_applicants_details[index].applicant_relation_to='';\r\n this.pd_applicants_details[index].relation='';\r\n return this.pd_applicants_details[index];\r\n }\r\n }).filter(item => item != undefined);\r\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\r\n }else\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n }\r\n })*/\r\n }\r\n createCompanies(elementValue:any) {\r\n var name=this.businessEntityById(elementValue.business_entity_type)\r\n return this.fb.group({\r\n company_order_id: [elementValue.company_order_id],\r\n company_name: [elementValue.company_name,],\r\n company_messrs_name: ['M/s'],\r\n is_company_applicant:[elementValue.is_company_applicant],\r\n business_entity_type :[elementValue.business_entity_type,Validators.required],\r\n business_years: [elementValue.business_years, Validators.required],\r\n business_month: [elementValue.business_month],\r\n business_date_object: [elementValue.business_date_object],\r\n is_active: [elementValue.is_active],\r\n is_new:[elementValue.is_new],\r\n business_entity_type_name:[name],\r\n associate_pd_id:[elementValue.associate_pd_id]\r\n \r\n });\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.cons.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n\r\n sendImage(){\r\n \r\n this.loading.loaderForSendImage()\r\n console.log(\"image bucket - json data\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"DB - records\",JSON.stringify(records))\r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n // this.imageDisplay.push(this.imageBucket)\r\n // console.log(\"length\",this.imageDisplay.length)\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('applicant_name').value\r\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\r\n }\r\n\r\n ImageUpload(control,Flag : any){ \r\n if(Flag == 1){\r\n this.cameraProvider.getpicture().then(res=>{\r\n if(res != 'error'){\r\n control.controls['is_person_met_pic'].setValue(res);\r\n //this.toast.pdTriggerappmessage('Flag 1 Success');\r\n }\r\n else{\r\n control.controls['is_person_met_pic'].setValue('');\r\n // this.toast.pdTriggerappmessage('Flag 1 Fail');\r\n }\r\n console.table('1',this.generalForm.value);\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n }\r\n else if(Flag == 2){\r\n this.cameraProvider.getpicture().then(res=>{\r\n if(res != 'error'){\r\n control.controls['is_person_met_id_proof'].setValue(res);\r\n // this.toast.pdTriggerappmessage('Flag 2 Success');\r\n }\r\n else{\r\n control.controls['is_person_met_id_proof'].setValue('');\r\n // this.toast.pdTriggerappmessage('Flag 2 Fail');\r\n }\r\n // console.table('1',this.generalForm.value);\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-other-applicant',\r\n templateUrl: 'pd-question-general-other-applicant.html',\r\n})\r\nexport class PdQuestionGeneralOtherApplicantPage {\r\n otherForm:FormGroup;\r\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\r\n this.otherForm = this.fb.group(\r\n {\r\n otherName:this.fb.array([]),\r\n })\r\n this.addmore();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\r\n }\r\n\r\n createName(elementValue:any)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name, Validators.required],\r\n })\r\n }\r\n\r\n addmore()\r\n {\r\n if(this.otherForm.valid)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n control.push(this.createName(this.applicantInfo));\r\n }\r\n }\r\n\r\n deleteappdata(index)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n if(control.length==1){\r\n control.reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n closeModal(){\r\n this.viewCtrl.dismiss(1); \r\n }\r\n submitData(answerData)\r\n {\r\n if(this.otherForm.valid){\r\n this.viewCtrl.dismiss(this.otherForm.value);\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the SearchRelationPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'searchRelation',\r\n})\r\nexport class SearchRelationPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any, searchItem:any): any {\r\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\r\n if(findExistIndex.length>0){\r\n let check = value.filter(function(fVal){\r\n return !findExistIndex.some(function(sVal){\r\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/search-relation/search-relation.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport {CameraProvider} from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionNeighbourHoodPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-neighbour-hood',\r\n templateUrl: 'pd-question-neighbour-hood.html',\r\n})\r\nexport class PdQuestionNeighbourHoodPage {\r\n\r\n frequency: any;\r\n relationBusiness: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n neighbourhoodForm:FormGroup;\r\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\r\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\r\n {'id': 2,'name': \"Negative\"},\r\n {'id': 3,'name': \"Insufficient information provided\"}];\r\n\r\n // amtInWords:any=[];\r\n applicants:any;\r\n isDisplay:any = [];\r\n isDisplay2:any = [];\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n isOrganisationOwner: any=[];\r\n imageDisplay: any=[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\r\n public toast:ToastProvider,public fb:FormBuilder, \r\n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\r\n {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.neighbourhoodForm = this.fb.group(\r\n {\r\n parent_pdid:this.pdDetails.parent_pd_id,\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n check_type:0,\r\n neighbourhood_list: this.fb.array([]),\r\n neighbourhood_status:[''],\r\n referencecheck_list: this.fb.array([]),\r\n neighbour_reference_remark:'' \r\n })\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n this.getdropdown();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\r\n this.getneighbourhood();\r\n this.getPDImages();\r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\r\n if(this.neighbourhoodForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus==true){\r\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\r\n console.log(this.existCompanyList)\r\n }\r\n let modifyCompanyList:any=[]\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList=this.existCompanyList.map(element=>{\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\r\n \r\n }\r\n let modifyApplicantList:any=[]\r\n if(this.applicants.length>0){\r\n modifyApplicantList=this.applicants.map(element=>{\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n })\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\r\n })\r\n }\r\n inWords(val,i)\r\n {\r\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n }\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e,flag){\r\n if(flag == 2){\r\n\r\n let year = itemrow.controls.year_relation_applicant.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag == 1){\r\n \r\n let year = itemrow.controls.how_long_do_know_in_year.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\r\n }\r\n}\r\n\r\ntoggleVisibility(e,index,flag){ \r\n let val\r\n \r\n if(flag == 1){\r\n this.isDisplay[index] = e;\r\n }\r\n else if(flag==2){\r\n this.isDisplay2[index] = e;\r\n }\r\n}\r\n\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\n\r\n\r\ngetOtherOrganisationOwner(value,i) {\r\n //console.log('value',value,'I',i);\r\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n //console.log('ParCtrls',Ctrls);\r\nlet ChdCtrls:any = Ctrls.controls[i];\r\n // console.log('ChdCtrls',ChdCtrls);\r\n // return;\r\n\r\n\r\nlet Avaliablity = 1;\r\nconsole.log('val',value);\r\nif(value.length>0){\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n}\r\nif(Avaliablity == 0){\r\n// console.log('if Avaliablity',Avaliablity);\r\n\r\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\r\n this.isOrganisationOwner[i] = true;\r\n}else if(Avaliablity == 1){\r\n// console.log('else Avaliablity',Avaliablity);\r\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n ChdCtrls.controls.other_organisation_owner.setValue('');\r\n ChdCtrls.controls.other_organisation_owner.clearValidators();\r\n this.isOrganisationOwner[i] = false;\r\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n}\r\n \r\nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \r\n}\r\n createreferance()\r\n {\r\n return this.fb.group({\r\n reference_name: [null],\r\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n statecode:[null],\r\n landline: [null],\r\n location:[null],\r\n relationship_with:[null],\r\n others:[null],\r\n year_relation_applicant:[null],\r\n months_relation_applicant:[null],\r\n business_volume_amount:[null],\r\n business_volume_unit:[null],\r\n others_unit:[null],\r\n reference_final_remarks:[null],\r\n specify_final_remark:[null]\r\n });\r\n }\r\n addreferance()\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n control.push(this.createreferance());\r\n }\r\n\r\n removereferance(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n createNeighbourhood(){\r\n return this.fb.group({\r\n neighbourhood_name: [null],\r\n do_know: [''],\r\n \r\n how_long_do_know_in_year: [''],\r\n how_long_do_know_in_month:[''],\r\n organisation_owner: [''],\r\n is_applicant_owner:[''],\r\n other_organisation_owner:[''],\r\n did_not_know_the_business_operation:[''],\r\n did_not_know_the_owner:[''],\r\n });\r\n }\r\n\r\n addneighbourhood()\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n control.push(this.createNeighbourhood());\r\n }\r\n\r\n removeneighbourhood(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n submitData(answerData)\r\n {\r\n \r\n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\r\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\r\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\r\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\r\n\r\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\r\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\r\n if (NbhdCtrlLength > 0) {\r\n let Ncnt = 0;\r\n while(Ncnt < NbhdCtrlLength){\r\n\r\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \r\n\r\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\r\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\r\n\r\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\r\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\r\n \r\n\r\n if(nbhdChildCtrl.controls.do_know.value != ''){\r\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\r\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \r\n }\r\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\r\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\r\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \r\n }\r\n\r\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\r\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\r\n }\r\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\r\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\r\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\r\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\r\n }\r\n }\r\n Ncnt++;\r\n }\r\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\r\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\r\n }\r\n\r\n\r\n if (this.neighbourhoodForm.invalid) {\r\n // this.validateAllFormFields(this._neighbourhoodForm);\r\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\r\n return;\r\n }\r\n \r\n let saveRecords:any = {}\r\n let referencecheck_list:any=[];\r\n let neighbourhood_list:any=[];\r\n // if(answerData.check_type==0){\r\n answerData.neighbourhood_list.forEach((element,key) => {\r\n neighbourhood_list.push({\r\n \"neighbourhood_name\":element.neighbourhood_name,\r\n \"do_know\":element.do_know,\r\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\r\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\r\n \"is_applicant_owner\":element.is_applicant_owner,\r\n \"organisation_owner\":element.organisation_owner,\r\n \"other_organisation_owner\":element.other_organisation_owner,\r\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\r\n \"did_not_know_the_owner\":element.did_not_know_the_owner\r\n }) \r\n });\r\n saveRecords.neighbourhood_list=neighbourhood_list;\r\n \r\n // }\r\n // else{\r\n // this for referencecheck_list for selected\r\n answerData.referencecheck_list.forEach((element,key) => {\r\n referencecheck_list.push({\r\n \"reference_name\":element.reference_name,\r\n \"mobile\":element.mobile,\r\n \"landline\":element.statecode+'-'+element.landline,\r\n \"location\":element.location,\r\n \"relationship_with\":element.relationship_with,\r\n \"others\":element.others,\r\n \"year_relation_applicant\":element.year_relation_applicant,\r\n \"months_relation_applicant\":element.months_relation_applicant,\r\n \"business_volume_amount\":element.business_volume_amount,\r\n \"business_volume_unit\":element.business_volume_unit,\r\n \"others_unit\":element.others_unit,\r\n \"reference_final_remarks\":element.reference_final_remarks,\r\n \"specify_final_remark\":element.specify_final_remark\r\n }) \r\n });\r\n saveRecords.referencecheck_list=referencecheck_list;\r\n \r\n // }\r\n saveRecords.parent_pdid=answerData.parent_pd_id\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n // saveRecords.check_type=answerData.check_type;\r\n saveRecords.fk_createdby = this.users;\r\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\r\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\r\n\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n //TO CHANGE THE FORM STATE \r\n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n \r\n }\r\n\r\n getneighbourhood()\r\n {\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \r\n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let neighbourDetails = res['records'];\r\n // neighbourDetails.neighbourhood_list.=''\r\n \r\n // if(neighbourDetails.check_type==0)\r\n // {\r\n \r\n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\r\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\r\n {\r\n return res['records'].neighbourhood_list[key];\r\n });\r\n console.log('neighbourhood_list',neighbourhood_list);\r\n console.log('length',neighbourhood_list.length);\r\n if(neighbourhood_list.length > 0){\r\n\r\n \r\n neighbourhood_list.forEach((element,index)=>\r\n {\r\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\r\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\r\n neicontrol.push(this.createNeighbourhood());\r\n this.getOtherOrganisationOwner(element.organisation_owner,index)\r\n });\r\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\r\n \r\n\r\n }else\r\n {\r\n this.addneighbourhood();\r\n }\r\n // if(neighbourDetails.check_type==1)\r\n // {\r\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\r\n {\r\n return res['records'].referencecheck_list[key];\r\n });\r\n console.log('referencecheck_list',referencecheck_list);\r\n console.log('length',referencecheck_list.length);\r\n if(referencecheck_list.length > 0){\r\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n referencecheck_list.forEach((val,index)=>\r\n {\r\n let statecodesearch = val.landline.search(\"-\");\r\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\r\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\r\n control.push(this.createreferance());\r\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\r\n });\r\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\r\n \r\n }else\r\n {\r\n this.addreferance();\r\n }\r\n }else\r\n {\r\n this.addneighbourhood();\r\n this.addreferance();\r\n }\r\n })\r\n }\r\n\r\n /*Image SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constant.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n // this.imageDisplay.push(this.imageBucket)\r\n // console.log(\"length\",this.imageDisplay.length)\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('other_organisation_owner').value\r\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\r\n }\r\n\r\n\r\n}\r\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray,FormControl,Validators} from '@angular/forms';\r\n// import { t } from '@angular/core/src/render3';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { CameraProvider } from '../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFinalRemarkPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-final-remark',\r\n templateUrl: 'pd-question-final-remark.html',\r\n})\r\nexport class PdQuestionFinalRemarkPage {\r\n\r\n m_remarkTypeCustomerBehaviour:any=[];\r\n\r\n users:any;\r\n pdDetails:any;\r\n pdid:any;\r\n FormId:any;\r\n _finalRemarkForm:FormGroup;\r\n m_recommendationList: any=[];\r\n imageDisplay: any=[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n product_abbr: any;\r\n lender_short_name : any;\r\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\r\n {'id':'four_wheeler','name':'Four Wheeler'},\r\n {'id':'public_transport','name':'Public Transport'},\r\n {'id':'others','name':'Others'}]\r\n complete_status: boolean = false;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\r\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\r\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider,private constantProvider:ConstantsProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=aws.getlocale();\r\n this.lender_short_name = this.pdDetails.lender_short_name;\r\n this.product_abbr = this.pdDetails.product_abbr;\r\n \r\n this._finalRemarkForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid:[this.pdid],\r\n formid:[this.FormId.form_id],\r\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\r\n final_other_customer_behaviour:[null],\r\n is_service_provided:[null],\r\n final_form_remarks:[null],\r\n pd_officers_recommendation:[null],\r\n others_pd_officers_recommendation:[''],\r\n // reason_for_positive:[''],\r\n // reason_for_negative:[''],\r\n // reason_for_refer_to_credit:[''],\r\n recommendation_positive:this.fb.array([]),\r\n recommendation_negative:this.fb.array([]),\r\n recommendation_refer_to_credit:this.fb.array([]),\r\n\r\n was_the_pd_address_ogl:[''],\r\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\r\n others_transport:['',Validators.compose([Validators.required])]\r\n \r\n })\r\n\r\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ \r\n this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ;\r\n this._finalRemarkForm.addControl('is_competition', new FormControl(''));\r\n this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); \r\n this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); \r\n }\r\n else{ \r\n this._finalRemarkForm.removeControl('outlet_location');\r\n this._finalRemarkForm.removeControl('is_competition');\r\n this._finalRemarkForm.removeControl('sealing_activity'); \r\n this._finalRemarkForm.removeControl('demolition_activity'); \r\n }\r\n\r\n this.getDropDown();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\r\n this.getFinalRemark();\r\n this.getPDImages();\r\n \r\n }\r\n ionViewCanLeave(){\r\n console.log(\"dirty\",this._finalRemarkForm.dirty);\r\n if(this._finalRemarkForm.dirty){\r\n \r\n return new Promise((resolve,reject)=>{\r\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data)=>{\r\n console.log(\"d\",data);\r\n if(data== false){\r\n reject();\r\n return true;\r\n }\r\n else{\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n \r\n }\r\n else{\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n console.log(\"d\", data);\r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n \r\n }\r\n \r\n }\r\ngetDropDown(){\r\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\r\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\r\n })\r\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\r\n this.m_recommendationList=res['records'].filter(val=>val.pdofficer_recommendation_id!=1)\r\n })\r\n}\r\ncreateRecomendationPositive(data){\r\n console.log(\"val\",data)\r\n return this.fb.group({\r\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\r\n })\r\n}\r\naddRecomendationPositive(){\r\n const control= this._finalRemarkForm.controls['recommendation_positive'];\r\n control.push(this.createRecomendationPositive(null))\r\n}\r\nremoveRecomendationPositive(index){\r\n const control= this._finalRemarkForm.controls['recommendation_positive'];\r\n control.removeAt(index);\r\n}\r\ncreateRecomendationNegative(data){\r\n return this.fb.group({\r\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\r\n })\r\n}\r\naddRecomendationNegative(){\r\n const control= this._finalRemarkForm.controls['recommendation_negative']\r\n control.push(this.createRecomendationNegative(null))\r\n}\r\nremoveRecomendationNegative(index){\r\n const control= this._finalRemarkForm.controls['recommendation_negative']\r\n control.removeAt(index)\r\n}\r\ncreateRecomendationCreditRefer(data){\r\n return this.fb.group({\r\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\r\n })\r\n}\r\naddRecomendationCreditRefer(){\r\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\r\n control.push(this.createRecomendationCreditRefer(null));\r\n}\r\nremoveRecomendationCreditRefer(index){\r\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\r\n control.removeAt(index)\r\n}\r\n\r\nRecommendationChange(e) {\r\n // console.log('Event',e);\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n\r\n if (e == 1) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n }\r\n }\r\n \r\n\r\n }\r\n if (e == 2) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n\r\n }\r\n\r\n if (e == 3) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n }\r\n }\r\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\r\n\r\n }\r\n if (e == 4) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n }\r\n}\r\n getFinalRemark(){\r\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\r\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\r\n \r\n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\r\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\r\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\r\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\r\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\r\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\r\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\r\n this.setValidation();\r\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\r\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\r\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\r\n if(data['records'].recommendation_positive.length>0){\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n data['records'].recommendation_positive.forEach((val,index)=>{\r\n console.log(\"for\",val);\r\n if(val.reason_for_positive != null){\r\n let obj={'reason_for_positive':val.reason_for_positive};\r\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\r\n }\r\n })\r\n }\r\n if(data['records'].recommendation_negative.length>0){\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n data['records'].recommendation_negative.forEach((val,index)=>{\r\n console.log(\"for\",val);\r\n let obj={'reason_for_negative':val.reason_for_negative};\r\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\r\n })\r\n }\r\n if(data['records'].recommendation_refer_to_credit.length>0){\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n data['records'].recommendation_refer_to_credit.forEach(val=>{\r\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\r\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\r\n })\r\n }\r\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\r\n\r\n if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){\r\n \r\n this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location);\r\n this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);\r\n this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); \r\n this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); \r\n this.clixChange(data['records'].is_competition,1);\r\n this.clixChange(data['records'].sealing_activity,2);\r\n this.clixChange(data['records'].demolition_activity,3);\r\n \r\n if(data['records'].is_competition ==true){ this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores);}\r\n if(data['records'].sealing_activity ==true){ this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity);\r\n this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); }\r\n if(data['records'].demolition_activity ==true) {this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); \r\n this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); }\r\n }\r\n\r\n }\r\n else{\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\r\n }\r\n })\r\n \r\n }\r\n\r\n clixChange(e,flag){\r\n if(flag == 1){ \r\n console.log(e,flag);\r\n e==true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores');\r\n }\r\n if(flag == 2){\r\n console.log(e,flag);\r\n e==true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity');\r\n e==true ? this._finalRemarkForm.addControl('demolition_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('demolition_activity_pic');\r\n }\r\n if(flag == 3){\r\n console.log(e,flag);\r\n e==true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity');\r\n e==true ? this._finalRemarkForm.addControl('sealing_activity_pic', new FormControl('')) : this._finalRemarkForm.removeControl('sealing_activity_pic');\r\n }\r\n }\r\n\r\n saveFinalRemark(){\r\n if(this._finalRemarkForm.invalid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\r\n }\r\n else{\r\n var answerData=this._finalRemarkForm.value\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n this.qustcat.saveForm(answerData).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n //TO CHANGE THE FORM STATE \r\n this._finalRemarkForm.reset(this._finalRemarkForm.value);\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n });\r\n }\r\n }\r\n\r\n ImageUpload(Flag : any){ \r\n if(Flag == 1){\r\n this.cameraProvider.getpicture().then(res=>{\r\n if(res != 'error'){\r\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res);\r\n }\r\n else{\r\n this._finalRemarkForm.controls['demolition_activity_pic'].setValue('');\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n }\r\n else if(Flag == 2){\r\n this.cameraProvider.getpicture().then(res=>{\r\n if(res != 'error'){\r\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res);\r\n }\r\n else{\r\n this._finalRemarkForm.controls['sealing_activity_pic'].setValue('');\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n }\r\n}\r\n\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\r\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n}\r\n\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n}\r\nchangeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n}\r\nremoveImg(index){\r\n this.imageDisplay.splice(index,1);\r\n}\r\nremoveImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n}\r\ncapture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n\r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.FormId.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':'',\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustcat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n setValidation(){\r\n console.log(\"enter\");\r\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\r\n this._finalRemarkForm.controls['others_transport'].setValue('');\r\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\r\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\r\n }\r\n else{\r\n this._finalRemarkForm.controls['others_transport'].setValue('');\r\n this._finalRemarkForm.controls['others_transport'].clearValidators();\r\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\r\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\r\nimport {PdQuestionFuturePlansAndBusinessEnvironmentPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessGroupPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-group',\r\n templateUrl: 'pd-question-business-group.html',\r\n})\r\nexport class PdQuestionBusinessGroupPage {\r\n \r\n FormId: any;\r\n pdDetails: any = [];\r\n existCompanyList: any = [];\r\n waitLoading:boolean;\r\n count:number;\r\n forms_order:any=[]\r\n\r\n constructor(public navCtrl: NavController, \r\n public navParams: NavParams,\r\n public qustCat:QuestionCategoryProvider){\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n // this.getCompanyListForBusiness(); \r\n \r\n\r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getCompanyListForBusiness(); \r\n //this.colorChange();\r\n\r\n }\r\n \r\n /** To Get General Form's Company List */\r\n getCompanyListForBusiness(): void{\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList = data.records.filter(val =>val.is_active);\r\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\r\n // return this.existCompanyList.form_status[key]\r\n // })\r\n //console.log(forms)\r\n // console.log(this.existCompanyList)\r\n this.existCompanyList.forEach((key,ele)=>{\r\n this.forms_order.push(key.form_status)\r\n })\r\n console.log(this.forms_order)\r\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\r\n console.log(this.forms_order)\r\n // this.existCompanyList.forEach(element=>{\r\n // console.log(element);\r\n // })\r\n \r\n \r\n // this.existCompanyList.array.forEach(element => {\r\n // console.log(element)\r\n // });\r\n \r\n \r\n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\r\n if(this.existCompanyList.length==1){\r\n this.count=0\r\n }\r\n this.waitLoading = true;\r\n }\r\n else {\r\n this.waitLoading = false;\r\n }\r\n })\r\n }\r\n \r\n\r\n /** To Get Related Form Details */\r\n OnSelectBusinessGroupForms(details: any, company: any) {\r\n \r\n this.pdDetails.company_id = company.company_order_id;\r\n this.pdDetails.company_name = company.company_name;\r\n this.pdDetails.business_entity_type = company.business_entity_type;\r\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\r\n this.pdDetails.business_years = company.business_years;\r\n this.pdDetails.business_month = company.business_month;\r\n console.log(details.form_id);\r\n \r\n if(details.form_id==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n if(details.form_id==2){\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==11){\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==13){\r\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==14){\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==15){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==21){\r\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==22){\r\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==16){\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n if(details.form_id==23){\r\n this.navCtrl.push(PdQuestionFuturePlansAndBusinessEnvironmentPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators, FormControl } from '@angular/forms';\r\nimport { createPipe } from '@angular/compiler/src/core';\r\nimport { elementAt, takeUntil } from 'rxjs/operators';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\nimport { Subject, ReplaySubject } from 'rxjs';\r\nimport { searchValue } from '../../search'\r\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\r\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionBusinessInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-info',\r\n templateUrl: 'pd-question-business-info.html',\r\n})\r\nexport class PdQuestionBusinessInfoPage {\r\n stateList: any = [];\r\n users: any; formdetails: any;\r\n FormId: any;\r\n pdDetails: any;\r\n businessForm: FormGroup;\r\n applicants: any = [];\r\n businessEntityTypeList: any = {\r\n business_entity_type_id: String,\r\n business_entity_type_name: String,\r\n sourcsection_labeleName: String\r\n };\r\n generalExistEntityType: string\r\n generalExistEntityType_other: string;\r\n generalExistBusinessYear: Number;\r\n generalExistBusinessMonth: Number;\r\n pdid: any;\r\n step: number\r\n\r\n relationData: any = [];\r\n industryData: any = [];\r\n activityData: any = [];\r\n relativeNames: any;\r\n companyRelationShipList: any = []\r\n countryDataList: any = []\r\n exist_status: any;\r\n\r\n filterCityList: any = [];\r\n errorMessage: any = [];\r\n appxSalaryAmtInwords: any;\r\n titleData: any = []\r\n personsList: any = []\r\n\r\n ManufacturingChecked: boolean;\r\n RetailedChecked: boolean;\r\n WholeSalesChecked: boolean;\r\n ServiceChecked: boolean;\r\n ExportFlag: boolean = false;\r\n bankList: any = [];\r\n bankListValue: any = [];\r\n temp_additiondetailofposmachine: any = []\r\n isreadonlyyear: any = [];\r\n isreadonlymonth: any = [];\r\n EntityTypeFlag: boolean = false\r\n\r\n yearErrorMessage: any = [];\r\n monthErrorMessage: any = [];\r\n errorMessageForExistTotalWorkExperience: any = [];\r\n countryDataListValue: any = [];\r\n product_abbr: any;\r\n lender_short_name: any;\r\n\r\n @ViewChild('shareholding') share_focus: ElementRef\r\n private search: searchValue[]\r\n protected _onDestroy = new Subject();\r\n public filteredCity: ReplaySubject = new ReplaySubject(1);\r\n //public filterCity=new Rx.Subject()\r\n public filteredState: ReplaySubject = new ReplaySubject(1)\r\n public filteredCountry: ReplaySubject = new ReplaySubject(1)\r\n cityData: any = []\r\n cityDataValue: any = []\r\n imageDisplay: any[];\r\n imageBucket: any = [];\r\n tab: string = '0';\r\n complete_status: boolean = false;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws: AwsServiceProvider, public toast: ToastProvider,\r\n public qustCat: QuestionCategoryProvider, public fb: FormBuilder, public cons: ConstantsProvider,\r\n private loading: LoadingProvider, private cameraProvider: CameraProvider) {\r\n this.getStateCityDet();\r\n // console.log(typeof this.filteredCity)\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid = this.pdDetails.pd_id\r\n\r\n this.formdetails = this.navParams.get('formDetails');\r\n\r\n this.FormId = this.formdetails.form_id;\r\n this.users = this.aws.getlocale();\r\n\r\n this.applicants = this.pdDetails.applicat_details;\r\n console.log(\"pd\", this.pdDetails);\r\n this.generalExistEntityType = this.pdDetails.business_entity_type\r\n this.generalExistEntityType_other = this.pdDetails.business_entity_type_other\r\n this.generalExistBusinessYear = this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.lender_short_name = this.pdDetails.lender_short_name;\r\n this.product_abbr = this.pdDetails.product_abbr;\r\n this.step = 0\r\n\r\n\r\n\r\n // this.initBusinessForm();\r\n // this.getBuisnessDetails();\r\n\r\n this.businessForm = this.fb.group({\r\n fk_createdby: [this.users],\r\n parent_pdid: [this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: [this.FormId],\r\n company_id: this.pdDetails.company_id,\r\n partners: this.fb.array([]),\r\n persons_with_relationships: this.fb.array([]),\r\n select_business_activity_type: this.fb.array([]),\r\n manufacturing_activity_details: this.fb.array([]),\r\n retail_trading_activity_details: this.fb.array([]),\r\n wholesale_trading_activity_details: this.fb.array([]),\r\n service_provider_activity_details: this.fb.array([]),\r\n // others_activity_details:this.fb.array([]),\r\n export_sale_of_total_sales: ['', Validators.compose([Validators.max(100), Validators.min(0)])],\r\n // applicant_use_mobile_wallets:[''],\r\n // applicant_use_pos_machines:[''],\r\n // no_of_pos_machines:[''],\r\n seasonality: [''],\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n employees_appx_salary: [''],\r\n was_the_company_name_board_sighted: ['', Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\r\n // shop_eat_act_cert_pic:['', Validators.compose([Validators.required])],\r\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\r\n //export_import_cert: [''],\r\n //factory_cert: [''],\r\n //practice_cert: [''],\r\n pf_regn: ['', Validators.compose([Validators.required])],\r\n esic_regn: ['', Validators.compose([Validators.required])],\r\n other_documents: [''],\r\n documents: this.fb.array([]),\r\n business_remarks: ['']\r\n })\r\n this.getdropdown();\r\n\r\n // this.initBusinessForm();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\r\n this.getPDImages();\r\n\r\n\r\n }\r\n getdropdown() {\r\n\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\r\n\r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.relationData.push(val);\r\n }\r\n })\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data => {\r\n if (data['dataStatus'] == true) {\r\n let filterList = data['records'].filter(val => val.business_entity_type_id == this.generalExistEntityType);\r\n console.log(\"Filter\", filterList)\r\n if (filterList.length > 0) {\r\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1;\r\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\r\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : this.generalExistEntityType_other;\r\n\r\n if (this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') {\r\n this.EntityTypeFlag = true;\r\n }\r\n }\r\n }\r\n\r\n });\r\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\r\n\r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.industryData.push(val);\r\n }\r\n })\r\n });\r\n\r\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\r\n\r\n data['records'].forEach(val => {\r\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\r\n this.activityData.push(val);\r\n }\r\n })\r\n });\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data => {\r\n this.companyRelationShipList = data['records'].filter(val => val.isactive == 1);\r\n\r\n });\r\n\r\n\r\n\r\n this.qustCat.getcommondrop('COUNTRY').subscribe(data => {\r\n this.countryDataList = data['records'].filter(val => val.isactive == 1);\r\n this.filteredCountry.next(this.countryDataList.slice());\r\n });\r\n this.qustCat.getcommondrop('TITLES').subscribe(data => {\r\n this.titleData = data['records'].filter(val => val.isactive == 1);\r\n })\r\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data => {\r\n if (data.dataStatus) {\r\n\r\n this.personsList = data['record'].filter(val => val.applicant_type == 1)\r\n\r\n }\r\n })\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data => {\r\n this.bankList = data['records'].filter(val => val.isactive == 1 && val.lender_type == 1);\r\n this.bankListValue = this.bankList.slice();\r\n })\r\n\r\n }\r\n getStateCityDet() {\r\n this.qustCat.getStateCityDetails().subscribe(data => {\r\n\r\n\r\n this.stateList = data.records\r\n this.filteredState.next(this.stateList.slice())\r\n\r\n this.getDetails();\r\n });\r\n\r\n\r\n }\r\n changeOfStartedBusiness(members, i, e) {\r\n if (e == 'yes') {\r\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\r\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\r\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\r\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\r\n }\r\n else {\r\n this.isreadonlyyear[i] = false;\r\n this.isreadonlymonth[i] = false;\r\n }\r\n }\r\n getDetails() {\r\n\r\n let params: any = {};\r\n params.parent_pdid = this.pdDetails.parent_pd_id\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = 13\r\n params.company_id = this.pdDetails.company_id;\r\n this.qustCat.retiverForm(params).subscribe(data => {\r\n console.log('data[records]', data['records']);\r\n let businessVal = data['records']\r\n let constVal: any;\r\n\r\n\r\n const Partnr: any = this.businessForm.controls['partners'];\r\n\r\n const control1: any = this.businessForm.controls['persons_with_relationships'];\r\n\r\n const business_activity: any = this.businessForm.controls['select_business_activity_type'];\r\n\r\n const manufacture_details: any = this.businessForm.controls['manufacturing_activity_details'];\r\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\r\n const wholesaleControl: any = this.businessForm.controls['wholesale_trading_activity_details'];\r\n const serviceProviderControl: any = this.businessForm.controls['service_provider_activity_details'];\r\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n //retailControl.push(this.manufactureDetails());\r\n //manufacture_details.push(this.manufactureDetails())\r\n\r\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\r\n //india_sales.push(this.indiaSalesDone())\r\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\r\n // country_sale.push(this.createCountrySale());\r\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\r\n //max_sale_state.push(this.maxSaleState())\r\n this.product_abbr == 'LAEP' ? this.businessForm.addControl('fire_noc', new FormControl(null, Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc');\r\n if (data['status'] == 200) {\r\n\r\n let DocArray: any;\r\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\r\n return data['records'].partners[key];\r\n })\r\n\r\n if (PartnrArray.length == 0) {\r\n Partnr.push(this.createPartners())\r\n }\r\n else {\r\n PartnrArray.forEach((datas, key) => {\r\n Partnr.push(this.createPartners());\r\n if (datas.partner_name == 'Others') {\r\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\r\n }\r\n if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\r\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else {\r\n Partnr.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n });\r\n }\r\n if (data['records'].persons_with_relationships) {\r\n let PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) {\r\n return data['records'].persons_with_relationships[key];\r\n })\r\n if (PartnrArray1.length > 0) {\r\n PartnrArray1.forEach((datas, key) => {\r\n control1.push(this.createRelationShip());\r\n })\r\n businessVal.persons_with_relationships = PartnrArray1\r\n\r\n }\r\n else {\r\n //control1.push(this.createRelationShip());\r\n businessVal.persons_with_relationships = []\r\n }\r\n }\r\n else {\r\n businessVal.persons_with_relationships = []\r\n\r\n }\r\n\r\n\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{ document: '', document_pic: '' }];\r\n otherDoc.push(this.createDocument());\r\n }\r\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\r\n businessVal.pdid = this.pdid;\r\n businessVal.formid = 13;\r\n businessVal.company_id = this.pdDetails.company_id;\r\n businessVal.fk_createdby = this.users;\r\n //businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n // businessVal.persons_with_relationships=PartnrArray1\r\n businessVal.documents = DocArray\r\n\r\n if (businessVal.employees_appx_salary) {\r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\r\n }\r\n\r\n\r\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\r\n // this.businessForm.setValue(businessVal);\r\n //this.businessForm.value.seasonality\r\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id }))\r\n let exist_activity_data: any = [];\r\n if (data['records'].select_business_activity_type) {\r\n exist_activity_data = Object.keys(data['records'].select_business_activity_type).map(function (key) {\r\n return data['records'].select_business_activity_type[key].type_of_activity_id;\r\n });\r\n }\r\n\r\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\r\n let check_exist_businees_activity = actual_businees_activity.map((id, index) => {\r\n if (exist_activity_data.indexOf(id) < 0) {\r\n activityData[index].exist_status = 0;\r\n return activityData[index];\r\n }\r\n else {\r\n activityData[index].exist_status = 1;\r\n return activityData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n\r\n if (check_exist_businees_activity.length > 0) {\r\n check_exist_businees_activity.forEach((val, index) => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\r\n\r\n });\r\n\r\n businessVal.select_business_activity_type = check_exist_businees_activity;\r\n }\r\n // business_activity.push(this.createBusinessActivity())\r\n\r\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\r\n\r\n if (data['records'].manufacturing_activity_details) {\r\n let selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) {\r\n return data['records'].manufacturing_activity_details[key];\r\n });\r\n if (selectedManufacturing.length > 0) {\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n\r\n selectedManufacturing.forEach((element, index) => {\r\n this.CheckExport(element.area_of_sale, 'MActivity', index)\r\n manufacture_details.push(this.manufactureDetails())\r\n if (element.area_of_sale == 'Within India') {\r\n\r\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]))\r\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n })\r\n }\r\n else if (element.area_of_sale == 'Export') {\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Both') {\r\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n manufacture_details.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n manufacture_details.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n\r\n }\r\n });\r\n businessVal.manufacturing_activity_details = selectedManufacturing;\r\n\r\n\r\n }\r\n else {\r\n\r\n businessVal.manufacturing_activity_details = [];\r\n }\r\n }\r\n else {\r\n\r\n businessVal.manufacturing_activity_details = [];\r\n }\r\n\r\n if (data['records'].retail_trading_activity_details) {\r\n\r\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\r\n return data['records'].retail_trading_activity_details[key];\r\n });\r\n if (selectedRetail.length > 0) {\r\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedRetail.forEach((element, index) => {\r\n this.CheckExport(element.area_of_sale, 'RActivity', index)\r\n retailControl.push(this.manufactureDetails());\r\n if (element.area_of_sale == 'Within India') {\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Export') {\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Both') {\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n retailControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n });\r\n businessVal.retail_trading_activity_details = selectedRetail;\r\n }\r\n else {\r\n businessVal.retail_trading_activity_details = [];\r\n }\r\n }\r\n else {\r\n businessVal.retail_trading_activity_details = [];\r\n }\r\n\r\n\r\n // update whole sale details\r\n if (data['records'].wholesale_trading_activity_details) {\r\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\r\n return data['records'].wholesale_trading_activity_details[key];\r\n });\r\n if (selectedWholesale.length > 0) {\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedWholesale.forEach((element, index) => {\r\n this.CheckExport(element.area_of_sale, 'WActivity', index)\r\n wholesaleControl.push(this.manufactureDetails());\r\n if (element.area_of_sale == 'Within India') {\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Export') {\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Both') {\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n wholesaleControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n\r\n });\r\n businessVal.wholesale_trading_activity_details = selectedWholesale;\r\n }\r\n else {\r\n businessVal.wholesale_trading_activity_details = [];\r\n }\r\n }\r\n else {\r\n businessVal.wholesale_trading_activity_details = [];\r\n\r\n }\r\n\r\n\r\n if (data['records'].service_provider_activity_details) {\r\n let selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) {\r\n return data['records'].service_provider_activity_details[key];\r\n })\r\n if (selectedService.length > 0) {\r\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');\r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details', this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n\r\n selectedService.forEach((element, index) => {\r\n this.CheckExport(element.area_of_sale, 'SPActivity', index)\r\n serviceProviderControl.push(this.manufactureDetails());\r\n\r\n if (element.area_of_sale == 'Within India') {\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Export') {\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n\r\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if (element.area_of_sale == 'Both') {\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options', new FormControl('', Validators.required));\r\n serviceProviderControl.controls[index].addControl('max_sale_state_name', this.fb.array([]));\r\n element.india_where_sale_done.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n element.max_sale_state_name.forEach((innerElement, innerIndex) => {\r\n this.filterCityData(this.stateList, innerElement.state_name, innerIndex);\r\n let innercontrol: any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innerElement.stateSearch = ''\r\n innerElement.citySearch = ''\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement, innerIndex) => {\r\n let innercontrol: any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innerElement.countrySearch = '';\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n\r\n\r\n }\r\n });\r\n\r\n\r\n businessVal.service_provider_activity_details = selectedService;\r\n\r\n }\r\n else {\r\n businessVal.service_provider_activity_details = [];\r\n\r\n }\r\n }\r\n else {\r\n businessVal.service_provider_activity_details = [];\r\n\r\n }\r\n\r\n // if(data['records'].others_activity_details){ \r\n\r\n // // update others activity details\r\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\r\n // return data['records'].others_activity_details[key];\r\n // });\r\n // if(selectedOthers.length > 0) {\r\n // selectedOthers.forEach((element,index)=>{\r\n // othersControl.push(this.createOthersActivity());\r\n // });\r\n // businessVal.others_activity_details=selectedOthers;\r\n // }\r\n // else{\r\n // businessVal.others_activity_details=[];\r\n // } \r\n // }\r\n // else {\r\n // businessVal.others_activity_details=[];\r\n\r\n // } \r\n\r\n // dynamically add form group control\r\n if (data['dataStatus']) {\r\n\r\n if (data['records'].seasonality.toUpperCase() == 'YES') {\r\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\r\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required));\r\n }\r\n\r\n\r\n\r\n }\r\n\r\n\r\n // this.businessForm.controls['partners'].setValue(PartnrArray);\r\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\r\n\r\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\r\n if (businessVal.applicant_use_pos_machines == 'yes') {\r\n //For Adding the bank search in data\r\n businessVal.pos_machines_details.forEach(value => {\r\n value.bankSearch = ''\r\n })\r\n //-----------------------\r\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\r\n const posControl: any = this.businessForm.controls['pos_machines_details'];\r\n for (let i = 1; i <= businessVal.no_of_pos_machines; i++) {\r\n\r\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\r\n }\r\n }\r\n console.log('businessVal', businessVal);\r\n if (data['records'].gst_Regn_cert == 'yes') { this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('gst_Regn_cert_pic'); }\r\n if (data['records'].factory_cert == 'yes') { this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('factory_cert_pic'); }\r\n if (data['records'].practice_cert == 'yes') { this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('practice_cert_pic'); }\r\n if (data['records'].shop_eat_act_cert == 'yes') { this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('shop_eat_act_cert_pic'); }\r\n if (data['records'].pf_regn == 'yes') { this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('pf_regn_pic'); }\r\n if (data['records'].esic_regn == 'yes') { this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('esic_regn_pic'); }\r\n if (data['records'].export_import_cert == 'yes') { this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('export_import_cert_pic'); }\r\n if (data['records'].fire_noc == 'yes') { this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))); } else { this.businessForm.removeControl('fire_noc_pic'); }\r\n\r\n this.businessForm.setValue(businessVal);\r\n\r\n\r\n }\r\n else {\r\n console.log('console.log 2');\r\n Partnr.push(this.createPartners());\r\n control1.push(this.createRelationShip())\r\n //otherDoc.push(this.createDocument());\r\n\r\n // find business activity type businees activity type list\r\n let activityData = this.activityData.map(item => ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }))\r\n if (activityData.length > 0) {\r\n activityData.forEach(val => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n });\r\n }\r\n\r\n }\r\n })\r\n // change business sessional\r\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\r\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\r\n val.toUpperCase() == 'YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\r\n });\r\n\r\n // if(this.businessForm.controls['gst_Regn_cert']){\r\n // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\r\n\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\r\n // });}\r\n // if(this.businessForm.controls['factory_cert']){\r\n // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\r\n // });}\r\n // if(this.businessForm.controls['practice_cert']){\r\n // this.businessForm.controls['practice_cert'].valueChanges.subscribe(val => {\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\r\n // });}\r\n // if(this.businessForm.controls['shop_eat_act_cert']){\r\n // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\r\n // });}\r\n // if(this.businessForm.controls['pf_regn']){\r\n // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\r\n // });}\r\n // if(this.businessForm.controls['esic_regn']){\r\n // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\r\n // });}\r\n // if(this.businessForm.controls['export_import_cert']){\r\n // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\r\n // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\r\n // });\r\n // }\r\n\r\n }\r\n\r\n filterCity(datasource: any, filterid: number) {\r\n // if(val){\r\n // console.log(\"val\",val)\r\n // return val\r\n // }\r\n\r\n\r\n if (filterid) {\r\n console.log(\"val filter\", filterid)\r\n let filter = this.stateList.filter(x => x.state_id == filterid);\r\n return filter.length > 0 ? filter[0].cities : [];\r\n }\r\n }\r\n filterCityData(datasource: any, filterid: number, index) {\r\n console.log(\"test\")\r\n console.log(filterid, index)\r\n\r\n if (filterid) {\r\n let filter = this.stateList.filter(x => x.state_id == filterid);\r\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\r\n // this.filteredCity.next(this.cityData[index].slice())\r\n this.cityDataValue[index] = this.cityData[index].slice()\r\n console.log(\"filter \", this.cityDataValue[index])\r\n }\r\n // console.log(\"City value\",this.cityData[index])\r\n }\r\n\r\n // filter max sale options\r\n filterMaxSaleState(datasource: any, filterValues: any) {\r\n this.filterCityList = filterValues;\r\n if (filterValues) {\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n let getStateValues = filterValues.filter(val => val.state_name).map(mapVal => mapVal.state_name);\r\n let setStateFilter: any = [];\r\n setStateFilter = getStateValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n return datasource[findIndex];\r\n });\r\n return setStateFilter.length > 0 ? setStateFilter : [];\r\n }\r\n }\r\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\r\n if (filterValues) {\r\n let setCityValues: any = [];\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n filterValues.forEach((stateElement, statePos) => {\r\n selectedCites.forEach((existElement, existPos) => {\r\n if (stateElement == existElement.state_name && existElement.city_name.length > 0) {\r\n let findIndex = getOriginalStateList.indexOf(stateElement);\r\n findIndex = datasource[findIndex].cities;\r\n\r\n let getAllCities: any = existElement.city_name.filter(cVal => cVal == \"1\");\r\n // this is for throuh out states city\r\n if (getAllCities.length > 0) {\r\n setCityValues = setCityValues.concat.apply(setCityValues, findIndex);\r\n // console.log(\"First\",setCityValues)\r\n }\r\n // this is for seleted states city\r\n else {\r\n let check: any = findIndex.filter(function (fVal) {\r\n return existElement.city_name.some(function (sVal) {\r\n return fVal.city_id == sVal;\r\n });\r\n });\r\n setCityValues = setCityValues.concat.apply(setCityValues, check);\r\n // console.log(\"second\",setCityValues) \r\n\r\n }\r\n }\r\n\r\n });\r\n });\r\n return setCityValues.length > 0 ? setCityValues.filter(fVal => fVal.city_id != \"1\") : [];\r\n\r\n }\r\n else {\r\n return [];\r\n }\r\n }\r\n // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \r\n // console.log(selectedCites)\r\n // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\r\n // console.log(\"selectd\",existCities)\r\n // existCities = [].concat.apply([], existCities);\r\n // existCities.forEach(element=>{\r\n // if(element== 1){\r\n\r\n // }\r\n // })\r\n // console.log(\"concat\",existCities)\r\n // if(filterValues){\r\n // let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n // console.log(\"Original map\",getOriginalStateList)\r\n // let setCityFilter = filterValues.map(x => {\r\n // let findIndex = getOriginalStateList.indexOf(x);\r\n // findIndex = datasource[findIndex].cities;\r\n // return findIndex;\r\n // });\r\n // console.log(\"findindex\",setCityFilter)\r\n\r\n // let merged = [].concat.apply([], setCityFilter);\r\n // console.log(\"merge\",merged)\r\n\r\n // if(merged.length>0){\r\n // let check: any = merged.filter(function(fVal){\r\n // return existCities.some(function(sVal){\r\n // return fVal.city_id==sVal;\r\n // });\r\n // })\r\n // console.log(check);\r\n // return check;\r\n\r\n // }\r\n // else {\r\n // return [];\r\n // }\r\n // }\r\n // else {\r\n // return [];\r\n // }\r\n // }\r\n\r\n\r\n checkTotalEmployee(FormData) {\r\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0));\r\n }\r\n // checkWithExistBusinessYear(e,i){\r\n // if(e > this.generalExistBusinessYear){\r\n // this.errorMessage[i] = \"Higher than Business Vintage\";\r\n // }\r\n // else{\r\n // this.errorMessage[i] = '';\r\n // }\r\n // }\r\n\r\n checkWithExistBusinessYear(e, i, members) {\r\n\r\n if (+e > this.generalExistBusinessYear) {\r\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\r\n members.controls.current_business_experiance_year.setValue('');\r\n }\r\n else {\r\n this.yearErrorMessage[i] = '';\r\n }\r\n }\r\n\r\n checkWithExistTotalWorkExperience(e, i, members) {\r\n\r\n if (+members.value.current_business_experiance_year > +e) {\r\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\r\n members.controls.total_business_experiance.setValue('');\r\n }\r\n else {\r\n this.errorMessageForExistTotalWorkExperience[i] = '';\r\n }\r\n }\r\n\r\n // businees activity type change event\r\n changeBusinessActivity(event: any) {\r\n\r\n if (event.value.exist_status == true && event.value.type_of_activity_id == 2) {\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.controls = [];\r\n manufacturingControl.setValue([]);\r\n\r\n }\r\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) {\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n\r\n\r\n }\r\n if (event.value.exist_status == true && event.value.type_of_activity_id == 3) {\r\n this.RetailedChecked = event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.controls = [];\r\n retailControl.setValue([]);\r\n }\r\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) {\r\n this.RetailedChecked = event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n }\r\n if (event.value.exist_status == true && event.value.type_of_activity_id == 4) {\r\n this.WholeSalesChecked = event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.controls = [];\r\n wholesaleControl.setValue([]);\r\n }\r\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) {\r\n this.WholeSalesChecked = event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n }\r\n if (event.value.exist_status == true && event.value.type_of_activity_id == 5) {\r\n this.ServiceChecked = event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.controls = [];\r\n serviceControl.setValue([]);\r\n }\r\n else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) {\r\n this.ServiceChecked = event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n\r\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.controls = [];\r\n // othersControl.setValue([]);\r\n // }\r\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.push(this.createOthersActivity());\r\n // }\r\n // check activity type for make dosument sighted filed dynamically\r\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n // check activity for extra question make dynamic\r\n\r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n\r\n if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) {\r\n if (this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP') {\r\n this.businessForm.controls['applicant_use_pos_machines'].setValue('yes');\r\n }\r\n this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2);\r\n }\r\n\r\n if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) {\r\n this.ExportFlag = false;\r\n }\r\n }\r\n\r\n\r\n changeManufacturingAreaSale(getDetails: any, getIndex) {\r\n console.log('changeManufacturingAreaSale', getDetails.value.area_of_sale);\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n if (getDetails.value.area_of_sale == \"Within India\") {\r\n console.log('Within India', getDetails.value.area_of_sale);\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n\r\n }\r\n else if (getDetails.value.area_of_sale == \"Export\") {\r\n console.log('Export', getDetails.value.area_of_sale);\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if (getDetails.value.area_of_sale == \"Both\") {\r\n console.log('Both', getDetails.value.area_of_sale);\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n }\r\n\r\n // change retail options\r\n changeRetailAreaSale(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n\r\n if (getDetails.value.area_of_sale == \"Within India\") {\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n\r\n }\r\n else if (getDetails.value.area_of_sale == \"Export\") {\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if (getDetails.value.area_of_sale == \"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n }\r\n\r\n // change whole options\r\n changeWholesaleAreaSale(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n\r\n if (getDetails.value.area_of_sale == \"Within India\") {\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n\r\n }\r\n else if (getDetails.value.area_of_sale == \"Export\") {\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if (getDetails.value.area_of_sale == \"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n }\r\n // change service provider \r\n changeServiceArea(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n\r\n if (getDetails.value.area_of_sale == \"Within India\") {\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n\r\n }\r\n else if (getDetails.value.area_of_sale == \"Export\") {\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if (getDetails.value.area_of_sale == \"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options', new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n }\r\n\r\n\r\n changePanIndiaOptions(type, selectedIndex, value) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if (value == 'Yes') {\r\n\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n else if (value == 'No') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if (value == 'Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n else if (value == 'No') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n }\r\n else if (type == 3) {\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if (value == 'Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n else if (value == 'No') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n }\r\n else if (type == 4) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if (value == 'Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n else if (value == 'No') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()]));\r\n }\r\n }\r\n }\r\n\r\n // update partner group other form control\r\n changePartnerGroup(value, key) {\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n value == 'Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\r\n }\r\n\r\n createDesignation(): FormGroup {\r\n return this.fb.group({\r\n sec_name: ['', Validators.compose([Validators.required])],\r\n sec_designation: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n getWorkExperience(event, key) {\r\n let current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year);\r\n let total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance);\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n if (total_experience > current_experience) {\r\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else if (total_experience < current_experience) {\r\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n\r\n else {\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n // let total ;\r\n // if(control.length > 0){\r\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\r\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\r\n // this.businessForm.controls.business_years.updateValueAndValidity();\r\n // }\r\n }\r\n // Out of Total Export Sales what % of Sales is done in Albania?\r\n getPlaceHolderName(id) {\r\n let name = this.countryDataList.filter(value => value.country_id == id);\r\n\r\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\r\n // return name[0].country_name +'?';\r\n }\r\n ConvertMonthintoYear(itemrow, e, i) {\r\n\r\n console.log('datas', e, i);\r\n let year = itemrow.controls.current_business_experiance_year.value;\r\n\r\n let converted_month: number = e % 12;\r\n let converted_year: number = e / 12;\r\n\r\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n\r\n // if (year > this.generalExistBusinessYear) {\r\n // console.log('data')\r\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\r\n // itemrow.controls.current_business_experiance_year.setValue('');\r\n // itemrow.controls.current_business_experiance_month.setValue('');\r\n\r\n // }\r\n // else {\r\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\r\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\r\n // itemrow.controls.current_business_experiance_year.setValue('');\r\n // itemrow.controls.current_business_experiance_month.setValue('');\r\n\r\n // } else {\r\n // this.monthErrorMessage[i] = '';\r\n // this.yearErrorMessage[i] = '';\r\n // itemrow.controls.current_business_experiance_year.setValue(year);\r\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n // }\r\n // }\r\n\r\n }\r\n\r\n\r\n\r\n createPartners(): FormGroup {\r\n return this.fb.group({\r\n partner_name: ['', Validators.compose([Validators.required])],\r\n // partner_other_name:[''],\r\n shareholding: [''],\r\n started_business: [''],\r\n current_business_experiance_year: [''],\r\n current_business_experiance_month: [''],\r\n total_business_experiance: [''],\r\n // total_business_previous_experience:['']\r\n /* shareholding: ['', Validators.compose([Validators.required])],\r\n current_business_experiance: ['', Validators.compose([Validators.required])],\r\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\r\n });\r\n }\r\n createRelationShip(): FormGroup {\r\n return this.fb.group({\r\n family_member_salutation: [''],\r\n family_member_name: [''],\r\n other_family_relationship_id: [''],\r\n relation_to_id: [''],\r\n relationship_with_company_id: [''],\r\n started_business: ['']\r\n });\r\n }\r\n createBusinessActivity(details): FormGroup {\r\n return this.fb.group({\r\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\r\n name: [details.name, Validators.compose([Validators.required])],\r\n exist_status: [details.exist_status == 1 ? true : false]\r\n });\r\n }\r\n createServiceActivity(): FormGroup {\r\n return this.fb.group({\r\n main_products: ['', Validators.compose([Validators.required])],\r\n area_of_sale: ['', Validators.compose([Validators.required])],\r\n description: ['']\r\n });\r\n }\r\n createOthersActivity(): FormGroup {\r\n return this.fb.group({\r\n others_details: ['', Validators.compose([Validators.required])]\r\n });\r\n }\r\n manufactureDetails(): FormGroup {\r\n return this.fb.group({\r\n main_products: [''],\r\n area_of_sale: [''],\r\n description: ['']\r\n // pan_india_options:[''],\r\n // india_where_sale_done:this.fb.array([]),\r\n //max_sale_state_name:this.fb.array([]),\r\n //countries_where_export_done:this.fb.array([])\r\n })\r\n }\r\n indiaSalesDone(): FormGroup {\r\n return this.fb.group({\r\n state_name: [''],\r\n city_name: [''],\r\n stateSearch: [''],\r\n citySearch: ['']\r\n })\r\n }\r\n maxSaleState(): FormGroup {\r\n return this.fb.group({\r\n state_name: [''],\r\n city_name: [''],\r\n stateSearch: [''],\r\n citySearch: ['']\r\n })\r\n }\r\n createDocument() {\r\n return this.fb.group({\r\n document: [''],\r\n document_pic: [''],\r\n });\r\n }\r\n addDesignation() {\r\n const control = this.businessForm.controls['designation'];\r\n control.push(this.createDesignation());\r\n }\r\n deleteDesignation(index) {\r\n const control = this.businessForm.controls['designation'];\r\n if (control.length == 1) {\r\n this.businessForm.controls['designation'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n addPartnerDetails(event) {\r\n const control = this.businessForm.controls['partners'];\r\n event.stopPropagation()\r\n let length = control.length;\r\n this.step = length;\r\n\r\n control.push(this.createPartners());\r\n }\r\n addPersonRelationship(event) {\r\n event.stopPropagation()\r\n const control = this.businessForm.controls['persons_with_relationships']\r\n let length = control.length\r\n this.step = length\r\n control.push(this.createRelationShip());\r\n }\r\n deletePersonRelationship(index) {\r\n const control = this.businessForm.controls['persons_with_relationships'];\r\n control.removeAt(index)\r\n }\r\n deletePartnerDetails(index) {\r\n const control = this.businessForm.controls['partners'];\r\n if (control.length == 1) {\r\n this.businessForm.controls['partners'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n addMoreManufacturing() {\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n }\r\n removeManufacturing(index) {\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n if (manufacturingControl.length > 1) {\r\n manufacturingControl.removeAt(index)\r\n }\r\n else {\r\n manufacturingControl.reset();\r\n }\r\n }\r\n addMoreRetail() {\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n }\r\n removeRetail(index) {\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n if (retailControl.length > 1) {\r\n retailControl.removeAt(index)\r\n }\r\n else {\r\n retailControl.reset();\r\n }\r\n }\r\n addMoreWholesale() {\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n }\r\n removeWholesale(index) {\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n if (wholesaleControl.length > 1) {\r\n wholesaleControl.removeAt(index)\r\n }\r\n else {\r\n wholesaleControl.reset();\r\n }\r\n }\r\n addMoreServiceprovider() {\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n removeServiceProvider(index) {\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n if (serviceControl.length > 1) {\r\n serviceControl.removeAt(index)\r\n }\r\n else {\r\n serviceControl.reset();\r\n }\r\n }\r\n // addMoreOthersActivity(){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.push(this.createOthersActivity());\r\n // }\r\n createCountrySale() {\r\n return this.fb.group({\r\n country_name: ['', Validators.compose([Validators.required])],\r\n countrySearch: [''],\r\n approx_sale: ['', Validators.compose([Validators.required])]\r\n });\r\n }\r\n\r\n addMoreState(mindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n\r\n\r\n }\r\n removeState(mindex, sindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n }\r\n\r\n addRetailMoreState(rindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n }\r\n removeRetailState(mindex, sindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n }\r\n // add more whole sale state\r\n addWholesaleMoreState(windex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n\r\n }\r\n // remove for whole sale\r\n removeWholesaleState(mindex, sindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n }\r\n // add more service provider\r\n addServiceMoreState(sindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if (type == 2) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n }\r\n\r\n // remove service provider\r\n\r\n removeServiceState(mindex, sindex, type) {\r\n if (type == 1) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if (type == 2) {\r\n let control1: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control1 = control1.controls[mindex].get('countries_where_export_done') as FormArray\r\n control1.removeAt(sindex)\r\n }\r\n }\r\n addDocuments() {\r\n const control = this.businessForm.controls['documents'];\r\n control.push(this.createDocument());\r\n }\r\n deleteDocuments(index) {\r\n const control = this.businessForm.controls['documents'];\r\n if (control.length == 1) {\r\n this.businessForm.controls['documents'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n UploadDocuments(index) {\r\n const control = this.businessForm.controls['documents'];\r\n const control_with_index = control.controls[index];\r\n this.cameraProvider.getpicture().then(res => {\r\n control_with_index.controls['document_pic'].setValue(res != 'error' ? res : '');\r\n }, error => {\r\n console.log(\"Camera Error \", JSON.stringify(error));\r\n })\r\n }\r\n\r\n relationChanged(event) {\r\n this.relativeNames = [];\r\n event.value.forEach(option => {\r\n this.relativeNames.push({ member: option });\r\n });\r\n }\r\n createPOSMachinesDetails(data) {\r\n if (data == null) {\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [''],\r\n bankSearch: [''],\r\n tid_no_of_pos_machine: [''],\r\n })\r\n }\r\n else {\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\r\n bankSearch: [''],\r\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\r\n })\r\n }\r\n }\r\n\r\n public initBusinessForm(): void {\r\n this.businessForm = this.fb.group({\r\n parent_pdid: this.pdDetails.parent_pd_id,\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId,\r\n fk_createdby: this.users,\r\n profession_name: ['', Validators.compose([Validators.required])],\r\n business_years: ['', Validators.compose([Validators.required])],\r\n industry: ['', Validators.compose([Validators.required])],\r\n type_of_activity: ['', Validators.compose([Validators.required])],\r\n seasonality: ['', Validators.compose([Validators.required])],\r\n designation: this.fb.array([]),\r\n partners: this.fb.array([]),\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n officer_permanent: ['', Validators.compose([Validators.required])],\r\n officer_temporary: ['', Validators.compose([Validators.required])],\r\n invested_amount: ['', Validators.compose([Validators.required])],\r\n working_capital: ['', Validators.compose([Validators.required])],\r\n is_service_provided: ['', Validators.compose([Validators.required])],\r\n ownership_setup: ['', Validators.compose([Validators.required])],\r\n ownership_others: [''],\r\n rent_paid: [''],\r\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\r\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\r\n export_import_cert: ['', Validators.compose([Validators.required])],\r\n factory_cert: ['', Validators.compose([Validators.required])],\r\n practice_cert: ['', Validators.compose([Validators.required])],\r\n pf_regn: ['', Validators.compose([Validators.required])],\r\n esic_regn: ['', Validators.compose([Validators.required])],\r\n other_documents: ['', Validators.compose([Validators.required])],\r\n documents: this.fb.array([]),\r\n business_remarks: ['', Validators.compose([Validators.required])],\r\n who_started: ['', Validators.compose([Validators.required])],\r\n main_person: ['', Validators.compose([Validators.required])],\r\n other_main_person: [''],\r\n family_members_involved: ['', Validators.compose([Validators.required])],\r\n before_business: ['', Validators.compose([Validators.required])],\r\n any_delays: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n submitDetails() {\r\n\r\n // if (!this.businessForm.valid) {\r\n // return;\r\n // }\r\n\r\n if (this.businessForm.controls['export_sale_of_total_sales'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Please enter a value between 0 and 100 in export sale as a % total sales\");\r\n return;\r\n }\r\n\r\n if (this.businessForm.controls['gst_Regn_cert'].invalid) {\r\n this.toast.pdTriggerappmessage(\"GST Regn Cert is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['gst_Regn_cert_pic'] && this.businessForm.value.gst_Regn_cert == 'yes') { \r\n if (this.businessForm.controls['gst_Regn_cert_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"gst regn cert pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n\r\n if (this.businessForm.controls['factory_cert'] && this.businessForm.controls['factory_cert'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Factory Cert is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['factory_cert_pic'] && this.businessForm.value.factory_cert == 'yes') { \r\n if (this.businessForm.controls['factory_cert_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"factory cert pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n\r\n if (this.businessForm.controls['practice_cert'] && this.businessForm.controls['practice_cert'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Practice Cert is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['practice_cert_pic'] && this.businessForm.value.practice_cert == 'yes') { \r\n if (this.businessForm.controls['practice_cert_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\" practice cert pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n\r\n if (this.businessForm.controls['shop_eat_act_cert'].invalid) {\r\n this.toast.pdTriggerappmessage(\"shop eat act cert is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['shop_eat_act_cert_pic'] && this.businessForm.value.shop_eat_act_cert == 'yes') { \r\n if (this.businessForm.controls['shop_eat_act_cert_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Shop eat act cert pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n if (this.businessForm.controls['pf_regn'].invalid) {\r\n this.toast.pdTriggerappmessage(\"PF Regn is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['pf_regn_pic'] && this.businessForm.value.pf_regn == 'yes') { \r\n if (this.businessForm.controls['pf_regn_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"PF Regn pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n if (this.businessForm.controls['esic_regn'].invalid) {\r\n this.toast.pdTriggerappmessage(\"ESIC Regn is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['esic_regn_pic'] && this.businessForm.value.esic_regn == 'yes') { \r\n if (this.businessForm.controls['esic_regn_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"ESIC Regn pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n if (this.businessForm.controls['export_import_cert'] && this.businessForm.controls['export_import_cert'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Export Import Cert is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['export_import_cert_pic'] && this.businessForm.value.export_import_cert == 'yes') { \r\n if (this.businessForm.controls['export_import_cert_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Export /Import Cert pic is required\");\r\n return;\r\n }\r\n }\r\n\r\n if (this.businessForm.controls['fire_noc'] && this.businessForm.controls['fire_noc'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Fire Noc is required\");\r\n return;\r\n }\r\n if (this.businessForm.controls['fire_noc_pic'] && this.businessForm.value.fire_noc == 'yes') { \r\n if (this.businessForm.controls['fire_noc_pic'].invalid) {\r\n this.toast.pdTriggerappmessage(\"Fire Noc pic is required\");\r\n return;\r\n } }\r\n \r\n \r\n // if(this.businessForm.controls['export_sale_of_total_sales']){\r\n // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){\r\n\r\n // }\r\n // }\r\n\r\n if (this.EntityTypeFlag == true) {\r\n let control: any = this.businessForm.controls['partners'];\r\n let control2: any = control.controls[0];\r\n\r\n control2.controls['shareholding'].clearValidators();\r\n control2.controls['shareholding'].updateValueAndValidity();\r\n control2.controls['shareholding'].setValue('100');\r\n\r\n\r\n // control.controls[0].removeControl('shareholding');\r\n // control.controls[0].removeControl('started_business');\r\n // control.controls[0].removeControl('current_business_experiance_year');\r\n // control.controls[0].removeControl('current_business_experiance_month');\r\n // control.controls[0].removeControl('total_business_experiance');\r\n\r\n // control2.controls['started_business'].setValue('');\r\n\r\n // control2.controls['current_business_experiance_year'].clearValidators();\r\n // control2.controls['current_business_experiance_year'].updateValueAndValidity();\r\n // control2.controls['current_business_experiance_year'].setValue('');\r\n\r\n // control2.controls['current_business_experiance_month'].setValue('');\r\n\r\n // control2.controls['total_business_experiance'].clearValidators();\r\n // control2.controls['total_business_experiance'].updateValueAndValidity();\r\n // control2.controls['total_business_experiance'].setValue('');\r\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\r\n // control2.controls['total_business_previous_experience'].clearValidators();\r\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\r\n // control2.controls['total_business_previous_experience'].setValue('0');\r\n // }\r\n\r\n }\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n console.log(\"manufacture\", control);\r\n // control.controls.forEach(element=>{\r\n // if(element.controls['india_where_sale_done']){\r\n // element.controls\r\n // }\r\n // })\r\n\r\n let family: any = [];\r\n\r\n let design: any;\r\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\r\n let records: any;\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId;\r\n // records.fk_createdby = this.users;\r\n records = this.businessForm.value;\r\n\r\n //if(records.persons_with_relationships=='')\r\n if (records.other_documents == 'no') {\r\n delete records.documents;\r\n }\r\n if (records.rent_paid == '') {\r\n delete records.rent_paid;\r\n }\r\n if (records.ownership_others == '') {\r\n delete records.ownership_others;\r\n }\r\n // records.family_members_involved = this.relativeNames;\r\n if (!this.EntityTypeFlag) {\r\n let count: number = 0;\r\n if (records.partners.length > 0) {\r\n records.partners.forEach(element => {\r\n console.log(element)\r\n count += element.shareholding\r\n })\r\n }\r\n if (count >= 101) {\r\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\r\n // this.businessForm.get('shareholding').value.setFocus()\r\n //this.businessForm.controls['partners']\r\n console.log(this.businessForm.controls)\r\n // const control=this.businessForm.controls['partners'] as FormArray\r\n this.share_focus.nativeElement.focus();\r\n //control.get('shareholding').Focus()\r\n // this.businessForm.get('business_remarks').value.setFocus()\r\n return\r\n }\r\n }\r\n let validationFlag: number = 0;\r\n\r\n //type 1: Checking manufacturing_activity_details \r\n if (records.manufacturing_activity_details.length > 0) {\r\n\r\n records.manufacturing_activity_details.forEach((val, index) => {\r\n if (val.area_of_sale != \"Within India\") {\r\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if (total > 100 || total < 100) {\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n\r\n\r\n }\r\n\r\n //type 3 checking wholesale_trading_activity_details\r\n if (records.wholesale_trading_activity_details.length > 0) {\r\n\r\n records.wholesale_trading_activity_details.forEach((val, index) => {\r\n if (val.area_of_sale != \"Within India\") {\r\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if (total > 100 || total < 100) {\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n //type 2 checking retail_trading_activity_details\r\n if (records.retail_trading_activity_details.length > 0) {\r\n\r\n records.retail_trading_activity_details.forEach((val, index) => {\r\n if (val.area_of_sale != \"Within India\") {\r\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if (total > 100 || total < 100) {\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n\r\n //type 4 checking service_provider_activity_details\r\n if (records.service_provider_activity_details.length > 0) {\r\n\r\n records.service_provider_activity_details.forEach((val, index) => {\r\n if (val.area_of_sale != \"Within India\") {\r\n\r\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if (total > 100 || total < 100) {\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n //validationFlag is greater then 0 means its display the notifer as warning\r\n if (validationFlag > 0) {\r\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\r\n return;\r\n }\r\n\r\n records.select_business_activity_type = records.select_business_activity_type.filter(value => value.exist_status == 1);\r\n if (records.pos_machines_details) {\r\n records.pos_machines_details.forEach(value => {\r\n delete value.bankSearch\r\n })\r\n }\r\n\r\n // if(records.manufacturing_activity_details.length > 0){\r\n // records.manufacturing_activity_details.forEach((val,index) => {\r\n // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\r\n // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\r\n // if(val.area_of_sale != \"Export\"){ \r\n // if(val.india_where_sale_done.length > 0){\r\n // val.india_where_sale_done.forEach((vals,inx) => {\r\n // childCtrl1.controls[inx].removeControl('citySearch');\r\n // delete vals.citySearch;\r\n // childCtrl1.controls[inx].removeControl('stateSearch');\r\n // delete vals.stateSearch;\r\n // });\r\n // }\r\n // if(val.max_sale_state_name.length > 0){\r\n // val.max_sale_state_name.forEach((vals,inx) => {\r\n // childCtrl2.controls[inx].removeControl('citySearch');\r\n // childCtrl2.controls[inx].removeControl('stateSearch');\r\n // });\r\n // }\r\n // }\r\n // });\r\n // }\r\n // console.log('records',records);\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if (data['dataStatus'] == true) {\r\n this.businessForm.markAsUntouched();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(() => {\r\n this.navCtrl.pop();\r\n }, 3000);\r\n }\r\n });\r\n }\r\n getBuisnessDetails() {\r\n let records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId };\r\n this.qustCat.retiverForm(records).subscribe(data => {\r\n let businessVal = data['records'];\r\n\r\n let constVal: any;\r\n const Desgn = this.businessForm.controls['designation'];\r\n const Partnr = this.businessForm.controls['partners'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n\r\n if (data['status'] == 200) {\r\n let DocArray: any;\r\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\r\n return data['records'].designation[key];\r\n });\r\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\r\n return data['records'].partners[key];\r\n });\r\n\r\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\r\n return data['records'].family_members_involved[key];\r\n });\r\n let enduse: any = [];\r\n let existRelative: any = [];\r\n selectedMembers.forEach(val => {\r\n enduse.push(val.member);\r\n existRelative.push(val);\r\n });\r\n this.relativeNames = existRelative;\r\n if (DesgnArray.length == 0) {\r\n Desgn.push(this.createDesignation());\r\n } else {\r\n DesgnArray.forEach(datas => {\r\n Desgn.push(this.createDesignation());\r\n });\r\n\r\n }\r\n if (PartnrArray.length == 0) {\r\n Partnr.push(this.createPartners());\r\n } else {\r\n PartnrArray.forEach(datas => {\r\n Partnr.push(this.createPartners());\r\n });\r\n }\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{ document: '', document_pic: '' }];\r\n otherDoc.push(this.createDocument());\r\n }\r\n if (data['records'].ownership_setup != 'others') {\r\n businessVal.ownership_others = '';\r\n }\r\n if (data['records'].ownership_setup != 'rented') {\r\n businessVal.rent_paid = '';\r\n }\r\n businessVal.family_members_involved = enduse;\r\n businessVal.parent_pdid = this.pdDetails.parent_pd_id\r\n businessVal.pdid = this.pdDetails.pd_id;\r\n businessVal.formid = this.FormId;\r\n businessVal.fk_createdby = this.users;\r\n businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n businessVal.documents = DocArray;\r\n\r\n this.businessForm.setValue(businessVal);\r\n } else {\r\n Desgn.push(this.createDesignation());\r\n Partnr.push(this.createPartners());\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n });\r\n }\r\n setStep(index: number) {\r\n this.step = index;\r\n }\r\n inWords(e, flag) {\r\n switch (flag) {\r\n case 1:\r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n }\r\n }\r\n ManufacturingCounterArray: any = [];\r\n RetailCounterArray: any = [];\r\n WholeSaleCounterArray: any = [];\r\n ServiceCounterArray: any = [];\r\n\r\n CheckExport(value, stringFlag, index) {\r\n //this.ExportFlag=false\r\n const parentControl = this.businessForm.controls['select_business_activity_type'];\r\n const childControl = parentControl.controls[0];\r\n\r\n\r\n // childControl.forEach((datas,index) => {\r\n\r\n\r\n // // exist_status==true && event.value.type_of_activity_id\r\n\r\n // });\r\n\r\n\r\n\r\n\r\n\r\n if (!this.ManufacturingChecked) {\r\n // console.log(\"Manu\")\r\n if (stringFlag == 'MActivity' && value == \"Both\") {\r\n this.ManufacturingCounterArray[index] = 1;\r\n }\r\n else if (stringFlag == 'MActivity' && value != \"Both\") {\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n } else if (this.ManufacturingChecked && stringFlag == 'MActivity') {\r\n // console.log(\"manu\");\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n\r\n if (!this.RetailedChecked) {\r\n if (stringFlag == 'RActivity' && value == \"Both\") {\r\n this.RetailCounterArray[index] = 1;\r\n }\r\n else if (stringFlag == 'RActivity' && value != \"Both\") {\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n }\r\n else if (stringFlag == 'RActivity' && this.RetailedChecked) {\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n\r\n if (!this.WholeSalesChecked) {\r\n if (stringFlag == 'WActivity' && value == \"Both\") {\r\n this.WholeSaleCounterArray[index] = 1;\r\n }\r\n else if (stringFlag == 'WActivity' && value != \"Both\") {\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n }\r\n else if (stringFlag == 'WActivity' && this.WholeSalesChecked) {\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n\r\n if (!this.ServiceChecked) {\r\n\r\n if (stringFlag == 'SPActivity' && value == \"Both\") {\r\n this.ServiceCounterArray[index] = 1;\r\n }\r\n else if (stringFlag == 'SPActivity' && value != \"Both\") {\r\n this.ServiceCounterArray[index] = 0;\r\n }\r\n\r\n } else if (stringFlag == 'SPActivity') {\r\n this.ServiceCounterArray[index] = 0;\r\n }\r\n\r\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n\r\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n\r\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n\r\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\r\n\r\n\r\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter;\r\n\r\n\r\n this.ExportFlag = overallCounter > 0 ? true : false;\r\n // console.log(this.ExportFlag);\r\n //console.log(overallCounter)\r\n\r\n }\r\n changePOSMachinesAvailablity(e, flag) {\r\n\r\n e == 'yes'\r\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\r\n : this.businessForm.removeControl('no_of_pos_machines');\r\n\r\n if (flag == 2) {\r\n e == 'yes'\r\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\r\n : this.businessForm.removeControl('no_of_pos_machines');\r\n }\r\n\r\n }\r\n toGetPOSMachinesDetails(e, flag) {\r\n\r\n if (flag == 1) { this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\r\n const control = this.businessForm.controls['pos_machines_details'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if (e > 0) {\r\n if (flag == 1) {\r\n for (let i = 1; i <= e; i++) {\r\n control.push(this.createPOSMachinesDetails(null));\r\n }\r\n }\r\n else if (flag == 2) {\r\n for (let i = 1; i <= e; i++) {\r\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\r\n }\r\n }\r\n }\r\n }\r\n // searchCountriesList(control:any,i:number){\r\n // if(!this.countryDataList){\r\n // return\r\n // }\r\n // let searchVal=control.controls['countrySearch'].value\r\n // if(!searchVal){\r\n // this.countryDataListValue=this.countryDataList.slice()\r\n // return\r\n // }\r\n // else{\r\n // searchVal=searchVal.toLowerCase();\r\n // this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1)\r\n // }\r\n // }\r\n\r\n searchFun(control: any, i: number, option) {\r\n\r\n\r\n if (option == 'country') {\r\n console.log('option', option, control);\r\n control.controls['countrySearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.searchCountries(control.controls['countrySearch'].value);\r\n })\r\n }\r\n if (option == 'city') {\r\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\r\n control.controls['citySearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.SearchCity(control.controls['citySearch'].value, i);\r\n })\r\n }\r\n if (option == 'state') {\r\n // console.log(\"state\")\r\n control.controls['stateSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.searchState(control.controls['stateSearch'].value)\r\n\r\n })\r\n }\r\n //For Pos bank search using constant provider\r\n if (option == 'bank') {\r\n console.log(\"bank\", control.controls['bankSearch'].value)\r\n control.controls['bankSearch'].valueChanges\r\n .pipe(takeUntil(this._onDestroy))\r\n .subscribe(() => {\r\n this.bankListValue = this.cons.searchData(this.bankList, control.controls['bankSearch'].value, option)\r\n })\r\n }\r\n }\r\n SearchCity(val: any, i: number) {\r\n // let cityData=\r\n // console.log(this.cityData[i])\r\n if (!this.cityData[i]) {\r\n return\r\n }\r\n let searchValue = val\r\n if (!searchValue) {\r\n this.cityDataValue[i] = this.cityData[i].slice()\r\n return\r\n } else {\r\n searchValue = searchValue.toLowerCase()\r\n }\r\n this.cityDataValue[i] =\r\n this.cityData[i].filter(val => val.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n\r\n // console.log(\"City Data value\",this.cityDataValue[i])\r\n // this.filterCity('',1,this.cityData[i])\r\n // this.filteredCity.next(\r\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\r\n // )\r\n\r\n }\r\n searchState(val: any) {\r\n console.log(\"statedata\")\r\n if (!this.stateList) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n this.filteredState.next(this.stateList.slice())\r\n return\r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n this.filteredState.next(\r\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\r\n )\r\n }\r\n\r\n searchCountries(val: any) {\r\n console.log(\"Countrydata\");\r\n if (!this.countryDataList) {\r\n return\r\n }\r\n let searchVal = val\r\n if (!searchVal) {\r\n this.filteredCountry.next(this.countryDataList.slice())\r\n return\r\n }\r\n else {\r\n searchVal = searchVal.toLowerCase()\r\n }\r\n this.filteredCountry.next(\r\n this.countryDataList.filter(val => val.country_name.toLowerCase().indexOf(searchVal) > -1)\r\n )\r\n }\r\n\r\n /*IMAGE SECTION*/\r\n getPDImages() {\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay = []\r\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }\r\n\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val => {\r\n if (!val['msg']) {\r\n console.log(val['records'])\r\n if (val['records'].length > 0) {\r\n val['records'].forEach(result => {\r\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\r\n })\r\n console.log(\"imageBuck\", this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value, index, img) {\r\n console.log(value);\r\n this.imageDisplay[index] = { 'image': img, 'Name': value }\r\n\r\n }\r\n changeNameForBucket(value, index, img) {\r\n this.imageBucket[index] = { 'image': img, 'Name': value }\r\n }\r\n removeImg(index) {\r\n this.imageDisplay.splice(index, 1);\r\n }\r\n removeImgForBucket(index) {\r\n this.imageBucket.splice(index, 1)\r\n }\r\n capture(value) {\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res => {\r\n console.log(\"Value\", res)\r\n if (res != 'error') {\r\n this.cons.getGeoTag().then(geoCoordinates => {\r\n console.log(\"geo promise\", geoCoordinates)\r\n if (value != '') {\r\n if (this.imageBucket.length != 0) {\r\n this.imageBucket.forEach((res, index) => {\r\n if (res.Name == value) {\r\n console.log(\"res[index]\", res[index])\r\n delete res[index]\r\n }\r\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\r\n })\r\n }\r\n this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates });\r\n\r\n }\r\n else {\r\n this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates });\r\n\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert = this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value => {\r\n console.log(\"alert value\", value);\r\n if (value) {\r\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\r\n }\r\n })\r\n } // Else End\r\n })\r\n }\r\n }, error => {\r\n console.log(\"Camera Error \", JSON.stringify(error));\r\n })\r\n\r\n this.tab = '1';\r\n\r\n\r\n }\r\n sendImage() {\r\n this.loading.loaderForSendImage()\r\n console.log(\"about business - Images bucket\", JSON.stringify(this.imageBucket));\r\n\r\n let records: any = {\r\n 'pd_id': this.pdDetails.pd_id,\r\n 'formid': this.FormId,\r\n 'images': this.imageBucket,\r\n 'company_id': this.pdDetails.company_id,\r\n\r\n }\r\n console.log(\"about Business images \", JSON.stringify(records));\r\n\r\n this.qustCat.savePDImages(records).subscribe(res => {\r\n console.log('response records', res, res['record']);\r\n if (res['dataStatus'] == true) {\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket = []\r\n this.getPDImages();\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n\r\n }\r\n changeSentence(value) {\r\n console.log(\"val\", value)\r\n let name = value.get('partner_other_name').value\r\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\r\n }\r\n\r\n ImageUpload(Flag: any) {\r\n\r\n this.cameraProvider.getpicture().then(res => {\r\n if (Flag == 1) { this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 2) { this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 3) { this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 4) { this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 5) { this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); }// alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 6) { this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 7) { this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n if (Flag == 8) { this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); }//alert('Inside Mobile Upload Function' + Flag);}\r\n }, error => {\r\n console.log(\"Camera Error \", JSON.stringify(error));\r\n })\r\n }\r\n\r\n radioChange(event, Flag) {\r\n if (Flag == 1) { event.value == 'yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('shop_eat_act_cert_pic'); }\r\n if (Flag == 2) { event.value == 'yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('gst_Regn_cert_pic'); }\r\n if (Flag == 4) { event.value == 'yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('factory_cert_pic'); }\r\n if (Flag == 5) { event.value == 'yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('practice_cert_pic'); }\r\n if (Flag == 6) { event.value == 'yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('pf_regn_pic'); }\r\n if (Flag == 7) { event.value == 'yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('esic_regn_pic'); }\r\n if (Flag == 3) { event.value == 'yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('export_import_cert_pic'); }\r\n if (Flag == 8) { event.value == 'yes' ? this.businessForm.addControl('fire_noc_pic', new FormControl('', Validators.compose([Validators.required]))) : this.businessForm.removeControl('fire_noc_pic'); }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\r\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\r\n/**\r\n * Generated class for the PdQuestionBusinessAssetsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-assets',\r\n templateUrl: 'pd-question-business-assets.html',\r\n})\r\nexport class PdQuestionBusinessAssetsPage {\r\n currentYear:any=new Date().getFullYear();\r\n\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n\r\n company_id:any;\r\n pdDetails:any;\r\n formDetails : any;\r\n users:any;\r\n _businessAssetsQuesFrom:FormGroup;\r\n m_assets_type:any;\r\n m_propertyType:any;\r\n AssetValueInwords:any=[];\r\n appxMarketAmtInwords:any=[];\r\n RentAmtInwords:any=[]\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any=[]\r\n applicants:any;\r\n data_all:any;\r\n CustSegAbbr: any;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n yearErrorMessage: any=[];\r\n monthErrorMessage: any=[];\r\n addressLabel: any=[];\r\n placeholderName : any = []\r\n m_address_type:any=[]\r\n pageTitle: string;\r\n main_applicant: any;\r\n lender_applicant_id: any;\r\n subproduct_abbr: any;\r\n customer_segment_abbr: any;\r\n RentAmtInwordsForAddress: any =[];\r\n appxMarketAmtInwordsForAddress: any =[];\r\n isOtherOwnerForAddress : boolean = false;\r\n isOtherOwner: boolean = false;\r\n addressType:any = '';\r\n public m_vehicle_type = [];\r\n cityArr: any=[];\r\n pinArr: any=[];\r\n m_state_for_address: any=[];\r\n @ViewChild('remarksFocus') focusRemark:ElementRef\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: any='0';\r\n complete_status: boolean = false;\r\n addressList: any=[];\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\r\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\r\n private cameraProvider:CameraProvider) {\r\n \r\n \r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users=this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n this.generalExistBusinessYear = this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\r\n this.main_applicant = this.pdDetails.applicant_name;\r\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\r\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.getDropDown()\r\n \r\n \r\n \r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\r\n this.getDetails()\r\n //this.getAddress()\r\n this.getPDImages();\r\n }\r\n chooseAddress(){\r\n let params:any={};\r\n params.parent_pdid=this.pdDetails.parent_pd_id\r\n params.pd_id=this.pdDetails.pd_id;\r\n params.pd_form_id='5'\r\n this.qustcat.retiverForm(params).subscribe(data=>{\r\n const control=this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n if(data['status']==200){\r\n if(data['records'].is_pd_done_on_initiated_address){\r\n console.log(\"kd\",data['records'])\r\n }\r\n }\r\n })\r\n }\r\n getAddress(flag){\r\n let params:any={};\r\n params.parent_pdid=this.pdDetails.parent_pd_id\r\n params.pd_id=this.pdDetails.pd_id;\r\n params.pd_form_id='5'\r\n\r\n this.qustcat.retiverForm(params).subscribe(data => {\r\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n if(data['status'] == 200) {\r\n if(flag == 1){\r\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\r\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\r\n if (initiated_address_check == false ) {\r\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\r\n }\r\n }\r\n if(flag == 2){\r\n let dataOfAddress = data['records'].addresses.filter(item => item.isactive == 1);\r\n this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' });\r\n let initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true;\r\n if (initiated_address_check == true && data['records'].addresses.length > 0) \r\n \r\n if(initiated_address_check == true && data['records'].addresses.length > 0){\r\n data['records'].addresses.forEach((data,inx)=>{\r\n this.addressLabel[inx] = '';\r\n console.log(\"address\",data)\r\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\r\n if(res.dataStatus== true){\r\n console.log(\"state\",res)\r\n this.cityArr=res.records.cities\r\n this.pinArr = res.records.pincode;\r\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\r\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\r\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \r\n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\r\n \r\n console.log(selectedCity)\r\n \r\n if(selectedAddressType != '' && selectedAddressType != undefined){\r\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n }\r\n else{\r\n this.addressType=''\r\n }\r\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\r\n \r\n \r\n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\r\n // let address = data.address;\r\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n \r\n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\r\n //console.log(this.placeholderName)\r\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\r\n console.log(\"dd\",addressLabel)\r\n let values={\r\n address_label:addressLabel,\r\n business_years: '',\r\n business_month: '',\r\n business_address_availability: '',\r\n business_is_pd_visited: '',\r\n business_pd_visited_remark: '', \r\n business_approximate_market_value: '',\r\n business_ownership_type: '',\r\n business_monthly_rented_amt: '',\r\n business_name_of_the_owner: '',\r\n business_name_of_the_other_owner: '',\r\n business_vintage: '',\r\n business_purchase_year: '',\r\n business_emi: ''\r\n }\r\n console.log('this.addressType',this.addressType);\r\n control.push(this.initBusinessDetailsWithdata(values));\r\n }\r\n })\r\n\r\n })\r\n \r\n }\r\n else if(initiated_address_check == true && data['records'].alternative_addresses.length > 0)\r\n {\r\n this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' });\r\n data['records'].alternative_address.forEach((data,inx)=>{\r\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\r\n if (data['status'] == 200) {\r\n console.log(\"state\",res)\r\n this.cityArr=res.records.cities\r\n this.pinArr = res.records.pincode;\r\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\r\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\r\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \r\n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\r\n \r\n console.log(selectedCity)\r\n \r\n if(selectedAddressType != '' && selectedAddressType != undefined){\r\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n }\r\n else{\r\n this.addressType=''\r\n }\r\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\r\n \r\n \r\n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\r\n // let address = data.address;\r\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n \r\n this.placeholderName[inx] = 'Was any business activity seen at the '+ this.addressType+' during PD visit?';\r\n //console.log(this.placeholderName)\r\n let addressLabel = \" : \"+address+' / '+ this.addressType ;\r\n console.log(\"dd\",addressLabel)\r\n let values={\r\n address_label:addressLabel,\r\n business_years: '',\r\n business_month: '',\r\n business_address_availability: '',\r\n business_is_pd_visited: '',\r\n business_pd_visited_remark: '', \r\n business_approximate_market_value: '',\r\n business_ownership_type: '',\r\n business_monthly_rented_amt: '',\r\n business_name_of_the_owner: '',\r\n business_name_of_the_other_owner: '',\r\n business_vintage: '',\r\n business_purchase_year: '',\r\n business_emi: ''\r\n }\r\n console.log('this.addressType',this.addressType);\r\n control.push(this.initBusinessDetailsWithdata(values));\r\n }\r\n })\r\n })\r\n }\r\n else{\r\n control.push(this.initBusinessDetails())\r\n }\r\n }\r\n }\r\n else{\r\n control.push(this.initBusinessDetails());\r\n }\r\n });\r\n console.log(\"address List data\",this.addressList)\r\n }\r\n AutoCompleteUpdateFun(property_id,event,i){\r\n if(event != ''){\r\n let getList = this.addressList.map(dval => dval.value.replace(/\\s/g, \"\").toLowerCase());\r\n let getkeyname = this.addressList.map(dval => dval.key_name);\r\n let findName = this.m_address_type.find(x => x.address_type_id == property_id);\r\n // console.log(getkeyname.indexOf(i));\r\n let evt = event.replace(/\\s/g, \"\").toLowerCase();\r\n\r\n let keyexist = this.addressList.find(ob => ob['key_name'] === i);\r\n\r\n if (keyexist === undefined || keyexist === null && !getList.includes(evt)) {\r\n console.log('push on this');\r\n this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i });\r\n }\r\n else {\r\n let Index = getkeyname.indexOf(i);\r\n this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }\r\n console.log('update on this => Index', Index);\r\n }\r\n\r\n console.log('at Final add or update ', this.addressList);\r\n }\r\n}\r\nremoveOptionOnAutoComplete(index){\r\n let getkeyname = this.addressList.map(dval => dval.key_name);\r\n let Index = getkeyname.indexOf(index);\r\n if (Index !== -1) {\r\n this.addressList.splice(Index, 1);\r\n }\r\n console.log('at Final remove', this.addressList);\r\n}\r\n getDropDown(){\r\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\r\n data => {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n })\r\n \r\n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\r\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\r\n \r\n })\r\n\r\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\r\n })\r\n\r\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\r\n \r\n }\r\n \r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n })\r\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\r\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\r\n })\r\n\r\n \r\n \r\n }\r\n apiLoadFinish:boolean=false\r\n getDetails(){\r\n let params:any={};\r\n params.parent_pdid=this.pdDetails.parent_pd_id\r\n params.pd_id=this.pdDetails.pd_id\r\n params.company_id=this.company_id\r\n params.pd_form_id=22\r\n this.qustcat.retiverForm(params).subscribe(res=>{\r\n \r\n if(res['dataStatus']==true){\r\n \r\n //this.data_all=res['records']\r\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\r\n return res['records'].business_assets_details[key]\r\n });\r\n \r\n //this.formLoadData(assestArray)\r\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\r\n if(assestArray.length>0){\r\n for(let val of assestArray){\r\n let formData={\r\n business_assets_mode: val.business_assets_mode,\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\r\n }\r\n }*/\r\n this.formLoadData(res['records'])\r\n }\r\n\r\n \r\n else{\r\n this.formLoadData(null);\r\n }\r\n this.apiLoadFinish=true\r\n \r\n \r\n })\r\n //this.formLoadData(null);\r\n \r\n }\r\n \r\n formLoadData(data){\r\n if(data==null){\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n \r\n business_assets_for_address: this.fb.array([]),\r\n //this.createBusinessAssetsForAddress(),\r\n business_assets_details : this.fb.array([\r\n this.initBusinessDetails(),\r\n ]),\r\n business_assets_form_remark:['']\r\n });\r\n this.getAddress(2);\r\n this.loadDetails=true;\r\n }\r\n else{\r\n this.getAddress(1);\r\n let value=data;\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n parent_pdid:[this.pdDetails.parent_pd_id],\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n // business_years:[value.business_years],\r\n // business_month:[value.business_month],\r\n // business_address_availability:[value.business_address_availability],\r\n // business_is_pd_visited:[value.business_is_pd_visited],\r\n // business_pd_visited_remark:[value.business_pd_visited_remark],\r\n business_assets_for_address: this.fb.array([]),\r\n business_assets_details : this.fb.array([]),\r\n business_assets_form_remark:[value.business_assets_form_remark || '']\r\n });\r\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\r\n \r\n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n // }\r\n // else {\r\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n // control.push(this.createBusinessAssetsForAddress());\r\n // } \r\n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n }\r\n\r\n this.loadDetails=true\r\n }\r\n\r\n initBusinessDetails(){\r\n return this.fb.group({\r\n address_label:[''],\r\n business_assets_mode:[''],\r\n business_details: this.fb.array([]),\r\n \r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n \r\n business_approximate_market_value: [''],\r\n business_ownership_type:[''],\r\n business_monthly_rented_amt:[''],\r\n business_name_of_the_owner: [],\r\n business_name_of_the_other_owner: [],\r\n business_vintage: [''],\r\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [''],\r\n \r\n })\r\n }\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: ['']\r\n });\r\n }\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: ['',Validators.compose([Validators.required])],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n\r\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n addAssetDetails(e) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetails());\r\n \r\n }\r\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n removeAssetsDetails(i: number) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.removeAt(i);\r\n\r\n}\r\n\r\ncreateBusinessAssetsForAddress(): FormGroup {\r\n return this.fb.group({\r\n address_label:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n\r\n business_approximate_market_value: [''],\r\n business_ownership_type: [''],\r\n business_monthly_rented_amt: [''],\r\n business_name_of_the_owner: [''],\r\n business_name_of_the_other_owner: [''],\r\n business_vintage: [''],\r\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: ['']\r\n });\r\n}\r\n\r\n selectedAssetsType(e: any, i: any): void {\r\n let val = i;\r\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n arr.controls.splice(0);\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n let val = i;\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n \r\n default: {\r\n break;\r\n }\r\n }\r\n this.removeOptionOnAutoComplete(i);\r\n }\r\n\r\n loadPropertyWithData(data) { \r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n });\r\n }\r\n load_Four_WeelerWithData(data){\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n })\r\n }\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadDetails:boolean\r\n addBusinessAssetsForAddress(data) {\r\n console.log(\"add business\")\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n });\r\n if (result.length > 0) {\r\n result.forEach((datas, index) => {\r\n //this.placeholderName[index]=datas.address_label.split('/')\r\n // console.log(datas.address_label.split('/'))\r\n // console.log(datas.address_label.split('/')[0])\r\n if(datas.address_label != null && datas.address_label !=''){\r\n let splitted=datas.address_label.split('/')[1]\r\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\r\n this.addressType = splitted;\r\n }\r\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\r\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\r\n let Avaliablity = 1;\r\n \r\n if(datas.business_name_of_the_owner.length > 0){\r\n datas.business_name_of_the_owner.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\r\n });\r\n\r\n for (let val of result) {\r\n \r\n let vals = {\r\n address_label:val.address_label,\r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type: val.business_ownership_type,\r\n business_monthly_rented_amt: val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_vintage: val.business_vintage,\r\n business_purchase_year: val.business_purchase_year,\r\n business_emi: val.business_emi\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddressWithData(vals));\r\n }\r\n } else {\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddress());\r\n }\r\n }\r\n addBusinessAssetsDetailsWithData(supp_data){\r\n var result=Object.keys(supp_data).map(function(key){\r\n return supp_data[key];\r\n })\r\n \r\n if(result.length>0){\r\n console.log(\"length >0\")\r\n result.forEach((datas,index)=>{\r\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\r\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\r\n });\r\n for(let val of result){\r\n let formData={\r\n address_label:val.address_label,\r\n business_assets_mode: val.business_assets_mode,\r\n\r\n business_years:val.business_year,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type:val.business_ownership_type,\r\n business_monthly_rented_amt:val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\r\n }\r\n \r\n }\r\n this.loadDetails=true\r\n }\r\n\r\n createBusinessAssetsForAddressWithData(data): FormGroup {\r\n return this.fb.group({\r\n address_label:[data.address_label],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type: [data.business_ownership_type],\r\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\r\n business_vintage: [data.business_vintage],\r\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [data.business_emi]\r\n });\r\n }\r\n\r\n initBusinessDetailsWithdata(data) {\r\n \r\n\r\n let formGroup= this.fb.group({\r\n address_label:[data.address_label],\r\n business_assets_mode: [data.business_assets_mode],\r\n \r\n business_years:[data.business_year],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_details: this.fb.array([]),\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type : [data.business_ownership_type],\r\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\r\n // relation: [data.relation || ''],\r\n business_vintage: [data. business_vintage],\r\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n // purchase_month: [data.purchase_month],\r\n business_emi: [data.business_emi || ''],\r\n });\r\n return formGroup;\r\n }\r\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\r\n \r\n let val = i;\r\n let data = datas;\r\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n control.controls.splice(0);\r\n\r\n switch (assets_details_mode) {\r\n case '2': {\r\n let business_property_datas : any;\r\n data.forEach((datas,i) => {\r\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadPropertyWithData(business_property_datas));\r\n break;\r\n }\r\n case '3': {\r\n let business_Four_Weeler_datas : any;\r\n data.forEach((datas,i) => {\r\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\r\n break;\r\n }\r\n case '4': {\r\n let equipment_manufacturing_description_datas : any;\r\n data.forEach((datas,i) => {\r\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\r\n break;\r\n }\r\n \r\n case '1': {\r\n let array_datas : any;\r\n data.forEach((datas,i) => {\r\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\r\n array_datas = {\r\n 'any_other_assets': datas.any_other_assets,\r\n // 'any_other_asset_value': datas.any_other_asset_value,\r\n 'any_other_asset_loan': datas.any_other_asset_loan,\r\n };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n public paymentModeTextBox: number;\r\n selectedPM(e) {\r\n this.paymentModeTextBox = e.value;\r\n // this.f.supplier_details.controls.get('payment_mode_value');\r\n }\r\n\r\n public freqPurchaseTextBox: number;\r\n selectedFreqPurchase(e) {\r\n this.freqPurchaseTextBox = e.value;\r\n }\r\n \r\n\r\n onSubmit(){\r\n //console.log(\"Remarks\",this.focusRemark);\r\n if(!this._businessAssetsQuesFrom.valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\r\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\r\n console.log(element)\r\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\r\n this.focusRemark.nativeElement.focus()\r\n }\r\n })\r\n return;\r\n }\r\n \r\n var answerData=this._businessAssetsQuesFrom.value;\r\n \r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n\r\n this.qustcat.saveForm(answerData).subscribe(result=>{\r\n if(result['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\r\n }\r\n })\r\n \r\n }\r\n // calculate vintage and purchase {}\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 2) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n if (type == 3) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n }\r\n\r\n\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n\r\n // // check others\r\n checkOthers(values){\r\n // if(values!=null) {\r\n // return values.id==0 ? true : false;\r\n // }\r\n if(values.length > 0) {\r\n // return values.id==0 ? true : false;\r\n let Avaliablity = 1;\r\n values.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n return Avaliablity == 0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n\r\n setRequiredValidation(value, item, flag,i) {\r\nif(flag== 11){\r\n if(value == 'yes'){\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\r\n }\r\n else if(value == 'no'){\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\r\n }\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\r\n}\r\n if (flag == 1) {\r\n if (value == 'yes') {\r\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\r\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n }\r\n else {\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n }\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n\r\n\r\n }\r\n // if(flag == 2){\r\n // value==1\r\n // ? item.controls.premises_type_others.setValidators([Validators.required])\r\n // : item.controls.premises_type_others.clearValidators();\r\n // item.controls.premises_type_others.updateValueAndValidity();\r\n // }\r\n if (flag == 3) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwner = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwner = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n\r\n // value == 0\r\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\r\n // : item.controls.business_name_of_the_other_owner.clearValidators();\r\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n }\r\n if (flag == 5) {\r\n value == 1\r\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\r\n : item.controls.other_vehicle_type.clearValidators();\r\n item.controls.other_vehicle_type.updateValueAndValidity();\r\n }\r\n if (flag == 6) {\r\n value == 1\r\n ? item.controls.other_property_type.setValidators([Validators.required])\r\n : item.controls.other_property_type.clearValidators();\r\n item.controls.other_property_type.updateValueAndValidity();\r\n\r\n value != ''\r\n ? item.controls.address_of_the_property.setValidators([Validators.required])\r\n : item.controls.address_of_the_property.clearValidators();\r\n item.controls.address_of_the_property.updateValueAndValidity();\r\n }\r\n if (flag == 7) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n // if(flag == 8){\r\n // let Avaliablity = 1;\r\n // value.forEach(option => {\r\n // if(option.id == 0 && option.group_id == 2){\r\n \r\n // Avaliablity = option.id;\r\n // }\r\n // });\r\n // this.isOtherOwner = false;\r\n // if(Avaliablity == 0){\r\n \r\n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n // this.isOtherOwnerForAddress = true;\r\n // }else{\r\n \r\n // item.controls.business_name_of_the_other_owner.setValue('');\r\n // item.controls.business_name_of_the_other_owner.clearValidators();\r\n // this.isOtherOwnerForAddress = false;\r\n // }\r\n \r\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n \r\n // }\r\n\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(e,ind){\r\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\r\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\r\n \r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n let Year = +business_year + +Math.floor(converted_year);\r\n \r\n if(Year > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }\r\n else{\r\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\r\n {\r\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }else{\r\n this.monthErrorMessage[ind] = '';\r\n this.yearErrorMessage[ind] = '';\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n }\r\n }\r\n\r\n checkWithExistBusinessYear(e,ind){\r\n \r\n if(+e > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n \r\n }\r\n else{\r\n this.yearErrorMessage[ind] = '';\r\n }\r\n }\r\n\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1:\r\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 : \r\n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 3:\r\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 9:\r\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 10:\r\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n }\r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\r\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n }\r\n changeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n }\r\n changeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n }\r\n removeImg(index){\r\n this.imageDisplay.splice(index,1);\r\n }\r\n removeImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n }\r\n capture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.cons.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n \r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.formDetails.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':this.pdDetails.company_id,\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustcat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('business_name_of_the_other_owner').value\r\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\n// import { QueryState } from '@angular/core/src/render3/interfaces';\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport { Subject } from 'rxjs';\r\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-banking',\r\n templateUrl: 'pd-question-business-banking.html',\r\n})\r\nexport class PdQuestionBusinessBankingPage {\r\npdDetails:any;\r\nm_btLenderList: any;\r\napplicants: any \r\nsalaryField: boolean;\r\nformDetails: any;\r\nform_id:any;\r\naccountType: any;\r\nusers: any;\r\nbankingForm:FormGroup;\r\npublic pd_cus_segment:string\r\ncompany_id:any;\r\n\r\npdid:any;\r\nitemRows:FormArray;\r\n\r\nexistCompanyList: any=[];\r\nmergeCompanyApplicant: any=[];\r\nstep:number\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n limitCaseFlag: any=[];\r\n generalExistBusinessYear: number;\r\n generalExistBusinessMonth:number\r\n yearErrorMessage: any=[];\r\n monthErrorMessage: any=[];\r\n m_btLenderListValue:any=[]\r\n protected _onDestroy = new Subject();\r\n imageDisplay: any[];\r\n imageBucket: any=[];\r\n tab: string='0';\r\n complete_status: boolean = false;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,\r\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\r\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\r\n private cameraProvider:CameraProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n \r\n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\r\n this.pdid=this.pdDetails.pd_id;\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id=this.pdDetails.company_id\r\n \r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n this.generalExistBusinessMonth=this.pdDetails.business_month\r\n this.generalExistBusinessYear=this.pdDetails.business_years\r\n \r\n\r\n this.users = this.aws.getlocale();\r\n this.step=0\r\n this.bankingForm = this.fb.group(\r\n {\r\n itemRows:this.fb.array([]),\r\n banking_form_remark:[''],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n\r\n //To checking Completed Status For CompleteList Menu\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\r\n this.getPDImages();\r\n }\r\n searchFun(control){\r\n if(!this.m_btLenderListValue){\r\n return\r\n }\r\n let searchVal=control.controls['filterCtrl'].value\r\n if(!searchVal){\r\n this.m_btLenderListValue=this.m_btLenderList.slice()\r\n return\r\n }\r\n else{\r\n searchVal=searchVal.toLowerCase();\r\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\r\n }\r\n }\r\n getdropdown(){\r\n \r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\r\n this.m_btLenderListValue=this.m_btLenderList.slice();\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n \r\n checkWithExistBusinessYear(itemrow,e, i) {\r\nconsole.log(this.generalExistBusinessYear)\r\n if (+e > this.generalExistBusinessYear) {\r\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\r\n itemrow.controls.vintage_year.setValue('');\r\n }\r\n else {\r\n this.yearErrorMessage[i] = '';\r\n }\r\n }\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow, e,i) {\r\n console.log(this.generalExistBusinessMonth)\r\n\r\n\r\n let year = itemrow.controls.vintage_year.value;\r\n\r\n let converted_month: number = e % 12;\r\n let converted_year: number = e / 12;\r\n let Year = +year + +Math.floor(converted_year);\r\n \r\n if (Year > this.generalExistBusinessYear) {\r\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\r\n itemrow.controls.vintage_year.setValue('');\r\n itemrow.controls.vintage_month.setValue('');\r\n\r\n }\r\n else {\r\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\r\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\r\n itemrow.controls.vintage_year.setValue('');\r\n itemrow.controls.vintage_month.setValue('');\r\n console.log(this.monthErrorMessage[i])\r\n\r\n } else {\r\n this.monthErrorMessage[i] = '';\r\n this.yearErrorMessage[i] = '';\r\n itemrow.controls.vintage_year.setValue(Year);\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n }\r\n }\r\n\r\n\r\n}\r\n /** Amount InWords */\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n setRequiredValidation(value,item,flag) {\r\n \r\n \r\n if(flag == 1){\r\n value==0\r\n ? item.controls.other_applicant.setValidators([Validators.required])\r\n : item.controls.other_applicant.clearValidators();\r\n item.controls.other_applicant.updateValueAndValidity();\r\n }\r\n if(flag == 2){\r\n value==1\r\n ? item.controls.other_bank.setValidators([Validators.required])\r\n : item.controls.other_bank.clearValidators();\r\n item.controls.other_bank.updateValueAndValidity();\r\n }\r\n \r\n }\r\n\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n \r\n bank_name: [''],\r\n filterCtrl:[''],\r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n addBankDetails(index,event) {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n event.stopPropagation()\r\n const control = this.bankingForm.controls['itemRows'];\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\r\n \r\n this.itemRows.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n const control = this.bankingForm.controls['itemRows'];\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else\r\n \r\n \r\n control.removeAt(i);\r\n }\r\n \r\n setStep(index: number) {\r\n this.step = index;\r\n }\r\n\r\n retiveBankDetails(){\r\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\r\n const control = this.bankingForm.controls['itemRows'];\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n \r\n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n \r\n \r\n if(result.length == 0){\r\n \r\n control.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n result.forEach((datas,index)=>\r\n {\r\n datas.filterCtrl=''\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n if(datas.limit != ''){\r\n \r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n }\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n control.push(this.createBankItem(''));\r\n })\r\n \r\n this.bankingForm.controls['itemRows'].setValue(result);\r\n } \r\n }else\r\n {\r\n \r\n control.push(this.createBankItem(''));\r\n }\r\n });\r\n \r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n answerData.itemRows.forEach(element=>{\r\n delete element.filterCtrl\r\n })\r\n console.log(\"logs\",answerData)\r\n let records: any = {};\r\n records.parent_pdid=this.pdDetails.parent_pd_id\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.form_id;\r\n records.fk_createdby = this.users;\r\n records.company_id=this.company_id;\r\n records.banking_details = answerData.itemRows;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.bankingForm.markAsUntouched();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n })\r\n \r\n }\r\n \r\n /*IMAGE SECTION*/\r\n getPDImages(){\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay=[]\r\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\r\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\r\n if(!val['msg']){\r\n console.log(val['records'])\r\n if(val['records'].length>0){\r\n val['records'].forEach(result=>{\r\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\r\n })\r\n console.log(\"imageBuck\",this.imageDisplay);\r\n }\r\n }\r\n })\r\n}\r\nchangeName(value,index,img){\r\n console.log(value);\r\n this.imageDisplay[index]={'image':img,'Name':value}\r\n \r\n}\r\nchangeNameForBucket(value,index,img){\r\n this.imageBucket[index]={'image':img,'Name':value}\r\n}\r\nremoveImg(index){\r\n this.imageDisplay.splice(index,1);\r\n}\r\nremoveImgForBucket(index){\r\n this.imageBucket.splice(index,1)\r\n}\r\ncapture(){\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res=>{\r\n console.log(\"Value\",res)\r\n if(res != 'error'){\r\n this.cons.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({'image':res,'Name':'','link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert =this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value=>{\r\n console.log(\"alert value\",value);\r\n if(value){\r\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\r\n }\r\n })\r\n })\r\n }\r\n },error=>{\r\n console.log(\"Camera Error \",JSON.stringify(error));\r\n })\r\n this.tab='1';\r\n\r\n\r\n }\r\n sendImage(){\r\n this.loading.loaderForSendImage()\r\n console.log(\"ll\",JSON.stringify(this.imageBucket));\r\n \r\n let records:any={\r\n 'pd_id':this.pdDetails.pd_id,\r\n 'formid':this.formDetails.form_id,\r\n 'images':this.imageBucket,\r\n 'company_id':this.pdDetails.company_id,\r\n \r\n }\r\n console.log(\"records\",JSON.stringify(records))\r\n \r\n this.qustCat.savePDImages(records).subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket=[]\r\n this.getPDImages();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n changeSentence(value){\r\n console.log(\"val\",value)\r\n let name=value.get('other_applicant').value\r\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\r\n }\r\n \r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder } from '@angular/forms';\r\n\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\r\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-future-plans-and-business-environment',\r\n templateUrl: 'pd-question-future-plans-and-business-environment.html',\r\n})\r\nexport class PdQuestionFuturePlansAndBusinessEnvironmentPage {\r\n\r\n\r\n pdDetails: any;\r\n formDetails: any;\r\n pdid: any;\r\n FormId: any;\r\n company_id:any;\r\n users: any;\r\n product_abbr: any;\r\n lender_short_name: any;\r\n complete_status: boolean = false;\r\n tab: any = '0';\r\n imageDisplay: any = [];\r\n imageBucket: any = [];\r\n public _futurePlansForm: FormGroup;\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\r\n public qustcat: QuestionCategoryProvider, public aws: AwsServiceProvider,\r\n public toast: ToastProvider, private cameraProvider: CameraProvider, private loading: LoadingProvider,private constantProvider:ConstantsProvider) {\r\n\r\n \r\n this.formDetails=this.navParams.get('formDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid = this.pdDetails.pd_id\r\n this.FormId = this.formDetails.form_id;\r\n this.company_id=this.pdDetails.company_id\r\n this.users = aws.getlocale();\r\n this.lender_short_name = this.pdDetails.lender_short_name;\r\n this.product_abbr = this.pdDetails.product_abbr;\r\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\r\n\r\n this._futurePlansForm = this.fb.group({\r\n parent_pdid: [this.pdDetails.parent_pd_id],\r\n pdid: [this.pdid],\r\n formid: ['23'],\r\n company_id:[this.company_id],\r\n usp_of_the_business: [''],\r\n future_plans_for_business_expansion: [''],\r\n impact_of_gst_on_the_business: [''],\r\n key_competitors: [''],\r\n succession_plan: [''],\r\n brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''],\r\n remarks: [''],\r\n fk_createdby:[this.users]\r\n });\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage');\r\n this.getFuturePlans();\r\n this.getPDImages();\r\n }\r\n\r\n ionViewCanLeave() {\r\n \r\n if (this._futurePlansForm.dirty) {\r\n\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Data will be Lost\", \"Are you sure want to Go Back\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n \r\n if (data == false) {\r\n reject();\r\n return true;\r\n }\r\n else {\r\n //AFTER FORM DIRTY CHECK\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve1, reject1) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n \r\n if (data == false) {\r\n //reject1();\r\n reject();\r\n }\r\n else {\r\n resolve1();\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n resolve();\r\n }\r\n })\r\n })\r\n\r\n }\r\n else {\r\n //REGULAR CHECK FOR IMAGE IS CAPTURED\r\n if (this.imageBucket.length > 0) {\r\n return new Promise((resolve, reject) => {\r\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\r\n alert.present();\r\n alert.onDidDismiss((data) => {\r\n \r\n if (data == false) {\r\n reject();\r\n }\r\n else {\r\n resolve();\r\n }\r\n })\r\n })\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n getFuturePlans() {\r\n let Records = { 'parent_pdid': this.pdDetails.parent_pd_id, \r\n 'pd_id': this.pdid, \r\n 'pd_form_id': this.FormId,\r\n 'company_id': this.company_id}\r\n this.qustcat.retiverForm(Records).subscribe(data => {\r\n if (data['dataStatus'] == true) {\r\n this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business);\r\n this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion);\r\n this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business);\r\n this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors);\r\n this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan);\r\n this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants);\r\n this._futurePlansForm.controls.remarks.setValue(data['records'].remarks);\r\n }\r\n else { };\r\n })\r\n\r\n }\r\n\r\n saveFuturePlan() {\r\n if (this._futurePlansForm.invalid) {\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\r\n }\r\n else {\r\n var answerData = this._futurePlansForm.value\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n this.qustcat.saveForm(answerData).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n //TO CHANGE THE FORM STATE \r\n this._futurePlansForm.reset(this._futurePlansForm.value);\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(() => {\r\n this.navCtrl.pop();\r\n }, 2000);\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n });\r\n }\r\n }\r\n\r\n getPDImages() {\r\n //FOR RETRIEVING PICTURES\r\n this.imageDisplay = []\r\n let record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id':this.pdDetails.company_id }\r\n this.qustcat.getPDImages(record_for_pic).subscribe(val => {\r\n if (!val['msg']) {\r\n \r\n if (val['records'].length > 0) {\r\n val['records'].forEach(result => {\r\n this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' })\r\n })\r\n \r\n }\r\n }\r\n })\r\n }\r\n\r\n changeName(value, index, img) {\r\n this.imageDisplay[index] = { 'image': img, 'Name': value }\r\n }\r\n\r\n changeNameForBucket(value, index, img) {\r\n this.imageBucket[index] = { 'image': img, 'Name': value }\r\n }\r\n\r\n removeImg(index) {\r\n this.imageDisplay.splice(index, 1);\r\n }\r\n\r\n removeImgForBucket(index) {\r\n this.imageBucket.splice(index, 1)\r\n }\r\n\r\n capture() {\r\n //FOR CAPTURING PICS\r\n this.cameraProvider.getpicture().then(res => {\r\n \r\n if (res != 'error') {\r\n this.constantProvider.getGeoTag().then(geoCoordinates=>{\r\n console.log(\"geo promise\",geoCoordinates)\r\n this.imageBucket.push({ 'image': res, 'Name': '' ,'link':geoCoordinates});\r\n //FOR GETTING THE DOC NAME FROM ALERT\r\n let alert = this.toast.setAlertForDocName()\r\n alert.present()\r\n alert.onDidDismiss(value => {\r\n if (value) {\r\n this.imageBucket[this.imageBucket.length - 1].Name = value.Name\r\n }\r\n })\r\n })\r\n }\r\n }, error => {\r\n console.log(\"Camera Error \", JSON.stringify(error));\r\n })\r\n this.tab = '1';\r\n\r\n\r\n }\r\n sendImage() {\r\n this.loading.loaderForSendImage()\r\n \r\n let records: any = {\r\n 'pd_id': this.pdDetails.pd_id,\r\n 'formid': this.FormId,\r\n 'images': this.imageBucket,\r\n 'company_id':this.company_id,\r\n \r\n }\r\n \r\n this.qustcat.savePDImages(records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\r\n this.imageBucket = []\r\n this.getPDImages();\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Fail');\r\n }\r\n })\r\n \r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n\r\n/**\r\n * Generated class for the FormCompleteCheckModalPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n//@IonicPage()\r\n@Component({\r\n selector: 'page-form-complete-check-modal',\r\n templateUrl: 'form-complete-check-modal.html',\r\n})\r\nexport class FormCompleteCheckModalPage {\r\n\r\n datas:any\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n this.datas=this.navParams.get('values');\r\n console.log(this.datas)\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad FormCompleteCheckModalPage');\r\n\r\n }\r\n closeModal(){\r\n this.navCtrl.pop();\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/form-complete-check-modal/form-complete-check-modal.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdGeneralImagesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-general-images',\r\n templateUrl: 'pd-general-images.html',\r\n})\r\nexport class PdGeneralImagesPage {\r\n\r\n cameraArr:any = [];\r\n applicatentDetails: any;\r\n count:any = 0;\r\n saveAccess:boolean =false;\r\n FormId:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdGeneralImagesPage');\r\n }\r\n \r\n takePicture()\r\n {\r\n this.camera.getpicture().then(image=>\r\n {\r\n this.count = this.count+1;\r\n \r\n this.cameraArr.push({'image':image,'name':''});\r\n });\r\n }\r\n\r\n removeimage(i)\r\n {\r\n this.count = this.count - 1; \r\n this.cameraArr.splice(i,1);\r\n }\r\n\r\n docnames(doc,i,img)\r\n {\r\n \r\n this.cameraArr[i] = {'image':img,'Name':doc};\r\n // console.log(JSON.stringify(this.pddocdata)); \r\n }\r\n savePDImages()\r\n {\r\n \r\n this.saveAccess = true;\r\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\r\n records.images = this.cameraArr;\r\n this.qustCat.savePDImages(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.saveAccess = false;\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } \r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { PdListPage } from '../../pd-list/pd-list';\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\n\r\n/**\r\n * Generated class for the BouncedRejectPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-bounced-reject',\r\n templateUrl: 'bounced-reject.html',\r\n})\r\nexport class BouncedRejectPage {\r\n\r\n users: any;\r\n bounseMaster: any;\r\n pdDetails: any;\r\n status: any;\r\n bounce_reason:any;\r\n bounce_reason_others:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\r\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\r\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\r\n // this.pdDetails = this.navParams.get('appdetails');\r\n // this.status = this.navParams.get('status');\r\n this.pdDetails=this.navParams.get('details')\r\n // console.log(this.pdDetails)\r\n this.users = this.aws.getlocale();\r\n this.getDropdown();\r\n \r\n }\r\n\r\n getDropdown()\r\n {\r\n \r\n \r\n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\r\n console.log(this.bounseMaster);\r\n }\r\n })\r\n \r\n }\r\n updatePDStatus()\r\n {\r\n if(this.bounce_reason !=null && this.bounce_reason !=1)\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n \r\n \r\n\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\r\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\r\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\r\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\r\nimport {ToastProvider} from '../../providers/common-provider/toast'\r\n\r\n\r\n/**\r\n * Generated class for the MapAddressPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-map-address',\r\n templateUrl: 'map-address.html',\r\n})\r\nexport class MapAddressPage {\r\n cus_seg:any=[]\r\n addressMapping:FormGroup\r\n mobileDisable:boolean=false;\r\n master:any=[]\r\n addressData:any=[]\r\n applicants:any=[]\r\n pageTitle=\"Choose customer segment For this PD address\"\r\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\r\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\r\n\r\nthis.master=this.navParams.get('master')\r\nthis.addressData=this.navParams.get('address')\r\nthis.applicants=this.navParams.get('applicants')\r\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\r\n this.addressMapping=this.fb.group({\r\n fk_customer_segment:[''],\r\n pd_co_applicant_id:[''],\r\n mobile_no:['']\r\n })\r\n this.dropDown();\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad MapAddressPage');\r\n }\r\n updateMobile(data){\r\n \r\n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\r\n console.log(mobile)\r\n if(mobile != '' && mobile != null){\r\n this.addressMapping.controls['mobile_no'].setValue(mobile)\r\n this.addressMapping.controls['mobile_no'].clearValidators();\r\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\r\n this.mobileDisable=true\r\n }\r\n else{\r\n\r\n this.addressMapping.controls['mobile_no'].setValue('')\r\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\r\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\r\n this.mobileDisable=false\r\n }\r\n }\r\n dropDown(){\r\n this.qustCat.getCustomersDetails().subscribe(res=>{\r\n if(res['dataStatus']== true){\r\n this.cus_seg=res['records']\r\n }\r\n })\r\n }\r\n cancel(){\r\n this.navCtrl.pop();\r\n }\r\n submit(values){\r\n if(this.addressMapping.invalid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\r\n return;\r\n }\r\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\r\n \"fk_customer_segment\":values.fk_customer_segment,\r\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\r\n \"mobile_no\":values.mobile_no\r\n }\r\n console.log(\"update\",update_records);\r\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\r\n this.navCtrl.pop();\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\r\n }\r\n },err=>{\r\n console.log(\"Error\",JSON.stringify(err))\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the PasswordPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-password',\r\n templateUrl: 'password.html',\r\n})\r\nexport class PasswordPage {\r\n commonImage: string;\r\n newpassword: any;\r\n confirmPassword: any;\r\n pin:any;\r\n Username:any;\r\n Password:any;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.Username = this.navParams.get('Username');\r\n this.Password = this.navParams.get('Password');\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PasswordPage');\r\n }\r\n setNewPassword(newpass)\r\n {\r\n if(newpass !='' && newpass !=null && newpass !== undefined){\r\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\r\n console.log(auth);\r\n this.aws.dologin(auth).subscribe(res => {\r\n console.log(res);\r\n this.navCtrl.setRoot(PdListPage);\r\n // this.router.navigate(['/home']);\r\n }, err => {\r\n this.toast.pdTriggerappmessage(err.message);\r\n // alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the new Password');\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\n\r\nimport { LoadingProvider } from '../../providers/common-provider/loading';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the AuthPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n \r\n\r\n@Component({\r\n selector: 'page-auth',\r\n templateUrl: 'auth.html',\r\n})\r\nexport class AuthPage {\r\n pinAccess: any;\r\n newpindetails: any;\r\n userDetails: any;\r\npin:any;\r\n mpinaccess:boolean =false;\r\n newpassword:any;\r\n ConfirmPassword:any;\r\n commonImage:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.shared.refresh();\r\n this.getuserDetails();\r\n \r\n\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad AuthPage');\r\n }\r\n ionViewDidEnter(){\r\n this.Menu.enable(false);\r\n }\r\n ionViewWillLeave(){\r\n this.Menu.enable(true);\r\n }\r\n getuserDetails()\r\n {\r\n this.loadingCtrl.pdloader('loading...');\r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.loadingCtrl.loading.dismiss();\r\n this.userDetails = this.userDetails.records;\r\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\r\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\r\n if(this.userDetails[0].mpin ==null)\r\n {\r\n \r\n this.mpinaccess = true;\r\n \r\n }else\r\n {\r\n this.mpinaccess = false;\r\n }\r\n }else{\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n }else{\r\n this.toast.pdTriggerappmessage('')\r\n }\r\n //console.log(this.mpinaccess);\r\n });\r\n }\r\n setnewpin(newpin)\r\n {\r\n console.log(\"set Pin\")\r\n this.aws.userpinupdate(newpin).subscribe(res=>\r\n {\r\n this.newpindetails = res;\r\n if(this.newpindetails.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n /**Finger print */\r\n \r\n checkpin(pin) {\r\n console.log(\"Check pin\",pin);\r\n if(pin !='' && pin !=null)\r\n {\r\n if(this.userDetails[0].mpin == pin)\r\n {\r\n console.log(\"Entering List page\")\r\n this.navCtrl.setRoot(PdListPage);\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\r\n }\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The PIN');\r\n }\r\n\r\n \r\n \r\n }\r\n checkfingerprint()\r\n {\r\n console.log(\"Check Finger\");\r\n this.faio.show({\r\n clientId: 'Fingerprint-Demo',\r\n clientSecret: 'password', // Only Android\r\n localizedFallbackTitle: 'Use Pin', // Only iOS\r\n localizedReason: 'Please authenticate',\r\n disableBackup:true,\r\n })\r\n .then((result: any) => {\r\n this.navCtrl.setRoot(PdListPage);\r\n })\r\n .catch((error: any) => {\r\n this.toast.pdTriggerappmessage('err: '+ error);\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { parseDate } from 'ionic-angular/util/datetime-util';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { DatabaseProvider } from '../../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport { InputPage } from '../input/input';\r\n\r\n/**\r\n * Generated class for the CompleteListPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n//@IonicPage()\r\n@Component({\r\n selector: 'page-complete-list',\r\n templateUrl: 'complete-list.html',\r\n})\r\nexport class CompleteListPage {\r\n // random_ng_past(): any {\r\n // throw new Error(\"Method not implemented.\");\r\n // }\r\n // random_bg_color(): any {\r\n // throw new Error(\"Method not implemented.\");\r\n // }\r\n aws: any;\r\n pdlistaccess: boolean;\r\n pdofficer: any;\r\n pdlistdetails: any = [];\r\n pdschduleDetails: any;\r\n searchpast: any;\r\n pdcomplete: any=[];\r\n searchcomplete: any;\r\n bgColorPast: any = [];\r\n bgColor: any = [];\r\n viewchange: boolean;\r\n pdlist:any = \"0\";\r\n\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad CompleteListPage');\r\n\r\n this.db.getuserDetails();\r\n \r\n }\r\n ionViewCanEnter()\r\n {\r\n console.log(\"Pd list ionViewCanEnter\")\r\n this.getpdTriggerdetails();\r\n }\r\n \r\n doRefresh(refresher) {\r\n this.bgColor = [];\r\n this.pdschduleDetails = [];\r\n this.pdcomplete = [];\r\n // this.pdlistaccess = true;\r\n this.shared.refresh();\r\n this.getpdTriggerdetails();\r\n setTimeout(() => {\r\n \r\n refresher.complete();\r\n }, 2000);\r\n }\r\n getpdTriggerdetails()\r\n {\r\n \r\n let userid = this.awsservice.getlocale();\r\n //.log(\"User\",userid)\r\n // this.pdlistaccess = true;\r\n\r\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\r\n {\r\n console.log('res',res);\r\n this.pdlistdetails = res;\r\n if(this.pdlistdetails.dataStatus == true)\r\n {\r\n this.pdlistaccess = false;\r\n \r\n \r\n // this.searchpast = this.pdschduleDetails;\r\n \r\n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\r\n this.searchcomplete = this.pdcomplete;\r\n \r\n this.random_bg_color();\r\n this.random_ng_past();\r\n }else\r\n {\r\n this.pdlistaccess = false;\r\n this.pdlistdetails = \"No Records Found\";\r\n }\r\n })\r\n }\r\n random_bg_color() {\r\n for(let id of this.pdcomplete){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n \r\n return this.bgColor;\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.pdschduleDetails){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n \r\n PdAllocation(pddetails)\r\n {\r\n \r\n if(pddetails.pd_status == 'COMPLETED')\r\n {\r\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app.module';\r\nimport { enableProdMode } from '@angular/core';\r\nenableProdMode();\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\r\nimport { ErrorHandler, NgModule } from '@angular/core';\r\nimport { IonicApp, IonicErrorHandler, IonicModule,Config, Events } from 'ionic-angular';\r\n\r\nimport { MyApp } from './app.component';\r\n\r\n\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\r\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\r\nimport { SQLite } from '@ionic-native/sqlite';\r\nimport { DatabaseProvider } from '../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport {MapAddressPage} from '../pages/map-address/map-address'\r\nimport {FormCompleteCheckModalPage} from '../pages/form-complete-check-modal/form-complete-check-modal'\r\n//import { FCM } from '@ionic-native/fcm/ngx';\r\n\r\n\r\nimport {\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule\r\n} from '@angular/material';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AuthGuard } from '../providers/_guard/auth.guard';\r\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { ConstantsProvider } from '../providers/constants/constants';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\r\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\r\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\r\nimport { InputPage } from '../pages/input/input';\r\nimport { ToastProvider } from '../providers/common-provider/toast';\r\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\n\r\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\r\nimport { OtpPage } from '../pages/otp/otp';\r\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\r\n\r\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\r\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\r\nimport { CameraProvider } from '../providers/common-provider/camera';\r\nimport { LoadingProvider } from '../providers/common-provider/loading';\r\nimport { Camera } from '@ionic-native/camera';\r\n\r\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\r\n\r\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\r\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { Geolocation } from '@ionic-native/geolocation';\r\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\n// import { DatePicker } from '@ionic-native/date-picker';\r\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\r\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\r\nimport { PdQuestionFuturePlansAndBusinessEnvironmentPage } from '../pages/pd-question/pd-question-business-group/pd-question-future-plans-and-business-environment/pd-question-future-plans-and-business-environment';\r\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\r\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport { PdPipe } from '../pipes/pd/pd';\r\nimport { SearchRelationPipe } from '../pipes/search-relation/search-relation';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\r\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\r\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\r\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\r\nimport { ContentLoaderModule } from '@netbasal/content-loader';\r\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\r\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\r\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\r\n// import {PipesModule} from '../pipes/pipes.module'\r\nimport {IonicStorageModule} from '@ionic/storage'\r\nimport { StorageProvider } from '../providers/storage/storage';\r\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\r\nimport {CacheModule} from 'ionic-cache'\r\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\r\nimport {BackgroundGeolocation} from '@ionic-native/background-geolocation'\r\nimport {ModalScaleUpEnterTransition} from '../app/modalanimations/enter'\r\nimport {ModalScaleUpLeaveTransition} from '../app/modalanimations/leave'\r\nimport {Push} from '@ionic-native/push'\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n CompleteListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n PdQuestionAssessedSummaryPage,\r\n PdQuestionAssessedDailyPurchasePage,\r\n PdQuestionAssessedImagesPage,\r\n RupeeCurrencyFormatPipe,SearchRelationPipe,\r\n PdQuestionRentalDashPage,\r\n MapAddressPage,\r\n FormCompleteCheckModalPage\r\n // PipesModule\r\n \r\n ],\r\n imports: [\r\n BrowserModule,ReactiveFormsModule,FormsModule,\r\n IonicModule.forRoot(MyApp),\r\n BrowserAnimationsModule,\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,MatListModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\r\n ContentLoaderModule,\r\n IonicStorageModule.forRoot(),\r\n CacheModule.forRoot()\r\n \r\n ],\r\n bootstrap: [IonicApp],\r\n entryComponents: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n CompleteListPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionFuturePlansAndBusinessEnvironmentPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n PdQuestionAssessedSummaryPage,\r\n PdQuestionAssessedDailyPurchasePage,\r\n PdQuestionAssessedImagesPage,\r\n PdQuestionRentalDashPage,\r\n MapAddressPage,\r\n FormCompleteCheckModalPage\r\n \r\n \r\n ],\r\n providers: [\r\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\r\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,BackgroundGeolocation,\r\n Push,Events,\r\n {\r\n provide:HTTP_INTERCEPTORS,\r\n useClass: TokenInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: ErrorHandler,\r\n useClass: IonicErrorHandler\r\n },LaunchNavigator,\r\n AwsServiceProvider,\r\n QuestionCategoryProvider,\r\n CameraProvider,Camera,\r\n PdPipe,LocationAccuracy,\r\n LoadingProvider,Geolocation,\r\n DatabaseProvider,\r\n StorageProvider\r\n \r\n ]\r\n})\r\nexport class AppModule {\r\n\r\n constructor(public config:Config){\r\n this.setCustomTransitionsForModal()\r\n }\r\n private setCustomTransitionsForModal() {\r\n this.config.setTransition('modal-scale-up-leave', ModalScaleUpLeaveTransition);\r\n this.config.setTransition('modal-scale-up-enter', ModalScaleUpEnterTransition);\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { Nav, Platform, Events } from 'ionic-angular';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { MethodCall } from '@angular/compiler';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport {AlertController} from 'ionic-angular'\r\nimport { platformBrowser } from '@angular/platform-browser';\r\nimport {CacheService} from 'ionic-cache'\r\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\r\nimport {Push,PushOptions,PushObject} from '@ionic-native/push'\r\nimport { CookieStorage } from 'amazon-cognito-identity-js';\r\nimport {ToastProvider} from '../providers/common-provider/toast'\r\n\r\ndeclare let notificationAccess:boolean\r\n\r\n\r\n\r\n@Component({\r\n templateUrl: 'app.html'\r\n})\r\nexport class MyApp {\r\n \r\n userDetails: any;\r\n userAccess:boolean = false;\r\n @ViewChild(Nav) nav: Nav;\r\n\r\n rootPage: any = LoginPage;\r\n public alertShown:boolean=false\r\n\r\n pages: Array<{title: string,icon:any, method: any}>;\r\n\r\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\r\n ,public alertCtrl:AlertController,cache:CacheService,private push:Push,private event:Events,private toastProvider:ToastProvider) {\r\n cache.setDefaultTTL(60*60)\r\n this.initializeApp();\r\n\r\n // used for an example of ngFor and navigation\r\n this.pages = [ \r\n // { title: 'Home', component: HomePage, icon: 'home' },\r\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\r\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\r\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\r\n\r\n ];\r\n\r\n\r\n }\r\n\r\n initializeApp() {\r\n this.platform.ready().then(() => {\r\n // Okay, so the platform is ready and our plugins are available.\r\n // Here you can do any higher level native things you might need.\r\n this.statusBar.styleDefault();\r\n if (this.platform.is('android')) {\r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n \r\n }\r\n this.splashScreen.hide();\r\n \r\n this.shared.getAccessToken().then(()=>{\r\n this.getuserDetails();\r\n this.rootPage = AuthPage\r\n this.notification()\r\n }).catch(()=>{\r\n setTimeout(() => {\r\n this.rootPage = LoginPage;\r\n this.unregisterNotification()\r\n }, 1000);\r\n });\r\n \r\n });\r\n this.platform.registerBackButtonAction(()=>{\r\n if(this.nav.length()==1){\r\n if(this.alertShown==false){\r\n //this.presentConfirm(); \r\n let alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n });\r\n alert.present();\r\n this.alertShown=true\r\n }\r\n }\r\n else{\r\n this.nav.pop()\r\n }\r\n });\r\n }\r\n\r\n presentConfirm(){\r\nlet alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n // this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n});\r\n alert.present();\r\n // this.alertShown=true;\r\n }\r\n getuserDetails()\r\n {\r\n this.userDetails=''\r\n \r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n notificationAccess=true\r\n this.userAccess = true;\r\n this.userDetails = this.userDetails.records[0];\r\n \r\n }\r\n \r\n });\r\n }\r\n menulist(id){\r\n //alert();\r\n switch(id)\r\n {\r\n case 1:\r\n this.nav.setRoot(PdListPage);\r\n break;\r\n case 2:\r\n this.AWS.logout().subscribe(()=>{\r\n this.nav.setRoot(LoginPage);\r\n });\r\n break;\r\n case 3:\r\n this.nav.setRoot(CompleteListPage);\r\n break;\r\n case 4:\r\n break;\r\n}\r\n}\r\n logout()\r\n {\r\n // this.aws.logout();\r\n this.nav.setRoot(LoginPage);\r\n }\r\n notification(){\r\n // this.nav.setRoot(this.nav.getActive().component);\r\n this.push.hasPermission().then((res: any) => {\r\n \r\n if (res.isEnabled) {\r\n console.log('We have permission to send push notifications');\r\n } else {\r\n console.log('We do not have permission to send push notifications');\r\n }\r\n \r\n });\r\n const option:PushOptions={\r\n android:{\r\n senderID:'893175418100'\r\n },\r\n ios: {\r\n alert: 'true',\r\n badge: true,\r\n sound: 'false'\r\n },\r\n windows: {},\r\n browser: {\r\n pushServiceURL: 'http://push.api.phonegap.com/v1/push'\r\n }\r\n }\r\n const pushObject:PushObject=this.push.init(option);\r\n if(notificationAccess){\r\n\r\n pushObject.on('notification').subscribe((notification: any) =>{\r\n console.log('Received a notification', notification)\r\n if(notification.additionalData.foreground){\r\n this.event.publish('alert',notification);\r\n this.toastProvider.setAlertwithButton(notification)\r\n }\r\n else{\r\n this.event.publish('notify',notification);\r\n //this.nav.setRoot(PdListPage,{notify:'Via Notification'});\r\n this.rootPage=PdListPage\r\n }\r\n });\r\n }\r\n else{\r\n console.log(\"Sorry you dont have notification access\");\r\n }\r\n \r\n\r\n pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration));\r\n\r\n pushObject.on('error').subscribe(error => console.error('Error with Push plugin', error));\r\n \r\n }\r\n unregisterNotification(){\r\n // PushObject.unregister(()=>console.log(\"Notification is Unregistered\"))\r\n // this.push.unregister()\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\r\n\r\n// import { CanActivateChild, Router } from '@angular/router';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\n\r\n// import { environment } from '../../environments/environment';\r\n\r\nimport { BehaviorSubject,Observable,of } from 'rxjs';\r\n\r\nconst sineedge_poolData = { \r\n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\r\n};\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"\",\r\n ClientId: \"\"\r\n}\r\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"\";\r\n// serviceProvider\r\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\r\n// const apiurl = \"http://localhost/sparqapi/api/\";\r\n\r\n@Injectable()\r\n\r\nexport class CognitoServiceProvider {\r\n public loggedIn :boolean = false;\r\n // public static _REGION = environment.region;\r\n\r\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\r\n // public static _USER_POOL_ID = environment.UserPoolId;\r\n // public static _CLIENT_ID = environment.ClientId;\r\n\r\n // public static _POOL_DATA: any = {\r\n // UserPoolId: CognitoService._USER_POOL_ID,\r\n // ClientId: CognitoService._CLIENT_ID\r\n // };\r\n \r\n\r\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\r\nisloggin:boolean = false; \r\n\r\n\r\n \r\n\r\n \r\n constructor() { \r\n \r\n }\r\n getCurrentUser() {\r\n \r\n return sineedgedevUserpool.getCurrentUser();\r\n}\r\n get isLoggedIn() {\r\n if(sineedgedevUserpool.getCurrentUser() !=null){\r\n this.loggedIn = true;\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n return this.loggedIn; // {2}\r\n }\r\n \r\nrefresh() {\r\n let tokenexp:boolean;\r\n \r\n if(this.getCurrentUser() !=null){\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n }\r\n\r\n else {\r\n if (session.isValid()) {\r\n tokenexp = session.isValid();\r\n of(tokenexp)\r\n console.log(\"CognitoUtil: refreshed successfully\");\r\n \r\n } else {\r\n tokenexp = session.isValid();\r\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\r\n \r\n }\r\n }\r\n \r\n return tokenexp;\r\n \r\n });\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n}\r\ngetAccessToken(){\r\n this.refresh();\r\n return new Promise((resolve, reject) => {\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n //console.log(JSON.stringify(this.getCurrentUser()));\r\n // console.log('76 if');\r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n jwttoken ='';\r\n // console.log('81 if')\r\n reject(err);\r\n }\r\n else {\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n resolve();\r\n } else {\r\n \r\n }\r\n }\r\n });\r\n }\r\n else {\r\n //console.log(\"else\");\r\n reject();\r\n }\r\n});\r\n}\r\n\r\ngetToken():any {\r\n let isloggin = false;\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n isloggin = false;\r\n //console.log('81 if')\r\n }\r\n else {\r\n //alert('function else');\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n isloggin = true;\r\n } else {\r\n \r\n isloggin = false;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n // console.log(\"else\");\r\n isloggin = false;\r\n }\r\n return jwttoken;\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\r\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n\r\n\r\n\r\n@Injectable()\r\nexport class AuthGuard {\r\n \r\n constructor() { \r\n\r\n \r\n }\r\n\r\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n // // if (this.shared.getToken()) {\r\n // alert(\"if\");\r\n // // this.router.navigate(['']);\r\n // return true\r\n // } else {\r\n // alert(\"else\");\r\n // this.router.navigate(['/login']);\r\n // return false;\r\n // }\r\n // }\r\n getlogin(){\r\n // if (this.shared.getToken()) {\r\n // // alert(\"if\");\r\n // //alert();\r\n // return true;\r\n // } else {\r\n // // alert(\"else\");\r\n \r\n // //this.myGlobalServiceNav.setRoot(LoginPage);\r\n // this.shared.isloggin = false;\r\n // return false;\r\n \r\n \r\n // }\r\n }\r\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n \r\n \r\n // }\r\n\r\n // public getToken(): string {\r\n // return localStorage.getItem('token');\r\n // }\r\n\r\n // public logOut() {\r\n // localStorage.clear();\r\n // if(localStorage.getItem('token') === null){\r\n // this.router.navigate(['/login']);\r\n // }\r\n // }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor,\r\n HttpHeaders\r\n} from '@angular/common/http';\r\n// import { AuthGuard } from './auth.guard';\r\nimport { Observable, of} from 'rxjs';\r\n\r\n// import { Router } from '@angular/router';\r\n\r\nimport { catchError, map, tap } from 'rxjs/operators';\r\nimport { HttpErrorResponse } from \"@angular/common/http\";\r\n\r\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\r\n\r\n@Injectable()\r\nexport class TokenInterceptor implements HttpInterceptor{\r\n constructor(public shared:CognitoServiceProvider ) {\r\n \r\n }\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n // request = request.clone({\r\n // setHeaders: {\r\n // Authorization: `${this.auth.getToken()}`\r\n // }\r\n // });\r\n let token:any;\r\n this.shared.refresh();\r\n token = this.shared.getToken() || null;\r\n \r\n token = token.getIdToken().getJwtToken();\r\n \r\n //console.log(token);\r\n let requests = request.clone({\r\n headers:new HttpHeaders({\r\n \r\n 'Authorization': 'sparqvenba2018',\r\n 'Token':token,\r\n 'From':'1',\r\n \r\n \r\n }) \r\n \r\n });\r\n \r\n return next.handle(requests).pipe(\r\n catchError(this.handleError('role', []))\r\n )\r\n }\r\n\r\n private handleError (operation = 'operation', result?: T) {\r\n return (error: any): Observable => {\r\n if(error instanceof HttpErrorResponse){\r\n console.error(\"Error: \" + error.status);\r\n if(error.status == 401){\r\n localStorage.clear();\r\n // this.router.navigate(['/authentication/login']);\r\n }\r\n return of(result as T);\r\n }\r\n };\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\r\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the GoogleplaytabPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-googleplaytab',\r\n templateUrl: 'googleplaytab.html',\r\n})\r\nexport class GoogleplaytabPage {\r\n\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= true;\r\n isLeft:boolean= true;\r\n tabs:any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\r\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\r\n console.log('Width: ' + platform.width());\r\n this.screenWidth_px=platform.width();\r\n \r\n}\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad GoogleplaytabPage');\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n\r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n\r\n this.isLeft=false;\r\n this.isRight=false;\r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n \r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the PdAllocationPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-allocation',\r\n templateUrl: 'pd-allocation.html',\r\n})\r\nexport class PdAllocationPage {\r\npdFullDetails:any = [];\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n \r\n this.pdFullDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdFullDetails);\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdAllocationPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\r\n\r\n/*\r\n Generated class for the ToastProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ToastProvider {\r\n\r\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\r\n console.log('Hello ToastProvider Provider');\r\n }\r\n pdTriggerappmessage(mess){\r\n let valalert = this.toast.create({\r\n message:mess, \r\n duration: 3000, \r\n position: 'bottom',\r\n dismissOnPageChange: true,\r\n });\r\n\r\n valalert.present();\r\n} \r\nsetAlert(title_name,msg){\r\n \r\n\r\nlet alert=this.alertCtrl.create({\r\n title:title_name,\r\n message:msg,\r\n cssClass:'buttoncss',\r\n buttons:[{\r\n text:'No',\r\n cssClass:'btnNo',\r\n handler:()=>{\r\n alert.dismiss(false)\r\n return false\r\n }\r\n },{\r\n text:'Yes',\r\n cssClass:'btnYes',\r\n handler:()=>{\r\n alert.dismiss('s')\r\n return false\r\n }\r\n },\r\n ]\r\n});\r\n//alert.present()\r\nreturn alert\r\n\r\n}\r\nsetAlertForDocName(){\r\n \r\n let alert=this.alertCtrl.create({\r\n title:'Document Name',\r\n message: 'Please Enter the Document Name',\r\n cssClass:'prompt_alert',\r\n inputs:[\r\n {\r\n name:'Name',\r\n //value:this.imageBucket[index].Name\r\n placeholder:'Document Name'\r\n }\r\n ],\r\n buttons:[\r\n {\r\n text:'Submit',\r\n handler:data=>{\r\n console.log(data.Name)\r\n alert.dismiss(data.Name)\r\n }\r\n \r\n }\r\n ]\r\n })\r\n //alert.present();\r\n //this.inputFocus.setFocus();\r\n\r\nreturn alert\r\n}\r\nsetAlertForCompletePD(){\r\n let alert=this.alertCtrl.create({\r\n title:'Complete Discussion',\r\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\r\n cssClass:'complete_alert',\r\n buttons:[\r\n {\r\n text:'Yes / Allow Addon PD',\r\n handler:()=>{\r\n alert.dismiss('addon')\r\n return false\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n alert.dismiss('yes')\r\n return false\r\n }\r\n },\r\n {\r\n text:'No',\r\n handler:()=>{\r\n alert.dismiss('no')\r\n return false\r\n }\r\n }\r\n ]\r\n })\r\n //alert.present();\r\n //this.inputFocus.setFocus();\r\n\r\nreturn alert\r\n}\r\nsetAlertwithButton(data){\r\n let alert =this.alertCtrl.create({\r\n title: 'Notification',\r\n subTitle:data.title ,\r\n message:data.message,\r\n buttons: ['OK']\r\n })\r\n alert.present();\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the PdPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'pdPipe',\r\n})\r\nexport class PdPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any, searchItem:any):any {\r\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\r\n if(findExistIndex.length>0){\r\n let check = value.filter(function(fVal){\r\n return !findExistIndex.some(function(sVal){\r\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\r\n }\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionSalaryInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-salary-info',\r\n templateUrl: 'pd-question-salary-info.html',\r\n})\r\nexport class PdQuestionSalaryInfoPage {\r\n\r\n salaryDetails:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.salaryDetails = this.fb.group(\r\n {\r\n gross:[null],\r\n netTakeHome:[null],\r\n bounsIncentive:[null],\r\n salaryDate:[null],\r\n anydelays:[null], \r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Animation, PageTransition } from 'ionic-angular';\r\n\r\nexport class ModalScaleUpEnterTransition extends PageTransition {\r\n\r\npublic init() {\r\n const ele = this.enteringView.pageRef().nativeElement;\r\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\r\n\r\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\r\n wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)');\r\n wrapper.fromTo('opacity', 1, 1);\r\n\r\n this\r\n .element(this.enteringView.pageRef())\r\n .duration(500)\r\n .easing('cubic-bezier(.1, .7, .1, 1)')\r\n .add(wrapper);\r\n}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/enter.ts","import { Animation, PageTransition } from 'ionic-angular';\r\n\r\nexport class ModalScaleUpLeaveTransition extends PageTransition {\r\n\r\npublic init() {\r\n const ele = this.leavingView.pageRef().nativeElement;\r\n const wrapper = new Animation(this.plt, ele.querySelector('.modal-wrapper'));\r\n const contentWrapper = new Animation(this.plt, ele.querySelector('.wrapper'));\r\n\r\n wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 });\r\n wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)');\r\n wrapper.fromTo('opacity', 1, 1);\r\n contentWrapper.fromTo('opacity', 1, 0);\r\n\r\n this\r\n .element(this.leavingView.pageRef())\r\n .duration(500)\r\n .easing('cubic-bezier(.1, .7, .1, 1)')\r\n .add(contentWrapper)\r\n .add(wrapper);\r\n}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/app/modalanimations/leave.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {ConstantsProvider} from '../constants/constants';\r\n\r\n/*\r\n Generated class for the PdtriggerProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n\r\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\r\n@Injectable()\r\nexport class PdtriggerProvider {\r\n apiurl:any;\r\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\r\n this.apiurl = constants.apiurl();\r\n console.log('Hello PdtriggerProvider Provider');\r\n }\r\n\r\n \r\n\r\n /**get dropdonw list */\r\n\r\n /**Get list of PD Trigger */\r\n\r\n getpddetails(userid)\r\n { \r\n console.log(userid);\r\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\r\n }\r\n\r\n getFullPDdetails(pdid)\r\n {\r\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\r\n }\r\n\r\n updatepdStatus(dataStatus)\r\n {\r\n let records = {'records':dataStatus};\r\n return this.http.post(this.apiurl+'updatePDMaster',records);\r\n }\r\n\r\n updateSchedule(updateData){\r\n return this.http.post(this.apiurl + \"schdulePD\", { \"records\": updateData })\r\n }\r\n\r\n\r\n\r\n saveCurrentLocation(data)\r\n {\r\n let records = {'records':data};\r\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\r\n }\r\n\r\n checkotp(otpDetails)\r\n {\r\n\r\n let records = {'records':otpDetails};\r\n \r\n return this.http.post(this.apiurl+'checkOTP',records); \r\n }\r\n getPDCompleteDetails(details){\r\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\r\n }\r\n pdFormsCompletenessCheck(pd_id){\r\n return this.http.post(this.apiurl+'pdFormsCompletenessCheck',{'pd_id':pd_id,'client':'MOB'})\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides, Events } from 'ionic-angular';\r\nimport { InputPage } from '../input/input';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { parseDate } from 'ionic-angular/util/datetime-util';\r\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\r\nimport { OtpPage } from '../otp/otp';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { DatabaseProvider } from '../../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n/**\r\n * Generated class for the PdListPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-list',\r\n templateUrl: 'pd-list.html',\r\n})\r\nexport class PdListPage {\r\n\r\n @ViewChild('slider') slider:Slides;\r\n searchinprogress: any;\r\n searchpast: any;\r\n pdschduleDetails: any;\r\n bgColorPast: any = [];\r\n bgColor: any = [];\r\n pdinprogress: any=[];\r\n pdlistdetails: any=[];\r\n viewchange: boolean;\r\n pdlist:any = \"0\";\r\n pdlistaccess:boolean = null;\r\n\r\n notification:any=[]\r\n from:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions,private event:Events) {\r\n //this.getlenderpddetails(); \r\n // this.getpdTriggerdetails();\r\n this.event.subscribe('notify',(res)=>{\r\n this.notification.push(res);\r\n })\r\n \r\n this.from=this.navParams.get('notify')\r\n console.log(\"from\",this.from);\r\n console.log(\"notification via event\",this.notification);\r\n }\r\n selectedTab(ind)\r\n {\r\n this.slider.slideTo(ind)\r\n }\r\n moveButton(event){\r\n this.pdlist=event._snapIndex.toString();\r\n }\r\n\r\n ionViewDidLoad() {\r\n \r\n console.log('ionViewDidLoad PdListPage');\r\n this.db.getuserDetails();\r\n this.setpermission();\r\n }\r\n ionViewCanEnter()\r\n {\r\n console.log(\"Pd list ionViewCanEnter\")\r\n this.getpdTriggerdetails();\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n this.pdinprogress = this.pdinprogress;\r\n this.pdschduleDetails = this.pdschduleDetails;\r\n }\r\n \r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n \r\n this.pdinprogress = this.searchinprogress;\r\n this.pdschduleDetails = this.searchpast;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n \r\n if(this.pdlist == \"inpro\"){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n this.pdinprogress = this.searchinprogress.filter((v) => {\r\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n \r\n return ;\r\n }else{\r\n this.pdschduleDetails = this.searchpast.filter((v) => {\r\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\r\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n \r\n return true;\r\n }\r\n \r\n return false;\r\n })\r\n }\r\n \r\n}\r\n}\r\n newpage(){\r\n this.navCtrl.push(InputPage);\r\n }\r\n getpdTriggerdetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n //.log(\"User\",userid)\r\n this.pdlistaccess = true;\r\n\r\n this.pdofficer.getpddetails(userid).subscribe(res=>\r\n {\r\n this.pdlistdetails = res;\r\n if(this.pdlistdetails.dataStatus == true)\r\n {\r\n this.pdlistaccess = false;\r\n \r\n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" || sch.pd_status == \"ADD_ON_PENDING\" );\r\n this.searchpast = this.pdschduleDetails;\r\n \r\n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\r\n this.searchinprogress = this.pdinprogress;\r\n console.log(\"allocated\",this.pdinprogress);\r\n console.log(\"inpr\",this.pdschduleDetails);\r\n this.random_bg_color();\r\n this.random_ng_past();\r\n }else\r\n {\r\n this.pdlistaccess = false;\r\n this.pdlistdetails = \"No Records Found\";\r\n }\r\n })\r\n }\r\n\r\n random_bg_color() {\r\n for(let id of this.pdinprogress){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n \r\n return this.bgColor;\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.pdschduleDetails){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n doRefresh(refresher) {\r\n this.bgColor = [];\r\n this.pdschduleDetails = [];\r\n this.pdinprogress = [];\r\n // this.pdlistaccess = true;\r\n this.shared.refresh();\r\n this.getpdTriggerdetails();\r\n setTimeout(() => {\r\n \r\n refresher.complete();\r\n }, 2000);\r\n }\r\n \r\n PdAllocation(pddetails)\r\n {\r\n \r\n \r\n if(pddetails.pd_status == '')//for STARTED\r\n {\r\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\r\n \r\n // }else if(pddetails.pd_status == 'INPROGRESS'){\r\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\r\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\r\n {\r\n //FOR ASSIGNING THE PARENT PD ID\r\n //pddetails.pd_id=pddetails.parent_pd_id\r\n // pddetails.pd_id=pddetails.parent_pd_id\r\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\r\n }\r\n }\r\n\r\n setpermission()\r\n {\r\n // let permission = this.androidPermissions.PERMISSION; \r\n // let premission_list = [\r\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\r\n // permission.CAMERA,\r\n\r\n\r\n // ];\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n\r\n\r\nimport { Observable } from \"rxjs/Observable\";\r\nimport \"rxjs/add/operator/map\";\r\nimport { CognitoServiceProvider } from './cognito.service';\r\nimport { ConstantsProvider } from '../constants/constants';\r\nimport { UrlResolver } from '@angular/compiler';\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"ap-south-1_K57yPaWxV\",\r\n ClientId: \"\"\r\n}\r\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\r\n\r\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Injectable()\r\nexport class AwsServiceProvider {\r\napiurl:any;\r\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\r\n this.apiurl = con.apiurl();\r\n }\r\n\r\n dologin(authenticationData) {\r\n // alert();\r\n //(authenticationData);\r\n const authenticationDetails = new AuthenticationDetails(authenticationData);\r\n let Newpassword = authenticationData.newpassword;\r\n let attributesData = [];\r\n const userData = {\r\n Username: authenticationData.Username, // User email id\r\n Pool: sineedgedevUserpool // user Pool ID\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observer => {\r\n cognitoUser.authenticateUser(authenticationDetails, {\r\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \r\n cognitoUser.completeNewPasswordChallenge(\r\n Newpassword,\r\n attributesData,\r\n {\r\n onSuccess: function (result) {\r\n observer.next(result);\r\n observer.complete();\r\n },\r\n onFailure: function (err) {\r\n //(err);\r\n observer.error(err);\r\n //LoginComponent.prototype.open();\r\n }\r\n }\r\n );\r\n },\r\n onSuccess: function (result) { // success user login\r\n // let accessToken = result.getAccessToken().getJwtToken();\r\n ////(result);\r\n //window.localStorage.setItem('Currentuser', '1');\r\n observer.next(result);\r\n observer.complete();\r\n this.shared.isloggin = true;\r\n },\r\n onFailure: function (err) { // error user login\r\n\r\n //alert(err.message);\r\n observer.error(err);\r\n }\r\n });\r\n });\r\n }\r\n userforgotpass(auth) {\r\n ////(auth);\r\n const userData = {\r\n Username: auth.Username,\r\n Pool: sineedgedevUserpool\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observe => {\r\n cognitoUser.forgotPassword({\r\n onSuccess: function (data) {\r\n // successfully initiated reset password request\r\n //('CodeDeliveryData from forgotPassword: ' + data);\r\n observe.next(data);\r\n },\r\n onFailure: function (err) {\r\n alert(err.message || JSON.stringify(err));\r\n },\r\n //Optional automatic callback\r\n inputVerificationCode: function (data) {\r\n //('Code sent to: ' + data);\r\n var verificationCode = prompt('Please input verification code ', '');\r\n var newPassword = prompt('Enter new password ', '');\r\n cognitoUser.confirmPassword(verificationCode, newPassword, {\r\n onSuccess() {\r\n //('Password confirmed!');\r\n },\r\n onFailure(err) {\r\n //('Password not confirmed!');\r\n }\r\n });\r\n }\r\n });\r\n });\r\n\r\n\r\n }\r\n /**\r\n * End of the function \r\n */\r\n\r\n /**\r\n * Logout function\r\n */\r\n logout(){\r\n \r\n return Observable.create(observe=>{\r\n this.shared.getCurrentUser().signOut(); \r\n \r\n observe.next();\r\n \r\n observe.complete();\r\n });\r\n }\r\n\r\n\r\n /**\r\n * Config function\r\n */\r\n // getconfig() {\r\n // let session:any = this.shared.getAccessToken() || \"\";\r\n \r\n // let config = \"\";\r\n // config += AWS.config.region = \"ap-south-1\";\r\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\r\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\r\n // Logins: {\r\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\r\n // .getIdToken()\r\n // .getJwtToken()\r\n // }\r\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\r\n // });\r\n // return config;\r\n // }\r\n\r\n getlocale(){\r\n let session:any = this.shared.getToken() || null;\r\n let userid = session.idToken.payload.locale;\r\n return userid;\r\n }\r\n getuserprofile(userid)\r\n {\r\n \r\n \r\n // alert();\r\n \r\n //console.log(cogusers.idToken.payload.locale);\r\n let roles = {'userid':userid}; \r\n \r\n \r\n // let request = new RequestOptions({headers:headers});\r\n return this.http.post(this.apiurl+'getUsersDetails',roles);\r\n \r\n }\r\n\r\n userpinupdate(pin)\r\n {\r\n let userid = this.getlocale(); \r\n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\r\n let formdata = new FormData();\r\n \r\n formdata.append('records',JSON.stringify(records));\r\n return this.http.post(this.apiurl+'updateExistUser',formdata);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9465023b..5096825d 100755 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "integrity": "sha512-7JxZZAYFSCc0tP6+NrRn3b2Cd1b9d+a3+OfwVNyNsNd2unelqUMko2hm0KLbC8BXcXt/OILg1E/ZgLAXSS47nw==", "dev": true, "requires": { - "loader-utils": "^1.1.0", - "source-map": "^0.5.6", - "typescript": "~2.6.1", - "webpack-sources": "^1.0.1" + "loader-utils": "1.1.0", + "source-map": "0.5.7", + "typescript": "2.6.2", + "webpack-sources": "1.1.0" }, "dependencies": { "typescript": { @@ -29,7 +29,7 @@ "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-5.1.1.tgz", "integrity": "sha512-PHLBWDnAzr5b5l52pk5ZYmv/6m0YUe2ICwu5dmbS0d8Kf5dXadMphAWCDbljMF+djGyZeFq2/dQ/t7ygYl3YuA==", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/cdk": { @@ -37,7 +37,7 @@ "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-5.2.5.tgz", "integrity": "sha512-GN8m1d+VcCE9+Bgwv06Y8YJKyZ0i9ZIq2ZPBcJYt+KVgnVVRg4JkyUNxud07LNsvzOX22DquHqmIZiC4hAG7Ag==", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/common": { @@ -45,7 +45,7 @@ "resolved": "https://registry.npmjs.org/@angular/common/-/common-5.0.3.tgz", "integrity": "sha1-mwuHTgyMsIjXx94q9ywsPz69ALs=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/compiler": { @@ -53,7 +53,7 @@ "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-5.0.3.tgz", "integrity": "sha1-RYF8mjKxsQPAMHsPVWYPUw9KBqo=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/compiler-cli": { @@ -61,10 +61,10 @@ "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-5.0.3.tgz", "integrity": "sha1-gg/pX1ZTwUGK2aycqegZqHnM5K4=", "requires": { - "chokidar": "^1.4.2", - "minimist": "^1.2.0", - "reflect-metadata": "^0.1.2", - "tsickle": "^0.24.0" + "chokidar": "1.7.0", + "minimist": "1.2.0", + "reflect-metadata": "0.1.10", + "tsickle": "0.24.1" } }, "@angular/core": { @@ -72,7 +72,7 @@ "resolved": "https://registry.npmjs.org/@angular/core/-/core-5.0.3.tgz", "integrity": "sha1-JWZAD2cTvxw59+ALwDpjKAqH5ms=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/forms": { @@ -80,7 +80,7 @@ "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-5.0.3.tgz", "integrity": "sha1-IH+Swr2JZg3aWFjvWNHqwfLK8ac=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/http": { @@ -88,7 +88,7 @@ "resolved": "https://registry.npmjs.org/@angular/http/-/http-5.0.3.tgz", "integrity": "sha1-o7mkJHxLd0VuSVSWVdTB0YWeB10=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/material": { @@ -96,7 +96,7 @@ "resolved": "https://registry.npmjs.org/@angular/material/-/material-5.1.1.tgz", "integrity": "sha512-RC3xkbX35daNq4w+XBmm+Vgi16TJvLbSkw5xkdxCqLSysFx9ymwDOjUbLeHt2nJtvYWvnSjuVukdSAeaBknTFg==", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/platform-browser": { @@ -104,7 +104,7 @@ "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-5.0.3.tgz", "integrity": "sha1-SshyQEoqgWLdKKWxZCOLdr9eEmE=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@angular/platform-browser-dynamic": { @@ -112,7 +112,7 @@ "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.0.3.tgz", "integrity": "sha1-vm3PA6BPpRxqBIS0Dl8afX5UzIc=", "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@ionic-native/android-permissions": { @@ -182,31 +182,31 @@ "dev": true, "requires": { "@angular-devkit/build-optimizer": "0.0.35", - "autoprefixer": "^7.1.6", - "chalk": "^2.3.0", - "chokidar": "^1.7.0", - "clean-css": "^4.1.9", - "cross-spawn": "^5.1.0", - "express": "^4.16.2", - "fs-extra": "^4.0.2", - "glob": "^7.1.2", - "json-loader": "^0.5.7", - "node-sass": "~4.5.3", - "os-name": "^2.0.1", - "postcss": "^6.0.13", - "proxy-middleware": "^0.15.0", - "reflect-metadata": "^0.1.10", + "autoprefixer": "7.2.2", + "chalk": "2.3.0", + "chokidar": "1.7.0", + "clean-css": "4.1.9", + "cross-spawn": "5.1.0", + "express": "4.16.2", + "fs-extra": "4.0.3", + "glob": "7.1.2", + "json-loader": "0.5.7", + "node-sass": "4.5.3", + "os-name": "2.0.1", + "postcss": "6.0.14", + "proxy-middleware": "0.15.0", + "reflect-metadata": "0.1.10", "rollup": "0.50.0", "rollup-plugin-commonjs": "8.2.6", "rollup-plugin-node-resolve": "3.0.0", - "source-map": "^0.6.1", - "tiny-lr": "^1.0.5", - "tslint": "^5.8.0", - "tslint-eslint-rules": "^4.1.1", - "uglify-es": "^3.2.0", + "source-map": "0.6.1", + "tiny-lr": "1.0.5", + "tslint": "5.8.0", + "tslint-eslint-rules": "4.1.1", + "uglify-es": "3.2.2", "webpack": "3.8.1", - "ws": "^3.2.0", - "xml2js": "^0.4.19" + "ws": "3.3.2", + "xml2js": "0.4.19" }, "dependencies": { "source-map": { @@ -224,7 +224,7 @@ "requires": { "localforage": "1.7.1", "localforage-cordovasqlitedriver": "1.7.0", - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "@netbasal/content-loader": { @@ -232,7 +232,7 @@ "resolved": "https://registry.npmjs.org/@netbasal/content-loader/-/content-loader-1.1.0.tgz", "integrity": "sha512-xzDuM4DWNu+xaTu8FiTUOoOAOHn/ryDyeagzW+3E1bG11pxmXqj9tjyWqx6SE9fH38J90RC5ozZF7LCf0fZDkQ==", "requires": { - "tslib": "^1.9.0" + "tslib": "1.9.3" }, "dependencies": { "tslib": { @@ -259,7 +259,7 @@ "integrity": "sha1-hiRnWMfdbSGmR0/whKR0DsBesh8=", "dev": true, "requires": { - "mime-types": "~2.1.16", + "mime-types": "2.1.17", "negotiator": "0.6.1" } }, @@ -269,7 +269,7 @@ "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", "dev": true, "requires": { - "acorn": "^4.0.3" + "acorn": "4.0.13" }, "dependencies": { "acorn": { @@ -286,10 +286,10 @@ "integrity": "sha1-s4u4h22ehr7plJVqBOch6IskjrI=", "dev": true, "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" + "co": "4.6.0", + "fast-deep-equal": "1.0.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" } }, "ajv-keywords": { @@ -304,9 +304,9 @@ "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "dev": true, "requires": { - "kind-of": "^3.0.2", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" } }, "amazon-cognito-identity-js": { @@ -315,8 +315,8 @@ "integrity": "sha512-zRhhJrei4qj5k7obD2B3aCEk06mVoa1yZQk4P+pjHkUfsHSAqewpJ/IhymDYeQjB396evvKIGjxKPjLVguRYRw==", "requires": { "buffer": "4.9.1", - "crypto-js": "^3.1.9-1", - "js-cookie": "^2.1.4" + "crypto-js": "3.1.9-1", + "js-cookie": "2.2.0" } }, "amdefine": { @@ -337,7 +337,7 @@ "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.1" } }, "anymatch": { @@ -345,8 +345,8 @@ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", "requires": { - "micromatch": "^2.1.5", - "normalize-path": "^2.0.0" + "micromatch": "2.3.11", + "normalize-path": "2.1.1" } }, "aproba": { @@ -361,8 +361,8 @@ "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", "dev": true, "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "delegates": "1.0.0", + "readable-stream": "2.3.3" } }, "arr-diff": { @@ -370,7 +370,7 @@ "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", "requires": { - "arr-flatten": "^1.0.1" + "arr-flatten": "1.1.0" } }, "arr-flatten": { @@ -407,9 +407,9 @@ "integrity": "sha512-b/OsSjvWEo8Pi8H0zsDd2P6Uqo2TK2pH8gNLSJtNLM2Db0v2QaAZ0pBQJXVjAn4gBuugeVDr7s63ZogpUIwWDg==", "dev": true, "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "bn.js": "4.11.8", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" } }, "assert": { @@ -433,7 +433,7 @@ "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==", "dev": true, "requires": { - "lodash": "^4.14.0" + "lodash": "4.17.4" } }, "async-each": { @@ -465,12 +465,12 @@ "integrity": "sha512-eTVoSHiGp2cDytg7RS7gtqAnfH+WFcNQMTjywGNu+hH7ViQZ/ZKsvNz2C1oVhCtd9DjMIC15iatpxmtp5Kxvpg==", "dev": true, "requires": { - "browserslist": "^2.10.0", - "caniuse-lite": "^1.0.30000780", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "postcss": "^6.0.14", - "postcss-value-parser": "^3.2.3" + "browserslist": "2.10.0", + "caniuse-lite": "1.0.30000783", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "6.0.14", + "postcss-value-parser": "3.3.0" } }, "aws-sign2": { @@ -491,9 +491,9 @@ "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "dev": true, "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" }, "dependencies": { "ansi-styles": { @@ -508,11 +508,11 @@ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "supports-color": { @@ -545,7 +545,7 @@ "dev": true, "optional": true, "requires": { - "tweetnacl": "^0.14.3" + "tweetnacl": "0.14.5" } }, "big.js": { @@ -565,7 +565,7 @@ "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", "dev": true, "requires": { - "inherits": "~2.0.0" + "inherits": "2.0.3" } }, "bn.js": { @@ -580,10 +580,10 @@ "integrity": "sha1-5LoM5BCkaTYyM2dgnstOZVMSUGk=", "dev": true, "requires": { - "continuable-cache": "^0.3.1", - "error": "^7.0.0", - "raw-body": "~1.1.0", - "safe-json-parse": "~1.0.1" + "continuable-cache": "0.3.1", + "error": "7.0.2", + "raw-body": "1.1.7", + "safe-json-parse": "1.0.1" }, "dependencies": { "bytes": { @@ -598,8 +598,8 @@ "integrity": "sha1-HQJ8K/oRasxmI7yo8AAWVyqH1CU=", "dev": true, "requires": { - "bytes": "1", - "string_decoder": "0.10" + "bytes": "1.0.0", + "string_decoder": "0.10.31" } }, "string_decoder": { @@ -617,15 +617,15 @@ "dev": true, "requires": { "bytes": "3.0.0", - "content-type": "~1.0.4", + "content-type": "1.0.4", "debug": "2.6.9", - "depd": "~1.1.1", - "http-errors": "~1.6.2", + "depd": "1.1.1", + "http-errors": "1.6.2", "iconv-lite": "0.4.19", - "on-finished": "~2.3.0", + "on-finished": "2.3.0", "qs": "6.5.1", "raw-body": "2.3.2", - "type-is": "~1.6.15" + "type-is": "1.6.15" } }, "boom": { @@ -634,7 +634,7 @@ "integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=", "dev": true, "requires": { - "hoek": "4.x.x" + "hoek": "4.2.0" } }, "brace-expansion": { @@ -642,7 +642,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -651,9 +651,9 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", "requires": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.2" } }, "brorand": { @@ -685,12 +685,12 @@ "integrity": "sha512-UGnTYAnB2a3YuYKIRy1/4FB2HdM866E0qC46JXvVTYKlBlZlnvfpSfY6OKfXZAkv70eJ2a1SqzpAo5CRhZGDFg==", "dev": true, "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.3", + "inherits": "2.0.3", + "safe-buffer": "5.1.1" } }, "browserify-cipher": { @@ -699,9 +699,9 @@ "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", "dev": true, "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" + "browserify-aes": "1.1.1", + "browserify-des": "1.0.0", + "evp_bytestokey": "1.0.3" } }, "browserify-des": { @@ -710,9 +710,9 @@ "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1" + "cipher-base": "1.0.4", + "des.js": "1.0.0", + "inherits": "2.0.3" } }, "browserify-rsa": { @@ -721,8 +721,8 @@ "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.8", + "randombytes": "2.0.5" } }, "browserify-sign": { @@ -731,13 +731,13 @@ "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", "dev": true, "requires": { - "bn.js": "^4.1.1", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.2", - "elliptic": "^6.0.0", - "inherits": "^2.0.1", - "parse-asn1": "^5.0.0" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "elliptic": "6.4.0", + "inherits": "2.0.3", + "parse-asn1": "5.1.0" } }, "browserify-zlib": { @@ -746,7 +746,7 @@ "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { - "pako": "~1.0.5" + "pako": "1.0.6" } }, "browserslist": { @@ -755,8 +755,8 @@ "integrity": "sha512-WyvzSLsuAVPOjbljXnyeWl14Ae+ukAT8MUuagKVzIDvwBxl4UAwD1xqtyQs2eWYPGUKMeC3Ol62goqYuKqTTcw==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30000780", - "electron-to-chromium": "^1.3.28" + "caniuse-lite": "1.0.30000783", + "electron-to-chromium": "1.3.28" } }, "buffer": { @@ -764,9 +764,9 @@ "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" + "base64-js": "1.2.1", + "ieee754": "1.1.8", + "isarray": "1.0.0" } }, "buffer-xor": { @@ -805,8 +805,8 @@ "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", "dev": true, "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" + "camelcase": "2.1.1", + "map-obj": "1.0.1" } }, "caniuse-lite": { @@ -827,8 +827,8 @@ "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", "dev": true, "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" + "align-text": "0.1.4", + "lazy-cache": "1.0.4" } }, "chalk": { @@ -837,9 +837,9 @@ "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==", "dev": true, "requires": { - "ansi-styles": "^3.1.0", - "escape-string-regexp": "^1.0.5", - "supports-color": "^4.0.0" + "ansi-styles": "3.2.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.5.0" } }, "chart.js": { @@ -847,8 +847,8 @@ "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.7.3.tgz", "integrity": "sha512-3+7k/DbR92m6BsMUYP6M0dMsMVZpMnwkUyNSAbqolHKsbIzH2Q4LWVEHHYq7v0fmEV8whXE0DrjANulw9j2K5g==", "requires": { - "chartjs-color": "^2.1.0", - "moment": "^2.10.2" + "chartjs-color": "2.2.0", + "moment": "2.24.0" } }, "chartjs-color": { @@ -856,8 +856,8 @@ "resolved": "https://registry.npmjs.org/chartjs-color/-/chartjs-color-2.2.0.tgz", "integrity": "sha1-hKL7dVeH7YXDndbdjHsdiEKbrq4=", "requires": { - "chartjs-color-string": "^0.5.0", - "color-convert": "^0.5.3" + "chartjs-color-string": "0.5.0", + "color-convert": "0.5.3" }, "dependencies": { "color-convert": { @@ -872,7 +872,7 @@ "resolved": "https://registry.npmjs.org/chartjs-color-string/-/chartjs-color-string-0.5.0.tgz", "integrity": "sha512-amWNvCOXlOUYxZVDSa0YOab5K/lmEhbFNKI55PWc4mlv28BDzA7zaoQTGxSBgJMHIW+hGX8YUrvw/FH4LyhwSQ==", "requires": { - "color-name": "^1.0.0" + "color-name": "1.1.3" } }, "chokidar": { @@ -880,15 +880,15 @@ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", "requires": { - "anymatch": "^1.3.0", - "async-each": "^1.0.0", - "fsevents": "^1.0.0", - "glob-parent": "^2.0.0", - "inherits": "^2.0.1", - "is-binary-path": "^1.0.0", - "is-glob": "^2.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0" + "anymatch": "1.3.2", + "async-each": "1.0.1", + "fsevents": "1.2.4", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0" } }, "cipher-base": { @@ -897,8 +897,8 @@ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.1" } }, "clean-css": { @@ -907,7 +907,7 @@ "integrity": "sha1-Nc7ornaHpJuYA09w3gDE7dOCYwE=", "dev": true, "requires": { - "source-map": "0.5.x" + "source-map": "0.5.7" } }, "cliui": { @@ -916,9 +916,9 @@ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "dev": true, "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" } }, "co": { @@ -939,7 +939,7 @@ "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", "dev": true, "requires": { - "color-name": "^1.1.1" + "color-name": "1.1.3" } }, "color-name": { @@ -953,7 +953,7 @@ "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", "dev": true, "requires": { - "delayed-stream": "~1.0.0" + "delayed-stream": "1.0.0" } }, "commander": { @@ -973,7 +973,7 @@ "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "dev": true, "requires": { - "date-now": "^0.1.4" + "date-now": "0.1.4" } }, "console-control-strings": { @@ -1023,24 +1023,24 @@ "resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-7.1.4.tgz", "integrity": "sha512-Rtvu002I83uzfVyCsE6p2krFKVHt9TSAqZUATes+zH+o9cdxYGrLHY+PKCQo4SLCdSMdrkIHCDnQPTYTp/d7+g==", "requires": { - "abbrev": "*", + "abbrev": "1.1.1", "android-versions": "1.4.0", - "ansi": "*", - "balanced-match": "*", + "ansi": "0.3.1", + "balanced-match": "1.0.0", "base64-js": "1.2.0", "big-integer": "1.6.32", - "bplist-parser": "*", - "brace-expansion": "*", - "concat-map": "*", + "bplist-parser": "0.1.1", + "brace-expansion": "1.1.11", + "concat-map": "0.0.1", "cordova-common": "2.2.5", - "cordova-registry-mapper": "*", + "cordova-registry-mapper": "1.1.15", "elementtree": "0.1.6", "glob": "5.0.15", - "inflight": "*", - "inherits": "*", - "minimatch": "*", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", "nopt": "3.0.1", - "once": "*", + "once": "1.4.0", "path-is-absolute": "1.0.1", "plist": "2.1.0", "properties-parser": "0.2.3", @@ -1048,11 +1048,11 @@ "sax": "0.3.5", "semver": "5.5.0", "shelljs": "0.5.3", - "underscore": "*", - "unorm": "*", - "wrappy": "*", + "underscore": "1.9.1", + "unorm": "1.4.1", + "wrappy": "1.0.2", "xmlbuilder": "8.2.2", - "xmldom": "*" + "xmldom": "0.1.27" }, "dependencies": { "abbrev": { @@ -1063,7 +1063,7 @@ "version": "1.4.0", "bundled": true, "requires": { - "semver": "^5.4.1" + "semver": "5.5.0" } }, "ansi": { @@ -1086,14 +1086,14 @@ "version": "0.1.1", "bundled": true, "requires": { - "big-integer": "^1.6.7" + "big-integer": "1.6.32" } }, "brace-expansion": { "version": "1.1.11", "bundled": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -1105,17 +1105,17 @@ "version": "2.2.5", "bundled": true, "requires": { - "ansi": "^0.3.1", - "bplist-parser": "^0.1.0", - "cordova-registry-mapper": "^1.1.8", + "ansi": "0.3.1", + "bplist-parser": "0.1.1", + "cordova-registry-mapper": "1.1.15", "elementtree": "0.1.6", - "glob": "^5.0.13", - "minimatch": "^3.0.0", - "plist": "^2.1.0", - "q": "^1.4.1", - "shelljs": "^0.5.3", - "underscore": "^1.8.3", - "unorm": "^1.3.3" + "glob": "5.0.15", + "minimatch": "3.0.4", + "plist": "2.1.0", + "q": "1.4.1", + "shelljs": "0.5.3", + "underscore": "1.9.1", + "unorm": "1.4.1" } }, "cordova-registry-mapper": { @@ -1133,19 +1133,19 @@ "version": "5.0.15", "bundled": true, "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "inflight": { "version": "1.0.6", "bundled": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -1156,21 +1156,21 @@ "version": "3.0.4", "bundled": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.11" } }, "nopt": { "version": "3.0.1", "bundled": true, "requires": { - "abbrev": "1" + "abbrev": "1.1.1" } }, "once": { "version": "1.4.0", "bundled": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "path-is-absolute": { @@ -1183,7 +1183,7 @@ "requires": { "base64-js": "1.2.0", "xmlbuilder": "8.2.2", - "xmldom": "0.1.x" + "xmldom": "0.1.27" } }, "properties-parser": { @@ -1233,92 +1233,92 @@ "resolved": "https://registry.npmjs.org/cordova-browser/-/cordova-browser-5.0.4.tgz", "integrity": "sha512-EDuG+9NGsaYpNSY6wF0kR34m1m38V+nRglGXxQ609fgMYrMHEYR2lg38nDr1Os4qeF0LJz8UQ7nq7Y+idg6Aig==", "requires": { - "abbrev": "*", - "accepts": "*", - "ansi": "*", + "abbrev": "1.1.1", + "accepts": "1.3.5", + "ansi": "0.3.1", "ansi-regex": "2.1.1", "ansi-styles": "2.2.1", "array-flatten": "1.1.1", - "balanced-match": "*", + "balanced-match": "1.0.0", "base64-js": "1.2.0", - "big-integer": "*", + "big-integer": "1.6.32", "body-parser": "1.18.2", - "bplist-parser": "*", - "brace-expansion": "*", - "bytes": "*", + "bplist-parser": "0.1.1", + "brace-expansion": "1.1.11", + "bytes": "3.0.0", "chalk": "1.1.3", - "compressible": "*", + "compressible": "2.0.14", "compression": "1.7.2", - "concat-map": "*", - "content-disposition": "*", - "content-type": "*", - "cookie": "*", + "concat-map": "0.0.1", + "content-disposition": "0.5.2", + "content-type": "1.0.4", + "cookie": "0.3.1", "cookie-signature": "1.0.6", "cordova-common": "2.2.5", - "cordova-registry-mapper": "*", + "cordova-registry-mapper": "1.1.15", "cordova-serve": "2.0.1", "debug": "2.6.9", - "depd": "*", - "destroy": "*", - "ee-first": "*", + "depd": "1.1.2", + "destroy": "1.0.4", + "ee-first": "1.1.1", "elementtree": "0.1.6", - "encodeurl": "*", - "escape-html": "*", - "escape-string-regexp": "*", - "etag": "*", - "express": "*", - "finalhandler": "*", - "forwarded": "*", - "fresh": "*", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "escape-string-regexp": "1.0.5", + "etag": "1.8.1", + "express": "4.16.3", + "finalhandler": "1.1.1", + "forwarded": "0.1.2", + "fresh": "0.5.2", "glob": "5.0.15", "has-ansi": "2.0.0", "http-errors": "1.6.3", "iconv-lite": "0.4.19", - "inflight": "*", - "inherits": "*", + "inflight": "1.0.6", + "inherits": "2.0.3", "ipaddr.js": "1.6.0", - "is-wsl": "*", - "media-typer": "*", - "merge-descriptors": "*", - "methods": "*", + "is-wsl": "1.1.0", + "media-typer": "0.3.0", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", "mime": "1.4.1", "mime-db": "1.33.0", "mime-types": "2.1.18", - "minimatch": "*", + "minimatch": "3.0.4", "ms": "2.0.0", - "negotiator": "*", + "negotiator": "0.6.1", "nopt": "3.0.6", - "on-finished": "*", - "on-headers": "*", - "once": "*", - "opn": "*", - "parseurl": "*", - "path-is-absolute": "*", + "on-finished": "2.3.0", + "on-headers": "1.0.1", + "once": "1.4.0", + "opn": "5.3.0", + "parseurl": "1.3.2", + "path-is-absolute": "1.0.1", "path-to-regexp": "0.1.7", "plist": "2.1.0", "proxy-addr": "2.0.3", - "q": "*", + "q": "1.5.1", "qs": "6.5.1", - "range-parser": "*", + "range-parser": "1.2.0", "raw-body": "2.3.2", "safe-buffer": "5.1.1", "sax": "0.3.5", - "send": "*", - "serve-static": "*", - "setprototypeof": "*", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", "shelljs": "0.5.3", "statuses": "1.4.0", "strip-ansi": "3.0.1", "supports-color": "2.0.0", - "type-is": "*", - "underscore": "*", - "unorm": "*", - "unpipe": "*", - "utils-merge": "*", - "vary": "*", - "wrappy": "*", + "type-is": "1.6.16", + "underscore": "1.9.1", + "unorm": "1.4.1", + "unpipe": "1.0.0", + "utils-merge": "1.0.1", + "vary": "1.1.2", + "wrappy": "1.0.2", "xmlbuilder": "8.2.2", - "xmldom": "*" + "xmldom": "0.1.27" }, "dependencies": { "abbrev": { @@ -1329,7 +1329,7 @@ "version": "1.3.5", "bundled": true, "requires": { - "mime-types": "~2.1.18", + "mime-types": "2.1.18", "negotiator": "0.6.1" } }, @@ -1366,29 +1366,29 @@ "bundled": true, "requires": { "bytes": "3.0.0", - "content-type": "~1.0.4", + "content-type": "1.0.4", "debug": "2.6.9", - "depd": "~1.1.1", - "http-errors": "~1.6.2", + "depd": "1.1.2", + "http-errors": "1.6.3", "iconv-lite": "0.4.19", - "on-finished": "~2.3.0", + "on-finished": "2.3.0", "qs": "6.5.1", "raw-body": "2.3.2", - "type-is": "~1.6.15" + "type-is": "1.6.16" } }, "bplist-parser": { "version": "0.1.1", "bundled": true, "requires": { - "big-integer": "^1.6.7" + "big-integer": "1.6.32" } }, "brace-expansion": { "version": "1.1.11", "bundled": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -1400,18 +1400,18 @@ "version": "1.1.3", "bundled": true, "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "compressible": { "version": "2.0.14", "bundled": true, "requires": { - "mime-db": ">= 1.34.0 < 2" + "mime-db": "1.34.0" }, "dependencies": { "mime-db": { @@ -1424,13 +1424,13 @@ "version": "1.7.2", "bundled": true, "requires": { - "accepts": "~1.3.4", + "accepts": "1.3.5", "bytes": "3.0.0", - "compressible": "~2.0.13", + "compressible": "2.0.14", "debug": "2.6.9", - "on-headers": "~1.0.1", + "on-headers": "1.0.1", "safe-buffer": "5.1.1", - "vary": "~1.1.2" + "vary": "1.1.2" } }, "concat-map": { @@ -1457,17 +1457,17 @@ "version": "2.2.5", "bundled": true, "requires": { - "ansi": "^0.3.1", - "bplist-parser": "^0.1.0", - "cordova-registry-mapper": "^1.1.8", + "ansi": "0.3.1", + "bplist-parser": "0.1.1", + "cordova-registry-mapper": "1.1.15", "elementtree": "0.1.6", - "glob": "^5.0.13", - "minimatch": "^3.0.0", - "plist": "^2.1.0", - "q": "^1.4.1", - "shelljs": "^0.5.3", - "underscore": "^1.8.3", - "unorm": "^1.3.3" + "glob": "5.0.15", + "minimatch": "3.0.4", + "plist": "2.1.0", + "q": "1.5.1", + "shelljs": "0.5.3", + "underscore": "1.9.1", + "unorm": "1.4.1" } }, "cordova-registry-mapper": { @@ -1478,11 +1478,11 @@ "version": "2.0.1", "bundled": true, "requires": { - "chalk": "^1.1.1", - "compression": "^1.6.0", - "express": "^4.13.3", - "opn": "^5.3.0", - "shelljs": "^0.5.3" + "chalk": "1.1.3", + "compression": "1.7.2", + "express": "4.16.3", + "opn": "5.3.0", + "shelljs": "0.5.3" } }, "debug": { @@ -1531,36 +1531,36 @@ "version": "4.16.3", "bundled": true, "requires": { - "accepts": "~1.3.5", + "accepts": "1.3.5", "array-flatten": "1.1.1", "body-parser": "1.18.2", "content-disposition": "0.5.2", - "content-type": "~1.0.4", + "content-type": "1.0.4", "cookie": "0.3.1", "cookie-signature": "1.0.6", "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", "finalhandler": "1.1.1", "fresh": "0.5.2", "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.3", + "proxy-addr": "2.0.3", "qs": "6.5.1", - "range-parser": "~1.2.0", + "range-parser": "1.2.0", "safe-buffer": "5.1.1", "send": "0.16.2", "serve-static": "1.13.2", "setprototypeof": "1.1.0", - "statuses": "~1.4.0", - "type-is": "~1.6.16", + "statuses": "1.4.0", + "type-is": "1.6.16", "utils-merge": "1.0.1", - "vary": "~1.1.2" + "vary": "1.1.2" } }, "finalhandler": { @@ -1568,12 +1568,12 @@ "bundled": true, "requires": { "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "statuses": "~1.4.0", - "unpipe": "~1.0.0" + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.4.0", + "unpipe": "1.0.0" } }, "forwarded": { @@ -1588,28 +1588,28 @@ "version": "5.0.15", "bundled": true, "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "has-ansi": { "version": "2.0.0", "bundled": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "http-errors": { "version": "1.6.3", "bundled": true, "requires": { - "depd": "~1.1.2", + "depd": "1.1.2", "inherits": "2.0.3", "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" + "statuses": "1.4.0" } }, "iconv-lite": { @@ -1620,8 +1620,8 @@ "version": "1.0.6", "bundled": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -1660,14 +1660,14 @@ "version": "2.1.18", "bundled": true, "requires": { - "mime-db": "~1.33.0" + "mime-db": "1.33.0" } }, "minimatch": { "version": "3.0.4", "bundled": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.11" } }, "ms": { @@ -1682,7 +1682,7 @@ "version": "3.0.6", "bundled": true, "requires": { - "abbrev": "1" + "abbrev": "1.1.1" } }, "on-finished": { @@ -1700,14 +1700,14 @@ "version": "1.4.0", "bundled": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "opn": { "version": "5.3.0", "bundled": true, "requires": { - "is-wsl": "^1.1.0" + "is-wsl": "1.1.0" } }, "parseurl": { @@ -1728,14 +1728,14 @@ "requires": { "base64-js": "1.2.0", "xmlbuilder": "8.2.2", - "xmldom": "0.1.x" + "xmldom": "0.1.27" } }, "proxy-addr": { "version": "2.0.3", "bundled": true, "requires": { - "forwarded": "~0.1.2", + "forwarded": "0.1.2", "ipaddr.js": "1.6.0" } }, @@ -1772,7 +1772,7 @@ "depd": "1.1.1", "inherits": "2.0.3", "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" + "statuses": "1.4.0" } }, "setprototypeof": { @@ -1794,27 +1794,27 @@ "bundled": true, "requires": { "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", + "http-errors": "1.6.3", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.4.0" + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" } }, "serve-static": { "version": "1.13.2", "bundled": true, "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", "send": "0.16.2" } }, @@ -1834,7 +1834,7 @@ "version": "3.0.1", "bundled": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "supports-color": { @@ -1846,7 +1846,7 @@ "bundled": true, "requires": { "media-typer": "0.3.0", - "mime-types": "~2.1.18" + "mime-types": "2.1.18" } }, "underscore": { @@ -1913,7 +1913,7 @@ "resolved": "https://registry.npmjs.org/cordova-plugin-fingerprint-aio/-/cordova-plugin-fingerprint-aio-1.4.1.tgz", "integrity": "sha512-YiE9Ry/nWbd5U1uT8WGTbOBDoMrPwXCOjdbciV7Vx5fz85rfRgLHZf+p3DBAvRYt+l96P6HPpIbnL6G5RbAu9Q==", "requires": { - "cordova-plugin-add-swift-support": "^1.7.1" + "cordova-plugin-add-swift-support": "1.7.2" } }, "cordova-plugin-geolocation": { @@ -1985,8 +1985,8 @@ "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.0.0" + "bn.js": "4.11.8", + "elliptic": "6.4.0" } }, "create-hash": { @@ -1995,10 +1995,10 @@ "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "sha.js": "^2.4.0" + "cipher-base": "1.0.4", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "sha.js": "2.4.9" } }, "create-hmac": { @@ -2007,12 +2007,12 @@ "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", "dev": true, "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "safe-buffer": "5.1.1", + "sha.js": "2.4.9" } }, "cross-spawn": { @@ -2021,9 +2021,9 @@ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", "dev": true, "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "lru-cache": "4.1.1", + "shebang-command": "1.2.0", + "which": "1.3.0" } }, "cryptiles": { @@ -2032,7 +2032,7 @@ "integrity": "sha1-qJ+7Ig9c4l7FboxKqKT9e1sNKf4=", "dev": true, "requires": { - "boom": "5.x.x" + "boom": "5.2.0" }, "dependencies": { "boom": { @@ -2041,7 +2041,7 @@ "integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==", "dev": true, "requires": { - "hoek": "4.x.x" + "hoek": "4.2.0" } } } @@ -2052,17 +2052,17 @@ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "dev": true, "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" + "browserify-cipher": "1.0.0", + "browserify-sign": "4.0.4", + "create-ecdh": "4.0.0", + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "diffie-hellman": "5.0.2", + "inherits": "2.0.3", + "pbkdf2": "3.0.14", + "public-encrypt": "4.0.0", + "randombytes": "2.0.5", + "randomfill": "1.0.3" } }, "crypto-js": { @@ -2076,7 +2076,7 @@ "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", "dev": true, "requires": { - "array-find-index": "^1.0.1" + "array-find-index": "1.0.2" } }, "d": { @@ -2085,7 +2085,7 @@ "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", "dev": true, "requires": { - "es5-ext": "^0.10.9" + "es5-ext": "0.10.37" } }, "dashdash": { @@ -2094,7 +2094,7 @@ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" } }, "date-now": { @@ -2142,8 +2142,8 @@ "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", "dev": true, "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" } }, "destroy": { @@ -2164,9 +2164,9 @@ "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" + "bn.js": "4.11.8", + "miller-rabin": "4.0.1", + "randombytes": "2.0.5" } }, "doctrine": { @@ -2175,7 +2175,7 @@ "integrity": "sha1-fLhgNZujvpDgQLJrcpzkv6ZUxSM=", "dev": true, "requires": { - "esutils": "^1.1.6", + "esutils": "1.1.6", "isarray": "0.0.1" }, "dependencies": { @@ -2206,7 +2206,7 @@ "dev": true, "optional": true, "requires": { - "jsbn": "~0.1.0" + "jsbn": "0.1.1" } }, "ee-first": { @@ -2227,13 +2227,13 @@ "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", "dev": true, "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" + "bn.js": "4.11.8", + "brorand": "1.1.0", + "hash.js": "1.1.3", + "hmac-drbg": "1.0.1", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0", + "minimalistic-crypto-utils": "1.0.1" } }, "emojis-list": { @@ -2254,10 +2254,10 @@ "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.4.0", - "object-assign": "^4.0.1", - "tapable": "^0.2.7" + "graceful-fs": "4.1.11", + "memory-fs": "0.4.1", + "object-assign": "4.1.1", + "tapable": "0.2.8" } }, "errno": { @@ -2266,7 +2266,7 @@ "integrity": "sha512-IsORQDpaaSwcDP4ZZnHxgE85werpo34VYn1Ud3mq+eUsF593faR8oCZNXrROVkpFu2TsbrNhHin0aUrTsQ9vNw==", "dev": true, "requires": { - "prr": "~1.0.1" + "prr": "1.0.1" } }, "error": { @@ -2275,8 +2275,8 @@ "integrity": "sha1-pfdf/02ZJhJt2sDqXcOOaJFTywI=", "dev": true, "requires": { - "string-template": "~0.2.1", - "xtend": "~4.0.0" + "string-template": "0.2.1", + "xtend": "4.0.1" } }, "error-ex": { @@ -2285,7 +2285,7 @@ "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", "dev": true, "requires": { - "is-arrayish": "^0.2.1" + "is-arrayish": "0.2.1" } }, "es5-ext": { @@ -2294,8 +2294,8 @@ "integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=", "dev": true, "requires": { - "es6-iterator": "~2.0.1", - "es6-symbol": "~3.1.1" + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" } }, "es6-iterator": { @@ -2304,9 +2304,9 @@ "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", "dev": true, "requires": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" + "d": "1.0.0", + "es5-ext": "0.10.37", + "es6-symbol": "3.1.1" } }, "es6-map": { @@ -2315,12 +2315,12 @@ "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", - "es6-set": "~0.1.5", - "es6-symbol": "~3.1.1", - "event-emitter": "~0.3.5" + "d": "1.0.0", + "es5-ext": "0.10.37", + "es6-iterator": "2.0.3", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" } }, "es6-set": { @@ -2329,11 +2329,11 @@ "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14", - "es6-iterator": "~2.0.1", + "d": "1.0.0", + "es5-ext": "0.10.37", + "es6-iterator": "2.0.3", "es6-symbol": "3.1.1", - "event-emitter": "~0.3.5" + "event-emitter": "0.3.5" } }, "es6-symbol": { @@ -2342,8 +2342,8 @@ "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14" + "d": "1.0.0", + "es5-ext": "0.10.37" } }, "es6-weak-map": { @@ -2352,10 +2352,10 @@ "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", "dev": true, "requires": { - "d": "1", - "es5-ext": "^0.10.14", - "es6-iterator": "^2.0.1", - "es6-symbol": "^3.1.1" + "d": "1.0.0", + "es5-ext": "0.10.37", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" } }, "escape-html": { @@ -2376,10 +2376,10 @@ "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", "dev": true, "requires": { - "es6-map": "^0.1.3", - "es6-weak-map": "^2.0.1", - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.0", + "estraverse": "4.2.0" } }, "esrecurse": { @@ -2388,8 +2388,8 @@ "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=", "dev": true, "requires": { - "estraverse": "^4.1.0", - "object-assign": "^4.0.1" + "estraverse": "4.2.0", + "object-assign": "4.1.1" } }, "estraverse": { @@ -2422,8 +2422,8 @@ "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", "dev": true, "requires": { - "d": "1", - "es5-ext": "~0.10.14" + "d": "1.0.0", + "es5-ext": "0.10.37" } }, "events": { @@ -2438,8 +2438,8 @@ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "dev": true, "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" + "md5.js": "1.3.4", + "safe-buffer": "5.1.1" } }, "execa": { @@ -2448,13 +2448,13 @@ "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", "dev": true, "requires": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" } }, "expand-brackets": { @@ -2462,7 +2462,7 @@ "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", "requires": { - "is-posix-bracket": "^0.1.0" + "is-posix-bracket": "0.1.1" } }, "expand-range": { @@ -2470,7 +2470,7 @@ "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "requires": { - "fill-range": "^2.1.0" + "fill-range": "2.2.3" } }, "express": { @@ -2479,36 +2479,36 @@ "integrity": "sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=", "dev": true, "requires": { - "accepts": "~1.3.4", + "accepts": "1.3.4", "array-flatten": "1.1.1", "body-parser": "1.18.2", "content-disposition": "0.5.2", - "content-type": "~1.0.4", + "content-type": "1.0.4", "cookie": "0.3.1", "cookie-signature": "1.0.6", "debug": "2.6.9", - "depd": "~1.1.1", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.1", + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "etag": "1.8.1", "finalhandler": "1.1.0", "fresh": "0.5.2", "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.2", + "proxy-addr": "2.0.2", "qs": "6.5.1", - "range-parser": "~1.2.0", + "range-parser": "1.2.0", "safe-buffer": "5.1.1", "send": "0.16.1", "serve-static": "1.13.1", "setprototypeof": "1.1.0", - "statuses": "~1.3.1", - "type-is": "~1.6.15", + "statuses": "1.3.1", + "type-is": "1.6.15", "utils-merge": "1.0.1", - "vary": "~1.1.2" + "vary": "1.1.2" }, "dependencies": { "path-to-regexp": { @@ -2530,7 +2530,7 @@ "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } }, "extsprintf": { @@ -2557,7 +2557,7 @@ "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", "dev": true, "requires": { - "websocket-driver": ">=0.5.1" + "websocket-driver": "0.7.0" } }, "filename-regex": { @@ -2570,11 +2570,11 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", "requires": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^1.1.3", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "1.1.7", + "repeat-element": "1.1.2", + "repeat-string": "1.6.1" } }, "finalhandler": { @@ -2584,12 +2584,12 @@ "dev": true, "requires": { "debug": "2.6.9", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.2", - "statuses": "~1.3.1", - "unpipe": "~1.0.0" + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.3.1", + "unpipe": "1.0.0" } }, "find-up": { @@ -2598,8 +2598,8 @@ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "dev": true, "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" } }, "for-in": { @@ -2612,7 +2612,7 @@ "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", "requires": { - "for-in": "^1.0.1" + "for-in": "1.0.2" } }, "forever-agent": { @@ -2627,9 +2627,9 @@ "integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=", "dev": true, "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.5", - "mime-types": "^2.1.12" + "asynckit": "0.4.0", + "combined-stream": "1.0.5", + "mime-types": "2.1.17" } }, "forwarded": { @@ -2650,9 +2650,9 @@ "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "graceful-fs": "4.1.11", + "jsonfile": "4.0.0", + "universalify": "0.1.1" } }, "fs.realpath": { @@ -2666,8 +2666,8 @@ "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", "optional": true, "requires": { - "nan": "^2.9.2", - "node-pre-gyp": "^0.10.0" + "nan": "2.11.1", + "node-pre-gyp": "0.10.0" }, "dependencies": { "abbrev": { @@ -2689,8 +2689,8 @@ "bundled": true, "optional": true, "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "delegates": "1.0.0", + "readable-stream": "2.3.6" } }, "balanced-match": { @@ -2758,7 +2758,7 @@ "bundled": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.2.4" } }, "fs.realpath": { @@ -2771,14 +2771,14 @@ "bundled": true, "optional": true, "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" } }, "glob": { @@ -2786,12 +2786,12 @@ "bundled": true, "optional": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "has-unicode": { @@ -2820,8 +2820,8 @@ "bundled": true, "optional": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -2861,8 +2861,8 @@ "version": "2.2.4", "bundled": true, "requires": { - "safe-buffer": "^5.1.1", - "yallist": "^3.0.0" + "safe-buffer": "5.1.1", + "yallist": "3.0.2" } }, "minizlib": { @@ -2870,7 +2870,7 @@ "bundled": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.2.4" } }, "mkdirp": { @@ -2906,16 +2906,16 @@ "bundled": true, "optional": true, "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.0", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.1.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4" + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" } }, "nopt": { @@ -2946,10 +2946,10 @@ "bundled": true, "optional": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" } }, "number-is-nan": { @@ -2965,7 +2965,7 @@ "version": "1.4.0", "bundled": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "os-homedir": { @@ -3002,10 +3002,10 @@ "bundled": true, "optional": true, "requires": { - "deep-extend": "^0.5.1", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" }, "dependencies": { "minimist": { @@ -3020,13 +3020,13 @@ "bundled": true, "optional": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" } }, "rimraf": { @@ -3034,7 +3034,7 @@ "bundled": true, "optional": true, "requires": { - "glob": "^7.0.5" + "glob": "7.1.2" } }, "safe-buffer": { @@ -3070,9 +3070,9 @@ "version": "1.0.2", "bundled": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } }, "string_decoder": { @@ -3080,14 +3080,14 @@ "bundled": true, "optional": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.1" } }, "strip-ansi": { "version": "3.0.1", "bundled": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "strip-json-comments": { @@ -3100,13 +3100,13 @@ "bundled": true, "optional": true, "requires": { - "chownr": "^1.0.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.2.4", - "minizlib": "^1.1.0", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.1", - "yallist": "^3.0.2" + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" } }, "util-deprecate": { @@ -3119,7 +3119,7 @@ "bundled": true, "optional": true, "requires": { - "string-width": "^1.0.2" + "string-width": "1.0.2" } }, "wrappy": { @@ -3138,10 +3138,10 @@ "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "inherits": "~2.0.0", - "mkdirp": ">=0.5 0", - "rimraf": "2" + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" } }, "gauge": { @@ -3150,14 +3150,14 @@ "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "dev": true, "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" } }, "gaze": { @@ -3166,7 +3166,7 @@ "integrity": "sha1-hHIkZ3rbiHDWeSV+0ziP22HkAQU=", "dev": true, "requires": { - "globule": "^1.0.0" + "globule": "1.2.0" } }, "get-caller-file": { @@ -3193,7 +3193,7 @@ "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "requires": { - "assert-plus": "^1.0.0" + "assert-plus": "1.0.0" } }, "glob": { @@ -3201,12 +3201,12 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "glob-base": { @@ -3214,8 +3214,8 @@ "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", "requires": { - "glob-parent": "^2.0.0", - "is-glob": "^2.0.0" + "glob-parent": "2.0.0", + "is-glob": "2.0.1" } }, "glob-parent": { @@ -3223,7 +3223,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", "requires": { - "is-glob": "^2.0.0" + "is-glob": "2.0.1" } }, "globule": { @@ -3232,9 +3232,9 @@ "integrity": "sha1-HcScaCLdnoovoAuiopUAboZkvQk=", "dev": true, "requires": { - "glob": "~7.1.1", - "lodash": "~4.17.4", - "minimatch": "~3.0.2" + "glob": "7.1.2", + "lodash": "4.17.4", + "minimatch": "3.0.4" } }, "graceful-fs": { @@ -3259,8 +3259,8 @@ "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", "dev": true, "requires": { - "ajv": "^5.1.0", - "har-schema": "^2.0.0" + "ajv": "5.5.1", + "har-schema": "2.0.0" } }, "has-ansi": { @@ -3269,7 +3269,7 @@ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "has-flag": { @@ -3290,7 +3290,7 @@ "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", "dev": true, "requires": { - "inherits": "^2.0.1" + "inherits": "2.0.3" } }, "hash.js": { @@ -3299,8 +3299,8 @@ "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", "dev": true, "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.0" } }, "hawk": { @@ -3309,10 +3309,10 @@ "integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==", "dev": true, "requires": { - "boom": "4.x.x", - "cryptiles": "3.x.x", - "hoek": "4.x.x", - "sntp": "2.x.x" + "boom": "4.3.1", + "cryptiles": "3.1.2", + "hoek": "4.2.0", + "sntp": "2.1.0" } }, "hmac-drbg": { @@ -3321,9 +3321,9 @@ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "dev": true, "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" + "hash.js": "1.1.3", + "minimalistic-assert": "1.0.0", + "minimalistic-crypto-utils": "1.0.1" } }, "hoek": { @@ -3347,7 +3347,7 @@ "depd": "1.1.1", "inherits": "2.0.3", "setprototypeof": "1.0.3", - "statuses": ">= 1.3.1 < 2" + "statuses": "1.3.1" }, "dependencies": { "setprototypeof": { @@ -3370,9 +3370,9 @@ "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "dev": true, "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.13.1" } }, "https-browserify": { @@ -3408,7 +3408,7 @@ "resolved": "https://registry.npmjs.org/increase-memory-limit/-/increase-memory-limit-1.0.6.tgz", "integrity": "sha512-0FSQlNBPzke2/X+UrSypwqobcQ+9CRMKJYcbOJtjO1O1Pd71NMLQA95LveMEFCEHY3Da6q/hf8PW42X+e+ON/A==", "requires": { - "glob": "^7.1.1" + "glob": "7.1.2" } }, "indent-string": { @@ -3417,7 +3417,7 @@ "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", "dev": true, "requires": { - "repeating": "^2.0.0" + "repeating": "2.0.1" } }, "indexof": { @@ -3431,8 +3431,8 @@ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -3494,7 +3494,7 @@ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "requires": { - "binary-extensions": "^1.0.0" + "binary-extensions": "1.11.0" } }, "is-buffer": { @@ -3508,7 +3508,7 @@ "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "dev": true, "requires": { - "builtin-modules": "^1.0.0" + "builtin-modules": "1.1.1" } }, "is-dotfile": { @@ -3521,7 +3521,7 @@ "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", "requires": { - "is-primitive": "^2.0.0" + "is-primitive": "2.0.0" } }, "is-extendable": { @@ -3540,7 +3540,7 @@ "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "is-fullwidth-code-point": { @@ -3549,7 +3549,7 @@ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "is-glob": { @@ -3557,7 +3557,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "requires": { - "is-extglob": "^1.0.0" + "is-extglob": "1.0.0" } }, "is-module": { @@ -3571,7 +3571,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" } }, "is-posix-bracket": { @@ -3687,7 +3687,7 @@ "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", "dev": true, "requires": { - "graceful-fs": "^4.1.6" + "graceful-fs": "4.1.11" } }, "jsprim": { @@ -3707,7 +3707,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } }, "lazy-cache": { @@ -3722,7 +3722,7 @@ "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "dev": true, "requires": { - "invert-kv": "^1.0.0" + "invert-kv": "1.0.0" } }, "lie": { @@ -3730,7 +3730,7 @@ "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", "requires": { - "immediate": "~3.0.5" + "immediate": "3.0.6" } }, "livereload-js": { @@ -3745,11 +3745,11 @@ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" } }, "loader-runner": { @@ -3764,9 +3764,9 @@ "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", "dev": true, "requires": { - "big.js": "^3.1.3", - "emojis-list": "^2.0.0", - "json5": "^0.5.0" + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" } }, "localforage": { @@ -3782,7 +3782,7 @@ "resolved": "https://registry.npmjs.org/localforage-cordovasqlitedriver/-/localforage-cordovasqlitedriver-1.7.0.tgz", "integrity": "sha1-i5OVd1nuaI06WNW6fAR39sy1ODg=", "requires": { - "localforage": ">=1.5.0" + "localforage": "1.7.1" } }, "locate-path": { @@ -3791,8 +3791,8 @@ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "2.0.0", + "path-exists": "3.0.0" }, "dependencies": { "path-exists": { @@ -3839,8 +3839,8 @@ "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", "dev": true, "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" } }, "lru-cache": { @@ -3849,8 +3849,8 @@ "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", "dev": true, "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "pseudomap": "1.0.2", + "yallist": "2.1.2" } }, "macos-release": { @@ -3865,7 +3865,7 @@ "integrity": "sha512-kxBL06p6iO2qPBHsqGK2b3cRwiRGpnmSuVWNhwHcMX7qJOUr1HvricYP1LZOCdkQBUp0jiWg2d6WJwR3vYgByw==", "dev": true, "requires": { - "vlq": "^0.2.1" + "vlq": "0.2.3" } }, "map-obj": { @@ -3880,8 +3880,8 @@ "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", "dev": true, "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" + "hash-base": "3.0.4", + "inherits": "2.0.3" }, "dependencies": { "hash-base": { @@ -3890,8 +3890,8 @@ "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.1" } } } @@ -3908,7 +3908,7 @@ "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", "dev": true, "requires": { - "mimic-fn": "^1.0.0" + "mimic-fn": "1.1.0" } }, "memory-fs": { @@ -3917,8 +3917,8 @@ "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", "dev": true, "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" + "errno": "0.1.6", + "readable-stream": "2.3.3" } }, "meow": { @@ -3927,16 +3927,16 @@ "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "dev": true, "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" } }, "merge-descriptors": { @@ -3956,19 +3956,19 @@ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", "requires": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.4" } }, "miller-rabin": { @@ -3977,8 +3977,8 @@ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "dev": true, "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" + "bn.js": "4.11.8", + "brorand": "1.1.0" } }, "mime": { @@ -3999,7 +3999,7 @@ "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=", "dev": true, "requires": { - "mime-db": "~1.30.0" + "mime-db": "1.30.0" } }, "mimic-fn": { @@ -4025,7 +4025,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.8" } }, "minimist": { @@ -4076,7 +4076,7 @@ "resolved": "https://registry.npmjs.org/ngx-mat-select-search/-/ngx-mat-select-search-1.6.0.tgz", "integrity": "sha512-iqs+cc+i8SIbmahe0Pgaxt5onqHRG2Cazcyme7obY2bMytfocevXD4DjEZtS8gDNpg+a652zbUai6Xr0/qZT+g==", "requires": { - "tslib": "^1.9.0" + "tslib": "1.9.3" }, "dependencies": { "tslib": { @@ -4092,19 +4092,19 @@ "integrity": "sha1-m/vlRWIoYoSDjnUOrAUpWFP6HGA=", "dev": true, "requires": { - "fstream": "^1.0.0", - "glob": "^7.0.3", - "graceful-fs": "^4.1.2", - "minimatch": "^3.0.2", - "mkdirp": "^0.5.0", - "nopt": "2 || 3", - "npmlog": "0 || 1 || 2 || 3 || 4", - "osenv": "0", - "request": "2", - "rimraf": "2", - "semver": "~5.3.0", - "tar": "^2.0.0", - "which": "1" + "fstream": "1.0.11", + "glob": "7.1.2", + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "npmlog": "4.1.2", + "osenv": "0.1.4", + "request": "2.83.0", + "rimraf": "2.6.2", + "semver": "5.3.0", + "tar": "2.2.1", + "which": "1.3.0" }, "dependencies": { "semver": { @@ -4121,28 +4121,28 @@ "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", "dev": true, "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^1.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", + "assert": "1.4.1", + "browserify-zlib": "0.2.0", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.12.0", + "domain-browser": "1.1.7", + "events": "1.1.1", + "https-browserify": "1.0.0", + "os-browserify": "0.3.0", "path-browserify": "0.0.0", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.3", + "stream-browserify": "2.0.1", + "stream-http": "2.7.2", + "string_decoder": "1.0.3", + "timers-browserify": "2.0.4", "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.10.3", + "url": "0.11.0", + "util": "0.10.3", "vm-browserify": "0.0.4" } }, @@ -4152,24 +4152,24 @@ "integrity": "sha1-0JydEXlkEjnRuX/8YjH9zsU+FWg=", "dev": true, "requires": { - "async-foreach": "^0.1.3", - "chalk": "^1.1.1", - "cross-spawn": "^3.0.0", - "gaze": "^1.0.0", - "get-stdin": "^4.0.1", - "glob": "^7.0.3", - "in-publish": "^2.0.0", - "lodash.assign": "^4.2.0", - "lodash.clonedeep": "^4.3.2", - "lodash.mergewith": "^4.6.0", - "meow": "^3.7.0", - "mkdirp": "^0.5.1", - "nan": "^2.3.2", - "node-gyp": "^3.3.1", - "npmlog": "^4.0.0", - "request": "^2.79.0", - "sass-graph": "^2.1.1", - "stdout-stream": "^1.4.0" + "async-foreach": "0.1.3", + "chalk": "1.1.3", + "cross-spawn": "3.0.1", + "gaze": "1.1.2", + "get-stdin": "4.0.1", + "glob": "7.1.2", + "in-publish": "2.0.0", + "lodash.assign": "4.2.0", + "lodash.clonedeep": "4.5.0", + "lodash.mergewith": "4.6.0", + "meow": "3.7.0", + "mkdirp": "0.5.1", + "nan": "2.8.0", + "node-gyp": "3.6.2", + "npmlog": "4.1.2", + "request": "2.83.0", + "sass-graph": "2.2.4", + "stdout-stream": "1.4.0" }, "dependencies": { "ansi-styles": { @@ -4184,11 +4184,11 @@ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "cross-spawn": { @@ -4197,8 +4197,8 @@ "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", "dev": true, "requires": { - "lru-cache": "^4.0.1", - "which": "^1.2.9" + "lru-cache": "4.1.1", + "which": "1.3.0" } }, "supports-color": { @@ -4215,7 +4215,7 @@ "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", "dev": true, "requires": { - "abbrev": "1" + "abbrev": "1.1.1" } }, "normalize-package-data": { @@ -4224,10 +4224,10 @@ "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "is-builtin-module": "^1.0.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "hosted-git-info": "2.5.0", + "is-builtin-module": "1.0.0", + "semver": "5.4.1", + "validate-npm-package-license": "3.0.1" } }, "normalize-path": { @@ -4235,7 +4235,7 @@ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "requires": { - "remove-trailing-separator": "^1.0.1" + "remove-trailing-separator": "1.1.0" } }, "normalize-range": { @@ -4250,7 +4250,7 @@ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "dev": true, "requires": { - "path-key": "^2.0.0" + "path-key": "2.0.1" } }, "npmlog": { @@ -4259,10 +4259,10 @@ "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "dev": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" } }, "num2fraction": { @@ -4294,8 +4294,8 @@ "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", "requires": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" + "for-own": "0.1.5", + "is-extendable": "0.1.1" } }, "on-finished": { @@ -4312,7 +4312,7 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "os-browserify": { @@ -4333,7 +4333,7 @@ "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "dev": true, "requires": { - "lcid": "^1.0.0" + "lcid": "1.0.0" } }, "os-name": { @@ -4342,8 +4342,8 @@ "integrity": "sha1-uaOGNhwXrjohc27wWZQFyajF3F4=", "dev": true, "requires": { - "macos-release": "^1.0.0", - "win-release": "^1.0.0" + "macos-release": "1.1.0", + "win-release": "1.1.1" } }, "os-tmpdir": { @@ -4358,8 +4358,8 @@ "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=", "dev": true, "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" } }, "p-finally": { @@ -4380,7 +4380,7 @@ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "1.1.0" } }, "pako": { @@ -4395,11 +4395,11 @@ "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", "dev": true, "requires": { - "asn1.js": "^4.0.0", - "browserify-aes": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3" + "asn1.js": "4.9.2", + "browserify-aes": "1.1.1", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.3", + "pbkdf2": "3.0.14" } }, "parse-glob": { @@ -4407,10 +4407,10 @@ "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", "requires": { - "glob-base": "^0.3.0", - "is-dotfile": "^1.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.0" + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" } }, "parse-json": { @@ -4419,7 +4419,7 @@ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { - "error-ex": "^1.2.0" + "error-ex": "1.3.1" } }, "parseurl": { @@ -4440,7 +4440,7 @@ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "dev": true, "requires": { - "pinkie-promise": "^2.0.0" + "pinkie-promise": "2.0.1" } }, "path-is-absolute": { @@ -4481,9 +4481,9 @@ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" } }, "pbkdf2": { @@ -4492,11 +4492,11 @@ "integrity": "sha512-gjsZW9O34fm0R7PaLHRJmLLVfSoesxztjPjE9o6R+qtVJij90ltg1joIovN9GKrRW3t1PzhDDG3UMEMFfZ+1wA==", "dev": true, "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "create-hash": "1.1.3", + "create-hmac": "1.1.6", + "ripemd160": "2.0.1", + "safe-buffer": "5.1.1", + "sha.js": "2.4.9" } }, "performance-now": { @@ -4515,8 +4515,8 @@ "resolved": "https://registry.npmjs.org/phonegap-plugin-push/-/phonegap-plugin-push-2.2.3.tgz", "integrity": "sha512-5mjT0G1vfRhXVnZFLwjfzcFwYjVRMibgYDCfYvEujGsP8YwwrIIzcf+xBYAjQV/W2JCjzuNaYd7xJ0yVQaPeig==", "requires": { - "babel-plugin-add-header-comment": "^1.0.3", - "install": "^0.8.2" + "babel-plugin-add-header-comment": "1.0.3", + "install": "0.8.9" } }, "pify": { @@ -4537,7 +4537,7 @@ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { - "pinkie": "^2.0.0" + "pinkie": "2.0.4" } }, "postcss": { @@ -4546,9 +4546,9 @@ "integrity": "sha512-NJ1z0f+1offCgadPhz+DvGm5Mkci+mmV5BqD13S992o0Xk9eElxUfPPF+t2ksH5R/17gz4xVK8KWocUQ5o3Rog==", "dev": true, "requires": { - "chalk": "^2.3.0", - "source-map": "^0.6.1", - "supports-color": "^4.4.0" + "chalk": "2.3.0", + "source-map": "0.6.1", + "supports-color": "4.5.0" }, "dependencies": { "source-map": { @@ -4587,7 +4587,7 @@ "integrity": "sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=", "dev": true, "requires": { - "forwarded": "~0.1.2", + "forwarded": "0.1.2", "ipaddr.js": "1.5.2" } }, @@ -4615,11 +4615,11 @@ "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.1.3", + "parse-asn1": "5.1.0", + "randombytes": "2.0.5" } }, "punycode": { @@ -4651,8 +4651,8 @@ "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "is-number": "3.0.0", + "kind-of": "4.0.0" }, "dependencies": { "is-number": { @@ -4660,7 +4660,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -4668,7 +4668,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -4678,7 +4678,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -4689,7 +4689,7 @@ "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", "dev": true, "requires": { - "safe-buffer": "^5.1.0" + "safe-buffer": "5.1.1" } }, "randomfill": { @@ -4698,8 +4698,8 @@ "integrity": "sha512-YL6GrhrWoic0Eq8rXVbMptH7dAxCs0J+mh5Y0euNekPPYaxEmdVGim6GdoxoRzKW2yJoU8tueifS7mYxvcFDEQ==", "dev": true, "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" + "randombytes": "2.0.5", + "safe-buffer": "5.1.1" } }, "range-parser": { @@ -4726,9 +4726,9 @@ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "dev": true, "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" } }, "read-pkg-up": { @@ -4737,8 +4737,8 @@ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "dev": true, "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" + "find-up": "1.1.2", + "read-pkg": "1.1.0" } }, "readable-stream": { @@ -4746,13 +4746,13 @@ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~1.0.6", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.0.3", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "safe-buffer": "5.1.1", + "string_decoder": "1.0.3", + "util-deprecate": "1.0.2" } }, "readdirp": { @@ -4760,10 +4760,10 @@ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", "requires": { - "graceful-fs": "^4.1.2", - "minimatch": "^3.0.2", - "readable-stream": "^2.0.2", - "set-immediate-shim": "^1.0.1" + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "readable-stream": "2.3.3", + "set-immediate-shim": "1.0.1" } }, "redent": { @@ -4772,8 +4772,8 @@ "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", "dev": true, "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" + "indent-string": "2.1.0", + "strip-indent": "1.0.1" } }, "reflect-metadata": { @@ -4786,7 +4786,7 @@ "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", "requires": { - "is-equal-shallow": "^0.1.3" + "is-equal-shallow": "0.1.3" } }, "remove-trailing-separator": { @@ -4810,7 +4810,7 @@ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { - "is-finite": "^1.0.0" + "is-finite": "1.0.2" } }, "request": { @@ -4819,28 +4819,28 @@ "integrity": "sha512-lR3gD69osqm6EYLk9wB/G1W/laGWjzH90t1vEa2xuxHD5KUrSzp9pUSfTm+YC5Nxt2T8nMPEvKlhbQayU7bgFw==", "dev": true, "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.6.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.5", - "extend": "~3.0.1", - "forever-agent": "~0.6.1", - "form-data": "~2.3.1", - "har-validator": "~5.0.3", - "hawk": "~6.0.2", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.17", - "oauth-sign": "~0.8.2", - "performance-now": "^2.1.0", - "qs": "~6.5.1", - "safe-buffer": "^5.1.1", - "stringstream": "~0.0.5", - "tough-cookie": "~2.3.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.1.0" + "aws-sign2": "0.7.0", + "aws4": "1.6.0", + "caseless": "0.12.0", + "combined-stream": "1.0.5", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.3.1", + "har-validator": "5.0.3", + "hawk": "6.0.2", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.17", + "oauth-sign": "0.8.2", + "performance-now": "2.1.0", + "qs": "6.5.1", + "safe-buffer": "5.1.1", + "stringstream": "0.0.5", + "tough-cookie": "2.3.3", + "tunnel-agent": "0.6.0", + "uuid": "3.1.0" } }, "require-directory": { @@ -4861,7 +4861,7 @@ "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", "dev": true, "requires": { - "path-parse": "^1.0.5" + "path-parse": "1.0.5" } }, "right-align": { @@ -4870,7 +4870,7 @@ "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", "dev": true, "requires": { - "align-text": "^0.1.1" + "align-text": "0.1.4" } }, "rimraf": { @@ -4879,7 +4879,7 @@ "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", "dev": true, "requires": { - "glob": "^7.0.5" + "glob": "7.1.2" } }, "ripemd160": { @@ -4888,8 +4888,8 @@ "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", "dev": true, "requires": { - "hash-base": "^2.0.0", - "inherits": "^2.0.1" + "hash-base": "2.0.2", + "inherits": "2.0.3" } }, "rollup": { @@ -4904,11 +4904,11 @@ "integrity": "sha512-qK0+uhktmnAgZkHkqFuajNmPw93fjrO7+CysDaxWE5jrUR9XSlSvuao5ZJP+XizxA8weakhgYYBtbVz9SGBpjA==", "dev": true, "requires": { - "acorn": "^5.2.1", - "estree-walker": "^0.5.0", - "magic-string": "^0.22.4", - "resolve": "^1.4.0", - "rollup-pluginutils": "^2.0.1" + "acorn": "5.2.1", + "estree-walker": "0.5.1", + "magic-string": "0.22.4", + "resolve": "1.5.0", + "rollup-pluginutils": "2.0.1" }, "dependencies": { "acorn": { @@ -4925,10 +4925,10 @@ "integrity": "sha1-i4l8TDAw1QASd7BRSyXSygloPuA=", "dev": true, "requires": { - "browser-resolve": "^1.11.0", - "builtin-modules": "^1.1.0", - "is-module": "^1.0.0", - "resolve": "^1.1.6" + "browser-resolve": "1.11.2", + "builtin-modules": "1.1.1", + "is-module": "1.0.0", + "resolve": "1.5.0" } }, "rollup-pluginutils": { @@ -4937,8 +4937,8 @@ "integrity": "sha1-fslbNXP2VDpGpkYb2afFRFJdD8A=", "dev": true, "requires": { - "estree-walker": "^0.3.0", - "micromatch": "^2.3.11" + "estree-walker": "0.3.1", + "micromatch": "2.3.11" }, "dependencies": { "estree-walker": { @@ -4954,7 +4954,7 @@ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz", "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==", "requires": { - "tslib": "^1.9.0" + "tslib": "1.9.3" }, "dependencies": { "tslib": { @@ -4986,10 +4986,10 @@ "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", "dev": true, "requires": { - "glob": "^7.0.0", - "lodash": "^4.0.0", - "scss-tokenizer": "^0.2.3", - "yargs": "^7.0.0" + "glob": "7.1.2", + "lodash": "4.17.4", + "scss-tokenizer": "0.2.3", + "yargs": "7.1.0" } }, "sax": { @@ -5004,8 +5004,8 @@ "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", "dev": true, "requires": { - "js-base64": "^2.1.8", - "source-map": "^0.4.2" + "js-base64": "2.4.0", + "source-map": "0.4.4" }, "dependencies": { "source-map": { @@ -5014,7 +5014,7 @@ "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", "dev": true, "requires": { - "amdefine": ">=0.0.4" + "amdefine": "1.0.1" } } } @@ -5032,18 +5032,18 @@ "dev": true, "requires": { "debug": "2.6.9", - "depd": "~1.1.1", - "destroy": "~1.0.4", - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "etag": "~1.8.1", + "depd": "1.1.1", + "destroy": "1.0.4", + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "etag": "1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", + "http-errors": "1.6.2", "mime": "1.4.1", "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.3.1" + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.3.1" } }, "serve-static": { @@ -5052,9 +5052,9 @@ "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==", "dev": true, "requires": { - "encodeurl": "~1.0.1", - "escape-html": "~1.0.3", - "parseurl": "~1.3.2", + "encodeurl": "1.0.1", + "escape-html": "1.0.3", + "parseurl": "1.3.2", "send": "0.16.1" } }, @@ -5092,8 +5092,8 @@ "integrity": "sha512-G8zektVqbiPHrylgew9Zg1VRB1L/DtXNUVAM6q4QLy8NE3qtHlFXTf8VLL4k1Yl6c7NMjtZUTdXV+X44nFaT6A==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.1" } }, "shebang-command": { @@ -5102,7 +5102,7 @@ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "1.0.0" } }, "shebang-regex": { @@ -5123,7 +5123,7 @@ "integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==", "dev": true, "requires": { - "hoek": "4.x.x" + "hoek": "4.2.0" } }, "source-list-map": { @@ -5142,7 +5142,7 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", "requires": { - "source-map": "^0.5.6" + "source-map": "0.5.7" } }, "spdx-correct": { @@ -5151,7 +5151,7 @@ "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", "dev": true, "requires": { - "spdx-license-ids": "^1.0.2" + "spdx-license-ids": "1.2.2" } }, "spdx-expression-parse": { @@ -5172,14 +5172,14 @@ "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=", "dev": true, "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "tweetnacl": "~0.14.0" + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.1", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "tweetnacl": "0.14.5" } }, "statuses": { @@ -5194,7 +5194,7 @@ "integrity": "sha1-osfIWH5U2UJ+qe2zrD8s1SLfN4s=", "dev": true, "requires": { - "readable-stream": "^2.0.1" + "readable-stream": "2.3.3" } }, "stream-browserify": { @@ -5203,8 +5203,8 @@ "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "dev": true, "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" + "inherits": "2.0.3", + "readable-stream": "2.3.3" } }, "stream-http": { @@ -5213,11 +5213,11 @@ "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", "dev": true, "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.2.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.3", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" } }, "string-template": { @@ -5232,9 +5232,9 @@ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } }, "string_decoder": { @@ -5242,7 +5242,7 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.1" } }, "stringstream": { @@ -5257,7 +5257,7 @@ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "strip-bom": { @@ -5266,7 +5266,7 @@ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", "dev": true, "requires": { - "is-utf8": "^0.2.0" + "is-utf8": "0.2.1" } }, "strip-eof": { @@ -5281,7 +5281,7 @@ "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", "dev": true, "requires": { - "get-stdin": "^4.0.1" + "get-stdin": "4.0.1" } }, "supports-color": { @@ -5290,7 +5290,7 @@ "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "2.0.0" } }, "sw-toolbox": { @@ -5298,8 +5298,8 @@ "resolved": "https://registry.npmjs.org/sw-toolbox/-/sw-toolbox-3.6.0.tgz", "integrity": "sha1-Jt8dHHA0hljk3qKIQxkUm3sxg7U=", "requires": { - "path-to-regexp": "^1.0.1", - "serviceworker-cache-polyfill": "^4.0.0" + "path-to-regexp": "1.7.0", + "serviceworker-cache-polyfill": "4.0.0" } }, "tapable": { @@ -5314,9 +5314,9 @@ "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", "dev": true, "requires": { - "block-stream": "*", - "fstream": "^1.0.2", - "inherits": "2" + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" } }, "timers-browserify": { @@ -5325,7 +5325,7 @@ "integrity": "sha512-uZYhyU3EX8O7HQP+J9fTVYwsq90Vr68xPEFo7yrVImIxYvHgukBEgOB/SgGoorWVTzGM/3Z+wUNnboA4M8jWrg==", "dev": true, "requires": { - "setimmediate": "^1.0.4" + "setimmediate": "1.0.5" } }, "tiny-lr": { @@ -5334,12 +5334,12 @@ "integrity": "sha512-YrxUSiMgOVh3PnAqtdAUQuUVEVRnqcRCxJ3BHrl/aaWV2fplKKB60oClM0GH2Gio2hcXvkxMUxsC/vXZrQePlg==", "dev": true, "requires": { - "body": "^5.1.0", - "debug": "~2.6.7", - "faye-websocket": "~0.10.0", - "livereload-js": "^2.2.2", - "object-assign": "^4.1.0", - "qs": "^6.4.0" + "body": "5.1.0", + "debug": "2.6.9", + "faye-websocket": "0.10.0", + "livereload-js": "2.2.2", + "object-assign": "4.1.1", + "qs": "6.5.1" } }, "to-arraybuffer": { @@ -5354,7 +5354,7 @@ "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=", "dev": true, "requires": { - "punycode": "^1.4.1" + "punycode": "1.4.1" } }, "trim-newlines": { @@ -5368,10 +5368,10 @@ "resolved": "https://registry.npmjs.org/tsickle/-/tsickle-0.24.1.tgz", "integrity": "sha512-XloFQZhVhgjpQsi3u2ORNRJvuID5sflOg6HfP093IqAbhE1+fIUXznULpdDwHgG4p+v8w78KdHruQtkWUKx5AQ==", "requires": { - "minimist": "^1.2.0", - "mkdirp": "^0.5.1", - "source-map": "^0.5.6", - "source-map-support": "^0.4.2" + "minimist": "1.2.0", + "mkdirp": "0.5.1", + "source-map": "0.5.7", + "source-map-support": "0.4.18" } }, "tslib": { @@ -5385,17 +5385,17 @@ "integrity": "sha1-H0mtWy53x2w69N3K5VKuTjYS6xM=", "dev": true, "requires": { - "babel-code-frame": "^6.22.0", - "builtin-modules": "^1.1.1", - "chalk": "^2.1.0", - "commander": "^2.9.0", - "diff": "^3.2.0", - "glob": "^7.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.3.2", - "semver": "^5.3.0", - "tslib": "^1.7.1", - "tsutils": "^2.12.1" + "babel-code-frame": "6.26.0", + "builtin-modules": "1.1.1", + "chalk": "2.3.0", + "commander": "2.12.2", + "diff": "3.4.0", + "glob": "7.1.2", + "minimatch": "3.0.4", + "resolve": "1.5.0", + "semver": "5.4.1", + "tslib": "1.8.1", + "tsutils": "2.13.0" } }, "tslint-eslint-rules": { @@ -5404,9 +5404,9 @@ "integrity": "sha1-fDDniC8mvCdr/5HSOEl1xp2viLo=", "dev": true, "requires": { - "doctrine": "^0.7.2", - "tslib": "^1.0.0", - "tsutils": "^1.4.0" + "doctrine": "0.7.2", + "tslib": "1.8.1", + "tsutils": "1.9.1" }, "dependencies": { "tsutils": { @@ -5423,7 +5423,7 @@ "integrity": "sha512-FuWzNJbMsp3gcZMbI3b5DomhW4Ia41vMxjN63nKWI0t7f+I3UmHfRl0TrXJTwI2LUduDG+eR1Mksp3pvtlyCFQ==", "dev": true, "requires": { - "tslib": "^1.7.1" + "tslib": "1.8.1" } }, "tty-browserify": { @@ -5438,7 +5438,7 @@ "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "dev": true, "requires": { - "safe-buffer": "^5.0.1" + "safe-buffer": "5.1.1" } }, "tweetnacl": { @@ -5455,7 +5455,7 @@ "dev": true, "requires": { "media-typer": "0.3.0", - "mime-types": "~2.1.15" + "mime-types": "2.1.17" } }, "typescript": { @@ -5470,8 +5470,8 @@ "integrity": "sha512-l+s5VLzFwGJfS+fbqaGf/Dfwo1MF13jLOF2ekL0PytzqEqQ6cVppvHf4jquqFok+35USMpKjqkYxy6pQyUcuug==", "dev": true, "requires": { - "commander": "~2.12.1", - "source-map": "~0.6.1" + "commander": "2.12.2", + "source-map": "0.6.1" }, "dependencies": { "source-map": { @@ -5495,9 +5495,9 @@ "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", "dev": true, "requires": { - "source-map": "^0.5.6", - "uglify-js": "^2.8.29", - "webpack-sources": "^1.0.1" + "source-map": "0.5.7", + "uglify-js": "2.8.29", + "webpack-sources": "1.1.0" }, "dependencies": { "camelcase": { @@ -5512,8 +5512,8 @@ "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "dev": true, "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", + "center-align": "0.1.3", + "right-align": "0.1.3", "wordwrap": "0.0.2" } }, @@ -5523,9 +5523,9 @@ "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", "dev": true, "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" + "source-map": "0.5.7", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" } }, "yargs": { @@ -5534,9 +5534,9 @@ "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", "dev": true, "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", "window-size": "0.1.0" } } @@ -5623,8 +5623,8 @@ "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", "dev": true, "requires": { - "spdx-correct": "~1.0.0", - "spdx-expression-parse": "~1.0.0" + "spdx-correct": "1.0.2", + "spdx-expression-parse": "1.0.4" } }, "vary": { @@ -5639,9 +5639,9 @@ "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "dev": true, "requires": { - "assert-plus": "^1.0.0", + "assert-plus": "1.0.0", "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" + "extsprintf": "1.3.0" } }, "vlq": { @@ -5665,9 +5665,9 @@ "integrity": "sha1-ShRyvLuVK9Cpu0A2gB+VTfs5+qw=", "dev": true, "requires": { - "async": "^2.1.2", - "chokidar": "^1.7.0", - "graceful-fs": "^4.1.2" + "async": "2.6.0", + "chokidar": "1.7.0", + "graceful-fs": "4.1.11" } }, "webpack": { @@ -5676,28 +5676,28 @@ "integrity": "sha512-5ZXLWWsMqHKFr5y0N3Eo5IIisxeEeRAajNq4mELb/WELOR7srdbQk2N5XiyNy2A/AgvlR3AmeBCZJW8lHrolbw==", "dev": true, "requires": { - "acorn": "^5.0.0", - "acorn-dynamic-import": "^2.0.0", - "ajv": "^5.1.5", - "ajv-keywords": "^2.0.0", - "async": "^2.1.2", - "enhanced-resolve": "^3.4.0", - "escope": "^3.6.0", - "interpret": "^1.0.0", - "json-loader": "^0.5.4", - "json5": "^0.5.1", - "loader-runner": "^2.3.0", - "loader-utils": "^1.1.0", - "memory-fs": "~0.4.1", - "mkdirp": "~0.5.0", - "node-libs-browser": "^2.0.0", - "source-map": "^0.5.3", - "supports-color": "^4.2.1", - "tapable": "^0.2.7", - "uglifyjs-webpack-plugin": "^0.4.6", - "watchpack": "^1.4.0", - "webpack-sources": "^1.0.1", - "yargs": "^8.0.2" + "acorn": "5.2.1", + "acorn-dynamic-import": "2.0.2", + "ajv": "5.5.1", + "ajv-keywords": "2.1.1", + "async": "2.6.0", + "enhanced-resolve": "3.4.1", + "escope": "3.6.0", + "interpret": "1.1.0", + "json-loader": "0.5.7", + "json5": "0.5.1", + "loader-runner": "2.3.0", + "loader-utils": "1.1.0", + "memory-fs": "0.4.1", + "mkdirp": "0.5.1", + "node-libs-browser": "2.1.0", + "source-map": "0.5.7", + "supports-color": "4.5.0", + "tapable": "0.2.8", + "uglifyjs-webpack-plugin": "0.4.6", + "watchpack": "1.4.0", + "webpack-sources": "1.1.0", + "yargs": "8.0.2" }, "dependencies": { "acorn": { @@ -5724,7 +5724,7 @@ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "locate-path": "^2.0.0" + "locate-path": "2.0.0" } }, "is-fullwidth-code-point": { @@ -5739,10 +5739,10 @@ "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" } }, "os-locale": { @@ -5751,9 +5751,9 @@ "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", "dev": true, "requires": { - "execa": "^0.7.0", - "lcid": "^1.0.0", - "mem": "^1.1.0" + "execa": "0.7.0", + "lcid": "1.0.0", + "mem": "1.1.0" } }, "path-type": { @@ -5762,7 +5762,7 @@ "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, "requires": { - "pify": "^2.0.0" + "pify": "2.3.0" } }, "read-pkg": { @@ -5771,9 +5771,9 @@ "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" } }, "read-pkg-up": { @@ -5782,8 +5782,8 @@ "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" + "find-up": "2.1.0", + "read-pkg": "2.0.0" } }, "string-width": { @@ -5792,8 +5792,8 @@ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" } }, "strip-ansi": { @@ -5802,7 +5802,7 @@ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { - "ansi-regex": "^3.0.0" + "ansi-regex": "3.0.0" } }, "strip-bom": { @@ -5823,19 +5823,19 @@ "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", "dev": true, "requires": { - "camelcase": "^4.1.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^2.0.0", - "read-pkg-up": "^2.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^7.0.0" + "camelcase": "4.1.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "2.1.0", + "read-pkg-up": "2.0.0", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "2.1.1", + "which-module": "2.0.0", + "y18n": "3.2.1", + "yargs-parser": "7.0.0" } }, "yargs-parser": { @@ -5844,7 +5844,7 @@ "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", "dev": true, "requires": { - "camelcase": "^4.1.0" + "camelcase": "4.1.0" } } } @@ -5855,8 +5855,8 @@ "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", "dev": true, "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" + "source-list-map": "2.0.0", + "source-map": "0.6.1" }, "dependencies": { "source-map": { @@ -5873,8 +5873,8 @@ "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", "dev": true, "requires": { - "http-parser-js": ">=0.4.0", - "websocket-extensions": ">=0.1.1" + "http-parser-js": "0.4.9", + "websocket-extensions": "0.1.3" } }, "websocket-extensions": { @@ -5889,7 +5889,7 @@ "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", "dev": true, "requires": { - "isexe": "^2.0.0" + "isexe": "2.0.0" } }, "which-module": { @@ -5904,7 +5904,7 @@ "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", "dev": true, "requires": { - "string-width": "^1.0.2" + "string-width": "1.0.2" } }, "win-release": { @@ -5913,7 +5913,7 @@ "integrity": "sha1-X6VeAr58qTTt/BJmVjLoSbcuUgk=", "dev": true, "requires": { - "semver": "^5.0.1" + "semver": "5.4.1" } }, "window-size": { @@ -5934,8 +5934,8 @@ "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" + "string-width": "1.0.2", + "strip-ansi": "3.0.1" } }, "wrappy": { @@ -5949,9 +5949,9 @@ "integrity": "sha512-t+WGpsNxhMR4v6EClXS8r8km5ZljKJzyGhJf7goJz9k5Ye3+b5Bvno5rjqPuIBn5mnn5GBb7o8IrIWHxX1qOLQ==", "dev": true, "requires": { - "async-limiter": "~1.0.0", - "safe-buffer": "~5.1.0", - "ultron": "~1.1.0" + "async-limiter": "1.0.0", + "safe-buffer": "5.1.1", + "ultron": "1.1.1" } }, "xml2js": { @@ -5960,8 +5960,8 @@ "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", "dev": true, "requires": { - "sax": ">=0.6.0", - "xmlbuilder": "~9.0.1" + "sax": "1.2.4", + "xmlbuilder": "9.0.4" } }, "xmlbuilder": { @@ -5994,19 +5994,19 @@ "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", "dev": true, "requires": { - "camelcase": "^3.0.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", - "get-caller-file": "^1.0.1", - "os-locale": "^1.4.0", - "read-pkg-up": "^1.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^1.0.2", - "which-module": "^1.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^5.0.0" + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "5.0.0" }, "dependencies": { "camelcase": { @@ -6023,7 +6023,7 @@ "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", "dev": true, "requires": { - "camelcase": "^3.0.0" + "camelcase": "3.0.0" }, "dependencies": { "camelcase": { diff --git a/package.json b/package.json index 7247e22d..aa73b5fd 100755 --- a/package.json +++ b/package.json @@ -126,4 +126,4 @@ "android" ] } -} +} \ No newline at end of file diff --git a/platforms/android/app/src/main/assets/www/build/main.css b/platforms/android/app/src/main/assets/www/build/main.css index fdb348b8..a3b9910e 100755 --- a/platforms/android/app/src/main/assets/www/build/main.css +++ b/platforms/android/app/src/main/assets/www/build/main.css @@ -1,36322 +1 @@ -.ion-ios-add:before { - content: "\f102"; -} - -.ion-ios-add-circle:before { - content: "\f101"; -} - -.ion-ios-add-circle-outline:before { - content: "\f100"; -} - -.ion-ios-add-outline:before { - content: "\f102"; -} - -.ion-ios-alarm:before { - content: "\f3c8"; -} - -.ion-ios-alarm-outline:before { - content: "\f3c7"; -} - -.ion-ios-albums:before { - content: "\f3ca"; -} - -.ion-ios-albums-outline:before { - content: "\f3c9"; -} - -.ion-ios-alert:before { - content: "\f104"; -} - -.ion-ios-alert-outline:before { - content: "\f103"; -} - -.ion-ios-american-football:before { - content: "\f106"; -} - -.ion-ios-american-football-outline:before { - content: "\f105"; -} - -.ion-ios-analytics:before { - content: "\f3ce"; -} - -.ion-ios-analytics-outline:before { - content: "\f3cd"; -} - -.ion-ios-aperture:before { - content: "\f108"; -} - -.ion-ios-aperture-outline:before { - content: "\f107"; -} - -.ion-ios-apps:before { - content: "\f10a"; -} - -.ion-ios-apps-outline:before { - content: "\f109"; -} - -.ion-ios-appstore:before { - content: "\f10c"; -} - -.ion-ios-appstore-outline:before { - content: "\f10b"; -} - -.ion-ios-archive:before { - content: "\f10e"; -} - -.ion-ios-archive-outline:before { - content: "\f10d"; -} - -.ion-ios-arrow-back:before { - content: "\f3cf"; -} - -.ion-ios-arrow-back-outline:before { - content: "\f3cf"; -} - -.ion-ios-arrow-down:before { - content: "\f3d0"; -} - -.ion-ios-arrow-down-outline:before { - content: "\f3d0"; -} - -.ion-ios-arrow-dropdown:before { - content: "\f110"; -} - -.ion-ios-arrow-dropdown-circle:before { - content: "\f10f"; -} - -.ion-ios-arrow-dropdown-circle-outline:before { - content: "\f10f"; -} - -.ion-ios-arrow-dropdown-outline:before { - content: "\f110"; -} - -.ion-ios-arrow-dropleft:before { - content: "\f112"; -} - -.ion-ios-arrow-dropleft-circle:before { - content: "\f111"; -} - -.ion-ios-arrow-dropleft-circle-outline:before { - content: "\f111"; -} - -.ion-ios-arrow-dropleft-outline:before { - content: "\f112"; -} - -.ion-ios-arrow-dropright:before { - content: "\f114"; -} - -.ion-ios-arrow-dropright-circle:before { - content: "\f113"; -} - -.ion-ios-arrow-dropright-circle-outline:before { - content: "\f113"; -} - -.ion-ios-arrow-dropright-outline:before { - content: "\f114"; -} - -.ion-ios-arrow-dropup:before { - content: "\f116"; -} - -.ion-ios-arrow-dropup-circle:before { - content: "\f115"; -} - -.ion-ios-arrow-dropup-circle-outline:before { - content: "\f115"; -} - -.ion-ios-arrow-dropup-outline:before { - content: "\f116"; -} - -.ion-ios-arrow-forward:before { - content: "\f3d1"; -} - -.ion-ios-arrow-forward-outline:before { - content: "\f3d1"; -} - -.ion-ios-arrow-round-back:before { - content: "\f117"; -} - -.ion-ios-arrow-round-back-outline:before { - content: "\f117"; -} - -.ion-ios-arrow-round-down:before { - content: "\f118"; -} - -.ion-ios-arrow-round-down-outline:before { - content: "\f118"; -} - -.ion-ios-arrow-round-forward:before { - content: "\f119"; -} - -.ion-ios-arrow-round-forward-outline:before { - content: "\f119"; -} - -.ion-ios-arrow-round-up:before { - content: "\f11a"; -} - -.ion-ios-arrow-round-up-outline:before { - content: "\f11a"; -} - -.ion-ios-arrow-up:before { - content: "\f3d8"; -} - -.ion-ios-arrow-up-outline:before { - content: "\f3d8"; -} - -.ion-ios-at:before { - content: "\f3da"; -} - -.ion-ios-at-outline:before { - content: "\f3d9"; -} - -.ion-ios-attach:before { - content: "\f11b"; -} - -.ion-ios-attach-outline:before { - content: "\f11b"; -} - -.ion-ios-backspace:before { - content: "\f11d"; -} - -.ion-ios-backspace-outline:before { - content: "\f11c"; -} - -.ion-ios-barcode:before { - content: "\f3dc"; -} - -.ion-ios-barcode-outline:before { - content: "\f3db"; -} - -.ion-ios-baseball:before { - content: "\f3de"; -} - -.ion-ios-baseball-outline:before { - content: "\f3dd"; -} - -.ion-ios-basket:before { - content: "\f11f"; -} - -.ion-ios-basket-outline:before { - content: "\f11e"; -} - -.ion-ios-basketball:before { - content: "\f3e0"; -} - -.ion-ios-basketball-outline:before { - content: "\f3df"; -} - -.ion-ios-battery-charging:before { - content: "\f120"; -} - -.ion-ios-battery-charging-outline:before { - content: "\f120"; -} - -.ion-ios-battery-dead:before { - content: "\f121"; -} - -.ion-ios-battery-dead-outline:before { - content: "\f121"; -} - -.ion-ios-battery-full:before { - content: "\f122"; -} - -.ion-ios-battery-full-outline:before { - content: "\f122"; -} - -.ion-ios-beaker:before { - content: "\f124"; -} - -.ion-ios-beaker-outline:before { - content: "\f123"; -} - -.ion-ios-beer:before { - content: "\f126"; -} - -.ion-ios-beer-outline:before { - content: "\f125"; -} - -.ion-ios-bicycle:before { - content: "\f127"; -} - -.ion-ios-bicycle-outline:before { - content: "\f127"; -} - -.ion-ios-bluetooth:before { - content: "\f128"; -} - -.ion-ios-bluetooth-outline:before { - content: "\f128"; -} - -.ion-ios-boat:before { - content: "\f12a"; -} - -.ion-ios-boat-outline:before { - content: "\f129"; -} - -.ion-ios-body:before { - content: "\f3e4"; -} - -.ion-ios-body-outline:before { - content: "\f3e3"; -} - -.ion-ios-bonfire:before { - content: "\f12c"; -} - -.ion-ios-bonfire-outline:before { - content: "\f12b"; -} - -.ion-ios-book:before { - content: "\f3e8"; -} - -.ion-ios-book-outline:before { - content: "\f3e7"; -} - -.ion-ios-bookmark:before { - content: "\f12e"; -} - -.ion-ios-bookmark-outline:before { - content: "\f12d"; -} - -.ion-ios-bookmarks:before { - content: "\f3ea"; -} - -.ion-ios-bookmarks-outline:before { - content: "\f3e9"; -} - -.ion-ios-bowtie:before { - content: "\f130"; -} - -.ion-ios-bowtie-outline:before { - content: "\f12f"; -} - -.ion-ios-briefcase:before { - content: "\f3ee"; -} - -.ion-ios-briefcase-outline:before { - content: "\f3ed"; -} - -.ion-ios-browsers:before { - content: "\f3f0"; -} - -.ion-ios-browsers-outline:before { - content: "\f3ef"; -} - -.ion-ios-brush:before { - content: "\f132"; -} - -.ion-ios-brush-outline:before { - content: "\f131"; -} - -.ion-ios-bug:before { - content: "\f134"; -} - -.ion-ios-bug-outline:before { - content: "\f133"; -} - -.ion-ios-build:before { - content: "\f136"; -} - -.ion-ios-build-outline:before { - content: "\f135"; -} - -.ion-ios-bulb:before { - content: "\f138"; -} - -.ion-ios-bulb-outline:before { - content: "\f137"; -} - -.ion-ios-bus:before { - content: "\f13a"; -} - -.ion-ios-bus-outline:before { - content: "\f139"; -} - -.ion-ios-cafe:before { - content: "\f13c"; -} - -.ion-ios-cafe-outline:before { - content: "\f13b"; -} - -.ion-ios-calculator:before { - content: "\f3f2"; -} - -.ion-ios-calculator-outline:before { - content: "\f3f1"; -} - -.ion-ios-calendar:before { - content: "\f3f4"; -} - -.ion-ios-calendar-outline:before { - content: "\f3f3"; -} - -.ion-ios-call:before { - content: "\f13e"; -} - -.ion-ios-call-outline:before { - content: "\f13d"; -} - -.ion-ios-camera:before { - content: "\f3f6"; -} - -.ion-ios-camera-outline:before { - content: "\f3f5"; -} - -.ion-ios-car:before { - content: "\f140"; -} - -.ion-ios-car-outline:before { - content: "\f13f"; -} - -.ion-ios-card:before { - content: "\f142"; -} - -.ion-ios-card-outline:before { - content: "\f141"; -} - -.ion-ios-cart:before { - content: "\f3f8"; -} - -.ion-ios-cart-outline:before { - content: "\f3f7"; -} - -.ion-ios-cash:before { - content: "\f144"; -} - -.ion-ios-cash-outline:before { - content: "\f143"; -} - -.ion-ios-chatboxes:before { - content: "\f3fa"; -} - -.ion-ios-chatboxes-outline:before { - content: "\f3f9"; -} - -.ion-ios-chatbubbles:before { - content: "\f146"; -} - -.ion-ios-chatbubbles-outline:before { - content: "\f145"; -} - -.ion-ios-checkbox:before { - content: "\f148"; -} - -.ion-ios-checkbox-outline:before { - content: "\f147"; -} - -.ion-ios-checkmark:before { - content: "\f3ff"; -} - -.ion-ios-checkmark-circle:before { - content: "\f14a"; -} - -.ion-ios-checkmark-circle-outline:before { - content: "\f149"; -} - -.ion-ios-checkmark-outline:before { - content: "\f3ff"; -} - -.ion-ios-clipboard:before { - content: "\f14c"; -} - -.ion-ios-clipboard-outline:before { - content: "\f14b"; -} - -.ion-ios-clock:before { - content: "\f403"; -} - -.ion-ios-clock-outline:before { - content: "\f402"; -} - -.ion-ios-close:before { - content: "\f406"; -} - -.ion-ios-close-circle:before { - content: "\f14e"; -} - -.ion-ios-close-circle-outline:before { - content: "\f14d"; -} - -.ion-ios-close-outline:before { - content: "\f406"; -} - -.ion-ios-closed-captioning:before { - content: "\f150"; -} - -.ion-ios-closed-captioning-outline:before { - content: "\f14f"; -} - -.ion-ios-cloud:before { - content: "\f40c"; -} - -.ion-ios-cloud-circle:before { - content: "\f152"; -} - -.ion-ios-cloud-circle-outline:before { - content: "\f151"; -} - -.ion-ios-cloud-done:before { - content: "\f154"; -} - -.ion-ios-cloud-done-outline:before { - content: "\f153"; -} - -.ion-ios-cloud-download:before { - content: "\f408"; -} - -.ion-ios-cloud-download-outline:before { - content: "\f407"; -} - -.ion-ios-cloud-outline:before { - content: "\f409"; -} - -.ion-ios-cloud-upload:before { - content: "\f40b"; -} - -.ion-ios-cloud-upload-outline:before { - content: "\f40a"; -} - -.ion-ios-cloudy:before { - content: "\f410"; -} - -.ion-ios-cloudy-night:before { - content: "\f40e"; -} - -.ion-ios-cloudy-night-outline:before { - content: "\f40d"; -} - -.ion-ios-cloudy-outline:before { - content: "\f40f"; -} - -.ion-ios-code:before { - content: "\f157"; -} - -.ion-ios-code-download:before { - content: "\f155"; -} - -.ion-ios-code-download-outline:before { - content: "\f155"; -} - -.ion-ios-code-outline:before { - content: "\f157"; -} - -.ion-ios-code-working:before { - content: "\f156"; -} - -.ion-ios-code-working-outline:before { - content: "\f156"; -} - -.ion-ios-cog:before { - content: "\f412"; -} - -.ion-ios-cog-outline:before { - content: "\f411"; -} - -.ion-ios-color-fill:before { - content: "\f159"; -} - -.ion-ios-color-fill-outline:before { - content: "\f158"; -} - -.ion-ios-color-filter:before { - content: "\f414"; -} - -.ion-ios-color-filter-outline:before { - content: "\f413"; -} - -.ion-ios-color-palette:before { - content: "\f15b"; -} - -.ion-ios-color-palette-outline:before { - content: "\f15a"; -} - -.ion-ios-color-wand:before { - content: "\f416"; -} - -.ion-ios-color-wand-outline:before { - content: "\f415"; -} - -.ion-ios-compass:before { - content: "\f15d"; -} - -.ion-ios-compass-outline:before { - content: "\f15c"; -} - -.ion-ios-construct:before { - content: "\f15f"; -} - -.ion-ios-construct-outline:before { - content: "\f15e"; -} - -.ion-ios-contact:before { - content: "\f41a"; -} - -.ion-ios-contact-outline:before { - content: "\f419"; -} - -.ion-ios-contacts:before { - content: "\f161"; -} - -.ion-ios-contacts-outline:before { - content: "\f160"; -} - -.ion-ios-contract:before { - content: "\f162"; -} - -.ion-ios-contract-outline:before { - content: "\f162"; -} - -.ion-ios-contrast:before { - content: "\f163"; -} - -.ion-ios-contrast-outline:before { - content: "\f163"; -} - -.ion-ios-copy:before { - content: "\f41c"; -} - -.ion-ios-copy-outline:before { - content: "\f41b"; -} - -.ion-ios-create:before { - content: "\f165"; -} - -.ion-ios-create-outline:before { - content: "\f164"; -} - -.ion-ios-crop:before { - content: "\f41e"; -} - -.ion-ios-crop-outline:before { - content: "\f166"; -} - -.ion-ios-cube:before { - content: "\f168"; -} - -.ion-ios-cube-outline:before { - content: "\f167"; -} - -.ion-ios-cut:before { - content: "\f16a"; -} - -.ion-ios-cut-outline:before { - content: "\f169"; -} - -.ion-ios-desktop:before { - content: "\f16c"; -} - -.ion-ios-desktop-outline:before { - content: "\f16b"; -} - -.ion-ios-disc:before { - content: "\f16e"; -} - -.ion-ios-disc-outline:before { - content: "\f16d"; -} - -.ion-ios-document:before { - content: "\f170"; -} - -.ion-ios-document-outline:before { - content: "\f16f"; -} - -.ion-ios-done-all:before { - content: "\f171"; -} - -.ion-ios-done-all-outline:before { - content: "\f171"; -} - -.ion-ios-download:before { - content: "\f420"; -} - -.ion-ios-download-outline:before { - content: "\f41f"; -} - -.ion-ios-easel:before { - content: "\f173"; -} - -.ion-ios-easel-outline:before { - content: "\f172"; -} - -.ion-ios-egg:before { - content: "\f175"; -} - -.ion-ios-egg-outline:before { - content: "\f174"; -} - -.ion-ios-exit:before { - content: "\f177"; -} - -.ion-ios-exit-outline:before { - content: "\f176"; -} - -.ion-ios-expand:before { - content: "\f178"; -} - -.ion-ios-expand-outline:before { - content: "\f178"; -} - -.ion-ios-eye:before { - content: "\f425"; -} - -.ion-ios-eye-off:before { - content: "\f17a"; -} - -.ion-ios-eye-off-outline:before { - content: "\f179"; -} - -.ion-ios-eye-outline:before { - content: "\f424"; -} - -.ion-ios-fastforward:before { - content: "\f427"; -} - -.ion-ios-fastforward-outline:before { - content: "\f426"; -} - -.ion-ios-female:before { - content: "\f17b"; -} - -.ion-ios-female-outline:before { - content: "\f17b"; -} - -.ion-ios-filing:before { - content: "\f429"; -} - -.ion-ios-filing-outline:before { - content: "\f428"; -} - -.ion-ios-film:before { - content: "\f42b"; -} - -.ion-ios-film-outline:before { - content: "\f42a"; -} - -.ion-ios-finger-print:before { - content: "\f17c"; -} - -.ion-ios-finger-print-outline:before { - content: "\f17c"; -} - -.ion-ios-flag:before { - content: "\f42d"; -} - -.ion-ios-flag-outline:before { - content: "\f42c"; -} - -.ion-ios-flame:before { - content: "\f42f"; -} - -.ion-ios-flame-outline:before { - content: "\f42e"; -} - -.ion-ios-flash:before { - content: "\f17e"; -} - -.ion-ios-flash-outline:before { - content: "\f17d"; -} - -.ion-ios-flask:before { - content: "\f431"; -} - -.ion-ios-flask-outline:before { - content: "\f430"; -} - -.ion-ios-flower:before { - content: "\f433"; -} - -.ion-ios-flower-outline:before { - content: "\f432"; -} - -.ion-ios-folder:before { - content: "\f435"; -} - -.ion-ios-folder-open:before { - content: "\f180"; -} - -.ion-ios-folder-open-outline:before { - content: "\f17f"; -} - -.ion-ios-folder-outline:before { - content: "\f434"; -} - -.ion-ios-football:before { - content: "\f437"; -} - -.ion-ios-football-outline:before { - content: "\f436"; -} - -.ion-ios-funnel:before { - content: "\f182"; -} - -.ion-ios-funnel-outline:before { - content: "\f181"; -} - -.ion-ios-game-controller-a:before { - content: "\f439"; -} - -.ion-ios-game-controller-a-outline:before { - content: "\f438"; -} - -.ion-ios-game-controller-b:before { - content: "\f43b"; -} - -.ion-ios-game-controller-b-outline:before { - content: "\f43a"; -} - -.ion-ios-git-branch:before { - content: "\f183"; -} - -.ion-ios-git-branch-outline:before { - content: "\f183"; -} - -.ion-ios-git-commit:before { - content: "\f184"; -} - -.ion-ios-git-commit-outline:before { - content: "\f184"; -} - -.ion-ios-git-compare:before { - content: "\f185"; -} - -.ion-ios-git-compare-outline:before { - content: "\f185"; -} - -.ion-ios-git-merge:before { - content: "\f186"; -} - -.ion-ios-git-merge-outline:before { - content: "\f186"; -} - -.ion-ios-git-network:before { - content: "\f187"; -} - -.ion-ios-git-network-outline:before { - content: "\f187"; -} - -.ion-ios-git-pull-request:before { - content: "\f188"; -} - -.ion-ios-git-pull-request-outline:before { - content: "\f188"; -} - -.ion-ios-glasses:before { - content: "\f43f"; -} - -.ion-ios-glasses-outline:before { - content: "\f43e"; -} - -.ion-ios-globe:before { - content: "\f18a"; -} - -.ion-ios-globe-outline:before { - content: "\f189"; -} - -.ion-ios-grid:before { - content: "\f18c"; -} - -.ion-ios-grid-outline:before { - content: "\f18b"; -} - -.ion-ios-hammer:before { - content: "\f18e"; -} - -.ion-ios-hammer-outline:before { - content: "\f18d"; -} - -.ion-ios-hand:before { - content: "\f190"; -} - -.ion-ios-hand-outline:before { - content: "\f18f"; -} - -.ion-ios-happy:before { - content: "\f192"; -} - -.ion-ios-happy-outline:before { - content: "\f191"; -} - -.ion-ios-headset:before { - content: "\f194"; -} - -.ion-ios-headset-outline:before { - content: "\f193"; -} - -.ion-ios-heart:before { - content: "\f443"; -} - -.ion-ios-heart-outline:before { - content: "\f442"; -} - -.ion-ios-help:before { - content: "\f446"; -} - -.ion-ios-help-buoy:before { - content: "\f196"; -} - -.ion-ios-help-buoy-outline:before { - content: "\f195"; -} - -.ion-ios-help-circle:before { - content: "\f198"; -} - -.ion-ios-help-circle-outline:before { - content: "\f197"; -} - -.ion-ios-help-outline:before { - content: "\f446"; -} - -.ion-ios-home:before { - content: "\f448"; -} - -.ion-ios-home-outline:before { - content: "\f447"; -} - -.ion-ios-ice-cream:before { - content: "\f19a"; -} - -.ion-ios-ice-cream-outline:before { - content: "\f199"; -} - -.ion-ios-image:before { - content: "\f19c"; -} - -.ion-ios-image-outline:before { - content: "\f19b"; -} - -.ion-ios-images:before { - content: "\f19e"; -} - -.ion-ios-images-outline:before { - content: "\f19d"; -} - -.ion-ios-infinite:before { - content: "\f44a"; -} - -.ion-ios-infinite-outline:before { - content: "\f449"; -} - -.ion-ios-information:before { - content: "\f44d"; -} - -.ion-ios-information-circle:before { - content: "\f1a0"; -} - -.ion-ios-information-circle-outline:before { - content: "\f19f"; -} - -.ion-ios-information-outline:before { - content: "\f44d"; -} - -.ion-ios-ionic:before { - content: "\f1a1"; -} - -.ion-ios-ionic-outline:before { - content: "\f44e"; -} - -.ion-ios-ionitron:before { - content: "\f1a3"; -} - -.ion-ios-ionitron-outline:before { - content: "\f1a2"; -} - -.ion-ios-jet:before { - content: "\f1a5"; -} - -.ion-ios-jet-outline:before { - content: "\f1a4"; -} - -.ion-ios-key:before { - content: "\f1a7"; -} - -.ion-ios-key-outline:before { - content: "\f1a6"; -} - -.ion-ios-keypad:before { - content: "\f450"; -} - -.ion-ios-keypad-outline:before { - content: "\f44f"; -} - -.ion-ios-laptop:before { - content: "\f1a8"; -} - -.ion-ios-laptop-outline:before { - content: "\f1a8"; -} - -.ion-ios-leaf:before { - content: "\f1aa"; -} - -.ion-ios-leaf-outline:before { - content: "\f1a9"; -} - -.ion-ios-link:before { - content: "\f22a"; -} - -.ion-ios-link-outline:before { - content: "\f1ca"; -} - -.ion-ios-list:before { - content: "\f454"; -} - -.ion-ios-list-box:before { - content: "\f1ac"; -} - -.ion-ios-list-box-outline:before { - content: "\f1ab"; -} - -.ion-ios-list-outline:before { - content: "\f454"; -} - -.ion-ios-locate:before { - content: "\f1ae"; -} - -.ion-ios-locate-outline:before { - content: "\f1ad"; -} - -.ion-ios-lock:before { - content: "\f1b0"; -} - -.ion-ios-lock-outline:before { - content: "\f1af"; -} - -.ion-ios-log-in:before { - content: "\f1b1"; -} - -.ion-ios-log-in-outline:before { - content: "\f1b1"; -} - -.ion-ios-log-out:before { - content: "\f1b2"; -} - -.ion-ios-log-out-outline:before { - content: "\f1b2"; -} - -.ion-ios-magnet:before { - content: "\f1b4"; -} - -.ion-ios-magnet-outline:before { - content: "\f1b3"; -} - -.ion-ios-mail:before { - content: "\f1b8"; -} - -.ion-ios-mail-open:before { - content: "\f1b6"; -} - -.ion-ios-mail-open-outline:before { - content: "\f1b5"; -} - -.ion-ios-mail-outline:before { - content: "\f1b7"; -} - -.ion-ios-male:before { - content: "\f1b9"; -} - -.ion-ios-male-outline:before { - content: "\f1b9"; -} - -.ion-ios-man:before { - content: "\f1bb"; -} - -.ion-ios-man-outline:before { - content: "\f1ba"; -} - -.ion-ios-map:before { - content: "\f1bd"; -} - -.ion-ios-map-outline:before { - content: "\f1bc"; -} - -.ion-ios-medal:before { - content: "\f1bf"; -} - -.ion-ios-medal-outline:before { - content: "\f1be"; -} - -.ion-ios-medical:before { - content: "\f45c"; -} - -.ion-ios-medical-outline:before { - content: "\f45b"; -} - -.ion-ios-medkit:before { - content: "\f45e"; -} - -.ion-ios-medkit-outline:before { - content: "\f45d"; -} - -.ion-ios-megaphone:before { - content: "\f1c1"; -} - -.ion-ios-megaphone-outline:before { - content: "\f1c0"; -} - -.ion-ios-menu:before { - content: "\f1c3"; -} - -.ion-ios-menu-outline:before { - content: "\f1c2"; -} - -.ion-ios-mic:before { - content: "\f461"; -} - -.ion-ios-mic-off:before { - content: "\f45f"; -} - -.ion-ios-mic-off-outline:before { - content: "\f1c4"; -} - -.ion-ios-mic-outline:before { - content: "\f460"; -} - -.ion-ios-microphone:before { - content: "\f1c6"; -} - -.ion-ios-microphone-outline:before { - content: "\f1c5"; -} - -.ion-ios-moon:before { - content: "\f468"; -} - -.ion-ios-moon-outline:before { - content: "\f467"; -} - -.ion-ios-more:before { - content: "\f1c8"; -} - -.ion-ios-more-outline:before { - content: "\f1c7"; -} - -.ion-ios-move:before { - content: "\f1cb"; -} - -.ion-ios-move-outline:before { - content: "\f1cb"; -} - -.ion-ios-musical-note:before { - content: "\f46b"; -} - -.ion-ios-musical-note-outline:before { - content: "\f1cc"; -} - -.ion-ios-musical-notes:before { - content: "\f46c"; -} - -.ion-ios-musical-notes-outline:before { - content: "\f1cd"; -} - -.ion-ios-navigate:before { - content: "\f46e"; -} - -.ion-ios-navigate-outline:before { - content: "\f46d"; -} - -.ion-ios-no-smoking:before { - content: "\f1cf"; -} - -.ion-ios-no-smoking-outline:before { - content: "\f1ce"; -} - -.ion-ios-notifications:before { - content: "\f1d3"; -} - -.ion-ios-notifications-off:before { - content: "\f1d1"; -} - -.ion-ios-notifications-off-outline:before { - content: "\f1d0"; -} - -.ion-ios-notifications-outline:before { - content: "\f1d2"; -} - -.ion-ios-nuclear:before { - content: "\f1d5"; -} - -.ion-ios-nuclear-outline:before { - content: "\f1d4"; -} - -.ion-ios-nutrition:before { - content: "\f470"; -} - -.ion-ios-nutrition-outline:before { - content: "\f46f"; -} - -.ion-ios-open:before { - content: "\f1d7"; -} - -.ion-ios-open-outline:before { - content: "\f1d6"; -} - -.ion-ios-options:before { - content: "\f1d9"; -} - -.ion-ios-options-outline:before { - content: "\f1d8"; -} - -.ion-ios-outlet:before { - content: "\f1db"; -} - -.ion-ios-outlet-outline:before { - content: "\f1da"; -} - -.ion-ios-paper:before { - content: "\f472"; -} - -.ion-ios-paper-outline:before { - content: "\f471"; -} - -.ion-ios-paper-plane:before { - content: "\f1dd"; -} - -.ion-ios-paper-plane-outline:before { - content: "\f1dc"; -} - -.ion-ios-partly-sunny:before { - content: "\f1df"; -} - -.ion-ios-partly-sunny-outline:before { - content: "\f1de"; -} - -.ion-ios-pause:before { - content: "\f478"; -} - -.ion-ios-pause-outline:before { - content: "\f477"; -} - -.ion-ios-paw:before { - content: "\f47a"; -} - -.ion-ios-paw-outline:before { - content: "\f479"; -} - -.ion-ios-people:before { - content: "\f47c"; -} - -.ion-ios-people-outline:before { - content: "\f47b"; -} - -.ion-ios-person:before { - content: "\f47e"; -} - -.ion-ios-person-add:before { - content: "\f1e1"; -} - -.ion-ios-person-add-outline:before { - content: "\f1e0"; -} - -.ion-ios-person-outline:before { - content: "\f47d"; -} - -.ion-ios-phone-landscape:before { - content: "\f1e2"; -} - -.ion-ios-phone-landscape-outline:before { - content: "\f1e2"; -} - -.ion-ios-phone-portrait:before { - content: "\f1e3"; -} - -.ion-ios-phone-portrait-outline:before { - content: "\f1e3"; -} - -.ion-ios-photos:before { - content: "\f482"; -} - -.ion-ios-photos-outline:before { - content: "\f481"; -} - -.ion-ios-pie:before { - content: "\f484"; -} - -.ion-ios-pie-outline:before { - content: "\f483"; -} - -.ion-ios-pin:before { - content: "\f1e5"; -} - -.ion-ios-pin-outline:before { - content: "\f1e4"; -} - -.ion-ios-pint:before { - content: "\f486"; -} - -.ion-ios-pint-outline:before { - content: "\f485"; -} - -.ion-ios-pizza:before { - content: "\f1e7"; -} - -.ion-ios-pizza-outline:before { - content: "\f1e6"; -} - -.ion-ios-plane:before { - content: "\f1e9"; -} - -.ion-ios-plane-outline:before { - content: "\f1e8"; -} - -.ion-ios-planet:before { - content: "\f1eb"; -} - -.ion-ios-planet-outline:before { - content: "\f1ea"; -} - -.ion-ios-play:before { - content: "\f488"; -} - -.ion-ios-play-outline:before { - content: "\f487"; -} - -.ion-ios-podium:before { - content: "\f1ed"; -} - -.ion-ios-podium-outline:before { - content: "\f1ec"; -} - -.ion-ios-power:before { - content: "\f1ef"; -} - -.ion-ios-power-outline:before { - content: "\f1ee"; -} - -.ion-ios-pricetag:before { - content: "\f48d"; -} - -.ion-ios-pricetag-outline:before { - content: "\f48c"; -} - -.ion-ios-pricetags:before { - content: "\f48f"; -} - -.ion-ios-pricetags-outline:before { - content: "\f48e"; -} - -.ion-ios-print:before { - content: "\f1f1"; -} - -.ion-ios-print-outline:before { - content: "\f1f0"; -} - -.ion-ios-pulse:before { - content: "\f493"; -} - -.ion-ios-pulse-outline:before { - content: "\f1f2"; -} - -.ion-ios-qr-scanner:before { - content: "\f1f3"; -} - -.ion-ios-qr-scanner-outline:before { - content: "\f1f3"; -} - -.ion-ios-quote:before { - content: "\f1f5"; -} - -.ion-ios-quote-outline:before { - content: "\f1f4"; -} - -.ion-ios-radio:before { - content: "\f1f9"; -} - -.ion-ios-radio-button-off:before { - content: "\f1f6"; -} - -.ion-ios-radio-button-off-outline:before { - content: "\f1f6"; -} - -.ion-ios-radio-button-on:before { - content: "\f1f7"; -} - -.ion-ios-radio-button-on-outline:before { - content: "\f1f7"; -} - -.ion-ios-radio-outline:before { - content: "\f1f8"; -} - -.ion-ios-rainy:before { - content: "\f495"; -} - -.ion-ios-rainy-outline:before { - content: "\f494"; -} - -.ion-ios-recording:before { - content: "\f497"; -} - -.ion-ios-recording-outline:before { - content: "\f496"; -} - -.ion-ios-redo:before { - content: "\f499"; -} - -.ion-ios-redo-outline:before { - content: "\f498"; -} - -.ion-ios-refresh:before { - content: "\f49c"; -} - -.ion-ios-refresh-circle:before { - content: "\f226"; -} - -.ion-ios-refresh-circle-outline:before { - content: "\f224"; -} - -.ion-ios-refresh-outline:before { - content: "\f49c"; -} - -.ion-ios-remove:before { - content: "\f1fc"; -} - -.ion-ios-remove-circle:before { - content: "\f1fb"; -} - -.ion-ios-remove-circle-outline:before { - content: "\f1fa"; -} - -.ion-ios-remove-outline:before { - content: "\f1fc"; -} - -.ion-ios-reorder:before { - content: "\f1fd"; -} - -.ion-ios-reorder-outline:before { - content: "\f1fd"; -} - -.ion-ios-repeat:before { - content: "\f1fe"; -} - -.ion-ios-repeat-outline:before { - content: "\f1fe"; -} - -.ion-ios-resize:before { - content: "\f1ff"; -} - -.ion-ios-resize-outline:before { - content: "\f1ff"; -} - -.ion-ios-restaurant:before { - content: "\f201"; -} - -.ion-ios-restaurant-outline:before { - content: "\f200"; -} - -.ion-ios-return-left:before { - content: "\f202"; -} - -.ion-ios-return-left-outline:before { - content: "\f202"; -} - -.ion-ios-return-right:before { - content: "\f203"; -} - -.ion-ios-return-right-outline:before { - content: "\f203"; -} - -.ion-ios-reverse-camera:before { - content: "\f49f"; -} - -.ion-ios-reverse-camera-outline:before { - content: "\f49e"; -} - -.ion-ios-rewind:before { - content: "\f4a1"; -} - -.ion-ios-rewind-outline:before { - content: "\f4a0"; -} - -.ion-ios-ribbon:before { - content: "\f205"; -} - -.ion-ios-ribbon-outline:before { - content: "\f204"; -} - -.ion-ios-rose:before { - content: "\f4a3"; -} - -.ion-ios-rose-outline:before { - content: "\f4a2"; -} - -.ion-ios-sad:before { - content: "\f207"; -} - -.ion-ios-sad-outline:before { - content: "\f206"; -} - -.ion-ios-school:before { - content: "\f209"; -} - -.ion-ios-school-outline:before { - content: "\f208"; -} - -.ion-ios-search:before { - content: "\f4a5"; -} - -.ion-ios-search-outline:before { - content: "\f20a"; -} - -.ion-ios-send:before { - content: "\f20c"; -} - -.ion-ios-send-outline:before { - content: "\f20b"; -} - -.ion-ios-settings:before { - content: "\f4a7"; -} - -.ion-ios-settings-outline:before { - content: "\f20d"; -} - -.ion-ios-share:before { - content: "\f211"; -} - -.ion-ios-share-alt:before { - content: "\f20f"; -} - -.ion-ios-share-alt-outline:before { - content: "\f20e"; -} - -.ion-ios-share-outline:before { - content: "\f210"; -} - -.ion-ios-shirt:before { - content: "\f213"; -} - -.ion-ios-shirt-outline:before { - content: "\f212"; -} - -.ion-ios-shuffle:before { - content: "\f4a9"; -} - -.ion-ios-shuffle-outline:before { - content: "\f4a9"; -} - -.ion-ios-skip-backward:before { - content: "\f215"; -} - -.ion-ios-skip-backward-outline:before { - content: "\f214"; -} - -.ion-ios-skip-forward:before { - content: "\f217"; -} - -.ion-ios-skip-forward-outline:before { - content: "\f216"; -} - -.ion-ios-snow:before { - content: "\f218"; -} - -.ion-ios-snow-outline:before { - content: "\f22c"; -} - -.ion-ios-speedometer:before { - content: "\f4b0"; -} - -.ion-ios-speedometer-outline:before { - content: "\f4af"; -} - -.ion-ios-square:before { - content: "\f21a"; -} - -.ion-ios-square-outline:before { - content: "\f219"; -} - -.ion-ios-star:before { - content: "\f4b3"; -} - -.ion-ios-star-half:before { - content: "\f4b1"; -} - -.ion-ios-star-half-outline:before { - content: "\f4b1"; -} - -.ion-ios-star-outline:before { - content: "\f4b2"; -} - -.ion-ios-stats:before { - content: "\f21c"; -} - -.ion-ios-stats-outline:before { - content: "\f21b"; -} - -.ion-ios-stopwatch:before { - content: "\f4b5"; -} - -.ion-ios-stopwatch-outline:before { - content: "\f4b4"; -} - -.ion-ios-subway:before { - content: "\f21e"; -} - -.ion-ios-subway-outline:before { - content: "\f21d"; -} - -.ion-ios-sunny:before { - content: "\f4b7"; -} - -.ion-ios-sunny-outline:before { - content: "\f4b6"; -} - -.ion-ios-swap:before { - content: "\f21f"; -} - -.ion-ios-swap-outline:before { - content: "\f21f"; -} - -.ion-ios-switch:before { - content: "\f221"; -} - -.ion-ios-switch-outline:before { - content: "\f220"; -} - -.ion-ios-sync:before { - content: "\f222"; -} - -.ion-ios-sync-outline:before { - content: "\f222"; -} - -.ion-ios-tablet-landscape:before { - content: "\f223"; -} - -.ion-ios-tablet-landscape-outline:before { - content: "\f223"; -} - -.ion-ios-tablet-portrait:before { - content: "\f24e"; -} - -.ion-ios-tablet-portrait-outline:before { - content: "\f24e"; -} - -.ion-ios-tennisball:before { - content: "\f4bb"; -} - -.ion-ios-tennisball-outline:before { - content: "\f4ba"; -} - -.ion-ios-text:before { - content: "\f250"; -} - -.ion-ios-text-outline:before { - content: "\f24f"; -} - -.ion-ios-thermometer:before { - content: "\f252"; -} - -.ion-ios-thermometer-outline:before { - content: "\f251"; -} - -.ion-ios-thumbs-down:before { - content: "\f254"; -} - -.ion-ios-thumbs-down-outline:before { - content: "\f253"; -} - -.ion-ios-thumbs-up:before { - content: "\f256"; -} - -.ion-ios-thumbs-up-outline:before { - content: "\f255"; -} - -.ion-ios-thunderstorm:before { - content: "\f4bd"; -} - -.ion-ios-thunderstorm-outline:before { - content: "\f4bc"; -} - -.ion-ios-time:before { - content: "\f4bf"; -} - -.ion-ios-time-outline:before { - content: "\f4be"; -} - -.ion-ios-timer:before { - content: "\f4c1"; -} - -.ion-ios-timer-outline:before { - content: "\f4c0"; -} - -.ion-ios-train:before { - content: "\f258"; -} - -.ion-ios-train-outline:before { - content: "\f257"; -} - -.ion-ios-transgender:before { - content: "\f259"; -} - -.ion-ios-transgender-outline:before { - content: "\f259"; -} - -.ion-ios-trash:before { - content: "\f4c5"; -} - -.ion-ios-trash-outline:before { - content: "\f4c4"; -} - -.ion-ios-trending-down:before { - content: "\f25a"; -} - -.ion-ios-trending-down-outline:before { - content: "\f25a"; -} - -.ion-ios-trending-up:before { - content: "\f25b"; -} - -.ion-ios-trending-up-outline:before { - content: "\f25b"; -} - -.ion-ios-trophy:before { - content: "\f25d"; -} - -.ion-ios-trophy-outline:before { - content: "\f25c"; -} - -.ion-ios-umbrella:before { - content: "\f25f"; -} - -.ion-ios-umbrella-outline:before { - content: "\f25e"; -} - -.ion-ios-undo:before { - content: "\f4c7"; -} - -.ion-ios-undo-outline:before { - content: "\f4c6"; -} - -.ion-ios-unlock:before { - content: "\f261"; -} - -.ion-ios-unlock-outline:before { - content: "\f260"; -} - -.ion-ios-videocam:before { - content: "\f4cd"; -} - -.ion-ios-videocam-outline:before { - content: "\f4cc"; -} - -.ion-ios-volume-down:before { - content: "\f262"; -} - -.ion-ios-volume-down-outline:before { - content: "\f262"; -} - -.ion-ios-volume-mute:before { - content: "\f263"; -} - -.ion-ios-volume-mute-outline:before { - content: "\f263"; -} - -.ion-ios-volume-off:before { - content: "\f264"; -} - -.ion-ios-volume-off-outline:before { - content: "\f264"; -} - -.ion-ios-volume-up:before { - content: "\f265"; -} - -.ion-ios-volume-up-outline:before { - content: "\f265"; -} - -.ion-ios-walk:before { - content: "\f266"; -} - -.ion-ios-walk-outline:before { - content: "\f266"; -} - -.ion-ios-warning:before { - content: "\f268"; -} - -.ion-ios-warning-outline:before { - content: "\f267"; -} - -.ion-ios-watch:before { - content: "\f269"; -} - -.ion-ios-watch-outline:before { - content: "\f269"; -} - -.ion-ios-water:before { - content: "\f26b"; -} - -.ion-ios-water-outline:before { - content: "\f26a"; -} - -.ion-ios-wifi:before { - content: "\f26d"; -} - -.ion-ios-wifi-outline:before { - content: "\f26c"; -} - -.ion-ios-wine:before { - content: "\f26f"; -} - -.ion-ios-wine-outline:before { - content: "\f26e"; -} - -.ion-ios-woman:before { - content: "\f271"; -} - -.ion-ios-woman-outline:before { - content: "\f270"; -} - -.ion-logo-android:before { - content: "\f225"; -} - -.ion-logo-angular:before { - content: "\f227"; -} - -.ion-logo-apple:before { - content: "\f229"; -} - -.ion-logo-bitcoin:before { - content: "\f22b"; -} - -.ion-logo-buffer:before { - content: "\f22d"; -} - -.ion-logo-chrome:before { - content: "\f22f"; -} - -.ion-logo-codepen:before { - content: "\f230"; -} - -.ion-logo-css3:before { - content: "\f231"; -} - -.ion-logo-designernews:before { - content: "\f232"; -} - -.ion-logo-dribbble:before { - content: "\f233"; -} - -.ion-logo-dropbox:before { - content: "\f234"; -} - -.ion-logo-euro:before { - content: "\f235"; -} - -.ion-logo-facebook:before { - content: "\f236"; -} - -.ion-logo-foursquare:before { - content: "\f237"; -} - -.ion-logo-freebsd-devil:before { - content: "\f238"; -} - -.ion-logo-github:before { - content: "\f239"; -} - -.ion-logo-google:before { - content: "\f23a"; -} - -.ion-logo-googleplus:before { - content: "\f23b"; -} - -.ion-logo-hackernews:before { - content: "\f23c"; -} - -.ion-logo-html5:before { - content: "\f23d"; -} - -.ion-logo-instagram:before { - content: "\f23e"; -} - -.ion-logo-javascript:before { - content: "\f23f"; -} - -.ion-logo-linkedin:before { - content: "\f240"; -} - -.ion-logo-markdown:before { - content: "\f241"; -} - -.ion-logo-nodejs:before { - content: "\f242"; -} - -.ion-logo-octocat:before { - content: "\f243"; -} - -.ion-logo-pinterest:before { - content: "\f244"; -} - -.ion-logo-playstation:before { - content: "\f245"; -} - -.ion-logo-python:before { - content: "\f246"; -} - -.ion-logo-reddit:before { - content: "\f247"; -} - -.ion-logo-rss:before { - content: "\f248"; -} - -.ion-logo-sass:before { - content: "\f249"; -} - -.ion-logo-skype:before { - content: "\f24a"; -} - -.ion-logo-snapchat:before { - content: "\f24b"; -} - -.ion-logo-steam:before { - content: "\f24c"; -} - -.ion-logo-tumblr:before { - content: "\f24d"; -} - -.ion-logo-tux:before { - content: "\f2ae"; -} - -.ion-logo-twitch:before { - content: "\f2af"; -} - -.ion-logo-twitter:before { - content: "\f2b0"; -} - -.ion-logo-usd:before { - content: "\f2b1"; -} - -.ion-logo-vimeo:before { - content: "\f2c4"; -} - -.ion-logo-whatsapp:before { - content: "\f2c5"; -} - -.ion-logo-windows:before { - content: "\f32f"; -} - -.ion-logo-wordpress:before { - content: "\f330"; -} - -.ion-logo-xbox:before { - content: "\f34c"; -} - -.ion-logo-yahoo:before { - content: "\f34d"; -} - -.ion-logo-yen:before { - content: "\f34e"; -} - -.ion-logo-youtube:before { - content: "\f34f"; -} - -.ion-md-add:before { - content: "\f273"; -} - -.ion-md-add-circle:before { - content: "\f272"; -} - -.ion-md-alarm:before { - content: "\f274"; -} - -.ion-md-albums:before { - content: "\f275"; -} - -.ion-md-alert:before { - content: "\f276"; -} - -.ion-md-american-football:before { - content: "\f277"; -} - -.ion-md-analytics:before { - content: "\f278"; -} - -.ion-md-aperture:before { - content: "\f279"; -} - -.ion-md-apps:before { - content: "\f27a"; -} - -.ion-md-appstore:before { - content: "\f27b"; -} - -.ion-md-archive:before { - content: "\f27c"; -} - -.ion-md-arrow-back:before { - content: "\f27d"; -} - -.ion-md-arrow-down:before { - content: "\f27e"; -} - -.ion-md-arrow-dropdown:before { - content: "\f280"; -} - -.ion-md-arrow-dropdown-circle:before { - content: "\f27f"; -} - -.ion-md-arrow-dropleft:before { - content: "\f282"; -} - -.ion-md-arrow-dropleft-circle:before { - content: "\f281"; -} - -.ion-md-arrow-dropright:before { - content: "\f284"; -} - -.ion-md-arrow-dropright-circle:before { - content: "\f283"; -} - -.ion-md-arrow-dropup:before { - content: "\f286"; -} - -.ion-md-arrow-dropup-circle:before { - content: "\f285"; -} - -.ion-md-arrow-forward:before { - content: "\f287"; -} - -.ion-md-arrow-round-back:before { - content: "\f288"; -} - -.ion-md-arrow-round-down:before { - content: "\f289"; -} - -.ion-md-arrow-round-forward:before { - content: "\f28a"; -} - -.ion-md-arrow-round-up:before { - content: "\f28b"; -} - -.ion-md-arrow-up:before { - content: "\f28c"; -} - -.ion-md-at:before { - content: "\f28d"; -} - -.ion-md-attach:before { - content: "\f28e"; -} - -.ion-md-backspace:before { - content: "\f28f"; -} - -.ion-md-barcode:before { - content: "\f290"; -} - -.ion-md-baseball:before { - content: "\f291"; -} - -.ion-md-basket:before { - content: "\f292"; -} - -.ion-md-basketball:before { - content: "\f293"; -} - -.ion-md-battery-charging:before { - content: "\f294"; -} - -.ion-md-battery-dead:before { - content: "\f295"; -} - -.ion-md-battery-full:before { - content: "\f296"; -} - -.ion-md-beaker:before { - content: "\f297"; -} - -.ion-md-beer:before { - content: "\f298"; -} - -.ion-md-bicycle:before { - content: "\f299"; -} - -.ion-md-bluetooth:before { - content: "\f29a"; -} - -.ion-md-boat:before { - content: "\f29b"; -} - -.ion-md-body:before { - content: "\f29c"; -} - -.ion-md-bonfire:before { - content: "\f29d"; -} - -.ion-md-book:before { - content: "\f29e"; -} - -.ion-md-bookmark:before { - content: "\f29f"; -} - -.ion-md-bookmarks:before { - content: "\f2a0"; -} - -.ion-md-bowtie:before { - content: "\f2a1"; -} - -.ion-md-briefcase:before { - content: "\f2a2"; -} - -.ion-md-browsers:before { - content: "\f2a3"; -} - -.ion-md-brush:before { - content: "\f2a4"; -} - -.ion-md-bug:before { - content: "\f2a5"; -} - -.ion-md-build:before { - content: "\f2a6"; -} - -.ion-md-bulb:before { - content: "\f2a7"; -} - -.ion-md-bus:before { - content: "\f2a8"; -} - -.ion-md-cafe:before { - content: "\f2a9"; -} - -.ion-md-calculator:before { - content: "\f2aa"; -} - -.ion-md-calendar:before { - content: "\f2ab"; -} - -.ion-md-call:before { - content: "\f2ac"; -} - -.ion-md-camera:before { - content: "\f2ad"; -} - -.ion-md-car:before { - content: "\f2b2"; -} - -.ion-md-card:before { - content: "\f2b3"; -} - -.ion-md-cart:before { - content: "\f2b4"; -} - -.ion-md-cash:before { - content: "\f2b5"; -} - -.ion-md-chatboxes:before { - content: "\f2b6"; -} - -.ion-md-chatbubbles:before { - content: "\f2b7"; -} - -.ion-md-checkbox:before { - content: "\f2b9"; -} - -.ion-md-checkbox-outline:before { - content: "\f2b8"; -} - -.ion-md-checkmark:before { - content: "\f2bc"; -} - -.ion-md-checkmark-circle:before { - content: "\f2bb"; -} - -.ion-md-checkmark-circle-outline:before { - content: "\f2ba"; -} - -.ion-md-clipboard:before { - content: "\f2bd"; -} - -.ion-md-clock:before { - content: "\f2be"; -} - -.ion-md-close:before { - content: "\f2c0"; -} - -.ion-md-close-circle:before { - content: "\f2bf"; -} - -.ion-md-closed-captioning:before { - content: "\f2c1"; -} - -.ion-md-cloud:before { - content: "\f2c9"; -} - -.ion-md-cloud-circle:before { - content: "\f2c2"; -} - -.ion-md-cloud-done:before { - content: "\f2c3"; -} - -.ion-md-cloud-download:before { - content: "\f2c6"; -} - -.ion-md-cloud-outline:before { - content: "\f2c7"; -} - -.ion-md-cloud-upload:before { - content: "\f2c8"; -} - -.ion-md-cloudy:before { - content: "\f2cb"; -} - -.ion-md-cloudy-night:before { - content: "\f2ca"; -} - -.ion-md-code:before { - content: "\f2ce"; -} - -.ion-md-code-download:before { - content: "\f2cc"; -} - -.ion-md-code-working:before { - content: "\f2cd"; -} - -.ion-md-cog:before { - content: "\f2cf"; -} - -.ion-md-color-fill:before { - content: "\f2d0"; -} - -.ion-md-color-filter:before { - content: "\f2d1"; -} - -.ion-md-color-palette:before { - content: "\f2d2"; -} - -.ion-md-color-wand:before { - content: "\f2d3"; -} - -.ion-md-compass:before { - content: "\f2d4"; -} - -.ion-md-construct:before { - content: "\f2d5"; -} - -.ion-md-contact:before { - content: "\f2d6"; -} - -.ion-md-contacts:before { - content: "\f2d7"; -} - -.ion-md-contract:before { - content: "\f2d8"; -} - -.ion-md-contrast:before { - content: "\f2d9"; -} - -.ion-md-copy:before { - content: "\f2da"; -} - -.ion-md-create:before { - content: "\f2db"; -} - -.ion-md-crop:before { - content: "\f2dc"; -} - -.ion-md-cube:before { - content: "\f2dd"; -} - -.ion-md-cut:before { - content: "\f2de"; -} - -.ion-md-desktop:before { - content: "\f2df"; -} - -.ion-md-disc:before { - content: "\f2e0"; -} - -.ion-md-document:before { - content: "\f2e1"; -} - -.ion-md-done-all:before { - content: "\f2e2"; -} - -.ion-md-download:before { - content: "\f2e3"; -} - -.ion-md-easel:before { - content: "\f2e4"; -} - -.ion-md-egg:before { - content: "\f2e5"; -} - -.ion-md-exit:before { - content: "\f2e6"; -} - -.ion-md-expand:before { - content: "\f2e7"; -} - -.ion-md-eye:before { - content: "\f2e9"; -} - -.ion-md-eye-off:before { - content: "\f2e8"; -} - -.ion-md-fastforward:before { - content: "\f2ea"; -} - -.ion-md-female:before { - content: "\f2eb"; -} - -.ion-md-filing:before { - content: "\f2ec"; -} - -.ion-md-film:before { - content: "\f2ed"; -} - -.ion-md-finger-print:before { - content: "\f2ee"; -} - -.ion-md-flag:before { - content: "\f2ef"; -} - -.ion-md-flame:before { - content: "\f2f0"; -} - -.ion-md-flash:before { - content: "\f2f1"; -} - -.ion-md-flask:before { - content: "\f2f2"; -} - -.ion-md-flower:before { - content: "\f2f3"; -} - -.ion-md-folder:before { - content: "\f2f5"; -} - -.ion-md-folder-open:before { - content: "\f2f4"; -} - -.ion-md-football:before { - content: "\f2f6"; -} - -.ion-md-funnel:before { - content: "\f2f7"; -} - -.ion-md-game-controller-a:before { - content: "\f2f8"; -} - -.ion-md-game-controller-b:before { - content: "\f2f9"; -} - -.ion-md-git-branch:before { - content: "\f2fa"; -} - -.ion-md-git-commit:before { - content: "\f2fb"; -} - -.ion-md-git-compare:before { - content: "\f2fc"; -} - -.ion-md-git-merge:before { - content: "\f2fd"; -} - -.ion-md-git-network:before { - content: "\f2fe"; -} - -.ion-md-git-pull-request:before { - content: "\f2ff"; -} - -.ion-md-glasses:before { - content: "\f300"; -} - -.ion-md-globe:before { - content: "\f301"; -} - -.ion-md-grid:before { - content: "\f302"; -} - -.ion-md-hammer:before { - content: "\f303"; -} - -.ion-md-hand:before { - content: "\f304"; -} - -.ion-md-happy:before { - content: "\f305"; -} - -.ion-md-headset:before { - content: "\f306"; -} - -.ion-md-heart:before { - content: "\f308"; -} - -.ion-md-heart-outline:before { - content: "\f307"; -} - -.ion-md-help:before { - content: "\f30b"; -} - -.ion-md-help-buoy:before { - content: "\f309"; -} - -.ion-md-help-circle:before { - content: "\f30a"; -} - -.ion-md-home:before { - content: "\f30c"; -} - -.ion-md-ice-cream:before { - content: "\f30d"; -} - -.ion-md-image:before { - content: "\f30e"; -} - -.ion-md-images:before { - content: "\f30f"; -} - -.ion-md-infinite:before { - content: "\f310"; -} - -.ion-md-information:before { - content: "\f312"; -} - -.ion-md-information-circle:before { - content: "\f311"; -} - -.ion-md-ionic:before { - content: "\f313"; -} - -.ion-md-ionitron:before { - content: "\f314"; -} - -.ion-md-jet:before { - content: "\f315"; -} - -.ion-md-key:before { - content: "\f316"; -} - -.ion-md-keypad:before { - content: "\f317"; -} - -.ion-md-laptop:before { - content: "\f318"; -} - -.ion-md-leaf:before { - content: "\f319"; -} - -.ion-md-link:before { - content: "\f22e"; -} - -.ion-md-list:before { - content: "\f31b"; -} - -.ion-md-list-box:before { - content: "\f31a"; -} - -.ion-md-locate:before { - content: "\f31c"; -} - -.ion-md-lock:before { - content: "\f31d"; -} - -.ion-md-log-in:before { - content: "\f31e"; -} - -.ion-md-log-out:before { - content: "\f31f"; -} - -.ion-md-magnet:before { - content: "\f320"; -} - -.ion-md-mail:before { - content: "\f322"; -} - -.ion-md-mail-open:before { - content: "\f321"; -} - -.ion-md-male:before { - content: "\f323"; -} - -.ion-md-man:before { - content: "\f324"; -} - -.ion-md-map:before { - content: "\f325"; -} - -.ion-md-medal:before { - content: "\f326"; -} - -.ion-md-medical:before { - content: "\f327"; -} - -.ion-md-medkit:before { - content: "\f328"; -} - -.ion-md-megaphone:before { - content: "\f329"; -} - -.ion-md-menu:before { - content: "\f32a"; -} - -.ion-md-mic:before { - content: "\f32c"; -} - -.ion-md-mic-off:before { - content: "\f32b"; -} - -.ion-md-microphone:before { - content: "\f32d"; -} - -.ion-md-moon:before { - content: "\f32e"; -} - -.ion-md-more:before { - content: "\f1c9"; -} - -.ion-md-move:before { - content: "\f331"; -} - -.ion-md-musical-note:before { - content: "\f332"; -} - -.ion-md-musical-notes:before { - content: "\f333"; -} - -.ion-md-navigate:before { - content: "\f334"; -} - -.ion-md-no-smoking:before { - content: "\f335"; -} - -.ion-md-notifications:before { - content: "\f338"; -} - -.ion-md-notifications-off:before { - content: "\f336"; -} - -.ion-md-notifications-outline:before { - content: "\f337"; -} - -.ion-md-nuclear:before { - content: "\f339"; -} - -.ion-md-nutrition:before { - content: "\f33a"; -} - -.ion-md-open:before { - content: "\f33b"; -} - -.ion-md-options:before { - content: "\f33c"; -} - -.ion-md-outlet:before { - content: "\f33d"; -} - -.ion-md-paper:before { - content: "\f33f"; -} - -.ion-md-paper-plane:before { - content: "\f33e"; -} - -.ion-md-partly-sunny:before { - content: "\f340"; -} - -.ion-md-pause:before { - content: "\f341"; -} - -.ion-md-paw:before { - content: "\f342"; -} - -.ion-md-people:before { - content: "\f343"; -} - -.ion-md-person:before { - content: "\f345"; -} - -.ion-md-person-add:before { - content: "\f344"; -} - -.ion-md-phone-landscape:before { - content: "\f346"; -} - -.ion-md-phone-portrait:before { - content: "\f347"; -} - -.ion-md-photos:before { - content: "\f348"; -} - -.ion-md-pie:before { - content: "\f349"; -} - -.ion-md-pin:before { - content: "\f34a"; -} - -.ion-md-pint:before { - content: "\f34b"; -} - -.ion-md-pizza:before { - content: "\f354"; -} - -.ion-md-plane:before { - content: "\f355"; -} - -.ion-md-planet:before { - content: "\f356"; -} - -.ion-md-play:before { - content: "\f357"; -} - -.ion-md-podium:before { - content: "\f358"; -} - -.ion-md-power:before { - content: "\f359"; -} - -.ion-md-pricetag:before { - content: "\f35a"; -} - -.ion-md-pricetags:before { - content: "\f35b"; -} - -.ion-md-print:before { - content: "\f35c"; -} - -.ion-md-pulse:before { - content: "\f35d"; -} - -.ion-md-qr-scanner:before { - content: "\f35e"; -} - -.ion-md-quote:before { - content: "\f35f"; -} - -.ion-md-radio:before { - content: "\f362"; -} - -.ion-md-radio-button-off:before { - content: "\f360"; -} - -.ion-md-radio-button-on:before { - content: "\f361"; -} - -.ion-md-rainy:before { - content: "\f363"; -} - -.ion-md-recording:before { - content: "\f364"; -} - -.ion-md-redo:before { - content: "\f365"; -} - -.ion-md-refresh:before { - content: "\f366"; -} - -.ion-md-refresh-circle:before { - content: "\f228"; -} - -.ion-md-remove:before { - content: "\f368"; -} - -.ion-md-remove-circle:before { - content: "\f367"; -} - -.ion-md-reorder:before { - content: "\f369"; -} - -.ion-md-repeat:before { - content: "\f36a"; -} - -.ion-md-resize:before { - content: "\f36b"; -} - -.ion-md-restaurant:before { - content: "\f36c"; -} - -.ion-md-return-left:before { - content: "\f36d"; -} - -.ion-md-return-right:before { - content: "\f36e"; -} - -.ion-md-reverse-camera:before { - content: "\f36f"; -} - -.ion-md-rewind:before { - content: "\f370"; -} - -.ion-md-ribbon:before { - content: "\f371"; -} - -.ion-md-rose:before { - content: "\f372"; -} - -.ion-md-sad:before { - content: "\f373"; -} - -.ion-md-school:before { - content: "\f374"; -} - -.ion-md-search:before { - content: "\f375"; -} - -.ion-md-send:before { - content: "\f376"; -} - -.ion-md-settings:before { - content: "\f377"; -} - -.ion-md-share:before { - content: "\f379"; -} - -.ion-md-share-alt:before { - content: "\f378"; -} - -.ion-md-shirt:before { - content: "\f37a"; -} - -.ion-md-shuffle:before { - content: "\f37b"; -} - -.ion-md-skip-backward:before { - content: "\f37c"; -} - -.ion-md-skip-forward:before { - content: "\f37d"; -} - -.ion-md-snow:before { - content: "\f37e"; -} - -.ion-md-speedometer:before { - content: "\f37f"; -} - -.ion-md-square:before { - content: "\f381"; -} - -.ion-md-square-outline:before { - content: "\f380"; -} - -.ion-md-star:before { - content: "\f384"; -} - -.ion-md-star-half:before { - content: "\f382"; -} - -.ion-md-star-outline:before { - content: "\f383"; -} - -.ion-md-stats:before { - content: "\f385"; -} - -.ion-md-stopwatch:before { - content: "\f386"; -} - -.ion-md-subway:before { - content: "\f387"; -} - -.ion-md-sunny:before { - content: "\f388"; -} - -.ion-md-swap:before { - content: "\f389"; -} - -.ion-md-switch:before { - content: "\f38a"; -} - -.ion-md-sync:before { - content: "\f38b"; -} - -.ion-md-tablet-landscape:before { - content: "\f38c"; -} - -.ion-md-tablet-portrait:before { - content: "\f38d"; -} - -.ion-md-tennisball:before { - content: "\f38e"; -} - -.ion-md-text:before { - content: "\f38f"; -} - -.ion-md-thermometer:before { - content: "\f390"; -} - -.ion-md-thumbs-down:before { - content: "\f391"; -} - -.ion-md-thumbs-up:before { - content: "\f392"; -} - -.ion-md-thunderstorm:before { - content: "\f393"; -} - -.ion-md-time:before { - content: "\f394"; -} - -.ion-md-timer:before { - content: "\f395"; -} - -.ion-md-train:before { - content: "\f396"; -} - -.ion-md-transgender:before { - content: "\f397"; -} - -.ion-md-trash:before { - content: "\f398"; -} - -.ion-md-trending-down:before { - content: "\f399"; -} - -.ion-md-trending-up:before { - content: "\f39a"; -} - -.ion-md-trophy:before { - content: "\f39b"; -} - -.ion-md-umbrella:before { - content: "\f39c"; -} - -.ion-md-undo:before { - content: "\f39d"; -} - -.ion-md-unlock:before { - content: "\f39e"; -} - -.ion-md-videocam:before { - content: "\f39f"; -} - -.ion-md-volume-down:before { - content: "\f3a0"; -} - -.ion-md-volume-mute:before { - content: "\f3a1"; -} - -.ion-md-volume-off:before { - content: "\f3a2"; -} - -.ion-md-volume-up:before { - content: "\f3a3"; -} - -.ion-md-walk:before { - content: "\f3a4"; -} - -.ion-md-warning:before { - content: "\f3a5"; -} - -.ion-md-watch:before { - content: "\f3a6"; -} - -.ion-md-water:before { - content: "\f3a7"; -} - -.ion-md-wifi:before { - content: "\f3a8"; -} - -.ion-md-wine:before { - content: "\f3a9"; -} - -.ion-md-woman:before { - content: "\f3aa"; -} - -@font-face { - font-family: "Ionicons"; - src: url("../assets/fonts/ionicons.woff2?v=3.0.0-alpha.3") format("woff2"), url("../assets/fonts/ionicons.woff?v=3.0.0-alpha.3") format("woff"), url("../assets/fonts/ionicons.ttf?v=3.0.0-alpha.3") format("truetype"); - font-weight: normal; - font-style: normal; -} - -ion-icon { - display: inline-block; - font-family: "Ionicons"; - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: 1; - text-rendering: auto; - text-transform: none; - speak: none; -} - -ion-icon::before { - display: inline-block; -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 300; - src: local("Roboto Light"), local("Roboto-Light"), url("../assets/fonts/roboto-light.woff2") format("woff2"), url("../assets/fonts/roboto-light.woff") format("woff"), url("../assets/fonts/roboto-light.ttf") format("truetype"); -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 400; - src: local("Roboto"), local("Roboto-Regular"), url("../assets/fonts/roboto-regular.woff2") format("woff2"), url("../assets/fonts/roboto-regular.woff") format("woff"), url("../assets/fonts/roboto-regular.ttf") format("truetype"); -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 500; - src: local("Roboto Medium"), local("Roboto-Medium"), url("../assets/fonts/roboto-medium.woff2") format("woff2"), url("../assets/fonts/roboto-medium.woff") format("woff"), url("../assets/fonts/roboto-medium.ttf") format("truetype"); -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 700; - src: local("Roboto Bold"), local("Roboto-Bold"), url("../assets/fonts/roboto-bold.woff2") format("woff2"), url("../assets/fonts/roboto-bold.woff") format("woff"), url("../assets/fonts/roboto-bold.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 300; - src: local("Noto Sans"), local("Noto-Sans-Regular"), url("../assets/fonts/noto-sans-regular.woff") format("woff"), url("../assets/fonts/noto-sans-regular.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 400; - src: local("Noto Sans"), local("Noto-Sans-Regular"), url("../assets/fonts/noto-sans-regular.woff") format("woff"), url("../assets/fonts/noto-sans-regular.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 500; - src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("../assets/fonts/noto-sans-bold.woff") format("woff"), url("../assets/fonts/noto-sans-bold.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 700; - src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("../assets/fonts/noto-sans-bold.woff") format("woff"), url("../assets/fonts/noto-sans-bold.ttf") format("truetype"); -} - -ion-action-sheet { - left: 0; - top: 0; - position: absolute; - z-index: 1000; - display: block; - width: 100%; - height: 100%; -} - -.action-sheet-wrapper { - left: 0; - right: 0; - top: 0; - bottom: 0; - margin: auto; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - position: absolute; - z-index: 10; - display: block; - width: 100%; - max-width: 500px; - pointer-events: none; -} - -.action-sheet-button { - width: 100%; -} - -.action-sheet-container { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-flow: column; - -ms-flex-flow: column; - flex-flow: column; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - height: 100%; - max-height: 100%; -} - -.action-sheet-group { - overflow: scroll; - -webkit-flex-shrink: 2; - -ms-flex-negative: 2; - flex-shrink: 2; - pointer-events: all; -} - -.action-sheet-group-cancel { - overflow: hidden; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.action-sheet-ios { - text-align: center; -} - -.action-sheet-ios .action-sheet-wrapper { - margin: constant(safe-area-inset-top) auto constant(safe-area-inset-bottom); - margin: env(safe-area-inset-top) auto env(safe-area-inset-bottom); -} - -.action-sheet-ios .action-sheet-container { - padding: 0 10px; -} - -.action-sheet-ios .action-sheet-group { - border-radius: 13px; - margin-bottom: 8px; - background: #f9f9f9; -} - -.action-sheet-ios .action-sheet-group:first-child { - margin-top: 10px; -} - -.action-sheet-ios .action-sheet-group:last-child { - margin-bottom: 10px; -} - -.action-sheet-ios .action-sheet-title { - padding: 1.5rem; - text-align: center; - border-radius: 0; - border-bottom: 0.55px solid #d6d6da; - font-size: 1.3rem; - font-weight: 400; - color: #8f8f8f; -} - -.action-sheet-ios .action-sheet-button { - margin: 0; - padding: 18px; - min-height: 5.6rem; - border-bottom: 0.55px solid #d6d6da; - font-size: 2rem; - color: #007aff; - background: transparent; -} - -.action-sheet-ios .action-sheet-button:last-child { - border-bottom-color: transparent; -} - -.action-sheet-ios .action-sheet-button.activated { - margin-top: -0.55px; - border-top: 0.55px solid #ebebeb; - border-bottom-color: #ebebeb; - background: #ebebeb; -} - -.action-sheet-ios .action-sheet-selected { - font-weight: bold; - background: #fff; -} - -.action-sheet-ios .action-sheet-destructive { - color: #f53d3d; -} - -.action-sheet-ios .action-sheet-cancel { - font-weight: 600; - background: #fff; -} - -.action-sheet-md .action-sheet-title { - text-align: left; - text-align: start; - font-size: 1.6rem; - color: #757575; - padding: 11px 16px 17px; -} - -.action-sheet-md .action-sheet-button { - text-align: left; - text-align: start; - position: relative; - overflow: hidden; - min-height: 4.8rem; - font-size: 1.6rem; - color: #222; - background: transparent; - padding: 0 16px; -} - -.action-sheet-md .action-sheet-button.activated { - background: #f1f1f1; -} - -.action-sheet-md .action-sheet-icon { - padding: 0; - text-align: center; - width: 2.3rem; - font-size: 2.4rem; - vertical-align: middle; - margin: 0 32px 0 0; -} - -.action-sheet-md .action-sheet-group { - background: #fafafa; -} - -.action-sheet-md .action-sheet-group:first-child { - padding-top: 0.8rem; -} - -.action-sheet-md .action-sheet-group:last-child { - padding-bottom: 0.8rem; -} - -.action-sheet-md .action-sheet-group .button-inner { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.action-sheet-md .action-sheet-selected { - font-weight: bold; -} - -.action-sheet-wp .action-sheet-title { - text-align: left; - text-align: start; - font-size: 2rem; - color: #4d4d4d; - padding: 11px 16px 17px; -} - -.action-sheet-wp .action-sheet-button { - text-align: left; - text-align: start; - min-height: 4.8rem; - font-size: 1.5rem; - color: #4d4d4d; - background: transparent; - padding: 0 16px; -} - -.action-sheet-wp .action-sheet-button.activated { - background: #aaa; -} - -.action-sheet-wp .action-sheet-icon { - padding: 0; - text-align: center; - width: 2.3rem; - font-size: 2.4rem; - vertical-align: middle; - margin: 0 20px 0 0; -} - -.action-sheet-wp .action-sheet-group { - background: #fff; -} - -.action-sheet-wp .action-sheet-group:first-child { - padding-top: 0.8rem; - -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} - -.action-sheet-wp .action-sheet-group:last-child { - padding-bottom: 0.8rem; -} - -.action-sheet-wp .action-sheet-group .button-inner { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.action-sheet-wp .action-sheet-selected { - font-weight: bold; -} - -.action-sheet-wp .action-sheet-cancel { - background: transparent; -} - -ion-alert { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1000; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - contain: strict; -} - -ion-alert.alert-top { - padding-top: 50px; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -ion-alert input { - width: 100%; -} - -.alert-wrapper { - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - min-width: 250px; - max-height: 90%; - opacity: 0; - contain: content; -} - -.alert-title { - margin: 0; - padding: 0; -} - -.alert-sub-title { - margin: 5px 0 0; - padding: 0; - font-weight: normal; -} - -.alert-message { - overflow-y: scroll; - -webkit-overflow-scrolling: touch; -} - -.alert-input { - padding: 10px 0; - border: 0; - background: inherit; -} - -.alert-input::-moz-placeholder { - color: #999; -} - -.alert-input:-ms-input-placeholder { - color: #999; -} - -.alert-input::-webkit-input-placeholder { - text-indent: 0; - color: #999; -} - -.alert-button-group { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.alert-button-group-vertical { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.alert-button { - margin: 0; - z-index: 0; - display: block; - font-size: 14px; - line-height: 20px; -} - -.alert-tappable { - text-align: left; - text-align: start; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - margin: 0; - padding: 0; - width: 100%; - font-size: inherit; - line-height: initial; - background: transparent; -} - -.alert-ios .alert-wrapper { - border-radius: 13px; - overflow: hidden; - max-width: 270px; - background-color: #f8f8f8; - -webkit-box-shadow: none; - box-shadow: none; -} - -.alert-ios .alert-head { - text-align: center; - padding: 12px 16px 7px; -} - -.alert-ios .alert-title { - margin-top: 8px; - font-size: 17px; - font-weight: 600; -} - -.alert-ios .alert-sub-title { - font-size: 14px; - color: #666; -} - -.alert-ios .alert-message, -.alert-ios .alert-input-group { - text-align: center; - font-size: 13px; - color: inherit; - padding: 0 16px 21px; -} - -.alert-ios .alert-message { - max-height: 240px; -} - -.alert-ios .alert-message:empty { - padding: 0 0 12px; -} - -.alert-ios .alert-input { - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - margin-top: 10px; - border-radius: 4px; - border: 0.55px solid #ccc; - background-color: #fff; - padding: 6px; -} - -.alert-ios .alert-radio-group, -.alert-ios .alert-checkbox-group { - overflow: scroll; - max-height: 240px; - border-top: 0.55px solid #dbdbdf; - -webkit-overflow-scrolling: touch; -} - -.alert-ios .alert-tappable { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - min-height: 44px; -} - -.alert-ios .alert-radio-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px; -} - -.alert-ios [aria-checked=true] .alert-radio-label { - color: #673AB7; -} - -.alert-ios .alert-radio-icon { - position: relative; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 30px; -} - -.alert-ios [aria-checked=true] .alert-radio-inner { - left: 7px; - top: -7px; - position: absolute; - width: 6px; - height: 12px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #673AB7; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-ios .alert-checkbox-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px; -} - -.alert-ios [aria-checked=true] .alert-checkbox-label { - color: initial; -} - -.alert-ios .alert-checkbox-icon { - border-radius: 50%; - position: relative; - width: 21px; - height: 21px; - border-width: 0.55px; - border-style: solid; - border-color: #c8c7cc; - background-color: #fff; - margin: 10px 6px 10px 16px; -} - -.alert-ios [aria-checked=true] .alert-checkbox-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.alert-ios [aria-checked=true] .alert-checkbox-inner { - left: 7px; - top: 4px; - position: absolute; - width: 4px; - height: 9px; - border-width: 0.55px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-ios .alert-button-group { - margin-right: -0.55px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.alert-ios .alert-button { - margin: 0; - border-radius: 0; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - min-width: 50%; - height: 44px; - border-top: 0.55px solid #dbdbdf; - border-right: 0.55px solid #dbdbdf; - font-size: 17px; - color: #673AB7; - background-color: transparent; -} - -.alert-ios .alert-button:last-child { - border-right: 0; - font-weight: bold; -} - -.alert-ios .alert-button.activated { - background-color: #e9e9e9; -} - -.alert-md .alert-wrapper { - border-radius: 2px; - max-width: 280px; - background-color: #fafafa; - -webkit-box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); - box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); -} - -.alert-md .alert-head { - text-align: left; - text-align: start; - padding: 24px 24px 20px; -} - -.alert-md .alert-title { - font-size: 22px; -} - -.alert-md .alert-sub-title { - font-size: 16px; -} - -.alert-md .alert-message, -.alert-md .alert-input-group { - color: rgba(0, 0, 0, 0.5); - padding: 0 24px 24px; -} - -.alert-md .alert-message { - max-height: 240px; - font-size: 15px; -} - -.alert-md .alert-message:empty { - padding: 0; -} - -.alert-md .alert-input { - margin: 5px 0; - border-bottom: 1px solid #dedede; - color: #000; -} - -.alert-md .alert-input:focus { - margin-bottom: 4px; - border-bottom: 2px solid #673AB7; -} - -.alert-md .alert-radio-group, -.alert-md .alert-checkbox-group { - position: relative; - overflow: auto; - max-height: 240px; - border-top: 1px solid #dedede; - border-bottom: 1px solid #dedede; -} - -.alert-md .alert-tappable { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - min-height: 4.4rem; -} - -.alert-md .alert-radio-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-md .alert-radio-icon { - left: 13px; - top: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; -} - -.alert-md .alert-radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - width: 8px; - height: 8px; - background-color: #673AB7; - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); - -webkit-transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.alert-md [aria-checked=true] .alert-radio-label { - color: #673AB7; -} - -.alert-md [aria-checked=true] .alert-radio-icon { - border-color: #673AB7; -} - -.alert-md [aria-checked=true] .alert-radio-inner { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); -} - -.alert-md .alert-checkbox-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-md [aria-checked=true] .alert-checkbox-label { - color: initial; -} - -.alert-md .alert-checkbox-icon { - left: 13px; - top: 0; - border-radius: 2px; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; -} - -.alert-md [aria-checked=true] .alert-checkbox-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.alert-md [aria-checked=true] .alert-checkbox-inner { - left: 3px; - top: 0; - position: absolute; - width: 6px; - height: 10px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-md .alert-button-group { - -webkit-flex-wrap: wrap-reverse; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - padding: 8px 8px 8px 24px; -} - -.alert-md .alert-button { - text-align: right; - text-align: end; - border-radius: 2px; - position: relative; - overflow: hidden; - font-weight: 500; - text-transform: uppercase; - color: #673AB7; - background-color: transparent; - margin: 0 8px 0 0; - padding: 10px; -} - -.alert-md .alert-button.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.alert-md .alert-button .button-inner { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.alert-wp ion-backdrop { - background: #fff; -} - -.alert-wp .alert-wrapper { - border-radius: 0; - width: 100%; - max-width: 520px; - border: 1px solid #673AB7; - background: #e6e6e6; -} - -.alert-wp .alert-head { - text-align: left; - text-align: start; - padding: 20px 22px 5px; -} - -.alert-wp .alert-title { - font-size: 20px; - font-weight: 400; -} - -.alert-wp .alert-sub-title { - font-size: 16px; -} - -.alert-wp .alert-message, -.alert-wp .alert-input-group { - color: #000; - padding: 0 22px 8px; -} - -.alert-wp .alert-message { - max-height: 240px; - font-size: 13px; -} - -.alert-wp .alert-message:empty { - padding: 0; -} - -.alert-wp .alert-input { - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; - color: #000; - margin: 5px 0; - padding: 0 8px; -} - -.alert-wp .alert-input:focus { - border-color: #673AB7; -} - -.alert-wp .alert-radio-group, -.alert-wp .alert-checkbox-group { - position: relative; - overflow: auto; - max-height: 240px; -} - -.alert-wp .alert-tappable { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - min-height: 4.4rem; -} - -.alert-wp .alert-radio-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-wp .alert-radio-icon { - left: 13px; - top: 0; - margin: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: rgba(0, 0, 0, 0.5); -} - -.alert-wp .alert-radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - display: none; - width: 8px; - height: 8px; - background: #673AB7; -} - -.alert-wp [aria-checked=true] .alert-radio-label { - color: #000; -} - -.alert-wp [aria-checked=true] .alert-radio-icon { - border-color: rgba(0, 0, 0, 0.5); -} - -.alert-wp [aria-checked=true] .alert-radio-inner { - display: block; -} - -.alert-wp .alert-checkbox-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-wp [aria-checked=true] .alert-checkbox-label { - color: initial; -} - -.alert-wp .alert-checkbox-icon { - left: 13px; - top: 0; - border-radius: 0; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: rgba(0, 0, 0, 0.5); - background: transparent; -} - -.alert-wp [aria-checked=true] .alert-checkbox-icon { - border-color: #673AB7; - background: #673AB7; -} - -.alert-wp [aria-checked=true] .alert-checkbox-inner { - left: 3px; - top: -2px; - position: absolute; - width: 6px; - height: 12px; - border-width: 1px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-wp .alert-button-group { - -webkit-flex-wrap: wrap-reverse; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - padding: 20px 22px; -} - -.alert-wp .alert-button-group-vertical .alert-button { - margin-top: 5px; - width: 100%; -} - -.alert-wp .alert-button-group-vertical .alert-button:first-child:not(:only-child) { - margin-right: 0; - margin-top: 0; -} - -.alert-wp .alert-button { - border-radius: 0; - width: 49.5%; - font-weight: 400; - color: #000; - background: #b8b8b8; - padding: 5px; -} - -.alert-wp .alert-button:first-child:not(:only-child) { - margin-right: 1%; -} - -.alert-wp .alert-button.activated { - background: darkgray; -} - -audio, -canvas, -progress, -video { - vertical-align: baseline; -} - -audio:not([controls]) { - display: none; - height: 0; -} - -b, -strong { - font-weight: bold; -} - -img { - max-width: 100%; - border: 0; -} - -svg:not(:root) { - overflow: hidden; -} - -figure { - margin: 1em 40px; -} - -hr { - height: 1px; - border-width: 0; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -pre { - overflow: auto; -} - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} - -label, -input, -select, -textarea { - font-family: inherit; - line-height: normal; -} - -textarea { - overflow: auto; - height: auto; - font: inherit; - color: inherit; -} - -textarea::-webkit-input-placeholder { - padding-left: 2px; -} - -textarea:-ms-input-placeholder { - padding-left: 2px; -} - -textarea::-ms-input-placeholder { - padding-left: 2px; -} - -textarea::placeholder { - padding-left: 2px; -} - -form, -input, -optgroup, -select { - margin: 0; - font: inherit; - color: inherit; -} - -html input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - -webkit-appearance: button; -} - -a, -a div, -a span, -a ion-icon, -a ion-label, -button, -button div, -button span, -button ion-icon, -button ion-label, -[tappable], -[tappable] div, -[tappable] span, -[tappable] ion-icon, -[tappable] ion-label, -input, -textarea { - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -a ion-label, -button ion-label { - pointer-events: none; -} - -button { - border: 0; - font-family: inherit; - font-style: inherit; - font-variant: inherit; - line-height: 1; - text-transform: none; - cursor: pointer; - -webkit-appearance: button; -} - -[tappable] { - cursor: pointer; -} - -a[disabled], -button[disabled], -html input[disabled] { - cursor: default; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} - -input[type="checkbox"], -input[type="radio"] { - padding: 0; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -td, -th { - padding: 0; -} - -.hide, -[hidden], -template { - display: none !important; -} - -.sticky { - position: -webkit-sticky; - position: sticky; - top: 0; -} - -:focus, -:active { - outline: none; -} - -.focus-outline :focus { - outline: thin dotted; - outline-offset: -1px; -} - -.focus-outline button:focus, -.focus-outline [ion-button]:focus { - border-color: #51a7e8; - outline: 2px solid #51a7e8; - -webkit-box-shadow: 0 0 8px 1px #51a7e8; - box-shadow: 0 0 8px 1px #51a7e8; -} - -ion-input :focus { - outline: none; -} - -.click-block { - display: none; -} - -.click-block-enabled { - left: 0; - right: 0; - top: 0; - bottom: 0; - -webkit-transform: translate3d(0, -100%, 0) translateY(1px); - transform: translate3d(0, -100%, 0) translateY(1px); - position: absolute; - z-index: 99999; - display: block; - opacity: 0; - contain: strict; -} - -.click-block-active { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -* { - -webkit-box-sizing: border-box; - box-sizing: border-box; - -webkit-tap-highlight-color: transparent; - -webkit-tap-highlight-color: transparent; - -webkit-touch-callout: none; -} - -html { - width: 100%; - height: 100%; - font-size: 62.5%; - -webkit-text-size-adjust: 100%; - -moz-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - text-size-adjust: 100%; -} - -body { - margin: 0; - padding: 0; - position: fixed; - overflow: hidden; - width: 100%; - max-width: 100%; - height: 100%; - max-height: 100%; - -webkit-font-smoothing: antialiased; - font-smoothing: antialiased; - text-rendering: optimizeLegibility; - -webkit-user-drag: none; - -ms-content-zooming: none; - -ms-touch-action: manipulation; - touch-action: manipulation; - word-wrap: break-word; - -webkit-text-size-adjust: none; - -moz-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -a { - background-color: transparent; -} - -.enable-hover a:hover { - opacity: .7; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 1.6rem; - margin-bottom: 1rem; - font-weight: 500; - line-height: 1.2; -} - -[padding] h1:first-child, -[padding] h2:first-child, -[padding] h3:first-child, -[padding] h4:first-child, -[padding] h5:first-child, -[padding] h6:first-child { - margin-top: -0.3rem; -} - -h1 + h2, -h1 + h3, -h2 + h3 { - margin-top: -0.3rem; -} - -h1 { - margin-top: 2rem; - font-size: 2.6rem; -} - -h2 { - margin-top: 1.8rem; - font-size: 2.4rem; -} - -h3 { - font-size: 2.2rem; -} - -h4 { - font-size: 2rem; -} - -h5 { - font-size: 1.8rem; -} - -h6 { - font-size: 1.6rem; -} - -small { - font-size: 75%; -} - -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sup { - top: -.5em; -} - -sub { - bottom: -.25em; -} - -ion-app, -ion-nav, -ion-tab, -ion-tabs, -.app-root { - left: 0; - top: 0; - position: absolute; - z-index: 0; - display: block; - width: 100%; - height: 100%; -} - -ion-nav, -ion-tab, -ion-tabs { - overflow: hidden; -} - -ion-tab { - display: none; -} - -ion-tab.show-tab { - display: block; -} - -ion-app, -ion-nav, -ion-tab, -ion-tabs, -.app-root, -.ion-page { - contain: strict; -} - -.ion-page { - left: 0; - top: 0; - position: absolute; - display: block; - width: 100%; - height: 100%; - opacity: 0; -} - -.ion-page.show-page { - opacity: 1; -} - -ion-header { - left: 0; - top: 0; - position: absolute; - z-index: 10; - display: block; - width: 100%; -} - -ion-footer { - left: 0; - bottom: 0; - position: absolute; - z-index: 10; - display: block; - width: 100%; -} - -[app-viewport], -[overlay-portal], -[nav-viewport], -[tab-portal], -.nav-decor { - display: none; -} - -[text-center] { - text-align: center !important; -} - -[text-justify] { - text-align: justify !important; -} - -[text-start] { - text-align: left; - text-align: start !important; -} - -[text-end] { - text-align: right; - text-align: end !important; -} - -[text-left] { - text-align: left !important; -} - -[text-right] { - text-align: right !important; -} - -[text-nowrap] { - white-space: nowrap !important; -} - -[text-wrap] { - white-space: normal !important; -} - -@media (min-width: 576px) { - [text-sm-center] { - text-align: center !important; - } - [text-sm-justify] { - text-align: justify !important; - } - [text-sm-start] { - text-align: left; - text-align: start !important; - } - [text-sm-end] { - text-align: right; - text-align: end !important; - } - [text-sm-left] { - text-align: left !important; - } - [text-sm-right] { - text-align: right !important; - } - [text-sm-nowrap] { - white-space: nowrap !important; - } - [text-sm-wrap] { - white-space: normal !important; - } -} - -@media (min-width: 768px) { - [text-md-center] { - text-align: center !important; - } - [text-md-justify] { - text-align: justify !important; - } - [text-md-start] { - text-align: left; - text-align: start !important; - } - [text-md-end] { - text-align: right; - text-align: end !important; - } - [text-md-left] { - text-align: left !important; - } - [text-md-right] { - text-align: right !important; - } - [text-md-nowrap] { - white-space: nowrap !important; - } - [text-md-wrap] { - white-space: normal !important; - } -} - -@media (min-width: 992px) { - [text-lg-center] { - text-align: center !important; - } - [text-lg-justify] { - text-align: justify !important; - } - [text-lg-start] { - text-align: left; - text-align: start !important; - } - [text-lg-end] { - text-align: right; - text-align: end !important; - } - [text-lg-left] { - text-align: left !important; - } - [text-lg-right] { - text-align: right !important; - } - [text-lg-nowrap] { - white-space: nowrap !important; - } - [text-lg-wrap] { - white-space: normal !important; - } -} - -@media (min-width: 1200px) { - [text-xl-center] { - text-align: center !important; - } - [text-xl-justify] { - text-align: justify !important; - } - [text-xl-start] { - text-align: left; - text-align: start !important; - } - [text-xl-end] { - text-align: right; - text-align: end !important; - } - [text-xl-left] { - text-align: left !important; - } - [text-xl-right] { - text-align: right !important; - } - [text-xl-nowrap] { - white-space: nowrap !important; - } - [text-xl-wrap] { - white-space: normal !important; - } -} - -[text-uppercase] { - text-transform: uppercase !important; -} - -[text-lowercase] { - text-transform: lowercase !important; -} - -[text-capitalize] { - text-transform: capitalize !important; -} - -@media (min-width: 576px) { - [text-sm-uppercase] { - text-transform: uppercase !important; - } - [text-sm-lowercase] { - text-transform: lowercase !important; - } - [text-sm-capitalize] { - text-transform: capitalize !important; - } -} - -@media (min-width: 768px) { - [text-md-uppercase] { - text-transform: uppercase !important; - } - [text-md-lowercase] { - text-transform: lowercase !important; - } - [text-md-capitalize] { - text-transform: capitalize !important; - } -} - -@media (min-width: 992px) { - [text-lg-uppercase] { - text-transform: uppercase !important; - } - [text-lg-lowercase] { - text-transform: lowercase !important; - } - [text-lg-capitalize] { - text-transform: capitalize !important; - } -} - -@media (min-width: 1200px) { - [text-xl-uppercase] { - text-transform: uppercase !important; - } - [text-xl-lowercase] { - text-transform: lowercase !important; - } - [text-xl-capitalize] { - text-transform: capitalize !important; - } -} - -[float-left] { - float: left !important; -} - -[float-right] { - float: right !important; -} - -[float-start] { - float: left !important; -} - -[float-end] { - float: right !important; -} - -@media (min-width: 576px) { - [float-sm-left] { - float: left !important; - } - [float-sm-right] { - float: right !important; - } - [float-sm-start] { - float: left !important; - } - [float-sm-end] { - float: right !important; - } -} - -@media (min-width: 768px) { - [float-md-left] { - float: left !important; - } - [float-md-right] { - float: right !important; - } - [float-md-start] { - float: left !important; - } - [float-md-end] { - float: right !important; - } -} - -@media (min-width: 992px) { - [float-lg-left] { - float: left !important; - } - [float-lg-right] { - float: right !important; - } - [float-lg-start] { - float: left !important; - } - [float-lg-end] { - float: right !important; - } -} - -@media (min-width: 1200px) { - [float-xl-left] { - float: left !important; - } - [float-xl-right] { - float: right !important; - } - [float-xl-start] { - float: left !important; - } - [float-xl-end] { - float: right !important; - } -} - -ion-app.ios { - font-family: -apple-system, "Helvetica Neue", "Roboto", sans-serif; - font-size: 1.4rem; - background-color: #fff; -} - -ion-app.md { - font-family: "Roboto", "Helvetica Neue", sans-serif; - font-size: 1.4rem; - background-color: #fff; -} - -ion-app.wp { - font-family: "Segoe UI", "Noto Sans", sans-serif; - font-size: 1.4rem; - background-color: #fff; -} - -ion-backdrop { - left: 0; - top: 0; - position: absolute; - z-index: 2; - display: block; - width: 100%; - height: 100%; - background-color: #000; - opacity: .01; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-backdrop.backdrop-no-tappable { - cursor: auto; -} - -ion-badge { - padding: 3px 8px; - text-align: center; - display: inline-block; - min-width: 10px; - font-size: 1.3rem; - font-weight: bold; - line-height: 1; - white-space: nowrap; - vertical-align: baseline; -} - -ion-badge:empty { - display: none; -} - -.badge-ios { - border-radius: 10px; - color: #fff; - background-color: #673AB7; -} - -.badge-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.badge-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.badge-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.badge-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.badge-ios-dark { - color: #fff; - background-color: #222; -} - -.badge-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.badge-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.badge-ios-green { - color: #fff; - background-color: #1dc764; -} - -.badge-md { - border-radius: 4px; - color: #fff; - background-color: #673AB7; -} - -.badge-md-primary { - color: #fff; - background-color: #673AB7; -} - -.badge-md-secondary { - color: #fff; - background-color: #32db64; -} - -.badge-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.badge-md-light { - color: #000; - background-color: #f4f4f4; -} - -.badge-md-dark { - color: #fff; - background-color: #222; -} - -.badge-md-optblue { - color: #fff; - background-color: #E00201; -} - -.badge-md-gray { - color: #000; - background-color: #dad8d8; -} - -.badge-md-green { - color: #fff; - background-color: #1dc764; -} - -.badge-wp { - border-radius: 0; - color: #fff; - background-color: #673AB7; -} - -.badge-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.badge-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.badge-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.badge-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.badge-wp-dark { - color: #fff; - background-color: #222; -} - -.badge-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.badge-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.badge-wp-green { - color: #fff; - background-color: #1dc764; -} - -.button { - text-align: center; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - position: relative; - z-index: 0; - display: inline-block; - text-overflow: ellipsis; - text-transform: none; - white-space: nowrap; - cursor: pointer; - vertical-align: top; - vertical-align: -webkit-baseline-middle; - -webkit-transition: background-color, opacity 100ms linear; - transition: background-color, opacity 100ms linear; - -webkit-font-kerning: none; - font-kerning: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - contain: content; -} - -.button-inner { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-flow: row nowrap; - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} - -[ion-button] { - text-decoration: none; -} - -a[disabled], -button[disabled], -[ion-button][disabled] { - cursor: default; - opacity: .4; - pointer-events: none; -} - -.button-block { - display: block; - clear: both; - width: 100%; - contain: strict; -} - -.button-block::after { - clear: both; -} - -.button-full { - display: block; - width: 100%; - contain: strict; -} - -.button-full.button-outline { - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -[icon-left] ion-icon, -[icon-start] ion-icon { - font-size: 1.4em; - line-height: .67; - pointer-events: none; - padding-right: 0.3em; -} - -[icon-right] ion-icon, -[icon-end] ion-icon { - font-size: 1.4em; - line-height: .67; - pointer-events: none; - padding-left: 0.4em; -} - -.button[icon-only] { - padding: 0; - min-width: .9em; -} - -[icon-only] ion-icon { - padding: 0 0.5em; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.button-ios { - border-radius: 4px; - height: 2.8em; - font-size: 1.6rem; - color: #fff; - background-color: #673AB7; - margin: 0.4rem 0.2rem; - padding: 0 1em; -} - -.button-ios.activated { - background-color: #734abd; - opacity: 1; -} - -.button-ios:hover:not(.disable-hover) { - opacity: 0.8; -} - -.button-large-ios { - height: 2.8em; - font-size: 2rem; - padding: 0 1em; -} - -.button-small-ios { - height: 2.1em; - font-size: 1.3rem; - padding: 0 0.9em; -} - -.button-small-ios[icon-only] ion-icon { - font-size: 1.3em; -} - -.button-block-ios { - margin-left: 0; - margin-right: 0; -} - -.button-full-ios { - margin-left: 0; - margin-right: 0; - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -.button-outline-ios { - border-radius: 4px; - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.button-outline-ios.activated { - color: #fff; - background-color: #673AB7; - opacity: 1; -} - -.button-clear-ios { - border-color: transparent; - color: #673AB7; - background-color: transparent; -} - -.button-clear-ios.activated { - background-color: transparent; - opacity: 0.4; -} - -.button-clear-ios:hover:not(.disable-hover) { - color: #673AB7; - opacity: 0.6; -} - -.button-round-ios { - border-radius: 64px; - padding: 0 2.6rem; -} - -.button-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.button-ios-primary.activated { - background-color: #734abd; -} - -.button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.button-clear-ios-primary { - border-color: transparent; - color: #673AB7; - background-color: transparent; -} - -.button-clear-ios-primary.activated { - opacity: 0.4; -} - -.button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.button-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.button-ios-secondary.activated { - background-color: #2ec95c; -} - -.button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.button-clear-ios-secondary { - border-color: transparent; - color: #32db64; - background-color: transparent; -} - -.button-clear-ios-secondary.activated { - opacity: 0.4; -} - -.button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.button-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.button-ios-danger.activated { - background-color: #e13838; -} - -.button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.button-clear-ios-danger { - border-color: transparent; - color: #f53d3d; - background-color: transparent; -} - -.button-clear-ios-danger.activated { - opacity: 0.4; -} - -.button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.button-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.button-ios-light.activated { - background-color: #e0e0e0; -} - -.button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.button-clear-ios-light { - border-color: transparent; - color: #f4f4f4; - background-color: transparent; -} - -.button-clear-ios-light.activated { - opacity: 0.4; -} - -.button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.button-ios-dark { - color: #fff; - background-color: #222; -} - -.button-ios-dark.activated { - background-color: #343434; -} - -.button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.button-clear-ios-dark { - border-color: transparent; - color: #222; - background-color: transparent; -} - -.button-clear-ios-dark.activated { - opacity: 0.4; -} - -.button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.button-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.button-ios-optblue.activated { - background-color: #e21615; -} - -.button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.button-clear-ios-optblue { - border-color: transparent; - color: #E00201; - background-color: transparent; -} - -.button-clear-ios-optblue.activated { - opacity: 0.4; -} - -.button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.button-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.button-ios-gray.activated { - background-color: #c9c7c7; -} - -.button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.button-clear-ios-gray { - border-color: transparent; - color: #dad8d8; - background-color: transparent; -} - -.button-clear-ios-gray.activated { - opacity: 0.4; -} - -.button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.button-ios-green { - color: #fff; - background-color: #1dc764; -} - -.button-ios-green.activated { - background-color: #2fcb70; -} - -.button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.button-clear-ios-green { - border-color: transparent; - color: #1dc764; - background-color: transparent; -} - -.button-clear-ios-green.activated { - opacity: 0.4; -} - -.button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.button-strong-ios { - font-weight: 600; -} - -.button-md { - border-radius: 2px; - overflow: hidden; - height: 3.6rem; - font-size: 1.4rem; - font-weight: 500; - text-transform: uppercase; - color: #fff; - background-color: #673AB7; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - margin: 0.4rem 0.2rem; - padding: 0 1.1em; -} - -.button-md:hover:not(.disable-hover) { - background-color: #673AB7; -} - -.button-md.activated { - background-color: #734abd; - -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 3px 5px rgba(0, 0, 0, 0.21), 0 0 0 0 transparent; - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 3px 5px rgba(0, 0, 0, 0.21), 0 0 0 0 transparent; -} - -.button-md .button-effect { - background-color: #fff; -} - -.button-large-md { - height: 2.8em; - font-size: 2rem; - padding: 0 1em; -} - -.button-small-md { - height: 2.1em; - font-size: 1.3rem; - padding: 0 0.9em; -} - -.button-small-md[icon-only] ion-icon { - font-size: 1.4em; -} - -.button-block-md { - margin-left: 0; - margin-right: 0; -} - -.button-full-md { - margin-left: 0; - margin-right: 0; - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -.button-outline-md { - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-outline-md:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md.activated { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; - opacity: 1; -} - -.button-outline-md .button-effect { - background-color: #673AB7; -} - -.button-clear-md { - border-color: transparent; - color: #673AB7; - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; - opacity: 1; -} - -.button-clear-md.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-clear-md .button-effect { - background-color: #999; -} - -.button-round-md { - border-radius: 64px; - padding: 0 2.6rem; -} - -.button-md [icon-only] { - padding: 0; -} - -.button-effect { - border-radius: 50%; - -webkit-transform-origin: center center; - transform-origin: center center; - position: absolute; - z-index: 0; - display: none; - background-color: #555; - opacity: .2; - -webkit-transition-timing-function: ease-in-out; - transition-timing-function: ease-in-out; - pointer-events: none; - top: 0; - left: 0; -} - -.md button .button-effect { - display: block; -} - -.button-md-primary { - color: #fff; - background-color: #673AB7; -} - -.button-md-primary:hover:not(.disable-hover) { - background-color: #673AB7; -} - -.button-md-primary.activated { - background-color: #734abd; - opacity: 1; -} - -.button-md-primary .button-effect { - background-color: #fff; -} - -.button-outline-md-primary { - border-color: #6f44bb; - color: #6f44bb; - background-color: transparent; -} - -.button-outline-md-primary:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-primary.activated { - background-color: transparent; -} - -.button-outline-md-primary .button-effect { - background-color: #6f44bb; -} - -.button-clear-md-primary { - border-color: transparent; - color: #673AB7; - background-color: transparent; -} - -.button-clear-md-primary.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.button-md-secondary { - color: #fff; - background-color: #32db64; -} - -.button-md-secondary:hover:not(.disable-hover) { - background-color: #32db64; -} - -.button-md-secondary.activated { - background-color: #2ec95c; - opacity: 1; -} - -.button-md-secondary .button-effect { - background-color: #fff; -} - -.button-outline-md-secondary { - border-color: #30d05f; - color: #30d05f; - background-color: transparent; -} - -.button-outline-md-secondary:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-secondary.activated { - background-color: transparent; -} - -.button-outline-md-secondary .button-effect { - background-color: #30d05f; -} - -.button-clear-md-secondary { - border-color: transparent; - color: #32db64; - background-color: transparent; -} - -.button-clear-md-secondary.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.button-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.button-md-danger:hover:not(.disable-hover) { - background-color: #f53d3d; -} - -.button-md-danger.activated { - background-color: #e13838; - opacity: 1; -} - -.button-md-danger .button-effect { - background-color: #fff; -} - -.button-outline-md-danger { - border-color: #e93a3a; - color: #e93a3a; - background-color: transparent; -} - -.button-outline-md-danger:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-danger.activated { - background-color: transparent; -} - -.button-outline-md-danger .button-effect { - background-color: #e93a3a; -} - -.button-clear-md-danger { - border-color: transparent; - color: #f53d3d; - background-color: transparent; -} - -.button-clear-md-danger.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.button-md-light { - color: #000; - background-color: #f4f4f4; -} - -.button-md-light:hover:not(.disable-hover) { - background-color: #f4f4f4; -} - -.button-md-light.activated { - background-color: #e0e0e0; - opacity: 1; -} - -.button-md-light .button-effect { - background-color: #000; -} - -.button-outline-md-light { - border-color: #e8e8e8; - color: #e8e8e8; - background-color: transparent; -} - -.button-outline-md-light:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-light.activated { - background-color: transparent; -} - -.button-outline-md-light .button-effect { - background-color: #e8e8e8; -} - -.button-clear-md-light { - border-color: transparent; - color: #f4f4f4; - background-color: transparent; -} - -.button-clear-md-light.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.button-md-dark { - color: #fff; - background-color: #222; -} - -.button-md-dark:hover:not(.disable-hover) { - background-color: #222; -} - -.button-md-dark.activated { - background-color: #343434; - opacity: 1; -} - -.button-md-dark .button-effect { - background-color: #fff; -} - -.button-outline-md-dark { - border-color: #2d2d2d; - color: #2d2d2d; - background-color: transparent; -} - -.button-outline-md-dark:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-dark.activated { - background-color: transparent; -} - -.button-outline-md-dark .button-effect { - background-color: #2d2d2d; -} - -.button-clear-md-dark { - border-color: transparent; - color: #222; - background-color: transparent; -} - -.button-clear-md-dark.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.button-md-optblue { - color: #fff; - background-color: #E00201; -} - -.button-md-optblue:hover:not(.disable-hover) { - background-color: #E00201; -} - -.button-md-optblue.activated { - background-color: #e21615; - opacity: 1; -} - -.button-md-optblue .button-effect { - background-color: #fff; -} - -.button-outline-md-optblue { - border-color: #e20f0e; - color: #e20f0e; - background-color: transparent; -} - -.button-outline-md-optblue:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-optblue.activated { - background-color: transparent; -} - -.button-outline-md-optblue .button-effect { - background-color: #e20f0e; -} - -.button-clear-md-optblue { - border-color: transparent; - color: #E00201; - background-color: transparent; -} - -.button-clear-md-optblue.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.button-md-gray { - color: #000; - background-color: #dad8d8; -} - -.button-md-gray:hover:not(.disable-hover) { - background-color: #dad8d8; -} - -.button-md-gray.activated { - background-color: #c9c7c7; - opacity: 1; -} - -.button-md-gray .button-effect { - background-color: #000; -} - -.button-outline-md-gray { - border-color: #cfcdcd; - color: #cfcdcd; - background-color: transparent; -} - -.button-outline-md-gray:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-gray.activated { - background-color: transparent; -} - -.button-outline-md-gray .button-effect { - background-color: #cfcdcd; -} - -.button-clear-md-gray { - border-color: transparent; - color: #dad8d8; - background-color: transparent; -} - -.button-clear-md-gray.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.button-md-green { - color: #fff; - background-color: #1dc764; -} - -.button-md-green:hover:not(.disable-hover) { - background-color: #1dc764; -} - -.button-md-green.activated { - background-color: #2fcb70; - opacity: 1; -} - -.button-md-green .button-effect { - background-color: #fff; -} - -.button-outline-md-green { - border-color: #28ca6c; - color: #28ca6c; - background-color: transparent; -} - -.button-outline-md-green:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-green.activated { - background-color: transparent; -} - -.button-outline-md-green .button-effect { - background-color: #28ca6c; -} - -.button-clear-md-green { - border-color: transparent; - color: #1dc764; - background-color: transparent; -} - -.button-clear-md-green.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.button-strong-md { - font-weight: bold; -} - -.button-wp { - border-radius: 0; - height: 3.6rem; - border: 3px solid transparent; - font-size: 1.4rem; - color: #fff; - background-color: #673AB7; - margin: 0.4rem 0.2rem; - padding: 0 1.1em; -} - -.button-wp:hover:not(.disable-hover) { - border-color: #734abd; - background-color: #673AB7; -} - -.button-wp.activated { - background-color: #734abd; -} - -.button-large-wp { - height: 2.8em; - font-size: 2rem; - padding: 0 1em; -} - -.button-small-wp { - height: 2.1em; - font-size: 1.3rem; - padding: 0 0.9em; -} - -.button-small-wp[icon-only] ion-icon { - font-size: 1.4em; -} - -.button-block-wp { - margin-left: 0; - margin-right: 0; -} - -.button-full-wp { - margin-left: 0; - margin-right: 0; - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -.button-outline-wp { - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.button-outline-wp:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp.activated { - background-color: rgba(103, 58, 183, 0.16); -} - -.button-clear-wp { - color: #673AB7; - background-color: transparent; -} - -.button-clear-wp.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-round-wp { - border-radius: 64px; - padding: 0 2.6rem; -} - -.button-wp [icon-only] { - padding: 0; -} - -.button-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.button-wp-primary:hover:not(.disable-hover) { - border-color: #734abd; - background-color: #673AB7; -} - -.button-wp-primary.activated { - background-color: #734abd; -} - -.button-outline-wp-primary { - border-color: #6f44bb; - color: #6f44bb; - background-color: transparent; -} - -.button-outline-wp-primary:hover:not(.disable-hover) { - border-color: #6f44bb; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-primary.activated { - background-color: rgba(111, 68, 187, 0.16); -} - -.button-clear-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.button-clear-wp-primary.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.button-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.button-wp-secondary:hover:not(.disable-hover) { - border-color: #2ec95c; - background-color: #32db64; -} - -.button-wp-secondary.activated { - background-color: #2ec95c; -} - -.button-outline-wp-secondary { - border-color: #30d05f; - color: #30d05f; - background-color: transparent; -} - -.button-outline-wp-secondary:hover:not(.disable-hover) { - border-color: #30d05f; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-secondary.activated { - background-color: rgba(48, 208, 95, 0.16); -} - -.button-clear-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.button-clear-wp-secondary.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.button-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.button-wp-danger:hover:not(.disable-hover) { - border-color: #e13838; - background-color: #f53d3d; -} - -.button-wp-danger.activated { - background-color: #e13838; -} - -.button-outline-wp-danger { - border-color: #e93a3a; - color: #e93a3a; - background-color: transparent; -} - -.button-outline-wp-danger:hover:not(.disable-hover) { - border-color: #e93a3a; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-danger.activated { - background-color: rgba(233, 58, 58, 0.16); -} - -.button-clear-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.button-clear-wp-danger.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.button-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.button-wp-light:hover:not(.disable-hover) { - border-color: #e0e0e0; - background-color: #f4f4f4; -} - -.button-wp-light.activated { - background-color: #e0e0e0; -} - -.button-outline-wp-light { - border-color: #e8e8e8; - color: #e8e8e8; - background-color: transparent; -} - -.button-outline-wp-light:hover:not(.disable-hover) { - border-color: #e8e8e8; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-light.activated { - background-color: rgba(232, 232, 232, 0.16); -} - -.button-clear-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.button-clear-wp-light.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.button-wp-dark { - color: #fff; - background-color: #222; -} - -.button-wp-dark:hover:not(.disable-hover) { - border-color: #343434; - background-color: #222; -} - -.button-wp-dark.activated { - background-color: #343434; -} - -.button-outline-wp-dark { - border-color: #2d2d2d; - color: #2d2d2d; - background-color: transparent; -} - -.button-outline-wp-dark:hover:not(.disable-hover) { - border-color: #2d2d2d; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-dark.activated { - background-color: rgba(45, 45, 45, 0.16); -} - -.button-clear-wp-dark { - color: #222; - background-color: transparent; -} - -.button-clear-wp-dark.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.button-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.button-wp-optblue:hover:not(.disable-hover) { - border-color: #e21615; - background-color: #E00201; -} - -.button-wp-optblue.activated { - background-color: #e21615; -} - -.button-outline-wp-optblue { - border-color: #e20f0e; - color: #e20f0e; - background-color: transparent; -} - -.button-outline-wp-optblue:hover:not(.disable-hover) { - border-color: #e20f0e; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-optblue.activated { - background-color: rgba(226, 15, 14, 0.16); -} - -.button-clear-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.button-clear-wp-optblue.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.button-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.button-wp-gray:hover:not(.disable-hover) { - border-color: #c9c7c7; - background-color: #dad8d8; -} - -.button-wp-gray.activated { - background-color: #c9c7c7; -} - -.button-outline-wp-gray { - border-color: #cfcdcd; - color: #cfcdcd; - background-color: transparent; -} - -.button-outline-wp-gray:hover:not(.disable-hover) { - border-color: #cfcdcd; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-gray.activated { - background-color: rgba(207, 205, 205, 0.16); -} - -.button-clear-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.button-clear-wp-gray.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.button-wp-green { - color: #fff; - background-color: #1dc764; -} - -.button-wp-green:hover:not(.disable-hover) { - border-color: #2fcb70; - background-color: #1dc764; -} - -.button-wp-green.activated { - background-color: #2fcb70; -} - -.button-outline-wp-green { - border-color: #28ca6c; - color: #28ca6c; - background-color: transparent; -} - -.button-outline-wp-green:hover:not(.disable-hover) { - border-color: #28ca6c; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-green.activated { - background-color: rgba(40, 202, 108, 0.16); -} - -.button-clear-wp-green { - color: #1dc764; - background-color: transparent; -} - -.button-clear-wp-green.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.button-strong-wp { - font-weight: bold; -} - -ion-card { - display: block; - overflow: hidden; -} - -ion-card img { - display: block; - width: 100%; -} - -ion-card-header { - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -ion-card-content { - display: block; -} - -.card-ios { - margin: 12px; - border-radius: 2px; - width: calc(100% - 24px); - font-size: 1.4rem; - background: #fff; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); -} - -.card-ios ion-list { - margin-bottom: 0; -} - -.card-ios > .item:last-child, -.card-ios > .item:last-child .item-inner, -.card-ios > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.card-ios .item-ios.item-block .item-inner { - border: 0; -} - -.card-content-ios { - padding: 13px 16px 14px; - font-size: 1.4rem; - line-height: 1.4; -} - -.card-header-ios { - font-size: 1.6rem; - font-weight: 500; - color: #333; - padding: 16px; -} - -.card-header-ios + .card-content-ios, -.card-ios .item + .card-content-ios { - padding-top: 0; -} - -.card .note-ios { - font-size: 1.3rem; -} - -.card-title-ios { - display: block; - font-size: 1.8rem; - line-height: 1.2; - color: #222; - margin: 2px 0; - padding: 8px 0; -} - -.card-ios h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.card-ios h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; -} - -.card-ios h3, -.card-ios h4, -.card-ios h5, -.card-ios h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; -} - -.card-ios p { - margin: 0 0 2px; - font-size: 1.4rem; - color: #666; -} - -.card-ios + ion-card { - margin-top: 0; -} - -.card-ios .text-ios-primary { - color: #673AB7; -} - -.card-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.card-ios-primary .card-header-ios, -.card-ios-primary .card-title-ios, -.card-ios-primary .card-content-ios, -.card-ios-primary p { - color: #fff; -} - -.card-ios-primary .text-ios-primary, -.card-ios-primary .card-header-ios-primary, -.card-ios-primary .card-title-ios-primary, -.card-ios-primary .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-primary .text-ios-secondary, -.card-ios-primary .card-header-ios-secondary, -.card-ios-primary .card-title-ios-secondary, -.card-ios-primary .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-primary .text-ios-danger, -.card-ios-primary .card-header-ios-danger, -.card-ios-primary .card-title-ios-danger, -.card-ios-primary .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-primary .text-ios-light, -.card-ios-primary .card-header-ios-light, -.card-ios-primary .card-title-ios-light, -.card-ios-primary .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-primary .text-ios-dark, -.card-ios-primary .card-header-ios-dark, -.card-ios-primary .card-title-ios-dark, -.card-ios-primary .card-content-ios-dark { - color: #222; -} - -.card-ios-primary .text-ios-optblue, -.card-ios-primary .card-header-ios-optblue, -.card-ios-primary .card-title-ios-optblue, -.card-ios-primary .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-primary .text-ios-gray, -.card-ios-primary .card-header-ios-gray, -.card-ios-primary .card-title-ios-gray, -.card-ios-primary .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-primary .text-ios-green, -.card-ios-primary .card-header-ios-green, -.card-ios-primary .card-title-ios-green, -.card-ios-primary .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-primary, -.card-title-ios-primary, -.card-content-ios-primary { - color: #673AB7; -} - -.card-ios .text-ios-secondary { - color: #32db64; -} - -.card-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.card-ios-secondary .card-header-ios, -.card-ios-secondary .card-title-ios, -.card-ios-secondary .card-content-ios, -.card-ios-secondary p { - color: #fff; -} - -.card-ios-secondary .text-ios-primary, -.card-ios-secondary .card-header-ios-primary, -.card-ios-secondary .card-title-ios-primary, -.card-ios-secondary .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-secondary .text-ios-secondary, -.card-ios-secondary .card-header-ios-secondary, -.card-ios-secondary .card-title-ios-secondary, -.card-ios-secondary .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-secondary .text-ios-danger, -.card-ios-secondary .card-header-ios-danger, -.card-ios-secondary .card-title-ios-danger, -.card-ios-secondary .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-secondary .text-ios-light, -.card-ios-secondary .card-header-ios-light, -.card-ios-secondary .card-title-ios-light, -.card-ios-secondary .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-secondary .text-ios-dark, -.card-ios-secondary .card-header-ios-dark, -.card-ios-secondary .card-title-ios-dark, -.card-ios-secondary .card-content-ios-dark { - color: #222; -} - -.card-ios-secondary .text-ios-optblue, -.card-ios-secondary .card-header-ios-optblue, -.card-ios-secondary .card-title-ios-optblue, -.card-ios-secondary .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-secondary .text-ios-gray, -.card-ios-secondary .card-header-ios-gray, -.card-ios-secondary .card-title-ios-gray, -.card-ios-secondary .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-secondary .text-ios-green, -.card-ios-secondary .card-header-ios-green, -.card-ios-secondary .card-title-ios-green, -.card-ios-secondary .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-secondary, -.card-title-ios-secondary, -.card-content-ios-secondary { - color: #32db64; -} - -.card-ios .text-ios-danger { - color: #f53d3d; -} - -.card-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.card-ios-danger .card-header-ios, -.card-ios-danger .card-title-ios, -.card-ios-danger .card-content-ios, -.card-ios-danger p { - color: #fff; -} - -.card-ios-danger .text-ios-primary, -.card-ios-danger .card-header-ios-primary, -.card-ios-danger .card-title-ios-primary, -.card-ios-danger .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-danger .text-ios-secondary, -.card-ios-danger .card-header-ios-secondary, -.card-ios-danger .card-title-ios-secondary, -.card-ios-danger .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-danger .text-ios-danger, -.card-ios-danger .card-header-ios-danger, -.card-ios-danger .card-title-ios-danger, -.card-ios-danger .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-danger .text-ios-light, -.card-ios-danger .card-header-ios-light, -.card-ios-danger .card-title-ios-light, -.card-ios-danger .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-danger .text-ios-dark, -.card-ios-danger .card-header-ios-dark, -.card-ios-danger .card-title-ios-dark, -.card-ios-danger .card-content-ios-dark { - color: #222; -} - -.card-ios-danger .text-ios-optblue, -.card-ios-danger .card-header-ios-optblue, -.card-ios-danger .card-title-ios-optblue, -.card-ios-danger .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-danger .text-ios-gray, -.card-ios-danger .card-header-ios-gray, -.card-ios-danger .card-title-ios-gray, -.card-ios-danger .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-danger .text-ios-green, -.card-ios-danger .card-header-ios-green, -.card-ios-danger .card-title-ios-green, -.card-ios-danger .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-danger, -.card-title-ios-danger, -.card-content-ios-danger { - color: #f53d3d; -} - -.card-ios .text-ios-light { - color: #f4f4f4; -} - -.card-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.card-ios-light .card-header-ios, -.card-ios-light .card-title-ios, -.card-ios-light .card-content-ios, -.card-ios-light p { - color: #000; -} - -.card-ios-light .text-ios-primary, -.card-ios-light .card-header-ios-primary, -.card-ios-light .card-title-ios-primary, -.card-ios-light .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-light .text-ios-secondary, -.card-ios-light .card-header-ios-secondary, -.card-ios-light .card-title-ios-secondary, -.card-ios-light .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-light .text-ios-danger, -.card-ios-light .card-header-ios-danger, -.card-ios-light .card-title-ios-danger, -.card-ios-light .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-light .text-ios-light, -.card-ios-light .card-header-ios-light, -.card-ios-light .card-title-ios-light, -.card-ios-light .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-light .text-ios-dark, -.card-ios-light .card-header-ios-dark, -.card-ios-light .card-title-ios-dark, -.card-ios-light .card-content-ios-dark { - color: #222; -} - -.card-ios-light .text-ios-optblue, -.card-ios-light .card-header-ios-optblue, -.card-ios-light .card-title-ios-optblue, -.card-ios-light .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-light .text-ios-gray, -.card-ios-light .card-header-ios-gray, -.card-ios-light .card-title-ios-gray, -.card-ios-light .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-light .text-ios-green, -.card-ios-light .card-header-ios-green, -.card-ios-light .card-title-ios-green, -.card-ios-light .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-light, -.card-title-ios-light, -.card-content-ios-light { - color: #f4f4f4; -} - -.card-ios .text-ios-dark { - color: #222; -} - -.card-ios-dark { - color: #fff; - background-color: #222; -} - -.card-ios-dark .card-header-ios, -.card-ios-dark .card-title-ios, -.card-ios-dark .card-content-ios, -.card-ios-dark p { - color: #fff; -} - -.card-ios-dark .text-ios-primary, -.card-ios-dark .card-header-ios-primary, -.card-ios-dark .card-title-ios-primary, -.card-ios-dark .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-dark .text-ios-secondary, -.card-ios-dark .card-header-ios-secondary, -.card-ios-dark .card-title-ios-secondary, -.card-ios-dark .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-dark .text-ios-danger, -.card-ios-dark .card-header-ios-danger, -.card-ios-dark .card-title-ios-danger, -.card-ios-dark .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-dark .text-ios-light, -.card-ios-dark .card-header-ios-light, -.card-ios-dark .card-title-ios-light, -.card-ios-dark .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-dark .text-ios-dark, -.card-ios-dark .card-header-ios-dark, -.card-ios-dark .card-title-ios-dark, -.card-ios-dark .card-content-ios-dark { - color: #222; -} - -.card-ios-dark .text-ios-optblue, -.card-ios-dark .card-header-ios-optblue, -.card-ios-dark .card-title-ios-optblue, -.card-ios-dark .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-dark .text-ios-gray, -.card-ios-dark .card-header-ios-gray, -.card-ios-dark .card-title-ios-gray, -.card-ios-dark .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-dark .text-ios-green, -.card-ios-dark .card-header-ios-green, -.card-ios-dark .card-title-ios-green, -.card-ios-dark .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-dark, -.card-title-ios-dark, -.card-content-ios-dark { - color: #222; -} - -.card-ios .text-ios-optblue { - color: #E00201; -} - -.card-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.card-ios-optblue .card-header-ios, -.card-ios-optblue .card-title-ios, -.card-ios-optblue .card-content-ios, -.card-ios-optblue p { - color: #fff; -} - -.card-ios-optblue .text-ios-primary, -.card-ios-optblue .card-header-ios-primary, -.card-ios-optblue .card-title-ios-primary, -.card-ios-optblue .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-optblue .text-ios-secondary, -.card-ios-optblue .card-header-ios-secondary, -.card-ios-optblue .card-title-ios-secondary, -.card-ios-optblue .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-optblue .text-ios-danger, -.card-ios-optblue .card-header-ios-danger, -.card-ios-optblue .card-title-ios-danger, -.card-ios-optblue .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-optblue .text-ios-light, -.card-ios-optblue .card-header-ios-light, -.card-ios-optblue .card-title-ios-light, -.card-ios-optblue .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-optblue .text-ios-dark, -.card-ios-optblue .card-header-ios-dark, -.card-ios-optblue .card-title-ios-dark, -.card-ios-optblue .card-content-ios-dark { - color: #222; -} - -.card-ios-optblue .text-ios-optblue, -.card-ios-optblue .card-header-ios-optblue, -.card-ios-optblue .card-title-ios-optblue, -.card-ios-optblue .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-optblue .text-ios-gray, -.card-ios-optblue .card-header-ios-gray, -.card-ios-optblue .card-title-ios-gray, -.card-ios-optblue .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-optblue .text-ios-green, -.card-ios-optblue .card-header-ios-green, -.card-ios-optblue .card-title-ios-green, -.card-ios-optblue .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-optblue, -.card-title-ios-optblue, -.card-content-ios-optblue { - color: #E00201; -} - -.card-ios .text-ios-gray { - color: #dad8d8; -} - -.card-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.card-ios-gray .card-header-ios, -.card-ios-gray .card-title-ios, -.card-ios-gray .card-content-ios, -.card-ios-gray p { - color: #000; -} - -.card-ios-gray .text-ios-primary, -.card-ios-gray .card-header-ios-primary, -.card-ios-gray .card-title-ios-primary, -.card-ios-gray .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-gray .text-ios-secondary, -.card-ios-gray .card-header-ios-secondary, -.card-ios-gray .card-title-ios-secondary, -.card-ios-gray .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-gray .text-ios-danger, -.card-ios-gray .card-header-ios-danger, -.card-ios-gray .card-title-ios-danger, -.card-ios-gray .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-gray .text-ios-light, -.card-ios-gray .card-header-ios-light, -.card-ios-gray .card-title-ios-light, -.card-ios-gray .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-gray .text-ios-dark, -.card-ios-gray .card-header-ios-dark, -.card-ios-gray .card-title-ios-dark, -.card-ios-gray .card-content-ios-dark { - color: #222; -} - -.card-ios-gray .text-ios-optblue, -.card-ios-gray .card-header-ios-optblue, -.card-ios-gray .card-title-ios-optblue, -.card-ios-gray .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-gray .text-ios-gray, -.card-ios-gray .card-header-ios-gray, -.card-ios-gray .card-title-ios-gray, -.card-ios-gray .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-gray .text-ios-green, -.card-ios-gray .card-header-ios-green, -.card-ios-gray .card-title-ios-green, -.card-ios-gray .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-gray, -.card-title-ios-gray, -.card-content-ios-gray { - color: #dad8d8; -} - -.card-ios .text-ios-green { - color: #1dc764; -} - -.card-ios-green { - color: #fff; - background-color: #1dc764; -} - -.card-ios-green .card-header-ios, -.card-ios-green .card-title-ios, -.card-ios-green .card-content-ios, -.card-ios-green p { - color: #fff; -} - -.card-ios-green .text-ios-primary, -.card-ios-green .card-header-ios-primary, -.card-ios-green .card-title-ios-primary, -.card-ios-green .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-green .text-ios-secondary, -.card-ios-green .card-header-ios-secondary, -.card-ios-green .card-title-ios-secondary, -.card-ios-green .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-green .text-ios-danger, -.card-ios-green .card-header-ios-danger, -.card-ios-green .card-title-ios-danger, -.card-ios-green .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-green .text-ios-light, -.card-ios-green .card-header-ios-light, -.card-ios-green .card-title-ios-light, -.card-ios-green .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-green .text-ios-dark, -.card-ios-green .card-header-ios-dark, -.card-ios-green .card-title-ios-dark, -.card-ios-green .card-content-ios-dark { - color: #222; -} - -.card-ios-green .text-ios-optblue, -.card-ios-green .card-header-ios-optblue, -.card-ios-green .card-title-ios-optblue, -.card-ios-green .card-content-ios-optblue { - color: #E00201; -} - -.card-ios-green .text-ios-gray, -.card-ios-green .card-header-ios-gray, -.card-ios-green .card-title-ios-gray, -.card-ios-green .card-content-ios-gray { - color: #dad8d8; -} - -.card-ios-green .text-ios-green, -.card-ios-green .card-header-ios-green, -.card-ios-green .card-title-ios-green, -.card-ios-green .card-content-ios-green { - color: #1dc764; -} - -.card-header-ios-green, -.card-title-ios-green, -.card-content-ios-green { - color: #1dc764; -} - -.card-md { - margin: 10px; - border-radius: 2px; - width: calc(100% - 20px); - font-size: 1.4rem; - background: #fff; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} - -.card-md ion-list { - margin-bottom: 0; -} - -.card-md > .item:last-child, -.card-md > .item:last-child .item-inner, -.card-md > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.card-md .item-md.item-block .item-inner { - border: 0; -} - -.card-content-md { - padding: 13px 16px; - font-size: 1.4rem; - line-height: 1.5; -} - -.card-header-md { - font-size: 1.6rem; - color: #222; - padding: 16px; -} - -.card-header-md + .card-content-md, -.card-md .item + .card-content-md { - padding-top: 0; -} - -.card .note-md { - font-size: 1.3rem; -} - -.card-title-md { - display: block; - font-size: 2.4rem; - line-height: 1.2; - color: #222; - margin: 2px 0; - padding: 8px 0; -} - -.card-md h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; - color: #222; -} - -.card-md h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; - color: #222; -} - -.card-md h3, -.card-md h4, -.card-md h5, -.card-md h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - color: #222; -} - -.card-md p { - margin: 0 0 2px; - font-size: 1.4rem; - font-weight: normal; - line-height: 1.5; - color: #222; -} - -.card-md + ion-card { - margin-top: 0; -} - -.card-md .text-md-primary { - color: #673AB7; -} - -.card-md-primary { - color: #fff; - background-color: #673AB7; -} - -.card-md-primary .card-header-md, -.card-md-primary .card-title-md, -.card-md-primary .card-content-md, -.card-md-primary h1, -.card-md-primary h2, -.card-md-primary h3, -.card-md-primary h4, -.card-md-primary h5, -.card-md-primary h6, -.card-md-primary p { - color: #fff; -} - -.card-md-primary .text-md-primary, -.card-md-primary .card-header-md-primary, -.card-md-primary .card-title-md-primary, -.card-md-primary .card-content-md-primary { - color: #673AB7; -} - -.card-md-primary .text-md-secondary, -.card-md-primary .card-header-md-secondary, -.card-md-primary .card-title-md-secondary, -.card-md-primary .card-content-md-secondary { - color: #32db64; -} - -.card-md-primary .text-md-danger, -.card-md-primary .card-header-md-danger, -.card-md-primary .card-title-md-danger, -.card-md-primary .card-content-md-danger { - color: #f53d3d; -} - -.card-md-primary .text-md-light, -.card-md-primary .card-header-md-light, -.card-md-primary .card-title-md-light, -.card-md-primary .card-content-md-light { - color: #f4f4f4; -} - -.card-md-primary .text-md-dark, -.card-md-primary .card-header-md-dark, -.card-md-primary .card-title-md-dark, -.card-md-primary .card-content-md-dark { - color: #222; -} - -.card-md-primary .text-md-optblue, -.card-md-primary .card-header-md-optblue, -.card-md-primary .card-title-md-optblue, -.card-md-primary .card-content-md-optblue { - color: #E00201; -} - -.card-md-primary .text-md-gray, -.card-md-primary .card-header-md-gray, -.card-md-primary .card-title-md-gray, -.card-md-primary .card-content-md-gray { - color: #dad8d8; -} - -.card-md-primary .text-md-green, -.card-md-primary .card-header-md-green, -.card-md-primary .card-title-md-green, -.card-md-primary .card-content-md-green { - color: #1dc764; -} - -.card-header-md-primary, -.card-title-md-primary, -.card-content-md-primary { - color: #673AB7; -} - -.card-md .text-md-secondary { - color: #32db64; -} - -.card-md-secondary { - color: #fff; - background-color: #32db64; -} - -.card-md-secondary .card-header-md, -.card-md-secondary .card-title-md, -.card-md-secondary .card-content-md, -.card-md-secondary h1, -.card-md-secondary h2, -.card-md-secondary h3, -.card-md-secondary h4, -.card-md-secondary h5, -.card-md-secondary h6, -.card-md-secondary p { - color: #fff; -} - -.card-md-secondary .text-md-primary, -.card-md-secondary .card-header-md-primary, -.card-md-secondary .card-title-md-primary, -.card-md-secondary .card-content-md-primary { - color: #673AB7; -} - -.card-md-secondary .text-md-secondary, -.card-md-secondary .card-header-md-secondary, -.card-md-secondary .card-title-md-secondary, -.card-md-secondary .card-content-md-secondary { - color: #32db64; -} - -.card-md-secondary .text-md-danger, -.card-md-secondary .card-header-md-danger, -.card-md-secondary .card-title-md-danger, -.card-md-secondary .card-content-md-danger { - color: #f53d3d; -} - -.card-md-secondary .text-md-light, -.card-md-secondary .card-header-md-light, -.card-md-secondary .card-title-md-light, -.card-md-secondary .card-content-md-light { - color: #f4f4f4; -} - -.card-md-secondary .text-md-dark, -.card-md-secondary .card-header-md-dark, -.card-md-secondary .card-title-md-dark, -.card-md-secondary .card-content-md-dark { - color: #222; -} - -.card-md-secondary .text-md-optblue, -.card-md-secondary .card-header-md-optblue, -.card-md-secondary .card-title-md-optblue, -.card-md-secondary .card-content-md-optblue { - color: #E00201; -} - -.card-md-secondary .text-md-gray, -.card-md-secondary .card-header-md-gray, -.card-md-secondary .card-title-md-gray, -.card-md-secondary .card-content-md-gray { - color: #dad8d8; -} - -.card-md-secondary .text-md-green, -.card-md-secondary .card-header-md-green, -.card-md-secondary .card-title-md-green, -.card-md-secondary .card-content-md-green { - color: #1dc764; -} - -.card-header-md-secondary, -.card-title-md-secondary, -.card-content-md-secondary { - color: #32db64; -} - -.card-md .text-md-danger { - color: #f53d3d; -} - -.card-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.card-md-danger .card-header-md, -.card-md-danger .card-title-md, -.card-md-danger .card-content-md, -.card-md-danger h1, -.card-md-danger h2, -.card-md-danger h3, -.card-md-danger h4, -.card-md-danger h5, -.card-md-danger h6, -.card-md-danger p { - color: #fff; -} - -.card-md-danger .text-md-primary, -.card-md-danger .card-header-md-primary, -.card-md-danger .card-title-md-primary, -.card-md-danger .card-content-md-primary { - color: #673AB7; -} - -.card-md-danger .text-md-secondary, -.card-md-danger .card-header-md-secondary, -.card-md-danger .card-title-md-secondary, -.card-md-danger .card-content-md-secondary { - color: #32db64; -} - -.card-md-danger .text-md-danger, -.card-md-danger .card-header-md-danger, -.card-md-danger .card-title-md-danger, -.card-md-danger .card-content-md-danger { - color: #f53d3d; -} - -.card-md-danger .text-md-light, -.card-md-danger .card-header-md-light, -.card-md-danger .card-title-md-light, -.card-md-danger .card-content-md-light { - color: #f4f4f4; -} - -.card-md-danger .text-md-dark, -.card-md-danger .card-header-md-dark, -.card-md-danger .card-title-md-dark, -.card-md-danger .card-content-md-dark { - color: #222; -} - -.card-md-danger .text-md-optblue, -.card-md-danger .card-header-md-optblue, -.card-md-danger .card-title-md-optblue, -.card-md-danger .card-content-md-optblue { - color: #E00201; -} - -.card-md-danger .text-md-gray, -.card-md-danger .card-header-md-gray, -.card-md-danger .card-title-md-gray, -.card-md-danger .card-content-md-gray { - color: #dad8d8; -} - -.card-md-danger .text-md-green, -.card-md-danger .card-header-md-green, -.card-md-danger .card-title-md-green, -.card-md-danger .card-content-md-green { - color: #1dc764; -} - -.card-header-md-danger, -.card-title-md-danger, -.card-content-md-danger { - color: #f53d3d; -} - -.card-md .text-md-light { - color: #f4f4f4; -} - -.card-md-light { - color: #000; - background-color: #f4f4f4; -} - -.card-md-light .card-header-md, -.card-md-light .card-title-md, -.card-md-light .card-content-md, -.card-md-light h1, -.card-md-light h2, -.card-md-light h3, -.card-md-light h4, -.card-md-light h5, -.card-md-light h6, -.card-md-light p { - color: #000; -} - -.card-md-light .text-md-primary, -.card-md-light .card-header-md-primary, -.card-md-light .card-title-md-primary, -.card-md-light .card-content-md-primary { - color: #673AB7; -} - -.card-md-light .text-md-secondary, -.card-md-light .card-header-md-secondary, -.card-md-light .card-title-md-secondary, -.card-md-light .card-content-md-secondary { - color: #32db64; -} - -.card-md-light .text-md-danger, -.card-md-light .card-header-md-danger, -.card-md-light .card-title-md-danger, -.card-md-light .card-content-md-danger { - color: #f53d3d; -} - -.card-md-light .text-md-light, -.card-md-light .card-header-md-light, -.card-md-light .card-title-md-light, -.card-md-light .card-content-md-light { - color: #f4f4f4; -} - -.card-md-light .text-md-dark, -.card-md-light .card-header-md-dark, -.card-md-light .card-title-md-dark, -.card-md-light .card-content-md-dark { - color: #222; -} - -.card-md-light .text-md-optblue, -.card-md-light .card-header-md-optblue, -.card-md-light .card-title-md-optblue, -.card-md-light .card-content-md-optblue { - color: #E00201; -} - -.card-md-light .text-md-gray, -.card-md-light .card-header-md-gray, -.card-md-light .card-title-md-gray, -.card-md-light .card-content-md-gray { - color: #dad8d8; -} - -.card-md-light .text-md-green, -.card-md-light .card-header-md-green, -.card-md-light .card-title-md-green, -.card-md-light .card-content-md-green { - color: #1dc764; -} - -.card-header-md-light, -.card-title-md-light, -.card-content-md-light { - color: #f4f4f4; -} - -.card-md .text-md-dark { - color: #222; -} - -.card-md-dark { - color: #fff; - background-color: #222; -} - -.card-md-dark .card-header-md, -.card-md-dark .card-title-md, -.card-md-dark .card-content-md, -.card-md-dark h1, -.card-md-dark h2, -.card-md-dark h3, -.card-md-dark h4, -.card-md-dark h5, -.card-md-dark h6, -.card-md-dark p { - color: #fff; -} - -.card-md-dark .text-md-primary, -.card-md-dark .card-header-md-primary, -.card-md-dark .card-title-md-primary, -.card-md-dark .card-content-md-primary { - color: #673AB7; -} - -.card-md-dark .text-md-secondary, -.card-md-dark .card-header-md-secondary, -.card-md-dark .card-title-md-secondary, -.card-md-dark .card-content-md-secondary { - color: #32db64; -} - -.card-md-dark .text-md-danger, -.card-md-dark .card-header-md-danger, -.card-md-dark .card-title-md-danger, -.card-md-dark .card-content-md-danger { - color: #f53d3d; -} - -.card-md-dark .text-md-light, -.card-md-dark .card-header-md-light, -.card-md-dark .card-title-md-light, -.card-md-dark .card-content-md-light { - color: #f4f4f4; -} - -.card-md-dark .text-md-dark, -.card-md-dark .card-header-md-dark, -.card-md-dark .card-title-md-dark, -.card-md-dark .card-content-md-dark { - color: #222; -} - -.card-md-dark .text-md-optblue, -.card-md-dark .card-header-md-optblue, -.card-md-dark .card-title-md-optblue, -.card-md-dark .card-content-md-optblue { - color: #E00201; -} - -.card-md-dark .text-md-gray, -.card-md-dark .card-header-md-gray, -.card-md-dark .card-title-md-gray, -.card-md-dark .card-content-md-gray { - color: #dad8d8; -} - -.card-md-dark .text-md-green, -.card-md-dark .card-header-md-green, -.card-md-dark .card-title-md-green, -.card-md-dark .card-content-md-green { - color: #1dc764; -} - -.card-header-md-dark, -.card-title-md-dark, -.card-content-md-dark { - color: #222; -} - -.card-md .text-md-optblue { - color: #E00201; -} - -.card-md-optblue { - color: #fff; - background-color: #E00201; -} - -.card-md-optblue .card-header-md, -.card-md-optblue .card-title-md, -.card-md-optblue .card-content-md, -.card-md-optblue h1, -.card-md-optblue h2, -.card-md-optblue h3, -.card-md-optblue h4, -.card-md-optblue h5, -.card-md-optblue h6, -.card-md-optblue p { - color: #fff; -} - -.card-md-optblue .text-md-primary, -.card-md-optblue .card-header-md-primary, -.card-md-optblue .card-title-md-primary, -.card-md-optblue .card-content-md-primary { - color: #673AB7; -} - -.card-md-optblue .text-md-secondary, -.card-md-optblue .card-header-md-secondary, -.card-md-optblue .card-title-md-secondary, -.card-md-optblue .card-content-md-secondary { - color: #32db64; -} - -.card-md-optblue .text-md-danger, -.card-md-optblue .card-header-md-danger, -.card-md-optblue .card-title-md-danger, -.card-md-optblue .card-content-md-danger { - color: #f53d3d; -} - -.card-md-optblue .text-md-light, -.card-md-optblue .card-header-md-light, -.card-md-optblue .card-title-md-light, -.card-md-optblue .card-content-md-light { - color: #f4f4f4; -} - -.card-md-optblue .text-md-dark, -.card-md-optblue .card-header-md-dark, -.card-md-optblue .card-title-md-dark, -.card-md-optblue .card-content-md-dark { - color: #222; -} - -.card-md-optblue .text-md-optblue, -.card-md-optblue .card-header-md-optblue, -.card-md-optblue .card-title-md-optblue, -.card-md-optblue .card-content-md-optblue { - color: #E00201; -} - -.card-md-optblue .text-md-gray, -.card-md-optblue .card-header-md-gray, -.card-md-optblue .card-title-md-gray, -.card-md-optblue .card-content-md-gray { - color: #dad8d8; -} - -.card-md-optblue .text-md-green, -.card-md-optblue .card-header-md-green, -.card-md-optblue .card-title-md-green, -.card-md-optblue .card-content-md-green { - color: #1dc764; -} - -.card-header-md-optblue, -.card-title-md-optblue, -.card-content-md-optblue { - color: #E00201; -} - -.card-md .text-md-gray { - color: #dad8d8; -} - -.card-md-gray { - color: #000; - background-color: #dad8d8; -} - -.card-md-gray .card-header-md, -.card-md-gray .card-title-md, -.card-md-gray .card-content-md, -.card-md-gray h1, -.card-md-gray h2, -.card-md-gray h3, -.card-md-gray h4, -.card-md-gray h5, -.card-md-gray h6, -.card-md-gray p { - color: #000; -} - -.card-md-gray .text-md-primary, -.card-md-gray .card-header-md-primary, -.card-md-gray .card-title-md-primary, -.card-md-gray .card-content-md-primary { - color: #673AB7; -} - -.card-md-gray .text-md-secondary, -.card-md-gray .card-header-md-secondary, -.card-md-gray .card-title-md-secondary, -.card-md-gray .card-content-md-secondary { - color: #32db64; -} - -.card-md-gray .text-md-danger, -.card-md-gray .card-header-md-danger, -.card-md-gray .card-title-md-danger, -.card-md-gray .card-content-md-danger { - color: #f53d3d; -} - -.card-md-gray .text-md-light, -.card-md-gray .card-header-md-light, -.card-md-gray .card-title-md-light, -.card-md-gray .card-content-md-light { - color: #f4f4f4; -} - -.card-md-gray .text-md-dark, -.card-md-gray .card-header-md-dark, -.card-md-gray .card-title-md-dark, -.card-md-gray .card-content-md-dark { - color: #222; -} - -.card-md-gray .text-md-optblue, -.card-md-gray .card-header-md-optblue, -.card-md-gray .card-title-md-optblue, -.card-md-gray .card-content-md-optblue { - color: #E00201; -} - -.card-md-gray .text-md-gray, -.card-md-gray .card-header-md-gray, -.card-md-gray .card-title-md-gray, -.card-md-gray .card-content-md-gray { - color: #dad8d8; -} - -.card-md-gray .text-md-green, -.card-md-gray .card-header-md-green, -.card-md-gray .card-title-md-green, -.card-md-gray .card-content-md-green { - color: #1dc764; -} - -.card-header-md-gray, -.card-title-md-gray, -.card-content-md-gray { - color: #dad8d8; -} - -.card-md .text-md-green { - color: #1dc764; -} - -.card-md-green { - color: #fff; - background-color: #1dc764; -} - -.card-md-green .card-header-md, -.card-md-green .card-title-md, -.card-md-green .card-content-md, -.card-md-green h1, -.card-md-green h2, -.card-md-green h3, -.card-md-green h4, -.card-md-green h5, -.card-md-green h6, -.card-md-green p { - color: #fff; -} - -.card-md-green .text-md-primary, -.card-md-green .card-header-md-primary, -.card-md-green .card-title-md-primary, -.card-md-green .card-content-md-primary { - color: #673AB7; -} - -.card-md-green .text-md-secondary, -.card-md-green .card-header-md-secondary, -.card-md-green .card-title-md-secondary, -.card-md-green .card-content-md-secondary { - color: #32db64; -} - -.card-md-green .text-md-danger, -.card-md-green .card-header-md-danger, -.card-md-green .card-title-md-danger, -.card-md-green .card-content-md-danger { - color: #f53d3d; -} - -.card-md-green .text-md-light, -.card-md-green .card-header-md-light, -.card-md-green .card-title-md-light, -.card-md-green .card-content-md-light { - color: #f4f4f4; -} - -.card-md-green .text-md-dark, -.card-md-green .card-header-md-dark, -.card-md-green .card-title-md-dark, -.card-md-green .card-content-md-dark { - color: #222; -} - -.card-md-green .text-md-optblue, -.card-md-green .card-header-md-optblue, -.card-md-green .card-title-md-optblue, -.card-md-green .card-content-md-optblue { - color: #E00201; -} - -.card-md-green .text-md-gray, -.card-md-green .card-header-md-gray, -.card-md-green .card-title-md-gray, -.card-md-green .card-content-md-gray { - color: #dad8d8; -} - -.card-md-green .text-md-green, -.card-md-green .card-header-md-green, -.card-md-green .card-title-md-green, -.card-md-green .card-content-md-green { - color: #1dc764; -} - -.card-header-md-green, -.card-title-md-green, -.card-content-md-green { - color: #1dc764; -} - -.card-wp { - margin: 8px; - border-radius: 1px; - width: calc(100% - 16px); - font-size: 1.4rem; - background: #fff; - -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.2); -} - -.card-wp ion-list { - margin-bottom: 0; -} - -.card-wp > .item:last-child, -.card-wp > .item:last-child .item-inner, -.card-wp > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.card-wp .item-wp.item-block .item-inner { - border: 0; -} - -.card-content-wp { - padding: 13px 16px; - font-size: 1.4rem; - line-height: 1.5; -} - -.card-header-wp { - font-size: 1.6rem; - color: #222; - padding: 16px; -} - -.card-header-wp + .card-content-wp, -.card-wp .item + .card-content-wp { - padding-top: 0; -} - -.card .note-wp { - font-size: 1.3rem; -} - -.card-title-wp { - display: block; - font-size: 2.4rem; - line-height: 1.2; - color: #222; - margin: 2px 0; - padding: 8px 0; -} - -.card-wp h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; - color: #222; -} - -.card-wp h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; - color: #222; -} - -.card-wp h3, -.card-wp h4, -.card-wp h5, -.card-wp h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - color: #222; -} - -.card-wp p { - margin: 0 0 2px; - font-size: 1.4rem; - font-weight: normal; - line-height: 1.5; - color: #222; -} - -.card-wp + ion-card { - margin-top: 0; -} - -.card-wp .text-wp-primary { - color: #673AB7; -} - -.card-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.card-wp-primary .card-header-wp, -.card-wp-primary .card-title-wp, -.card-wp-primary .card-content-wp, -.card-wp-primary h1, -.card-wp-primary h2, -.card-wp-primary h3, -.card-wp-primary h4, -.card-wp-primary h5, -.card-wp-primary h6, -.card-wp-primary p { - color: #fff; -} - -.card-wp-primary .text-wp-primary, -.card-wp-primary .card-header-wp-primary, -.card-wp-primary .card-title-wp-primary, -.card-wp-primary .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-primary .text-wp-secondary, -.card-wp-primary .card-header-wp-secondary, -.card-wp-primary .card-title-wp-secondary, -.card-wp-primary .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-primary .text-wp-danger, -.card-wp-primary .card-header-wp-danger, -.card-wp-primary .card-title-wp-danger, -.card-wp-primary .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-primary .text-wp-light, -.card-wp-primary .card-header-wp-light, -.card-wp-primary .card-title-wp-light, -.card-wp-primary .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-primary .text-wp-dark, -.card-wp-primary .card-header-wp-dark, -.card-wp-primary .card-title-wp-dark, -.card-wp-primary .card-content-wp-dark { - color: #222; -} - -.card-wp-primary .text-wp-optblue, -.card-wp-primary .card-header-wp-optblue, -.card-wp-primary .card-title-wp-optblue, -.card-wp-primary .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-primary .text-wp-gray, -.card-wp-primary .card-header-wp-gray, -.card-wp-primary .card-title-wp-gray, -.card-wp-primary .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-primary .text-wp-green, -.card-wp-primary .card-header-wp-green, -.card-wp-primary .card-title-wp-green, -.card-wp-primary .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-primary, -.card-title-wp-primary, -.card-content-wp-primary { - color: #673AB7; -} - -.card-wp .text-wp-secondary { - color: #32db64; -} - -.card-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.card-wp-secondary .card-header-wp, -.card-wp-secondary .card-title-wp, -.card-wp-secondary .card-content-wp, -.card-wp-secondary h1, -.card-wp-secondary h2, -.card-wp-secondary h3, -.card-wp-secondary h4, -.card-wp-secondary h5, -.card-wp-secondary h6, -.card-wp-secondary p { - color: #fff; -} - -.card-wp-secondary .text-wp-primary, -.card-wp-secondary .card-header-wp-primary, -.card-wp-secondary .card-title-wp-primary, -.card-wp-secondary .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-secondary .text-wp-secondary, -.card-wp-secondary .card-header-wp-secondary, -.card-wp-secondary .card-title-wp-secondary, -.card-wp-secondary .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-secondary .text-wp-danger, -.card-wp-secondary .card-header-wp-danger, -.card-wp-secondary .card-title-wp-danger, -.card-wp-secondary .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-secondary .text-wp-light, -.card-wp-secondary .card-header-wp-light, -.card-wp-secondary .card-title-wp-light, -.card-wp-secondary .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-secondary .text-wp-dark, -.card-wp-secondary .card-header-wp-dark, -.card-wp-secondary .card-title-wp-dark, -.card-wp-secondary .card-content-wp-dark { - color: #222; -} - -.card-wp-secondary .text-wp-optblue, -.card-wp-secondary .card-header-wp-optblue, -.card-wp-secondary .card-title-wp-optblue, -.card-wp-secondary .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-secondary .text-wp-gray, -.card-wp-secondary .card-header-wp-gray, -.card-wp-secondary .card-title-wp-gray, -.card-wp-secondary .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-secondary .text-wp-green, -.card-wp-secondary .card-header-wp-green, -.card-wp-secondary .card-title-wp-green, -.card-wp-secondary .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-secondary, -.card-title-wp-secondary, -.card-content-wp-secondary { - color: #32db64; -} - -.card-wp .text-wp-danger { - color: #f53d3d; -} - -.card-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.card-wp-danger .card-header-wp, -.card-wp-danger .card-title-wp, -.card-wp-danger .card-content-wp, -.card-wp-danger h1, -.card-wp-danger h2, -.card-wp-danger h3, -.card-wp-danger h4, -.card-wp-danger h5, -.card-wp-danger h6, -.card-wp-danger p { - color: #fff; -} - -.card-wp-danger .text-wp-primary, -.card-wp-danger .card-header-wp-primary, -.card-wp-danger .card-title-wp-primary, -.card-wp-danger .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-danger .text-wp-secondary, -.card-wp-danger .card-header-wp-secondary, -.card-wp-danger .card-title-wp-secondary, -.card-wp-danger .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-danger .text-wp-danger, -.card-wp-danger .card-header-wp-danger, -.card-wp-danger .card-title-wp-danger, -.card-wp-danger .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-danger .text-wp-light, -.card-wp-danger .card-header-wp-light, -.card-wp-danger .card-title-wp-light, -.card-wp-danger .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-danger .text-wp-dark, -.card-wp-danger .card-header-wp-dark, -.card-wp-danger .card-title-wp-dark, -.card-wp-danger .card-content-wp-dark { - color: #222; -} - -.card-wp-danger .text-wp-optblue, -.card-wp-danger .card-header-wp-optblue, -.card-wp-danger .card-title-wp-optblue, -.card-wp-danger .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-danger .text-wp-gray, -.card-wp-danger .card-header-wp-gray, -.card-wp-danger .card-title-wp-gray, -.card-wp-danger .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-danger .text-wp-green, -.card-wp-danger .card-header-wp-green, -.card-wp-danger .card-title-wp-green, -.card-wp-danger .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-danger, -.card-title-wp-danger, -.card-content-wp-danger { - color: #f53d3d; -} - -.card-wp .text-wp-light { - color: #f4f4f4; -} - -.card-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.card-wp-light .card-header-wp, -.card-wp-light .card-title-wp, -.card-wp-light .card-content-wp, -.card-wp-light h1, -.card-wp-light h2, -.card-wp-light h3, -.card-wp-light h4, -.card-wp-light h5, -.card-wp-light h6, -.card-wp-light p { - color: #000; -} - -.card-wp-light .text-wp-primary, -.card-wp-light .card-header-wp-primary, -.card-wp-light .card-title-wp-primary, -.card-wp-light .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-light .text-wp-secondary, -.card-wp-light .card-header-wp-secondary, -.card-wp-light .card-title-wp-secondary, -.card-wp-light .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-light .text-wp-danger, -.card-wp-light .card-header-wp-danger, -.card-wp-light .card-title-wp-danger, -.card-wp-light .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-light .text-wp-light, -.card-wp-light .card-header-wp-light, -.card-wp-light .card-title-wp-light, -.card-wp-light .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-light .text-wp-dark, -.card-wp-light .card-header-wp-dark, -.card-wp-light .card-title-wp-dark, -.card-wp-light .card-content-wp-dark { - color: #222; -} - -.card-wp-light .text-wp-optblue, -.card-wp-light .card-header-wp-optblue, -.card-wp-light .card-title-wp-optblue, -.card-wp-light .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-light .text-wp-gray, -.card-wp-light .card-header-wp-gray, -.card-wp-light .card-title-wp-gray, -.card-wp-light .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-light .text-wp-green, -.card-wp-light .card-header-wp-green, -.card-wp-light .card-title-wp-green, -.card-wp-light .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-light, -.card-title-wp-light, -.card-content-wp-light { - color: #f4f4f4; -} - -.card-wp .text-wp-dark { - color: #222; -} - -.card-wp-dark { - color: #fff; - background-color: #222; -} - -.card-wp-dark .card-header-wp, -.card-wp-dark .card-title-wp, -.card-wp-dark .card-content-wp, -.card-wp-dark h1, -.card-wp-dark h2, -.card-wp-dark h3, -.card-wp-dark h4, -.card-wp-dark h5, -.card-wp-dark h6, -.card-wp-dark p { - color: #fff; -} - -.card-wp-dark .text-wp-primary, -.card-wp-dark .card-header-wp-primary, -.card-wp-dark .card-title-wp-primary, -.card-wp-dark .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-dark .text-wp-secondary, -.card-wp-dark .card-header-wp-secondary, -.card-wp-dark .card-title-wp-secondary, -.card-wp-dark .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-dark .text-wp-danger, -.card-wp-dark .card-header-wp-danger, -.card-wp-dark .card-title-wp-danger, -.card-wp-dark .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-dark .text-wp-light, -.card-wp-dark .card-header-wp-light, -.card-wp-dark .card-title-wp-light, -.card-wp-dark .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-dark .text-wp-dark, -.card-wp-dark .card-header-wp-dark, -.card-wp-dark .card-title-wp-dark, -.card-wp-dark .card-content-wp-dark { - color: #222; -} - -.card-wp-dark .text-wp-optblue, -.card-wp-dark .card-header-wp-optblue, -.card-wp-dark .card-title-wp-optblue, -.card-wp-dark .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-dark .text-wp-gray, -.card-wp-dark .card-header-wp-gray, -.card-wp-dark .card-title-wp-gray, -.card-wp-dark .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-dark .text-wp-green, -.card-wp-dark .card-header-wp-green, -.card-wp-dark .card-title-wp-green, -.card-wp-dark .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-dark, -.card-title-wp-dark, -.card-content-wp-dark { - color: #222; -} - -.card-wp .text-wp-optblue { - color: #E00201; -} - -.card-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.card-wp-optblue .card-header-wp, -.card-wp-optblue .card-title-wp, -.card-wp-optblue .card-content-wp, -.card-wp-optblue h1, -.card-wp-optblue h2, -.card-wp-optblue h3, -.card-wp-optblue h4, -.card-wp-optblue h5, -.card-wp-optblue h6, -.card-wp-optblue p { - color: #fff; -} - -.card-wp-optblue .text-wp-primary, -.card-wp-optblue .card-header-wp-primary, -.card-wp-optblue .card-title-wp-primary, -.card-wp-optblue .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-optblue .text-wp-secondary, -.card-wp-optblue .card-header-wp-secondary, -.card-wp-optblue .card-title-wp-secondary, -.card-wp-optblue .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-optblue .text-wp-danger, -.card-wp-optblue .card-header-wp-danger, -.card-wp-optblue .card-title-wp-danger, -.card-wp-optblue .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-optblue .text-wp-light, -.card-wp-optblue .card-header-wp-light, -.card-wp-optblue .card-title-wp-light, -.card-wp-optblue .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-optblue .text-wp-dark, -.card-wp-optblue .card-header-wp-dark, -.card-wp-optblue .card-title-wp-dark, -.card-wp-optblue .card-content-wp-dark { - color: #222; -} - -.card-wp-optblue .text-wp-optblue, -.card-wp-optblue .card-header-wp-optblue, -.card-wp-optblue .card-title-wp-optblue, -.card-wp-optblue .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-optblue .text-wp-gray, -.card-wp-optblue .card-header-wp-gray, -.card-wp-optblue .card-title-wp-gray, -.card-wp-optblue .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-optblue .text-wp-green, -.card-wp-optblue .card-header-wp-green, -.card-wp-optblue .card-title-wp-green, -.card-wp-optblue .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-optblue, -.card-title-wp-optblue, -.card-content-wp-optblue { - color: #E00201; -} - -.card-wp .text-wp-gray { - color: #dad8d8; -} - -.card-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.card-wp-gray .card-header-wp, -.card-wp-gray .card-title-wp, -.card-wp-gray .card-content-wp, -.card-wp-gray h1, -.card-wp-gray h2, -.card-wp-gray h3, -.card-wp-gray h4, -.card-wp-gray h5, -.card-wp-gray h6, -.card-wp-gray p { - color: #000; -} - -.card-wp-gray .text-wp-primary, -.card-wp-gray .card-header-wp-primary, -.card-wp-gray .card-title-wp-primary, -.card-wp-gray .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-gray .text-wp-secondary, -.card-wp-gray .card-header-wp-secondary, -.card-wp-gray .card-title-wp-secondary, -.card-wp-gray .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-gray .text-wp-danger, -.card-wp-gray .card-header-wp-danger, -.card-wp-gray .card-title-wp-danger, -.card-wp-gray .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-gray .text-wp-light, -.card-wp-gray .card-header-wp-light, -.card-wp-gray .card-title-wp-light, -.card-wp-gray .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-gray .text-wp-dark, -.card-wp-gray .card-header-wp-dark, -.card-wp-gray .card-title-wp-dark, -.card-wp-gray .card-content-wp-dark { - color: #222; -} - -.card-wp-gray .text-wp-optblue, -.card-wp-gray .card-header-wp-optblue, -.card-wp-gray .card-title-wp-optblue, -.card-wp-gray .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-gray .text-wp-gray, -.card-wp-gray .card-header-wp-gray, -.card-wp-gray .card-title-wp-gray, -.card-wp-gray .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-gray .text-wp-green, -.card-wp-gray .card-header-wp-green, -.card-wp-gray .card-title-wp-green, -.card-wp-gray .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-gray, -.card-title-wp-gray, -.card-content-wp-gray { - color: #dad8d8; -} - -.card-wp .text-wp-green { - color: #1dc764; -} - -.card-wp-green { - color: #fff; - background-color: #1dc764; -} - -.card-wp-green .card-header-wp, -.card-wp-green .card-title-wp, -.card-wp-green .card-content-wp, -.card-wp-green h1, -.card-wp-green h2, -.card-wp-green h3, -.card-wp-green h4, -.card-wp-green h5, -.card-wp-green h6, -.card-wp-green p { - color: #fff; -} - -.card-wp-green .text-wp-primary, -.card-wp-green .card-header-wp-primary, -.card-wp-green .card-title-wp-primary, -.card-wp-green .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-green .text-wp-secondary, -.card-wp-green .card-header-wp-secondary, -.card-wp-green .card-title-wp-secondary, -.card-wp-green .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-green .text-wp-danger, -.card-wp-green .card-header-wp-danger, -.card-wp-green .card-title-wp-danger, -.card-wp-green .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-green .text-wp-light, -.card-wp-green .card-header-wp-light, -.card-wp-green .card-title-wp-light, -.card-wp-green .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-green .text-wp-dark, -.card-wp-green .card-header-wp-dark, -.card-wp-green .card-title-wp-dark, -.card-wp-green .card-content-wp-dark { - color: #222; -} - -.card-wp-green .text-wp-optblue, -.card-wp-green .card-header-wp-optblue, -.card-wp-green .card-title-wp-optblue, -.card-wp-green .card-content-wp-optblue { - color: #E00201; -} - -.card-wp-green .text-wp-gray, -.card-wp-green .card-header-wp-gray, -.card-wp-green .card-title-wp-gray, -.card-wp-green .card-content-wp-gray { - color: #dad8d8; -} - -.card-wp-green .text-wp-green, -.card-wp-green .card-header-wp-green, -.card-wp-green .card-title-wp-green, -.card-wp-green .card-content-wp-green { - color: #1dc764; -} - -.card-header-wp-green, -.card-title-wp-green, -.card-content-wp-green { - color: #1dc764; -} - -.checkbox-ios { - position: relative; - display: inline-block; -} - -.checkbox-ios .checkbox-icon { - border-radius: 50%; - position: relative; - width: 21px; - height: 21px; - border-width: 1px; - border-style: solid; - border-color: #c8c7cc; - background-color: #fff; -} - -.checkbox-ios .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-ios .checkbox-checked .checkbox-inner { - left: 7px; - top: 4px; - position: absolute; - width: 4px; - height: 9px; - border-width: 1px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.checkbox-ios.checkbox-disabled, -.item-ios.item-checkbox-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item.item-ios .checkbox-ios { - position: static; - display: block; - margin: 8px 16px 8px 2px; -} - -.item.item-ios .checkbox-ios[item-right], -.item.item-ios .checkbox-ios[item-end] { - margin: 10px 8px 9px 0; -} - -.checkbox-ios-primary .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-ios-primary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-secondary .checkbox-checked { - border-color: #32db64; - background-color: #32db64; -} - -.checkbox-ios-secondary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-danger .checkbox-checked { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.checkbox-ios-danger .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-light .checkbox-checked { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.checkbox-ios-light .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-ios-dark .checkbox-checked { - border-color: #222; - background-color: #222; -} - -.checkbox-ios-dark .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-optblue .checkbox-checked { - border-color: #E00201; - background-color: #E00201; -} - -.checkbox-ios-optblue .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-gray .checkbox-checked { - border-color: #dad8d8; - background-color: #dad8d8; -} - -.checkbox-ios-gray .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-ios-green .checkbox-checked { - border-color: #1dc764; - background-color: #1dc764; -} - -.checkbox-ios-green .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md { - position: relative; - display: inline-block; -} - -.checkbox-md .checkbox-icon { - border-radius: 2px; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; - background-color: #fff; - -webkit-transition-duration: 280ms; - transition-duration: 280ms; - -webkit-transition-property: background; - transition-property: background; - -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.checkbox-md .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-md .checkbox-checked .checkbox-inner { - left: 4px; - top: 0; - position: absolute; - width: 5px; - height: 10px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.checkbox-md.checkbox-disabled, -.item-md.item-checkbox-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item.item-md .checkbox-md { - position: static; - display: block; - margin: 9px 36px 9px 4px; -} - -.item.item-md .checkbox-md[item-right], -.item.item-md .checkbox-md[item-end] { - margin: 11px 10px 10px 0; -} - -.checkbox-md + .item-inner ion-label { - margin-left: 0; -} - -.checkbox-md-primary .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-md-primary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-secondary .checkbox-checked { - border-color: #32db64; - background-color: #32db64; -} - -.checkbox-md-secondary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-danger .checkbox-checked { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.checkbox-md-danger .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-light .checkbox-checked { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.checkbox-md-light .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-md-dark .checkbox-checked { - border-color: #222; - background-color: #222; -} - -.checkbox-md-dark .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-optblue .checkbox-checked { - border-color: #E00201; - background-color: #E00201; -} - -.checkbox-md-optblue .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-gray .checkbox-checked { - border-color: #dad8d8; - background-color: #dad8d8; -} - -.checkbox-md-gray .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-md-green .checkbox-checked { - border-color: #1dc764; - background-color: #1dc764; -} - -.checkbox-md-green .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp { - position: relative; - display: inline-block; -} - -.checkbox-wp .checkbox-icon { - border-radius: 0; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #333; - background-color: #fff; -} - -.checkbox-wp .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-wp .checkbox-checked .checkbox-inner { - left: 3px; - top: -2px; - position: absolute; - width: 6px; - height: 12px; - border-width: 1px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.checkbox-wp.checkbox-disabled, -.item-wp.item-checkbox-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item.item-wp .checkbox-wp { - position: static; - display: block; - margin: 9px 16px 9px 4px; -} - -.item.item-wp .checkbox-wp[item-right], -.item.item-wp .checkbox-wp[item-end] { - margin: 11px 10px 10px 0; -} - -.checkbox-wp + .item-inner ion-label { - margin-left: 0; -} - -.checkbox-wp-primary .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-wp-primary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-secondary .checkbox-checked { - border-color: #32db64; - background-color: #32db64; -} - -.checkbox-wp-secondary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-danger .checkbox-checked { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.checkbox-wp-danger .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-light .checkbox-checked { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.checkbox-wp-light .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-wp-dark .checkbox-checked { - border-color: #222; - background-color: #222; -} - -.checkbox-wp-dark .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-optblue .checkbox-checked { - border-color: #E00201; - background-color: #E00201; -} - -.checkbox-wp-optblue .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-gray .checkbox-checked { - border-color: #dad8d8; - background-color: #dad8d8; -} - -.checkbox-wp-gray .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-wp-green .checkbox-checked { - border-color: #1dc764; - background-color: #1dc764; -} - -.checkbox-wp-green .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -ion-chip { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - font-weight: normal; - vertical-align: middle; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -ion-chip .button { - border-radius: 50%; - width: 32px; - height: 32px; - margin: 0; -} - -ion-chip ion-icon { - text-align: center; - border-radius: 50%; - width: 32px; - height: 32px; - font-size: 18px; - line-height: 32px; -} - -ion-chip ion-avatar { - border-radius: 50%; - width: 32px; - min-width: 32px; - height: 32px; - min-height: 32px; -} - -ion-chip ion-avatar img { - border-radius: 50%; - display: block; - width: 100%; - max-width: 100%; - height: 100%; - max-height: 100%; -} - -.chip-ios { - border-radius: 16px; - height: 32px; - font-size: 13px; - line-height: 32px; - color: rgba(0, 0, 0, 0.87); - background: rgba(0, 0, 0, 0.12); - margin: 2px 0; -} - -.chip-ios > ion-label { - margin: 0 10px; -} - -.chip-ios > ion-icon { - color: #fff; - background-color: #673AB7; -} - -.chip-ios-primary, -.chip-ios .icon-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.chip-ios-secondary, -.chip-ios .icon-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.chip-ios-danger, -.chip-ios .icon-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.chip-ios-light, -.chip-ios .icon-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.chip-ios-dark, -.chip-ios .icon-ios-dark { - color: #fff; - background-color: #222; -} - -.chip-ios-optblue, -.chip-ios .icon-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.chip-ios-gray, -.chip-ios .icon-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.chip-ios-green, -.chip-ios .icon-ios-green { - color: #fff; - background-color: #1dc764; -} - -.chip-md { - border-radius: 16px; - height: 32px; - font-size: 13px; - line-height: 32px; - color: rgba(0, 0, 0, 0.87); - background: rgba(0, 0, 0, 0.12); - margin: 2px 0; -} - -.chip-md > ion-label { - margin: 0 10px; -} - -.chip-md > ion-icon { - color: #fff; - background-color: #673AB7; -} - -.chip-md-primary, -.chip-md .icon-md-primary { - color: #fff; - background-color: #673AB7; -} - -.chip-md-secondary, -.chip-md .icon-md-secondary { - color: #fff; - background-color: #32db64; -} - -.chip-md-danger, -.chip-md .icon-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.chip-md-light, -.chip-md .icon-md-light { - color: #000; - background-color: #f4f4f4; -} - -.chip-md-dark, -.chip-md .icon-md-dark { - color: #fff; - background-color: #222; -} - -.chip-md-optblue, -.chip-md .icon-md-optblue { - color: #fff; - background-color: #E00201; -} - -.chip-md-gray, -.chip-md .icon-md-gray { - color: #000; - background-color: #dad8d8; -} - -.chip-md-green, -.chip-md .icon-md-green { - color: #fff; - background-color: #1dc764; -} - -.chip-wp { - border-radius: 16px; - height: 32px; - font-size: 13px; - line-height: 32px; - color: rgba(0, 0, 0, 0.87); - background: rgba(0, 0, 0, 0.12); - margin: 2px 0; -} - -.chip-wp > ion-label { - margin: 0 10px; -} - -.chip-wp > ion-icon { - color: #fff; - background-color: #673AB7; -} - -.chip-wp .button { - border: 0; -} - -.chip-wp-primary, -.chip-wp .icon-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.chip-wp-secondary, -.chip-wp .icon-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.chip-wp-danger, -.chip-wp .icon-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.chip-wp-light, -.chip-wp .icon-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.chip-wp-dark, -.chip-wp .icon-wp-dark { - color: #fff; - background-color: #222; -} - -.chip-wp-optblue, -.chip-wp .icon-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.chip-wp-gray, -.chip-wp .icon-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.chip-wp-green, -.chip-wp .icon-wp-green { - color: #fff; - background-color: #1dc764; -} - -ion-content { - left: 0; - top: 0; - position: relative; - display: block; - width: 100%; - height: 100%; - contain: layout size style; -} - -.ion-page > ion-content { - position: absolute; -} - -a { - color: #673AB7; -} - -.scroll-content { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1; - display: block; - overflow-x: hidden; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - will-change: scroll-position; - contain: size style layout; -} - -ion-content.js-scroll > .scroll-content { - position: relative; - min-height: 100%; - overflow-x: initial; - overflow-y: initial; - -webkit-overflow-scrolling: auto; - will-change: initial; -} - -.disable-scroll .ion-page { - pointer-events: none; - -ms-touch-action: none; - touch-action: none; -} - -ion-content.has-refresher > .scroll-content { - background-color: inherit; -} - -.fixed-content { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - display: block; -} - -[ion-fixed] { - position: absolute; - z-index: 999; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-app [no-padding], -ion-app [no-padding] .scroll-content { - padding: 0; -} - -ion-app [no-margin], -ion-app [no-margin] .scroll-content { - margin: 0; -} - -.content-ios { - color: #000; - background-color: #fff; -} - -.content-ios.outer-content { - background: #efeff4; -} - -.content-ios hr { - height: 0.55px; - background-color: rgba(0, 0, 0, 0.12); -} - -.ios .ion-page.show-page ~ .nav-decor { - left: 0; - top: 0; - position: absolute; - z-index: 0; - display: block; - width: 100%; - height: 100%; - background: #000; - pointer-events: none; -} - -ion-app.ios [padding] { - padding: 16px; -} - -ion-app.ios [padding-top] { - padding-top: 16px; -} - -ion-app.ios [padding-left] { - padding-left: 16px; -} - -ion-app.ios [padding-right] { - padding-right: 16px; -} - -ion-app.ios [padding-bottom] { - padding-bottom: 16px; -} - -ion-app.ios [padding-vertical] { - padding-top: 16px; - padding-bottom: 16px; -} - -ion-app.ios [padding-horizontal] { - padding-left: 16px; - padding-right: 16px; -} - -ion-app.ios [padding] .scroll-content { - padding: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-top: 16px; - padding-bottom: 16px; - padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.ios [padding-top] .scroll-content { - padding-top: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-top] .scroll-content { - padding-top: 16px; - padding-top: 16px; - } -} - -ion-app.ios [padding-left] .scroll-content { - padding-left: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-left] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.ios [padding-right] .scroll-content { - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-right] .scroll-content { - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.ios [padding-bottom] .scroll-content { - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-bottom] .scroll-content { - padding-bottom: 16px; - padding-bottom: 16px; - } -} - -ion-app.ios [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; - padding-top: 16px; - padding-bottom: 16px; - } -} - -ion-app.ios [padding-horizontal] .scroll-content { - padding-left: 16px; - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-horizontal] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.ios [margin], -ion-app.ios [margin] .scroll-content { - margin: 16px; -} - -ion-app.ios [margin-top], -ion-app.ios [margin-top] .scroll-content { - margin-top: 16px; -} - -ion-app.ios [margin-left], -ion-app.ios [margin-left] .scroll-content { - margin-left: 16px; -} - -ion-app.ios [margin-start], -ion-app.ios [margin-start] .scroll-content { - margin-left: 16px; -} - -ion-app.ios [margin-right], -ion-app.ios [margin-right] .scroll-content { - margin-right: 16px; -} - -ion-app.ios [margin-end], -ion-app.ios [margin-end] .scroll-content { - margin-right: 16px; -} - -ion-app.ios [margin-bottom], -ion-app.ios [margin-bottom] .scroll-content { - margin-bottom: 16px; -} - -ion-app.ios [margin-vertical], -ion-app.ios [margin-vertical] .scroll-content { - margin-top: 16px; - margin-bottom: 16px; -} - -ion-app.ios [margin-horizontal], -ion-app.ios [margin-horizontal] .scroll-content { - margin-left: 16px; - margin-right: 16px; -} - -.content-ios:not([no-bounce]) > .scroll-content::before, -.content-ios:not([no-bounce]) > .scroll-content::after { - position: absolute; - width: 1px; - height: 1px; - content: ""; -} - -.content-ios:not([no-bounce]) > .scroll-content::before { - bottom: -1px; -} - -.content-ios:not([no-bounce]) > .scroll-content::after { - top: -1px; -} - -.platform-core .content-ios .scroll-content::after, -.platform-core .content-ios .scroll-content::before { - position: initial; - top: initial; - bottom: initial; - width: initial; - height: initial; -} - -.content-md { - color: #000; - background-color: #fff; -} - -.content-md hr { - background-color: rgba(0, 0, 0, 0.08); -} - -ion-app.md [padding] { - padding: 16px; -} - -ion-app.md [padding-top] { - padding-top: 16px; -} - -ion-app.md [padding-left] { - padding-left: 16px; -} - -ion-app.md [padding-right] { - padding-right: 16px; -} - -ion-app.md [padding-bottom] { - padding-bottom: 16px; -} - -ion-app.md [padding-vertical] { - padding-top: 16px; - padding-bottom: 16px; -} - -ion-app.md [padding-horizontal] { - padding-left: 16px; - padding-right: 16px; -} - -ion-app.md [padding] .scroll-content { - padding: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-top: 16px; - padding-bottom: 16px; - padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.md [padding-top] .scroll-content { - padding-top: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-top] .scroll-content { - padding-top: 16px; - padding-top: 16px; - } -} - -ion-app.md [padding-left] .scroll-content { - padding-left: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-left] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.md [padding-right] .scroll-content { - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-right] .scroll-content { - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.md [padding-bottom] .scroll-content { - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-bottom] .scroll-content { - padding-bottom: 16px; - padding-bottom: 16px; - } -} - -ion-app.md [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; - padding-top: 16px; - padding-bottom: 16px; - } -} - -ion-app.md [padding-horizontal] .scroll-content { - padding-left: 16px; - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-horizontal] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.md [margin], -ion-app.md [margin] .scroll-content { - margin: 16px; -} - -ion-app.md [margin-top], -ion-app.md [margin-top] .scroll-content { - margin-top: 16px; -} - -ion-app.md [margin-left], -ion-app.md [margin-left] .scroll-content { - margin-left: 16px; -} - -ion-app.md [margin-start], -ion-app.md [margin-start] .scroll-content { - margin-left: 16px; -} - -ion-app.md [margin-right], -ion-app.md [margin-right] .scroll-content { - margin-right: 16px; -} - -ion-app.md [margin-end], -ion-app.md [margin-end] .scroll-content { - margin-right: 16px; -} - -ion-app.md [margin-bottom], -ion-app.md [margin-bottom] .scroll-content { - margin-bottom: 16px; -} - -ion-app.md [margin-vertical], -ion-app.md [margin-vertical] .scroll-content { - margin-top: 16px; - margin-bottom: 16px; -} - -ion-app.md [margin-horizontal], -ion-app.md [margin-horizontal] .scroll-content { - margin-left: 16px; - margin-right: 16px; -} - -.content-wp { - color: #000; - background-color: #fff; -} - -.content-wp hr { - background-color: rgba(0, 0, 0, 0.08); -} - -ion-app.wp [padding] { - padding: 16px; -} - -ion-app.wp [padding-top] { - padding-top: 16px; -} - -ion-app.wp [padding-left] { - padding-left: 16px; -} - -ion-app.wp [padding-right] { - padding-right: 16px; -} - -ion-app.wp [padding-bottom] { - padding-bottom: 16px; -} - -ion-app.wp [padding-vertical] { - padding-top: 16px; - padding-bottom: 16px; -} - -ion-app.wp [padding-horizontal] { - padding-left: 16px; - padding-right: 16px; -} - -ion-app.wp [padding] .scroll-content { - padding: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-top: 16px; - padding-bottom: 16px; - padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.wp [padding-top] .scroll-content { - padding-top: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-top] .scroll-content { - padding-top: 16px; - padding-top: 16px; - } -} - -ion-app.wp [padding-left] .scroll-content { - padding-left: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-left] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.wp [padding-right] .scroll-content { - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-right] .scroll-content { - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.wp [padding-bottom] .scroll-content { - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-bottom] .scroll-content { - padding-bottom: 16px; - padding-bottom: 16px; - } -} - -ion-app.wp [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; - padding-top: 16px; - padding-bottom: 16px; - } -} - -ion-app.wp [padding-horizontal] .scroll-content { - padding-left: 16px; - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-horizontal] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.wp [margin], -ion-app.wp [margin] .scroll-content { - margin: 16px; -} - -ion-app.wp [margin-top], -ion-app.wp [margin-top] .scroll-content { - margin-top: 16px; -} - -ion-app.wp [margin-left], -ion-app.wp [margin-left] .scroll-content { - margin-left: 16px; -} - -ion-app.wp [margin-start], -ion-app.wp [margin-start] .scroll-content { - margin-left: 16px; -} - -ion-app.wp [margin-right], -ion-app.wp [margin-right] .scroll-content { - margin-right: 16px; -} - -ion-app.wp [margin-end], -ion-app.wp [margin-end] .scroll-content { - margin-right: 16px; -} - -ion-app.wp [margin-bottom], -ion-app.wp [margin-bottom] .scroll-content { - margin-bottom: 16px; -} - -ion-app.wp [margin-vertical], -ion-app.wp [margin-vertical] .scroll-content { - margin-top: 16px; - margin-bottom: 16px; -} - -ion-app.wp [margin-horizontal], -ion-app.wp [margin-horizontal] .scroll-content { - margin-left: 16px; - margin-right: 16px; -} - -ion-datetime { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; -} - -.datetime-text { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - min-width: 16px; - min-height: 1.2em; - font-size: inherit; - line-height: 1.2; - text-overflow: ellipsis; - white-space: nowrap; -} - -.datetime-disabled, -.item-datetime-disabled ion-label { - opacity: .4; - pointer-events: none; -} - -.item-label-stacked ion-datetime, -.item-label-floating ion-datetime { - padding-left: 0; - width: 100%; -} - -.datetime-ios { - padding: 11px 8px 11px 16px; -} - -.datetime-ios .datetime-placeholder { - color: #999; -} - -.datetime-md { - padding: 13px 8px 13px 16px; -} - -.datetime-md .datetime-placeholder { - color: #999; -} - -.datetime-wp { - padding: 13px 8px 13px 16px; - min-width: 45%; -} - -.datetime-wp .datetime-text { - padding: 0 8px; - min-height: 3.4rem; - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; -} - -.item-datetime .datetime-wp ion-label[floating] { - -webkit-transform: translate3d(8px, 41px, 0); - transform: translate3d(8px, 41px, 0); -} - -.datetime-wp .datetime-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.fab { - text-align: center; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - border-radius: 50%; - position: relative; - z-index: 0; - display: block; - overflow: hidden; - width: 56px; - height: 56px; - font-size: 14px; - line-height: 56px; - text-overflow: ellipsis; - text-transform: none; - white-space: nowrap; - cursor: pointer; - -webkit-transition: background-color, opacity 100ms linear; - transition: background-color, opacity 100ms linear; - background-clip: padding-box; - -webkit-font-kerning: none; - font-kerning: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - contain: strict; -} - -.fab ion-icon { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - font-size: 2.4rem; -} - -.fab[mini] { - margin: 8px; - width: 40px; - height: 40px; - line-height: 40px; -} - -.fab[mini] .fab-close-icon { - line-height: 40px; -} - -ion-fab { - position: absolute; - z-index: 999; -} - -ion-fab[center] { - left: 50%; - margin-left: -28px; -} - -ion-fab[middle] { - margin-top: -28px; - top: 50%; -} - -ion-fab[top] { - top: 10px; -} - -ion-fab[right] { - right: 10px; - right: calc(10px + constant(safe-area-inset-right)); - right: calc(10px + env(safe-area-inset-right)); -} - -ion-fab[end] { - right: 10px; - right: calc(constant(safe-area-inset-right) + 10px); - right: calc(env(safe-area-inset-right) + 10px); -} - -ion-fab[bottom] { - bottom: 10px; -} - -ion-fab[left] { - left: 10px; - left: calc(10px + constant(safe-area-inset-left)); - left: calc(10px + env(safe-area-inset-left)); -} - -ion-fab[start] { - left: 10px; - left: calc(constant(safe-area-inset-left) + 10px); - left: calc(env(safe-area-inset-left) + 10px); -} - -ion-fab[top][edge] { - top: -28px; -} - -ion-fab[bottom][edge] { - bottom: -28px; -} - -ion-fab-list { - margin: 66px 0; - position: absolute; - top: 0; - display: none; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - min-width: 56px; - min-height: 56px; -} - -.fab-in-list { - margin: 8px 0; - width: 40px; - height: 40px; - opacity: 0; - visibility: hidden; - -webkit-transform: scale(0); - transform: scale(0); -} - -.fab-in-list.show { - opacity: 1; - visibility: visible; - -webkit-transform: scale(1); - transform: scale(1); -} - -ion-fab-list[side=left] .fab-in-list, -ion-fab-list[side=right] .fab-in-list { - margin: 0 8px; -} - -ion-fab-list[side=top] { - top: auto; - bottom: 0; - -webkit-box-orient: vertical; - -webkit-box-direction: reverse; - -webkit-flex-direction: column-reverse; - -ms-flex-direction: column-reverse; - flex-direction: column-reverse; -} - -ion-fab-list[side=left] { - margin: 0 66px; - right: 0; - -webkit-box-orient: horizontal; - -webkit-box-direction: reverse; - -webkit-flex-direction: row-reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; -} - -ion-fab-list[side=right] { - margin: 0 66px; - left: 0; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.fab-list-active { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.fab-close-icon { - left: 0; - right: 0; - top: 0; - position: absolute; - line-height: 56px; - opacity: 0; - -webkit-transform: scale(0.4) rotateZ(-45deg); - transform: scale(0.4) rotateZ(-45deg); - -webkit-transition: all ease-in-out 300ms; - transition: all ease-in-out 300ms; - -webkit-transition-property: opacity, -webkit-transform; - transition-property: opacity, -webkit-transform; - transition-property: transform, opacity; - transition-property: transform, opacity, -webkit-transform; -} - -.fab .button-inner { - -webkit-transition: all ease-in-out 300ms; - transition: all ease-in-out 300ms; - -webkit-transition-property: opacity, -webkit-transform; - transition-property: opacity, -webkit-transform; - transition-property: transform, opacity; - transition-property: transform, opacity, -webkit-transform; -} - -.fab-close-active .fab-close-icon { - opacity: 1; - -webkit-transform: scale(1) rotateZ(0deg); - transform: scale(1) rotateZ(0deg); -} - -.fab-close-active .button-inner { - opacity: 0; - -webkit-transform: scale(0.4) rotateZ(45deg); - transform: scale(0.4) rotateZ(45deg); -} - -.fab-ios { - color: #fff; - background-color: #673AB7; -} - -.fab-ios.activated { - background-color: #734abd; -} - -.fab-ios-in-list { - color: #000; - background-color: #f4f4f4; - -webkit-transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; -} - -.fab-ios-in-list.activated { - background-color: #e0e0e0; -} - -.fab-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.fab-ios-primary.activated { - background-color: #734abd; -} - -.fab-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.fab-ios-secondary.activated { - background-color: #2ec95c; -} - -.fab-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.fab-ios-danger.activated { - background-color: #e13838; -} - -.fab-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.fab-ios-light.activated { - background-color: #e0e0e0; -} - -.fab-ios-dark { - color: #fff; - background-color: #222; -} - -.fab-ios-dark.activated { - background-color: #343434; -} - -.fab-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.fab-ios-optblue.activated { - background-color: #e21615; -} - -.fab-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.fab-ios-gray.activated { - background-color: #c9c7c7; -} - -.fab-ios-green { - color: #fff; - background-color: #1dc764; -} - -.fab-ios-green.activated { - background-color: #2fcb70; -} - -.fab-md { - color: #fff; - background-color: #673AB7; - -webkit-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1); - box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1); - -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.fab-md.activated { - background-color: #734abd; - -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4), 0 4px 7px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4), 0 4px 7px 0 rgba(0, 0, 0, 0.1); -} - -.fab-md-in-list { - color: #000; - background-color: #f4f4f4; - -webkit-transition: opacity 200ms ease 10ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: opacity 200ms ease 10ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.fab-md-in-list.activated { - background-color: #e0e0e0; -} - -.fab-md .button-effect { - background-color: #fff; -} - -.fab-md-primary { - color: #fff; - background-color: #673AB7; -} - -.fab-md-primary.activated { - background-color: #734abd; -} - -.fab-md-primary .button-effect { - background-color: #fff; -} - -.fab-md-secondary { - color: #fff; - background-color: #32db64; -} - -.fab-md-secondary.activated { - background-color: #2ec95c; -} - -.fab-md-secondary .button-effect { - background-color: #fff; -} - -.fab-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.fab-md-danger.activated { - background-color: #e13838; -} - -.fab-md-danger .button-effect { - background-color: #fff; -} - -.fab-md-light { - color: #000; - background-color: #f4f4f4; -} - -.fab-md-light.activated { - background-color: #e0e0e0; -} - -.fab-md-light .button-effect { - background-color: #000; -} - -.fab-md-dark { - color: #fff; - background-color: #222; -} - -.fab-md-dark.activated { - background-color: #343434; -} - -.fab-md-dark .button-effect { - background-color: #fff; -} - -.fab-md-optblue { - color: #fff; - background-color: #E00201; -} - -.fab-md-optblue.activated { - background-color: #e21615; -} - -.fab-md-optblue .button-effect { - background-color: #fff; -} - -.fab-md-gray { - color: #000; - background-color: #dad8d8; -} - -.fab-md-gray.activated { - background-color: #c9c7c7; -} - -.fab-md-gray .button-effect { - background-color: #000; -} - -.fab-md-green { - color: #fff; - background-color: #1dc764; -} - -.fab-md-green.activated { - background-color: #2fcb70; -} - -.fab-md-green .button-effect { - background-color: #fff; -} - -.fab-wp { - color: #fff; - background-color: #673AB7; -} - -.fab-wp.activated { - background-color: #734abd; -} - -.fab-wp-in-list { - color: #000; - background-color: #f4f4f4; - -webkit-transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; -} - -.fab-wp-in-list.activated { - background-color: #e0e0e0; -} - -.fab-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.fab-wp-primary.activated { - background-color: #734abd; -} - -.fab-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.fab-wp-secondary.activated { - background-color: #2ec95c; -} - -.fab-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.fab-wp-danger.activated { - background-color: #e13838; -} - -.fab-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.fab-wp-light.activated { - background-color: #e0e0e0; -} - -.fab-wp-dark { - color: #fff; - background-color: #222; -} - -.fab-wp-dark.activated { - background-color: #343434; -} - -.fab-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.fab-wp-optblue.activated { - background-color: #e21615; -} - -.fab-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.fab-wp-gray.activated { - background-color: #c9c7c7; -} - -.fab-wp-green { - color: #fff; - background-color: #1dc764; -} - -.fab-wp-green.activated { - background-color: #2fcb70; -} - -.grid { - padding: 5px; - margin-left: auto; - margin-right: auto; - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.grid[no-padding] { - padding: 0; -} - -.grid[no-padding] > .row > .col { - padding: 0; -} - -@media (min-width: 576px) { - .grid[fixed] { - width: 540px; - max-width: 100%; - } -} - -@media (min-width: 768px) { - .grid[fixed] { - width: 720px; - max-width: 100%; - } -} - -@media (min-width: 992px) { - .grid[fixed] { - width: 960px; - max-width: 100%; - } -} - -@media (min-width: 1200px) { - .grid[fixed] { - width: 1140px; - max-width: 100%; - } -} - -.row { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.row[nowrap] { - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.row[wrap-reverse] { - -webkit-flex-wrap: wrap-reverse; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} - -.row[align-items-start] { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -.row[align-items-center] { - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.row[align-items-end] { - -webkit-box-align: end; - -webkit-align-items: flex-end; - -ms-flex-align: end; - align-items: flex-end; -} - -.row[align-items-stretch] { - -webkit-box-align: stretch; - -webkit-align-items: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.row[align-items-baseline] { - -webkit-box-align: baseline; - -webkit-align-items: baseline; - -ms-flex-align: baseline; - align-items: baseline; -} - -.row[justify-content-start] { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.row[justify-content-center] { - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -.row[justify-content-end] { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.row[justify-content-around] { - -webkit-justify-content: space-around; - -ms-flex-pack: distribute; - justify-content: space-around; -} - -.row[justify-content-between] { - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} - -.col { - padding: 5px; - position: relative; - width: 100%; - margin: 0; - min-height: 1px; - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; -} - -.col[align-self-start] { - -webkit-align-self: flex-start; - -ms-flex-item-align: start; - align-self: flex-start; -} - -.col[align-self-end] { - -webkit-align-self: flex-end; - -ms-flex-item-align: end; - align-self: flex-end; -} - -.col[align-self-center] { - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; -} - -.col[align-self-stretch] { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; -} - -.col[align-self-baseline] { - -webkit-align-self: baseline; - -ms-flex-item-align: baseline; - align-self: baseline; -} - -[col-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-1] { - padding: 5px; - } -} - -[col-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-2] { - padding: 5px; - } -} - -[col-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-3] { - padding: 5px; - } -} - -[col-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-4] { - padding: 5px; - } -} - -[col-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-5] { - padding: 5px; - } -} - -[col-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-6] { - padding: 5px; - } -} - -[col-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-7] { - padding: 5px; - } -} - -[col-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-8] { - padding: 5px; - } -} - -[col-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-9] { - padding: 5px; - } -} - -[col-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-10] { - padding: 5px; - } -} - -[col-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-11] { - padding: 5px; - } -} - -[col-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-12] { - padding: 5px; - } -} - -[col] { - padding: 5px; -} - -@media (min-width: 576px) { - [col] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col] { - padding: 5px; - } -} - -[col] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; -} - -[col-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; -} - -[col-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; -} - -[col-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; -} - -[col-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; -} - -[col-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; -} - -[col-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; -} - -[col-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; -} - -[col-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; -} - -[col-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; -} - -[col-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; -} - -[col-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; -} - -[col-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; -} - -[col-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; -} - -[pull-0] { - right: auto; -} - -[pull-1] { - right: 8.33333%; -} - -[pull-2] { - right: 16.66667%; -} - -[pull-3] { - right: 25%; -} - -[pull-4] { - right: 33.33333%; -} - -[pull-5] { - right: 41.66667%; -} - -[pull-6] { - right: 50%; -} - -[pull-7] { - right: 58.33333%; -} - -[pull-8] { - right: 66.66667%; -} - -[pull-9] { - right: 75%; -} - -[pull-10] { - right: 83.33333%; -} - -[pull-11] { - right: 91.66667%; -} - -[pull-12] { - right: 100%; -} - -[push-0] { - left: auto; -} - -[push-1] { - left: 8.33333%; -} - -[push-2] { - left: 16.66667%; -} - -[push-3] { - left: 25%; -} - -[push-4] { - left: 33.33333%; -} - -[push-5] { - left: 41.66667%; -} - -[push-6] { - left: 50%; -} - -[push-7] { - left: 58.33333%; -} - -[push-8] { - left: 66.66667%; -} - -[push-9] { - left: 75%; -} - -[push-10] { - left: 83.33333%; -} - -[push-11] { - left: 91.66667%; -} - -[push-12] { - left: 100%; -} - -[offset-1] { - margin-left: 8.33333%; -} - -[offset-2] { - margin-left: 16.66667%; -} - -[offset-3] { - margin-left: 25%; -} - -[offset-4] { - margin-left: 33.33333%; -} - -[offset-5] { - margin-left: 41.66667%; -} - -[offset-6] { - margin-left: 50%; -} - -[offset-7] { - margin-left: 58.33333%; -} - -[offset-8] { - margin-left: 66.66667%; -} - -[offset-9] { - margin-left: 75%; -} - -[offset-10] { - margin-left: 83.33333%; -} - -[offset-11] { - margin-left: 91.66667%; -} - -[col-sm-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-1] { - padding: 5px; - } -} - -[col-sm-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-2] { - padding: 5px; - } -} - -[col-sm-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-3] { - padding: 5px; - } -} - -[col-sm-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-4] { - padding: 5px; - } -} - -[col-sm-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-5] { - padding: 5px; - } -} - -[col-sm-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-6] { - padding: 5px; - } -} - -[col-sm-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-7] { - padding: 5px; - } -} - -[col-sm-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-8] { - padding: 5px; - } -} - -[col-sm-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-9] { - padding: 5px; - } -} - -[col-sm-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-10] { - padding: 5px; - } -} - -[col-sm-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-11] { - padding: 5px; - } -} - -[col-sm-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-12] { - padding: 5px; - } -} - -[col-sm] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 576px) { - [col-sm] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-sm-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-sm-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-sm-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-sm-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-sm-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-sm-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-sm-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-sm-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-sm-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-sm-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-sm-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-sm-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-sm-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-sm-0] { - right: auto; - } - [pull-sm-1] { - right: 8.33333%; - } - [pull-sm-2] { - right: 16.66667%; - } - [pull-sm-3] { - right: 25%; - } - [pull-sm-4] { - right: 33.33333%; - } - [pull-sm-5] { - right: 41.66667%; - } - [pull-sm-6] { - right: 50%; - } - [pull-sm-7] { - right: 58.33333%; - } - [pull-sm-8] { - right: 66.66667%; - } - [pull-sm-9] { - right: 75%; - } - [pull-sm-10] { - right: 83.33333%; - } - [pull-sm-11] { - right: 91.66667%; - } - [pull-sm-12] { - right: 100%; - } - [push-sm-0] { - left: auto; - } - [push-sm-1] { - left: 8.33333%; - } - [push-sm-2] { - left: 16.66667%; - } - [push-sm-3] { - left: 25%; - } - [push-sm-4] { - left: 33.33333%; - } - [push-sm-5] { - left: 41.66667%; - } - [push-sm-6] { - left: 50%; - } - [push-sm-7] { - left: 58.33333%; - } - [push-sm-8] { - left: 66.66667%; - } - [push-sm-9] { - left: 75%; - } - [push-sm-10] { - left: 83.33333%; - } - [push-sm-11] { - left: 91.66667%; - } - [push-sm-12] { - left: 100%; - } - [offset-sm-0] { - margin-left: 0%; - } - [offset-sm-1] { - margin-left: 8.33333%; - } - [offset-sm-2] { - margin-left: 16.66667%; - } - [offset-sm-3] { - margin-left: 25%; - } - [offset-sm-4] { - margin-left: 33.33333%; - } - [offset-sm-5] { - margin-left: 41.66667%; - } - [offset-sm-6] { - margin-left: 50%; - } - [offset-sm-7] { - margin-left: 58.33333%; - } - [offset-sm-8] { - margin-left: 66.66667%; - } - [offset-sm-9] { - margin-left: 75%; - } - [offset-sm-10] { - margin-left: 83.33333%; - } - [offset-sm-11] { - margin-left: 91.66667%; - } -} - -[col-md-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-1] { - padding: 5px; - } -} - -[col-md-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-2] { - padding: 5px; - } -} - -[col-md-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-3] { - padding: 5px; - } -} - -[col-md-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-4] { - padding: 5px; - } -} - -[col-md-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-5] { - padding: 5px; - } -} - -[col-md-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-6] { - padding: 5px; - } -} - -[col-md-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-7] { - padding: 5px; - } -} - -[col-md-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-8] { - padding: 5px; - } -} - -[col-md-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-9] { - padding: 5px; - } -} - -[col-md-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-10] { - padding: 5px; - } -} - -[col-md-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-11] { - padding: 5px; - } -} - -[col-md-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-12] { - padding: 5px; - } -} - -[col-md] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-md-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-md-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-md-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-md-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-md-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-md-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-md-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-md-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-md-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-md-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-md-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-md-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-md-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-md-0] { - right: auto; - } - [pull-md-1] { - right: 8.33333%; - } - [pull-md-2] { - right: 16.66667%; - } - [pull-md-3] { - right: 25%; - } - [pull-md-4] { - right: 33.33333%; - } - [pull-md-5] { - right: 41.66667%; - } - [pull-md-6] { - right: 50%; - } - [pull-md-7] { - right: 58.33333%; - } - [pull-md-8] { - right: 66.66667%; - } - [pull-md-9] { - right: 75%; - } - [pull-md-10] { - right: 83.33333%; - } - [pull-md-11] { - right: 91.66667%; - } - [pull-md-12] { - right: 100%; - } - [push-md-0] { - left: auto; - } - [push-md-1] { - left: 8.33333%; - } - [push-md-2] { - left: 16.66667%; - } - [push-md-3] { - left: 25%; - } - [push-md-4] { - left: 33.33333%; - } - [push-md-5] { - left: 41.66667%; - } - [push-md-6] { - left: 50%; - } - [push-md-7] { - left: 58.33333%; - } - [push-md-8] { - left: 66.66667%; - } - [push-md-9] { - left: 75%; - } - [push-md-10] { - left: 83.33333%; - } - [push-md-11] { - left: 91.66667%; - } - [push-md-12] { - left: 100%; - } - [offset-md-0] { - margin-left: 0%; - } - [offset-md-1] { - margin-left: 8.33333%; - } - [offset-md-2] { - margin-left: 16.66667%; - } - [offset-md-3] { - margin-left: 25%; - } - [offset-md-4] { - margin-left: 33.33333%; - } - [offset-md-5] { - margin-left: 41.66667%; - } - [offset-md-6] { - margin-left: 50%; - } - [offset-md-7] { - margin-left: 58.33333%; - } - [offset-md-8] { - margin-left: 66.66667%; - } - [offset-md-9] { - margin-left: 75%; - } - [offset-md-10] { - margin-left: 83.33333%; - } - [offset-md-11] { - margin-left: 91.66667%; - } -} - -[col-lg-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-1] { - padding: 5px; - } -} - -[col-lg-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-2] { - padding: 5px; - } -} - -[col-lg-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-3] { - padding: 5px; - } -} - -[col-lg-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-4] { - padding: 5px; - } -} - -[col-lg-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-5] { - padding: 5px; - } -} - -[col-lg-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-6] { - padding: 5px; - } -} - -[col-lg-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-7] { - padding: 5px; - } -} - -[col-lg-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-8] { - padding: 5px; - } -} - -[col-lg-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-9] { - padding: 5px; - } -} - -[col-lg-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-10] { - padding: 5px; - } -} - -[col-lg-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-11] { - padding: 5px; - } -} - -[col-lg-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-12] { - padding: 5px; - } -} - -[col-lg] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-lg-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-lg-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-lg-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-lg-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-lg-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-lg-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-lg-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-lg-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-lg-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-lg-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-lg-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-lg-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-lg-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-lg-0] { - right: auto; - } - [pull-lg-1] { - right: 8.33333%; - } - [pull-lg-2] { - right: 16.66667%; - } - [pull-lg-3] { - right: 25%; - } - [pull-lg-4] { - right: 33.33333%; - } - [pull-lg-5] { - right: 41.66667%; - } - [pull-lg-6] { - right: 50%; - } - [pull-lg-7] { - right: 58.33333%; - } - [pull-lg-8] { - right: 66.66667%; - } - [pull-lg-9] { - right: 75%; - } - [pull-lg-10] { - right: 83.33333%; - } - [pull-lg-11] { - right: 91.66667%; - } - [pull-lg-12] { - right: 100%; - } - [push-lg-0] { - left: auto; - } - [push-lg-1] { - left: 8.33333%; - } - [push-lg-2] { - left: 16.66667%; - } - [push-lg-3] { - left: 25%; - } - [push-lg-4] { - left: 33.33333%; - } - [push-lg-5] { - left: 41.66667%; - } - [push-lg-6] { - left: 50%; - } - [push-lg-7] { - left: 58.33333%; - } - [push-lg-8] { - left: 66.66667%; - } - [push-lg-9] { - left: 75%; - } - [push-lg-10] { - left: 83.33333%; - } - [push-lg-11] { - left: 91.66667%; - } - [push-lg-12] { - left: 100%; - } - [offset-lg-0] { - margin-left: 0%; - } - [offset-lg-1] { - margin-left: 8.33333%; - } - [offset-lg-2] { - margin-left: 16.66667%; - } - [offset-lg-3] { - margin-left: 25%; - } - [offset-lg-4] { - margin-left: 33.33333%; - } - [offset-lg-5] { - margin-left: 41.66667%; - } - [offset-lg-6] { - margin-left: 50%; - } - [offset-lg-7] { - margin-left: 58.33333%; - } - [offset-lg-8] { - margin-left: 66.66667%; - } - [offset-lg-9] { - margin-left: 75%; - } - [offset-lg-10] { - margin-left: 83.33333%; - } - [offset-lg-11] { - margin-left: 91.66667%; - } -} - -[col-xl-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-1] { - padding: 5px; - } -} - -[col-xl-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-2] { - padding: 5px; - } -} - -[col-xl-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-3] { - padding: 5px; - } -} - -[col-xl-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-4] { - padding: 5px; - } -} - -[col-xl-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-5] { - padding: 5px; - } -} - -[col-xl-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-6] { - padding: 5px; - } -} - -[col-xl-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-7] { - padding: 5px; - } -} - -[col-xl-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-8] { - padding: 5px; - } -} - -[col-xl-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-9] { - padding: 5px; - } -} - -[col-xl-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-10] { - padding: 5px; - } -} - -[col-xl-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-11] { - padding: 5px; - } -} - -[col-xl-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-12] { - padding: 5px; - } -} - -[col-xl] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-xl-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-xl-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-xl-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-xl-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-xl-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-xl-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-xl-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-xl-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-xl-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-xl-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-xl-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-xl-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-xl-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-xl-0] { - right: auto; - } - [pull-xl-1] { - right: 8.33333%; - } - [pull-xl-2] { - right: 16.66667%; - } - [pull-xl-3] { - right: 25%; - } - [pull-xl-4] { - right: 33.33333%; - } - [pull-xl-5] { - right: 41.66667%; - } - [pull-xl-6] { - right: 50%; - } - [pull-xl-7] { - right: 58.33333%; - } - [pull-xl-8] { - right: 66.66667%; - } - [pull-xl-9] { - right: 75%; - } - [pull-xl-10] { - right: 83.33333%; - } - [pull-xl-11] { - right: 91.66667%; - } - [pull-xl-12] { - right: 100%; - } - [push-xl-0] { - left: auto; - } - [push-xl-1] { - left: 8.33333%; - } - [push-xl-2] { - left: 16.66667%; - } - [push-xl-3] { - left: 25%; - } - [push-xl-4] { - left: 33.33333%; - } - [push-xl-5] { - left: 41.66667%; - } - [push-xl-6] { - left: 50%; - } - [push-xl-7] { - left: 58.33333%; - } - [push-xl-8] { - left: 66.66667%; - } - [push-xl-9] { - left: 75%; - } - [push-xl-10] { - left: 83.33333%; - } - [push-xl-11] { - left: 91.66667%; - } - [push-xl-12] { - left: 100%; - } - [offset-xl-0] { - margin-left: 0%; - } - [offset-xl-1] { - margin-left: 8.33333%; - } - [offset-xl-2] { - margin-left: 16.66667%; - } - [offset-xl-3] { - margin-left: 25%; - } - [offset-xl-4] { - margin-left: 33.33333%; - } - [offset-xl-5] { - margin-left: 41.66667%; - } - [offset-xl-6] { - margin-left: 50%; - } - [offset-xl-7] { - margin-left: 58.33333%; - } - [offset-xl-8] { - margin-left: 66.66667%; - } - [offset-xl-9] { - margin-left: 75%; - } - [offset-xl-10] { - margin-left: 83.33333%; - } - [offset-xl-11] { - margin-left: 91.66667%; - } -} - -ion-icon { - display: inline-block; - font-size: 1.2em; -} - -ion-icon[small] { - min-height: 1.1em; - font-size: 1.1em; -} - -.icon-ios-primary { - color: #673AB7; -} - -.icon-ios-secondary { - color: #32db64; -} - -.icon-ios-danger { - color: #f53d3d; -} - -.icon-ios-light { - color: #f4f4f4; -} - -.icon-ios-dark { - color: #222; -} - -.icon-ios-optblue { - color: #E00201; -} - -.icon-ios-gray { - color: #dad8d8; -} - -.icon-ios-green { - color: #1dc764; -} - -.icon-md-primary { - color: #673AB7; -} - -.icon-md-secondary { - color: #32db64; -} - -.icon-md-danger { - color: #f53d3d; -} - -.icon-md-light { - color: #f4f4f4; -} - -.icon-md-dark { - color: #222; -} - -.icon-md-optblue { - color: #E00201; -} - -.icon-md-gray { - color: #dad8d8; -} - -.icon-md-green { - color: #1dc764; -} - -.icon-wp-primary { - color: #673AB7; -} - -.icon-wp-secondary { - color: #32db64; -} - -.icon-wp-danger { - color: #f53d3d; -} - -.icon-wp-light { - color: #f4f4f4; -} - -.icon-wp-dark { - color: #222; -} - -.icon-wp-optblue { - color: #E00201; -} - -.icon-wp-gray { - color: #dad8d8; -} - -.icon-wp-green { - color: #1dc764; -} - -ion-img { - display: inline-block; - min-width: 20px; - min-height: 20px; - background: #eee; - contain: strict; -} - -ion-img img { - -o-object-fit: cover; - object-fit: cover; -} - -ion-img.img-unloaded img { - display: none; -} - -ion-img.img-loaded img { - display: block; -} - -ion-infinite-scroll { - display: block; - width: 100%; -} - -ion-infinite-scroll-content { - text-align: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - height: 100%; - min-height: 84px; -} - -.infinite-loading { - display: none; - width: 100%; - margin: 0 0 32px; -} - -.infinite-loading-text { - color: #666; - margin: 4px 32px 0; -} - -.infinite-loading-spinner .spinner-ios line, -.infinite-loading-spinner .spinner-ios-small line, -.infinite-loading-spinner .spinner-crescent circle { - stroke: #666; -} - -.infinite-loading-spinner .spinner-bubbles circle, -.infinite-loading-spinner .spinner-circles circle, -.infinite-loading-spinner .spinner-dots circle { - fill: #666; -} - -ion-infinite-scroll-content[state=loading] .infinite-loading { - display: block; -} - -ion-infinite-scroll-content[state=disabled] { - display: none; -} - -ion-input, -ion-textarea { - position: relative; - display: block; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - -.item-input ion-input, -.item-input ion-textarea { - position: static; -} - -.item.item-textarea { - -webkit-box-align: stretch; - -webkit-align-items: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.text-input { - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - border-radius: 0; - display: inline-block; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 92%; - width: calc(100% - 10px); - border: 0; - background: transparent; -} - -.text-input::-moz-placeholder { - color: #999; -} - -.text-input:-ms-input-placeholder { - color: #999; -} - -.text-input::-webkit-input-placeholder { - text-indent: 0; - color: #999; -} - -textarea.text-input { - display: block; -} - -.text-input[disabled] { - opacity: .4; -} - -input.text-input:-webkit-autofill { - background-color: transparent; -} - -.platform-mobile textarea.text-input { - resize: none; -} - -.input-cover { - left: 0; - top: 0; - position: absolute; - width: 100%; - height: 100%; - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -.input[disabled] .input-cover { - pointer-events: none; -} - -.item-input-has-focus .input-cover, -.input-has-focus .input-cover { - display: none; -} - -.item-input-has-focus, -.input-has-focus { - pointer-events: none; -} - -.item-input-has-focus input, -.input-has-focus input, -.item-input-has-focus textarea, -.input-has-focus textarea, -.item-input-has-focus a, -.input-has-focus a, -.item-input-has-focus button, -.input-has-focus button { - pointer-events: auto; -} - -.text-input-clear-icon { - margin: 0; - padding: 0; - background-position: center; - position: absolute; - top: 0; - display: none; - height: 100%; - background-repeat: no-repeat; -} - -.item-input-has-focus.item-input-has-value .text-input-clear-icon, -.input-has-focus.input-has-value .text-input-clear-icon { - display: block; -} - -.text-input-ios { - margin: 11px 8px 11px 0; - padding: 0; - width: calc(100% - 8px); -} - -.input-ios .inset-input { - padding: 5.5px 8px; - margin: 5.5px 16px 5.5px 0; -} - -.item-ios.item-label-stacked .text-input, -.item-ios.item-label-floating .text-input { - margin-left: 0; - margin-top: 8px; - margin-bottom: 8px; - width: calc(100% - 8px); -} - -.item-ios.item-label-stacked .label-ios + .input + .cloned-input, -.item-ios.item-label-floating .label-ios + .input + .cloned-input { - margin-left: 0; -} - -.item-label-stacked .select-ios, -.item-label-floating .select-ios { - padding-left: 0; - padding-top: 8px; - padding-bottom: 8px; -} - -.input-ios[clearInput] { - position: relative; -} - -.input-ios[clearInput] .text-input { - padding-right: 30px; -} - -.input-ios .text-input-clear-icon { - right: 8px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 30px; - background-size: 18px; -} - -.text-input-md { - margin: 13px 8px; - padding: 0; - width: calc(100% - 8px - 8px); -} - -.input-md .inset-input { - padding: 6.5px 8px; - margin: 6.5px 16px; -} - -.item-md.item-input.item-input-has-focus .item-inner, -.item-md.item-input.input-has-focus .item-inner { - border-bottom-color: #673AB7; - -webkit-box-shadow: inset 0 -1px 0 0 #673AB7; - box-shadow: inset 0 -1px 0 0 #673AB7; -} - -.list-md .item-input.item-input-has-focus:last-child, -.list-md .item-input.input-has-focus:last-child { - border-bottom-color: #673AB7; - -webkit-box-shadow: inset 0 -1px 0 0 #673AB7; - box-shadow: inset 0 -1px 0 0 #673AB7; -} - -.list-md .item-input.item-input-has-focus:last-child .item-inner, -.list-md .item-input.input-has-focus:last-child .item-inner { - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner, -.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner { - border-bottom-color: #32db64; - -webkit-box-shadow: inset 0 -1px 0 0 #32db64; - box-shadow: inset 0 -1px 0 0 #32db64; -} - -.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child, -.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child { - border-bottom-color: #32db64; - -webkit-box-shadow: inset 0 -1px 0 0 #32db64; - box-shadow: inset 0 -1px 0 0 #32db64; -} - -.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner, -.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner { - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner { - border-bottom-color: #f53d3d; - -webkit-box-shadow: inset 0 -1px 0 0 #f53d3d; - box-shadow: inset 0 -1px 0 0 #f53d3d; -} - -.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child { - border-bottom-color: #f53d3d; - -webkit-box-shadow: inset 0 -1px 0 0 #f53d3d; - box-shadow: inset 0 -1px 0 0 #f53d3d; -} - -.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner { - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-label-stacked .text-input-md, -.item-label-floating .text-input-md { - margin-left: 0; - margin-top: 8px; - margin-bottom: 8px; - width: calc(100% - 8px); -} - -.item-label-stacked .select-md, -.item-label-floating .select-md { - padding-left: 0; - padding-top: 8px; - padding-bottom: 8px; -} - -.input-md[clearInput] { - position: relative; -} - -.input-md[clearInput] .text-input { - padding-right: 30px; -} - -.input-md .text-input-clear-icon { - right: 8px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 30px; - background-size: 22px; -} - -.text-input-wp { - margin: 13px 8px; - padding: 0 8px; - width: calc(100% - 8px - 8px); - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; -} - -.item-wp .inset-input { - padding: 6.5px 8px; - margin: 6.5px 16px; -} - -.item-wp.item-input.item-input-has-focus .text-input, -.item-wp.item-input.input-has-focus .text-input { - border-color: #673AB7; -} - -.item-wp.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input, -.item-wp.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input { - border-color: #32db64; -} - -.item-wp.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .text-input { - border-color: #f53d3d; -} - -.item-label-stacked .text-input-wp, -.item-label-floating .text-input-wp, -.item-label-stacked .select-wp, -.item-label-floating .select-wp { - margin-left: 0; - margin-top: 8px; - margin-bottom: 8px; - width: calc(100% - 8px); -} - -.item-wp.item-label-stacked [item-right], -.item-wp.item-label-floating [item-right], -.item-wp.item-label-stacked [item-end], -.item-wp.item-label-floating [item-end] { - -webkit-align-self: flex-end; - -ms-flex-item-align: end; - align-self: flex-end; -} - -.input-wp[clearInput] { - position: relative; -} - -.input-wp[clearInput] .text-input { - padding-right: 30px; -} - -.input-wp .text-input-clear-icon { - right: 8px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 30px; - background-size: 22px; -} - -.item { - contain: content; -} - -.item-block { - margin: 0; - padding: 0; - text-align: initial; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - min-height: 4.4rem; - border: 0; - font-weight: normal; - line-height: normal; - text-decoration: none; - color: inherit; -} - -.item-inner { - margin: 0; - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: inherit; - -webkit-box-direction: inherit; - -webkit-flex-direction: inherit; - -ms-flex-direction: inherit; - flex-direction: inherit; - -webkit-box-align: inherit; - -webkit-align-items: inherit; - -ms-flex-align: inherit; - align-items: inherit; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - min-height: inherit; - border: 0; -} - -.input-wrapper { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: inherit; - -webkit-box-direction: inherit; - -webkit-flex-direction: inherit; - -ms-flex-direction: inherit; - flex-direction: inherit; - -webkit-box-align: inherit; - -webkit-align-items: inherit; - -ms-flex-align: inherit; - align-items: inherit; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - text-overflow: ellipsis; -} - -.item[no-lines], -.item.item[no-lines] .item-inner { - border: 0; -} - -ion-item-group { - display: block; -} - -ion-item-divider { - margin: 0; - padding: 0; - z-index: 100; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - min-height: 30px; -} - -ion-item-divider[sticky] { - position: -webkit-sticky; - position: sticky; - top: 0; -} - -[vertical-align-top], -ion-input.item { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -.item > ion-icon[small]:first-child, -.item-inner > ion-icon[small]:first-child { - min-width: 18px; -} - -.item > ion-icon:first-child, -.item-inner > ion-icon:first-child { - text-align: center; - min-width: 24px; -} - -.item > ion-icon, -.item-inner > ion-icon { - min-height: 2.8rem; - font-size: 2.8rem; - line-height: 1; -} - -.item > ion-icon[large], -.item-inner > ion-icon[large] { - min-height: 3.2rem; - font-size: 3.2rem; -} - -.item > ion-icon[small], -.item-inner > ion-icon[small] { - min-height: 1.8rem; - font-size: 1.8rem; -} - -ion-avatar, -ion-thumbnail { - display: block; - line-height: 1; -} - -ion-avatar img, -ion-thumbnail img { - display: block; -} - -.item-cover { - left: 0; - top: 0; - position: absolute; - width: 100%; - height: 100%; - background: transparent; - cursor: pointer; -} - -ion-reorder { - -webkit-transform: translate3d(300%, 0, 0); - transform: translate3d(300%, 0, 0); - display: none; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - max-width: 40px; - height: 100%; - font-size: 1.7em; - opacity: .25; - -webkit-transition: -webkit-transform 140ms ease-in; - transition: -webkit-transform 140ms ease-in; - transition: transform 140ms ease-in; - transition: transform 140ms ease-in, -webkit-transform 140ms ease-in; - pointer-events: all; - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -.reorder-side-start ion-reorder { - -webkit-transform: translate3d(-300%, 0, 0); - transform: translate3d(-300%, 0, 0); - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -ion-reorder ion-icon { - pointer-events: none; -} - -.reorder-enabled ion-reorder { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.reorder-visible ion-reorder { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -.reorder-list-active .item, -.reorder-list-active .item-wrapper { - -webkit-transition: -webkit-transform 300ms; - transition: -webkit-transform 300ms; - transition: transform 300ms; - transition: transform 300ms, -webkit-transform 300ms; - will-change: transform; -} - -.reorder-list-active .item-inner { - pointer-events: none; -} - -.item-wrapper.reorder-active, -.item.reorder-active, -.reorder-active { - z-index: 4; - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); - opacity: .8; - -webkit-transition: none; - transition: none; - pointer-events: none; -} - -ion-item-sliding { - position: relative; - display: block; - overflow: hidden; - width: 100%; -} - -ion-item-sliding .item { - position: static; -} - -ion-item-options { - position: absolute; - z-index: 1; - display: none; - height: 100%; - font-size: 14px; - visibility: hidden; - top: 0; - right: 0; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -ion-item-options[side=left] { - right: auto; - left: 0; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -ion-item-options .button { - margin: 0; - padding: 0 0.7em; - border-radius: 0; - height: 100%; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -ion-item-options .button:last-child { - padding-right: 0.7em; -} - -@media screen and (orientation: landscape) { - ion-item-options .button:last-child { - padding-right: calc(constant(safe-area-inset-right) + 0.7em); - padding-right: calc(env(safe-area-inset-right) + 0.7em); - } -} - -ion-item-options:not([icon-left]) .button:not([icon-only]) .button-inner, -ion-item-options:not([icon-start]) .button:not([icon-only]) .button-inner { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -ion-item-options:not([icon-left]) .button:not([icon-only]) ion-icon, -ion-item-options:not([icon-start]) .button:not([icon-only]) ion-icon { - padding-left: 0; - padding-right: 0; - padding-bottom: 0.3em; -} - -ion-item-sliding.active-slide .item, -ion-item-sliding.active-slide .item.activated { - position: relative; - z-index: 2; - opacity: 1; - -webkit-transition: -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - pointer-events: none; - will-change: transform; -} - -ion-item-sliding.active-slide ion-item-options { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -ion-item-sliding.active-slide.active-options-left ion-item-options[side=left], -ion-item-sliding.active-slide.active-options-right ion-item-options:not([side=left]) { - width: 100%; - visibility: visible; -} - -button[expandable] { - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-transition-duration: 0; - transition-duration: 0; - -webkit-transition-property: none; - transition-property: none; - -webkit-transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1); - transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1); -} - -ion-item-sliding.active-swipe-right button[expandable] { - -webkit-transition-duration: .6s; - transition-duration: .6s; - -webkit-transition-property: padding-left; - transition-property: padding-left; - padding-left: 90%; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; -} - -ion-item-sliding.active-swipe-left button[expandable] { - -webkit-transition-duration: .6s; - transition-duration: .6s; - -webkit-transition-property: padding-right; - transition-property: padding-right; - padding-right: 90%; - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.item-ios { - padding-left: 16px; - padding-left: 16px; - border-radius: 0; - position: relative; - font-size: 1.7rem; - color: #000; - background-color: #fff; - -webkit-transition: background-color 200ms linear; - transition: background-color 200ms linear; -} - -@media screen and (orientation: landscape) { - .item-ios { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -.item-ios.activated { - background-color: #d9d9d9; - -webkit-transition-duration: 0ms; - transition-duration: 0ms; -} - -.item-ios h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.item-ios h2 { - margin: 0 0 2px; - font-size: 1.7rem; - font-weight: normal; -} - -.item-ios h3, -.item-ios h4, -.item-ios h5, -.item-ios h6 { - margin: 0 0 3px; - font-size: 1.4rem; - font-weight: normal; - line-height: normal; -} - -.item-ios p { - overflow: inherit; - font-size: 1.4rem; - line-height: normal; - text-overflow: inherit; - color: #8e9093; - margin: 0 0 2px; -} - -.item-ios h2:last-child, -.item-ios h3:last-child, -.item-ios h4:last-child, -.item-ios h5:last-child, -.item-ios h6:last-child, -.item-ios p:last-child { - margin-bottom: 0; -} - -.item-ios.item-block .item-inner { - padding-right: 8px; - padding-right: 8px; - border-bottom: 0.55px solid #c8c7cc; -} - -@media screen and (orientation: landscape) { - .item-ios.item-block .item-inner { - padding-right: calc(constant(safe-area-inset-right) + 8px); - padding-right: calc(env(safe-area-inset-right) + 8px); - } -} - -.item-ios [item-left], -.item-ios [item-start] { - margin: 8px 16px 8px 0; -} - -.item-ios [item-right], -.item-ios [item-end] { - margin: 8px; -} - -.item-ios ion-icon[item-left], -.item-ios ion-icon[item-right], -.item-ios ion-icon[item-start], -.item-ios ion-icon[item-end] { - margin-left: 0; - margin-top: 9px; - margin-bottom: 8px; -} - -.item-ios .item-button { - padding: 0 0.5em; - height: 24px; - font-size: 1.3rem; -} - -.item-ios .item-button[icon-only] ion-icon, -.item-ios .item-button[icon-only] { - padding: 0 1px; -} - -.item-ios ion-avatar[item-left], -.item-ios ion-thumbnail[item-left], -.item-ios ion-avatar[item-start], -.item-ios ion-thumbnail[item-start] { - margin: 8px 16px 8px 0; -} - -.item-ios ion-avatar[item-right], -.item-ios ion-thumbnail[item-right], -.item-ios ion-avatar[item-end], -.item-ios ion-thumbnail[item-end] { - margin: 8px; -} - -.item-ios ion-avatar { - min-width: 36px; - min-height: 36px; -} - -.item-ios ion-avatar ion-img, -.item-ios ion-avatar img { - border-radius: 50%; - overflow: hidden; - width: 36px; - height: 36px; -} - -.item-ios ion-thumbnail { - min-width: 56px; - min-height: 56px; -} - -.item-ios ion-thumbnail ion-img, -.item-ios ion-thumbnail img { - width: 56px; - height: 56px; -} - -.item-ios[detail-push] .item-inner, -button.item-ios:not([detail-none]) .item-inner, -a.item-ios:not([detail-none]) .item-inner { - background-image: url("data:image/svg+xml;charset=utf-8,"); - padding-right: 32px; - background-position: right 14px center; - background-position: right calc(14px + constant(safe-area-inset-right)) center; - background-position: right calc(14px + env(safe-area-inset-right)) center; - background-repeat: no-repeat; - background-size: 14px 14px; -} - -ion-item-group .item-ios:first-child .item-inner { - border-top-width: 0; -} - -ion-item-group .item-ios:last-child .item-inner, -ion-item-group .item-wrapper:last-child .item-ios .item-inner { - border: 0; -} - -.item-divider-ios { - padding-left: 16px; - padding-left: 16px; - color: #222; - background-color: #f7f7f7; -} - -@media screen and (orientation: landscape) { - .item-divider-ios { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -.item-ios .text-ios-primary { - color: #673AB7; -} - -.item-ios-primary, -.item-divider-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.item-ios-primary p, -.item-divider-ios-primary p { - color: #fff; -} - -.item-ios-primary.activated, -.item-divider-ios-primary.activated { - background-color: #734abd; -} - -.item-ios .text-ios-secondary { - color: #32db64; -} - -.item-ios-secondary, -.item-divider-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.item-ios-secondary p, -.item-divider-ios-secondary p { - color: #fff; -} - -.item-ios-secondary.activated, -.item-divider-ios-secondary.activated { - background-color: #2ec95c; -} - -.item-ios .text-ios-danger { - color: #f53d3d; -} - -.item-ios-danger, -.item-divider-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.item-ios-danger p, -.item-divider-ios-danger p { - color: #fff; -} - -.item-ios-danger.activated, -.item-divider-ios-danger.activated { - background-color: #e13838; -} - -.item-ios .text-ios-light { - color: #f4f4f4; -} - -.item-ios-light, -.item-divider-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.item-ios-light p, -.item-divider-ios-light p { - color: #000; -} - -.item-ios-light.activated, -.item-divider-ios-light.activated { - background-color: #e0e0e0; -} - -.item-ios .text-ios-dark { - color: #222; -} - -.item-ios-dark, -.item-divider-ios-dark { - color: #fff; - background-color: #222; -} - -.item-ios-dark p, -.item-divider-ios-dark p { - color: #fff; -} - -.item-ios-dark.activated, -.item-divider-ios-dark.activated { - background-color: #343434; -} - -.item-ios .text-ios-optblue { - color: #E00201; -} - -.item-ios-optblue, -.item-divider-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.item-ios-optblue p, -.item-divider-ios-optblue p { - color: #fff; -} - -.item-ios-optblue.activated, -.item-divider-ios-optblue.activated { - background-color: #e21615; -} - -.item-ios .text-ios-gray { - color: #dad8d8; -} - -.item-ios-gray, -.item-divider-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.item-ios-gray p, -.item-divider-ios-gray p { - color: #000; -} - -.item-ios-gray.activated, -.item-divider-ios-gray.activated { - background-color: #c9c7c7; -} - -.item-ios .text-ios-green { - color: #1dc764; -} - -.item-ios-green, -.item-divider-ios-green { - color: #fff; - background-color: #1dc764; -} - -.item-ios-green p, -.item-divider-ios-green p { - color: #fff; -} - -.item-ios-green.activated, -.item-divider-ios-green.activated { - background-color: #2fcb70; -} - -.list-ios ion-item-sliding { - background-color: #fff; -} - -.item-md { - padding-left: 16px; - padding-right: 0; - position: relative; - font-size: 1.6rem; - font-weight: normal; - text-transform: none; - color: #000; - background-color: #fff; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.item-md.activated { - background-color: #f1f1f1; -} - -.item-md[no-lines] { - border-width: 0; -} - -.item-md h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.item-md h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; -} - -.item-md h3, -.item-md h4, -.item-md h5, -.item-md h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - line-height: normal; -} - -.item-md p { - margin: 0 0 2px; - overflow: inherit; - font-size: 1.4rem; - line-height: normal; - text-overflow: inherit; - color: #666; -} - -.item-md.item-block .item-inner { - padding-right: 8px; - border-bottom: 1px solid #dedede; -} - -.item-md [item-left], -.item-md [item-right], -.item-md [item-start], -.item-md [item-end] { - margin: 9px 8px 9px 0; -} - -.item-md ion-icon[item-left], -.item-md ion-icon[item-right], -.item-md ion-icon[item-start], -.item-md ion-icon[item-end] { - margin-left: 0; - margin-top: 11px; - margin-bottom: 10px; -} - -.item-md .item-button { - padding: 0 0.6em; - height: 25px; - font-size: 1.2rem; -} - -.item-md .item-button[icon-only] ion-icon, -.item-md .item-button[icon-only] { - padding: 0 1px; -} - -.item-md ion-icon[item-left] + .item-inner, -.item-md ion-icon[item-left] + .item-input, -.item-md ion-icon[item-start] + .item-inner, -.item-md ion-icon[item-start] + .item-input { - margin-left: 24px; -} - -.item-md ion-avatar[item-left], -.item-md ion-thumbnail[item-left], -.item-md ion-avatar[item-start], -.item-md ion-thumbnail[item-start] { - margin: 8px 16px 8px 0; -} - -.item-md ion-avatar[item-right], -.item-md ion-thumbnail[item-right], -.item-md ion-avatar[item-end], -.item-md ion-thumbnail[item-end] { - margin: 8px; -} - -.item-md ion-avatar { - min-width: 40px; - min-height: 40px; -} - -.item-md ion-avatar ion-img, -.item-md ion-avatar img { - border-radius: 50%; - overflow: hidden; - width: 40px; - height: 40px; -} - -.item-md ion-thumbnail { - min-width: 80px; - min-height: 80px; -} - -.item-md ion-thumbnail ion-img, -.item-md ion-thumbnail img { - width: 80px; - height: 80px; -} - -ion-item-group .item-md:first-child .item-inner { - border-top-width: 0; -} - -ion-item-group .item-md:last-child .item-inner, -ion-item-group .item-md .item-wrapper:last-child .item-inner { - border: 0; -} - -.item-divider-md { - padding-left: 16px; - border-bottom: 1px solid #dedede; - font-size: 1.4rem; - color: #858585; - background-color: #fff; -} - -.item-md .text-md-primary { - color: #673AB7; -} - -.item-md-primary, -.item-divider-md-primary { - color: #fff; - background-color: #673AB7; -} - -.item-md-primary p, -.item-divider-md-primary p { - color: #fff; -} - -.item-md-primary.activated, -.item-divider-md-primary.activated { - background-color: #734abd; -} - -.item-md .text-md-secondary { - color: #32db64; -} - -.item-md-secondary, -.item-divider-md-secondary { - color: #fff; - background-color: #32db64; -} - -.item-md-secondary p, -.item-divider-md-secondary p { - color: #fff; -} - -.item-md-secondary.activated, -.item-divider-md-secondary.activated { - background-color: #2ec95c; -} - -.item-md .text-md-danger { - color: #f53d3d; -} - -.item-md-danger, -.item-divider-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.item-md-danger p, -.item-divider-md-danger p { - color: #fff; -} - -.item-md-danger.activated, -.item-divider-md-danger.activated { - background-color: #e13838; -} - -.item-md .text-md-light { - color: #f4f4f4; -} - -.item-md-light, -.item-divider-md-light { - color: #000; - background-color: #f4f4f4; -} - -.item-md-light p, -.item-divider-md-light p { - color: #000; -} - -.item-md-light.activated, -.item-divider-md-light.activated { - background-color: #e0e0e0; -} - -.item-md .text-md-dark { - color: #222; -} - -.item-md-dark, -.item-divider-md-dark { - color: #fff; - background-color: #222; -} - -.item-md-dark p, -.item-divider-md-dark p { - color: #fff; -} - -.item-md-dark.activated, -.item-divider-md-dark.activated { - background-color: #343434; -} - -.item-md .text-md-optblue { - color: #E00201; -} - -.item-md-optblue, -.item-divider-md-optblue { - color: #fff; - background-color: #E00201; -} - -.item-md-optblue p, -.item-divider-md-optblue p { - color: #fff; -} - -.item-md-optblue.activated, -.item-divider-md-optblue.activated { - background-color: #e21615; -} - -.item-md .text-md-gray { - color: #dad8d8; -} - -.item-md-gray, -.item-divider-md-gray { - color: #000; - background-color: #dad8d8; -} - -.item-md-gray p, -.item-divider-md-gray p { - color: #000; -} - -.item-md-gray.activated, -.item-divider-md-gray.activated { - background-color: #c9c7c7; -} - -.item-md .text-md-green { - color: #1dc764; -} - -.item-md-green, -.item-divider-md-green { - color: #fff; - background-color: #1dc764; -} - -.item-md-green p, -.item-divider-md-green p { - color: #fff; -} - -.item-md-green.activated, -.item-divider-md-green.activated { - background-color: #2fcb70; -} - -.list-md ion-item-sliding { - background-color: #fff; -} - -.item-md ion-reorder { - font-size: 1.5em; - opacity: .3; -} - -.item-wp { - padding-left: 16px; - padding-right: 0; - position: relative; - font-size: 1.6rem; - font-weight: normal; - text-transform: none; - color: #000; - background-color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-wp.activated { - background-color: #aaa; -} - -.item-wp[no-lines] { - border-width: 0; -} - -.item-wp h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.item-wp h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; -} - -.item-wp h3, -.item-wp h4, -.item-wp h5, -.item-wp h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - line-height: normal; -} - -.item-wp p { - margin: 0 0 2px; - overflow: inherit; - font-size: 1.4rem; - line-height: normal; - text-overflow: inherit; - color: #666; -} - -.item-wp.item-block .item-inner { - padding-right: 8px; - border-bottom: 1px solid transparent; -} - -.item-wp [item-left], -.item-wp [item-right], -.item-wp [item-start], -.item-wp [item-end] { - margin: 9px 8px 9px 0; -} - -.item-wp ion-icon[item-left], -.item-wp ion-icon[item-right], -.item-wp ion-icon[item-start], -.item-wp ion-icon[item-end] { - margin-left: 0; - margin-top: 11px; - margin-bottom: 10px; -} - -.item-wp .item-button { - padding: 0 0.6em; - height: 25px; - font-size: 1.2rem; -} - -.item-wp .item-button[icon-only] ion-icon, -.item-wp .item-button[icon-only] { - padding: 0 1px; -} - -.item-wp[text-wrap] ion-label { - font-size: 1.4rem; - line-height: 1.5; -} - -.item-wp ion-icon[item-left] + .item-inner, -.item-wp ion-icon[item-left] + .item-input, -.item-wp ion-icon[item-start] + .item-inner, -.item-wp ion-icon[item-start] + .item-input { - margin-left: 8px; -} - -.item-wp ion-avatar[item-left], -.item-wp ion-thumbnail[item-left], -.item-wp ion-avatar[item-start], -.item-wp ion-thumbnail[item-start] { - margin: 8px 16px 8px 0; -} - -.item-wp ion-avatar[item-right], -.item-wp ion-thumbnail[item-right], -.item-wp ion-avatar[item-end], -.item-wp ion-thumbnail[item-end] { - margin: 8px; -} - -.item-wp ion-avatar { - min-width: 40px; - min-height: 40px; -} - -.item-wp ion-avatar ion-img, -.item-wp ion-avatar img { - border-radius: 50%; - overflow: hidden; - width: 40px; - height: 40px; -} - -.item-wp ion-thumbnail { - min-width: 80px; - min-height: 80px; -} - -.item-wp ion-thumbnail ion-img, -.item-wp ion-thumbnail img { - width: 80px; - height: 80px; -} - -.item-divider-wp { - padding-left: 16px; - border-bottom: 1px solid transparent; - font-size: 2rem; - color: #000; - background-color: #fff; -} - -.item-wp .text-wp-primary { - color: #673AB7; -} - -.item-wp-primary, -.item-divider-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.item-wp-primary p, -.item-divider-wp-primary p { - color: #fff; -} - -.item-wp-primary.activated, -.item-divider-wp-primary.activated { - background-color: #734abd; -} - -.item-wp .text-wp-secondary { - color: #32db64; -} - -.item-wp-secondary, -.item-divider-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.item-wp-secondary p, -.item-divider-wp-secondary p { - color: #fff; -} - -.item-wp-secondary.activated, -.item-divider-wp-secondary.activated { - background-color: #2ec95c; -} - -.item-wp .text-wp-danger { - color: #f53d3d; -} - -.item-wp-danger, -.item-divider-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.item-wp-danger p, -.item-divider-wp-danger p { - color: #fff; -} - -.item-wp-danger.activated, -.item-divider-wp-danger.activated { - background-color: #e13838; -} - -.item-wp .text-wp-light { - color: #f4f4f4; -} - -.item-wp-light, -.item-divider-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.item-wp-light p, -.item-divider-wp-light p { - color: #000; -} - -.item-wp-light.activated, -.item-divider-wp-light.activated { - background-color: #e0e0e0; -} - -.item-wp .text-wp-dark { - color: #222; -} - -.item-wp-dark, -.item-divider-wp-dark { - color: #fff; - background-color: #222; -} - -.item-wp-dark p, -.item-divider-wp-dark p { - color: #fff; -} - -.item-wp-dark.activated, -.item-divider-wp-dark.activated { - background-color: #343434; -} - -.item-wp .text-wp-optblue { - color: #E00201; -} - -.item-wp-optblue, -.item-divider-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.item-wp-optblue p, -.item-divider-wp-optblue p { - color: #fff; -} - -.item-wp-optblue.activated, -.item-divider-wp-optblue.activated { - background-color: #e21615; -} - -.item-wp .text-wp-gray { - color: #dad8d8; -} - -.item-wp-gray, -.item-divider-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.item-wp-gray p, -.item-divider-wp-gray p { - color: #000; -} - -.item-wp-gray.activated, -.item-divider-wp-gray.activated { - background-color: #c9c7c7; -} - -.item-wp .text-wp-green { - color: #1dc764; -} - -.item-wp-green, -.item-divider-wp-green { - color: #fff; - background-color: #1dc764; -} - -.item-wp-green p, -.item-divider-wp-green p { - color: #fff; -} - -.item-wp-green.activated, -.item-divider-wp-green.activated { - background-color: #2fcb70; -} - -.list-wp ion-item-sliding { - background-color: #fff; -} - -ion-label { - margin: 0; - display: block; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - font-size: inherit; - text-overflow: ellipsis; - white-space: nowrap; -} - -.item-input ion-label { - -webkit-box-flex: initial; - -webkit-flex: initial; - -ms-flex: initial; - flex: initial; - max-width: 200px; - pointer-events: none; -} - -[text-wrap] ion-label { - white-space: normal; -} - -ion-label[fixed] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100px; - -ms-flex: 0 0 100px; - flex: 0 0 100px; - width: 100px; - min-width: 100px; - max-width: 200px; -} - -.item-label-stacked ion-label, -.item-label-floating ion-label { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: auto; - max-width: 100%; -} - -ion-label[stacked], -ion-label[floating] { - margin-bottom: 0; -} - -.item-label-stacked .input-wrapper, -.item-label-floating .input-wrapper { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.item-label-stacked ion-select, -.item-label-floating ion-select { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - max-width: 100%; -} - -.label-ios { - margin: 11px 8px 11px 0; -} - -.label-ios + ion-input .text-input, -.label-ios + ion-textarea .text-input, -.label-ios + .input + .cloned-input { - margin-left: 16px; - width: calc(100% - (16px / 2) - 16px); -} - -.label-ios[stacked] { - margin-bottom: 4px; - font-size: 1.2rem; -} - -.label-ios[floating] { - margin-bottom: 0; - -webkit-transform: translate3d(0, 27px, 0); - transform: translate3d(0, 27px, 0); - -webkit-transform-origin: left top; - transform-origin: left top; - -webkit-transition: -webkit-transform 150ms ease-in-out; - transition: -webkit-transform 150ms ease-in-out; - transition: transform 150ms ease-in-out; - transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out; -} - -.item-input-has-focus .label-ios[floating], -.input-has-focus .label-ios[floating], -.item-input-has-value .label-ios[floating], -.input-has-value .label-ios[floating] { - -webkit-transform: translate3d(0, 0, 0) scale(0.8); - transform: translate3d(0, 0, 0) scale(0.8); -} - -.item-ios.item-label-stacked [item-right], -.item-ios.item-label-floating [item-right], -.item-ios.item-label-stacked [item-end], -.item-ios.item-label-floating [item-end] { - margin-top: 6px; - margin-bottom: 6px; -} - -.label-ios-primary, -.item-input .label-ios-primary, -.item-select .label-ios-primary, -.item-datetime .label-ios-primary { - color: #673AB7; -} - -.label-ios-secondary, -.item-input .label-ios-secondary, -.item-select .label-ios-secondary, -.item-datetime .label-ios-secondary { - color: #32db64; -} - -.label-ios-danger, -.item-input .label-ios-danger, -.item-select .label-ios-danger, -.item-datetime .label-ios-danger { - color: #f53d3d; -} - -.label-ios-light, -.item-input .label-ios-light, -.item-select .label-ios-light, -.item-datetime .label-ios-light { - color: #f4f4f4; -} - -.label-ios-dark, -.item-input .label-ios-dark, -.item-select .label-ios-dark, -.item-datetime .label-ios-dark { - color: #222; -} - -.label-ios-optblue, -.item-input .label-ios-optblue, -.item-select .label-ios-optblue, -.item-datetime .label-ios-optblue { - color: #E00201; -} - -.label-ios-gray, -.item-input .label-ios-gray, -.item-select .label-ios-gray, -.item-datetime .label-ios-gray { - color: #dad8d8; -} - -.label-ios-green, -.item-input .label-ios-green, -.item-select .label-ios-green, -.item-datetime .label-ios-green { - color: #1dc764; -} - -.label-md { - margin: 13px 8px 13px 0; -} - -[text-wrap] .label-md { - font-size: 1.4rem; - line-height: 1.5; -} - -.item-input .label-md, -.item-select .label-md, -.item-datetime .label-md { - color: #999; -} - -.label-md[stacked] { - font-size: 1.2rem; -} - -.label-md[floating] { - -webkit-transform: translate3d(0, 27px, 0); - transform: translate3d(0, 27px, 0); - -webkit-transform-origin: left top; - transform-origin: left top; - -webkit-transition: -webkit-transform 150ms ease-in-out; - transition: -webkit-transform 150ms ease-in-out; - transition: transform 150ms ease-in-out; - transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out; -} - -.label-md[stacked], -.label-md[floating] { - margin-left: 0; - margin-bottom: 0; -} - -.item-input-has-focus .label-md[stacked], -.input-has-focus .label-md[stacked], -.item-input-has-focus .label-md[floating], -.input-has-focus .label-md[floating] { - color: #673AB7; -} - -.item-input-has-focus .label-md[floating], -.input-has-focus .label-md[floating], -.item-input-has-value .label-md[floating], -.input-has-value .label-md[floating] { - -webkit-transform: translate3d(0, 0, 0) scale(0.8); - transform: translate3d(0, 0, 0) scale(0.8); -} - -.item-md.item-label-stacked [item-right], -.item-md.item-label-floating [item-right], -.item-md.item-label-stacked [item-end], -.item-md.item-label-floating [item-end] { - margin-top: 7px; - margin-bottom: 7px; -} - -.label-md-primary, -.item-input .label-md-primary, -.item-select .label-md-primary, -.item-datetime .label-md-primary { - color: #673AB7; -} - -.label-md-secondary, -.item-input .label-md-secondary, -.item-select .label-md-secondary, -.item-datetime .label-md-secondary { - color: #32db64; -} - -.label-md-danger, -.item-input .label-md-danger, -.item-select .label-md-danger, -.item-datetime .label-md-danger { - color: #f53d3d; -} - -.label-md-light, -.item-input .label-md-light, -.item-select .label-md-light, -.item-datetime .label-md-light { - color: #f4f4f4; -} - -.label-md-dark, -.item-input .label-md-dark, -.item-select .label-md-dark, -.item-datetime .label-md-dark { - color: #222; -} - -.label-md-optblue, -.item-input .label-md-optblue, -.item-select .label-md-optblue, -.item-datetime .label-md-optblue { - color: #E00201; -} - -.label-md-gray, -.item-input .label-md-gray, -.item-select .label-md-gray, -.item-datetime .label-md-gray { - color: #dad8d8; -} - -.label-md-green, -.item-input .label-md-green, -.item-select .label-md-green, -.item-datetime .label-md-green { - color: #1dc764; -} - -.label-wp { - margin: 13px 8px 13px 0; -} - -.item-input .label-wp, -.item-select .label-wp, -.item-datetime .label-wp { - color: #999; -} - -.label-wp[stacked] { - font-size: 1.2rem; -} - -.label-wp[floating] { - -webkit-transform: translate3d(8px, 34px, 0); - transform: translate3d(8px, 34px, 0); - -webkit-transform-origin: left top; - transform-origin: left top; -} - -.label-wp[stacked], -.label-wp[floating] { - margin-left: 0; - margin-bottom: 0; -} - -.item-input-has-focus .label-wp[stacked], -.input-has-focus .label-wp[stacked], -.item-input-has-focus .label-wp[floating], -.input-has-focus .label-wp[floating] { - color: #673AB7; -} - -.item-input-has-focus .label-wp[floating], -.input-has-focus .label-wp[floating], -.item-input-has-value .label-wp[floating], -.input-has-value .label-wp[floating] { - -webkit-transform: translate3d(0, 0, 0) scale(0.8); - transform: translate3d(0, 0, 0) scale(0.8); -} - -.item-wp.item-label-stacked [item-right], -.item-wp.item-label-floating [item-right], -.item-wp.item-label-stacked [item-end], -.item-wp.item-label-floating [item-end] { - margin-top: 13px; - margin-bottom: 13px; -} - -.label-wp-primary, -.item-input .label-wp-primary, -.item-select .label-wp-primary, -.item-datetime .label-wp-primary { - color: #673AB7; -} - -.label-wp-secondary, -.item-input .label-wp-secondary, -.item-select .label-wp-secondary, -.item-datetime .label-wp-secondary { - color: #32db64; -} - -.label-wp-danger, -.item-input .label-wp-danger, -.item-select .label-wp-danger, -.item-datetime .label-wp-danger { - color: #f53d3d; -} - -.label-wp-light, -.item-input .label-wp-light, -.item-select .label-wp-light, -.item-datetime .label-wp-light { - color: #f4f4f4; -} - -.label-wp-dark, -.item-input .label-wp-dark, -.item-select .label-wp-dark, -.item-datetime .label-wp-dark { - color: #222; -} - -.label-wp-optblue, -.item-input .label-wp-optblue, -.item-select .label-wp-optblue, -.item-datetime .label-wp-optblue { - color: #E00201; -} - -.label-wp-gray, -.item-input .label-wp-gray, -.item-select .label-wp-gray, -.item-datetime .label-wp-gray { - color: #dad8d8; -} - -.label-wp-green, -.item-input .label-wp-green, -.item-select .label-wp-green, -.item-datetime .label-wp-green { - color: #1dc764; -} - -ion-list-header { - margin: 0; - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - min-height: 4rem; -} - -ion-list { - margin: 0; - padding: 0; - display: block; - list-style-type: none; -} - -ion-list[inset] { - overflow: hidden; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.list-ios { - margin: -1px 0 32px; -} - -.list-ios > .item-block:first-child { - border-top: 0.55px solid #c8c7cc; -} - -.list-ios > .item-block:last-child, -.list-ios > .item-wrapper:last-child .item-block { - border-bottom: 0.55px solid #c8c7cc; -} - -.list-ios > .item-block:last-child .item-inner, -.list-ios > .item-wrapper:last-child .item-block .item-inner { - border-bottom: 0; -} - -.list-ios .item-block .item-inner { - border-bottom: 0.55px solid #c8c7cc; -} - -.list-ios .item[no-lines], -.list-ios .item[no-lines] .item-inner { - border-width: 0; -} - -.list-ios ion-item-options { - border-bottom: 0.55px solid #c8c7cc; -} - -.list-ios ion-item-options .button { - margin: 0; - border-radius: 0; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - height: 100%; - min-height: 100%; - border: 0; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.list-ios ion-item-options .button::before { - margin: 0 auto; -} - -.list-ios:not([inset]) + .list-ios:not([inset]) ion-list-header { - margin-top: -10px; - padding-top: 0; -} - -.list-ios[inset] { - margin: 16px; - border-radius: 4px; -} - -.list-ios[inset] ion-list-header { - background-color: #fff; -} - -.list-ios[inset] .item { - border-bottom: 1px solid #c8c7cc; -} - -.list-ios[inset] .item-inner { - border-bottom: 0; -} - -.list-ios[inset] > .item:first-child, -.list-ios[inset] > .item-wrapper:first-child .item { - border-top: 0; -} - -.list-ios[inset] > .item:last-child, -.list-ios[inset] > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.list-ios[inset] + ion-list[inset] { - margin-top: 0; -} - -.list-ios[no-lines] ion-list-header, -.list-ios[no-lines] ion-item-options, -.list-ios[no-lines] .item, -.list-ios[no-lines] .item .item-inner { - border-width: 0; -} - -.list-header-ios { - padding-left: 16px; - padding-left: 16px; - position: relative; - border-bottom: 0.55px solid #c8c7cc; - font-size: 1.2rem; - font-weight: 500; - letter-spacing: 0.1rem; - text-transform: uppercase; - color: #333; - background: transparent; -} - -@media screen and (orientation: landscape) { - .list-header-ios { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -.list-header-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.list-header-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.list-header-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.list-header-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.list-header-ios-dark { - color: #fff; - background-color: #222; -} - -.list-header-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.list-header-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.list-header-ios-green { - color: #fff; - background-color: #1dc764; -} - -.list-md { - margin: -1px 0 16px; -} - -.list-md .item-block .item-inner { - border-bottom: 1px solid #dedede; -} - -.list-md > .item-block:last-child ion-label, -.list-md > .item-block:last-child .item-inner, -.list-md > .item-wrapper:last-child ion-label, -.list-md > .item-wrapper:last-child .item-inner { - border-bottom: 0; -} - -.list-md > ion-input:last-child::after { - left: 0; -} - -.list-md ion-item-options { - border-bottom: 1px solid #dedede; -} - -.list-md ion-item-options .button { - margin: 0; - border-radius: 0; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - height: 100%; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.list-md ion-item-options .button::before { - margin: 0 auto; -} - -.list-md .item[no-lines], -.list-md .item[no-lines] .item-inner { - border-width: 0; -} - -.list-md + ion-list ion-list-header { - margin-top: -16px; -} - -.list-md[inset] { - margin: 16px; - border-radius: 2px; -} - -.list-md[inset] .item:first-child { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - border-top-width: 0; -} - -.list-md[inset] .item:last-child { - border-bottom-right-radius: 2px; - border-bottom-left-radius: 2px; - border-bottom-width: 0; -} - -.list-md[inset] .item-input { - padding-left: 0; - padding-right: 0; -} - -.list-md[inset] + ion-list[inset] { - margin-top: 0; -} - -.list-md[inset] ion-list-header { - background-color: #fff; -} - -.list-md[no-lines] .item-block, -.list-md[no-lines] ion-item-options, -.list-md[no-lines] .item .item-inner { - border-width: 0; -} - -.list-header-md { - padding-left: 16px; - margin-bottom: 13px; - min-height: 4.5rem; - border-top: 1px solid #dedede; - font-size: 1.4rem; - color: #757575; -} - -.list-header-md-primary { - color: #fff; - background-color: #673AB7; -} - -.list-header-md-secondary { - color: #fff; - background-color: #32db64; -} - -.list-header-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.list-header-md-light { - color: #000; - background-color: #f4f4f4; -} - -.list-header-md-dark { - color: #fff; - background-color: #222; -} - -.list-header-md-optblue { - color: #fff; - background-color: #E00201; -} - -.list-header-md-gray { - color: #000; - background-color: #dad8d8; -} - -.list-header-md-green { - color: #fff; - background-color: #1dc764; -} - -.list-md .item-input:last-child { - border-bottom: 1px solid #dedede; -} - -.list-wp { - margin: 0 0 16px; -} - -.list-wp .item-block .item-inner { - border-bottom: 1px solid transparent; -} - -.list-wp > .item-block:first-child, -.list-wp > .item-wrapper:first-child .item-block { - border-top: 1px solid transparent; -} - -.list-wp > .item-block:last-child, -.list-wp > .item-wrapper:last-child .item-block { - border-bottom: 1px solid transparent; -} - -.list-wp > .item-block:last-child ion-label, -.list-wp > .item-block:last-child .item-inner, -.list-wp > .item-wrapper:last-child ion-label, -.list-wp > .item-wrapper:last-child .item-inner { - border-bottom: 0; -} - -.list-wp > ion-input:last-child::after { - left: 0; -} - -.list-wp ion-item-options .button { - margin: 1px 0; - border-radius: 0; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - height: calc(100% - 2px); - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.list-wp ion-item-options .button::before { - margin: 0 auto; -} - -.list-wp .item[no-lines], -.list-wp .item[no-lines] .item-inner { - border-width: 0; -} - -.list-wp + ion-list ion-list-header { - margin-top: -16px; - padding-top: 0; -} - -.list-wp[inset] { - margin: 16px; - border-radius: 2px; -} - -.list-wp[inset] .item:first-child { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - border-top-width: 0; -} - -.list-wp[inset] .item:last-child { - border-bottom-right-radius: 2px; - border-bottom-left-radius: 2px; - border-bottom-width: 0; -} - -.list-wp[inset] .item-input { - padding-left: 0; - padding-right: 0; -} - -.list-wp[inset] + ion-list[inset] { - margin-top: 0; -} - -.list-wp[inset] ion-list-header { - background-color: #fff; -} - -.list-wp[no-lines] .item, -.list-wp[no-lines] .item .item-inner { - border-width: 0; -} - -.list-header-wp { - padding-left: 16px; - border-bottom: 1px solid transparent; - font-size: 2rem; - color: #000; -} - -.list-header-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.list-header-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.list-header-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.list-header-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.list-header-wp-dark { - color: #fff; - background-color: #222; -} - -.list-header-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.list-header-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.list-header-wp-green { - color: #fff; - background-color: #1dc764; -} - -ion-loading { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1000; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - contain: strict; -} - -.loading-wrapper { - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - opacity: 0; -} - -.loading-ios .loading-wrapper { - border-radius: 8px; - max-width: 270px; - max-height: 90%; - color: #000; - background: #f8f8f8; - padding: 24px 34px; -} - -.loading-ios .loading-content { - font-weight: bold; -} - -.loading-ios .loading-spinner + .loading-content { - margin-left: 16px; -} - -.loading-ios .spinner-ios line, -.loading-ios .spinner-ios-small line { - stroke: #69717d; -} - -.loading-ios .spinner-bubbles circle { - fill: #69717d; -} - -.loading-ios .spinner-circles circle { - fill: #69717d; -} - -.loading-ios .spinner-crescent circle { - stroke: #69717d; -} - -.loading-ios .spinner-dots circle { - fill: #69717d; -} - -.loading-md .loading-wrapper { - border-radius: 2px; - max-width: 280px; - max-height: 90%; - color: rgba(0, 0, 0, 0.5); - background: #fafafa; - -webkit-box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); - box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); - padding: 24px; -} - -.loading-md .loading-spinner + .loading-content { - margin-left: 16px; -} - -.loading-md .spinner-ios line, -.loading-md .spinner-ios-small line { - stroke: #673AB7; -} - -.loading-md .spinner-bubbles circle { - fill: #673AB7; -} - -.loading-md .spinner-circles circle { - fill: #673AB7; -} - -.loading-md .spinner-crescent circle { - stroke: #673AB7; -} - -.loading-md .spinner-dots circle { - fill: #673AB7; -} - -.loading-wp .loading-wrapper { - border-radius: 2px; - max-width: 280px; - max-height: 90%; - color: #fff; - background: #000; - padding: 20px; -} - -.loading-wp .loading-spinner + .loading-content { - margin-left: 16px; -} - -.loading-wp .spinner-ios line, -.loading-wp .spinner-ios-small line { - stroke: #fff; -} - -.loading-wp .spinner-bubbles circle { - fill: #fff; -} - -.loading-wp .spinner-circles circle { - fill: #fff; -} - -.loading-wp .spinner-crescent circle { - stroke: #fff; -} - -.loading-wp .spinner-dots circle { - fill: #fff; -} - -ion-menu { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - display: none; - contain: strict; -} - -ion-menu.show-menu { - display: block; -} - -.menu-inner { - left: 0; - right: auto; - top: 0; - bottom: 0; - -webkit-transform: translate3d(-9999px, 0, 0); - transform: translate3d(-9999px, 0, 0); - position: absolute; - display: block; - width: 304px; - height: 100%; - contain: strict; -} - -.menu-inner > ion-header, -.menu-inner > ion-content, -.menu-inner > ion-footer { - position: absolute; -} - -ion-menu[side=left] > .menu-inner { - right: auto; - left: 0; -} - -ion-menu[side=right] > .menu-inner { - right: 0; - left: auto; -} - -ion-menu[side=end] > .menu-inner { - left: auto; - right: 0; -} - -ion-menu ion-backdrop { - z-index: -1; - display: none; - opacity: .01; -} - -.menu-content { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -.menu-content-open { - cursor: pointer; - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -.menu-content-open ion-pane, -.menu-content-open ion-content, -.menu-content-open .toolbar { - pointer-events: none; -} - -@media (max-width: 340px) { - .menu-inner { - width: 264px; - } -} - -ion-menu[type=reveal] { - z-index: 0; -} - -ion-menu[type=reveal].show-menu .menu-inner { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -ion-menu[type=overlay] { - z-index: 80; -} - -ion-menu[type=overlay] .show-backdrop { - display: block; -} - -.ios .menu-inner { - background: #fff; -} - -.ios .menu-content-reveal { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.ios .menu-content-push { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.ios ion-menu[type=overlay] .menu-inner { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.md .menu-inner { - background: #fff; -} - -.md .menu-content-reveal { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.md .menu-content-push { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.md ion-menu[type=overlay] .menu-inner { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.wp .menu-inner { - background: #f2f2f2; -} - -ion-modal { - left: 0; - top: 0; - position: absolute; - display: block; - width: 100%; - height: 100%; - contain: strict; -} - -@media not all and (min-width: 768px) and (min-height: 600px) { - ion-modal ion-backdrop { - visibility: hidden; - } -} - -.modal-wrapper { - z-index: 10; - height: 100%; - contain: strict; -} - -@media only screen and (min-width: 768px) and (min-height: 600px) { - .modal-wrapper { - left: calc(50% - (600px/2)); - top: calc(50% - (500px/2)); - position: absolute; - width: 600px; - height: 500px; - } -} - -@media only screen and (min-width: 768px) and (min-height: 768px) { - .modal-wrapper { - left: calc(50% - (600px/2)); - top: calc(50% - (600px/2)); - position: absolute; - width: 600px; - height: 600px; - } -} - -.ios .modal-wrapper { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); -} - -@media only screen and (min-width: 768px) and (min-height: 600px) { - .ios .modal-wrapper { - border-radius: 10px; - overflow: hidden; - } -} - -.md .modal-wrapper { - -webkit-transform: translate3d(0, 40px, 0); - transform: translate3d(0, 40px, 0); - opacity: .01; -} - -@media only screen and (min-width: 768px) and (min-height: 600px) { - .md .modal-wrapper { - border-radius: 2px; - overflow: hidden; - -webkit-box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4); - box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4); - } -} - -.wp .modal-wrapper { - -webkit-transform: translate3d(0, 40px, 0); - transform: translate3d(0, 40px, 0); - opacity: .01; -} - -.note-ios { - color: #aeacb4; -} - -.note-ios-primary { - color: #673AB7; -} - -.note-ios-secondary { - color: #32db64; -} - -.note-ios-danger { - color: #f53d3d; -} - -.note-ios-light { - color: #f4f4f4; -} - -.note-ios-dark { - color: #222; -} - -.note-ios-optblue { - color: #E00201; -} - -.note-ios-gray { - color: #dad8d8; -} - -.note-ios-green { - color: #1dc764; -} - -.note-md { - color: #c5c5c5; -} - -.note-md-primary { - color: #673AB7; -} - -.note-md-secondary { - color: #32db64; -} - -.note-md-danger { - color: #f53d3d; -} - -.note-md-light { - color: #f4f4f4; -} - -.note-md-dark { - color: #222; -} - -.note-md-optblue { - color: #E00201; -} - -.note-md-gray { - color: #dad8d8; -} - -.note-md-green { - color: #1dc764; -} - -.note-wp { - color: rgba(0, 0, 0, 0.5); -} - -.note-wp-primary { - color: #673AB7; -} - -.note-wp-secondary { - color: #32db64; -} - -.note-wp-danger { - color: #f53d3d; -} - -.note-wp-light { - color: #f4f4f4; -} - -.note-wp-dark { - color: #222; -} - -.note-wp-optblue { - color: #E00201; -} - -.note-wp-gray { - color: #dad8d8; -} - -.note-wp-green { - color: #1dc764; -} - -ion-picker-cmp { - left: 0; - top: 0; - position: absolute; - z-index: 1000; - display: block; - width: 100%; - height: 100%; - contain: strict; -} - -.picker-toolbar { - z-index: 1; - width: 100%; - contain: strict; -} - -.picker-wrapper { - left: 0; - right: 0; - bottom: 0; - margin: auto; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - position: absolute; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - width: 100%; - max-width: 500px; - contain: strict; -} - -.picker-columns { - margin-bottom: constant(safe-area-inset-bottom); - margin-bottom: env(safe-area-inset-bottom); - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - contain: strict; -} - -.picker-col { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - height: 100%; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: content; -} - -.picker-opts { - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - max-width: 100%; -} - -.picker-prefix { - text-align: right; - text-align: end; - position: relative; - -webkit-box-flex: 2; - -webkit-flex: 2; - -ms-flex: 2; - flex: 2; - min-width: 45%; - max-width: 50%; - white-space: nowrap; -} - -.picker-suffix { - text-align: left; - text-align: start; - position: relative; - -webkit-box-flex: 2; - -webkit-flex: 2; - -ms-flex: 2; - flex: 2; - min-width: 45%; - max-width: 50%; - white-space: nowrap; -} - -.picker-opt { - left: 0; - top: 0; - text-align: center; - position: absolute; - display: block; - overflow: hidden; - width: 100%; - text-overflow: ellipsis; - white-space: nowrap; - will-change: transform; - contain: strict; -} - -.picker-opt.picker-opt-disabled { - pointer-events: none; -} - -.picker-opt-disabled { - opacity: 0; -} - -.picker-opts-left { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.picker-opts-right { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.picker-above-highlight, -.picker-below-highlight { - display: none; - pointer-events: none; -} - -.picker-ios .picker-wrapper { - height: 260px; - border-top: 1px solid #c8c7cc; - background: #fff; -} - -.picker-ios .picker-toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 44px; - border-bottom: 0.55px solid #c8c7cc; - background: #fff; -} - -.picker-ios .picker-toolbar-button { - text-align: right; - text-align: end; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.picker-ios .picker-toolbar-button:last-child .picker-button { - font-weight: 600; -} - -.picker-ios .picker-toolbar-cancel { - text-align: left; - text-align: start; - font-weight: normal; -} - -.picker-ios .picker-button, -.picker-ios .picker-button.activated { - margin: 0; - height: 44px; - color: #673AB7; - background: transparent; -} - -.picker-columns { - height: 215px; - -webkit-perspective: 1000px; - perspective: 1000px; -} - -.picker-ios .picker-col { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - padding: 0 4px; -} - -.picker-ios .picker-prefix, -.picker-ios .picker-suffix, -.picker-ios .picker-opts { - top: 77px; - font-size: 20px; - line-height: 42px; - color: #000; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - pointer-events: none; -} - -.picker-ios .picker-opt { - margin: 0; - -webkit-transform-origin: center center; - transform-origin: center center; - height: 4.6rem; - font-size: 20px; - line-height: 42px; - color: #000; - background: transparent; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: auto; - padding: 0; -} - -.picker-ios .picker-above-highlight { - left: 0; - top: 0; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 10; - display: block; - width: 100%; - height: 81px; - border-bottom: 1px solid #c8c7cc; - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-ios .picker-below-highlight { - left: 0; - top: 115px; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 11; - display: block; - width: 100%; - height: 119px; - border-top: 1px solid #c8c7cc; - background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-md .picker-wrapper { - height: 260px; - border-top: 0.55px solid #dedede; - background: #fff; -} - -.picker-md .picker-toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - height: 44px; - background: #fff; -} - -.picker-md .picker-button, -.picker-md .picker-button.activated { - margin: 0; - height: 44px; - color: #673AB7; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -.picker-md .picker-columns { - height: 216px; - -webkit-perspective: 1800px; - perspective: 1800px; -} - -.picker-md .picker-col { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - padding: 0 8px; -} - -.picker-md .picker-prefix, -.picker-md .picker-suffix, -.picker-md .picker-opts { - top: 77px; - font-size: 22px; - line-height: 42px; - color: #000; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - pointer-events: none; -} - -.picker-md .picker-opt { - margin: 0; - height: 4.3rem; - font-size: 22px; - line-height: 42px; - color: #000; - background: transparent; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: auto; - padding: 0; -} - -.picker-md .picker-prefix, -.picker-md .picker-suffix, -.picker-md .picker-opt.picker-opt-selected { - color: #673AB7; -} - -.picker-md .picker-above-highlight { - left: 0; - top: 0; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 10; - width: 100%; - height: 81px; - border-bottom: 1px solid #dedede; - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-md .picker-below-highlight { - left: 0; - top: 115px; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 11; - width: 100%; - height: 119px; - border-top: 1px solid #dedede; - background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-wp .picker-wrapper { - height: 260px; - border-top: 0.55px solid transparent; - background: #fff; -} - -.picker-wp .picker-toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - height: 44px; - border-width: 0.55px; - background: #fff; -} - -.picker-wp .picker-toolbar-button { - text-align: right; - text-align: end; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.picker-wp .picker-toolbar-cancel { - text-align: left; - text-align: start; - font-weight: normal; -} - -.picker-wp .picker-button, -.picker-wp .picker-button.activated { - margin: 0; - height: 44px; - color: #673AB7; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -.picker-wp .picker-columns { - height: 216px; - -webkit-perspective: 1800px; - perspective: 1800px; -} - -.picker-wp .picker-col { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - padding: 0 4px; -} - -.picker-wp .picker-prefix, -.picker-wp .picker-suffix, -.picker-wp .picker-opts { - top: 77px; - font-size: 22px; - line-height: 42px; - color: #000; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - pointer-events: none; -} - -.picker-wp .picker-opt { - margin: 0; - height: 4.2rem; - font-size: 22px; - line-height: 42px; - color: #000; - background: transparent; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: auto; - padding: 0; -} - -.picker-wp .picker-prefix, -.picker-wp .picker-suffix, -.picker-wp .picker-opt-selected { - color: #673AB7; -} - -.picker-wp .picker-above-highlight { - left: 0; - top: 0; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 10; - width: 100%; - height: 81px; - border-bottom: 1px solid transparent; - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-wp .picker-below-highlight { - left: 0; - top: 115px; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 11; - width: 100%; - height: 119px; - border-top: 1px solid transparent; - background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); -} - -ion-popover { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1000; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -.popover-wrapper { - z-index: 10; - opacity: 0; -} - -.popover-content { - position: absolute; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: auto; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.popover-content ion-content, -.popover-content .scroll-content { - contain: none; -} - -.popover-content .scroll-content { - position: relative; -} - -.popover-ios .popover-content { - border-radius: 10px; - width: 200px; - min-width: 0; - min-height: 0; - max-height: 90%; - color: #000; - background: #fff; -} - -.popover-ios .popover-arrow { - position: absolute; - display: block; - overflow: hidden; - width: 20px; - height: 10px; -} - -.popover-ios .popover-arrow::after { - left: 3px; - top: 3px; - border-radius: 3px; - position: absolute; - z-index: 10; - width: 14px; - height: 14px; - background-color: #fff; - content: ""; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.popover-ios.popover-bottom .popover-arrow { - top: auto; - bottom: -10px; -} - -.popover-ios.popover-bottom .popover-arrow::after { - top: -6px; -} - -.popover-ios .item-ios { - padding-left: 16px; -} - -.popover-ios .item-ios[detail-push] .item-inner, -.popover-ios button.item-ios:not([detail-none]) .item-inner, -.popover-ios a.item-ios:not([detail-none]) .item-inner { - background-position: right 14px center; -} - -.popover-md .popover-content { - border-radius: 2px; - -webkit-transform-origin: left top; - transform-origin: left top; - width: 250px; - min-width: 0; - min-height: 0; - max-height: 90%; - color: #000; - background: #fff; - -webkit-box-shadow: 0 3px 12px 2px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 12px 2px rgba(0, 0, 0, 0.3); -} - -.popover-md .popover-viewport { - opacity: 0; - -webkit-transition-delay: 100ms; - transition-delay: 100ms; -} - -.popover-wp .popover-content { - border-radius: 0; - -webkit-transform-origin: left top; - transform-origin: left top; - width: 200px; - min-width: 0; - min-height: 0; - max-height: 90%; - border: 2px solid #ccc; - color: #000; - background: #fff; -} - -.popover-wp .popover-viewport { - opacity: 0; - -webkit-transition-delay: 100ms; - transition-delay: 100ms; -} - -.radio-ios { - position: relative; - display: inline-block; -} - -.radio-ios .radio-icon { - position: relative; - display: block; - width: 16px; - height: 21px; -} - -.radio-ios .radio-checked .radio-inner { - left: 7px; - top: 4px; - position: absolute; - width: 5px; - height: 12px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #673AB7; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.radio-ios.radio-disabled, -.item-ios.item-radio-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-ios .radio-ios { - position: static; - display: block; - margin: 8px 11px 8px 8px; -} - -.item-ios .radio-ios[item-left], .item-ios .radio-ios[item-start] { - margin: 8px 21px 8px 3px; -} - -.item-radio.item-ios ion-label { - margin-left: 0; -} - -.item-radio-checked.item-ios ion-label { - color: #673AB7; -} - -.item-radio-ios-primary.item-radio-checked ion-label { - color: #673AB7; -} - -.radio-ios-primary .radio-checked { - color: #673AB7; -} - -.radio-ios-primary .radio-checked .radio-inner { - border-color: #673AB7; -} - -.item-radio-ios-secondary.item-radio-checked ion-label { - color: #32db64; -} - -.radio-ios-secondary .radio-checked { - color: #32db64; -} - -.radio-ios-secondary .radio-checked .radio-inner { - border-color: #32db64; -} - -.item-radio-ios-danger.item-radio-checked ion-label { - color: #f53d3d; -} - -.radio-ios-danger .radio-checked { - color: #f53d3d; -} - -.radio-ios-danger .radio-checked .radio-inner { - border-color: #f53d3d; -} - -.item-radio-ios-light.item-radio-checked ion-label { - color: #f4f4f4; -} - -.radio-ios-light .radio-checked { - color: #f4f4f4; -} - -.radio-ios-light .radio-checked .radio-inner { - border-color: #f4f4f4; -} - -.item-radio-ios-dark.item-radio-checked ion-label { - color: #222; -} - -.radio-ios-dark .radio-checked { - color: #222; -} - -.radio-ios-dark .radio-checked .radio-inner { - border-color: #222; -} - -.item-radio-ios-optblue.item-radio-checked ion-label { - color: #E00201; -} - -.radio-ios-optblue .radio-checked { - color: #E00201; -} - -.radio-ios-optblue .radio-checked .radio-inner { - border-color: #E00201; -} - -.item-radio-ios-gray.item-radio-checked ion-label { - color: #dad8d8; -} - -.radio-ios-gray .radio-checked { - color: #dad8d8; -} - -.radio-ios-gray .radio-checked .radio-inner { - border-color: #dad8d8; -} - -.item-radio-ios-green.item-radio-checked ion-label { - color: #1dc764; -} - -.radio-ios-green .radio-checked { - color: #1dc764; -} - -.radio-ios-green .radio-checked .radio-inner { - border-color: #1dc764; -} - -.radio-md { - position: relative; - display: inline-block; -} - -.radio-md .radio-icon { - left: 0; - top: 0; - margin: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; -} - -.radio-md .radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - width: 8px; - height: 8px; - background-color: #673AB7; - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); - -webkit-transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.radio-md .radio-checked { - border-color: #673AB7; -} - -.radio-md .radio-checked .radio-inner { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); -} - -.radio-md.radio-disabled, -.item-md.item-radio-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-md .radio-md { - position: static; - display: block; - margin: 9px 10px 9px 0; -} - -.item-md .radio-md[item-left], .item-md .radio-md[item-start] { - margin: 11px 36px 10px 4px; -} - -.item-radio.item-md ion-label { - margin-left: 0; -} - -.item-radio-checked.item-md ion-label { - color: #673AB7; -} - -.item-radio-md-primary.item-radio-checked ion-label { - color: #673AB7; -} - -.radio-md-primary .radio-checked { - border-color: #673AB7; -} - -.radio-md-primary .radio-inner { - background-color: #673AB7; -} - -.item-radio-md-secondary.item-radio-checked ion-label { - color: #32db64; -} - -.radio-md-secondary .radio-checked { - border-color: #32db64; -} - -.radio-md-secondary .radio-inner { - background-color: #32db64; -} - -.item-radio-md-danger.item-radio-checked ion-label { - color: #f53d3d; -} - -.radio-md-danger .radio-checked { - border-color: #f53d3d; -} - -.radio-md-danger .radio-inner { - background-color: #f53d3d; -} - -.item-radio-md-light.item-radio-checked ion-label { - color: #f4f4f4; -} - -.radio-md-light .radio-checked { - border-color: #f4f4f4; -} - -.radio-md-light .radio-inner { - background-color: #f4f4f4; -} - -.item-radio-md-dark.item-radio-checked ion-label { - color: #222; -} - -.radio-md-dark .radio-checked { - border-color: #222; -} - -.radio-md-dark .radio-inner { - background-color: #222; -} - -.item-radio-md-optblue.item-radio-checked ion-label { - color: #E00201; -} - -.radio-md-optblue .radio-checked { - border-color: #E00201; -} - -.radio-md-optblue .radio-inner { - background-color: #E00201; -} - -.item-radio-md-gray.item-radio-checked ion-label { - color: #dad8d8; -} - -.radio-md-gray .radio-checked { - border-color: #dad8d8; -} - -.radio-md-gray .radio-inner { - background-color: #dad8d8; -} - -.item-radio-md-green.item-radio-checked ion-label { - color: #1dc764; -} - -.radio-md-green .radio-checked { - border-color: #1dc764; -} - -.radio-md-green .radio-inner { - background-color: #1dc764; -} - -.radio-wp { - position: relative; - display: inline-block; -} - -.radio-wp .radio-icon { - left: 0; - top: 0; - margin: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #333; -} - -.radio-wp .radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - display: none; - width: 8px; - height: 8px; - background-color: #333; -} - -.radio-wp .radio-checked { - border-color: #673AB7; -} - -.radio-wp .radio-checked .radio-inner { - display: block; -} - -.radio-wp.radio-disabled, -.item-wp.item-radio-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-wp .radio-wp { - position: static; - display: block; - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; - margin: 9px 20px 9px 4px; -} - -.item-wp .radio-wp[item-right], .item-wp .radio-wp[item-end] { - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - margin: 11px 10px 10px 0; -} - -.item-radio.item-wp ion-label { - margin-left: 0; -} - -.radio-wp-primary .radio-checked { - border-color: #673AB7; -} - -.radio-wp-secondary .radio-checked { - border-color: #32db64; -} - -.radio-wp-danger .radio-checked { - border-color: #f53d3d; -} - -.radio-wp-light .radio-checked { - border-color: #f4f4f4; -} - -.radio-wp-dark .radio-checked { - border-color: #222; -} - -.radio-wp-optblue .radio-checked { - border-color: #E00201; -} - -.radio-wp-gray .radio-checked { - border-color: #dad8d8; -} - -.radio-wp-green .radio-checked { - border-color: #1dc764; -} - -.item-range .item-inner { - overflow: visible; - width: 100%; -} - -.item-range .input-wrapper { - overflow: visible; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - width: 100%; -} - -.item-range ion-range { - width: 100%; -} - -.item-range ion-range ion-label { - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; -} - -ion-range { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -ion-range ion-label { - -webkit-box-flex: initial; - -webkit-flex: initial; - -ms-flex: initial; - flex: initial; -} - -ion-range ion-icon { - min-height: 2.4rem; - font-size: 2.4rem; - line-height: 1; -} - -.range-slider { - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - cursor: pointer; -} - -.range-ios { - padding: 8px 16px; -} - -.range-ios [range-left] { - margin: 0 20px 0 0; -} - -.range-ios [range-right] { - margin: 0 0 0 20px; -} - -.range-ios.range-has-pin { - padding-top: 20px; -} - -.range-ios .range-slider { - height: 42px; -} - -.range-ios .range-bar { - left: 0; - top: 21px; - border-radius: 1px; - position: absolute; - width: 100%; - height: 1px; - background: #bdbdbd; - pointer-events: none; -} - -.range-ios.range-pressed .range-bar-active { - will-change: left, right; -} - -.range-ios.range-pressed .range-knob-handle { - will-change: left; -} - -.range-ios .range-bar-active { - bottom: 0; - width: auto; - background: #673AB7; -} - -.range-ios .range-knob-handle { - left: 0; - top: 21px; - margin-left: -21px; - margin-top: -21px; - text-align: center; - position: absolute; - width: 42px; - height: 42px; -} - -.range-ios .range-knob { - left: 7px; - top: 7px; - border-radius: 50%; - position: absolute; - width: 28px; - height: 28px; - background: #fff; - -webkit-box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02); - box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02); - pointer-events: none; -} - -.range-ios .range-tick { - margin-left: -0.5px; - border-radius: 0; - position: absolute; - top: 17.5px; - width: 1px; - height: 8px; - background: #bdbdbd; - pointer-events: none; -} - -.range-ios .range-tick-active { - background: #673AB7; -} - -.range-ios .range-pin { - text-align: center; - border-radius: 50px; - -webkit-transform: translate3d(0, 28px, 0) scale(0.01); - transform: translate3d(0, 28px, 0) scale(0.01); - position: relative; - top: -20px; - display: inline-block; - min-width: 28px; - font-size: 12px; - color: #000; - background: transparent; - -webkit-transition: -webkit-transform 120ms ease; - transition: -webkit-transform 120ms ease; - transition: transform 120ms ease; - transition: transform 120ms ease, -webkit-transform 120ms ease; - padding: 8px; -} - -.range-ios .range-knob-pressed .range-pin { - -webkit-transform: translate3d(0, 0, 0) scale(1); - transform: translate3d(0, 0, 0) scale(1); -} - -.range-ios.range-disabled { - opacity: .5; -} - -.range-ios-primary .range-bar-active, -.range-ios-primary .range-tick-active { - background: #673AB7; -} - -.range-ios-secondary .range-bar-active, -.range-ios-secondary .range-tick-active { - background: #32db64; -} - -.range-ios-danger .range-bar-active, -.range-ios-danger .range-tick-active { - background: #f53d3d; -} - -.range-ios-light .range-bar-active, -.range-ios-light .range-tick-active { - background: #f4f4f4; -} - -.range-ios-dark .range-bar-active, -.range-ios-dark .range-tick-active { - background: #222; -} - -.range-ios-optblue .range-bar-active, -.range-ios-optblue .range-tick-active { - background: #E00201; -} - -.range-ios-gray .range-bar-active, -.range-ios-gray .range-tick-active { - background: #dad8d8; -} - -.range-ios-green .range-bar-active, -.range-ios-green .range-tick-active { - background: #1dc764; -} - -.range-md { - padding: 8px; -} - -.range-md [range-left] { - margin: 0 12px 0 0; -} - -.range-md [range-right] { - margin: 0 0 0 12px; -} - -.range-md.range-has-pin { - padding-top: 28px; -} - -.range-md .range-slider { - height: 42px; -} - -.range-md .range-bar { - left: 0; - top: 21px; - position: absolute; - width: 100%; - height: 2px; - background: #bdbdbd; - pointer-events: none; -} - -.range-md.range-pressed .range-bar-active { - will-change: left, right; -} - -.range-md.range-pressed .range-knob-handle { - will-change: left; -} - -.range-md .range-bar-active { - bottom: 0; - width: auto; - background: #673AB7; -} - -.range-md .range-knob-handle { - left: 0; - top: 21px; - margin-left: -21px; - margin-top: -21px; - text-align: center; - position: absolute; - width: 42px; - height: 42px; -} - -.range-md .range-knob { - left: 12px; - top: 13px; - border-radius: 50%; - position: absolute; - z-index: 2; - width: 18px; - height: 18px; - background: #673AB7; - -webkit-transform: scale(0.67); - transform: scale(0.67); - -webkit-transition-duration: 120ms; - transition-duration: 120ms; - -webkit-transition-property: background-color, border, -webkit-transform; - transition-property: background-color, border, -webkit-transform; - transition-property: transform, background-color, border; - transition-property: transform, background-color, border, -webkit-transform; - -webkit-transition-timing-function: ease; - transition-timing-function: ease; - pointer-events: none; -} - -.range-md .range-tick { - margin-left: -1px; - border-radius: 50%; - position: absolute; - top: 21px; - z-index: 1; - width: 2px; - height: 2px; - background: #000; - pointer-events: none; -} - -.range-md .range-tick-active { - background: #000; -} - -.range-md .range-pin { - padding: 8px 0; - text-align: center; - border-radius: 50%; - -webkit-transform: translate3d(0, 28px, 0) scale(0.01); - transform: translate3d(0, 28px, 0) scale(0.01); - position: relative; - top: -20px; - display: inline-block; - min-width: 28px; - height: 28px; - font-size: 12px; - color: #fff; - background: #673AB7; - -webkit-transition: background-color 120ms ease, -webkit-transform 120ms ease; - transition: background-color 120ms ease, -webkit-transform 120ms ease; - transition: transform 120ms ease, background-color 120ms ease; - transition: transform 120ms ease, background-color 120ms ease, -webkit-transform 120ms ease; -} - -.range-md .range-pin::before { - left: 50%; - top: 3px; - border-top-left-radius: 50%; - border-top-right-radius: 50%; - border-bottom-right-radius: 50%; - border-bottom-left-radius: 0; - margin-left: -13px; - position: absolute; - z-index: -1; - width: 26px; - height: 26px; - background: #673AB7; - content: ""; - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); - -webkit-transition: background-color 120ms ease; - transition: background-color 120ms ease; -} - -.range-md .range-knob-pressed .range-pin { - -webkit-transform: translate3d(0, 0, 0) scale(1); - transform: translate3d(0, 0, 0) scale(1); -} - -.range-md:not(.range-has-pin) .range-knob-pressed .range-knob { - -webkit-transform: scale(1); - transform: scale(1); -} - -.range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md .range-knob-min.range-knob-min .range-pin, -.range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md.range-disabled .range-bar-active { - background-color: #bdbdbd; -} - -.range-md.range-disabled .range-knob { - outline: 5px solid #fff; - background-color: #bdbdbd; - -webkit-transform: scale(0.55); - transform: scale(0.55); -} - -.range-md-primary .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-primary .range-bar-active, -.range-md-primary .range-knob, -.range-md-primary .range-pin, -.range-md-primary .range-pin::before { - background: #673AB7; -} - -.range-md-secondary .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-secondary .range-bar-active, -.range-md-secondary .range-knob, -.range-md-secondary .range-pin, -.range-md-secondary .range-pin::before { - background: #32db64; -} - -.range-md-danger .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-danger .range-bar-active, -.range-md-danger .range-knob, -.range-md-danger .range-pin, -.range-md-danger .range-pin::before { - background: #f53d3d; -} - -.range-md-light .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-light .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-light .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-light .range-bar-active, -.range-md-light .range-knob, -.range-md-light .range-pin, -.range-md-light .range-pin::before { - background: #f4f4f4; -} - -.range-md-dark .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-dark .range-bar-active, -.range-md-dark .range-knob, -.range-md-dark .range-pin, -.range-md-dark .range-pin::before { - background: #222; -} - -.range-md-optblue .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-optblue .range-bar-active, -.range-md-optblue .range-knob, -.range-md-optblue .range-pin, -.range-md-optblue .range-pin::before { - background: #E00201; -} - -.range-md-gray .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-gray .range-bar-active, -.range-md-gray .range-knob, -.range-md-gray .range-pin, -.range-md-gray .range-pin::before { - background: #dad8d8; -} - -.range-md-green .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-green .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-green .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-green .range-bar-active, -.range-md-green .range-knob, -.range-md-green .range-pin, -.range-md-green .range-pin::before { - background: #1dc764; -} - -.range-wp { - padding: 8px; -} - -.range-wp [range-left] { - margin: 0 12px 0 0; -} - -.range-wp [range-right] { - margin: 0 0 0 12px; -} - -.range-wp.range-has-pin { - padding-top: 28px; -} - -.range-wp .range-slider { - height: 42px; -} - -.range-wp .range-bar { - left: 0; - top: 21px; - position: absolute; - width: 100%; - height: 2px; - background: #bdbdbd; - pointer-events: none; -} - -.range-wp.range-pressed .range-bar-active { - will-change: left, right; -} - -.range-wp.range-pressed .range-knob-handle { - will-change: left; -} - -.range-wp .range-bar-active { - bottom: 0; - width: auto; - background: #673AB7; -} - -.range-wp .range-knob-handle { - left: 0; - top: 21px; - margin-left: -21px; - margin-top: -21px; - text-align: center; - position: absolute; - width: 42px; - height: 42px; -} - -.range-wp .range-knob { - left: 17px; - top: 10px; - border-radius: 4px; - position: absolute; - width: 8px; - height: 24px; - background: #673AB7; - pointer-events: none; -} - -.range-wp .range-tick { - margin-left: -1px; - border-radius: 4px; - position: absolute; - top: 19px; - width: 2px; - height: 6px; - background: #bdbdbd; - pointer-events: none; -} - -.range-wp .range-tick-active { - background: #673AB7; -} - -.range-wp .range-pin { - text-align: center; - border-radius: 50px; - -webkit-transform: translate3d(0, 28px, 0) scale(0.01); - transform: translate3d(0, 28px, 0) scale(0.01); - position: relative; - top: -24px; - display: inline-block; - min-width: 28px; - font-size: 12px; - color: #fff; - background: #673AB7; - -webkit-transition: -webkit-transform 120ms ease; - transition: -webkit-transform 120ms ease; - transition: transform 120ms ease; - transition: transform 120ms ease, -webkit-transform 120ms ease; - padding: 8px; -} - -.range-wp .range-knob-pressed .range-pin { - -webkit-transform: translate3d(0, 0, 0) scale(1); - transform: translate3d(0, 0, 0) scale(1); -} - -.range-wp.range-disabled { - opacity: .5; -} - -.range-wp-primary .range-bar-active, -.range-wp-primary .range-tick-active, -.range-wp-primary .range-knob, -.range-wp-primary .range-pin { - background: #673AB7; -} - -.range-wp-secondary .range-bar-active, -.range-wp-secondary .range-tick-active, -.range-wp-secondary .range-knob, -.range-wp-secondary .range-pin { - background: #32db64; -} - -.range-wp-danger .range-bar-active, -.range-wp-danger .range-tick-active, -.range-wp-danger .range-knob, -.range-wp-danger .range-pin { - background: #f53d3d; -} - -.range-wp-light .range-bar-active, -.range-wp-light .range-tick-active, -.range-wp-light .range-knob, -.range-wp-light .range-pin { - background: #f4f4f4; -} - -.range-wp-dark .range-bar-active, -.range-wp-dark .range-tick-active, -.range-wp-dark .range-knob, -.range-wp-dark .range-pin { - background: #222; -} - -.range-wp-optblue .range-bar-active, -.range-wp-optblue .range-tick-active, -.range-wp-optblue .range-knob, -.range-wp-optblue .range-pin { - background: #E00201; -} - -.range-wp-gray .range-bar-active, -.range-wp-gray .range-tick-active, -.range-wp-gray .range-knob, -.range-wp-gray .range-pin { - background: #dad8d8; -} - -.range-wp-green .range-bar-active, -.range-wp-green .range-tick-active, -.range-wp-green .range-knob, -.range-wp-green .range-pin { - background: #1dc764; -} - -ion-refresher { - left: 0; - top: 0; - position: absolute; - z-index: 0; - display: none; - width: 100%; - height: 60px; -} - -ion-refresher.refresher-active { - display: block; -} - -.has-refresher > .scroll-content { - margin-top: -1px; - border-top: 1px solid #ddd; - -webkit-transition: -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); -} - -ion-refresher-content { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - height: 100%; -} - -.refresher-pulling, -.refresher-refreshing { - display: none; - width: 100%; -} - -.refresher-pulling-icon, -.refresher-refreshing-icon { - text-align: center; - -webkit-transform-origin: center; - transform-origin: center; - font-size: 30px; - color: #000; - -webkit-transition: 200ms; - transition: 200ms; -} - -.refresher-pulling-text, -.refresher-refreshing-text { - text-align: center; - font-size: 16px; - color: #000; -} - -.refresher-refreshing .spinner-ios line, -.refresher-refreshing .spinner-ios-small line, -.refresher-refreshing .spinner-crescent circle { - stroke: #000; -} - -.refresher-refreshing .spinner-bubbles circle, -.refresher-refreshing .spinner-circles circle, -.refresher-refreshing .spinner-dots circle { - fill: #000; -} - -ion-refresher-content[state=pulling] .refresher-pulling { - display: block; -} - -ion-refresher-content[state=ready] .refresher-pulling { - display: block; -} - -ion-refresher-content[state=ready] .refresher-pulling-icon { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -ion-refresher-content[state=refreshing] .refresher-refreshing { - display: block; -} - -ion-refresher-content[state=cancelling] .refresher-pulling { - display: block; -} - -ion-refresher-content[state=cancelling] .refresher-pulling-icon { - -webkit-transform: scale(0); - transform: scale(0); -} - -ion-refresher-content[state=completing] .refresher-refreshing { - display: block; -} - -ion-refresher-content[state=completing] .refresher-refreshing-icon { - -webkit-transform: scale(0); - transform: scale(0); -} - -ion-scroll { - position: relative; - display: block; -} - -ion-scroll.scroll-x .scroll-content { - overflow-x: auto; -} - -ion-scroll.scroll-y .scroll-content { - overflow-y: auto; -} - -ion-scroll[center] .scroll-content { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -ion-scroll .scroll-content { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - overflow-y: hidden; - overflow-x: hidden; - -webkit-overflow-scrolling: touch; - will-change: scroll-position; -} - -ion-searchbar { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - width: 100%; -} - -.searchbar-icon { - pointer-events: none; -} - -.searchbar-input-container { - position: relative; - display: block; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - width: 100%; -} - -.searchbar-input { - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - display: block; - width: 100%; - border: 0; - font-family: inherit; -} - -.searchbar-clear-icon { - margin: 0; - padding: 0; - display: none; - min-height: 0; -} - -.searchbar-has-value.searchbar-has-focus .searchbar-clear-icon { - display: block; -} - -.searchbar-ios { - padding: 0 8px; - min-height: 44px; - border-top: 0.55px solid transparent; - border-bottom: 0.55px solid rgba(0, 0, 0, 0.05); - background: rgba(0, 0, 0, 0.2); -} - -.searchbar-ios .searchbar-search-icon { - left: 9px; - top: 9px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - margin-left: calc(50% - 60px); - position: absolute; - width: 14px; - height: 14px; - background-repeat: no-repeat; - background-size: 13px; -} - -.searchbar-ios .searchbar-input { - padding: 0 28px; - border-radius: 5px; - height: 3rem; - font-size: 1.4rem; - font-weight: 400; - color: #000; - background-color: #fff; -} - -.searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(0, 0, 0, 0.5); -} - -.searchbar-ios .searchbar-clear-icon { - right: 0; - top: 0; - background-image: url("data:image/svg+xml;charset=utf-8,"); - background-position: center; - position: absolute; - width: 30px; - height: 100%; - background-repeat: no-repeat; - background-size: 18px; -} - -.searchbar-ios .searchbar-ios-cancel { - padding: 0 0 0 8px; - margin-left: 0; - display: none; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 30px; - cursor: pointer; -} - -.searchbar-ios.searchbar-left-aligned .searchbar-search-icon { - margin-left: 0; -} - -.searchbar-ios.searchbar-left-aligned .searchbar-input { - padding-left: 30px; -} - -.searchbar-ios.searchbar-show-cancel.searchbar-has-focus .searchbar-ios-cancel { - display: block; -} - -.toolbar .searchbar-ios { - border-bottom-width: 0; - background: transparent; -} - -.toolbar .searchbar-ios .searchbar-input { - background: rgba(0, 0, 0, 0.08); -} - -.toolbar .searchbar-ios .searchbar-ios-cancel { - padding: 0; -} - -.toolbar .searchbar-ios.searchbar-has-focus .searchbar-ios-cancel { - padding-left: 8px; -} - -.searchbar-ios .searchbar-md-cancel { - display: none; -} - -.searchbar-ios-primary .searchbar-ios-cancel { - color: #673AB7; -} - -.searchbar-ios-primary .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #734abd; -} - -.toolbar-ios-primary .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-secondary .searchbar-ios-cancel { - color: #32db64; -} - -.searchbar-ios-secondary .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #2ec95c; -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-danger .searchbar-ios-cancel { - color: #f53d3d; -} - -.searchbar-ios-danger .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #e13838; -} - -.toolbar-ios-danger .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-light .searchbar-ios-cancel { - color: #f4f4f4; -} - -.searchbar-ios-light .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #e0e0e0; -} - -.toolbar-ios-light .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input { - color: #000; - background: rgba(0, 0, 0, 0.08); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-light .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-light .searchbar-ios .searchbar-ios-cancel { - color: #673AB7; -} - -.searchbar-ios-dark .searchbar-ios-cancel { - color: #222; -} - -.searchbar-ios-dark .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #343434; -} - -.toolbar-ios-dark .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-optblue .searchbar-ios-cancel { - color: #E00201; -} - -.searchbar-ios-optblue .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #e21615; -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-gray .searchbar-ios-cancel { - color: #dad8d8; -} - -.searchbar-ios-gray .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #c9c7c7; -} - -.toolbar-ios-gray .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-gray .searchbar-ios .searchbar-input { - color: #000; - background: rgba(0, 0, 0, 0.08); -} - -.toolbar-ios-gray .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-gray .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-gray .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-gray .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-gray .searchbar-ios .searchbar-ios-cancel { - color: #673AB7; -} - -.searchbar-ios-green .searchbar-ios-cancel { - color: #1dc764; -} - -.searchbar-ios-green .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #2fcb70; -} - -.toolbar-ios-green .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-green .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-green .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-green .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-green .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-green .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-green .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios.searchbar-animated.searchbar-show-cancel .searchbar-ios-cancel { - display: block; -} - -.searchbar-ios.searchbar-animated .searchbar-search-icon, -.searchbar-ios.searchbar-animated .searchbar-input { - -webkit-transition: all 300ms ease; - transition: all 300ms ease; -} - -.searchbar-animated.searchbar-has-focus .searchbar-ios-cancel { - opacity: 1; - pointer-events: auto; -} - -.searchbar-animated .searchbar-ios-cancel { - margin-right: -100%; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - opacity: 0; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - pointer-events: none; -} - -.searchbar-md { - background: inherit; - padding: 8px; -} - -.searchbar-md .searchbar-search-icon { - left: 16px; - top: 11px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 21px; - height: 21px; -} - -.searchbar-md .searchbar-md-cancel { - left: 10px; - top: 0; - margin: 0; - display: none; - width: 21px; - height: 100%; -} - -.searchbar-md .searchbar-search-icon, -.searchbar-md .searchbar-md-cancel { - position: absolute; - background-repeat: no-repeat; - background-size: 20px; -} - -.searchbar-md .searchbar-search-icon.activated, -.searchbar-md .searchbar-md-cancel.activated { - background-color: transparent; -} - -.searchbar-md .searchbar-input { - padding: 6px 55px; - border-radius: 2px; - background-position: left 8px center; - height: auto; - font-size: 1.6rem; - font-weight: 400; - line-height: 3rem; - color: #141414; - background-color: #fff; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} - -.searchbar-md .searchbar-input::-moz-placeholder { - color: #aeaeae; -} - -.searchbar-md .searchbar-input:-ms-input-placeholder { - color: #aeaeae; -} - -.searchbar-md .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: #aeaeae; -} - -.searchbar-md .searchbar-clear-icon { - right: 13px; - top: 0; - background-image: url("data:image/svg+xml;charset=utf-8,"); - padding: 0; - background-position: center; - position: absolute; - width: 22px; - height: 100%; - background-repeat: no-repeat; - background-size: 22px; -} - -.searchbar-md .searchbar-clear-icon.activated { - background-color: transparent; -} - -.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon { - display: none; -} - -.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.toolbar .searchbar-md { - padding: 3px; -} - -.toolbar .searchbar-md .searchbar-md-cancel { - left: 14px; -} - -.searchbar-md .searchbar-ios-cancel { - display: none; -} - -.searchbar-wp { - background: transparent; - padding: 8px; -} - -.searchbar-wp .searchbar-input-container { - border: 2px solid rgba(0, 0, 0, 0.5); -} - -.searchbar-wp .searchbar-search-icon { - right: 8px; - top: 5px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - position: absolute; - width: 21px; - height: 21px; - background-repeat: no-repeat; - background-size: 20px; -} - -.searchbar-wp .searchbar-search-icon.activated { - background-color: transparent; -} - -.searchbar-wp .searchbar-input { - padding: 0 8px; - border-radius: 0; - background-position: left 8px center; - height: auto; - font-size: 1.4rem; - font-weight: 400; - line-height: 3rem; - color: #141414; - background-color: #fff; -} - -.searchbar-wp .searchbar-input::-moz-placeholder { - color: #858585; -} - -.searchbar-wp .searchbar-input:-ms-input-placeholder { - color: #858585; -} - -.searchbar-wp .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: #858585; -} - -.searchbar-wp .searchbar-clear-icon { - right: 8px; - top: 0; - background-image: url("data:image/svg+xml;charset=utf-8,"); - padding: 0; - background-position: center; - position: absolute; - width: 22px; - height: 100%; - background-repeat: no-repeat; - background-size: 22px; -} - -.searchbar-wp .searchbar-clear-icon.activated { - background-color: transparent; -} - -.searchbar-wp.searchbar-has-focus .searchbar-input-container { - border-color: #673AB7; -} - -.searchbar-wp.searchbar-has-value .searchbar-search-icon { - display: none; -} - -.searchbar-wp .searchbar-ios-cancel { - display: none; -} - -.searchbar-wp .searchbar-md-cancel { - display: none; -} - -.toolbar .searchbar-wp { - padding: 2px; -} - -.searchbar-wp-primary.searchbar-has-focus .searchbar-input-container { - border-color: #673AB7; -} - -.searchbar-wp-secondary.searchbar-has-focus .searchbar-input-container { - border-color: #32db64; -} - -.searchbar-wp-danger.searchbar-has-focus .searchbar-input-container { - border-color: #f53d3d; -} - -.searchbar-wp-light.searchbar-has-focus .searchbar-input-container { - border-color: #f4f4f4; -} - -.searchbar-wp-dark.searchbar-has-focus .searchbar-input-container { - border-color: #222; -} - -.searchbar-wp-optblue.searchbar-has-focus .searchbar-input-container { - border-color: #E00201; -} - -.searchbar-wp-gray.searchbar-has-focus .searchbar-input-container { - border-color: #dad8d8; -} - -.searchbar-wp-green.searchbar-has-focus .searchbar-input-container { - border-color: #1dc764; -} - -ion-segment { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; -} - -.segment-button { - margin-left: 0; - margin-right: 0; - text-align: center; - position: relative; - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - cursor: pointer; -} - -.segment-ios .segment-button { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 0; - height: 3.2rem; - border-width: 1px; - border-style: solid; - border-color: #673AB7; - font-size: 1.3rem; - line-height: 3rem; - color: #673AB7; - background-color: transparent; -} - -.segment-ios .segment-button ion-icon { - font-size: 2.6rem; - line-height: 2.8rem; -} - -.segment-ios .segment-button.segment-activated { - color: #fff; - background-color: #673AB7; - opacity: 1; - -webkit-transition: 100ms all linear; - transition: 100ms all linear; -} - -.segment-ios .segment-button:hover:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.1); - -webkit-transition: 100ms all linear; - transition: 100ms all linear; -} - -.segment-ios .segment-button:active:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.16); - -webkit-transition: 100ms all linear; - transition: 100ms all linear; -} - -.segment-ios .segment-button:first-of-type { - border-top-left-radius: 4px; - border-top-right-radius: 0; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4px; - margin-right: 0; -} - -.segment-ios .segment-button:not(:first-of-type) { - border-left-width: 0; -} - -.segment-ios .segment-button:last-of-type { - border-top-left-radius: 0; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 0; - margin-left: 0; - border-left-width: 0; -} - -[dir="rtl"] .segment-ios .segment-button:first-of-type { - border-left-width: 0; -} - -[dir="rtl"] .segment-ios .segment-button:last-of-type { - border-left-width: 1px; -} - -.segment-ios.segment-disabled { - opacity: .4; - pointer-events: none; -} - -.segment-ios .segment-button-disabled { - color: rgba(103, 58, 183, 0.3); - pointer-events: none; -} - -.toolbar-ios .segment-ios { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; -} - -.toolbar-ios .segment-button { - max-width: 100px; - height: 2.6rem; - font-size: 1.2rem; - line-height: 2.5rem; -} - -.toolbar-ios .segment-button ion-icon { - font-size: 2.2rem; - line-height: 2.4rem; -} - -.segment-ios-primary .segment-button { - border-color: #673AB7; - color: #673AB7; -} - -.segment-ios-primary .segment-button:hover:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.1); -} - -.segment-ios-primary .segment-button:active:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.16); -} - -.segment-ios-primary .segment-button.segment-activated { - color: #fff; - background-color: #673AB7; -} - -.segment-ios-primary .segment-button-disabled { - color: rgba(103, 58, 183, 0.3); -} - -.toolbar-ios-primary .segment-ios .segment-button.segment-activated { - color: #673AB7; -} - -.segment-ios-secondary .segment-button { - border-color: #32db64; - color: #32db64; -} - -.segment-ios-secondary .segment-button:hover:not(.segment-activated) { - background-color: rgba(50, 219, 100, 0.1); -} - -.segment-ios-secondary .segment-button:active:not(.segment-activated) { - background-color: rgba(50, 219, 100, 0.16); -} - -.segment-ios-secondary .segment-button.segment-activated { - color: #fff; - background-color: #32db64; -} - -.segment-ios-secondary .segment-button-disabled { - color: rgba(50, 219, 100, 0.3); -} - -.toolbar-ios-secondary .segment-ios .segment-button.segment-activated { - color: #32db64; -} - -.segment-ios-danger .segment-button { - border-color: #f53d3d; - color: #f53d3d; -} - -.segment-ios-danger .segment-button:hover:not(.segment-activated) { - background-color: rgba(245, 61, 61, 0.1); -} - -.segment-ios-danger .segment-button:active:not(.segment-activated) { - background-color: rgba(245, 61, 61, 0.16); -} - -.segment-ios-danger .segment-button.segment-activated { - color: #fff; - background-color: #f53d3d; -} - -.segment-ios-danger .segment-button-disabled { - color: rgba(245, 61, 61, 0.3); -} - -.toolbar-ios-danger .segment-ios .segment-button.segment-activated { - color: #f53d3d; -} - -.segment-ios-light .segment-button { - border-color: #f4f4f4; - color: #f4f4f4; -} - -.segment-ios-light .segment-button:hover:not(.segment-activated) { - background-color: rgba(244, 244, 244, 0.1); -} - -.segment-ios-light .segment-button:active:not(.segment-activated) { - background-color: rgba(244, 244, 244, 0.16); -} - -.segment-ios-light .segment-button.segment-activated { - color: #000; - background-color: #f4f4f4; -} - -.segment-ios-light .segment-button-disabled { - color: rgba(244, 244, 244, 0.3); -} - -.toolbar-ios-light .segment-ios .segment-button.segment-activated { - color: #f4f4f4; -} - -.segment-ios-dark .segment-button { - border-color: #222; - color: #222; -} - -.segment-ios-dark .segment-button:hover:not(.segment-activated) { - background-color: rgba(34, 34, 34, 0.1); -} - -.segment-ios-dark .segment-button:active:not(.segment-activated) { - background-color: rgba(34, 34, 34, 0.16); -} - -.segment-ios-dark .segment-button.segment-activated { - color: #fff; - background-color: #222; -} - -.segment-ios-dark .segment-button-disabled { - color: rgba(34, 34, 34, 0.3); -} - -.toolbar-ios-dark .segment-ios .segment-button.segment-activated { - color: #222; -} - -.segment-ios-optblue .segment-button { - border-color: #E00201; - color: #E00201; -} - -.segment-ios-optblue .segment-button:hover:not(.segment-activated) { - background-color: rgba(224, 2, 1, 0.1); -} - -.segment-ios-optblue .segment-button:active:not(.segment-activated) { - background-color: rgba(224, 2, 1, 0.16); -} - -.segment-ios-optblue .segment-button.segment-activated { - color: #fff; - background-color: #E00201; -} - -.segment-ios-optblue .segment-button-disabled { - color: rgba(224, 2, 1, 0.3); -} - -.toolbar-ios-optblue .segment-ios .segment-button.segment-activated { - color: #E00201; -} - -.segment-ios-gray .segment-button { - border-color: #dad8d8; - color: #dad8d8; -} - -.segment-ios-gray .segment-button:hover:not(.segment-activated) { - background-color: rgba(218, 216, 216, 0.1); -} - -.segment-ios-gray .segment-button:active:not(.segment-activated) { - background-color: rgba(218, 216, 216, 0.16); -} - -.segment-ios-gray .segment-button.segment-activated { - color: #000; - background-color: #dad8d8; -} - -.segment-ios-gray .segment-button-disabled { - color: rgba(218, 216, 216, 0.3); -} - -.toolbar-ios-gray .segment-ios .segment-button.segment-activated { - color: #dad8d8; -} - -.segment-ios-green .segment-button { - border-color: #1dc764; - color: #1dc764; -} - -.segment-ios-green .segment-button:hover:not(.segment-activated) { - background-color: rgba(29, 199, 100, 0.1); -} - -.segment-ios-green .segment-button:active:not(.segment-activated) { - background-color: rgba(29, 199, 100, 0.16); -} - -.segment-ios-green .segment-button.segment-activated { - color: #fff; - background-color: #1dc764; -} - -.segment-ios-green .segment-button-disabled { - color: rgba(29, 199, 100, 0.3); -} - -.toolbar-ios-green .segment-ios .segment-button.segment-activated { - color: #1dc764; -} - -.segment-md .segment-button { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 0; - height: 4.2rem; - border-bottom-width: 2px; - border-bottom-style: solid; - border-bottom-color: rgba(0, 0, 0, 0.1); - font-size: 1.2rem; - font-weight: 500; - line-height: 4rem; - text-transform: uppercase; - color: #673AB7; - background-color: transparent; - opacity: 0.7; - -webkit-transition: 100ms all linear; - transition: 100ms all linear; - padding: 0 6px; -} - -.segment-md .segment-button ion-icon { - font-size: 2.6rem; - line-height: 4rem; -} - -.segment-md .segment-button.activated, .segment-md .segment-button.segment-activated { - border-color: #673AB7; - opacity: 1; -} - -.segment-md.segment-disabled, -.segment-md .segment-button-disabled { - opacity: 0.3; - pointer-events: none; -} - -.toolbar .segment-md { - margin: 0 auto; -} - -.toolbar .segment-md .segment-button.activated, -.toolbar .segment-md .segment-button.segment-activated { - opacity: 1; -} - -.segment-md-primary .segment-button { - color: #673AB7; -} - -.segment-md-primary .segment-button.activated, .segment-md-primary .segment-button.segment-activated { - border-color: #673AB7; - color: #673AB7; - opacity: 1; -} - -.segment-md-secondary .segment-button { - color: #32db64; -} - -.segment-md-secondary .segment-button.activated, .segment-md-secondary .segment-button.segment-activated { - border-color: #32db64; - color: #32db64; - opacity: 1; -} - -.segment-md-danger .segment-button { - color: #f53d3d; -} - -.segment-md-danger .segment-button.activated, .segment-md-danger .segment-button.segment-activated { - border-color: #f53d3d; - color: #f53d3d; - opacity: 1; -} - -.segment-md-light .segment-button { - color: #f4f4f4; -} - -.segment-md-light .segment-button.activated, .segment-md-light .segment-button.segment-activated { - border-color: #f4f4f4; - color: #f4f4f4; - opacity: 1; -} - -.segment-md-dark .segment-button { - color: #222; -} - -.segment-md-dark .segment-button.activated, .segment-md-dark .segment-button.segment-activated { - border-color: #222; - color: #222; - opacity: 1; -} - -.segment-md-optblue .segment-button { - color: #E00201; -} - -.segment-md-optblue .segment-button.activated, .segment-md-optblue .segment-button.segment-activated { - border-color: #E00201; - color: #E00201; - opacity: 1; -} - -.segment-md-gray .segment-button { - color: #dad8d8; -} - -.segment-md-gray .segment-button.activated, .segment-md-gray .segment-button.segment-activated { - border-color: #dad8d8; - color: #dad8d8; - opacity: 1; -} - -.segment-md-green .segment-button { - color: #1dc764; -} - -.segment-md-green .segment-button.activated, .segment-md-green .segment-button.segment-activated { - border-color: #1dc764; - color: #1dc764; - opacity: 1; -} - -.segment-wp { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.segment-wp .segment-button { - height: 4rem; - font-size: 1.3rem; - font-weight: bold; - line-height: 4rem; - text-transform: uppercase; - color: #000; - background-color: transparent; - opacity: 0.5; - padding: 0 6px; -} - -.segment-wp .segment-button.segment-activated { - opacity: 1; -} - -.segment-wp .segment-button ion-icon { - font-size: 2.6rem; - line-height: 4rem; -} - -.segment-wp.segment-disabled, -.segment-wp .segment-button-disabled { - opacity: 0.3; - pointer-events: none; -} - -.toolbar .segment-wp { - margin: 0 auto; -} - -.segment-wp-primary .segment-button { - color: #673AB7; -} - -.segment-wp-primary .segment-button.activated, .segment-wp-primary .segment-button.segment-activated { - border-color: #673AB7; - color: #673AB7; - opacity: 1; -} - -.segment-wp-secondary .segment-button { - color: #32db64; -} - -.segment-wp-secondary .segment-button.activated, .segment-wp-secondary .segment-button.segment-activated { - border-color: #32db64; - color: #32db64; - opacity: 1; -} - -.segment-wp-danger .segment-button { - color: #f53d3d; -} - -.segment-wp-danger .segment-button.activated, .segment-wp-danger .segment-button.segment-activated { - border-color: #f53d3d; - color: #f53d3d; - opacity: 1; -} - -.segment-wp-light .segment-button { - color: #f4f4f4; -} - -.segment-wp-light .segment-button.activated, .segment-wp-light .segment-button.segment-activated { - border-color: #f4f4f4; - color: #f4f4f4; - opacity: 1; -} - -.segment-wp-dark .segment-button { - color: #222; -} - -.segment-wp-dark .segment-button.activated, .segment-wp-dark .segment-button.segment-activated { - border-color: #222; - color: #222; - opacity: 1; -} - -.segment-wp-optblue .segment-button { - color: #E00201; -} - -.segment-wp-optblue .segment-button.activated, .segment-wp-optblue .segment-button.segment-activated { - border-color: #E00201; - color: #E00201; - opacity: 1; -} - -.segment-wp-gray .segment-button { - color: #dad8d8; -} - -.segment-wp-gray .segment-button.activated, .segment-wp-gray .segment-button.segment-activated { - border-color: #dad8d8; - color: #dad8d8; - opacity: 1; -} - -.segment-wp-green .segment-button { - color: #1dc764; -} - -.segment-wp-green .segment-button.activated, .segment-wp-green .segment-button.segment-activated { - border-color: #1dc764; - color: #1dc764; - opacity: 1; -} - -ion-select { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - max-width: 45%; -} - -.select-text { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - min-width: 16px; - font-size: inherit; - text-overflow: ellipsis; - white-space: nowrap; -} - -.item-multiple-inputs ion-select { - position: relative; -} - -.select-disabled, -.item-select-disabled ion-label { - opacity: .4; - pointer-events: none; -} - -.select-popover ion-list { - margin: -1px 0; -} - -.select-ios { - padding: 11px 8px 11px 16px; -} - -.select-ios .select-placeholder { - color: #999; -} - -.select-ios .select-icon { - position: relative; - width: 12px; - height: 18px; -} - -.select-ios .select-icon .select-icon-inner { - left: 5px; - top: 50%; - margin-top: -2px; - position: absolute; - width: 0; - height: 0; - border-top: 5px solid; - border-right: 5px solid transparent; - border-left: 5px solid transparent; - color: #999; - pointer-events: none; -} - -.select-md { - padding: 13px 8px 13px 16px; -} - -.select-md .select-placeholder { - color: #999; -} - -.select-md .item-select ion-label { - margin-left: 0; -} - -.select-md .select-icon { - position: relative; - width: 12px; - height: 19px; -} - -.select-md .select-icon .select-icon-inner { - left: 5px; - top: 50%; - margin-top: -3px; - position: absolute; - width: 0; - height: 0; - border-top: 5px solid; - border-right: 5px solid transparent; - border-left: 5px solid transparent; - color: #999; - pointer-events: none; -} - -.select-wp { - margin: 13px 8px; - padding: 0 8px; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - max-width: 100%; - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; -} - -.select-wp .select-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.item-wp.item-select ion-label { - margin-left: 0; -} - -.select-wp .select-icon { - position: relative; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - width: 18px; - height: 18px; -} - -.select-wp .select-icon .select-icon-inner { - left: 5px; - top: 3px; - position: absolute; - display: block; - width: 9px; - height: 9px; - border-top: 2px solid rgba(0, 0, 0, 0.5); - border-right: 2px solid rgba(0, 0, 0, 0.5); - -webkit-transform: rotate(135deg); - transform: rotate(135deg); - pointer-events: none; -} - -.select-wp .select-text { - min-height: 3rem; -} - -.hidden-show-when { - display: none !important; -} - -.hidden-hide-when { - display: none !important; -} - -.swiper-container { - margin-left: auto; - margin-right: auto; - padding: 0; - position: relative; - z-index: 1; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - width: 100%; - height: 100%; -} - -.swiper-container-no-flexbox .swiper-slide { - float: left; -} - -.swiper-container-vertical > .swiper-wrapper { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.swiper-wrapper { - padding: 0; - position: relative; - z-index: 1; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - height: 100%; - -webkit-transition-property: -webkit-transform; - transition-property: -webkit-transform; - transition-property: transform; - transition-property: transform, -webkit-transform; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -.swiper-container-android .swiper-slide, -.swiper-wrapper { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -.swiper-container-multirow > .swiper-wrapper { - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.swiper-container-free-mode > .swiper-wrapper { - margin: 0 auto; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; -} - -.swiper-slide { - text-align: center; - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; - font-size: 18px; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.swiper-container-autoheight, -.swiper-container-autoheight .swiper-slide { - height: auto; -} - -.swiper-container-autoheight .swiper-wrapper { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; - -webkit-transition-property: height, -webkit-transform; - transition-property: height, -webkit-transform; - transition-property: transform, height; - transition-property: transform, height, -webkit-transform; -} - -.swiper-container .swiper-notification { - left: 0; - top: 0; - position: absolute; - z-index: -1000; - opacity: 0; - pointer-events: none; -} - -.swiper-wp8-horizontal { - -ms-touch-action: pan-y; - touch-action: pan-y; -} - -.swiper-wp8-vertical { - -ms-touch-action: pan-x; - touch-action: pan-x; -} - -.swiper-button-prev, -.swiper-button-next { - top: 50%; - margin-top: -22px; - background-position: center; - position: absolute; - z-index: 10; - width: 27px; - height: 44px; - background-repeat: no-repeat; - background-size: 27px 44px; - cursor: pointer; -} - -.swiper-button-prev.swiper-button-disabled, -.swiper-button-next.swiper-button-disabled { - cursor: auto; - opacity: .35; - pointer-events: none; -} - -.swiper-button-prev, -.swiper-container-rtl .swiper-button-next { - left: 10px; - right: auto; - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-prev.swiper-button-black, -.swiper-container-rtl .swiper-button-next.swiper-button-black { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-prev.swiper-button-white, -.swiper-container-rtl .swiper-button-next.swiper-button-white { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-next, -.swiper-container-rtl .swiper-button-prev { - left: auto; - right: 10px; - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-next.swiper-button-black, -.swiper-container-rtl .swiper-button-prev.swiper-button-black { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-next.swiper-button-white, -.swiper-container-rtl .swiper-button-prev.swiper-button-white { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-pagination { - text-align: center; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - position: absolute; - z-index: 10; - -webkit-transition: 300ms; - transition: 300ms; - pointer-events: none; -} - -.swiper-pagination.swiper-pagination-hidden { - opacity: 0; -} - -.swiper-pagination-fraction, -.swiper-pagination-custom, -.swiper-container-horizontal > .swiper-pagination-bullets { - left: 0; - bottom: 10px; - width: 100%; -} - -.swiper-pagination-bullet { - border-radius: 100%; - display: inline-block; - width: 8px; - height: 8px; - background: #000; - opacity: .2; - pointer-events: auto; -} - -button.swiper-pagination-bullet { - margin: 0; - padding: 0; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -.swiper-pagination-clickable .swiper-pagination-bullet { - cursor: pointer; -} - -.swiper-pagination-white .swiper-pagination-bullet { - background: #fff; -} - -.swiper-pagination-bullet-active { - background: #007aff; - opacity: 1; -} - -.swiper-pagination-white .swiper-pagination-bullet-active { - background: #fff; -} - -.swiper-pagination-black .swiper-pagination-bullet-active { - background: #000; -} - -.swiper-container-vertical > .swiper-pagination-bullets { - right: 10px; - top: 50%; - -webkit-transform: translate3d(0, -50%, 0); - transform: translate3d(0, -50%, 0); -} - -.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet { - margin: 5px 0; - display: block; -} - -.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet { - margin: 0 5px; -} - -.swiper-pagination-progress { - position: absolute; - background: rgba(0, 0, 0, 0.25); -} - -.swiper-pagination-progress .swiper-pagination-progressbar { - left: 0; - top: 0; - -webkit-transform-origin: left top; - transform-origin: left top; - position: absolute; - width: 100%; - height: 100%; - background: #007aff; - -webkit-transform: scale(0); - transform: scale(0); -} - -.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar { - -webkit-transform-origin: right top; - transform-origin: right top; -} - -.swiper-container-horizontal > .swiper-pagination-progress { - left: 0; - top: 0; - width: 100%; - height: 4px; -} - -.swiper-container-vertical > .swiper-pagination-progress { - left: 0; - top: 0; - width: 4px; - height: 100%; -} - -.swiper-pagination-progress.swiper-pagination-white { - background: rgba(255, 255, 255, 0.5); -} - -.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar { - background: #fff; -} - -.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar { - background: #000; -} - -.swiper-container-3d { - -webkit-perspective: 1200px; - perspective: 1200px; -} - -.swiper-container-3d .swiper-wrapper, -.swiper-container-3d .swiper-slide, -.swiper-container-3d .swiper-slide-shadow-left, -.swiper-container-3d .swiper-slide-shadow-right, -.swiper-container-3d .swiper-slide-shadow-top, -.swiper-container-3d .swiper-slide-shadow-bottom, -.swiper-container-3d .swiper-cube-shadow { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; -} - -.swiper-container-3d .swiper-slide-shadow-left, -.swiper-container-3d .swiper-slide-shadow-right, -.swiper-container-3d .swiper-slide-shadow-top, -.swiper-container-3d .swiper-slide-shadow-bottom { - left: 0; - top: 0; - position: absolute; - z-index: 10; - width: 100%; - height: 100%; - pointer-events: none; -} - -.swiper-container-3d .swiper-slide-shadow-left { - background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-3d .swiper-slide-shadow-right { - background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-3d .swiper-slide-shadow-top { - background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-3d .swiper-slide-shadow-bottom { - background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-coverflow .swiper-wrapper, -.swiper-container-flip .swiper-wrapper { - -webkit-perspective: 1200px; - perspective: 1200px; -} - -.swiper-container-cube, -.swiper-container-flip { - overflow: visible; -} - -.swiper-container-cube .swiper-slide, -.swiper-container-flip .swiper-slide { - z-index: 1; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: none; -} - -.swiper-container-cube .swiper-slide .swiper-slide, -.swiper-container-flip .swiper-slide .swiper-slide { - pointer-events: none; -} - -.swiper-container-cube .swiper-slide-active, -.swiper-container-flip .swiper-slide-active, -.swiper-container-cube .swiper-slide-active .swiper-slide-active, -.swiper-container-flip .swiper-slide-active .swiper-slide-active { - pointer-events: auto; -} - -.swiper-container-cube .swiper-slide-shadow-top, -.swiper-container-flip .swiper-slide-shadow-top, -.swiper-container-cube .swiper-slide-shadow-bottom, -.swiper-container-flip .swiper-slide-shadow-bottom, -.swiper-container-cube .swiper-slide-shadow-left, -.swiper-container-flip .swiper-slide-shadow-left, -.swiper-container-cube .swiper-slide-shadow-right, -.swiper-container-flip .swiper-slide-shadow-right { - z-index: 0; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} - -.swiper-container-cube .swiper-slide { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; - width: 100%; - height: 100%; - visibility: hidden; -} - -.swiper-container-cube.swiper-container-rtl .swiper-slide { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} - -.swiper-container-cube .swiper-slide-active, -.swiper-container-cube .swiper-slide-next, -.swiper-container-cube .swiper-slide-prev, -.swiper-container-cube .swiper-slide-next + .swiper-slide { - visibility: visible; - pointer-events: auto; -} - -.swiper-container-cube .swiper-cube-shadow { - left: 0; - bottom: 0; - position: absolute; - z-index: 0; - width: 100%; - height: 100%; - background: #000; - opacity: .6; - -webkit-filter: blur(50px); - filter: blur(50px); -} - -.swiper-container-fade.swiper-container-free-mode .swiper-slide { - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; -} - -.swiper-container-fade .swiper-slide { - -webkit-transition-property: opacity; - transition-property: opacity; - pointer-events: none; -} - -.swiper-container-fade .swiper-slide .swiper-slide { - pointer-events: none; -} - -.swiper-container-fade .swiper-slide-active, -.swiper-container-fade .swiper-slide-active .swiper-slide-active { - pointer-events: auto; -} - -.swiper-zoom-container { - text-align: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.swiper-zoom-container > img, -.swiper-zoom-container > svg, -.swiper-zoom-container > canvas { - max-width: 100%; - max-height: 100%; - -o-object-fit: contain; - object-fit: contain; -} - -.swiper-scrollbar { - border-radius: 10px; - position: relative; - background: rgba(0, 0, 0, 0.1); - -ms-touch-action: none; - touch-action: none; -} - -.swiper-container-horizontal > .swiper-scrollbar { - left: 1%; - bottom: 3px; - position: absolute; - z-index: 50; - width: 98%; - height: 5px; -} - -.swiper-container-vertical > .swiper-scrollbar { - right: 3px; - top: 1%; - position: absolute; - z-index: 50; - width: 5px; - height: 98%; -} - -.swiper-scrollbar-drag { - left: 0; - top: 0; - border-radius: 10px; - position: relative; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.5); -} - -.swiper-scrollbar-cursor-drag { - cursor: move; -} - -.swiper-lazy-preloader { - left: 50%; - top: 50%; - margin-left: -21px; - margin-top: -21px; - -webkit-transform-origin: 50%; - transform-origin: 50%; - position: absolute; - z-index: 10; - width: 42px; - height: 42px; - -webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite; - animation: swiper-preloader-spin 1s steps(12, end) infinite; -} - -.swiper-lazy-preloader::after { - background-position: 50%; - display: block; - width: 100%; - height: 100%; - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); - background-repeat: no-repeat; - background-size: 100%; - content: ""; -} - -.swiper-lazy-preloader-white::after { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); -} - -@-webkit-keyframes swiper-preloader-spin { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes swiper-preloader-spin { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -ion-slides { - display: block; - width: 100%; - height: 100%; -} - -.slide-zoom { - text-align: center; - display: block; - width: 100%; -} - -.swiper-slide img { - width: auto; - max-width: 100%; - height: auto; - max-height: 100%; -} - -ion-spinner { - position: relative; - display: inline-block; - width: 28px; - height: 28px; -} - -ion-spinner svg { - left: 0; - top: 0; - position: absolute; - width: 100%; - height: 100%; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-spinner.spinner-paused svg { - -webkit-animation-play-state: paused; - animation-play-state: paused; -} - -.spinner-ios line, -.spinner-ios-small line { - stroke-width: 4px; - stroke-linecap: round; -} - -.spinner-ios svg, -.spinner-ios-small svg { - -webkit-animation: spinner-fade-out 1s linear infinite; - animation: spinner-fade-out 1s linear infinite; -} - -.spinner-bubbles svg { - -webkit-animation: spinner-scale-out 1s linear infinite; - animation: spinner-scale-out 1s linear infinite; -} - -.spinner-circles svg { - -webkit-animation: spinner-fade-out 1s linear infinite; - animation: spinner-fade-out 1s linear infinite; -} - -.spinner-crescent circle { - fill: transparent; - stroke-width: 4px; - stroke-dasharray: 128px; - stroke-dashoffset: 82px; -} - -.spinner-crescent svg { - -webkit-animation: spinner-rotate 1s linear infinite; - animation: spinner-rotate 1s linear infinite; -} - -.spinner-dots circle { - stroke-width: 0; -} - -.spinner-dots svg { - -webkit-transform-origin: center; - transform-origin: center; - -webkit-animation: spinner-dots 1s linear infinite; - animation: spinner-dots 1s linear infinite; -} - -@-webkit-keyframes spinner-fade-out { - 0% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -@keyframes spinner-fade-out { - 0% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -@-webkit-keyframes spinner-scale-out { - 0% { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 100% { - -webkit-transform: scale(0, 0); - transform: scale(0, 0); - } -} - -@keyframes spinner-scale-out { - 0% { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 100% { - -webkit-transform: scale(0, 0); - transform: scale(0, 0); - } -} - -@-webkit-keyframes spinner-rotate { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes spinner-rotate { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@-webkit-keyframes spinner-dots { - 0% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 50% { - opacity: .3; - -webkit-transform: scale(0.4, 0.4); - transform: scale(0.4, 0.4); - } - 100% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } -} - -@keyframes spinner-dots { - 0% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 50% { - opacity: .3; - -webkit-transform: scale(0.4, 0.4); - transform: scale(0.4, 0.4); - } - 100% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } -} - -.spinner-ios-ios line, -.spinner-ios-ios-small line { - stroke: #69717d; -} - -.spinner-ios-bubbles circle { - fill: #000; -} - -.spinner-ios-circles circle { - fill: #69717d; -} - -.spinner-ios-crescent circle { - stroke: #000; -} - -.spinner-ios-dots circle { - fill: #444; -} - -.spinner-ios-primary.spinner-ios line, -.spinner-ios-primary.spinner-ios-small line, -.spinner-ios-primary.spinner-crescent circle { - stroke: #673AB7; -} - -.spinner-ios-primary.spinner-bubbles circle, -.spinner-ios-primary.spinner-circles circle, -.spinner-ios-primary.spinner-dots circle { - fill: #673AB7; -} - -.spinner-ios-secondary.spinner-ios line, -.spinner-ios-secondary.spinner-ios-small line, -.spinner-ios-secondary.spinner-crescent circle { - stroke: #32db64; -} - -.spinner-ios-secondary.spinner-bubbles circle, -.spinner-ios-secondary.spinner-circles circle, -.spinner-ios-secondary.spinner-dots circle { - fill: #32db64; -} - -.spinner-ios-danger.spinner-ios line, -.spinner-ios-danger.spinner-ios-small line, -.spinner-ios-danger.spinner-crescent circle { - stroke: #f53d3d; -} - -.spinner-ios-danger.spinner-bubbles circle, -.spinner-ios-danger.spinner-circles circle, -.spinner-ios-danger.spinner-dots circle { - fill: #f53d3d; -} - -.spinner-ios-light.spinner-ios line, -.spinner-ios-light.spinner-ios-small line, -.spinner-ios-light.spinner-crescent circle { - stroke: #f4f4f4; -} - -.spinner-ios-light.spinner-bubbles circle, -.spinner-ios-light.spinner-circles circle, -.spinner-ios-light.spinner-dots circle { - fill: #f4f4f4; -} - -.spinner-ios-dark.spinner-ios line, -.spinner-ios-dark.spinner-ios-small line, -.spinner-ios-dark.spinner-crescent circle { - stroke: #222; -} - -.spinner-ios-dark.spinner-bubbles circle, -.spinner-ios-dark.spinner-circles circle, -.spinner-ios-dark.spinner-dots circle { - fill: #222; -} - -.spinner-ios-optblue.spinner-ios line, -.spinner-ios-optblue.spinner-ios-small line, -.spinner-ios-optblue.spinner-crescent circle { - stroke: #E00201; -} - -.spinner-ios-optblue.spinner-bubbles circle, -.spinner-ios-optblue.spinner-circles circle, -.spinner-ios-optblue.spinner-dots circle { - fill: #E00201; -} - -.spinner-ios-gray.spinner-ios line, -.spinner-ios-gray.spinner-ios-small line, -.spinner-ios-gray.spinner-crescent circle { - stroke: #dad8d8; -} - -.spinner-ios-gray.spinner-bubbles circle, -.spinner-ios-gray.spinner-circles circle, -.spinner-ios-gray.spinner-dots circle { - fill: #dad8d8; -} - -.spinner-ios-green.spinner-ios line, -.spinner-ios-green.spinner-ios-small line, -.spinner-ios-green.spinner-crescent circle { - stroke: #1dc764; -} - -.spinner-ios-green.spinner-bubbles circle, -.spinner-ios-green.spinner-circles circle, -.spinner-ios-green.spinner-dots circle { - fill: #1dc764; -} - -.spinner-md-ios line, -.spinner-md-ios-small line { - stroke: #69717d; -} - -.spinner-md-bubbles circle { - fill: #000; -} - -.spinner-md-circles circle { - fill: #69717d; -} - -.spinner-md-crescent circle { - stroke: #000; -} - -.spinner-md-dots circle { - fill: #444; -} - -.spinner-md-primary.spinner-ios line, -.spinner-md-primary.spinner-ios-small line, -.spinner-md-primary.spinner-crescent circle { - stroke: #673AB7; -} - -.spinner-md-primary.spinner-bubbles circle, -.spinner-md-primary.spinner-circles circle, -.spinner-md-primary.spinner-dots circle { - fill: #673AB7; -} - -.spinner-md-secondary.spinner-ios line, -.spinner-md-secondary.spinner-ios-small line, -.spinner-md-secondary.spinner-crescent circle { - stroke: #32db64; -} - -.spinner-md-secondary.spinner-bubbles circle, -.spinner-md-secondary.spinner-circles circle, -.spinner-md-secondary.spinner-dots circle { - fill: #32db64; -} - -.spinner-md-danger.spinner-ios line, -.spinner-md-danger.spinner-ios-small line, -.spinner-md-danger.spinner-crescent circle { - stroke: #f53d3d; -} - -.spinner-md-danger.spinner-bubbles circle, -.spinner-md-danger.spinner-circles circle, -.spinner-md-danger.spinner-dots circle { - fill: #f53d3d; -} - -.spinner-md-light.spinner-ios line, -.spinner-md-light.spinner-ios-small line, -.spinner-md-light.spinner-crescent circle { - stroke: #f4f4f4; -} - -.spinner-md-light.spinner-bubbles circle, -.spinner-md-light.spinner-circles circle, -.spinner-md-light.spinner-dots circle { - fill: #f4f4f4; -} - -.spinner-md-dark.spinner-ios line, -.spinner-md-dark.spinner-ios-small line, -.spinner-md-dark.spinner-crescent circle { - stroke: #222; -} - -.spinner-md-dark.spinner-bubbles circle, -.spinner-md-dark.spinner-circles circle, -.spinner-md-dark.spinner-dots circle { - fill: #222; -} - -.spinner-md-optblue.spinner-ios line, -.spinner-md-optblue.spinner-ios-small line, -.spinner-md-optblue.spinner-crescent circle { - stroke: #E00201; -} - -.spinner-md-optblue.spinner-bubbles circle, -.spinner-md-optblue.spinner-circles circle, -.spinner-md-optblue.spinner-dots circle { - fill: #E00201; -} - -.spinner-md-gray.spinner-ios line, -.spinner-md-gray.spinner-ios-small line, -.spinner-md-gray.spinner-crescent circle { - stroke: #dad8d8; -} - -.spinner-md-gray.spinner-bubbles circle, -.spinner-md-gray.spinner-circles circle, -.spinner-md-gray.spinner-dots circle { - fill: #dad8d8; -} - -.spinner-md-green.spinner-ios line, -.spinner-md-green.spinner-ios-small line, -.spinner-md-green.spinner-crescent circle { - stroke: #1dc764; -} - -.spinner-md-green.spinner-bubbles circle, -.spinner-md-green.spinner-circles circle, -.spinner-md-green.spinner-dots circle { - fill: #1dc764; -} - -.spinner-wp-ios line, -.spinner-wp-ios-small line { - stroke: #69717d; -} - -.spinner-wp-bubbles circle { - fill: #000; -} - -.spinner-wp-circles circle { - fill: #69717d; -} - -.spinner-wp-crescent circle { - stroke: #000; -} - -.spinner-wp-dots circle { - fill: #444; -} - -.spinner-wp-primary.spinner-ios line, -.spinner-wp-primary.spinner-ios-small line, -.spinner-wp-primary.spinner-crescent circle { - stroke: #673AB7; -} - -.spinner-wp-primary.spinner-bubbles circle, -.spinner-wp-primary.spinner-circles circle, -.spinner-wp-primary.spinner-dots circle { - fill: #673AB7; -} - -.spinner-wp-secondary.spinner-ios line, -.spinner-wp-secondary.spinner-ios-small line, -.spinner-wp-secondary.spinner-crescent circle { - stroke: #32db64; -} - -.spinner-wp-secondary.spinner-bubbles circle, -.spinner-wp-secondary.spinner-circles circle, -.spinner-wp-secondary.spinner-dots circle { - fill: #32db64; -} - -.spinner-wp-danger.spinner-ios line, -.spinner-wp-danger.spinner-ios-small line, -.spinner-wp-danger.spinner-crescent circle { - stroke: #f53d3d; -} - -.spinner-wp-danger.spinner-bubbles circle, -.spinner-wp-danger.spinner-circles circle, -.spinner-wp-danger.spinner-dots circle { - fill: #f53d3d; -} - -.spinner-wp-light.spinner-ios line, -.spinner-wp-light.spinner-ios-small line, -.spinner-wp-light.spinner-crescent circle { - stroke: #f4f4f4; -} - -.spinner-wp-light.spinner-bubbles circle, -.spinner-wp-light.spinner-circles circle, -.spinner-wp-light.spinner-dots circle { - fill: #f4f4f4; -} - -.spinner-wp-dark.spinner-ios line, -.spinner-wp-dark.spinner-ios-small line, -.spinner-wp-dark.spinner-crescent circle { - stroke: #222; -} - -.spinner-wp-dark.spinner-bubbles circle, -.spinner-wp-dark.spinner-circles circle, -.spinner-wp-dark.spinner-dots circle { - fill: #222; -} - -.spinner-wp-optblue.spinner-ios line, -.spinner-wp-optblue.spinner-ios-small line, -.spinner-wp-optblue.spinner-crescent circle { - stroke: #E00201; -} - -.spinner-wp-optblue.spinner-bubbles circle, -.spinner-wp-optblue.spinner-circles circle, -.spinner-wp-optblue.spinner-dots circle { - fill: #E00201; -} - -.spinner-wp-gray.spinner-ios line, -.spinner-wp-gray.spinner-ios-small line, -.spinner-wp-gray.spinner-crescent circle { - stroke: #dad8d8; -} - -.spinner-wp-gray.spinner-bubbles circle, -.spinner-wp-gray.spinner-circles circle, -.spinner-wp-gray.spinner-dots circle { - fill: #dad8d8; -} - -.spinner-wp-green.spinner-ios line, -.spinner-wp-green.spinner-ios-small line, -.spinner-wp-green.spinner-crescent circle { - stroke: #1dc764; -} - -.spinner-wp-green.spinner-bubbles circle, -.spinner-wp-green.spinner-circles circle, -.spinner-wp-green.spinner-dots circle { - fill: #1dc764; -} - -.split-pane { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - contain: strict; -} - -.split-pane-side:not(ion-menu) { - display: none; -} - -.split-pane-visible > .split-pane-side, -.split-pane-visible > .split-pane-main { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: relative; - z-index: 0; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} - -.split-pane-visible > .split-pane-side { - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.split-pane-visible > .split-pane-main, -.split-pane-visible > ion-nav.split-pane-side, -.split-pane-visible > ion-tabs.split-pane-side, -.split-pane-visible > ion-menu.menu-enabled { - display: block; -} - -.split-pane-visible > ion-split-pane.split-pane-side, -.split-pane-visible > ion-split-pane.split-pane-main { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.split-pane-visible > ion-menu.menu-enabled > .menu-inner { - left: 0; - right: 0; - width: auto; - -webkit-box-shadow: none !important; - box-shadow: none !important; - -webkit-transform: none !important; - transform: none !important; -} - -.split-pane-visible > ion-menu.menu-enabled > .ion-backdrop { - display: hidden !important; -} - -.split-pane-visible > .split-pane-side[side=start] { - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.split-pane-visible > .split-pane-side[side=end] { - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; -} - -.split-pane-visible > .split-pane-side[side=left] { - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.split-pane-visible > .split-pane-side[side=right] { - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; -} - -.split-pane-ios.split-pane-visible > .split-pane-side { - min-width: 270px; - max-width: 28%; - border-right: 0.55px solid #c8c7cc; - border-left: 0; -} - -.split-pane-ios.split-pane-visible > .split-pane-side[side=right] { - border-right: 0; - border-left: 0.55px solid #c8c7cc; -} - -.split-pane-md.split-pane-visible > .split-pane-side { - min-width: 270px; - max-width: 28%; - border-right: 1px solid #dedede; - border-left: 0; -} - -.split-pane-md.split-pane-visible > .split-pane-side[side=right] { - border-right: 0; - border-left: 1px solid #dedede; -} - -.split-pane-wp.split-pane-visible > .split-pane-side { - min-width: 270px; - max-width: 28%; - border-right: 1px solid transparent; - border-left: 0; -} - -.split-pane-wp.split-pane-visible > .split-pane-side[side=right] { - border-right: 0; - border-left: 1px solid transparent; -} - -.tabbar { - left: 0; - bottom: 0; - position: absolute; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - opacity: 0; -} - -.tabbar-hidden .tabbar { - display: none; -} - -.tabbar.show-tabbar { - opacity: 1; -} - -[tabsPlacement=top] > .tabbar { - top: 0; - bottom: auto; -} - -.tab-button { - margin: 0; - text-align: center; - border-radius: 0; - position: relative; - z-index: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - border: 0; - text-decoration: none; - background: none; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.tab-disabled { - pointer-events: none; -} - -.tab-disabled ion-badge, -.tab-disabled ion-icon, -.tab-disabled span { - opacity: .4; -} - -.tab-button-text { - margin-top: 3px; - margin-bottom: 2px; -} - -.tab-button-text, -.tab-button-icon { - display: none; - overflow: hidden; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - min-width: 26px; - max-width: 100%; - text-overflow: ellipsis; - white-space: nowrap; -} - -.has-icon .tab-button-icon, -.has-title .tab-button-text { - display: block; -} - -.has-title-only .tab-button-text { - white-space: normal; -} - -[tabsLayout=icon-bottom] .tab-button .tab-button-icon { - -webkit-box-ordinal-group: 11; - -webkit-order: 10; - -ms-flex-order: 10; - order: 10; -} - -[tabsLayout=icon-left] .tab-button, -[tabsLayout=icon-right] .tab-button, -[tabsLayout=icon-start] .tab-button, -[tabsLayout=icon-end] .tab-button { - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -[tabsLayout=icon-left] .tab-button .tab-button-icon, -[tabsLayout=icon-start] .tab-button .tab-button-icon { - padding-right: 8px; - text-align: right; - text-align: end; -} - -[tabsLayout=icon-right] .tab-button .tab-button-icon, -[tabsLayout=icon-end] .tab-button .tab-button-icon { - padding-left: 8px; - text-align: left; - text-align: start; - -webkit-box-ordinal-group: 11; - -webkit-order: 10; - -ms-flex-order: 10; - order: 10; -} - -.tab-hidden, -.tab-highlight, -[tabsLayout=icon-hide] .tab-button-icon, -[tabsLayout=title-hide] .tab-button-text { - display: none; -} - -.tab-badge { - right: 4%; - top: 6%; - right: calc(50% - 50px); - padding: 1px 6px; - position: absolute; - height: auto; - font-size: 12px; - line-height: 16px; -} - -.has-icon .tab-badge { - right: calc(50% - 30px); -} - -[tabsLayout=icon-bottom] .tab-badge, -[tabsLayout=icon-left] .tab-badge, -[tabsLayout=icon-right] .tab-badge, -[tabsLayout=icon-start] .tab-badge, -[tabsLayout=icon-end] .tab-badge { - right: calc(50% - 50px); -} - -.tabs-ios .tabbar { - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - border-top: 0.55px solid rgba(0, 0, 0, 0.3); - background: #f8f8f8; -} - -.tabs-ios[tabsPlacement=top] .tabbar { - border-top: 0; - border-bottom: 0.55px solid rgba(0, 0, 0, 0.3); -} - -.tabs-ios .tab-button { - max-width: 240px; - min-height: 49px; - font-size: 10px; - font-weight: 500; - color: #8c8c8c; - padding: 0 2px; -} - -.tabs-ios .tab-button:hover:not(.disable-hover), -.tabs-ios .tab-button[aria-selected=true] { - color: #673AB7; -} - -.tabs-ios .tab-button[aria-selected=true] .tab-button-icon { - color: #673AB7; -} - -.tabs-ios .tab-button-text { - margin-top: 0; - margin-bottom: 1px; - min-height: 11px; -} - -.tabs-ios .has-title-only .tab-button-text { - font-size: 12px; -} - -.tabs-ios .tab-button-icon { - margin-top: 4px; - margin-bottom: 1px; - min-width: 35px; - height: 30px; - font-size: 30px; - color: #8c8c8c; -} - -.tabs-ios .tab-button-icon::before { - vertical-align: top; -} - -.tabs-ios[tabsLayout=icon-right] .tab-button .tab-button-text, -.tabs-ios[tabsLayout=icon-left] .tab-button .tab-button-text, -.tabs-ios[tabsLayout=icon-end] .tab-button .tab-button-text, -.tabs-ios[tabsLayout=icon-start] .tab-button .tab-button-text { - font-size: 1.4rem; - line-height: 1.1; -} - -.tabs-ios[tabsLayout=icon-right] .tab-button ion-icon, -.tabs-ios[tabsLayout=icon-left] .tab-button ion-icon, -.tabs-ios[tabsLayout=icon-end] .tab-button ion-icon, -.tabs-ios[tabsLayout=icon-start] .tab-button ion-icon { - min-width: 24px; - height: 26px; - font-size: 24px; -} - -.tabs-ios[tabsLayout=icon-hide] .tab-button, -.tabs-ios .tab-button.has-title-only { - min-height: 41px; -} - -.tabs-ios[tabsLayout=icon-hide] .tab-button .tab-button-text, -.tabs-ios .tab-button.has-title-only .tab-button-text { - margin: 2px 0; - font-size: 1.4rem; - line-height: 1.1; -} - -.tabs-ios[tabsLayout=title-hide] .tab-button, -.tabs-ios .tab-button.icon-only { - min-height: 41px; -} - -.tabs-ios-primary .tabbar { - border-color: #512e90; - background-color: #673AB7; -} - -.tabs-ios-primary .tab-button, -.tabs-ios-primary .tab-button-icon, -.tabs-ios-primary .tab-button:hover:not(.disable-hover), -.tabs-ios-primary .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-primary .tab-button[aria-selected=true], -.tabs-ios-primary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-secondary .tabbar { - border-color: #21b94e; - background-color: #32db64; -} - -.tabs-ios-secondary .tab-button, -.tabs-ios-secondary .tab-button-icon, -.tabs-ios-secondary .tab-button:hover:not(.disable-hover), -.tabs-ios-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-secondary .tab-button[aria-selected=true], -.tabs-ios-secondary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-danger .tabbar { - border-color: #f30d0d; - background-color: #f53d3d; -} - -.tabs-ios-danger .tab-button, -.tabs-ios-danger .tab-button-icon, -.tabs-ios-danger .tab-button:hover:not(.disable-hover), -.tabs-ios-danger .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-danger .tab-button[aria-selected=true], -.tabs-ios-danger .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-light .tabbar { - border-color: #dbdbdb; - background-color: #f4f4f4; -} - -.tabs-ios-light .tab-button, -.tabs-ios-light .tab-button-icon, -.tabs-ios-light .tab-button:hover:not(.disable-hover), -.tabs-ios-light .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-ios-light .tab-button[aria-selected=true], -.tabs-ios-light .tab-button[aria-selected=true] .tab-button-icon { - color: #000; -} - -.tabs-ios-dark .tabbar { - border-color: #090909; - background-color: #222; -} - -.tabs-ios-dark .tab-button, -.tabs-ios-dark .tab-button-icon, -.tabs-ios-dark .tab-button:hover:not(.disable-hover), -.tabs-ios-dark .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-dark .tab-button[aria-selected=true], -.tabs-ios-dark .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-optblue .tabbar { - border-color: #ad0201; - background-color: #E00201; -} - -.tabs-ios-optblue .tab-button, -.tabs-ios-optblue .tab-button-icon, -.tabs-ios-optblue .tab-button:hover:not(.disable-hover), -.tabs-ios-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-optblue .tab-button[aria-selected=true], -.tabs-ios-optblue .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-gray .tabbar { - border-color: #c1bebe; - background-color: #dad8d8; -} - -.tabs-ios-gray .tab-button, -.tabs-ios-gray .tab-button-icon, -.tabs-ios-gray .tab-button:hover:not(.disable-hover), -.tabs-ios-gray .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-ios-gray .tab-button[aria-selected=true], -.tabs-ios-gray .tab-button[aria-selected=true] .tab-button-icon { - color: #000; -} - -.tabs-ios-green .tabbar { - border-color: #179a4e; - background-color: #1dc764; -} - -.tabs-ios-green .tab-button, -.tabs-ios-green .tab-button-icon, -.tabs-ios-green .tab-button:hover:not(.disable-hover), -.tabs-ios-green .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-green .tab-button[aria-selected=true], -.tabs-ios-green .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md .tabbar { - background: #f8f8f8; -} - -.tabs-md .tab-button { - min-height: 5.6rem; - font-weight: normal; - color: rgba(60, 60, 60, 0.7); - padding: 0; -} - -.tabs-md .tab-button[aria-selected=true] { - color: #673AB7; - padding: 0; -} - -.tabs-md .tab-button-text { - font-size: 1.2rem; - text-transform: none; - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; - margin: 0; - -webkit-transform-origin: 50% 80%; - transform-origin: 50% 80%; -} - -.tabs-md .tab-button[aria-selected=true] .tab-button-text { - -webkit-transform: scale3d(1.16667, 1.16667, 1); - transform: scale3d(1.16667, 1.16667, 1); - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; -} - -.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text { - margin-top: 4px; - margin-bottom: 0; -} - -.tabs-md[tabsLayout=icon-bottom] .tab-button .tab-button-text { - margin-top: 0; -} - -.tabs-md .tab-button-icon { - margin-top: 1px; - min-width: 2.4rem; - font-size: 2.4rem; - color: rgba(60, 60, 60, 0.7); - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; - -webkit-transform-origin: 50% 150%; - transform-origin: 50% 150%; -} - -.tabs-md .tab-button[aria-selected=true] .tab-button-icon { - color: #673AB7; - -webkit-transform: translate3d(0, -2px, 0); - transform: translate3d(0, -2px, 0); -} - -.tabs-md[tabsLayout=icon-right] .tab-button[aria-selected=true] .tab-button-icon, -.tabs-md[tabsLayout=icon-end] .tab-button[aria-selected=true] .tab-button-icon { - -webkit-transform: translate3d(2px, 0, 0); - transform: translate3d(2px, 0, 0); -} - -.tabs-md[tabsLayout=icon-bottom] .tab-button[aria-selected=true] .tab-button-icon { - -webkit-transform: translate3d(0, 2px, 0); - transform: translate3d(0, 2px, 0); -} - -.tabs-md[tabsLayout=icon-left] .tab-button[aria-selected=true] .tab-button-icon, -.tabs-md[tabsLayout=icon-start] .tab-button[aria-selected=true] .tab-button-icon { - -webkit-transform: translate3d(-2px, 0, 0); - transform: translate3d(-2px, 0, 0); -} - -.tabs-md[tabsLayout=icon-hide] .tab-button, -.tabs-md[tabsLayout=title-hide] .tab-button, -.tabs-md .tab-button.icon-only, -.tabs-md .tab-button.has-title-only { - padding: 0 10px; -} - -.tabs-md[tabsHighlight=true] .tab-highlight { - left: 0; - bottom: 0; - -webkit-transform-origin: 0 0; - transform-origin: 0 0; - position: absolute; - display: block; - width: 1px; - height: 2px; - background: #673AB7; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.tabs-md[tabsHighlight=true] .tab-highlight.animate { - -webkit-transition-duration: 300ms; - transition-duration: 300ms; -} - -.tabs-md[tabsHighlight=true][tabsPlacement=bottom] > .tabbar > .tab-highlight { - top: 0; -} - -.tabs-md-primary .tabbar { - background-color: #673AB7; -} - -.tabs-md-primary .tab-button, -.tabs-md-primary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-primary .tab-button:hover:not(.disable-hover), -.tabs-md-primary .tab-button[aria-selected=true], -.tabs-md-primary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-primary[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-secondary .tabbar { - background-color: #32db64; -} - -.tabs-md-secondary .tab-button, -.tabs-md-secondary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-secondary .tab-button:hover:not(.disable-hover), -.tabs-md-secondary .tab-button[aria-selected=true], -.tabs-md-secondary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-secondary[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-danger .tabbar { - background-color: #f53d3d; -} - -.tabs-md-danger .tab-button, -.tabs-md-danger .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-danger .tab-button:hover:not(.disable-hover), -.tabs-md-danger .tab-button[aria-selected=true], -.tabs-md-danger .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-danger[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-light .tabbar { - background-color: #f4f4f4; -} - -.tabs-md-light .tab-button, -.tabs-md-light .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-md-light .tab-button:hover:not(.disable-hover), -.tabs-md-light .tab-button[aria-selected=true], -.tabs-md-light .tab-button[aria-selected=true] .tab-button-icon { - color: #000; -} - -.tabs-md-light[tabsHighlight=true] .tab-highlight { - background: #000; -} - -.tabs-md-dark .tabbar { - background-color: #222; -} - -.tabs-md-dark .tab-button, -.tabs-md-dark .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-dark .tab-button:hover:not(.disable-hover), -.tabs-md-dark .tab-button[aria-selected=true], -.tabs-md-dark .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-dark[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-optblue .tabbar { - background-color: #E00201; -} - -.tabs-md-optblue .tab-button, -.tabs-md-optblue .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-optblue .tab-button:hover:not(.disable-hover), -.tabs-md-optblue .tab-button[aria-selected=true], -.tabs-md-optblue .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-optblue[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-gray .tabbar { - background-color: #dad8d8; -} - -.tabs-md-gray .tab-button, -.tabs-md-gray .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-md-gray .tab-button:hover:not(.disable-hover), -.tabs-md-gray .tab-button[aria-selected=true], -.tabs-md-gray .tab-button[aria-selected=true] .tab-button-icon { - color: #000; -} - -.tabs-md-gray[tabsHighlight=true] .tab-highlight { - background: #000; -} - -.tabs-md-green .tabbar { - background-color: #1dc764; -} - -.tabs-md-green .tab-button, -.tabs-md-green .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-green .tab-button:hover:not(.disable-hover), -.tabs-md-green .tab-button[aria-selected=true], -.tabs-md-green .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-green[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-wp .tabbar { - background: #f8f8f8; -} - -.tabs-wp .tab-button { - border-radius: 0; - min-height: 4.8rem; - border-bottom: 2px solid transparent; - font-size: 1.2rem; - font-weight: normal; - color: rgba(140, 140, 140, 0.7); - -webkit-box-shadow: none; - box-shadow: none; - padding: 12px 10px 5px; -} - -.tabs-wp .tab-button[aria-selected=true] { - border-bottom-color: #673AB7; - color: #673AB7; -} - -.tabs-wp .tab-button.activated { - background: rgba(0, 0, 0, 0.1); -} - -.tabs-wp[tabsPlacement=bottom] .tab-button { - border-top: 2px solid transparent; - border-bottom-width: 0; -} - -.tabs-wp[tabsPlacement=bottom] .tab-button[aria-selected=true] { - border-top-color: #673AB7; -} - -.tabs-wp .tab-button-text { - margin-top: 5px; - margin-bottom: 5px; -} - -.tabs-wp .tab-button-icon { - min-width: 2.4rem; - font-size: 2.4rem; - color: rgba(140, 140, 140, 0.7); -} - -.tabs-wp .tab-button[aria-selected=true] .tab-button-icon { - color: #673AB7; -} - -.tabs-wp[tabsLayout=icon-bottom] .tab-button { - padding-top: 8px; - padding-bottom: 8px; -} - -.tabs-wp[tabsLayout=icon-right] .tab-button, -.tabs-wp[tabsLayout=icon-left] .tab-button, -.tabs-wp[tabsLayout=icon-end] .tab-button, -.tabs-wp[tabsLayout=icon-start] .tab-button { - padding-bottom: 10px; -} - -.tabs-wp[tabsLayout=icon-right] .tab-button ion-icon, -.tabs-wp[tabsLayout=icon-left] .tab-button ion-icon, -.tabs-wp[tabsLayout=icon-end] .tab-button ion-icon, -.tabs-wp[tabsLayout=icon-start] .tab-button ion-icon { - min-width: 24px; -} - -.tabs-wp[tabsLayout=icon-hide] .tab-button, -.tabs-wp[tabsLayout=title-hide] .tab-button, -.tabs-wp .tab-button.icon-only, -.tabs-wp .tab-button.has-title-only { - padding: 6px 10px; -} - -.tabs-wp-primary .tabbar { - background-color: #673AB7; -} - -.tabs-wp-primary .tab-button, -.tabs-wp-primary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-primary .tab-button:hover:not(.disable-hover), -.tabs-wp-primary .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-primary .tab-button[aria-selected=true], -.tabs-wp-primary .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-secondary .tabbar { - background-color: #32db64; -} - -.tabs-wp-secondary .tab-button, -.tabs-wp-secondary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-secondary .tab-button:hover:not(.disable-hover), -.tabs-wp-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-secondary .tab-button[aria-selected=true], -.tabs-wp-secondary .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-danger .tabbar { - background-color: #f53d3d; -} - -.tabs-wp-danger .tab-button, -.tabs-wp-danger .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-danger .tab-button:hover:not(.disable-hover), -.tabs-wp-danger .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-danger .tab-button[aria-selected=true], -.tabs-wp-danger .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-light .tabbar { - background-color: #f4f4f4; -} - -.tabs-wp-light .tab-button, -.tabs-wp-light .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-wp-light .tab-button:hover:not(.disable-hover), -.tabs-wp-light .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-light .tab-button[aria-selected=true], -.tabs-wp-light .tab-button[aria-selected=true] .tab-button-icon { - border-color: #000; - color: #000; -} - -.tabs-wp-dark .tabbar { - background-color: #222; -} - -.tabs-wp-dark .tab-button, -.tabs-wp-dark .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-dark .tab-button:hover:not(.disable-hover), -.tabs-wp-dark .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-dark .tab-button[aria-selected=true], -.tabs-wp-dark .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-optblue .tabbar { - background-color: #E00201; -} - -.tabs-wp-optblue .tab-button, -.tabs-wp-optblue .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-optblue .tab-button:hover:not(.disable-hover), -.tabs-wp-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-optblue .tab-button[aria-selected=true], -.tabs-wp-optblue .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-gray .tabbar { - background-color: #dad8d8; -} - -.tabs-wp-gray .tab-button, -.tabs-wp-gray .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-wp-gray .tab-button:hover:not(.disable-hover), -.tabs-wp-gray .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-gray .tab-button[aria-selected=true], -.tabs-wp-gray .tab-button[aria-selected=true] .tab-button-icon { - border-color: #000; - color: #000; -} - -.tabs-wp-green .tabbar { - background-color: #1dc764; -} - -.tabs-wp-green .tab-button, -.tabs-wp-green .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-green .tab-button:hover:not(.disable-hover), -.tabs-wp-green .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-green .tab-button[aria-selected=true], -.tabs-wp-green .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -ion-toast { - left: 0; - top: 0; - position: absolute; - z-index: 1000; - display: block; - width: 100%; - height: 100%; - pointer-events: none; - contain: strict; -} - -.toast-container { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - pointer-events: auto; - contain: content; -} - -.toast-button { - padding: 19px 16px 17px; - font-size: 1.5rem; -} - -.toast-message { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.toast-ios .toast-wrapper { - left: 10px; - right: 10px; - margin: auto; - border-radius: 0.65rem; - position: absolute; - z-index: 10; - display: block; - max-width: 700px; - background: rgba(0, 0, 0, 0.9); -} - -.toast-ios .toast-wrapper.toast-top { - -webkit-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); - margin: constant(safe-area-inset-top) auto auto; - margin: env(safe-area-inset-top) auto auto; - top: 0; -} - -.toast-ios .toast-wrapper.toast-bottom { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - margin: auto auto constant(safe-area-inset-bottom); - margin: auto auto env(safe-area-inset-bottom); - bottom: 0; -} - -.toast-ios .toast-wrapper.toast-middle { - opacity: .01; -} - -.toast-ios .toast-message { - font-size: 1.4rem; - color: #fff; - padding: 1.5rem; -} - -.toast-md .toast-wrapper { - left: 0; - right: 0; - margin: auto; - position: absolute; - z-index: 10; - display: block; - width: 100%; - max-width: 700px; - background: #333; -} - -.toast-md .toast-wrapper.toast-top { - -webkit-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); - top: 0; -} - -.toast-md .toast-wrapper.toast-bottom { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - bottom: 0; -} - -.toast-md .toast-wrapper.toast-middle { - opacity: .01; -} - -.toast-md .toast-message { - font-size: 1.5rem; - color: #fff; - padding: 19px 16px 17px; -} - -.toast-wp .toast-wrapper { - left: 0; - right: 0; - margin: auto; - border-radius: 0; - position: absolute; - z-index: 10; - display: block; - max-width: 700px; - background: black; -} - -.toast-wp .toast-wrapper.toast-top { - top: 0; - opacity: .01; -} - -.toast-wp .toast-wrapper.toast-bottom { - bottom: 0; - opacity: .01; -} - -.toast-wp .toast-wrapper.toast-middle { - opacity: .01; -} - -.toast-message { - font-size: 1.4rem; - color: #fff; - padding: 1.5rem; -} - -.toast-button { - color: #fff; -} - -.toggle-ios { - position: relative; - width: 51px; - height: 32px; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: strict; -} - -.toggle-ios .toggle-icon { - border-radius: 16px; - position: relative; - display: block; - width: 100%; - height: 100%; - background-color: #e6e6e6; - -webkit-transition: background-color 300ms; - transition: background-color 300ms; - pointer-events: none; -} - -.toggle-ios .toggle-icon::before { - left: 2px; - right: 2px; - top: 2px; - bottom: 2px; - border-radius: 16px; - position: absolute; - background-color: #fff; - content: ""; - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); - -webkit-transition: -webkit-transform 300ms; - transition: -webkit-transform 300ms; - transition: transform 300ms; - transition: transform 300ms, -webkit-transform 300ms; -} - -.toggle-ios .toggle-inner { - left: 2px; - top: 2px; - border-radius: 14px; - position: absolute; - width: 28px; - height: 28px; - background-color: #fff; - -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1); - box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1); - -webkit-transition: width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; - transition: width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; - transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms; - transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; - will-change: transform; - contain: strict; -} - -.toggle-ios.toggle-checked .toggle-icon { - background-color: #673AB7; -} - -.toggle-ios.toggle-activated .toggle-icon::before, -.toggle-ios.toggle-checked .toggle-icon::before { - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); -} - -.toggle-ios.toggle-checked .toggle-inner { - -webkit-transform: translate3d(19px, 0, 0); - transform: translate3d(19px, 0, 0); -} - -.toggle-ios.toggle-activated.toggle-checked .toggle-inner::before { - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); -} - -.toggle-ios.toggle-activated .toggle-inner { - width: 34px; -} - -.toggle-ios.toggle-activated.toggle-checked .toggle-inner { - left: -4px; -} - -.toggle-ios.toggle-disabled, -.item-ios.item-toggle-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-ios .toggle-ios { - margin: 0; - padding: 6px 8px 5px 16px; -} - -.item-ios .toggle-ios[item-left], -.item-ios .toggle-ios[item-start] { - padding: 6px 16px 5px 0; -} - -.toggle-ios-primary.toggle-checked .toggle-icon { - background-color: #673AB7; -} - -.toggle-ios-secondary.toggle-checked .toggle-icon { - background-color: #32db64; -} - -.toggle-ios-danger.toggle-checked .toggle-icon { - background-color: #f53d3d; -} - -.toggle-ios-light.toggle-checked .toggle-icon { - background-color: #f4f4f4; -} - -.toggle-ios-dark.toggle-checked .toggle-icon { - background-color: #222; -} - -.toggle-ios-optblue.toggle-checked .toggle-icon { - background-color: #E00201; -} - -.toggle-ios-gray.toggle-checked .toggle-icon { - background-color: #dad8d8; -} - -.toggle-ios-green.toggle-checked .toggle-icon { - background-color: #1dc764; -} - -.toggle-md { - position: relative; - width: 36px; - height: 14px; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: strict; - padding: 12px; -} - -.toggle-md .toggle-icon { - border-radius: 14px; - position: relative; - display: block; - width: 100%; - height: 100%; - background-color: #dedede; - -webkit-transition: background-color 300ms; - transition: background-color 300ms; - pointer-events: none; -} - -.toggle-md .toggle-inner { - left: 0; - top: -3px; - border-radius: 50%; - position: absolute; - width: 20px; - height: 20px; - background-color: #fff; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - -webkit-transition-duration: 300ms; - transition-duration: 300ms; - -webkit-transition-property: background-color, -webkit-transform; - transition-property: background-color, -webkit-transform; - transition-property: transform, background-color; - transition-property: transform, background-color, -webkit-transform; - will-change: transform, background-color; - contain: strict; -} - -.toggle-md.toggle-checked .toggle-icon { - background-color: #ae94dd; -} - -.toggle-md.toggle-checked .toggle-inner { - -webkit-transform: translate3d(16px, 0, 0); - transform: translate3d(16px, 0, 0); - background-color: #673AB7; -} - -.toggle-md.toggle-disabled, -.item-md.item-toggle-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.toggle-md.toggle-disabled ion-radio { - opacity: 0.3; -} - -.item-md .toggle-md { - cursor: pointer; - margin: 0; - padding: 12px 8px 12px 16px; -} - -.item-md .toggle-md[item-left], -.item-md .toggle-md[item-start] { - padding: 12px 18px 12px 2px; -} - -.item-md.item-toggle ion-label { - margin-left: 0; -} - -.toggle-md-primary.toggle-checked .toggle-icon { - background-color: #ae94dd; -} - -.toggle-md-primary.toggle-checked .toggle-inner { - background-color: #673AB7; -} - -.toggle-md-secondary.toggle-checked .toggle-icon { - background-color: #9eeeb6; -} - -.toggle-md-secondary.toggle-checked .toggle-inner { - background-color: #32db64; -} - -.toggle-md-danger.toggle-checked .toggle-icon { - background-color: #fbb6b6; -} - -.toggle-md-danger.toggle-checked .toggle-inner { - background-color: #f53d3d; -} - -.toggle-md-light.toggle-checked .toggle-icon { - background-color: white; -} - -.toggle-md-light.toggle-checked .toggle-inner { - background-color: #f4f4f4; -} - -.toggle-md-dark.toggle-checked .toggle-icon { - background-color: #626262; -} - -.toggle-md-dark.toggle-checked .toggle-inner { - background-color: #222; -} - -.toggle-md-optblue.toggle-checked .toggle-icon { - background-color: #fe6362; -} - -.toggle-md-optblue.toggle-checked .toggle-inner { - background-color: #E00201; -} - -.toggle-md-gray.toggle-checked .toggle-icon { - background-color: white; -} - -.toggle-md-gray.toggle-checked .toggle-inner { - background-color: #dad8d8; -} - -.toggle-md-green.toggle-checked .toggle-icon { - background-color: #78eba8; -} - -.toggle-md-green.toggle-checked .toggle-inner { - background-color: #1dc764; -} - -.toggle-wp { - position: relative; - width: 40px; - height: 18px; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: strict; -} - -.toggle-wp .toggle-icon { - border-radius: 18px; - position: relative; - display: block; - width: 100%; - height: 100%; - border: 2px solid #323232; - background-color: transparent; - pointer-events: none; - contain: strict; -} - -.toggle-wp .toggle-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - width: 10px; - height: 10px; - background-color: #323232; - -webkit-transition-duration: 300ms; - transition-duration: 300ms; - -webkit-transition-property: background-color, -webkit-transform; - transition-property: background-color, -webkit-transform; - transition-property: transform, background-color; - transition-property: transform, background-color, -webkit-transform; - will-change: transform, background-color; -} - -.toggle-wp.toggle-checked .toggle-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.toggle-wp.toggle-checked .toggle-inner { - -webkit-transform: translate3d(22px, 0, 0); - transform: translate3d(22px, 0, 0); - background-color: #fff; -} - -.toggle-wp.toggle-disabled, -.item-wp.item-toggle-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.toggle-wp.toggle-disabled ion-radio { - opacity: 0.3; -} - -.item-wp .toggle-wp { - margin: 0; - cursor: pointer; - padding: 12px 8px 12px 16px; -} - -.item-wp .toggle-wp[item-left], -.item-wp .toggle-wp[item-start] { - padding: 12px 18px 12px 2px; -} - -.item-wp.item-toggle ion-label { - margin-left: 0; -} - -.toggle-wp-primary.toggle-checked .toggle-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.toggle-wp-primary.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-secondary.toggle-checked .toggle-icon { - border-color: #32db64; - background-color: #32db64; -} - -.toggle-wp-secondary.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-danger.toggle-checked .toggle-icon { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.toggle-wp-danger.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-light.toggle-checked .toggle-icon { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.toggle-wp-light.toggle-checked .toggle-inner { - background-color: #000; -} - -.toggle-wp-dark.toggle-checked .toggle-icon { - border-color: #222; - background-color: #222; -} - -.toggle-wp-dark.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-optblue.toggle-checked .toggle-icon { - border-color: #E00201; - background-color: #E00201; -} - -.toggle-wp-optblue.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-gray.toggle-checked .toggle-icon { - border-color: #dad8d8; - background-color: #dad8d8; -} - -.toggle-wp-gray.toggle-checked .toggle-inner { - background-color: #000; -} - -.toggle-wp-green.toggle-checked .toggle-icon { - border-color: #1dc764; - background-color: #1dc764; -} - -.toggle-wp-green.toggle-checked .toggle-inner { - background-color: #fff; -} - -ion-toolbar { - position: relative; - z-index: 10; -} - -.toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - contain: content; -} - -.toolbar-background { - left: 0; - top: 0; - position: absolute; - z-index: -1; - width: 100%; - height: 100%; - border: 0; - -webkit-transform: translateZ(0); - transform: translateZ(0); - pointer-events: none; - contain: strict; -} - -ion-title { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.toolbar-title { - display: block; - overflow: hidden; - width: 100%; - text-overflow: ellipsis; - white-space: nowrap; -} - -ion-buttons { - margin: 0 0.2rem; - display: block; - -webkit-transform: translateZ(0); - transform: translateZ(0); - pointer-events: none; -} - -ion-buttons button, -ion-buttons a, -ion-buttons input, -ion-buttons textarea, -ion-buttons div { - pointer-events: auto; -} - -.toolbar[transparent] .toolbar-background { - border-color: transparent; - background: transparent; -} - -ion-buttons, -.bar-button-menutoggle { - z-index: 99; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-navbar.toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-button { - margin: 0; - padding: 0; - text-align: center; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - position: relative; - display: inline-block; - line-height: 1; - text-overflow: ellipsis; - text-transform: none; - white-space: nowrap; - cursor: pointer; - vertical-align: top; - vertical-align: -webkit-baseline-middle; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.bar-button::after { - left: -2px; - right: -2px; - top: -7px; - bottom: -6px; - position: absolute; - content: ""; -} - -.bar-button-menutoggle { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.back-button { - display: none; -} - -.back-button.show-back-button { - display: inline-block; -} - -.back-button-text { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.toolbar-ios { - padding: 4px; - padding-left: 4px; - padding-right: 4px; - min-height: 44px; -} - -@media screen and (orientation: landscape) { - .toolbar-ios { - padding-left: calc(constant(safe-area-inset-left) + 4px); - padding-right: calc(constant(safe-area-inset-right) + 4px); - padding-left: calc(env(safe-area-inset-left) + 4px); - padding-right: calc(env(safe-area-inset-right) + 4px); - } -} - -.toolbar-background-ios { - background: #f8f8f8; -} - -.header-ios .toolbar-background-ios, -.footer-ios .toolbar-background-ios { - border-style: solid; - border-color: rgba(0, 0, 0, 0.3); -} - -.header-ios .toolbar-ios:last-child .toolbar-background-ios { - border-width: 0 0 0.55px; -} - -.footer-ios .toolbar-ios:first-child .toolbar-background-ios { - border-width: 0.55px 0 0; -} - -.header-ios[no-border] .toolbar-ios:last-child .toolbar-background-ios { - border-bottom-width: 0; -} - -.footer-ios[no-border] .toolbar-ios:first-child .toolbar-background-ios { - border-top-width: 0; -} - -.toolbar-content-ios { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 5; - -webkit-order: 4; - -ms-flex-order: 4; - order: 4; - min-width: 0; -} - -.toolbar-title-ios { - text-align: center; - font-size: 1.7rem; - font-weight: 600; - color: #000; - pointer-events: auto; -} - -.toolbar-ios ion-title { - left: 0; - top: 0; - padding: 0 90px 1px; - position: absolute; - width: 100%; - height: 100%; - -webkit-transform: translateZ(0); - transform: translateZ(0); - pointer-events: none; -} - -.bar-buttons-ios { - -webkit-box-ordinal-group: 4; - -webkit-order: 3; - -ms-flex-order: 3; - order: 3; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-buttons-ios[left] { - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; -} - -.bar-buttons-ios[end] { - text-align: right; - text-align: end; - -webkit-box-ordinal-group: 6; - -webkit-order: 5; - -ms-flex-order: 5; - order: 5; -} - -.bar-buttons-ios[right] { - text-align: right; - -webkit-box-ordinal-group: 7; - -webkit-order: 6; - -ms-flex-order: 6; - order: 6; -} - -.bar-button-ios { - padding: 0 4px; - border-radius: 4px; - height: 32px; - border: 0; - font-size: 1.7rem; -} - -.bar-button-outline-ios { - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.bar-button-outline-ios:hover:not(.disable-hover) { - opacity: .4; -} - -.bar-button-outline-ios.activated { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios:hover:not(.disable-hover) { - color: #fff; - opacity: .4; -} - -.bar-button-solid-ios.activated { - color: #fff; - background-color: #734abd; - opacity: .4; -} - -.bar-button-ios.bar-button-icon-start ion-icon { - padding-right: 0.3em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-ios.bar-button-icon-end ion-icon { - padding-left: 0.4em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-ios[icon-only] { - padding: 0; - min-width: .9em; -} - -.bar-button-ios[icon-only] ion-icon { - padding: 0 0.1em; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.back-button-ios { - margin: 0; - z-index: 99; - overflow: visible; - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - min-height: 3.2rem; - line-height: 1; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.back-button-icon-ios { - margin: -1px 0 0; - display: inherit; - min-width: 18px; - font-size: 3.4rem; -} - -.back-button-text-ios { - letter-spacing: -.01em; -} - -.bar-button-menutoggle-ios { - margin: 0 6px; - padding: 0; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 36px; -} - -.bar-button-menutoggle-ios ion-icon { - padding: 0 6px; - font-size: 2.8rem; -} - -.bar-button-menutoggle-ios[end], -.bar-button-menutoggle-ios[right] { - -webkit-box-ordinal-group: 8; - -webkit-order: 7; - -ms-flex-order: 7; - order: 7; -} - -.bar-button-default-ios, -.bar-button-default.bar-button-ios-default, -.bar-button-clear-ios-default { - color: #673AB7; - background-color: transparent; -} - -.bar-button-default-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-default:hover:not(.disable-hover), -.bar-button-clear-ios-default:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-default-ios.activated, -.bar-button-default.bar-button-ios-default.activated, -.bar-button-clear-ios-default.activated { - opacity: .4; -} - -.bar-button-clear-ios, -.bar-button-default.bar-button-ios-clear, -.bar-button-clear-ios-clear { - color: #673AB7; - background-color: transparent; -} - -.bar-button-clear-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-clear:hover:not(.disable-hover), -.bar-button-clear-ios-clear:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-clear-ios.activated, -.bar-button-default.bar-button-ios-clear.activated, -.bar-button-clear-ios-clear.activated { - opacity: .4; -} - -.toolbar-ios-primary .toolbar-background-ios { - background: #673AB7; -} - -.toolbar-ios-primary .toolbar-title-ios, -.toolbar-ios-primary .bar-button-clear-ios, -.toolbar-ios-primary .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-primary .bar-button-primary-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-primary, -.toolbar-ios-primary .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-primary .bar-button-primary-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-primary .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-primary .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-primary .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-primary .bar-button-secondary-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-primary .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-primary .bar-button-secondary-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-primary .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-primary .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-primary .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-primary .bar-button-danger-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-danger, -.toolbar-ios-primary .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-primary .bar-button-danger-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-primary .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-primary .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-primary .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-primary .bar-button-light-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-light, -.toolbar-ios-primary .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-primary .bar-button-light-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-primary .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-primary .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-primary .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-primary .bar-button-dark-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-dark, -.toolbar-ios-primary .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-primary .bar-button-dark-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-primary .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-primary .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-primary .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-primary .bar-button-optblue-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-primary .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-primary .bar-button-optblue-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-primary .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-primary .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-primary .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-primary .bar-button-gray-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-gray, -.toolbar-ios-primary .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-primary .bar-button-gray-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-primary .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-primary .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-primary .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-primary .bar-button-green-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-green, -.toolbar-ios-primary .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-primary .bar-button-green-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-primary .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-primary .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-primary .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-primary-ios, -.bar-button-default.bar-button-ios-primary, -.bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.bar-button-primary-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-primary-ios.activated, -.bar-button-default.bar-button-ios-primary.activated, -.bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-secondary .toolbar-background-ios { - background: #32db64; -} - -.toolbar-ios-secondary .toolbar-title-ios, -.toolbar-ios-secondary .bar-button-clear-ios, -.toolbar-ios-secondary .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-secondary .bar-button-primary-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary, -.toolbar-ios-secondary .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-secondary .bar-button-primary-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-secondary .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-secondary .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-secondary .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-secondary .bar-button-secondary-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-secondary .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-secondary .bar-button-secondary-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-secondary .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-secondary .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-secondary .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-secondary .bar-button-danger-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger, -.toolbar-ios-secondary .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-secondary .bar-button-danger-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-secondary .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-secondary .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-secondary .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-secondary .bar-button-light-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-light, -.toolbar-ios-secondary .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-secondary .bar-button-light-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-secondary .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-secondary .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-secondary .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-secondary .bar-button-dark-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark, -.toolbar-ios-secondary .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-secondary .bar-button-dark-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-secondary .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-secondary .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-secondary .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-secondary .bar-button-optblue-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-secondary .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-secondary .bar-button-optblue-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-secondary .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-secondary .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-secondary .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-secondary .bar-button-gray-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray, -.toolbar-ios-secondary .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-secondary .bar-button-gray-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-secondary .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-secondary .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-secondary .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-secondary .bar-button-green-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-green, -.toolbar-ios-secondary .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-secondary .bar-button-green-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-secondary .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-secondary .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-secondary .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-secondary-ios, -.bar-button-default.bar-button-ios-secondary, -.bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.bar-button-secondary-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.bar-button-secondary-ios.activated, -.bar-button-default.bar-button-ios-secondary.activated, -.bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-danger .toolbar-background-ios { - background: #f53d3d; -} - -.toolbar-ios-danger .toolbar-title-ios, -.toolbar-ios-danger .bar-button-clear-ios, -.toolbar-ios-danger .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-danger .bar-button-primary-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-primary, -.toolbar-ios-danger .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-danger .bar-button-primary-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-danger .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-danger .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-danger .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-danger .bar-button-secondary-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-danger .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-danger .bar-button-secondary-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-danger .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-danger .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-danger .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-danger .bar-button-danger-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-danger, -.toolbar-ios-danger .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-danger .bar-button-danger-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-danger .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-danger .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-danger .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-danger .bar-button-light-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-light, -.toolbar-ios-danger .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-danger .bar-button-light-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-danger .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-danger .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-danger .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-danger .bar-button-dark-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-dark, -.toolbar-ios-danger .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-danger .bar-button-dark-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-danger .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-danger .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-danger .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-danger .bar-button-optblue-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-danger .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-danger .bar-button-optblue-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-danger .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-danger .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-danger .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-danger .bar-button-gray-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-gray, -.toolbar-ios-danger .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-danger .bar-button-gray-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-danger .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-danger .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-danger .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-danger .bar-button-green-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-green, -.toolbar-ios-danger .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-danger .bar-button-green-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-danger .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-danger .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-danger .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-danger-ios, -.bar-button-default.bar-button-ios-danger, -.bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.bar-button-danger-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.bar-button-danger-ios.activated, -.bar-button-default.bar-button-ios-danger.activated, -.bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-light .toolbar-background-ios { - background: #f4f4f4; -} - -.toolbar-ios-light .toolbar-title-ios, -.toolbar-ios-light .bar-button-clear-ios, -.toolbar-ios-light .bar-button-default-ios { - color: #000; -} - -.toolbar-ios-light .bar-button-primary-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-primary, -.toolbar-ios-light .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-light .bar-button-primary-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-light .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-light .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-light .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-light .bar-button-secondary-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-light .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-light .bar-button-secondary-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-light .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-light .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-light .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-light .bar-button-danger-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-danger, -.toolbar-ios-light .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-light .bar-button-danger-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-light .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-light .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-light .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-light .bar-button-light-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-light, -.toolbar-ios-light .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-light .bar-button-light-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-light .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-light .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-light .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-light .bar-button-dark-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-dark, -.toolbar-ios-light .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-light .bar-button-dark-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-light .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-light .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-light .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-light .bar-button-optblue-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-light .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-light .bar-button-optblue-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-light .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-light .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-light .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-light .bar-button-gray-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-gray, -.toolbar-ios-light .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-light .bar-button-gray-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-light .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-light .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-light .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-light .bar-button-green-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-green, -.toolbar-ios-light .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-light .bar-button-green-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-light .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-light .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-light .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-light-ios, -.bar-button-default.bar-button-ios-light, -.bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-light-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.bar-button-light-ios.activated, -.bar-button-default.bar-button-ios-light.activated, -.bar-button-clear-ios-light.activated { - opacity: .4; -} - -.bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-dark .toolbar-background-ios { - background: #222; -} - -.toolbar-ios-dark .toolbar-title-ios, -.toolbar-ios-dark .bar-button-clear-ios, -.toolbar-ios-dark .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-dark .bar-button-primary-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-primary, -.toolbar-ios-dark .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-dark .bar-button-primary-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-dark .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-dark .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-dark .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-dark .bar-button-secondary-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-dark .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-dark .bar-button-secondary-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-dark .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-dark .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-dark .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-dark .bar-button-danger-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-danger, -.toolbar-ios-dark .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-dark .bar-button-danger-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-dark .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-dark .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-dark .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-dark .bar-button-light-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-light, -.toolbar-ios-dark .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-dark .bar-button-light-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-dark .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-dark .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-dark .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-dark .bar-button-dark-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-dark, -.toolbar-ios-dark .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-dark .bar-button-dark-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-dark .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-dark .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-dark .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-dark .bar-button-optblue-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-dark .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-dark .bar-button-optblue-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-dark .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-dark .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-dark .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-dark .bar-button-gray-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-gray, -.toolbar-ios-dark .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-dark .bar-button-gray-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-dark .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-dark .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-dark .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-dark .bar-button-green-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-green, -.toolbar-ios-dark .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-dark .bar-button-green-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-dark .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-dark .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-dark .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-dark-ios, -.bar-button-default.bar-button-ios-dark, -.bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.bar-button-dark-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.bar-button-dark-ios.activated, -.bar-button-default.bar-button-ios-dark.activated, -.bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-optblue .toolbar-background-ios { - background: #E00201; -} - -.toolbar-ios-optblue .toolbar-title-ios, -.toolbar-ios-optblue .bar-button-clear-ios, -.toolbar-ios-optblue .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-optblue .bar-button-primary-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary, -.toolbar-ios-optblue .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-optblue .bar-button-primary-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-optblue .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-optblue .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-optblue .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-optblue .bar-button-secondary-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-optblue .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-optblue .bar-button-secondary-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-optblue .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-optblue .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-optblue .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-optblue .bar-button-danger-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger, -.toolbar-ios-optblue .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-optblue .bar-button-danger-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-optblue .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-optblue .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-optblue .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-optblue .bar-button-light-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-light, -.toolbar-ios-optblue .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-optblue .bar-button-light-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-optblue .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-optblue .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-optblue .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-optblue .bar-button-dark-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark, -.toolbar-ios-optblue .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-optblue .bar-button-dark-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-optblue .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-optblue .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-optblue .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-optblue .bar-button-optblue-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-optblue .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-optblue .bar-button-optblue-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-optblue .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-optblue .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-optblue .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-optblue .bar-button-gray-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray, -.toolbar-ios-optblue .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-optblue .bar-button-gray-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-optblue .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-optblue .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-optblue .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-optblue .bar-button-green-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-green, -.toolbar-ios-optblue .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-optblue .bar-button-green-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-optblue .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-optblue .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-optblue .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-optblue-ios, -.bar-button-default.bar-button-ios-optblue, -.bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.bar-button-optblue-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.bar-button-optblue-ios.activated, -.bar-button-default.bar-button-ios-optblue.activated, -.bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-gray .toolbar-background-ios { - background: #dad8d8; -} - -.toolbar-ios-gray .toolbar-title-ios, -.toolbar-ios-gray .bar-button-clear-ios, -.toolbar-ios-gray .bar-button-default-ios { - color: #000; -} - -.toolbar-ios-gray .bar-button-primary-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-primary, -.toolbar-ios-gray .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-gray .bar-button-primary-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-gray .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-gray .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-gray .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-gray .bar-button-secondary-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-gray .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-gray .bar-button-secondary-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-gray .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-gray .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-gray .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-gray .bar-button-danger-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-danger, -.toolbar-ios-gray .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-gray .bar-button-danger-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-gray .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-gray .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-gray .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-gray .bar-button-light-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-light, -.toolbar-ios-gray .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-gray .bar-button-light-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-gray .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-gray .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-gray .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-gray .bar-button-dark-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-dark, -.toolbar-ios-gray .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-gray .bar-button-dark-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-gray .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-gray .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-gray .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-gray .bar-button-optblue-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-gray .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-gray .bar-button-optblue-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-gray .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-gray .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-gray .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-gray .bar-button-gray-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-gray, -.toolbar-ios-gray .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-gray .bar-button-gray-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-gray .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-gray .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-gray .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-gray .bar-button-green-ios, -.toolbar-ios-gray .bar-button-default.bar-button-ios-green, -.toolbar-ios-gray .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-gray .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-gray .bar-button-green-ios.activated, -.toolbar-ios-gray .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-gray .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-gray .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-gray .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-gray .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-gray .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-gray-ios, -.bar-button-default.bar-button-ios-gray, -.bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.bar-button-gray-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.bar-button-gray-ios.activated, -.bar-button-default.bar-button-ios-gray.activated, -.bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-green .toolbar-background-ios { - background: #1dc764; -} - -.toolbar-ios-green .toolbar-title-ios, -.toolbar-ios-green .bar-button-clear-ios, -.toolbar-ios-green .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-green .bar-button-primary-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-primary, -.toolbar-ios-green .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-green .bar-button-primary-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-green .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-green .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-green .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-green .bar-button-secondary-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-green .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-green .bar-button-secondary-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-green .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-green .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-green .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-green .bar-button-danger-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-danger, -.toolbar-ios-green .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-green .bar-button-danger-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-green .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-green .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-green .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-green .bar-button-light-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-light, -.toolbar-ios-green .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-green .bar-button-light-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-green .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-green .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-green .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-green .bar-button-dark-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-dark, -.toolbar-ios-green .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-green .bar-button-dark-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-green .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-green .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-green .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-green .bar-button-optblue-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-green .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-green .bar-button-optblue-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-green .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-green .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-green .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-ios-green .bar-button-gray-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-gray, -.toolbar-ios-green .bar-button-clear-ios-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-gray-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-ios-green .bar-button-gray-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-gray.activated, -.toolbar-ios-green .bar-button-clear-ios-gray.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-gray { - border-color: #dad8d8; - color: #dad8d8; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-gray.activated { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-green .bar-button-solid-ios-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-ios-green .bar-button-solid-ios-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-ios-green .bar-button-green-ios, -.toolbar-ios-green .bar-button-default.bar-button-ios-green, -.toolbar-ios-green .bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-green-ios:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.toolbar-ios-green .bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-ios-green .bar-button-green-ios.activated, -.toolbar-ios-green .bar-button-default.bar-button-ios-green.activated, -.toolbar-ios-green .bar-button-clear-ios-green.activated { - opacity: .4; -} - -.toolbar-ios-green .bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.toolbar-ios-green .bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-green .bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-ios-green .bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-green-ios, -.bar-button-default.bar-button-ios-green, -.bar-button-clear-ios-green { - color: #1dc764; - background-color: transparent; -} - -.bar-button-green-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-green:hover:not(.disable-hover), -.bar-button-clear-ios-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.bar-button-green-ios.activated, -.bar-button-default.bar-button-ios-green.activated, -.bar-button-clear-ios-green.activated { - opacity: .4; -} - -.bar-button-outline-ios-green { - border-color: #1dc764; - color: #1dc764; - background-color: transparent; -} - -.bar-button-outline-ios-green.activated { - color: #fff; - background-color: #1dc764; -} - -.bar-button-solid-ios-green { - color: #fff; - background-color: #1dc764; -} - -.bar-button-solid-ios-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-strong-ios { - font-weight: 600; -} - -.toolbar-md { - padding: 4px; - min-height: 56px; -} - -.toolbar-background-md { - border-color: #b2b2b2; - background: #f8f8f8; -} - -.header-md::after, -.tabs-md[tabsPlacement="top"] > .tabbar::after, -.footer-md::before, -.tabs-md[tabsPlacement="bottom"] > .tabbar::before { - left: 0; - bottom: -5px; - background-position: left 0 top -2px; - position: absolute; - width: 100%; - height: 5px; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==); - background-repeat: repeat-x; - content: ""; -} - -.footer-md::before, -.tabs-md[tabsPlacement="bottom"] > .tabbar::before { - top: -2px; - bottom: auto; - background-position: left 0 top 0; - height: 2px; -} - -.header-md[no-border]::after, -.footer-md[no-border]::before, -.tabs-md[tabsPlacement="top"][no-border] > .tabbar::after, -.tabs-md[tabsPlacement="bottom"][no-border] > .tabbar::before { - display: none; -} - -.toolbar-content-md { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 4; - -webkit-order: 3; - -ms-flex-order: 3; - order: 3; - min-width: 0; - max-width: 100%; -} - -.toolbar-title-md { - padding: 0 12px; - font-size: 2rem; - font-weight: 500; - color: #424242; -} - -.bar-buttons-md { - -webkit-box-ordinal-group: 5; - -webkit-order: 4; - -ms-flex-order: 4; - order: 4; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-buttons-md[left] { - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; -} - -.bar-button-md:first-child { - margin-left: 0; -} - -.bar-buttons-md[end] { - text-align: right; - text-align: end; - -webkit-box-ordinal-group: 6; - -webkit-order: 5; - -ms-flex-order: 5; - order: 5; -} - -.bar-buttons-md[right] { - text-align: right; - -webkit-box-ordinal-group: 7; - -webkit-order: 6; - -ms-flex-order: 6; - order: 6; -} - -.bar-button-md { - margin: 0 0.2rem; - padding: 0 5px; - border-radius: 2px; - height: 32px; - border: 0; - font-size: 1.4rem; - font-weight: 500; - text-transform: uppercase; -} - -.bar-button-solid-md, -.bar-button-outline-md { - overflow: hidden; -} - -.bar-button-outline-md { - border-width: 1px; - border-style: solid; - border-color: #424242; - color: #424242; - background-color: transparent; -} - -.bar-button-outline-md:hover:not(.disable-hover) { - opacity: .4; -} - -.bar-button-outline-md.activated { - background-color: transparent; -} - -.bar-button-outline-md .button-effect { - background-color: #424242; -} - -.bar-button-solid-md { - color: #fff; - background-color: #424242; -} - -.bar-button-solid-md:hover:not(.disable-hover) { - color: #fff; -} - -.bar-button-solid-md.activated { - color: #fff; - background-color: #515151; -} - -.bar-button-md.bar-button-icon-start ion-icon { - padding-right: 0.3em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-md.bar-button-icon-end ion-icon { - padding-left: 0.4em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-md[icon-only] { - padding: 0; -} - -.bar-button-md[icon-only] ion-icon { - padding: 0 0.1em; - min-width: 28px; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.back-button-md { - margin: 0 6px; - min-width: 44px; - -webkit-box-shadow: none; - box-shadow: none; -} - -.back-button-icon-md { - margin: 0; - padding: 0 6px; - text-align: left; - text-align: start; - font-size: 2.4rem; - font-weight: normal; -} - -.bar-button-menutoggle-md { - margin: 0 6px; - padding: 0 2px; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 44px; -} - -.bar-button-menutoggle-md ion-icon { - padding: 0 6px; - font-size: 2.4rem; -} - -.bar-button-menutoggle-md[end], -.bar-button-menutoggle-md[right] { - margin: 0 2px; - -webkit-box-ordinal-group: 8; - -webkit-order: 7; - -ms-flex-order: 7; - order: 7; - min-width: 28px; -} - -.bar-button-default-md, -.bar-button-clear-md-default, -.bar-button-md-default { - color: #424242; - background-color: transparent; -} - -.bar-button-default-md:hover:not(.disable-hover), -.bar-button-clear-md-default:hover:not(.disable-hover), -.bar-button-md-default:hover:not(.disable-hover) { - color: #424242; -} - -.bar-button-clear-md, -.bar-button-clear-md-clear, -.bar-button-md-clear { - color: #424242; - background-color: transparent; -} - -.bar-button-clear-md:hover:not(.disable-hover), -.bar-button-clear-md-clear:hover:not(.disable-hover), -.bar-button-md-clear:hover:not(.disable-hover) { - color: #424242; -} - -.toolbar-md-primary .toolbar-background-md { - background: #673AB7; -} - -.toolbar-md-primary .bar-button-clear-md, -.toolbar-md-primary .bar-button-default-md, -.toolbar-md-primary .bar-button-outline-md, -.toolbar-md-primary .toolbar-title-md { - color: #fff; -} - -.toolbar-md-primary .bar-button-clear-md .button-effect, -.toolbar-md-primary .bar-button-default-md .button-effect, -.toolbar-md-primary .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-primary .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-primary .bar-button-primary-md, -.toolbar-md-primary .bar-button-clear-md-primary, -.toolbar-md-primary .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-primary .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-primary .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-primary .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-primary .bar-button-secondary-md, -.toolbar-md-primary .bar-button-clear-md-secondary, -.toolbar-md-primary .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-primary .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-primary .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-primary .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-primary .bar-button-danger-md, -.toolbar-md-primary .bar-button-clear-md-danger, -.toolbar-md-primary .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-primary .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-primary .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-primary .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-primary .bar-button-light-md, -.toolbar-md-primary .bar-button-clear-md-light, -.toolbar-md-primary .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-primary .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-primary .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-primary .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-primary .bar-button-dark-md, -.toolbar-md-primary .bar-button-clear-md-dark, -.toolbar-md-primary .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-primary .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-primary .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-primary .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-primary .bar-button-optblue-md, -.toolbar-md-primary .bar-button-clear-md-optblue, -.toolbar-md-primary .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-primary .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-primary .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-primary .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-primary .bar-button-gray-md, -.toolbar-md-primary .bar-button-clear-md-gray, -.toolbar-md-primary .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-primary .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-primary .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-primary .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-primary .bar-button-green-md, -.toolbar-md-primary .bar-button-clear-md-green, -.toolbar-md-primary .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-primary .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-primary .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-primary .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-primary-md, -.bar-button-clear-md-primary, -.bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.bar-button-primary-md:hover:not(.disable-hover), -.bar-button-clear-md-primary:hover:not(.disable-hover), -.bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-secondary .toolbar-background-md { - background: #32db64; -} - -.toolbar-md-secondary .bar-button-clear-md, -.toolbar-md-secondary .bar-button-default-md, -.toolbar-md-secondary .bar-button-outline-md, -.toolbar-md-secondary .toolbar-title-md { - color: #fff; -} - -.toolbar-md-secondary .bar-button-clear-md .button-effect, -.toolbar-md-secondary .bar-button-default-md .button-effect, -.toolbar-md-secondary .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-secondary .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-secondary .bar-button-primary-md, -.toolbar-md-secondary .bar-button-clear-md-primary, -.toolbar-md-secondary .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-secondary .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-secondary .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-secondary .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-secondary .bar-button-secondary-md, -.toolbar-md-secondary .bar-button-clear-md-secondary, -.toolbar-md-secondary .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-secondary .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-secondary .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-secondary .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-secondary .bar-button-danger-md, -.toolbar-md-secondary .bar-button-clear-md-danger, -.toolbar-md-secondary .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-secondary .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-secondary .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-secondary .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-secondary .bar-button-light-md, -.toolbar-md-secondary .bar-button-clear-md-light, -.toolbar-md-secondary .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-secondary .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-secondary .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-secondary .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-secondary .bar-button-dark-md, -.toolbar-md-secondary .bar-button-clear-md-dark, -.toolbar-md-secondary .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-secondary .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-secondary .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-secondary .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-secondary .bar-button-optblue-md, -.toolbar-md-secondary .bar-button-clear-md-optblue, -.toolbar-md-secondary .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-secondary .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-secondary .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-secondary .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-secondary .bar-button-gray-md, -.toolbar-md-secondary .bar-button-clear-md-gray, -.toolbar-md-secondary .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-secondary .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-secondary .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-secondary .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-secondary .bar-button-green-md, -.toolbar-md-secondary .bar-button-clear-md-green, -.toolbar-md-secondary .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-secondary .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-secondary .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-secondary .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-secondary-md, -.bar-button-clear-md-secondary, -.bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.bar-button-secondary-md:hover:not(.disable-hover), -.bar-button-clear-md-secondary:hover:not(.disable-hover), -.bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-danger .toolbar-background-md { - background: #f53d3d; -} - -.toolbar-md-danger .bar-button-clear-md, -.toolbar-md-danger .bar-button-default-md, -.toolbar-md-danger .bar-button-outline-md, -.toolbar-md-danger .toolbar-title-md { - color: #fff; -} - -.toolbar-md-danger .bar-button-clear-md .button-effect, -.toolbar-md-danger .bar-button-default-md .button-effect, -.toolbar-md-danger .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-danger .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-danger .bar-button-primary-md, -.toolbar-md-danger .bar-button-clear-md-primary, -.toolbar-md-danger .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-danger .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-danger .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-danger .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-danger .bar-button-secondary-md, -.toolbar-md-danger .bar-button-clear-md-secondary, -.toolbar-md-danger .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-danger .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-danger .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-danger .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-danger .bar-button-danger-md, -.toolbar-md-danger .bar-button-clear-md-danger, -.toolbar-md-danger .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-danger .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-danger .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-danger .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-danger .bar-button-light-md, -.toolbar-md-danger .bar-button-clear-md-light, -.toolbar-md-danger .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-danger .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-danger .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-danger .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-danger .bar-button-dark-md, -.toolbar-md-danger .bar-button-clear-md-dark, -.toolbar-md-danger .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-danger .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-danger .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-danger .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-danger .bar-button-optblue-md, -.toolbar-md-danger .bar-button-clear-md-optblue, -.toolbar-md-danger .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-danger .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-danger .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-danger .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-danger .bar-button-gray-md, -.toolbar-md-danger .bar-button-clear-md-gray, -.toolbar-md-danger .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-danger .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-danger .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-danger .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-danger .bar-button-green-md, -.toolbar-md-danger .bar-button-clear-md-green, -.toolbar-md-danger .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-danger .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-danger .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-danger .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-danger-md, -.bar-button-clear-md-danger, -.bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.bar-button-danger-md:hover:not(.disable-hover), -.bar-button-clear-md-danger:hover:not(.disable-hover), -.bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-light .toolbar-background-md { - background: #f4f4f4; -} - -.toolbar-md-light .bar-button-clear-md, -.toolbar-md-light .bar-button-default-md, -.toolbar-md-light .bar-button-outline-md, -.toolbar-md-light .toolbar-title-md { - color: #424242; -} - -.toolbar-md-light .bar-button-clear-md .button-effect, -.toolbar-md-light .bar-button-default-md .button-effect, -.toolbar-md-light .bar-button-outline-md .button-effect { - background-color: #424242; -} - -.toolbar-md-light .bar-button-outline-md { - border-color: #424242; -} - -.toolbar-md-light .bar-button-primary-md, -.toolbar-md-light .bar-button-clear-md-primary, -.toolbar-md-light .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-light .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-light .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-light .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-light .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-light .bar-button-secondary-md, -.toolbar-md-light .bar-button-clear-md-secondary, -.toolbar-md-light .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-light .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-light .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-light .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-light .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-light .bar-button-danger-md, -.toolbar-md-light .bar-button-clear-md-danger, -.toolbar-md-light .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-light .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-light .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-light .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-light .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-light .bar-button-light-md, -.toolbar-md-light .bar-button-clear-md-light, -.toolbar-md-light .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-light .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-light .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-light .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-light .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-light .bar-button-dark-md, -.toolbar-md-light .bar-button-clear-md-dark, -.toolbar-md-light .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-light .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-light .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-light .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-light .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-light .bar-button-optblue-md, -.toolbar-md-light .bar-button-clear-md-optblue, -.toolbar-md-light .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-light .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-light .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-light .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-light .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-light .bar-button-gray-md, -.toolbar-md-light .bar-button-clear-md-gray, -.toolbar-md-light .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-light .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-light .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-light .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-light .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-light .bar-button-green-md, -.toolbar-md-light .bar-button-clear-md-green, -.toolbar-md-light .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-light .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-light .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-light .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-light .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-light-md, -.bar-button-clear-md-light, -.bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-light-md:hover:not(.disable-hover), -.bar-button-clear-md-light:hover:not(.disable-hover), -.bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.bar-button-outline-md-light.activated { - background-color: transparent; -} - -.bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-dark .toolbar-background-md { - background: #222; -} - -.toolbar-md-dark .bar-button-clear-md, -.toolbar-md-dark .bar-button-default-md, -.toolbar-md-dark .bar-button-outline-md, -.toolbar-md-dark .toolbar-title-md { - color: #fff; -} - -.toolbar-md-dark .bar-button-clear-md .button-effect, -.toolbar-md-dark .bar-button-default-md .button-effect, -.toolbar-md-dark .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-dark .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-dark .bar-button-primary-md, -.toolbar-md-dark .bar-button-clear-md-primary, -.toolbar-md-dark .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-dark .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-dark .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-dark .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-dark .bar-button-secondary-md, -.toolbar-md-dark .bar-button-clear-md-secondary, -.toolbar-md-dark .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-dark .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-dark .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-dark .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-dark .bar-button-danger-md, -.toolbar-md-dark .bar-button-clear-md-danger, -.toolbar-md-dark .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-dark .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-dark .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-dark .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-dark .bar-button-light-md, -.toolbar-md-dark .bar-button-clear-md-light, -.toolbar-md-dark .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-dark .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-dark .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-dark .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-dark .bar-button-dark-md, -.toolbar-md-dark .bar-button-clear-md-dark, -.toolbar-md-dark .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-dark .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-dark .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-dark .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-dark .bar-button-optblue-md, -.toolbar-md-dark .bar-button-clear-md-optblue, -.toolbar-md-dark .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-dark .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-dark .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-dark .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-dark .bar-button-gray-md, -.toolbar-md-dark .bar-button-clear-md-gray, -.toolbar-md-dark .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-dark .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-dark .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-dark .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-dark .bar-button-green-md, -.toolbar-md-dark .bar-button-clear-md-green, -.toolbar-md-dark .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-dark .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-dark .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-dark .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-dark-md, -.bar-button-clear-md-dark, -.bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.bar-button-dark-md:hover:not(.disable-hover), -.bar-button-clear-md-dark:hover:not(.disable-hover), -.bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-optblue .toolbar-background-md { - background: #E00201; -} - -.toolbar-md-optblue .bar-button-clear-md, -.toolbar-md-optblue .bar-button-default-md, -.toolbar-md-optblue .bar-button-outline-md, -.toolbar-md-optblue .toolbar-title-md { - color: #fff; -} - -.toolbar-md-optblue .bar-button-clear-md .button-effect, -.toolbar-md-optblue .bar-button-default-md .button-effect, -.toolbar-md-optblue .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-optblue .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-optblue .bar-button-primary-md, -.toolbar-md-optblue .bar-button-clear-md-primary, -.toolbar-md-optblue .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-optblue .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-optblue .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-optblue .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-optblue .bar-button-secondary-md, -.toolbar-md-optblue .bar-button-clear-md-secondary, -.toolbar-md-optblue .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-optblue .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-optblue .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-optblue .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-optblue .bar-button-danger-md, -.toolbar-md-optblue .bar-button-clear-md-danger, -.toolbar-md-optblue .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-optblue .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-optblue .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-optblue .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-optblue .bar-button-light-md, -.toolbar-md-optblue .bar-button-clear-md-light, -.toolbar-md-optblue .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-optblue .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-optblue .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-optblue .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-optblue .bar-button-dark-md, -.toolbar-md-optblue .bar-button-clear-md-dark, -.toolbar-md-optblue .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-optblue .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-optblue .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-optblue .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-optblue .bar-button-optblue-md, -.toolbar-md-optblue .bar-button-clear-md-optblue, -.toolbar-md-optblue .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-optblue .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-optblue .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-optblue .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-optblue .bar-button-gray-md, -.toolbar-md-optblue .bar-button-clear-md-gray, -.toolbar-md-optblue .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-optblue .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-optblue .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-optblue .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-optblue .bar-button-green-md, -.toolbar-md-optblue .bar-button-clear-md-green, -.toolbar-md-optblue .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-optblue .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-optblue .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-optblue .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-optblue-md, -.bar-button-clear-md-optblue, -.bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.bar-button-optblue-md:hover:not(.disable-hover), -.bar-button-clear-md-optblue:hover:not(.disable-hover), -.bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-gray .toolbar-background-md { - background: #dad8d8; -} - -.toolbar-md-gray .bar-button-clear-md, -.toolbar-md-gray .bar-button-default-md, -.toolbar-md-gray .bar-button-outline-md, -.toolbar-md-gray .toolbar-title-md { - color: #424242; -} - -.toolbar-md-gray .bar-button-clear-md .button-effect, -.toolbar-md-gray .bar-button-default-md .button-effect, -.toolbar-md-gray .bar-button-outline-md .button-effect { - background-color: #424242; -} - -.toolbar-md-gray .bar-button-outline-md { - border-color: #424242; -} - -.toolbar-md-gray .bar-button-primary-md, -.toolbar-md-gray .bar-button-clear-md-primary, -.toolbar-md-gray .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-gray .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-gray .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-gray .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-gray .bar-button-secondary-md, -.toolbar-md-gray .bar-button-clear-md-secondary, -.toolbar-md-gray .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-gray .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-gray .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-gray .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-gray .bar-button-danger-md, -.toolbar-md-gray .bar-button-clear-md-danger, -.toolbar-md-gray .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-gray .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-gray .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-gray .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-gray .bar-button-light-md, -.toolbar-md-gray .bar-button-clear-md-light, -.toolbar-md-gray .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-gray .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-gray .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-gray .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-gray .bar-button-dark-md, -.toolbar-md-gray .bar-button-clear-md-dark, -.toolbar-md-gray .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-gray .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-gray .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-gray .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-gray .bar-button-optblue-md, -.toolbar-md-gray .bar-button-clear-md-optblue, -.toolbar-md-gray .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-gray .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-gray .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-gray .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-gray .bar-button-gray-md, -.toolbar-md-gray .bar-button-clear-md-gray, -.toolbar-md-gray .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-gray .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-gray .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-gray .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-gray .bar-button-green-md, -.toolbar-md-gray .bar-button-clear-md-green, -.toolbar-md-gray .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-gray .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-gray .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-gray .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-gray .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-gray .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-gray-md, -.bar-button-clear-md-gray, -.bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.bar-button-gray-md:hover:not(.disable-hover), -.bar-button-clear-md-gray:hover:not(.disable-hover), -.bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-green .toolbar-background-md { - background: #1dc764; -} - -.toolbar-md-green .bar-button-clear-md, -.toolbar-md-green .bar-button-default-md, -.toolbar-md-green .bar-button-outline-md, -.toolbar-md-green .toolbar-title-md { - color: #fff; -} - -.toolbar-md-green .bar-button-clear-md .button-effect, -.toolbar-md-green .bar-button-default-md .button-effect, -.toolbar-md-green .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-green .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-green .bar-button-primary-md, -.toolbar-md-green .bar-button-clear-md-primary, -.toolbar-md-green .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-green .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-green .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-green .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-green .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-green .bar-button-secondary-md, -.toolbar-md-green .bar-button-clear-md-secondary, -.toolbar-md-green .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-green .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-green .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-green .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-green .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-green .bar-button-danger-md, -.toolbar-md-green .bar-button-clear-md-danger, -.toolbar-md-green .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-green .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-green .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-green .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-green .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-green .bar-button-light-md, -.toolbar-md-green .bar-button-clear-md-light, -.toolbar-md-green .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-green .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-green .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-green .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-green .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-green .bar-button-dark-md, -.toolbar-md-green .bar-button-clear-md-dark, -.toolbar-md-green .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-green .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-green .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-green .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-green .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-green .bar-button-optblue-md, -.toolbar-md-green .bar-button-clear-md-optblue, -.toolbar-md-green .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-green .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-green .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-green .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-green .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-md-green .bar-button-gray-md, -.toolbar-md-green .bar-button-clear-md-gray, -.toolbar-md-green .bar-button-md-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-md-green .bar-button-gray-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-gray:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-md-green .bar-button-outline-md-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-gray.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-gray .button-effect { - background-color: #c9c7c7; -} - -.toolbar-md-green .bar-button-solid-md-gray { - color: #424242; - background-color: #dad8d8; -} - -.toolbar-md-green .bar-button-solid-md-gray.activated { - color: #424242; - background-color: #c9c7c7; -} - -.toolbar-md-green .bar-button-green-md, -.toolbar-md-green .bar-button-clear-md-green, -.toolbar-md-green .bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-md-green .bar-button-green-md:hover:not(.disable-hover), -.toolbar-md-green .bar-button-clear-md-green:hover:not(.disable-hover), -.toolbar-md-green .bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-md-green .bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-green.activated { - background-color: transparent; -} - -.toolbar-md-green .bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.toolbar-md-green .bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-md-green .bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-green-md, -.bar-button-clear-md-green, -.bar-button-md-green { - color: #1dc764; - background-color: transparent; -} - -.bar-button-green-md:hover:not(.disable-hover), -.bar-button-clear-md-green:hover:not(.disable-hover), -.bar-button-md-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.bar-button-outline-md-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.bar-button-outline-md-green.activated { - background-color: transparent; -} - -.bar-button-outline-md-green .button-effect { - background-color: #2fcb70; -} - -.bar-button-solid-md-green { - color: #fff; - background-color: #1dc764; -} - -.bar-button-solid-md-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-strong-md { - font-weight: bold; -} - -.toolbar-wp { - padding: 4px; - min-height: 46px; -} - -.toolbar-background-wp { - border-color: #b2b2b2; - background: #f8f8f8; -} - -.toolbar-content-wp { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 4; - -webkit-order: 3; - -ms-flex-order: 3; - order: 3; - min-width: 0; - max-width: 100%; -} - -.toolbar-title-wp { - font-size: 1.5rem; - font-weight: bold; - text-transform: uppercase; - color: #000; - padding: 0 6px; -} - -.bar-buttons-wp { - -webkit-box-ordinal-group: 5; - -webkit-order: 4; - -ms-flex-order: 4; - order: 4; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-buttons-wp[left] { - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; -} - -.bar-buttons-wp[left] .bar-button:first-child { - margin-left: 0; -} - -.bar-buttons-wp[end] { - text-align: right; - text-align: end; - -webkit-box-ordinal-group: 6; - -webkit-order: 5; - -ms-flex-order: 5; - order: 5; -} - -.bar-buttons-wp[right] { - text-align: right; - -webkit-box-ordinal-group: 7; - -webkit-order: 6; - -ms-flex-order: 6; - order: 6; -} - -.bar-button-wp { - margin: 0 0.2rem; - padding: 0 5px; - border-radius: 2px; - height: 32px; - border: 0; - font-size: 1.4rem; - font-weight: 500; - text-transform: uppercase; -} - -.bar-button-solid-wp, -.bar-button-outline-wp { - overflow: hidden; -} - -.bar-button-outline-wp { - border-width: 1px; - border-style: solid; - border-color: #000; - color: #000; - background-color: transparent; -} - -.bar-button-outline-wp:hover:not(.disable-hover) { - opacity: .4; -} - -.bar-button-outline-wp.activated { - color: #fff; - background-color: #000; -} - -.bar-button-solid-wp { - color: #fff; - background-color: #000; -} - -.bar-button-solid-wp:hover:not(.disable-hover) { - color: #fff; -} - -.bar-button-solid-wp.activated { - color: #fff; - background-color: #141414; -} - -.bar-button-wp.bar-button-icon-start ion-icon { - padding-right: 0.3em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-wp.bar-button-icon-end ion-icon { - padding-left: 0.4em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-wp[icon-only] { - padding: 0; -} - -.bar-button-wp[icon-only] ion-icon { - padding: 0 0.1em; - min-width: 28px; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.back-button-wp { - margin: 0 6px; - min-width: 44px; - -webkit-box-shadow: none; - box-shadow: none; -} - -.back-button-icon-wp { - text-align: left; - text-align: start; - margin: 0; - padding: 0 6px; - font-size: 2.4rem; - font-weight: normal; -} - -.bar-button-menutoggle-wp { - margin: 0 6px; - padding: 0 2px; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 44px; -} - -.bar-button-menutoggle-wp ion-icon { - padding: 0 6px; - font-size: 2.4rem; -} - -.bar-button-menutoggle-wp[end], -.bar-button-menutoggle-wp[right] { - margin: 0 2px; - -webkit-box-ordinal-group: 8; - -webkit-order: 7; - -ms-flex-order: 7; - order: 7; - min-width: 28px; -} - -.bar-button-default-wp, -.bar-button-clear-wp-default, -.bar-button-wp-default { - color: #000; - background-color: transparent; -} - -.bar-button-default-wp:hover:not(.disable-hover), -.bar-button-clear-wp-default:hover:not(.disable-hover), -.bar-button-wp-default:hover:not(.disable-hover) { - color: #000; -} - -.bar-button-clear-wp, -.bar-button-clear-wp-clear, -.bar-button-wp-clear { - color: #000; - background-color: transparent; -} - -.bar-button-clear-wp:hover:not(.disable-hover), -.bar-button-clear-wp-clear:hover:not(.disable-hover), -.bar-button-wp-clear:hover:not(.disable-hover) { - color: #000; -} - -.toolbar-wp-primary .toolbar-background-wp { - background: #673AB7; -} - -.toolbar-wp-primary .bar-button-clear-wp, -.toolbar-wp-primary .bar-button-default-wp, -.toolbar-wp-primary .bar-button-outline-wp, -.toolbar-wp-primary .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-primary .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-primary .bar-button-primary-wp, -.toolbar-wp-primary .bar-button-clear-wp-primary, -.toolbar-wp-primary .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-primary .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-primary .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-primary .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-primary .bar-button-secondary-wp, -.toolbar-wp-primary .bar-button-clear-wp-secondary, -.toolbar-wp-primary .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-primary .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-primary .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-primary .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-primary .bar-button-danger-wp, -.toolbar-wp-primary .bar-button-clear-wp-danger, -.toolbar-wp-primary .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-primary .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-primary .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-primary .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-primary .bar-button-light-wp, -.toolbar-wp-primary .bar-button-clear-wp-light, -.toolbar-wp-primary .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-primary .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-primary .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-primary .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-primary .bar-button-dark-wp, -.toolbar-wp-primary .bar-button-clear-wp-dark, -.toolbar-wp-primary .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-primary .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-primary .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-primary .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-primary .bar-button-optblue-wp, -.toolbar-wp-primary .bar-button-clear-wp-optblue, -.toolbar-wp-primary .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-primary .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-primary .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-primary .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-primary .bar-button-gray-wp, -.toolbar-wp-primary .bar-button-clear-wp-gray, -.toolbar-wp-primary .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-primary .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-primary .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-primary .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-primary .bar-button-green-wp, -.toolbar-wp-primary .bar-button-clear-wp-green, -.toolbar-wp-primary .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-primary .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-primary .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-primary .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-primary-wp, -.bar-button-clear-wp-primary, -.bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.bar-button-primary-wp:hover:not(.disable-hover), -.bar-button-clear-wp-primary:hover:not(.disable-hover), -.bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-secondary .toolbar-background-wp { - background: #32db64; -} - -.toolbar-wp-secondary .bar-button-clear-wp, -.toolbar-wp-secondary .bar-button-default-wp, -.toolbar-wp-secondary .bar-button-outline-wp, -.toolbar-wp-secondary .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-secondary .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-secondary .bar-button-primary-wp, -.toolbar-wp-secondary .bar-button-clear-wp-primary, -.toolbar-wp-secondary .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-secondary .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-secondary .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-secondary .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-secondary .bar-button-secondary-wp, -.toolbar-wp-secondary .bar-button-clear-wp-secondary, -.toolbar-wp-secondary .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-secondary .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-secondary .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-secondary .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-secondary .bar-button-danger-wp, -.toolbar-wp-secondary .bar-button-clear-wp-danger, -.toolbar-wp-secondary .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-secondary .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-secondary .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-secondary .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-secondary .bar-button-light-wp, -.toolbar-wp-secondary .bar-button-clear-wp-light, -.toolbar-wp-secondary .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-secondary .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-secondary .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-secondary .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-secondary .bar-button-dark-wp, -.toolbar-wp-secondary .bar-button-clear-wp-dark, -.toolbar-wp-secondary .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-secondary .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-secondary .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-secondary .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-secondary .bar-button-optblue-wp, -.toolbar-wp-secondary .bar-button-clear-wp-optblue, -.toolbar-wp-secondary .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-secondary .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-secondary .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-secondary .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-secondary .bar-button-gray-wp, -.toolbar-wp-secondary .bar-button-clear-wp-gray, -.toolbar-wp-secondary .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-secondary .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-secondary .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-secondary .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-secondary .bar-button-green-wp, -.toolbar-wp-secondary .bar-button-clear-wp-green, -.toolbar-wp-secondary .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-secondary .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-secondary .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-secondary .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-secondary-wp, -.bar-button-clear-wp-secondary, -.bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.bar-button-secondary-wp:hover:not(.disable-hover), -.bar-button-clear-wp-secondary:hover:not(.disable-hover), -.bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-danger .toolbar-background-wp { - background: #f53d3d; -} - -.toolbar-wp-danger .bar-button-clear-wp, -.toolbar-wp-danger .bar-button-default-wp, -.toolbar-wp-danger .bar-button-outline-wp, -.toolbar-wp-danger .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-danger .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-danger .bar-button-primary-wp, -.toolbar-wp-danger .bar-button-clear-wp-primary, -.toolbar-wp-danger .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-danger .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-danger .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-danger .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-danger .bar-button-secondary-wp, -.toolbar-wp-danger .bar-button-clear-wp-secondary, -.toolbar-wp-danger .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-danger .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-danger .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-danger .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-danger .bar-button-danger-wp, -.toolbar-wp-danger .bar-button-clear-wp-danger, -.toolbar-wp-danger .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-danger .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-danger .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-danger .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-danger .bar-button-light-wp, -.toolbar-wp-danger .bar-button-clear-wp-light, -.toolbar-wp-danger .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-danger .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-danger .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-danger .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-danger .bar-button-dark-wp, -.toolbar-wp-danger .bar-button-clear-wp-dark, -.toolbar-wp-danger .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-danger .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-danger .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-danger .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-danger .bar-button-optblue-wp, -.toolbar-wp-danger .bar-button-clear-wp-optblue, -.toolbar-wp-danger .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-danger .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-danger .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-danger .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-danger .bar-button-gray-wp, -.toolbar-wp-danger .bar-button-clear-wp-gray, -.toolbar-wp-danger .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-danger .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-danger .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-danger .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-danger .bar-button-green-wp, -.toolbar-wp-danger .bar-button-clear-wp-green, -.toolbar-wp-danger .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-danger .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-danger .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-danger .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-danger-wp, -.bar-button-clear-wp-danger, -.bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.bar-button-danger-wp:hover:not(.disable-hover), -.bar-button-clear-wp-danger:hover:not(.disable-hover), -.bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-light .toolbar-background-wp { - background: #f4f4f4; -} - -.toolbar-wp-light .bar-button-clear-wp, -.toolbar-wp-light .bar-button-default-wp, -.toolbar-wp-light .bar-button-outline-wp, -.toolbar-wp-light .toolbar-title-wp { - color: #000; -} - -.toolbar-wp-light .bar-button-outline-wp { - border-color: #000; -} - -.toolbar-wp-light .bar-button-primary-wp, -.toolbar-wp-light .bar-button-clear-wp-primary, -.toolbar-wp-light .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-light .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-light .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-light .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-light .bar-button-secondary-wp, -.toolbar-wp-light .bar-button-clear-wp-secondary, -.toolbar-wp-light .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-light .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-light .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-light .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-light .bar-button-danger-wp, -.toolbar-wp-light .bar-button-clear-wp-danger, -.toolbar-wp-light .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-light .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-light .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-light .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-light .bar-button-light-wp, -.toolbar-wp-light .bar-button-clear-wp-light, -.toolbar-wp-light .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-light .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-light .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-light .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-light .bar-button-dark-wp, -.toolbar-wp-light .bar-button-clear-wp-dark, -.toolbar-wp-light .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-light .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-light .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-light .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-light .bar-button-optblue-wp, -.toolbar-wp-light .bar-button-clear-wp-optblue, -.toolbar-wp-light .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-light .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-light .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-light .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-light .bar-button-gray-wp, -.toolbar-wp-light .bar-button-clear-wp-gray, -.toolbar-wp-light .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-light .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-light .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-light .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-light .bar-button-green-wp, -.toolbar-wp-light .bar-button-clear-wp-green, -.toolbar-wp-light .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-light .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-light .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-light .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-light-wp, -.bar-button-clear-wp-light, -.bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-light-wp:hover:not(.disable-hover), -.bar-button-clear-wp-light:hover:not(.disable-hover), -.bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-dark .toolbar-background-wp { - background: #222; -} - -.toolbar-wp-dark .bar-button-clear-wp, -.toolbar-wp-dark .bar-button-default-wp, -.toolbar-wp-dark .bar-button-outline-wp, -.toolbar-wp-dark .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-dark .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-dark .bar-button-primary-wp, -.toolbar-wp-dark .bar-button-clear-wp-primary, -.toolbar-wp-dark .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-dark .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-dark .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-dark .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-dark .bar-button-secondary-wp, -.toolbar-wp-dark .bar-button-clear-wp-secondary, -.toolbar-wp-dark .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-dark .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-dark .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-dark .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-dark .bar-button-danger-wp, -.toolbar-wp-dark .bar-button-clear-wp-danger, -.toolbar-wp-dark .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-dark .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-dark .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-dark .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-dark .bar-button-light-wp, -.toolbar-wp-dark .bar-button-clear-wp-light, -.toolbar-wp-dark .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-dark .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-dark .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-dark .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-dark .bar-button-dark-wp, -.toolbar-wp-dark .bar-button-clear-wp-dark, -.toolbar-wp-dark .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-dark .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-dark .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-dark .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-dark .bar-button-optblue-wp, -.toolbar-wp-dark .bar-button-clear-wp-optblue, -.toolbar-wp-dark .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-dark .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-dark .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-dark .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-dark .bar-button-gray-wp, -.toolbar-wp-dark .bar-button-clear-wp-gray, -.toolbar-wp-dark .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-dark .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-dark .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-dark .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-dark .bar-button-green-wp, -.toolbar-wp-dark .bar-button-clear-wp-green, -.toolbar-wp-dark .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-dark .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-dark .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-dark .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-dark-wp, -.bar-button-clear-wp-dark, -.bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.bar-button-dark-wp:hover:not(.disable-hover), -.bar-button-clear-wp-dark:hover:not(.disable-hover), -.bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-optblue .toolbar-background-wp { - background: #E00201; -} - -.toolbar-wp-optblue .bar-button-clear-wp, -.toolbar-wp-optblue .bar-button-default-wp, -.toolbar-wp-optblue .bar-button-outline-wp, -.toolbar-wp-optblue .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-optblue .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-optblue .bar-button-primary-wp, -.toolbar-wp-optblue .bar-button-clear-wp-primary, -.toolbar-wp-optblue .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-optblue .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-optblue .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-optblue .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-optblue .bar-button-secondary-wp, -.toolbar-wp-optblue .bar-button-clear-wp-secondary, -.toolbar-wp-optblue .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-optblue .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-optblue .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-optblue .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-optblue .bar-button-danger-wp, -.toolbar-wp-optblue .bar-button-clear-wp-danger, -.toolbar-wp-optblue .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-optblue .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-optblue .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-optblue .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-optblue .bar-button-light-wp, -.toolbar-wp-optblue .bar-button-clear-wp-light, -.toolbar-wp-optblue .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-optblue .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-optblue .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-optblue .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-optblue .bar-button-dark-wp, -.toolbar-wp-optblue .bar-button-clear-wp-dark, -.toolbar-wp-optblue .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-optblue .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-optblue .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-optblue .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-optblue .bar-button-optblue-wp, -.toolbar-wp-optblue .bar-button-clear-wp-optblue, -.toolbar-wp-optblue .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-optblue .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-optblue .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-optblue .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-optblue .bar-button-gray-wp, -.toolbar-wp-optblue .bar-button-clear-wp-gray, -.toolbar-wp-optblue .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-optblue .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-optblue .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-optblue .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-optblue .bar-button-green-wp, -.toolbar-wp-optblue .bar-button-clear-wp-green, -.toolbar-wp-optblue .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-optblue .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-optblue .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-optblue .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-optblue-wp, -.bar-button-clear-wp-optblue, -.bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.bar-button-optblue-wp:hover:not(.disable-hover), -.bar-button-clear-wp-optblue:hover:not(.disable-hover), -.bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-gray .toolbar-background-wp { - background: #dad8d8; -} - -.toolbar-wp-gray .bar-button-clear-wp, -.toolbar-wp-gray .bar-button-default-wp, -.toolbar-wp-gray .bar-button-outline-wp, -.toolbar-wp-gray .toolbar-title-wp { - color: #000; -} - -.toolbar-wp-gray .bar-button-outline-wp { - border-color: #000; -} - -.toolbar-wp-gray .bar-button-primary-wp, -.toolbar-wp-gray .bar-button-clear-wp-primary, -.toolbar-wp-gray .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-gray .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-gray .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-gray .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-gray .bar-button-secondary-wp, -.toolbar-wp-gray .bar-button-clear-wp-secondary, -.toolbar-wp-gray .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-gray .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-gray .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-gray .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-gray .bar-button-danger-wp, -.toolbar-wp-gray .bar-button-clear-wp-danger, -.toolbar-wp-gray .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-gray .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-gray .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-gray .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-gray .bar-button-light-wp, -.toolbar-wp-gray .bar-button-clear-wp-light, -.toolbar-wp-gray .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-gray .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-gray .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-gray .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-gray .bar-button-dark-wp, -.toolbar-wp-gray .bar-button-clear-wp-dark, -.toolbar-wp-gray .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-gray .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-gray .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-gray .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-gray .bar-button-optblue-wp, -.toolbar-wp-gray .bar-button-clear-wp-optblue, -.toolbar-wp-gray .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-gray .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-gray .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-gray .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-gray .bar-button-gray-wp, -.toolbar-wp-gray .bar-button-clear-wp-gray, -.toolbar-wp-gray .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-gray .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-gray .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-gray .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-gray .bar-button-green-wp, -.toolbar-wp-gray .bar-button-clear-wp-green, -.toolbar-wp-gray .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-gray .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-gray .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-gray .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-gray .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-gray .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-gray-wp, -.bar-button-clear-wp-gray, -.bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.bar-button-gray-wp:hover:not(.disable-hover), -.bar-button-clear-wp-gray:hover:not(.disable-hover), -.bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-green .toolbar-background-wp { - background: #1dc764; -} - -.toolbar-wp-green .bar-button-clear-wp, -.toolbar-wp-green .bar-button-default-wp, -.toolbar-wp-green .bar-button-outline-wp, -.toolbar-wp-green .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-green .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-green .bar-button-primary-wp, -.toolbar-wp-green .bar-button-clear-wp-primary, -.toolbar-wp-green .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-green .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-green .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-green .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-green .bar-button-secondary-wp, -.toolbar-wp-green .bar-button-clear-wp-secondary, -.toolbar-wp-green .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-green .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-green .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-green .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-green .bar-button-danger-wp, -.toolbar-wp-green .bar-button-clear-wp-danger, -.toolbar-wp-green .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-green .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-green .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-green .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-green .bar-button-light-wp, -.toolbar-wp-green .bar-button-clear-wp-light, -.toolbar-wp-green .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-green .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-green .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-green .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-green .bar-button-dark-wp, -.toolbar-wp-green .bar-button-clear-wp-dark, -.toolbar-wp-green .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-green .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-green .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-green .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-green .bar-button-optblue-wp, -.toolbar-wp-green .bar-button-clear-wp-optblue, -.toolbar-wp-green .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-green .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-green .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-green .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-green .bar-button-gray-wp, -.toolbar-wp-green .bar-button-clear-wp-gray, -.toolbar-wp-green .bar-button-wp-gray { - color: #dad8d8; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-gray-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-gray:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-gray:hover:not(.disable-hover) { - color: #dad8d8; -} - -.toolbar-wp-green .bar-button-outline-wp-gray { - border-color: #c9c7c7; - color: #c9c7c7; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-green .bar-button-solid-wp-gray { - color: #000; - background-color: #dad8d8; -} - -.toolbar-wp-green .bar-button-solid-wp-gray.activated { - color: #000; - background-color: #c9c7c7; -} - -.toolbar-wp-green .bar-button-green-wp, -.toolbar-wp-green .bar-button-clear-wp-green, -.toolbar-wp-green .bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-green-wp:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-clear-wp-green:hover:not(.disable-hover), -.toolbar-wp-green .bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.toolbar-wp-green .bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.toolbar-wp-green .bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.toolbar-wp-green .bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.toolbar-wp-green .bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-green-wp, -.bar-button-clear-wp-green, -.bar-button-wp-green { - color: #1dc764; - background-color: transparent; -} - -.bar-button-green-wp:hover:not(.disable-hover), -.bar-button-clear-wp-green:hover:not(.disable-hover), -.bar-button-wp-green:hover:not(.disable-hover) { - color: #1dc764; -} - -.bar-button-outline-wp-green { - border-color: #2fcb70; - color: #2fcb70; - background-color: transparent; -} - -.bar-button-outline-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-solid-wp-green { - color: #fff; - background-color: #1dc764; -} - -.bar-button-solid-wp-green.activated { - color: #fff; - background-color: #2fcb70; -} - -.bar-button-strong-wp { - font-weight: bold; -} - -.text-ios-primary { - color: #673AB7; -} - -.text-ios-secondary { - color: #32db64; -} - -.text-ios-danger { - color: #f53d3d; -} - -.text-ios-light { - color: #f4f4f4; -} - -.text-ios-dark { - color: #222; -} - -.text-ios-optblue { - color: #E00201; -} - -.text-ios-gray { - color: #dad8d8; -} - -.text-ios-green { - color: #1dc764; -} - -.text-md-primary { - color: #673AB7; -} - -.text-md-secondary { - color: #32db64; -} - -.text-md-danger { - color: #f53d3d; -} - -.text-md-light { - color: #f4f4f4; -} - -.text-md-dark { - color: #222; -} - -.text-md-optblue { - color: #E00201; -} - -.text-md-gray { - color: #dad8d8; -} - -.text-md-green { - color: #1dc764; -} - -.text-wp-primary { - color: #673AB7; -} - -.text-wp-secondary { - color: #32db64; -} - -.text-wp-danger { - color: #f53d3d; -} - -.text-wp-light { - color: #f4f4f4; -} - -.text-wp-dark { - color: #222; -} - -.text-wp-optblue { - color: #E00201; -} - -.text-wp-gray { - color: #dad8d8; -} - -.text-wp-green { - color: #1dc764; -} - -.virtual-loading { - opacity: 0; -} - -.virtual-scroll { - position: relative; - contain: content; -} - -.virtual-scroll .virtual-position, -.virtual-scroll .virtual-position.item { - left: 0; - top: 0; - position: absolute; - -webkit-transition-duration: 0ms; - transition-duration: 0ms; - contain: content; -} - -.virtual-scroll .virtual-last { - display: none; -} - -.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, -.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, -.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, -.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, -.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); -} - -.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child ion-title { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - height: calc(44px + 20px); - height: calc(44px + constant(safe-area-inset-top)); - height: calc(44px + env(safe-area-inset-top)); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); -} - -@media only screen and (max-width: 767px) { - .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); - } - .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, - .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, - .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - height: calc(44px + 20px); - height: calc(44px + constant(safe-area-inset-top)); - height: calc(44px + env(safe-area-inset-top)); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); - } -} - -.ios .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} - -.ios ion-footer .toolbar:last-child { - padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); - padding-bottom: calc(env(safe-area-inset-bottom) + 4px); - min-height: calc(44px + constant(safe-area-inset-bottom)); - min-height: calc(44px + env(safe-area-inset-bottom)); -} - -.md ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, -.md ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.md ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, -.md ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.md ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, -.md ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, -.md ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(56px + 20px); - min-height: calc(56px + constant(safe-area-inset-top)); - min-height: calc(56px + env(safe-area-inset-top)); -} - -.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -@media only screen and (max-width: 767px) { - .md .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(56px + 20px); - min-height: calc(56px + constant(safe-area-inset-top)); - min-height: calc(56px + env(safe-area-inset-top)); - } - .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, - .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } -} - -.md .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} - -.md ion-footer .toolbar:last-child { - padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); - padding-bottom: calc(env(safe-area-inset-bottom) + 4px); - min-height: calc(56px + constant(safe-area-inset-bottom)); - min-height: calc(56px + env(safe-area-inset-bottom)); -} - -.wp ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, -.wp ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.wp ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, -.wp ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, -.wp ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, -.wp ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(46px + 20px); - min-height: calc(46px + constant(safe-area-inset-top)); - min-height: calc(46px + env(safe-area-inset-top)); -} - -.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -@media only screen and (max-width: 767px) { - .wp .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(46px + 20px); - min-height: calc(46px + constant(safe-area-inset-top)); - min-height: calc(46px + env(safe-area-inset-top)); - } - .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, - .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } -} - -.wp .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} - -.wp ion-footer .toolbar:last-child { - padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); - padding-bottom: calc(env(safe-area-inset-bottom) + 4px); - min-height: calc(46px + constant(safe-area-inset-bottom)); - min-height: calc(46px + env(safe-area-inset-bottom)); -} - -image-viewer.ion-page { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - height: 100%; - opacity: 1; -} - -image-viewer.ion-page ion-navbar.toolbar .toolbar-background { - background-color: transparent; -} - -image-viewer.ion-page ion-navbar.toolbar.toolbar-ios { - padding-top: calc(20px + 4px); -} - -image-viewer.ion-page ion-navbar .bar-button-default { - color: white; -} - -image-viewer.ion-page .backdrop { - will-change: opacity; -} - -image-viewer.ion-page .image-wrapper { - position: relative; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-top: 56px; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -image-viewer.ion-page .image { - will-change: transform; -} - -image-viewer.ion-page img { - display: block; - max-width: 100%; - max-height: 100%; - margin: 0 auto; -} - -@font-face { - font-family: Roboto; - src: url("../assets/fonts/Roboto-Light.ttf"); -} - -ion-icon[class*="fn-"] { - -webkit-mask-size: contain; - mask-size: contain; - -webkit-mask-position: 50% 50%; - mask-position: 50% 50%; - -webkit-mask-repeat: no-repeat; - mask-repeat: no-repeat; - background: currentColor; - width: 1em; - height: 1em; -} - -ion-icon[class*="fn-save"] { - -webkit-mask-image: url(../assets/icon/md-save.svg); - mask-image: url(../assets/icon/md-save.svg); -} - -* { - font-family: Roboto; - font-size: 16px; -} - -.align-center { - text-align: center; -} - -.highlight { - background-color: #f4f4f4; -} - -.center { - display: block; - margin: 0 auto; -} - -.vertical-center { - position: absolute; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); -} - -.top-radius { - border-radius: 10% 10% 0 0; -} - -.bottom-radius { - border-radius: 0 0 10% 10%; -} - -.round { - border-radius: 50%; -} - -.transparent-header .toolbar-content, -.transparent-header .back-button { - color: white; -} - -.transparent-header .toolbar-background, -.transparent-header ion-navbar, -.transparent-header ion-header { - background: transparent !important; - background-color: transparent !important; -} - -.transparent-header .header-md::after, -.transparent-header .toolbar-background-ios { - background-image: none; - border-bottom: 0; -} - -.transparent-header .header-ios .toolbar-background-ios, -.transparent-header .footer-ios .toolbar-background-ios { - border: 0; -} - -#menu-right button { - padding-left: 16px; -} - -#menu-right ion-content { - background: #00d2ff; - /* fallback for old browsers */ - /* Chrome 10-25, Safari 5.1-6 */ - background: -webkit-gradient(linear, right top, left top, from(#3a7bd5), to(#00d2ff)); - background: linear-gradient(to left, #3a7bd5, #00d2ff); - /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ -} - -#menu-right .menu-inner { - width: 10vh; -} - -@media screen and (orientation: landscape) { - #menu-right .menu-inner { - width: 15vh; - } -} - -#menu-right .active-menu-item { - position: absolute; - border-top: 6px solid transparent; - border-bottom: 6px solid transparent; - border-left: 6px solid #ffffff; -} - -#menu-right .label { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -#menu-right .list-md[no-lines] .item-block, -#menu-right .list-md[no-lines] ion-item-options, -#menu-right .list-md[no-lines] .item .item-inner, -#menu-right .list-ios[no-lines] .item-block, -#menu-right .list-ios[no-lines] ion-item-options, -#menu-right .list-ios[no-lines] .item .item-inner { - padding: .3rem 0; - background: transparent; - color: white; -} - -#menu-right ion-icon { - line-height: 1; -} - -.icon-badge { - top: 0px; - right: 0px; - background: #E00201; - color: white; - font-size: 12px; - position: absolute; - padding: 5px 8px; - border-radius: 15px; -} - -#menu-avatar .user-avatar { - max-width: 125px; - height: 125px; - padding: .5em; -} - -#menu-avatar h3, -#menu-avatar .label { - color: white; - font-weight: bold; - font-size: 14px; -} - -#menu-avatar .item { - background: transparent; -} - -#menu-avatar ion-content { - background: #649173; - /* fallback for old browsers */ - /* Chrome 10-25, Safari 5.1-6 */ - background: -webkit-gradient(linear, right top, left top, from(#DBD5A4), to(#649173)); - background: linear-gradient(to left, #DBD5A4, #649173); - /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ -} - -#menu-avatar .menu-inner { - background: rgba(255, 255, 255, 0.3); -} - -#menu-material .scroll-content .name { - font-weight: 500; - margin-top: 0px; - margin-left: 0px; - font-size: 24px; -} - -#menu-material .scroll-content .e-mail { - margin-top: 0; - margin-bottom: 5px; -} - -#menu-material .user-avatar { - max-width: 125px; - height: 125px; - padding: .5em; - height: 12vh; -} - -#menu-material h3, -#menu-material .label { - color: #111; - font-weight: 500; -} - -#menu-material .menu-inner { - -webkit-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12) !important; - box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12) !important; -} - -#menu-material .menu-header { - background-image: url("../assets/img/misc/sidemenubg.jpg"); - background-size: cover; - color: white; - padding-bottom: 15px; -} - -#menu-material .item-md { - background-color: rgba(255, 255, 255, 0.28) !important; -} - -#menu-material ion-icon { - color: #111; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-background { - background: #19152C; - border: #19152C; -} - -#menu-dark .sidemenuHeader ion-toolbar ion-buttons button { - color: #fff; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item { - background: transparent; - color: #fff; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar { - background: #fff; - color: #8835C3; - border-radius: 50%; - text-align: center; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar h2 { - margin: 0; - font-size: 25px; - line-height: 40px; - color: #19152C; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item h2 { - font-size: 12px; - font-weight: normal; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item p { - font-size: 11px; - font-weight: normal; - color: #fff; -} - -#menu-dark .menu { - background: #19152C; -} - -#menu-dark .menu ion-list button { - background: transparent; - color: #C9C7D3; - font-size: 13px; -} - -#menu-dark .menu ion-list button .item-inner { - border-bottom: 1px solid #474456 !important; -} - -#menu-dark .menu ion-list button .item-inner img { - width: 30px; - height: 30px; - vertical-align: middle; - margin-right: 10px; - margin-bottom: 5px; -} - -/* FOR ALERT */ -.buttoncss { - color: #0d95d4; -} - -.buttoncss button.alert-button:nth-child(1) { - color: red; - border: 1px solid red; - border-radius: 10px; - position: relative; - right: 20px; - font-size: 14px; -} - -.buttoncss button.alert-button:nth-child(2) { - color: green; - border: 1px solid green; - border-radius: 10px; -} - -.prompt_alert { - color: darkgreen; -} - -.prompt_alert button.alert-button { - color: green; - border: 1px solid green; - border-radius: 10px; -} - -.prompt_alert input.alert-input { - border: 1px solid blueviolet; -} - -.complete_alert { - color: darkblue; -} - -.complete_alert .alert-message { - color: olivedrab; -} - -.complete_alert button.alert-button:nth-child(1) { - color: red; - border: 1px solid red; - border-radius: 10px; - width: 85%; - text-align: center; - font-size: 14px; -} - -.complete_alert button.alert-button:nth-child(2) { - margin-top: 10px; - color: darkgreen; - width: 60px; -} - -.complete_alert button.alert-button:nth-child(3) { - margin-top: 8px; - color: darkred; -} - -/* END OF ALERT*/ -.applicant_free_text { - text-transform: capitalize; -} - -.mapAddress { - padding: 30px; -} - -.mapAddress .modal-wrapper { - border-radius: 7px; - background: rgba(0, 0, 0, 0.5); - height: 80% !important; - margin-top: 25%; -} - -.mapAddress .modal-wrapper ion-content { - background-color: blanchedalmond; -} - -.mapAddress .modal-wrapper form { - margin-top: 20px; -} - -.mapAddress .modal-wrapper mat-label { - margin-bottom: 20px; - color: darkgreen; - font-weight: bold; - font-size: 85%; - padding: 0 10px 0 10px; -} - -.mapAddress .modal-wrapper ion-list .login-top { - margin-top: -20px; - background: #4eb5e2; - padding-bottom: 10px; - margin-bottom: 25px; -} - -.mapAddress .modal-wrapper ion-list img { - margin-top: 15%; - max-width: 30%; -} - -.mapAddress .modal-wrapper ion-list .item { - background: none !important; -} - -.mapAddress .modal-wrapper ion-list .item button { - height: 4rem !important; -} - -.pdimagecompleteModal { - padding: 30px; - color: red; -} - -.pdimagecompleteModal .modal-wrapper { - height: 98% !important; - width: 105% !important; - margin-top: 9%; -} - -.pdimagecompleteModal .modal-wrapper ion-content { - background-color: blanchedalmond; -} - -page-auth .scroll-content { - background-color: #eee; -} - -page-auth .mat-card { - width: 80%; - margin-left: 10%; - margin-top: 35%; - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-auth h4 { - font-weight: normal; -} - -page-auth button.mat-primary { - background-color: #E00201 !important; -} - -page-auth .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-auth .rounded-circle { - border-radius: 50% !important; -} - -page-auth .img-fluid { - max-width: 40%; - height: auto; - margin-top: -70px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); -} - -page-auth ion-icon { - font-size: 2.2em; -} - -page-complete-list mat-grid-tile { - background: white !important; -} - -page-complete-list .grid { - padding: 0px; -} - -page-complete-list .scroll-content { - padding: 0px !important; -} - -page-complete-list .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-complete-list { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-complete-list h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-complete-list .scroll-content { - padding: 0px !important; -} - -page-complete-list .mat-card { - padding: 0px !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} - -page-complete-list * { - font-size: 10px; -} - -page-complete-list .mat-card-title { - margin-bottom: 0px; -} - -page-complete-list .list-md { - margin: 0px; -} - -page-complete-list .lettericon { - background-color: cadetblue; - padding: 10px 8px 10px 8px; - border-radius: 20%; - color: #fff; - font-size: 90%; - font-weight: bold; -} - -page-complete-list .no_applicant_pd { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-complete-list .label-md { - margin: 0px; -} - -page-complete-list .item-md h4 { - font-size: 1.7rem; -} - -page-complete-list .item-md ion-icon[item-start] + .item-inner { - margin-left: 0px; -} - -page-complete-list .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-complete-list .button-md-primary { - margin-bottom: 0px !important; - height: 50px; -} - -page-complete-list ion-fab[middle] { - top: 17% !important; -} - -page-complete-list .fab-md-optblue { - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-form-complete-check-modal .title { - font-size: 16px; - color: black; - font-weight: bold; -} - -page-form-complete-check-modal .head { - margin-left: 10%; - text-align: right; - font-weight: bold; - color: #e00201; -} - -page-form-complete-check-modal .datas { - font-size: 16px; - color: darkslateblue; - font-weight: bold; -} - -page-googleplaytab .SwipedTabs-indicatorSegment { - -webkit-transition: 0.2s all; - transition: 0.2s all; - -webkit-transform-origin: top 0 left 0; - transform-origin: top 0 left 0; - height: 1px; - position: relative; - top: -2px; - background-color: blue !important; -} - -page-googleplaytab .SwipedTabs-tabs ion-segment-button { - border: none !important; - color: #111 !important; - background-color: white !important; - padding-left: 16px !important; - padding-right: 20px !important; -} - -page-googleplaytab .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab { - color: blue !important; -} - -page-googleplaytab .SwipedTabs-tabs { - width: -webkit-fit-content !important; - width: -moz-fit-content !important; - width: fit-content !important; -} - -page-googleplaytab .toolbar * { - margin: 0 !important; -} - -page-googleplaytab .tabsContent .scroll-content { - overflow-x: scroll !important; -} - -page-googleplaytab .tabsContent { - height: 50px !important; -} - -page-googleplaytab .segment-button { - max-width: initial !important; - -webkit-box-flex: 1 !important; - -webkit-flex: auto !important; - -ms-flex: auto !important; - flex: auto !important; - width: initial !important; -} - -page-googleplaytab .segment-md .segment-button { - font-size: 2.0rem; -} - -page-googleplaytab .scroll-content { - background-color: #eee !important; -} - -page-googleplaytab .grid { - padding: 0px; -} - -page-googleplaytab h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-googleplaytab .scroll-content { - background-color: #eee !important; - padding: 0px !important; -} - -page-googleplaytab .mat-card { - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(156, 39, 176, 0.6) !important; - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(156, 39, 176, 0.6) !important; - margin-bottom: 3px; -} - -page-googleplaytab h2 { - font-size: 2.0rem; - font-weight: normal; -} - -page-input .example-form { - min-width: 150px; - max-width: 500px; - width: 100%; -} - -page-input .example-full-width { - width: 100%; -} - -page-input .cusicon { - padding-top: 36px; - font-size: 23px; - color: #3272b2; -} - -page-input mat-grid-tile { - background: white !important; -} - -page-input .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-input { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-input h1 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: bold !important; - color: #3272b2; -} - -page-input .box { - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; -} - -page-input .scroll-content { - background-color: #eee !important; -} - -page-input .mat-card { - padding: 7px 16px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-input * { - font-size: 14px; -} - -page-input .mat-card-title { - margin-bottom: 0px; -} - -page-input .button-md-primary { - background-color: #E00201 !important; - margin-bottom: 0px !important; - height: 50px; -} - -page-input .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-input .fab-md-optblue { - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-input ion-footer { - position: absolute; -} - -page-input .cardinfo { - font-size: 19px !important; -} - -page-input .addressinfo { - font-size: 19px !important; -} - -page-input .schdule_time { - font-size: 117%; -} - -page-input .schdul { - border-radius: 5px; - color: red; - padding-bottom: 20px; -} - -page-input ion-input { - color: red; - background-color: lightgray; - padding-left: 10px; - font-weight: bold; -} - -page-input ion-label { - font-weight: bold; -} - -page-input .input-cover { - position: static; -} - -page-input .leaveDays { - color: red; -} - -page-input ion-icon { - font-size: 120%; -} - -page-input .status { - color: #E00201; - border: 2px solid darkmagenta; - padding: 5px; - border-radius: 10px; -} - -page-input .inprogress_btn { - position: relative; - left: 80%; - bottom: 50%; -} - -page-input .doc-image-bucket { - padding: 0 5px 0 0 !important; - height: 180px !important; -} - -page-bounced-reject .scroll-content { - background-color: #eee !important; -} - -page-bounced-reject .mat-card { - padding: 7px 16px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - border-radius: 10px; -} - -page-login .scroll-content { - background-image: url("../assets/img/misc/login.jpg"); - background-size: cover; -} - -page-login .form { - margin: 22px; - font: inherit; - color: inherit; -} - -page-login .mat-card { - margin-top: 50%; - background-color: rgba(255, 255, 255, 0.57); - border-radius: 10px; -} - -page-login .login-session { - margin-top: 20%; -} - -page-login img { - height: 70px !important; -} - -page-login * { - font-size: 25px !important; -} - -page-login button.mat-primary { - background-color: #E00201 !important; -} - -page-login .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-login .label_name { - color: #e00201; - text-align: center; -} - -page-map-address .mat-form-field { - width: 100%; - padding: 0 10px 0 10px; -} - -page-otp .scroll-content { - background-color: #eee; -} - -page-otp .mat-card { - width: 80%; - margin-left: 10%; - margin-top: 35%; - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-otp h4 { - font-weight: normal; -} - -page-otp button.mat-primary { - background-color: #E00201 !important; -} - -page-otp .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-otp .rounded-circle { - border-radius: 50% !important; - background-image: url("../assets/img/misc/avatar.jpg"); -} - -page-otp .img-fluid { - max-width: 40%; - height: auto; - margin-top: -70px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); -} - -page-otp ion-icon { - font-size: 2.2em; -} - -page-password .scroll-content { - background-color: #eee; -} - -page-password .mat-card { - width: 80%; - margin-left: 10%; - margin-top: 35%; - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-password h4 { - font-weight: normal; -} - -page-password button.mat-primary { - background-color: #dd4437 !important; -} - -page-password .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-password .rounded-circle { - border-radius: 50% !important; - background-image: url("../assets/img/misc/avatar.jpg"); -} - -page-password .img-fluid { - max-width: 40%; - height: auto; - margin-top: -70px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); -} - -page-password ion-icon { - font-size: 2.2em; -} - -page-pd-allocation mat-grid-tile { - background: white !important; -} - -page-pd-allocation .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-pd-allocation { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-pd-allocation .box { - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; -} - -page-pd-allocation .scroll-content { - background-color: #eee !important; - padding: 0px !important; -} - -page-pd-allocation * { - font-size: 14px; -} - -page-pd-allocation .mat-card-title { - margin-bottom: 0px; -} - -page-pd-allocation .lettericon { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-pd-allocation .mat-card-header-text { - margin: 0px; -} - -page-pd-allocation .mat-card-subtitle { - margin-bottom: 0px; -} - -page-pd-allocation .mat-card-content > :last-child:not(.mat-card-footer) { - margin-top: 0px; -} - -page-pd-allocation p { - margin-top: 0 !important; - margin-left: 5% !important; -} - -page-pd-allocation h2 { - margin: 1px !important; -} - -page-pd-allocation .mat-card { - border-radius: 10px; -} - -page-pd-list mat-grid-tile { - background: white !important; -} - -page-pd-list .grid { - padding: 0px; -} - -page-pd-list .scroll-content { - padding: 0px !important; -} - -page-pd-list .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-pd-list { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-pd-list h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-pd-list .scroll-content { - padding: 0px !important; -} - -page-pd-list .mat-card { - padding: 0px !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} - -page-pd-list * { - font-size: 10px; -} - -page-pd-list .mat-card-title { - margin-bottom: 0px; -} - -page-pd-list .list-md { - margin: 0px; -} - -page-pd-list .lettericon { - background-color: cadetblue; - padding: 10px 8px 10px 8px; - border-radius: 20%; - color: #fff; - font-size: 90%; - font-weight: bold; -} - -page-pd-list .no_applicant_pd { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-pd-list .label-md { - margin: 0px; -} - -page-pd-list .item-md h4 { - font-size: 1.7rem; -} - -page-pd-list .item-md ion-icon[item-start] + .item-inner { - margin-left: 0px; -} - -page-pd-list .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-list .button-md-primary { - margin-bottom: 0px !important; - height: 50px; -} - -page-pd-list ion-fab[middle] { - top: 17% !important; -} - -page-pd-list .fab-md-optblue { - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-list ion-footer { - position: absolute; -} - -page-pd-list ion-slide.swiper-slide { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -page-pd-list ion-slides { - height: auto; -} - -page-pd-list .app_id { - overflow: hidden; - text-overflow: ellipsis; -} - -page-pd-question .SwipedTabs-indicatorSegment { - -webkit-transition: 0.2s all; - transition: 0.2s all; - -webkit-transform-origin: top 0 left 0; - transform-origin: top 0 left 0; - height: 1px; - position: relative; - top: -2px; - background-color: blue !important; -} - -page-pd-question .SwipedTabs-tabs ion-segment-button { - border: none !important; - color: #111 !important; - background-color: white !important; - padding-left: 16px !important; - padding-right: 20px !important; -} - -page-pd-question .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab { - color: blue !important; -} - -page-pd-question .SwipedTabs-tabs { - width: -webkit-fit-content !important; - width: -moz-fit-content !important; - width: fit-content !important; -} - -page-pd-question .toolbar * { - margin: 0 !important; -} - -page-pd-question .tabsContent .scroll-content { - overflow-x: scroll !important; -} - -page-pd-question .tabsContent { - height: 50px !important; -} - -page-pd-question .segment-button { - max-width: initial !important; - -webkit-box-flex: 1 !important; - -webkit-flex: auto !important; - -ms-flex: auto !important; - flex: auto !important; - width: initial !important; -} - -page-pd-question .segment-md .segment-button { - font-size: 2.0rem; -} - -page-pd-question .scroll-content { - background-color: white !important; -} - -page-pd-question .mat-card1 { - margin-bottom: 5px; -} - -page-pd-question ion-scroll { - position: inherit !important; -} - -page-pd-question .button-md { - padding: 25px 0px 25px 0px !important; -} - -page-pd-question-category mat-grid-tile { - background: white !important; -} - -page-pd-question-category .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-pd-question-category { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-pd-question-category mat-grid-tile { - background: white !important; -} - -page-pd-question-category .grid { - padding: 0px; -} - -page-pd-question-category h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-pd-question-category .scroll-content { - background-color: #eee !important; - padding: 0px !important; -} - -page-pd-question-category .mat-card { - padding: 0px !important; - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(0, 0, 0, 0.2); -} - -page-pd-question-category * { - font-size: 16px; -} - -page-pd-question-category .mat-card-title { - margin-bottom: 0px; -} - -page-pd-question-category .list-md { - margin: 0px; -} - -page-pd-question-category .lettericon { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-pd-question-category .label-md { - margin: 0px; -} - -page-pd-question-category .item-md h4 { - font-size: 1.7rem; -} - -page-pd-question-category .item-md ion-icon[item-start] + .item-inner { - margin-left: 0px; -} - -page-pd-question-category .button-md-primary { - margin-bottom: 0px !important; - height: 50px; -} - -page-pd-question-address .scroll-content { - background-color: #eee; -} - -page-pd-question-address .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-address .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-address textarea { - resize: none; -} - -page-pd-question-address .my-width { - width: 600px; -} - -page-pd-question-address img { - padding: 0 5px 0 0; - height: 170px; -} - -page-pd-question-address input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-address .buttoncss { - margin-top: 3px; - font-size: 25px; - color: #E00201; -} - -page-pd-question-address ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-address .line { - font-size: 32px; - font-weight: bold; -} - -page-pd-question-assessed-business .scroll-content { - padding: 16px; -} - -page-pd-question-assessed-business .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-business .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-business .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-daily-purchase mat-form-field { - width: 100%; -} - -page-pd-question-assessed-daily-purchase .scroll-content { - padding: 16px; -} - -page-pd-question-assessed-daily-purchase .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-daily-purchase .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-daily-purchase .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-daily-sales .input-cover { - position: static; -} - -page-pd-question-assessed-daily-sales .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-daily-sales .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-daily-sales .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-daily-sales mat-radio-button { - width: 100%; - padding-top: 10px; - padding-bottom: 10px; -} - -page-pd-question-assessed-dash .mat-card { - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-dash .htag { - font-size: 1.5rem; - margin-top: 0px; -} - -page-pd-question-assessed-dash .ion-icon-custome { - font-size: 2.8em; - color: #e00201; -} - -page-pd-question-assessed-dash .item-ribbon { - background-color: #fff; - position: relative; - -webkit-filter: none; - filter: none; - opacity: 1; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon { - position: absolute; - right: -5px; - top: -5px; - z-index: 2; - overflow: hidden; - width: 75px; - height: 75px; - text-align: right; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon span { - font-size: 1rem; - font-weight: bold; - color: #fff; - text-transform: uppercase; - text-align: center; - line-height: 20px; - transform: rotate(45deg); - -webkit-transform: rotate(45deg); - width: 100px; - display: block; - background: #f53d3d; - position: absolute; - top: 19px; - right: -21px; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon span::before { - content: ""; - position: absolute; - left: 0; - top: 100%; - z-index: -1; - border-left: 3px solid #f53d3d; - border-right: 3px solid transparent; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon span::after { - content: ""; - position: absolute; - right: 0; - top: 100%; - z-index: -1; - border-left: 3px solid transparent; - border-right: 3px solid #f53d3d; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .ribbon.cruzeiro span { - color: white; - background: #20c127; -} - -page-pd-question-assessed-dash .ribbon.cruzeiro span::before { - border-left: 3px solid #20c127; - border-top: 3px solid #20c127; -} - -page-pd-question-assessed-dash .ribbon.cruzeiro span::after { - border-right: 3px solid #20c127; - border-top: 3px solid #20c127; -} - -page-pd-question-assessed-dash .ribbon.default span { - color: white; - background: #f53d3d; -} - -page-pd-question-assessed-dash .ribbon.default span::before { - border-left: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .ribbon.default span::after { - border-right: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .radio { - padding-top: 10px; - padding-bottom: 10px; - font-weight: bold; - font-size: 24px; -} - -page-pd-question-assessed-household .scroll-content { - padding: 16px; -} - -page-pd-question-assessed-household .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-household .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-household .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-images .scroll-content { - padding: 16px; -} - -page-pd-question-assessed-images .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-images .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-images .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-images img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-assessed-images input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content { - width: 100%; - height: 200px; -} - -page-pd-question-assessed-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-assessed-info textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-assessed-info input { - height: 30px; -} - -page-pd-question-assessed-info .scroll-content { - padding: 16px; -} - -page-pd-question-assessed-info .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-sales mat-radio-button { - padding-top: 10px; - padding-bottom: 10px; -} - -page-pd-question-assessed-sales .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-sales .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-sales .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-summary .val { - font-size: 14.5px; - font-weight: bold; -} - -page-pd-question-assessed-summary .l_cons { - color: seagreen; - font-weight: bold; -} - -page-pd-question-assessed-summary .mat-card { - border-radius: 10px; - margin-bottom: 15px; -} - -page-pd-question-assessed-summary .scroll-content { - background-color: #eee; -} - -page-pd-question-assessed-summary .mat-expansion-panel-header { - padding: 30px; -} - -page-pd-question-assessed-summary .label { - font-weight: bold; -} - -page-pd-question-assests .scroll-content { - padding: 16px; -} - -page-pd-question-assests .scroll-content { - background-color: #eee; -} - -page-pd-question-assests .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assests .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assests img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-assests input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-assests ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-banking .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-banking .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-banking .scroll-content { - background-color: #eee; -} - -page-pd-question-banking img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-banking input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-banking ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-business-group .mat-expansion-panel { - margin-bottom: 10px !important; - background-color: #e14533 !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-group .mat-expansion-panel-header-title { - color: #fff !important; -} - -page-pd-question-business-group .mat-card { - margin-bottom: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - padding: 3px 10px !important; -} - -page-pd-question-business-group .item-ribbon { - background-color: #fff; - position: relative; - -webkit-filter: none; - filter: none; - opacity: 1; -} - -page-pd-question-business-group .item-ribbon .ribbon { - position: absolute; - right: -5px; - top: -5px; - z-index: 2; - overflow: hidden; - width: 75px; - height: 75px; - text-align: right; -} - -page-pd-question-business-group .item-ribbon .ribbon span { - font-size: 1rem; - font-weight: bold; - color: #fff; - text-transform: uppercase; - text-align: center; - line-height: 20px; - transform: rotate(45deg); - -webkit-transform: rotate(45deg); - width: 73px; - display: block; - background: #f53d3d; - position: absolute; - top: 10px; - right: -17px; -} - -page-pd-question-business-group .item-ribbon .ribbon span::before { - content: ""; - position: absolute; - left: 0; - top: 100%; - z-index: -1; - border-left: 3px solid #f53d3d; - border-right: 3px solid transparent; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .item-ribbon .ribbon span::after { - content: ""; - position: absolute; - right: 0; - top: 100%; - z-index: -1; - border-left: 3px solid transparent; - border-right: 3px solid #f53d3d; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .ribbon.answered span { - color: white; - background: green; -} - -page-pd-question-business-group .ribbon.answered span::before { - border-left: 3px solid green; - border-top: 3px solid green; -} - -page-pd-question-business-group .ribbon.answered span::after { - border-right: 3px solid green; - border-top: 3px solid green; -} - -page-pd-question-business-group .ribbon.notanswered span { - color: white; - background: #f53d3d; -} - -page-pd-question-business-group .ribbon.notanswered span::before { - border-left: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .ribbon.notanswered span::after { - border-right: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .ribbon.javascript span { - color: black; - background: #f7e023; -} - -page-pd-question-business-group .ribbon.javascript span::before { - border-left: 3px solid #f7e023; - border-top: 3px solid #f7e023; -} - -page-pd-question-business-group .ribbon.javascript span::after { - border-right: 3px solid #f7e023; - border-top: 3px solid #f7e023; -} - -page-pd-question-business-assets mat-form-field { - width: 100%; -} - -page-pd-question-business-assets .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-assets .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-business-assets .scroll-content { - background-color: #eee; -} - -page-pd-question-business-assets .mat-form-field-label { - white-space: normal; -} - -page-pd-question-business-assets textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-business-assets mat-select { - margin-top: 7px; -} - -page-pd-question-business-assets img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-business-assets input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-business-assets ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-business-banking .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-banking .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-business-banking .accordion { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-banking .scroll-content { - background-color: #eee; -} - -page-pd-question-business-banking img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-business-banking input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-business-banking ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-business-info mat-card-title { - font-weight: bold; - font-size: 18px; -} - -page-pd-question-business-info mat-card-header { - font-weight: bold; - font-size: 18px; -} - -page-pd-question-business-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-business-info .scroll-content { - background-color: #eee; -} - -page-pd-question-business-info mat-radio-button { - padding: 0 5px 0 5px; -} - -page-pd-question-business-info .mat-radio-button.mat-accent .mat-radio-inner-circle { - background-color: #673AB7; -} - -page-pd-question-business-info .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle { - border-color: #673AB7; -} - -page-pd-question-business-info .ses { - padding-top: 10px; -} - -page-pd-question-business-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-business-info .labelcss { - white-space: normal; -} - -page-pd-question-business-info textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-business-info input { - height: 30px; -} - -page-pd-question-business-info mat-select { - margin-top: 8px; -} - -page-pd-question-business-info .checkbo { - margin: 10px; - padding-top: 10px; - color: darkcyan; -} - -page-pd-question-business-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-business-info .docName { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-business-info .na { - margin-top: 15px; -} - -page-pd-question-business-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-business-info .name_board_camera { - text-align: right; - font-size: 26px; - color: darkred; -} - -page-pd-question-client-info mat-hint { - font-size: 12px; -} - -page-pd-question-client-info .scroll-content { - background-color: #eee; -} - -page-pd-question-client-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-client-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-client-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-client-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-client-info .docName { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-financial-info mat-form-field { - width: 100%; -} - -page-pd-question-financial-info .info > span { - bottom: 20px; - margin-left: 10px; - font-size: 13px; -} - -page-pd-question-financial-info i, page-pd-question-financial-info b { - font-size: 12px; -} - -page-pd-question-financial-info .greenhighlight { - color: green; - background-color: white; -} - -page-pd-question-financial-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-financial-info .highlight { - color: red; - background-color: white; -} - -page-pd-question-financial-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-financial-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-financial-info .scroll-content { - background-color: #eee; -} - -page-pd-question-financial-info .large { - height: 30px; -} - -page-pd-question-financial-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-financial-info textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-financial-info .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-financial-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-financial-info .select_large { - margin: 5px; -} - -page-pd-question-financial-info .docName { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-financial-info .toggle { - padding: 1.4rem; -} - -page-pd-question-financial-info .element::-webkit-input-placeholder { - font-weight: bold; -} - -page-pd-question-financial-info .element::-moz-placeholder { - font-weight: bold; -} - -page-pd-question-financial-info .element:-ms-input-placeholder { - font-weight: bold; -} - -page-pd-question-financial-info .element:-o-input-placeholder { - font-weight: bold; -} - -page-pd-question-future-plans-and-business-environment { - /*FOR IMAGES*/ -} - -page-pd-question-future-plans-and-business-environment mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-future-plans-and-business-environment mat-form-field { - width: 100%; -} - -page-pd-question-future-plans-and-business-environment .scroll-content { - background-color: #eee; -} - -page-pd-question-future-plans-and-business-environment .mat-form-field-label { - white-space: normal; -} - -page-pd-question-future-plans-and-business-environment textarea.mat-input-element { - padding: 0px 0; - margin: 10px 0; -} - -page-pd-question-future-plans-and-business-environment ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-future-plans-and-business-environment .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-future-plans-and-business-environment mat-placeholder { - font-size: 15px; -} - -page-pd-question-future-plans-and-business-environment input-placeholder { - margin: 10px; -} - -page-pd-question-future-plans-and-business-environment img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-future-plans-and-business-environment input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-stock-info mat-hint { - font-size: 12px; -} - -page-pd-question-stock-info .scroll-content { - background-color: #eee; -} - -page-pd-question-stock-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-stock-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-stock-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-stock-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-stock-info textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-stock-info .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-stock-info mat-select { - margin: 5px 0; -} - -page-pd-question-stock-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-stock-info .docName { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-supplier-info mat-hint { - font-size: 12px; -} - -page-pd-question-supplier-info .scroll-content { - background-color: #eee; -} - -page-pd-question-supplier-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-supplier-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-supplier-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-supplier-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-supplier-info .docName { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-current-loans mat-form-field { - width: 100%; -} - -page-pd-question-current-loans mat-hint { - font-size: 11px; -} - -page-pd-question-current-loans .scroll-content { - background-color: #eee; -} - -page-pd-question-current-loans .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-current-loans .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-current-loans ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-current-loans img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-current-loans input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-current-loans .fab_exp { - margin-bottom: 20px; - font-size: 121px; - color: #f3e2e2; - background-color: darkcyan; -} - -page-pd-question-current-loans button[ion-fab] { - overflow: visible; - position: relative; -} - -page-pd-question-current-loans button[ion-fab] ion-label { - position: absolute; - top: -8px; - right: 40px; - color: white; - background-color: rgba(0, 0, 0, 0.7); - line-height: 24px; - padding: 4px 8px; - border-radius: 4px; -} - -page-pd-question-current-loans .fab { - contain: layout; -} - -page-pd-question-emp-info { - /*FOR IMAGES*/ -} - -page-pd-question-emp-info mat-hint { - font-size: 11px; -} - -page-pd-question-emp-info mat-error { - font-size: 11px; -} - -page-pd-question-emp-info mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-emp-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-emp-info .scroll-content { - background-color: #eee; -} - -page-pd-question-emp-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-emp-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-emp-info input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-family { - /*FOR IMAGES*/ -} - -page-pd-question-family mat-form-field { - width: 100%; -} - -page-pd-question-family .scroll-content { - background-color: #eee; -} - -page-pd-question-family .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-family .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-family h4 { - font-size: 120%; -} - -page-pd-question-family ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-family img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-family input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-final-remark { - /*FOR IMAGES*/ -} - -page-pd-question-final-remark mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-final-remark mat-form-field { - width: 100%; -} - -page-pd-question-final-remark .scroll-content { - background-color: #eee; -} - -page-pd-question-final-remark .mat-form-field-label { - white-space: normal; -} - -page-pd-question-final-remark textarea.mat-input-element { - padding: 0px 0; - margin: 10px 0; -} - -page-pd-question-final-remark ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-final-remark .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-final-remark .mat-select-panel mat-option.mat-option { - margin: 1rem 0; - overflow: visible; - line-height: initial; - word-wrap: break-word; - white-space: pre-wrap; -} - -page-pd-question-final-remark .mat-option-text.mat-option-text { - white-space: normal; -} - -page-pd-question-final-remark mat-placeholder { - font-size: 15px; -} - -page-pd-question-final-remark input-placeholder { - margin: 10px; -} - -page-pd-question-final-remark mat-select { - margin: 5px 0; -} - -page-pd-question-final-remark .mat-checkbox-layout { - white-space: normal !important; -} - -page-pd-question-final-remark .mat-option-text > .DropdownOptions { - margin: 1rem 0 !important; - overflow: visible !important; - line-height: initial !important; - word-wrap: break-word !important; - white-space: normal !important; -} - -page-pd-question-final-remark .imgcenter { - display: block; - margin-left: auto; - margin-right: auto; - width: 40px; - height: 35px; -} - -page-pd-question-final-remark img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-final-remark input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-final-remark .outlet { - margin-top: 10px; - margin-bottom: 10px; -} - -page-pd-question-general-info { - /*FOR IMAGES*/ -} - -page-pd-question-general-info .item-md { - padding-left: 0px !important; -} - -page-pd-question-general-info .scroll-content { - padding: 6px !important; - background-color: #eee; -} - -page-pd-question-general-info .button-large-md { - height: 20px !important; - padding: 0px !important; -} - -page-pd-question-general-info .mat-card { - margin-bottom: 10px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-general-info .label-md { - margin: 10px 0px 10px 0 !important; -} - -page-pd-question-general-info ion-toggle { - zoom: 0.8; -} - -page-pd-question-general-info .doc-image-bucket { - padding: 0 5px 0 0 !important; - height: 180px !important; -} - -page-pd-question-general-info .avatar_col { - padding: 0px !important; - height: 40px !important; - width: 40px !important; - -webkit-box-flex: 0 !important; - -webkit-flex-grow: 0 !important; - -ms-flex-positive: 0 !important; - flex-grow: 0 !important; -} - -page-pd-question-general-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-general-info input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-lender-representative { - /*FOR IMAGES*/ -} - -page-pd-question-lender-representative mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-lender-representative .scroll-content { - background-color: #eee; -} - -page-pd-question-lender-representative img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-lender-representative ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-lender-representative input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-loans { - /*FOR IMAGES*/ -} - -page-pd-question-loans mat-hint { - font-size: 12px; -} - -page-pd-question-loans .scroll-content { - background-color: #eee; -} - -page-pd-question-loans .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-loans .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-loans ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-loans img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-loans input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-neighbour-hood { - /*FOR IMAGES*/ -} - -page-pd-question-neighbour-hood mat-form-field { - width: 100%; -} - -page-pd-question-neighbour-hood mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-neighbour-hood mat-hint { - font-size: 11px; -} - -page-pd-question-neighbour-hood .scroll-content { - background-color: #eee; -} - -page-pd-question-neighbour-hood .mat-form-field-label { - white-space: normal; -} - -page-pd-question-neighbour-hood ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-neighbour-hood textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-neighbour-hood .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-neighbour-hood mat-select { - margin: 5px 0; -} - -page-pd-question-neighbour-hood img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-neighbour-hood input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-other-income { - /*FOR IMAGES*/ -} - -page-pd-question-other-income mat-form-field { - width: 100%; -} - -page-pd-question-other-income mat-hint { - font-size: 11px; -} - -page-pd-question-other-income mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-other-income .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-other-income .scroll-content { - background-color: #eee; -} - -page-pd-question-other-income ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-other-income img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-other-income input { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-rental-info { - /*FOR IMAGES*/ -} - -page-pd-question-rental-info mat-hint { - font-size: 11px; -} - -page-pd-question-rental-info mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-rental-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-rental-info .scroll-content { - background-color: #eee; -} - -page-pd-question-rental-info ion-icon[class*="fn-save"] { - -webkit-mask-size: 30px !important; -} - -page-pd-question-rental-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-rental-info mat-select { - margin-top: 7px; -} - -page-pd-question-rental-info textarea.mat-input-element { - padding: 0px 0; - margin: 10px 0; -} - -page-pd-question-rental-info input { - height: 32px; -} - -page-pd-question-rental-info img { - padding: 0 5px 0 0; - height: 180px; -} - -page-pd-question-rental-info .docName { - width: 100px; - border-radius: 4px; - border-color: gray; - font-size: 12px; - height: 28px; -} - -page-pd-question-rental-dash .mat-card { - margin-bottom: 10px; - padding-top: 10px; - padding-bottom: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-rental-dash .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-rental-dash .mat-card-title { - color: olivedrab; -} - -page-pd-question-rental-dash mat-label { - color: darkcyan; -} - -page-pd-question-rental-dash .scroll-content { - background-color: #eee; -} +.ion-ios-add:before{content:"\f102"}.ion-ios-add-circle:before{content:"\f101"}.ion-ios-add-circle-outline:before{content:"\f100"}.ion-ios-add-outline:before{content:"\f102"}.ion-ios-alarm:before{content:"\f3c8"}.ion-ios-alarm-outline:before{content:"\f3c7"}.ion-ios-albums:before{content:"\f3ca"}.ion-ios-albums-outline:before{content:"\f3c9"}.ion-ios-alert:before{content:"\f104"}.ion-ios-alert-outline:before{content:"\f103"}.ion-ios-american-football:before{content:"\f106"}.ion-ios-american-football-outline:before{content:"\f105"}.ion-ios-analytics:before{content:"\f3ce"}.ion-ios-analytics-outline:before{content:"\f3cd"}.ion-ios-aperture:before{content:"\f108"}.ion-ios-aperture-outline:before{content:"\f107"}.ion-ios-apps:before{content:"\f10a"}.ion-ios-apps-outline:before{content:"\f109"}.ion-ios-appstore:before{content:"\f10c"}.ion-ios-appstore-outline:before{content:"\f10b"}.ion-ios-archive:before{content:"\f10e"}.ion-ios-archive-outline:before{content:"\f10d"}.ion-ios-arrow-back:before{content:"\f3cf"}.ion-ios-arrow-back-outline:before{content:"\f3cf"}.ion-ios-arrow-down:before{content:"\f3d0"}.ion-ios-arrow-down-outline:before{content:"\f3d0"}.ion-ios-arrow-dropdown:before{content:"\f110"}.ion-ios-arrow-dropdown-circle:before{content:"\f10f"}.ion-ios-arrow-dropdown-circle-outline:before{content:"\f10f"}.ion-ios-arrow-dropdown-outline:before{content:"\f110"}.ion-ios-arrow-dropleft:before{content:"\f112"}.ion-ios-arrow-dropleft-circle:before{content:"\f111"}.ion-ios-arrow-dropleft-circle-outline:before{content:"\f111"}.ion-ios-arrow-dropleft-outline:before{content:"\f112"}.ion-ios-arrow-dropright:before{content:"\f114"}.ion-ios-arrow-dropright-circle:before{content:"\f113"}.ion-ios-arrow-dropright-circle-outline:before{content:"\f113"}.ion-ios-arrow-dropright-outline:before{content:"\f114"}.ion-ios-arrow-dropup:before{content:"\f116"}.ion-ios-arrow-dropup-circle:before{content:"\f115"}.ion-ios-arrow-dropup-circle-outline:before{content:"\f115"}.ion-ios-arrow-dropup-outline:before{content:"\f116"}.ion-ios-arrow-forward:before{content:"\f3d1"}.ion-ios-arrow-forward-outline:before{content:"\f3d1"}.ion-ios-arrow-round-back:before{content:"\f117"}.ion-ios-arrow-round-back-outline:before{content:"\f117"}.ion-ios-arrow-round-down:before{content:"\f118"}.ion-ios-arrow-round-down-outline:before{content:"\f118"}.ion-ios-arrow-round-forward:before{content:"\f119"}.ion-ios-arrow-round-forward-outline:before{content:"\f119"}.ion-ios-arrow-round-up:before{content:"\f11a"}.ion-ios-arrow-round-up-outline:before{content:"\f11a"}.ion-ios-arrow-up:before{content:"\f3d8"}.ion-ios-arrow-up-outline:before{content:"\f3d8"}.ion-ios-at:before{content:"\f3da"}.ion-ios-at-outline:before{content:"\f3d9"}.ion-ios-attach:before{content:"\f11b"}.ion-ios-attach-outline:before{content:"\f11b"}.ion-ios-backspace:before{content:"\f11d"}.ion-ios-backspace-outline:before{content:"\f11c"}.ion-ios-barcode:before{content:"\f3dc"}.ion-ios-barcode-outline:before{content:"\f3db"}.ion-ios-baseball:before{content:"\f3de"}.ion-ios-baseball-outline:before{content:"\f3dd"}.ion-ios-basket:before{content:"\f11f"}.ion-ios-basket-outline:before{content:"\f11e"}.ion-ios-basketball:before{content:"\f3e0"}.ion-ios-basketball-outline:before{content:"\f3df"}.ion-ios-battery-charging:before{content:"\f120"}.ion-ios-battery-charging-outline:before{content:"\f120"}.ion-ios-battery-dead:before{content:"\f121"}.ion-ios-battery-dead-outline:before{content:"\f121"}.ion-ios-battery-full:before{content:"\f122"}.ion-ios-battery-full-outline:before{content:"\f122"}.ion-ios-beaker:before{content:"\f124"}.ion-ios-beaker-outline:before{content:"\f123"}.ion-ios-beer:before{content:"\f126"}.ion-ios-beer-outline:before{content:"\f125"}.ion-ios-bicycle:before{content:"\f127"}.ion-ios-bicycle-outline:before{content:"\f127"}.ion-ios-bluetooth:before{content:"\f128"}.ion-ios-bluetooth-outline:before{content:"\f128"}.ion-ios-boat:before{content:"\f12a"}.ion-ios-boat-outline:before{content:"\f129"}.ion-ios-body:before{content:"\f3e4"}.ion-ios-body-outline:before{content:"\f3e3"}.ion-ios-bonfire:before{content:"\f12c"}.ion-ios-bonfire-outline:before{content:"\f12b"}.ion-ios-book:before{content:"\f3e8"}.ion-ios-book-outline:before{content:"\f3e7"}.ion-ios-bookmark:before{content:"\f12e"}.ion-ios-bookmark-outline:before{content:"\f12d"}.ion-ios-bookmarks:before{content:"\f3ea"}.ion-ios-bookmarks-outline:before{content:"\f3e9"}.ion-ios-bowtie:before{content:"\f130"}.ion-ios-bowtie-outline:before{content:"\f12f"}.ion-ios-briefcase:before{content:"\f3ee"}.ion-ios-briefcase-outline:before{content:"\f3ed"}.ion-ios-browsers:before{content:"\f3f0"}.ion-ios-browsers-outline:before{content:"\f3ef"}.ion-ios-brush:before{content:"\f132"}.ion-ios-brush-outline:before{content:"\f131"}.ion-ios-bug:before{content:"\f134"}.ion-ios-bug-outline:before{content:"\f133"}.ion-ios-build:before{content:"\f136"}.ion-ios-build-outline:before{content:"\f135"}.ion-ios-bulb:before{content:"\f138"}.ion-ios-bulb-outline:before{content:"\f137"}.ion-ios-bus:before{content:"\f13a"}.ion-ios-bus-outline:before{content:"\f139"}.ion-ios-cafe:before{content:"\f13c"}.ion-ios-cafe-outline:before{content:"\f13b"}.ion-ios-calculator:before{content:"\f3f2"}.ion-ios-calculator-outline:before{content:"\f3f1"}.ion-ios-calendar:before{content:"\f3f4"}.ion-ios-calendar-outline:before{content:"\f3f3"}.ion-ios-call:before{content:"\f13e"}.ion-ios-call-outline:before{content:"\f13d"}.ion-ios-camera:before{content:"\f3f6"}.ion-ios-camera-outline:before{content:"\f3f5"}.ion-ios-car:before{content:"\f140"}.ion-ios-car-outline:before{content:"\f13f"}.ion-ios-card:before{content:"\f142"}.ion-ios-card-outline:before{content:"\f141"}.ion-ios-cart:before{content:"\f3f8"}.ion-ios-cart-outline:before{content:"\f3f7"}.ion-ios-cash:before{content:"\f144"}.ion-ios-cash-outline:before{content:"\f143"}.ion-ios-chatboxes:before{content:"\f3fa"}.ion-ios-chatboxes-outline:before{content:"\f3f9"}.ion-ios-chatbubbles:before{content:"\f146"}.ion-ios-chatbubbles-outline:before{content:"\f145"}.ion-ios-checkbox:before{content:"\f148"}.ion-ios-checkbox-outline:before{content:"\f147"}.ion-ios-checkmark:before{content:"\f3ff"}.ion-ios-checkmark-circle:before{content:"\f14a"}.ion-ios-checkmark-circle-outline:before{content:"\f149"}.ion-ios-checkmark-outline:before{content:"\f3ff"}.ion-ios-clipboard:before{content:"\f14c"}.ion-ios-clipboard-outline:before{content:"\f14b"}.ion-ios-clock:before{content:"\f403"}.ion-ios-clock-outline:before{content:"\f402"}.ion-ios-close:before{content:"\f406"}.ion-ios-close-circle:before{content:"\f14e"}.ion-ios-close-circle-outline:before{content:"\f14d"}.ion-ios-close-outline:before{content:"\f406"}.ion-ios-closed-captioning:before{content:"\f150"}.ion-ios-closed-captioning-outline:before{content:"\f14f"}.ion-ios-cloud:before{content:"\f40c"}.ion-ios-cloud-circle:before{content:"\f152"}.ion-ios-cloud-circle-outline:before{content:"\f151"}.ion-ios-cloud-done:before{content:"\f154"}.ion-ios-cloud-done-outline:before{content:"\f153"}.ion-ios-cloud-download:before{content:"\f408"}.ion-ios-cloud-download-outline:before{content:"\f407"}.ion-ios-cloud-outline:before{content:"\f409"}.ion-ios-cloud-upload:before{content:"\f40b"}.ion-ios-cloud-upload-outline:before{content:"\f40a"}.ion-ios-cloudy:before{content:"\f410"}.ion-ios-cloudy-night:before{content:"\f40e"}.ion-ios-cloudy-night-outline:before{content:"\f40d"}.ion-ios-cloudy-outline:before{content:"\f40f"}.ion-ios-code:before{content:"\f157"}.ion-ios-code-download:before{content:"\f155"}.ion-ios-code-download-outline:before{content:"\f155"}.ion-ios-code-outline:before{content:"\f157"}.ion-ios-code-working:before{content:"\f156"}.ion-ios-code-working-outline:before{content:"\f156"}.ion-ios-cog:before{content:"\f412"}.ion-ios-cog-outline:before{content:"\f411"}.ion-ios-color-fill:before{content:"\f159"}.ion-ios-color-fill-outline:before{content:"\f158"}.ion-ios-color-filter:before{content:"\f414"}.ion-ios-color-filter-outline:before{content:"\f413"}.ion-ios-color-palette:before{content:"\f15b"}.ion-ios-color-palette-outline:before{content:"\f15a"}.ion-ios-color-wand:before{content:"\f416"}.ion-ios-color-wand-outline:before{content:"\f415"}.ion-ios-compass:before{content:"\f15d"}.ion-ios-compass-outline:before{content:"\f15c"}.ion-ios-construct:before{content:"\f15f"}.ion-ios-construct-outline:before{content:"\f15e"}.ion-ios-contact:before{content:"\f41a"}.ion-ios-contact-outline:before{content:"\f419"}.ion-ios-contacts:before{content:"\f161"}.ion-ios-contacts-outline:before{content:"\f160"}.ion-ios-contract:before{content:"\f162"}.ion-ios-contract-outline:before{content:"\f162"}.ion-ios-contrast:before{content:"\f163"}.ion-ios-contrast-outline:before{content:"\f163"}.ion-ios-copy:before{content:"\f41c"}.ion-ios-copy-outline:before{content:"\f41b"}.ion-ios-create:before{content:"\f165"}.ion-ios-create-outline:before{content:"\f164"}.ion-ios-crop:before{content:"\f41e"}.ion-ios-crop-outline:before{content:"\f166"}.ion-ios-cube:before{content:"\f168"}.ion-ios-cube-outline:before{content:"\f167"}.ion-ios-cut:before{content:"\f16a"}.ion-ios-cut-outline:before{content:"\f169"}.ion-ios-desktop:before{content:"\f16c"}.ion-ios-desktop-outline:before{content:"\f16b"}.ion-ios-disc:before{content:"\f16e"}.ion-ios-disc-outline:before{content:"\f16d"}.ion-ios-document:before{content:"\f170"}.ion-ios-document-outline:before{content:"\f16f"}.ion-ios-done-all:before{content:"\f171"}.ion-ios-done-all-outline:before{content:"\f171"}.ion-ios-download:before{content:"\f420"}.ion-ios-download-outline:before{content:"\f41f"}.ion-ios-easel:before{content:"\f173"}.ion-ios-easel-outline:before{content:"\f172"}.ion-ios-egg:before{content:"\f175"}.ion-ios-egg-outline:before{content:"\f174"}.ion-ios-exit:before{content:"\f177"}.ion-ios-exit-outline:before{content:"\f176"}.ion-ios-expand:before{content:"\f178"}.ion-ios-expand-outline:before{content:"\f178"}.ion-ios-eye:before{content:"\f425"}.ion-ios-eye-off:before{content:"\f17a"}.ion-ios-eye-off-outline:before{content:"\f179"}.ion-ios-eye-outline:before{content:"\f424"}.ion-ios-fastforward:before{content:"\f427"}.ion-ios-fastforward-outline:before{content:"\f426"}.ion-ios-female:before{content:"\f17b"}.ion-ios-female-outline:before{content:"\f17b"}.ion-ios-filing:before{content:"\f429"}.ion-ios-filing-outline:before{content:"\f428"}.ion-ios-film:before{content:"\f42b"}.ion-ios-film-outline:before{content:"\f42a"}.ion-ios-finger-print:before{content:"\f17c"}.ion-ios-finger-print-outline:before{content:"\f17c"}.ion-ios-flag:before{content:"\f42d"}.ion-ios-flag-outline:before{content:"\f42c"}.ion-ios-flame:before{content:"\f42f"}.ion-ios-flame-outline:before{content:"\f42e"}.ion-ios-flash:before{content:"\f17e"}.ion-ios-flash-outline:before{content:"\f17d"}.ion-ios-flask:before{content:"\f431"}.ion-ios-flask-outline:before{content:"\f430"}.ion-ios-flower:before{content:"\f433"}.ion-ios-flower-outline:before{content:"\f432"}.ion-ios-folder:before{content:"\f435"}.ion-ios-folder-open:before{content:"\f180"}.ion-ios-folder-open-outline:before{content:"\f17f"}.ion-ios-folder-outline:before{content:"\f434"}.ion-ios-football:before{content:"\f437"}.ion-ios-football-outline:before{content:"\f436"}.ion-ios-funnel:before{content:"\f182"}.ion-ios-funnel-outline:before{content:"\f181"}.ion-ios-game-controller-a:before{content:"\f439"}.ion-ios-game-controller-a-outline:before{content:"\f438"}.ion-ios-game-controller-b:before{content:"\f43b"}.ion-ios-game-controller-b-outline:before{content:"\f43a"}.ion-ios-git-branch:before{content:"\f183"}.ion-ios-git-branch-outline:before{content:"\f183"}.ion-ios-git-commit:before{content:"\f184"}.ion-ios-git-commit-outline:before{content:"\f184"}.ion-ios-git-compare:before{content:"\f185"}.ion-ios-git-compare-outline:before{content:"\f185"}.ion-ios-git-merge:before{content:"\f186"}.ion-ios-git-merge-outline:before{content:"\f186"}.ion-ios-git-network:before{content:"\f187"}.ion-ios-git-network-outline:before{content:"\f187"}.ion-ios-git-pull-request:before{content:"\f188"}.ion-ios-git-pull-request-outline:before{content:"\f188"}.ion-ios-glasses:before{content:"\f43f"}.ion-ios-glasses-outline:before{content:"\f43e"}.ion-ios-globe:before{content:"\f18a"}.ion-ios-globe-outline:before{content:"\f189"}.ion-ios-grid:before{content:"\f18c"}.ion-ios-grid-outline:before{content:"\f18b"}.ion-ios-hammer:before{content:"\f18e"}.ion-ios-hammer-outline:before{content:"\f18d"}.ion-ios-hand:before{content:"\f190"}.ion-ios-hand-outline:before{content:"\f18f"}.ion-ios-happy:before{content:"\f192"}.ion-ios-happy-outline:before{content:"\f191"}.ion-ios-headset:before{content:"\f194"}.ion-ios-headset-outline:before{content:"\f193"}.ion-ios-heart:before{content:"\f443"}.ion-ios-heart-outline:before{content:"\f442"}.ion-ios-help:before{content:"\f446"}.ion-ios-help-buoy:before{content:"\f196"}.ion-ios-help-buoy-outline:before{content:"\f195"}.ion-ios-help-circle:before{content:"\f198"}.ion-ios-help-circle-outline:before{content:"\f197"}.ion-ios-help-outline:before{content:"\f446"}.ion-ios-home:before{content:"\f448"}.ion-ios-home-outline:before{content:"\f447"}.ion-ios-ice-cream:before{content:"\f19a"}.ion-ios-ice-cream-outline:before{content:"\f199"}.ion-ios-image:before{content:"\f19c"}.ion-ios-image-outline:before{content:"\f19b"}.ion-ios-images:before{content:"\f19e"}.ion-ios-images-outline:before{content:"\f19d"}.ion-ios-infinite:before{content:"\f44a"}.ion-ios-infinite-outline:before{content:"\f449"}.ion-ios-information:before{content:"\f44d"}.ion-ios-information-circle:before{content:"\f1a0"}.ion-ios-information-circle-outline:before{content:"\f19f"}.ion-ios-information-outline:before{content:"\f44d"}.ion-ios-ionic:before{content:"\f1a1"}.ion-ios-ionic-outline:before{content:"\f44e"}.ion-ios-ionitron:before{content:"\f1a3"}.ion-ios-ionitron-outline:before{content:"\f1a2"}.ion-ios-jet:before{content:"\f1a5"}.ion-ios-jet-outline:before{content:"\f1a4"}.ion-ios-key:before{content:"\f1a7"}.ion-ios-key-outline:before{content:"\f1a6"}.ion-ios-keypad:before{content:"\f450"}.ion-ios-keypad-outline:before{content:"\f44f"}.ion-ios-laptop:before{content:"\f1a8"}.ion-ios-laptop-outline:before{content:"\f1a8"}.ion-ios-leaf:before{content:"\f1aa"}.ion-ios-leaf-outline:before{content:"\f1a9"}.ion-ios-link:before{content:"\f22a"}.ion-ios-link-outline:before{content:"\f1ca"}.ion-ios-list:before{content:"\f454"}.ion-ios-list-box:before{content:"\f1ac"}.ion-ios-list-box-outline:before{content:"\f1ab"}.ion-ios-list-outline:before{content:"\f454"}.ion-ios-locate:before{content:"\f1ae"}.ion-ios-locate-outline:before{content:"\f1ad"}.ion-ios-lock:before{content:"\f1b0"}.ion-ios-lock-outline:before{content:"\f1af"}.ion-ios-log-in:before{content:"\f1b1"}.ion-ios-log-in-outline:before{content:"\f1b1"}.ion-ios-log-out:before{content:"\f1b2"}.ion-ios-log-out-outline:before{content:"\f1b2"}.ion-ios-magnet:before{content:"\f1b4"}.ion-ios-magnet-outline:before{content:"\f1b3"}.ion-ios-mail:before{content:"\f1b8"}.ion-ios-mail-open:before{content:"\f1b6"}.ion-ios-mail-open-outline:before{content:"\f1b5"}.ion-ios-mail-outline:before{content:"\f1b7"}.ion-ios-male:before{content:"\f1b9"}.ion-ios-male-outline:before{content:"\f1b9"}.ion-ios-man:before{content:"\f1bb"}.ion-ios-man-outline:before{content:"\f1ba"}.ion-ios-map:before{content:"\f1bd"}.ion-ios-map-outline:before{content:"\f1bc"}.ion-ios-medal:before{content:"\f1bf"}.ion-ios-medal-outline:before{content:"\f1be"}.ion-ios-medical:before{content:"\f45c"}.ion-ios-medical-outline:before{content:"\f45b"}.ion-ios-medkit:before{content:"\f45e"}.ion-ios-medkit-outline:before{content:"\f45d"}.ion-ios-megaphone:before{content:"\f1c1"}.ion-ios-megaphone-outline:before{content:"\f1c0"}.ion-ios-menu:before{content:"\f1c3"}.ion-ios-menu-outline:before{content:"\f1c2"}.ion-ios-mic:before{content:"\f461"}.ion-ios-mic-off:before{content:"\f45f"}.ion-ios-mic-off-outline:before{content:"\f1c4"}.ion-ios-mic-outline:before{content:"\f460"}.ion-ios-microphone:before{content:"\f1c6"}.ion-ios-microphone-outline:before{content:"\f1c5"}.ion-ios-moon:before{content:"\f468"}.ion-ios-moon-outline:before{content:"\f467"}.ion-ios-more:before{content:"\f1c8"}.ion-ios-more-outline:before{content:"\f1c7"}.ion-ios-move:before{content:"\f1cb"}.ion-ios-move-outline:before{content:"\f1cb"}.ion-ios-musical-note:before{content:"\f46b"}.ion-ios-musical-note-outline:before{content:"\f1cc"}.ion-ios-musical-notes:before{content:"\f46c"}.ion-ios-musical-notes-outline:before{content:"\f1cd"}.ion-ios-navigate:before{content:"\f46e"}.ion-ios-navigate-outline:before{content:"\f46d"}.ion-ios-no-smoking:before{content:"\f1cf"}.ion-ios-no-smoking-outline:before{content:"\f1ce"}.ion-ios-notifications:before{content:"\f1d3"}.ion-ios-notifications-off:before{content:"\f1d1"}.ion-ios-notifications-off-outline:before{content:"\f1d0"}.ion-ios-notifications-outline:before{content:"\f1d2"}.ion-ios-nuclear:before{content:"\f1d5"}.ion-ios-nuclear-outline:before{content:"\f1d4"}.ion-ios-nutrition:before{content:"\f470"}.ion-ios-nutrition-outline:before{content:"\f46f"}.ion-ios-open:before{content:"\f1d7"}.ion-ios-open-outline:before{content:"\f1d6"}.ion-ios-options:before{content:"\f1d9"}.ion-ios-options-outline:before{content:"\f1d8"}.ion-ios-outlet:before{content:"\f1db"}.ion-ios-outlet-outline:before{content:"\f1da"}.ion-ios-paper:before{content:"\f472"}.ion-ios-paper-outline:before{content:"\f471"}.ion-ios-paper-plane:before{content:"\f1dd"}.ion-ios-paper-plane-outline:before{content:"\f1dc"}.ion-ios-partly-sunny:before{content:"\f1df"}.ion-ios-partly-sunny-outline:before{content:"\f1de"}.ion-ios-pause:before{content:"\f478"}.ion-ios-pause-outline:before{content:"\f477"}.ion-ios-paw:before{content:"\f47a"}.ion-ios-paw-outline:before{content:"\f479"}.ion-ios-people:before{content:"\f47c"}.ion-ios-people-outline:before{content:"\f47b"}.ion-ios-person:before{content:"\f47e"}.ion-ios-person-add:before{content:"\f1e1"}.ion-ios-person-add-outline:before{content:"\f1e0"}.ion-ios-person-outline:before{content:"\f47d"}.ion-ios-phone-landscape:before{content:"\f1e2"}.ion-ios-phone-landscape-outline:before{content:"\f1e2"}.ion-ios-phone-portrait:before{content:"\f1e3"}.ion-ios-phone-portrait-outline:before{content:"\f1e3"}.ion-ios-photos:before{content:"\f482"}.ion-ios-photos-outline:before{content:"\f481"}.ion-ios-pie:before{content:"\f484"}.ion-ios-pie-outline:before{content:"\f483"}.ion-ios-pin:before{content:"\f1e5"}.ion-ios-pin-outline:before{content:"\f1e4"}.ion-ios-pint:before{content:"\f486"}.ion-ios-pint-outline:before{content:"\f485"}.ion-ios-pizza:before{content:"\f1e7"}.ion-ios-pizza-outline:before{content:"\f1e6"}.ion-ios-plane:before{content:"\f1e9"}.ion-ios-plane-outline:before{content:"\f1e8"}.ion-ios-planet:before{content:"\f1eb"}.ion-ios-planet-outline:before{content:"\f1ea"}.ion-ios-play:before{content:"\f488"}.ion-ios-play-outline:before{content:"\f487"}.ion-ios-podium:before{content:"\f1ed"}.ion-ios-podium-outline:before{content:"\f1ec"}.ion-ios-power:before{content:"\f1ef"}.ion-ios-power-outline:before{content:"\f1ee"}.ion-ios-pricetag:before{content:"\f48d"}.ion-ios-pricetag-outline:before{content:"\f48c"}.ion-ios-pricetags:before{content:"\f48f"}.ion-ios-pricetags-outline:before{content:"\f48e"}.ion-ios-print:before{content:"\f1f1"}.ion-ios-print-outline:before{content:"\f1f0"}.ion-ios-pulse:before{content:"\f493"}.ion-ios-pulse-outline:before{content:"\f1f2"}.ion-ios-qr-scanner:before{content:"\f1f3"}.ion-ios-qr-scanner-outline:before{content:"\f1f3"}.ion-ios-quote:before{content:"\f1f5"}.ion-ios-quote-outline:before{content:"\f1f4"}.ion-ios-radio:before{content:"\f1f9"}.ion-ios-radio-button-off:before{content:"\f1f6"}.ion-ios-radio-button-off-outline:before{content:"\f1f6"}.ion-ios-radio-button-on:before{content:"\f1f7"}.ion-ios-radio-button-on-outline:before{content:"\f1f7"}.ion-ios-radio-outline:before{content:"\f1f8"}.ion-ios-rainy:before{content:"\f495"}.ion-ios-rainy-outline:before{content:"\f494"}.ion-ios-recording:before{content:"\f497"}.ion-ios-recording-outline:before{content:"\f496"}.ion-ios-redo:before{content:"\f499"}.ion-ios-redo-outline:before{content:"\f498"}.ion-ios-refresh:before{content:"\f49c"}.ion-ios-refresh-circle:before{content:"\f226"}.ion-ios-refresh-circle-outline:before{content:"\f224"}.ion-ios-refresh-outline:before{content:"\f49c"}.ion-ios-remove:before{content:"\f1fc"}.ion-ios-remove-circle:before{content:"\f1fb"}.ion-ios-remove-circle-outline:before{content:"\f1fa"}.ion-ios-remove-outline:before{content:"\f1fc"}.ion-ios-reorder:before{content:"\f1fd"}.ion-ios-reorder-outline:before{content:"\f1fd"}.ion-ios-repeat:before{content:"\f1fe"}.ion-ios-repeat-outline:before{content:"\f1fe"}.ion-ios-resize:before{content:"\f1ff"}.ion-ios-resize-outline:before{content:"\f1ff"}.ion-ios-restaurant:before{content:"\f201"}.ion-ios-restaurant-outline:before{content:"\f200"}.ion-ios-return-left:before{content:"\f202"}.ion-ios-return-left-outline:before{content:"\f202"}.ion-ios-return-right:before{content:"\f203"}.ion-ios-return-right-outline:before{content:"\f203"}.ion-ios-reverse-camera:before{content:"\f49f"}.ion-ios-reverse-camera-outline:before{content:"\f49e"}.ion-ios-rewind:before{content:"\f4a1"}.ion-ios-rewind-outline:before{content:"\f4a0"}.ion-ios-ribbon:before{content:"\f205"}.ion-ios-ribbon-outline:before{content:"\f204"}.ion-ios-rose:before{content:"\f4a3"}.ion-ios-rose-outline:before{content:"\f4a2"}.ion-ios-sad:before{content:"\f207"}.ion-ios-sad-outline:before{content:"\f206"}.ion-ios-school:before{content:"\f209"}.ion-ios-school-outline:before{content:"\f208"}.ion-ios-search:before{content:"\f4a5"}.ion-ios-search-outline:before{content:"\f20a"}.ion-ios-send:before{content:"\f20c"}.ion-ios-send-outline:before{content:"\f20b"}.ion-ios-settings:before{content:"\f4a7"}.ion-ios-settings-outline:before{content:"\f20d"}.ion-ios-share:before{content:"\f211"}.ion-ios-share-alt:before{content:"\f20f"}.ion-ios-share-alt-outline:before{content:"\f20e"}.ion-ios-share-outline:before{content:"\f210"}.ion-ios-shirt:before{content:"\f213"}.ion-ios-shirt-outline:before{content:"\f212"}.ion-ios-shuffle:before{content:"\f4a9"}.ion-ios-shuffle-outline:before{content:"\f4a9"}.ion-ios-skip-backward:before{content:"\f215"}.ion-ios-skip-backward-outline:before{content:"\f214"}.ion-ios-skip-forward:before{content:"\f217"}.ion-ios-skip-forward-outline:before{content:"\f216"}.ion-ios-snow:before{content:"\f218"}.ion-ios-snow-outline:before{content:"\f22c"}.ion-ios-speedometer:before{content:"\f4b0"}.ion-ios-speedometer-outline:before{content:"\f4af"}.ion-ios-square:before{content:"\f21a"}.ion-ios-square-outline:before{content:"\f219"}.ion-ios-star:before{content:"\f4b3"}.ion-ios-star-half:before{content:"\f4b1"}.ion-ios-star-half-outline:before{content:"\f4b1"}.ion-ios-star-outline:before{content:"\f4b2"}.ion-ios-stats:before{content:"\f21c"}.ion-ios-stats-outline:before{content:"\f21b"}.ion-ios-stopwatch:before{content:"\f4b5"}.ion-ios-stopwatch-outline:before{content:"\f4b4"}.ion-ios-subway:before{content:"\f21e"}.ion-ios-subway-outline:before{content:"\f21d"}.ion-ios-sunny:before{content:"\f4b7"}.ion-ios-sunny-outline:before{content:"\f4b6"}.ion-ios-swap:before{content:"\f21f"}.ion-ios-swap-outline:before{content:"\f21f"}.ion-ios-switch:before{content:"\f221"}.ion-ios-switch-outline:before{content:"\f220"}.ion-ios-sync:before{content:"\f222"}.ion-ios-sync-outline:before{content:"\f222"}.ion-ios-tablet-landscape:before{content:"\f223"}.ion-ios-tablet-landscape-outline:before{content:"\f223"}.ion-ios-tablet-portrait:before{content:"\f24e"}.ion-ios-tablet-portrait-outline:before{content:"\f24e"}.ion-ios-tennisball:before{content:"\f4bb"}.ion-ios-tennisball-outline:before{content:"\f4ba"}.ion-ios-text:before{content:"\f250"}.ion-ios-text-outline:before{content:"\f24f"}.ion-ios-thermometer:before{content:"\f252"}.ion-ios-thermometer-outline:before{content:"\f251"}.ion-ios-thumbs-down:before{content:"\f254"}.ion-ios-thumbs-down-outline:before{content:"\f253"}.ion-ios-thumbs-up:before{content:"\f256"}.ion-ios-thumbs-up-outline:before{content:"\f255"}.ion-ios-thunderstorm:before{content:"\f4bd"}.ion-ios-thunderstorm-outline:before{content:"\f4bc"}.ion-ios-time:before{content:"\f4bf"}.ion-ios-time-outline:before{content:"\f4be"}.ion-ios-timer:before{content:"\f4c1"}.ion-ios-timer-outline:before{content:"\f4c0"}.ion-ios-train:before{content:"\f258"}.ion-ios-train-outline:before{content:"\f257"}.ion-ios-transgender:before{content:"\f259"}.ion-ios-transgender-outline:before{content:"\f259"}.ion-ios-trash:before{content:"\f4c5"}.ion-ios-trash-outline:before{content:"\f4c4"}.ion-ios-trending-down:before{content:"\f25a"}.ion-ios-trending-down-outline:before{content:"\f25a"}.ion-ios-trending-up:before{content:"\f25b"}.ion-ios-trending-up-outline:before{content:"\f25b"}.ion-ios-trophy:before{content:"\f25d"}.ion-ios-trophy-outline:before{content:"\f25c"}.ion-ios-umbrella:before{content:"\f25f"}.ion-ios-umbrella-outline:before{content:"\f25e"}.ion-ios-undo:before{content:"\f4c7"}.ion-ios-undo-outline:before{content:"\f4c6"}.ion-ios-unlock:before{content:"\f261"}.ion-ios-unlock-outline:before{content:"\f260"}.ion-ios-videocam:before{content:"\f4cd"}.ion-ios-videocam-outline:before{content:"\f4cc"}.ion-ios-volume-down:before{content:"\f262"}.ion-ios-volume-down-outline:before{content:"\f262"}.ion-ios-volume-mute:before{content:"\f263"}.ion-ios-volume-mute-outline:before{content:"\f263"}.ion-ios-volume-off:before{content:"\f264"}.ion-ios-volume-off-outline:before{content:"\f264"}.ion-ios-volume-up:before{content:"\f265"}.ion-ios-volume-up-outline:before{content:"\f265"}.ion-ios-walk:before{content:"\f266"}.ion-ios-walk-outline:before{content:"\f266"}.ion-ios-warning:before{content:"\f268"}.ion-ios-warning-outline:before{content:"\f267"}.ion-ios-watch:before{content:"\f269"}.ion-ios-watch-outline:before{content:"\f269"}.ion-ios-water:before{content:"\f26b"}.ion-ios-water-outline:before{content:"\f26a"}.ion-ios-wifi:before{content:"\f26d"}.ion-ios-wifi-outline:before{content:"\f26c"}.ion-ios-wine:before{content:"\f26f"}.ion-ios-wine-outline:before{content:"\f26e"}.ion-ios-woman:before{content:"\f271"}.ion-ios-woman-outline:before{content:"\f270"}.ion-logo-android:before{content:"\f225"}.ion-logo-angular:before{content:"\f227"}.ion-logo-apple:before{content:"\f229"}.ion-logo-bitcoin:before{content:"\f22b"}.ion-logo-buffer:before{content:"\f22d"}.ion-logo-chrome:before{content:"\f22f"}.ion-logo-codepen:before{content:"\f230"}.ion-logo-css3:before{content:"\f231"}.ion-logo-designernews:before{content:"\f232"}.ion-logo-dribbble:before{content:"\f233"}.ion-logo-dropbox:before{content:"\f234"}.ion-logo-euro:before{content:"\f235"}.ion-logo-facebook:before{content:"\f236"}.ion-logo-foursquare:before{content:"\f237"}.ion-logo-freebsd-devil:before{content:"\f238"}.ion-logo-github:before{content:"\f239"}.ion-logo-google:before{content:"\f23a"}.ion-logo-googleplus:before{content:"\f23b"}.ion-logo-hackernews:before{content:"\f23c"}.ion-logo-html5:before{content:"\f23d"}.ion-logo-instagram:before{content:"\f23e"}.ion-logo-javascript:before{content:"\f23f"}.ion-logo-linkedin:before{content:"\f240"}.ion-logo-markdown:before{content:"\f241"}.ion-logo-nodejs:before{content:"\f242"}.ion-logo-octocat:before{content:"\f243"}.ion-logo-pinterest:before{content:"\f244"}.ion-logo-playstation:before{content:"\f245"}.ion-logo-python:before{content:"\f246"}.ion-logo-reddit:before{content:"\f247"}.ion-logo-rss:before{content:"\f248"}.ion-logo-sass:before{content:"\f249"}.ion-logo-skype:before{content:"\f24a"}.ion-logo-snapchat:before{content:"\f24b"}.ion-logo-steam:before{content:"\f24c"}.ion-logo-tumblr:before{content:"\f24d"}.ion-logo-tux:before{content:"\f2ae"}.ion-logo-twitch:before{content:"\f2af"}.ion-logo-twitter:before{content:"\f2b0"}.ion-logo-usd:before{content:"\f2b1"}.ion-logo-vimeo:before{content:"\f2c4"}.ion-logo-whatsapp:before{content:"\f2c5"}.ion-logo-windows:before{content:"\f32f"}.ion-logo-wordpress:before{content:"\f330"}.ion-logo-xbox:before{content:"\f34c"}.ion-logo-yahoo:before{content:"\f34d"}.ion-logo-yen:before{content:"\f34e"}.ion-logo-youtube:before{content:"\f34f"}.ion-md-add:before{content:"\f273"}.ion-md-add-circle:before{content:"\f272"}.ion-md-alarm:before{content:"\f274"}.ion-md-albums:before{content:"\f275"}.ion-md-alert:before{content:"\f276"}.ion-md-american-football:before{content:"\f277"}.ion-md-analytics:before{content:"\f278"}.ion-md-aperture:before{content:"\f279"}.ion-md-apps:before{content:"\f27a"}.ion-md-appstore:before{content:"\f27b"}.ion-md-archive:before{content:"\f27c"}.ion-md-arrow-back:before{content:"\f27d"}.ion-md-arrow-down:before{content:"\f27e"}.ion-md-arrow-dropdown:before{content:"\f280"}.ion-md-arrow-dropdown-circle:before{content:"\f27f"}.ion-md-arrow-dropleft:before{content:"\f282"}.ion-md-arrow-dropleft-circle:before{content:"\f281"}.ion-md-arrow-dropright:before{content:"\f284"}.ion-md-arrow-dropright-circle:before{content:"\f283"}.ion-md-arrow-dropup:before{content:"\f286"}.ion-md-arrow-dropup-circle:before{content:"\f285"}.ion-md-arrow-forward:before{content:"\f287"}.ion-md-arrow-round-back:before{content:"\f288"}.ion-md-arrow-round-down:before{content:"\f289"}.ion-md-arrow-round-forward:before{content:"\f28a"}.ion-md-arrow-round-up:before{content:"\f28b"}.ion-md-arrow-up:before{content:"\f28c"}.ion-md-at:before{content:"\f28d"}.ion-md-attach:before{content:"\f28e"}.ion-md-backspace:before{content:"\f28f"}.ion-md-barcode:before{content:"\f290"}.ion-md-baseball:before{content:"\f291"}.ion-md-basket:before{content:"\f292"}.ion-md-basketball:before{content:"\f293"}.ion-md-battery-charging:before{content:"\f294"}.ion-md-battery-dead:before{content:"\f295"}.ion-md-battery-full:before{content:"\f296"}.ion-md-beaker:before{content:"\f297"}.ion-md-beer:before{content:"\f298"}.ion-md-bicycle:before{content:"\f299"}.ion-md-bluetooth:before{content:"\f29a"}.ion-md-boat:before{content:"\f29b"}.ion-md-body:before{content:"\f29c"}.ion-md-bonfire:before{content:"\f29d"}.ion-md-book:before{content:"\f29e"}.ion-md-bookmark:before{content:"\f29f"}.ion-md-bookmarks:before{content:"\f2a0"}.ion-md-bowtie:before{content:"\f2a1"}.ion-md-briefcase:before{content:"\f2a2"}.ion-md-browsers:before{content:"\f2a3"}.ion-md-brush:before{content:"\f2a4"}.ion-md-bug:before{content:"\f2a5"}.ion-md-build:before{content:"\f2a6"}.ion-md-bulb:before{content:"\f2a7"}.ion-md-bus:before{content:"\f2a8"}.ion-md-cafe:before{content:"\f2a9"}.ion-md-calculator:before{content:"\f2aa"}.ion-md-calendar:before{content:"\f2ab"}.ion-md-call:before{content:"\f2ac"}.ion-md-camera:before{content:"\f2ad"}.ion-md-car:before{content:"\f2b2"}.ion-md-card:before{content:"\f2b3"}.ion-md-cart:before{content:"\f2b4"}.ion-md-cash:before{content:"\f2b5"}.ion-md-chatboxes:before{content:"\f2b6"}.ion-md-chatbubbles:before{content:"\f2b7"}.ion-md-checkbox:before{content:"\f2b9"}.ion-md-checkbox-outline:before{content:"\f2b8"}.ion-md-checkmark:before{content:"\f2bc"}.ion-md-checkmark-circle:before{content:"\f2bb"}.ion-md-checkmark-circle-outline:before{content:"\f2ba"}.ion-md-clipboard:before{content:"\f2bd"}.ion-md-clock:before{content:"\f2be"}.ion-md-close:before{content:"\f2c0"}.ion-md-close-circle:before{content:"\f2bf"}.ion-md-closed-captioning:before{content:"\f2c1"}.ion-md-cloud:before{content:"\f2c9"}.ion-md-cloud-circle:before{content:"\f2c2"}.ion-md-cloud-done:before{content:"\f2c3"}.ion-md-cloud-download:before{content:"\f2c6"}.ion-md-cloud-outline:before{content:"\f2c7"}.ion-md-cloud-upload:before{content:"\f2c8"}.ion-md-cloudy:before{content:"\f2cb"}.ion-md-cloudy-night:before{content:"\f2ca"}.ion-md-code:before{content:"\f2ce"}.ion-md-code-download:before{content:"\f2cc"}.ion-md-code-working:before{content:"\f2cd"}.ion-md-cog:before{content:"\f2cf"}.ion-md-color-fill:before{content:"\f2d0"}.ion-md-color-filter:before{content:"\f2d1"}.ion-md-color-palette:before{content:"\f2d2"}.ion-md-color-wand:before{content:"\f2d3"}.ion-md-compass:before{content:"\f2d4"}.ion-md-construct:before{content:"\f2d5"}.ion-md-contact:before{content:"\f2d6"}.ion-md-contacts:before{content:"\f2d7"}.ion-md-contract:before{content:"\f2d8"}.ion-md-contrast:before{content:"\f2d9"}.ion-md-copy:before{content:"\f2da"}.ion-md-create:before{content:"\f2db"}.ion-md-crop:before{content:"\f2dc"}.ion-md-cube:before{content:"\f2dd"}.ion-md-cut:before{content:"\f2de"}.ion-md-desktop:before{content:"\f2df"}.ion-md-disc:before{content:"\f2e0"}.ion-md-document:before{content:"\f2e1"}.ion-md-done-all:before{content:"\f2e2"}.ion-md-download:before{content:"\f2e3"}.ion-md-easel:before{content:"\f2e4"}.ion-md-egg:before{content:"\f2e5"}.ion-md-exit:before{content:"\f2e6"}.ion-md-expand:before{content:"\f2e7"}.ion-md-eye:before{content:"\f2e9"}.ion-md-eye-off:before{content:"\f2e8"}.ion-md-fastforward:before{content:"\f2ea"}.ion-md-female:before{content:"\f2eb"}.ion-md-filing:before{content:"\f2ec"}.ion-md-film:before{content:"\f2ed"}.ion-md-finger-print:before{content:"\f2ee"}.ion-md-flag:before{content:"\f2ef"}.ion-md-flame:before{content:"\f2f0"}.ion-md-flash:before{content:"\f2f1"}.ion-md-flask:before{content:"\f2f2"}.ion-md-flower:before{content:"\f2f3"}.ion-md-folder:before{content:"\f2f5"}.ion-md-folder-open:before{content:"\f2f4"}.ion-md-football:before{content:"\f2f6"}.ion-md-funnel:before{content:"\f2f7"}.ion-md-game-controller-a:before{content:"\f2f8"}.ion-md-game-controller-b:before{content:"\f2f9"}.ion-md-git-branch:before{content:"\f2fa"}.ion-md-git-commit:before{content:"\f2fb"}.ion-md-git-compare:before{content:"\f2fc"}.ion-md-git-merge:before{content:"\f2fd"}.ion-md-git-network:before{content:"\f2fe"}.ion-md-git-pull-request:before{content:"\f2ff"}.ion-md-glasses:before{content:"\f300"}.ion-md-globe:before{content:"\f301"}.ion-md-grid:before{content:"\f302"}.ion-md-hammer:before{content:"\f303"}.ion-md-hand:before{content:"\f304"}.ion-md-happy:before{content:"\f305"}.ion-md-headset:before{content:"\f306"}.ion-md-heart:before{content:"\f308"}.ion-md-heart-outline:before{content:"\f307"}.ion-md-help:before{content:"\f30b"}.ion-md-help-buoy:before{content:"\f309"}.ion-md-help-circle:before{content:"\f30a"}.ion-md-home:before{content:"\f30c"}.ion-md-ice-cream:before{content:"\f30d"}.ion-md-image:before{content:"\f30e"}.ion-md-images:before{content:"\f30f"}.ion-md-infinite:before{content:"\f310"}.ion-md-information:before{content:"\f312"}.ion-md-information-circle:before{content:"\f311"}.ion-md-ionic:before{content:"\f313"}.ion-md-ionitron:before{content:"\f314"}.ion-md-jet:before{content:"\f315"}.ion-md-key:before{content:"\f316"}.ion-md-keypad:before{content:"\f317"}.ion-md-laptop:before{content:"\f318"}.ion-md-leaf:before{content:"\f319"}.ion-md-link:before{content:"\f22e"}.ion-md-list:before{content:"\f31b"}.ion-md-list-box:before{content:"\f31a"}.ion-md-locate:before{content:"\f31c"}.ion-md-lock:before{content:"\f31d"}.ion-md-log-in:before{content:"\f31e"}.ion-md-log-out:before{content:"\f31f"}.ion-md-magnet:before{content:"\f320"}.ion-md-mail:before{content:"\f322"}.ion-md-mail-open:before{content:"\f321"}.ion-md-male:before{content:"\f323"}.ion-md-man:before{content:"\f324"}.ion-md-map:before{content:"\f325"}.ion-md-medal:before{content:"\f326"}.ion-md-medical:before{content:"\f327"}.ion-md-medkit:before{content:"\f328"}.ion-md-megaphone:before{content:"\f329"}.ion-md-menu:before{content:"\f32a"}.ion-md-mic:before{content:"\f32c"}.ion-md-mic-off:before{content:"\f32b"}.ion-md-microphone:before{content:"\f32d"}.ion-md-moon:before{content:"\f32e"}.ion-md-more:before{content:"\f1c9"}.ion-md-move:before{content:"\f331"}.ion-md-musical-note:before{content:"\f332"}.ion-md-musical-notes:before{content:"\f333"}.ion-md-navigate:before{content:"\f334"}.ion-md-no-smoking:before{content:"\f335"}.ion-md-notifications:before{content:"\f338"}.ion-md-notifications-off:before{content:"\f336"}.ion-md-notifications-outline:before{content:"\f337"}.ion-md-nuclear:before{content:"\f339"}.ion-md-nutrition:before{content:"\f33a"}.ion-md-open:before{content:"\f33b"}.ion-md-options:before{content:"\f33c"}.ion-md-outlet:before{content:"\f33d"}.ion-md-paper:before{content:"\f33f"}.ion-md-paper-plane:before{content:"\f33e"}.ion-md-partly-sunny:before{content:"\f340"}.ion-md-pause:before{content:"\f341"}.ion-md-paw:before{content:"\f342"}.ion-md-people:before{content:"\f343"}.ion-md-person:before{content:"\f345"}.ion-md-person-add:before{content:"\f344"}.ion-md-phone-landscape:before{content:"\f346"}.ion-md-phone-portrait:before{content:"\f347"}.ion-md-photos:before{content:"\f348"}.ion-md-pie:before{content:"\f349"}.ion-md-pin:before{content:"\f34a"}.ion-md-pint:before{content:"\f34b"}.ion-md-pizza:before{content:"\f354"}.ion-md-plane:before{content:"\f355"}.ion-md-planet:before{content:"\f356"}.ion-md-play:before{content:"\f357"}.ion-md-podium:before{content:"\f358"}.ion-md-power:before{content:"\f359"}.ion-md-pricetag:before{content:"\f35a"}.ion-md-pricetags:before{content:"\f35b"}.ion-md-print:before{content:"\f35c"}.ion-md-pulse:before{content:"\f35d"}.ion-md-qr-scanner:before{content:"\f35e"}.ion-md-quote:before{content:"\f35f"}.ion-md-radio:before{content:"\f362"}.ion-md-radio-button-off:before{content:"\f360"}.ion-md-radio-button-on:before{content:"\f361"}.ion-md-rainy:before{content:"\f363"}.ion-md-recording:before{content:"\f364"}.ion-md-redo:before{content:"\f365"}.ion-md-refresh:before{content:"\f366"}.ion-md-refresh-circle:before{content:"\f228"}.ion-md-remove:before{content:"\f368"}.ion-md-remove-circle:before{content:"\f367"}.ion-md-reorder:before{content:"\f369"}.ion-md-repeat:before{content:"\f36a"}.ion-md-resize:before{content:"\f36b"}.ion-md-restaurant:before{content:"\f36c"}.ion-md-return-left:before{content:"\f36d"}.ion-md-return-right:before{content:"\f36e"}.ion-md-reverse-camera:before{content:"\f36f"}.ion-md-rewind:before{content:"\f370"}.ion-md-ribbon:before{content:"\f371"}.ion-md-rose:before{content:"\f372"}.ion-md-sad:before{content:"\f373"}.ion-md-school:before{content:"\f374"}.ion-md-search:before{content:"\f375"}.ion-md-send:before{content:"\f376"}.ion-md-settings:before{content:"\f377"}.ion-md-share:before{content:"\f379"}.ion-md-share-alt:before{content:"\f378"}.ion-md-shirt:before{content:"\f37a"}.ion-md-shuffle:before{content:"\f37b"}.ion-md-skip-backward:before{content:"\f37c"}.ion-md-skip-forward:before{content:"\f37d"}.ion-md-snow:before{content:"\f37e"}.ion-md-speedometer:before{content:"\f37f"}.ion-md-square:before{content:"\f381"}.ion-md-square-outline:before{content:"\f380"}.ion-md-star:before{content:"\f384"}.ion-md-star-half:before{content:"\f382"}.ion-md-star-outline:before{content:"\f383"}.ion-md-stats:before{content:"\f385"}.ion-md-stopwatch:before{content:"\f386"}.ion-md-subway:before{content:"\f387"}.ion-md-sunny:before{content:"\f388"}.ion-md-swap:before{content:"\f389"}.ion-md-switch:before{content:"\f38a"}.ion-md-sync:before{content:"\f38b"}.ion-md-tablet-landscape:before{content:"\f38c"}.ion-md-tablet-portrait:before{content:"\f38d"}.ion-md-tennisball:before{content:"\f38e"}.ion-md-text:before{content:"\f38f"}.ion-md-thermometer:before{content:"\f390"}.ion-md-thumbs-down:before{content:"\f391"}.ion-md-thumbs-up:before{content:"\f392"}.ion-md-thunderstorm:before{content:"\f393"}.ion-md-time:before{content:"\f394"}.ion-md-timer:before{content:"\f395"}.ion-md-train:before{content:"\f396"}.ion-md-transgender:before{content:"\f397"}.ion-md-trash:before{content:"\f398"}.ion-md-trending-down:before{content:"\f399"}.ion-md-trending-up:before{content:"\f39a"}.ion-md-trophy:before{content:"\f39b"}.ion-md-umbrella:before{content:"\f39c"}.ion-md-undo:before{content:"\f39d"}.ion-md-unlock:before{content:"\f39e"}.ion-md-videocam:before{content:"\f39f"}.ion-md-volume-down:before{content:"\f3a0"}.ion-md-volume-mute:before{content:"\f3a1"}.ion-md-volume-off:before{content:"\f3a2"}.ion-md-volume-up:before{content:"\f3a3"}.ion-md-walk:before{content:"\f3a4"}.ion-md-warning:before{content:"\f3a5"}.ion-md-watch:before{content:"\f3a6"}.ion-md-water:before{content:"\f3a7"}.ion-md-wifi:before{content:"\f3a8"}.ion-md-wine:before{content:"\f3a9"}.ion-md-woman:before{content:"\f3aa"}@font-face{font-family:Ionicons;src:url(../assets/fonts/ionicons.woff2?v=3.0.0-alpha.3) format("woff2"),url(../assets/fonts/ionicons.woff?v=3.0.0-alpha.3) format("woff"),url(../assets/fonts/ionicons.ttf?v=3.0.0-alpha.3) format("truetype");font-weight:400;font-style:normal}ion-icon{display:inline-block;font-family:Ionicons;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto;text-transform:none;speak:none}ion-icon::before{display:inline-block}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../assets/fonts/roboto-light.woff2) format("woff2"),url(../assets/fonts/roboto-light.woff) format("woff"),url(../assets/fonts/roboto-light.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../assets/fonts/roboto-regular.woff2) format("woff2"),url(../assets/fonts/roboto-regular.woff) format("woff"),url(../assets/fonts/roboto-regular.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../assets/fonts/roboto-medium.woff2) format("woff2"),url(../assets/fonts/roboto-medium.woff) format("woff"),url(../assets/fonts/roboto-medium.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../assets/fonts/roboto-bold.woff2) format("woff2"),url(../assets/fonts/roboto-bold.woff) format("woff"),url(../assets/fonts/roboto-bold.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:300;src:local("Noto Sans"),local("Noto-Sans-Regular"),url(../assets/fonts/noto-sans-regular.woff) format("woff"),url(../assets/fonts/noto-sans-regular.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;src:local("Noto Sans"),local("Noto-Sans-Regular"),url(../assets/fonts/noto-sans-regular.woff) format("woff"),url(../assets/fonts/noto-sans-regular.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:500;src:local("Noto Sans Bold"),local("Noto-Sans-Bold"),url(../assets/fonts/noto-sans-bold.woff) format("woff"),url(../assets/fonts/noto-sans-bold.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:700;src:local("Noto Sans Bold"),local("Noto-Sans-Bold"),url(../assets/fonts/noto-sans-bold.woff) format("woff"),url(../assets/fonts/noto-sans-bold.ttf) format("truetype")}ion-action-sheet{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%}.action-sheet-wrapper{left:0;right:0;top:0;bottom:0;margin:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);position:absolute;z-index:10;display:block;width:100%;max-width:500px;pointer-events:none}.action-sheet-button{width:100%}.action-sheet-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;-ms-flex-flow:column;flex-flow:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group{overflow:scroll;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;pointer-events:all}.action-sheet-group-cancel{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.action-sheet-ios{text-align:center}.action-sheet-ios .action-sheet-wrapper{margin:constant(safe-area-inset-top) auto constant(safe-area-inset-bottom);margin:env(safe-area-inset-top) auto env(safe-area-inset-bottom)}.action-sheet-ios .action-sheet-container{padding:0 10px}.action-sheet-ios .action-sheet-group{border-radius:13px;margin-bottom:8px;background:#f9f9f9}.action-sheet-ios .action-sheet-group:first-child{margin-top:10px}.action-sheet-ios .action-sheet-group:last-child{margin-bottom:10px}.action-sheet-ios .action-sheet-title{padding:1.5rem;text-align:center;border-radius:0;border-bottom:.55px solid #d6d6da;font-size:1.3rem;font-weight:400;color:#8f8f8f}.action-sheet-ios .action-sheet-button{margin:0;padding:18px;min-height:5.6rem;border-bottom:.55px solid #d6d6da;font-size:2rem;color:#007aff;background:0 0}.action-sheet-ios .action-sheet-button:last-child{border-bottom-color:transparent}.action-sheet-ios .action-sheet-button.activated{margin-top:-.55px;border-top:.55px solid #ebebeb;border-bottom-color:#ebebeb;background:#ebebeb}.action-sheet-ios .action-sheet-selected{font-weight:700;background:#fff}.action-sheet-ios .action-sheet-destructive{color:#f53d3d}.action-sheet-ios .action-sheet-cancel{font-weight:600;background:#fff}.action-sheet-md .action-sheet-title{text-align:left;text-align:start;font-size:1.6rem;color:#757575;padding:11px 16px 17px}.action-sheet-md .action-sheet-button{text-align:left;text-align:start;position:relative;overflow:hidden;min-height:4.8rem;font-size:1.6rem;color:#222;background:0 0;padding:0 16px}.action-sheet-md .action-sheet-button.activated{background:#f1f1f1}.action-sheet-md .action-sheet-icon{padding:0;text-align:center;width:2.3rem;font-size:2.4rem;vertical-align:middle;margin:0 32px 0 0}.action-sheet-md .action-sheet-group{background:#fafafa}.action-sheet-md .action-sheet-group:first-child{padding-top:.8rem}.action-sheet-md .action-sheet-group:last-child{padding-bottom:.8rem}.action-sheet-md .action-sheet-group .button-inner{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.action-sheet-md .action-sheet-selected{font-weight:700}.action-sheet-wp .action-sheet-title{text-align:left;text-align:start;font-size:2rem;color:#4d4d4d;padding:11px 16px 17px}.action-sheet-wp .action-sheet-button{text-align:left;text-align:start;min-height:4.8rem;font-size:1.5rem;color:#4d4d4d;background:0 0;padding:0 16px}.action-sheet-wp .action-sheet-button.activated{background:#aaa}.action-sheet-wp .action-sheet-icon{padding:0;text-align:center;width:2.3rem;font-size:2.4rem;vertical-align:middle;margin:0 20px 0 0}.action-sheet-wp .action-sheet-group{background:#fff}.action-sheet-wp .action-sheet-group:first-child{padding-top:.8rem;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:0 -1px 0 rgba(0,0,0,.2)}.action-sheet-wp .action-sheet-group:last-child{padding-bottom:.8rem}.action-sheet-wp .action-sheet-group .button-inner{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.action-sheet-wp .action-sheet-selected{font-weight:700}.action-sheet-wp .action-sheet-cancel{background:0 0}ion-alert{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}ion-alert.alert-top{padding-top:50px;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}ion-alert input{width:100%}.alert-wrapper{z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-width:250px;max-height:90%;opacity:0;contain:content}.alert-title{margin:0;padding:0}.alert-sub-title{margin:5px 0 0;padding:0;font-weight:400}.alert-message{overflow-y:scroll;-webkit-overflow-scrolling:touch}.alert-input{padding:10px 0;border:0;background:inherit}.alert-input::-moz-placeholder{color:#999}.alert-input:-ms-input-placeholder{color:#999}.alert-input::-webkit-input-placeholder{text-indent:0;color:#999}.alert-button-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.alert-button-group-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button{margin:0;z-index:0;display:block;font-size:14px;line-height:20px}.alert-tappable{text-align:left;text-align:start;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;margin:0;padding:0;width:100%;font-size:inherit;line-height:initial;background:0 0}.alert-ios .alert-wrapper{border-radius:13px;overflow:hidden;max-width:270px;background-color:#f8f8f8;-webkit-box-shadow:none;box-shadow:none}.alert-ios .alert-head{text-align:center;padding:12px 16px 7px}.alert-ios .alert-title{margin-top:8px;font-size:17px;font-weight:600}.alert-ios .alert-sub-title{font-size:14px;color:#666}.alert-ios .alert-input-group,.alert-ios .alert-message{text-align:center;font-size:13px;color:inherit;padding:0 16px 21px}.alert-ios .alert-message{max-height:240px}.alert-ios .alert-message:empty{padding:0 0 12px}.alert-ios .alert-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;margin-top:10px;border-radius:4px;border:.55px solid #ccc;background-color:#fff;padding:6px}.alert-ios .alert-checkbox-group,.alert-ios .alert-radio-group{overflow:scroll;max-height:240px;border-top:.55px solid #dbdbdf;-webkit-overflow-scrolling:touch}.alert-ios .alert-tappable{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-height:44px}.alert-ios .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px}.alert-ios [aria-checked=true] .alert-radio-label{color:#673ab7}.alert-ios .alert-radio-icon{position:relative;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:30px}.alert-ios [aria-checked=true] .alert-radio-inner{left:7px;top:-7px;position:absolute;width:6px;height:12px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#673ab7;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-ios .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px}.alert-ios [aria-checked=true] .alert-checkbox-label{color:initial}.alert-ios .alert-checkbox-icon{border-radius:50%;position:relative;width:21px;height:21px;border-width:.55px;border-style:solid;border-color:#c8c7cc;background-color:#fff;margin:10px 6px 10px 16px}.alert-ios [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background-color:#673ab7}.alert-ios [aria-checked=true] .alert-checkbox-inner{left:7px;top:4px;position:absolute;width:4px;height:9px;border-width:.55px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-ios .alert-button-group{margin-right:-.55px;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-ios .alert-button{margin:0;border-radius:0;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:.55px solid #dbdbdf;border-right:.55px solid #dbdbdf;font-size:17px;color:#673ab7;background-color:transparent}.alert-ios .alert-button:last-child{border-right:0;font-weight:700}.alert-ios .alert-button.activated{background-color:#e9e9e9}.alert-md .alert-wrapper{border-radius:2px;max-width:280px;background-color:#fafafa;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4)}.alert-md .alert-head{text-align:left;text-align:start;padding:24px 24px 20px}.alert-md .alert-title{font-size:22px}.alert-md .alert-sub-title{font-size:16px}.alert-md .alert-input-group,.alert-md .alert-message{color:rgba(0,0,0,.5);padding:0 24px 24px}.alert-md .alert-message{max-height:240px;font-size:15px}.alert-md .alert-message:empty{padding:0}.alert-md .alert-input{margin:5px 0;border-bottom:1px solid #dedede;color:#000}.alert-md .alert-input:focus{margin-bottom:4px;border-bottom:2px solid #673ab7}.alert-md .alert-checkbox-group,.alert-md .alert-radio-group{position:relative;overflow:auto;max-height:240px;border-top:1px solid #dedede;border-bottom:1px solid #dedede}.alert-md .alert-tappable{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;min-height:4.4rem}.alert-md .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-md .alert-radio-icon{left:13px;top:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.alert-md .alert-radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:8px;height:8px;background-color:#673ab7;-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0);-webkit-transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1),-webkit-transform 280ms cubic-bezier(.4,0,.2,1)}.alert-md [aria-checked=true] .alert-radio-label{color:#673ab7}.alert-md [aria-checked=true] .alert-radio-icon{border-color:#673ab7}.alert-md [aria-checked=true] .alert-radio-inner{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}.alert-md .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-md [aria-checked=true] .alert-checkbox-label{color:initial}.alert-md .alert-checkbox-icon{left:13px;top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.alert-md [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background-color:#673ab7}.alert-md [aria-checked=true] .alert-checkbox-inner{left:3px;top:0;position:absolute;width:6px;height:10px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-md .alert-button-group{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:8px 8px 8px 24px}.alert-md .alert-button{text-align:right;text-align:end;border-radius:2px;position:relative;overflow:hidden;font-weight:500;text-transform:uppercase;color:#673ab7;background-color:transparent;margin:0 8px 0 0;padding:10px}.alert-md .alert-button.activated{background-color:rgba(158,158,158,.2)}.alert-md .alert-button .button-inner{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.alert-wp ion-backdrop{background:#fff}.alert-wp .alert-wrapper{border-radius:0;width:100%;max-width:520px;border:1px solid #673ab7;background:#e6e6e6}.alert-wp .alert-head{text-align:left;text-align:start;padding:20px 22px 5px}.alert-wp .alert-title{font-size:20px;font-weight:400}.alert-wp .alert-sub-title{font-size:16px}.alert-wp .alert-input-group,.alert-wp .alert-message{color:#000;padding:0 22px 8px}.alert-wp .alert-message{max-height:240px;font-size:13px}.alert-wp .alert-message:empty{padding:0}.alert-wp .alert-input{border:2px solid rgba(0,0,0,.5);line-height:3rem;color:#000;margin:5px 0;padding:0 8px}.alert-wp .alert-input:focus{border-color:#673ab7}.alert-wp .alert-checkbox-group,.alert-wp .alert-radio-group{position:relative;overflow:auto;max-height:240px}.alert-wp .alert-tappable{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;min-height:4.4rem}.alert-wp .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-wp .alert-radio-icon{left:13px;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:rgba(0,0,0,.5)}.alert-wp .alert-radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;display:none;width:8px;height:8px;background:#673ab7}.alert-wp [aria-checked=true] .alert-radio-label{color:#000}.alert-wp [aria-checked=true] .alert-radio-icon{border-color:rgba(0,0,0,.5)}.alert-wp [aria-checked=true] .alert-radio-inner{display:block}.alert-wp .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-wp [aria-checked=true] .alert-checkbox-label{color:initial}.alert-wp .alert-checkbox-icon{left:13px;top:0;border-radius:0;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:rgba(0,0,0,.5);background:0 0}.alert-wp [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background:#673ab7}.alert-wp [aria-checked=true] .alert-checkbox-inner{left:3px;top:-2px;position:absolute;width:6px;height:12px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-wp .alert-button-group{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:20px 22px}.alert-wp .alert-button-group-vertical .alert-button{margin-top:5px;width:100%}.alert-wp .alert-button-group-vertical .alert-button:first-child:not(:only-child){margin-right:0;margin-top:0}.alert-wp .alert-button{border-radius:0;width:49.5%;font-weight:400;color:#000;background:#b8b8b8;padding:5px}.alert-wp .alert-button:first-child:not(:only-child){margin-right:1%}.alert-wp .alert-button.activated{background:#a9a9a9}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;-webkit-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-webkit-input-placeholder{padding-left:2px}textarea:-ms-input-placeholder{padding-left:2px}textarea::-ms-input-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{-ms-touch-action:manipulation;touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;cursor:pointer;-webkit-appearance:button}[tappable]{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.hide,[hidden],template{display:none!important}.sticky{position:-webkit-sticky;position:sticky;top:0}:active,:focus{outline:0}.focus-outline :focus{outline:thin dotted;outline-offset:-1px}.focus-outline [ion-button]:focus,.focus-outline button:focus{border-color:#51a7e8;outline:2px solid #51a7e8;-webkit-box-shadow:0 0 8px 1px #51a7e8;box-shadow:0 0 8px 1px #51a7e8}ion-input :focus{outline:0}.click-block{display:none}.click-block-enabled{left:0;right:0;top:0;bottom:0;-webkit-transform:translate3d(0,-100%,0) translateY(1px);transform:translate3d(0,-100%,0) translateY(1px);position:absolute;z-index:99999;display:block;opacity:0;contain:strict}.click-block-active{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}*{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;font-size:62.5%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;padding:0;position:fixed;overflow:hidden;width:100%;max-width:100%;height:100%;max-height:100%;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-user-drag:none;-ms-content-zooming:none;-ms-touch-action:manipulation;touch-action:manipulation;word-wrap:break-word;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}a{background-color:transparent}.enable-hover a:hover{opacity:.7}h1,h2,h3,h4,h5,h6{margin-top:1.6rem;margin-bottom:1rem;font-weight:500;line-height:1.2}[padding] h1:first-child,[padding] h2:first-child,[padding] h3:first-child,[padding] h4:first-child,[padding] h5:first-child,[padding] h6:first-child{margin-top:-.3rem}h1+h2,h1+h3,h2+h3{margin-top:-.3rem}h1{margin-top:2rem;font-size:2.6rem}h2{margin-top:1.8rem;font-size:2.4rem}h3{font-size:2.2rem}h4{font-size:2rem}h5{font-size:1.8rem}h6{font-size:1.6rem}small{font-size:75%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.app-root,ion-app,ion-nav,ion-tab,ion-tabs{left:0;top:0;position:absolute;z-index:0;display:block;width:100%;height:100%}ion-nav,ion-tab,ion-tabs{overflow:hidden}ion-tab{display:none}ion-tab.show-tab{display:block}.app-root,.ion-page,ion-app,ion-nav,ion-tab,ion-tabs{contain:strict}.ion-page{left:0;top:0;position:absolute;display:block;width:100%;height:100%;opacity:0}.ion-page.show-page{opacity:1}ion-header{left:0;top:0;position:absolute;z-index:10;display:block;width:100%}ion-footer{left:0;bottom:0;position:absolute;z-index:10;display:block;width:100%}.nav-decor,[app-viewport],[nav-viewport],[overlay-portal],[tab-portal]{display:none}[text-center]{text-align:center!important}[text-justify]{text-align:justify!important}[text-start]{text-align:left;text-align:start!important}[text-end]{text-align:right;text-align:end!important}[text-left]{text-align:left!important}[text-right]{text-align:right!important}[text-nowrap]{white-space:nowrap!important}[text-wrap]{white-space:normal!important}@media (min-width:576px){[text-sm-center]{text-align:center!important}[text-sm-justify]{text-align:justify!important}[text-sm-start]{text-align:left;text-align:start!important}[text-sm-end]{text-align:right;text-align:end!important}[text-sm-left]{text-align:left!important}[text-sm-right]{text-align:right!important}[text-sm-nowrap]{white-space:nowrap!important}[text-sm-wrap]{white-space:normal!important}}@media (min-width:768px){[text-md-center]{text-align:center!important}[text-md-justify]{text-align:justify!important}[text-md-start]{text-align:left;text-align:start!important}[text-md-end]{text-align:right;text-align:end!important}[text-md-left]{text-align:left!important}[text-md-right]{text-align:right!important}[text-md-nowrap]{white-space:nowrap!important}[text-md-wrap]{white-space:normal!important}}@media (min-width:992px){[text-lg-center]{text-align:center!important}[text-lg-justify]{text-align:justify!important}[text-lg-start]{text-align:left;text-align:start!important}[text-lg-end]{text-align:right;text-align:end!important}[text-lg-left]{text-align:left!important}[text-lg-right]{text-align:right!important}[text-lg-nowrap]{white-space:nowrap!important}[text-lg-wrap]{white-space:normal!important}}@media (min-width:1200px){[text-xl-center]{text-align:center!important}[text-xl-justify]{text-align:justify!important}[text-xl-start]{text-align:left;text-align:start!important}[text-xl-end]{text-align:right;text-align:end!important}[text-xl-left]{text-align:left!important}[text-xl-right]{text-align:right!important}[text-xl-nowrap]{white-space:nowrap!important}[text-xl-wrap]{white-space:normal!important}}[text-uppercase]{text-transform:uppercase!important}[text-lowercase]{text-transform:lowercase!important}[text-capitalize]{text-transform:capitalize!important}@media (min-width:576px){[text-sm-uppercase]{text-transform:uppercase!important}[text-sm-lowercase]{text-transform:lowercase!important}[text-sm-capitalize]{text-transform:capitalize!important}}@media (min-width:768px){[text-md-uppercase]{text-transform:uppercase!important}[text-md-lowercase]{text-transform:lowercase!important}[text-md-capitalize]{text-transform:capitalize!important}}@media (min-width:992px){[text-lg-uppercase]{text-transform:uppercase!important}[text-lg-lowercase]{text-transform:lowercase!important}[text-lg-capitalize]{text-transform:capitalize!important}}@media (min-width:1200px){[text-xl-uppercase]{text-transform:uppercase!important}[text-xl-lowercase]{text-transform:lowercase!important}[text-xl-capitalize]{text-transform:capitalize!important}}[float-left]{float:left!important}[float-right]{float:right!important}[float-start]{float:left!important}[float-end]{float:right!important}@media (min-width:576px){[float-sm-left]{float:left!important}[float-sm-right]{float:right!important}[float-sm-start]{float:left!important}[float-sm-end]{float:right!important}}@media (min-width:768px){[float-md-left]{float:left!important}[float-md-right]{float:right!important}[float-md-start]{float:left!important}[float-md-end]{float:right!important}}@media (min-width:992px){[float-lg-left]{float:left!important}[float-lg-right]{float:right!important}[float-lg-start]{float:left!important}[float-lg-end]{float:right!important}}@media (min-width:1200px){[float-xl-left]{float:left!important}[float-xl-right]{float:right!important}[float-xl-start]{float:left!important}[float-xl-end]{float:right!important}}ion-app.ios{font-family:-apple-system,"Helvetica Neue",Roboto,sans-serif;font-size:1.4rem;background-color:#fff}ion-app.md{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:1.4rem;background-color:#fff}ion-app.wp{font-family:"Segoe UI","Noto Sans",sans-serif;font-size:1.4rem;background-color:#fff}ion-backdrop{left:0;top:0;position:absolute;z-index:2;display:block;width:100%;height:100%;background-color:#000;opacity:.01;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-backdrop.backdrop-no-tappable{cursor:auto}ion-badge{padding:3px 8px;text-align:center;display:inline-block;min-width:10px;font-size:1.3rem;font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline}ion-badge:empty{display:none}.badge-ios{border-radius:10px;color:#fff;background-color:#673ab7}.badge-ios-primary{color:#fff;background-color:#673ab7}.badge-ios-secondary{color:#fff;background-color:#32db64}.badge-ios-danger{color:#fff;background-color:#f53d3d}.badge-ios-light{color:#000;background-color:#f4f4f4}.badge-ios-dark{color:#fff;background-color:#222}.badge-ios-optblue{color:#fff;background-color:#e00201}.badge-ios-gray{color:#000;background-color:#dad8d8}.badge-ios-green{color:#fff;background-color:#1dc764}.badge-md{border-radius:4px;color:#fff;background-color:#673ab7}.badge-md-primary{color:#fff;background-color:#673ab7}.badge-md-secondary{color:#fff;background-color:#32db64}.badge-md-danger{color:#fff;background-color:#f53d3d}.badge-md-light{color:#000;background-color:#f4f4f4}.badge-md-dark{color:#fff;background-color:#222}.badge-md-optblue{color:#fff;background-color:#e00201}.badge-md-gray{color:#000;background-color:#dad8d8}.badge-md-green{color:#fff;background-color:#1dc764}.badge-wp{border-radius:0;color:#fff;background-color:#673ab7}.badge-wp-primary{color:#fff;background-color:#673ab7}.badge-wp-secondary{color:#fff;background-color:#32db64}.badge-wp-danger{color:#fff;background-color:#f53d3d}.badge-wp-light{color:#000;background-color:#f4f4f4}.badge-wp-dark{color:#fff;background-color:#222}.badge-wp-optblue{color:#fff;background-color:#e00201}.badge-wp-gray{color:#000;background-color:#dad8d8}.badge-wp-green{color:#fff;background-color:#1dc764}.button{text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;position:relative;z-index:0;display:inline-block;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-transition:background-color,opacity .1s linear;transition:background-color,opacity .1s linear;-webkit-font-kerning:none;font-kerning:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;contain:content}.button-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}[ion-button]{text-decoration:none}[ion-button][disabled],a[disabled],button[disabled]{cursor:default;opacity:.4;pointer-events:none}.button-block{display:block;clear:both;width:100%;contain:strict}.button-block::after{clear:both}.button-full{display:block;width:100%;contain:strict}.button-full.button-outline{border-radius:0;border-right-width:0;border-left-width:0}[icon-left] ion-icon,[icon-start] ion-icon{font-size:1.4em;line-height:.67;pointer-events:none;padding-right:.3em}[icon-end] ion-icon,[icon-right] ion-icon{font-size:1.4em;line-height:.67;pointer-events:none;padding-left:.4em}.button[icon-only]{padding:0;min-width:.9em}[icon-only] ion-icon{padding:0 .5em;font-size:1.8em;line-height:.67;pointer-events:none}.button-ios{border-radius:4px;height:2.8em;font-size:1.6rem;color:#fff;background-color:#673ab7;margin:.4rem .2rem;padding:0 1em}.button-ios.activated{background-color:#734abd;opacity:1}.button-ios:hover:not(.disable-hover){opacity:.8}.button-large-ios{height:2.8em;font-size:2rem;padding:0 1em}.button-small-ios{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-ios[icon-only] ion-icon{font-size:1.3em}.button-block-ios{margin-left:0;margin-right:0}.button-full-ios{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-ios{border-radius:4px;border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-ios.activated{color:#fff;background-color:#673ab7;opacity:1}.button-clear-ios{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-ios.activated{background-color:transparent;opacity:.4}.button-clear-ios:hover:not(.disable-hover){color:#673ab7;opacity:.6}.button-round-ios{border-radius:64px;padding:0 2.6rem}.button-ios-primary{color:#fff;background-color:#673ab7}.button-ios-primary.activated{background-color:#734abd}.button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.button-clear-ios-primary{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-ios-primary.activated{opacity:.4}.button-clear-ios-primary:hover:not(.disable-hover){color:#673ab7}.button-ios-secondary{color:#fff;background-color:#32db64}.button-ios-secondary.activated{background-color:#2ec95c}.button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.button-clear-ios-secondary{border-color:transparent;color:#32db64;background-color:transparent}.button-clear-ios-secondary.activated{opacity:.4}.button-clear-ios-secondary:hover:not(.disable-hover){color:#32db64}.button-ios-danger{color:#fff;background-color:#f53d3d}.button-ios-danger.activated{background-color:#e13838}.button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.button-clear-ios-danger{border-color:transparent;color:#f53d3d;background-color:transparent}.button-clear-ios-danger.activated{opacity:.4}.button-clear-ios-danger:hover:not(.disable-hover){color:#f53d3d}.button-ios-light{color:#000;background-color:#f4f4f4}.button-ios-light.activated{background-color:#e0e0e0}.button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.button-clear-ios-light{border-color:transparent;color:#f4f4f4;background-color:transparent}.button-clear-ios-light.activated{opacity:.4}.button-clear-ios-light:hover:not(.disable-hover){color:#f4f4f4}.button-ios-dark{color:#fff;background-color:#222}.button-ios-dark.activated{background-color:#343434}.button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.button-outline-ios-dark.activated{color:#fff;background-color:#222}.button-clear-ios-dark{border-color:transparent;color:#222;background-color:transparent}.button-clear-ios-dark.activated{opacity:.4}.button-clear-ios-dark:hover:not(.disable-hover){color:#222}.button-ios-optblue{color:#fff;background-color:#e00201}.button-ios-optblue.activated{background-color:#e21615}.button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.button-clear-ios-optblue{border-color:transparent;color:#e00201;background-color:transparent}.button-clear-ios-optblue.activated{opacity:.4}.button-clear-ios-optblue:hover:not(.disable-hover){color:#e00201}.button-ios-gray{color:#000;background-color:#dad8d8}.button-ios-gray.activated{background-color:#c9c7c7}.button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.button-clear-ios-gray{border-color:transparent;color:#dad8d8;background-color:transparent}.button-clear-ios-gray.activated{opacity:.4}.button-clear-ios-gray:hover:not(.disable-hover){color:#dad8d8}.button-ios-green{color:#fff;background-color:#1dc764}.button-ios-green.activated{background-color:#2fcb70}.button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.button-clear-ios-green{border-color:transparent;color:#1dc764;background-color:transparent}.button-clear-ios-green.activated{opacity:.4}.button-clear-ios-green:hover:not(.disable-hover){color:#1dc764}.button-strong-ios{font-weight:600}.button-md{border-radius:2px;overflow:hidden;height:3.6rem;font-size:1.4rem;font-weight:500;text-transform:uppercase;color:#fff;background-color:#673ab7;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);margin:.4rem .2rem;padding:0 1.1em}.button-md:hover:not(.disable-hover){background-color:#673ab7}.button-md.activated{background-color:#734abd;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.14),0 3px 5px rgba(0,0,0,.21),0 0 0 0 transparent;box-shadow:0 3px 5px rgba(0,0,0,.14),0 3px 5px rgba(0,0,0,.21),0 0 0 0 transparent}.button-md .button-effect{background-color:#fff}.button-large-md{height:2.8em;font-size:2rem;padding:0 1em}.button-small-md{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-md[icon-only] ion-icon{font-size:1.4em}.button-block-md{margin-left:0;margin-right:0}.button-full-md{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-md{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.button-outline-md:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md.activated{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;opacity:1}.button-outline-md .button-effect{background-color:#673ab7}.button-clear-md{border-color:transparent;color:#673ab7;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;opacity:1}.button-clear-md.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-clear-md .button-effect{background-color:#999}.button-round-md{border-radius:64px;padding:0 2.6rem}.button-md [icon-only]{padding:0}.button-effect{border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;position:absolute;z-index:0;display:none;background-color:#555;opacity:.2;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;pointer-events:none;top:0;left:0}.md button .button-effect{display:block}.button-md-primary{color:#fff;background-color:#673ab7}.button-md-primary:hover:not(.disable-hover){background-color:#673ab7}.button-md-primary.activated{background-color:#734abd;opacity:1}.button-md-primary .button-effect{background-color:#fff}.button-outline-md-primary{border-color:#6f44bb;color:#6f44bb;background-color:transparent}.button-outline-md-primary:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-primary.activated{background-color:transparent}.button-outline-md-primary .button-effect{background-color:#6f44bb}.button-clear-md-primary{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-md-primary.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-primary:hover:not(.disable-hover){color:#673ab7}.button-md-secondary{color:#fff;background-color:#32db64}.button-md-secondary:hover:not(.disable-hover){background-color:#32db64}.button-md-secondary.activated{background-color:#2ec95c;opacity:1}.button-md-secondary .button-effect{background-color:#fff}.button-outline-md-secondary{border-color:#30d05f;color:#30d05f;background-color:transparent}.button-outline-md-secondary:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-secondary.activated{background-color:transparent}.button-outline-md-secondary .button-effect{background-color:#30d05f}.button-clear-md-secondary{border-color:transparent;color:#32db64;background-color:transparent}.button-clear-md-secondary.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-secondary:hover:not(.disable-hover){color:#32db64}.button-md-danger{color:#fff;background-color:#f53d3d}.button-md-danger:hover:not(.disable-hover){background-color:#f53d3d}.button-md-danger.activated{background-color:#e13838;opacity:1}.button-md-danger .button-effect{background-color:#fff}.button-outline-md-danger{border-color:#e93a3a;color:#e93a3a;background-color:transparent}.button-outline-md-danger:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-danger.activated{background-color:transparent}.button-outline-md-danger .button-effect{background-color:#e93a3a}.button-clear-md-danger{border-color:transparent;color:#f53d3d;background-color:transparent}.button-clear-md-danger.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-danger:hover:not(.disable-hover){color:#f53d3d}.button-md-light{color:#000;background-color:#f4f4f4}.button-md-light:hover:not(.disable-hover){background-color:#f4f4f4}.button-md-light.activated{background-color:#e0e0e0;opacity:1}.button-md-light .button-effect{background-color:#000}.button-outline-md-light{border-color:#e8e8e8;color:#e8e8e8;background-color:transparent}.button-outline-md-light:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-light.activated{background-color:transparent}.button-outline-md-light .button-effect{background-color:#e8e8e8}.button-clear-md-light{border-color:transparent;color:#f4f4f4;background-color:transparent}.button-clear-md-light.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-light:hover:not(.disable-hover){color:#f4f4f4}.button-md-dark{color:#fff;background-color:#222}.button-md-dark:hover:not(.disable-hover){background-color:#222}.button-md-dark.activated{background-color:#343434;opacity:1}.button-md-dark .button-effect{background-color:#fff}.button-outline-md-dark{border-color:#2d2d2d;color:#2d2d2d;background-color:transparent}.button-outline-md-dark:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-dark.activated{background-color:transparent}.button-outline-md-dark .button-effect{background-color:#2d2d2d}.button-clear-md-dark{border-color:transparent;color:#222;background-color:transparent}.button-clear-md-dark.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-dark:hover:not(.disable-hover){color:#222}.button-md-optblue{color:#fff;background-color:#e00201}.button-md-optblue:hover:not(.disable-hover){background-color:#e00201}.button-md-optblue.activated{background-color:#e21615;opacity:1}.button-md-optblue .button-effect{background-color:#fff}.button-outline-md-optblue{border-color:#e20f0e;color:#e20f0e;background-color:transparent}.button-outline-md-optblue:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-optblue.activated{background-color:transparent}.button-outline-md-optblue .button-effect{background-color:#e20f0e}.button-clear-md-optblue{border-color:transparent;color:#e00201;background-color:transparent}.button-clear-md-optblue.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-optblue:hover:not(.disable-hover){color:#e00201}.button-md-gray{color:#000;background-color:#dad8d8}.button-md-gray:hover:not(.disable-hover){background-color:#dad8d8}.button-md-gray.activated{background-color:#c9c7c7;opacity:1}.button-md-gray .button-effect{background-color:#000}.button-outline-md-gray{border-color:#cfcdcd;color:#cfcdcd;background-color:transparent}.button-outline-md-gray:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-gray.activated{background-color:transparent}.button-outline-md-gray .button-effect{background-color:#cfcdcd}.button-clear-md-gray{border-color:transparent;color:#dad8d8;background-color:transparent}.button-clear-md-gray.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-gray:hover:not(.disable-hover){color:#dad8d8}.button-md-green{color:#fff;background-color:#1dc764}.button-md-green:hover:not(.disable-hover){background-color:#1dc764}.button-md-green.activated{background-color:#2fcb70;opacity:1}.button-md-green .button-effect{background-color:#fff}.button-outline-md-green{border-color:#28ca6c;color:#28ca6c;background-color:transparent}.button-outline-md-green:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-green.activated{background-color:transparent}.button-outline-md-green .button-effect{background-color:#28ca6c}.button-clear-md-green{border-color:transparent;color:#1dc764;background-color:transparent}.button-clear-md-green.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-green:hover:not(.disable-hover){color:#1dc764}.button-strong-md{font-weight:700}.button-wp{border-radius:0;height:3.6rem;border:3px solid transparent;font-size:1.4rem;color:#fff;background-color:#673ab7;margin:.4rem .2rem;padding:0 1.1em}.button-wp:hover:not(.disable-hover){border-color:#734abd;background-color:#673ab7}.button-wp.activated{background-color:#734abd}.button-large-wp{height:2.8em;font-size:2rem;padding:0 1em}.button-small-wp{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-wp[icon-only] ion-icon{font-size:1.4em}.button-block-wp{margin-left:0;margin-right:0}.button-full-wp{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-wp{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-wp:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-wp.activated{background-color:rgba(103,58,183,.16)}.button-clear-wp{color:#673ab7;background-color:transparent}.button-clear-wp.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-round-wp{border-radius:64px;padding:0 2.6rem}.button-wp [icon-only]{padding:0}.button-wp-primary{color:#fff;background-color:#673ab7}.button-wp-primary:hover:not(.disable-hover){border-color:#734abd;background-color:#673ab7}.button-wp-primary.activated{background-color:#734abd}.button-outline-wp-primary{border-color:#6f44bb;color:#6f44bb;background-color:transparent}.button-outline-wp-primary:hover:not(.disable-hover){border-color:#6f44bb;background-color:rgba(158,158,158,.1)}.button-outline-wp-primary.activated{background-color:rgba(111,68,187,.16)}.button-clear-wp-primary{color:#673ab7;background-color:transparent}.button-clear-wp-primary.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-primary:hover:not(.disable-hover){color:#673ab7}.button-wp-secondary{color:#fff;background-color:#32db64}.button-wp-secondary:hover:not(.disable-hover){border-color:#2ec95c;background-color:#32db64}.button-wp-secondary.activated{background-color:#2ec95c}.button-outline-wp-secondary{border-color:#30d05f;color:#30d05f;background-color:transparent}.button-outline-wp-secondary:hover:not(.disable-hover){border-color:#30d05f;background-color:rgba(158,158,158,.1)}.button-outline-wp-secondary.activated{background-color:rgba(48,208,95,.16)}.button-clear-wp-secondary{color:#32db64;background-color:transparent}.button-clear-wp-secondary.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-secondary:hover:not(.disable-hover){color:#32db64}.button-wp-danger{color:#fff;background-color:#f53d3d}.button-wp-danger:hover:not(.disable-hover){border-color:#e13838;background-color:#f53d3d}.button-wp-danger.activated{background-color:#e13838}.button-outline-wp-danger{border-color:#e93a3a;color:#e93a3a;background-color:transparent}.button-outline-wp-danger:hover:not(.disable-hover){border-color:#e93a3a;background-color:rgba(158,158,158,.1)}.button-outline-wp-danger.activated{background-color:rgba(233,58,58,.16)}.button-clear-wp-danger{color:#f53d3d;background-color:transparent}.button-clear-wp-danger.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-danger:hover:not(.disable-hover){color:#f53d3d}.button-wp-light{color:#000;background-color:#f4f4f4}.button-wp-light:hover:not(.disable-hover){border-color:#e0e0e0;background-color:#f4f4f4}.button-wp-light.activated{background-color:#e0e0e0}.button-outline-wp-light{border-color:#e8e8e8;color:#e8e8e8;background-color:transparent}.button-outline-wp-light:hover:not(.disable-hover){border-color:#e8e8e8;background-color:rgba(158,158,158,.1)}.button-outline-wp-light.activated{background-color:rgba(232,232,232,.16)}.button-clear-wp-light{color:#f4f4f4;background-color:transparent}.button-clear-wp-light.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-light:hover:not(.disable-hover){color:#f4f4f4}.button-wp-dark{color:#fff;background-color:#222}.button-wp-dark:hover:not(.disable-hover){border-color:#343434;background-color:#222}.button-wp-dark.activated{background-color:#343434}.button-outline-wp-dark{border-color:#2d2d2d;color:#2d2d2d;background-color:transparent}.button-outline-wp-dark:hover:not(.disable-hover){border-color:#2d2d2d;background-color:rgba(158,158,158,.1)}.button-outline-wp-dark.activated{background-color:rgba(45,45,45,.16)}.button-clear-wp-dark{color:#222;background-color:transparent}.button-clear-wp-dark.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-dark:hover:not(.disable-hover){color:#222}.button-wp-optblue{color:#fff;background-color:#e00201}.button-wp-optblue:hover:not(.disable-hover){border-color:#e21615;background-color:#e00201}.button-wp-optblue.activated{background-color:#e21615}.button-outline-wp-optblue{border-color:#e20f0e;color:#e20f0e;background-color:transparent}.button-outline-wp-optblue:hover:not(.disable-hover){border-color:#e20f0e;background-color:rgba(158,158,158,.1)}.button-outline-wp-optblue.activated{background-color:rgba(226,15,14,.16)}.button-clear-wp-optblue{color:#e00201;background-color:transparent}.button-clear-wp-optblue.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-optblue:hover:not(.disable-hover){color:#e00201}.button-wp-gray{color:#000;background-color:#dad8d8}.button-wp-gray:hover:not(.disable-hover){border-color:#c9c7c7;background-color:#dad8d8}.button-wp-gray.activated{background-color:#c9c7c7}.button-outline-wp-gray{border-color:#cfcdcd;color:#cfcdcd;background-color:transparent}.button-outline-wp-gray:hover:not(.disable-hover){border-color:#cfcdcd;background-color:rgba(158,158,158,.1)}.button-outline-wp-gray.activated{background-color:rgba(207,205,205,.16)}.button-clear-wp-gray{color:#dad8d8;background-color:transparent}.button-clear-wp-gray.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-gray:hover:not(.disable-hover){color:#dad8d8}.button-wp-green{color:#fff;background-color:#1dc764}.button-wp-green:hover:not(.disable-hover){border-color:#2fcb70;background-color:#1dc764}.button-wp-green.activated{background-color:#2fcb70}.button-outline-wp-green{border-color:#28ca6c;color:#28ca6c;background-color:transparent}.button-outline-wp-green:hover:not(.disable-hover){border-color:#28ca6c;background-color:rgba(158,158,158,.1)}.button-outline-wp-green.activated{background-color:rgba(40,202,108,.16)}.button-clear-wp-green{color:#1dc764;background-color:transparent}.button-clear-wp-green.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-green:hover:not(.disable-hover){color:#1dc764}.button-strong-wp{font-weight:700}ion-card{display:block;overflow:hidden}ion-card img{display:block;width:100%}ion-card-header{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ion-card-content{display:block}.card-ios{margin:12px;border-radius:2px;width:calc(100% - 24px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.card-ios ion-list{margin-bottom:0}.card-ios>.item-wrapper:last-child .item,.card-ios>.item:last-child,.card-ios>.item:last-child .item-inner{border-bottom:0}.card-ios .item-ios.item-block .item-inner{border:0}.card-content-ios{padding:13px 16px 14px;font-size:1.4rem;line-height:1.4}.card-header-ios{font-size:1.6rem;font-weight:500;color:#333;padding:16px}.card-header-ios+.card-content-ios,.card-ios .item+.card-content-ios{padding-top:0}.card .note-ios{font-size:1.3rem}.card-title-ios{display:block;font-size:1.8rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-ios h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.card-ios h2{margin:2px 0;font-size:1.6rem;font-weight:400}.card-ios h3,.card-ios h4,.card-ios h5,.card-ios h6{margin:2px 0;font-size:1.4rem;font-weight:400}.card-ios p{margin:0 0 2px;font-size:1.4rem;color:#666}.card-ios+ion-card{margin-top:0}.card-ios .text-ios-primary{color:#673ab7}.card-ios-primary{color:#fff;background-color:#673ab7}.card-ios-primary .card-content-ios,.card-ios-primary .card-header-ios,.card-ios-primary .card-title-ios,.card-ios-primary p{color:#fff}.card-ios-primary .card-content-ios-primary,.card-ios-primary .card-header-ios-primary,.card-ios-primary .card-title-ios-primary,.card-ios-primary .text-ios-primary{color:#673ab7}.card-ios-primary .card-content-ios-secondary,.card-ios-primary .card-header-ios-secondary,.card-ios-primary .card-title-ios-secondary,.card-ios-primary .text-ios-secondary{color:#32db64}.card-ios-primary .card-content-ios-danger,.card-ios-primary .card-header-ios-danger,.card-ios-primary .card-title-ios-danger,.card-ios-primary .text-ios-danger{color:#f53d3d}.card-ios-primary .card-content-ios-light,.card-ios-primary .card-header-ios-light,.card-ios-primary .card-title-ios-light,.card-ios-primary .text-ios-light{color:#f4f4f4}.card-ios-primary .card-content-ios-dark,.card-ios-primary .card-header-ios-dark,.card-ios-primary .card-title-ios-dark,.card-ios-primary .text-ios-dark{color:#222}.card-ios-primary .card-content-ios-optblue,.card-ios-primary .card-header-ios-optblue,.card-ios-primary .card-title-ios-optblue,.card-ios-primary .text-ios-optblue{color:#e00201}.card-ios-primary .card-content-ios-gray,.card-ios-primary .card-header-ios-gray,.card-ios-primary .card-title-ios-gray,.card-ios-primary .text-ios-gray{color:#dad8d8}.card-ios-primary .card-content-ios-green,.card-ios-primary .card-header-ios-green,.card-ios-primary .card-title-ios-green,.card-ios-primary .text-ios-green{color:#1dc764}.card-content-ios-primary,.card-header-ios-primary,.card-title-ios-primary{color:#673ab7}.card-ios .text-ios-secondary{color:#32db64}.card-ios-secondary{color:#fff;background-color:#32db64}.card-ios-secondary .card-content-ios,.card-ios-secondary .card-header-ios,.card-ios-secondary .card-title-ios,.card-ios-secondary p{color:#fff}.card-ios-secondary .card-content-ios-primary,.card-ios-secondary .card-header-ios-primary,.card-ios-secondary .card-title-ios-primary,.card-ios-secondary .text-ios-primary{color:#673ab7}.card-ios-secondary .card-content-ios-secondary,.card-ios-secondary .card-header-ios-secondary,.card-ios-secondary .card-title-ios-secondary,.card-ios-secondary .text-ios-secondary{color:#32db64}.card-ios-secondary .card-content-ios-danger,.card-ios-secondary .card-header-ios-danger,.card-ios-secondary .card-title-ios-danger,.card-ios-secondary .text-ios-danger{color:#f53d3d}.card-ios-secondary .card-content-ios-light,.card-ios-secondary .card-header-ios-light,.card-ios-secondary .card-title-ios-light,.card-ios-secondary .text-ios-light{color:#f4f4f4}.card-ios-secondary .card-content-ios-dark,.card-ios-secondary .card-header-ios-dark,.card-ios-secondary .card-title-ios-dark,.card-ios-secondary .text-ios-dark{color:#222}.card-ios-secondary .card-content-ios-optblue,.card-ios-secondary .card-header-ios-optblue,.card-ios-secondary .card-title-ios-optblue,.card-ios-secondary .text-ios-optblue{color:#e00201}.card-ios-secondary .card-content-ios-gray,.card-ios-secondary .card-header-ios-gray,.card-ios-secondary .card-title-ios-gray,.card-ios-secondary .text-ios-gray{color:#dad8d8}.card-ios-secondary .card-content-ios-green,.card-ios-secondary .card-header-ios-green,.card-ios-secondary .card-title-ios-green,.card-ios-secondary .text-ios-green{color:#1dc764}.card-content-ios-secondary,.card-header-ios-secondary,.card-title-ios-secondary{color:#32db64}.card-ios .text-ios-danger{color:#f53d3d}.card-ios-danger{color:#fff;background-color:#f53d3d}.card-ios-danger .card-content-ios,.card-ios-danger .card-header-ios,.card-ios-danger .card-title-ios,.card-ios-danger p{color:#fff}.card-ios-danger .card-content-ios-primary,.card-ios-danger .card-header-ios-primary,.card-ios-danger .card-title-ios-primary,.card-ios-danger .text-ios-primary{color:#673ab7}.card-ios-danger .card-content-ios-secondary,.card-ios-danger .card-header-ios-secondary,.card-ios-danger .card-title-ios-secondary,.card-ios-danger .text-ios-secondary{color:#32db64}.card-ios-danger .card-content-ios-danger,.card-ios-danger .card-header-ios-danger,.card-ios-danger .card-title-ios-danger,.card-ios-danger .text-ios-danger{color:#f53d3d}.card-ios-danger .card-content-ios-light,.card-ios-danger .card-header-ios-light,.card-ios-danger .card-title-ios-light,.card-ios-danger .text-ios-light{color:#f4f4f4}.card-ios-danger .card-content-ios-dark,.card-ios-danger .card-header-ios-dark,.card-ios-danger .card-title-ios-dark,.card-ios-danger .text-ios-dark{color:#222}.card-ios-danger .card-content-ios-optblue,.card-ios-danger .card-header-ios-optblue,.card-ios-danger .card-title-ios-optblue,.card-ios-danger .text-ios-optblue{color:#e00201}.card-ios-danger .card-content-ios-gray,.card-ios-danger .card-header-ios-gray,.card-ios-danger .card-title-ios-gray,.card-ios-danger .text-ios-gray{color:#dad8d8}.card-ios-danger .card-content-ios-green,.card-ios-danger .card-header-ios-green,.card-ios-danger .card-title-ios-green,.card-ios-danger .text-ios-green{color:#1dc764}.card-content-ios-danger,.card-header-ios-danger,.card-title-ios-danger{color:#f53d3d}.card-ios .text-ios-light{color:#f4f4f4}.card-ios-light{color:#000;background-color:#f4f4f4}.card-ios-light .card-content-ios,.card-ios-light .card-header-ios,.card-ios-light .card-title-ios,.card-ios-light p{color:#000}.card-ios-light .card-content-ios-primary,.card-ios-light .card-header-ios-primary,.card-ios-light .card-title-ios-primary,.card-ios-light .text-ios-primary{color:#673ab7}.card-ios-light .card-content-ios-secondary,.card-ios-light .card-header-ios-secondary,.card-ios-light .card-title-ios-secondary,.card-ios-light .text-ios-secondary{color:#32db64}.card-ios-light .card-content-ios-danger,.card-ios-light .card-header-ios-danger,.card-ios-light .card-title-ios-danger,.card-ios-light .text-ios-danger{color:#f53d3d}.card-ios-light .card-content-ios-light,.card-ios-light .card-header-ios-light,.card-ios-light .card-title-ios-light,.card-ios-light .text-ios-light{color:#f4f4f4}.card-ios-light .card-content-ios-dark,.card-ios-light .card-header-ios-dark,.card-ios-light .card-title-ios-dark,.card-ios-light .text-ios-dark{color:#222}.card-ios-light .card-content-ios-optblue,.card-ios-light .card-header-ios-optblue,.card-ios-light .card-title-ios-optblue,.card-ios-light .text-ios-optblue{color:#e00201}.card-ios-light .card-content-ios-gray,.card-ios-light .card-header-ios-gray,.card-ios-light .card-title-ios-gray,.card-ios-light .text-ios-gray{color:#dad8d8}.card-ios-light .card-content-ios-green,.card-ios-light .card-header-ios-green,.card-ios-light .card-title-ios-green,.card-ios-light .text-ios-green{color:#1dc764}.card-content-ios-light,.card-header-ios-light,.card-title-ios-light{color:#f4f4f4}.card-ios .text-ios-dark{color:#222}.card-ios-dark{color:#fff;background-color:#222}.card-ios-dark .card-content-ios,.card-ios-dark .card-header-ios,.card-ios-dark .card-title-ios,.card-ios-dark p{color:#fff}.card-ios-dark .card-content-ios-primary,.card-ios-dark .card-header-ios-primary,.card-ios-dark .card-title-ios-primary,.card-ios-dark .text-ios-primary{color:#673ab7}.card-ios-dark .card-content-ios-secondary,.card-ios-dark .card-header-ios-secondary,.card-ios-dark .card-title-ios-secondary,.card-ios-dark .text-ios-secondary{color:#32db64}.card-ios-dark .card-content-ios-danger,.card-ios-dark .card-header-ios-danger,.card-ios-dark .card-title-ios-danger,.card-ios-dark .text-ios-danger{color:#f53d3d}.card-ios-dark .card-content-ios-light,.card-ios-dark .card-header-ios-light,.card-ios-dark .card-title-ios-light,.card-ios-dark .text-ios-light{color:#f4f4f4}.card-ios-dark .card-content-ios-dark,.card-ios-dark .card-header-ios-dark,.card-ios-dark .card-title-ios-dark,.card-ios-dark .text-ios-dark{color:#222}.card-ios-dark .card-content-ios-optblue,.card-ios-dark .card-header-ios-optblue,.card-ios-dark .card-title-ios-optblue,.card-ios-dark .text-ios-optblue{color:#e00201}.card-ios-dark .card-content-ios-gray,.card-ios-dark .card-header-ios-gray,.card-ios-dark .card-title-ios-gray,.card-ios-dark .text-ios-gray{color:#dad8d8}.card-ios-dark .card-content-ios-green,.card-ios-dark .card-header-ios-green,.card-ios-dark .card-title-ios-green,.card-ios-dark .text-ios-green{color:#1dc764}.card-content-ios-dark,.card-header-ios-dark,.card-title-ios-dark{color:#222}.card-ios .text-ios-optblue{color:#e00201}.card-ios-optblue{color:#fff;background-color:#e00201}.card-ios-optblue .card-content-ios,.card-ios-optblue .card-header-ios,.card-ios-optblue .card-title-ios,.card-ios-optblue p{color:#fff}.card-ios-optblue .card-content-ios-primary,.card-ios-optblue .card-header-ios-primary,.card-ios-optblue .card-title-ios-primary,.card-ios-optblue .text-ios-primary{color:#673ab7}.card-ios-optblue .card-content-ios-secondary,.card-ios-optblue .card-header-ios-secondary,.card-ios-optblue .card-title-ios-secondary,.card-ios-optblue .text-ios-secondary{color:#32db64}.card-ios-optblue .card-content-ios-danger,.card-ios-optblue .card-header-ios-danger,.card-ios-optblue .card-title-ios-danger,.card-ios-optblue .text-ios-danger{color:#f53d3d}.card-ios-optblue .card-content-ios-light,.card-ios-optblue .card-header-ios-light,.card-ios-optblue .card-title-ios-light,.card-ios-optblue .text-ios-light{color:#f4f4f4}.card-ios-optblue .card-content-ios-dark,.card-ios-optblue .card-header-ios-dark,.card-ios-optblue .card-title-ios-dark,.card-ios-optblue .text-ios-dark{color:#222}.card-ios-optblue .card-content-ios-optblue,.card-ios-optblue .card-header-ios-optblue,.card-ios-optblue .card-title-ios-optblue,.card-ios-optblue .text-ios-optblue{color:#e00201}.card-ios-optblue .card-content-ios-gray,.card-ios-optblue .card-header-ios-gray,.card-ios-optblue .card-title-ios-gray,.card-ios-optblue .text-ios-gray{color:#dad8d8}.card-ios-optblue .card-content-ios-green,.card-ios-optblue .card-header-ios-green,.card-ios-optblue .card-title-ios-green,.card-ios-optblue .text-ios-green{color:#1dc764}.card-content-ios-optblue,.card-header-ios-optblue,.card-title-ios-optblue{color:#e00201}.card-ios .text-ios-gray{color:#dad8d8}.card-ios-gray{color:#000;background-color:#dad8d8}.card-ios-gray .card-content-ios,.card-ios-gray .card-header-ios,.card-ios-gray .card-title-ios,.card-ios-gray p{color:#000}.card-ios-gray .card-content-ios-primary,.card-ios-gray .card-header-ios-primary,.card-ios-gray .card-title-ios-primary,.card-ios-gray .text-ios-primary{color:#673ab7}.card-ios-gray .card-content-ios-secondary,.card-ios-gray .card-header-ios-secondary,.card-ios-gray .card-title-ios-secondary,.card-ios-gray .text-ios-secondary{color:#32db64}.card-ios-gray .card-content-ios-danger,.card-ios-gray .card-header-ios-danger,.card-ios-gray .card-title-ios-danger,.card-ios-gray .text-ios-danger{color:#f53d3d}.card-ios-gray .card-content-ios-light,.card-ios-gray .card-header-ios-light,.card-ios-gray .card-title-ios-light,.card-ios-gray .text-ios-light{color:#f4f4f4}.card-ios-gray .card-content-ios-dark,.card-ios-gray .card-header-ios-dark,.card-ios-gray .card-title-ios-dark,.card-ios-gray .text-ios-dark{color:#222}.card-ios-gray .card-content-ios-optblue,.card-ios-gray .card-header-ios-optblue,.card-ios-gray .card-title-ios-optblue,.card-ios-gray .text-ios-optblue{color:#e00201}.card-ios-gray .card-content-ios-gray,.card-ios-gray .card-header-ios-gray,.card-ios-gray .card-title-ios-gray,.card-ios-gray .text-ios-gray{color:#dad8d8}.card-ios-gray .card-content-ios-green,.card-ios-gray .card-header-ios-green,.card-ios-gray .card-title-ios-green,.card-ios-gray .text-ios-green{color:#1dc764}.card-content-ios-gray,.card-header-ios-gray,.card-title-ios-gray{color:#dad8d8}.card-ios .text-ios-green{color:#1dc764}.card-ios-green{color:#fff;background-color:#1dc764}.card-ios-green .card-content-ios,.card-ios-green .card-header-ios,.card-ios-green .card-title-ios,.card-ios-green p{color:#fff}.card-ios-green .card-content-ios-primary,.card-ios-green .card-header-ios-primary,.card-ios-green .card-title-ios-primary,.card-ios-green .text-ios-primary{color:#673ab7}.card-ios-green .card-content-ios-secondary,.card-ios-green .card-header-ios-secondary,.card-ios-green .card-title-ios-secondary,.card-ios-green .text-ios-secondary{color:#32db64}.card-ios-green .card-content-ios-danger,.card-ios-green .card-header-ios-danger,.card-ios-green .card-title-ios-danger,.card-ios-green .text-ios-danger{color:#f53d3d}.card-ios-green .card-content-ios-light,.card-ios-green .card-header-ios-light,.card-ios-green .card-title-ios-light,.card-ios-green .text-ios-light{color:#f4f4f4}.card-ios-green .card-content-ios-dark,.card-ios-green .card-header-ios-dark,.card-ios-green .card-title-ios-dark,.card-ios-green .text-ios-dark{color:#222}.card-ios-green .card-content-ios-optblue,.card-ios-green .card-header-ios-optblue,.card-ios-green .card-title-ios-optblue,.card-ios-green .text-ios-optblue{color:#e00201}.card-ios-green .card-content-ios-gray,.card-ios-green .card-header-ios-gray,.card-ios-green .card-title-ios-gray,.card-ios-green .text-ios-gray{color:#dad8d8}.card-ios-green .card-content-ios-green,.card-ios-green .card-header-ios-green,.card-ios-green .card-title-ios-green,.card-ios-green .text-ios-green{color:#1dc764}.card-content-ios-green,.card-header-ios-green,.card-title-ios-green{color:#1dc764}.card-md{margin:10px;border-radius:2px;width:calc(100% - 20px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.card-md ion-list{margin-bottom:0}.card-md>.item-wrapper:last-child .item,.card-md>.item:last-child,.card-md>.item:last-child .item-inner{border-bottom:0}.card-md .item-md.item-block .item-inner{border:0}.card-content-md{padding:13px 16px;font-size:1.4rem;line-height:1.5}.card-header-md{font-size:1.6rem;color:#222;padding:16px}.card-header-md+.card-content-md,.card-md .item+.card-content-md{padding-top:0}.card .note-md{font-size:1.3rem}.card-title-md{display:block;font-size:2.4rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-md h1{margin:0 0 2px;font-size:2.4rem;font-weight:400;color:#222}.card-md h2{margin:2px 0;font-size:1.6rem;font-weight:400;color:#222}.card-md h3,.card-md h4,.card-md h5,.card-md h6{margin:2px 0;font-size:1.4rem;font-weight:400;color:#222}.card-md p{margin:0 0 2px;font-size:1.4rem;font-weight:400;line-height:1.5;color:#222}.card-md+ion-card{margin-top:0}.card-md .text-md-primary{color:#673ab7}.card-md-primary{color:#fff;background-color:#673ab7}.card-md-primary .card-content-md,.card-md-primary .card-header-md,.card-md-primary .card-title-md,.card-md-primary h1,.card-md-primary h2,.card-md-primary h3,.card-md-primary h4,.card-md-primary h5,.card-md-primary h6,.card-md-primary p{color:#fff}.card-md-primary .card-content-md-primary,.card-md-primary .card-header-md-primary,.card-md-primary .card-title-md-primary,.card-md-primary .text-md-primary{color:#673ab7}.card-md-primary .card-content-md-secondary,.card-md-primary .card-header-md-secondary,.card-md-primary .card-title-md-secondary,.card-md-primary .text-md-secondary{color:#32db64}.card-md-primary .card-content-md-danger,.card-md-primary .card-header-md-danger,.card-md-primary .card-title-md-danger,.card-md-primary .text-md-danger{color:#f53d3d}.card-md-primary .card-content-md-light,.card-md-primary .card-header-md-light,.card-md-primary .card-title-md-light,.card-md-primary .text-md-light{color:#f4f4f4}.card-md-primary .card-content-md-dark,.card-md-primary .card-header-md-dark,.card-md-primary .card-title-md-dark,.card-md-primary .text-md-dark{color:#222}.card-md-primary .card-content-md-optblue,.card-md-primary .card-header-md-optblue,.card-md-primary .card-title-md-optblue,.card-md-primary .text-md-optblue{color:#e00201}.card-md-primary .card-content-md-gray,.card-md-primary .card-header-md-gray,.card-md-primary .card-title-md-gray,.card-md-primary .text-md-gray{color:#dad8d8}.card-md-primary .card-content-md-green,.card-md-primary .card-header-md-green,.card-md-primary .card-title-md-green,.card-md-primary .text-md-green{color:#1dc764}.card-content-md-primary,.card-header-md-primary,.card-title-md-primary{color:#673ab7}.card-md .text-md-secondary{color:#32db64}.card-md-secondary{color:#fff;background-color:#32db64}.card-md-secondary .card-content-md,.card-md-secondary .card-header-md,.card-md-secondary .card-title-md,.card-md-secondary h1,.card-md-secondary h2,.card-md-secondary h3,.card-md-secondary h4,.card-md-secondary h5,.card-md-secondary h6,.card-md-secondary p{color:#fff}.card-md-secondary .card-content-md-primary,.card-md-secondary .card-header-md-primary,.card-md-secondary .card-title-md-primary,.card-md-secondary .text-md-primary{color:#673ab7}.card-md-secondary .card-content-md-secondary,.card-md-secondary .card-header-md-secondary,.card-md-secondary .card-title-md-secondary,.card-md-secondary .text-md-secondary{color:#32db64}.card-md-secondary .card-content-md-danger,.card-md-secondary .card-header-md-danger,.card-md-secondary .card-title-md-danger,.card-md-secondary .text-md-danger{color:#f53d3d}.card-md-secondary .card-content-md-light,.card-md-secondary .card-header-md-light,.card-md-secondary .card-title-md-light,.card-md-secondary .text-md-light{color:#f4f4f4}.card-md-secondary .card-content-md-dark,.card-md-secondary .card-header-md-dark,.card-md-secondary .card-title-md-dark,.card-md-secondary .text-md-dark{color:#222}.card-md-secondary .card-content-md-optblue,.card-md-secondary .card-header-md-optblue,.card-md-secondary .card-title-md-optblue,.card-md-secondary .text-md-optblue{color:#e00201}.card-md-secondary .card-content-md-gray,.card-md-secondary .card-header-md-gray,.card-md-secondary .card-title-md-gray,.card-md-secondary .text-md-gray{color:#dad8d8}.card-md-secondary .card-content-md-green,.card-md-secondary .card-header-md-green,.card-md-secondary .card-title-md-green,.card-md-secondary .text-md-green{color:#1dc764}.card-content-md-secondary,.card-header-md-secondary,.card-title-md-secondary{color:#32db64}.card-md .text-md-danger{color:#f53d3d}.card-md-danger{color:#fff;background-color:#f53d3d}.card-md-danger .card-content-md,.card-md-danger .card-header-md,.card-md-danger .card-title-md,.card-md-danger h1,.card-md-danger h2,.card-md-danger h3,.card-md-danger h4,.card-md-danger h5,.card-md-danger h6,.card-md-danger p{color:#fff}.card-md-danger .card-content-md-primary,.card-md-danger .card-header-md-primary,.card-md-danger .card-title-md-primary,.card-md-danger .text-md-primary{color:#673ab7}.card-md-danger .card-content-md-secondary,.card-md-danger .card-header-md-secondary,.card-md-danger .card-title-md-secondary,.card-md-danger .text-md-secondary{color:#32db64}.card-md-danger .card-content-md-danger,.card-md-danger .card-header-md-danger,.card-md-danger .card-title-md-danger,.card-md-danger .text-md-danger{color:#f53d3d}.card-md-danger .card-content-md-light,.card-md-danger .card-header-md-light,.card-md-danger .card-title-md-light,.card-md-danger .text-md-light{color:#f4f4f4}.card-md-danger .card-content-md-dark,.card-md-danger .card-header-md-dark,.card-md-danger .card-title-md-dark,.card-md-danger .text-md-dark{color:#222}.card-md-danger .card-content-md-optblue,.card-md-danger .card-header-md-optblue,.card-md-danger .card-title-md-optblue,.card-md-danger .text-md-optblue{color:#e00201}.card-md-danger .card-content-md-gray,.card-md-danger .card-header-md-gray,.card-md-danger .card-title-md-gray,.card-md-danger .text-md-gray{color:#dad8d8}.card-md-danger .card-content-md-green,.card-md-danger .card-header-md-green,.card-md-danger .card-title-md-green,.card-md-danger .text-md-green{color:#1dc764}.card-content-md-danger,.card-header-md-danger,.card-title-md-danger{color:#f53d3d}.card-md .text-md-light{color:#f4f4f4}.card-md-light{color:#000;background-color:#f4f4f4}.card-md-light .card-content-md,.card-md-light .card-header-md,.card-md-light .card-title-md,.card-md-light h1,.card-md-light h2,.card-md-light h3,.card-md-light h4,.card-md-light h5,.card-md-light h6,.card-md-light p{color:#000}.card-md-light .card-content-md-primary,.card-md-light .card-header-md-primary,.card-md-light .card-title-md-primary,.card-md-light .text-md-primary{color:#673ab7}.card-md-light .card-content-md-secondary,.card-md-light .card-header-md-secondary,.card-md-light .card-title-md-secondary,.card-md-light .text-md-secondary{color:#32db64}.card-md-light .card-content-md-danger,.card-md-light .card-header-md-danger,.card-md-light .card-title-md-danger,.card-md-light .text-md-danger{color:#f53d3d}.card-md-light .card-content-md-light,.card-md-light .card-header-md-light,.card-md-light .card-title-md-light,.card-md-light .text-md-light{color:#f4f4f4}.card-md-light .card-content-md-dark,.card-md-light .card-header-md-dark,.card-md-light .card-title-md-dark,.card-md-light .text-md-dark{color:#222}.card-md-light .card-content-md-optblue,.card-md-light .card-header-md-optblue,.card-md-light .card-title-md-optblue,.card-md-light .text-md-optblue{color:#e00201}.card-md-light .card-content-md-gray,.card-md-light .card-header-md-gray,.card-md-light .card-title-md-gray,.card-md-light .text-md-gray{color:#dad8d8}.card-md-light .card-content-md-green,.card-md-light .card-header-md-green,.card-md-light .card-title-md-green,.card-md-light .text-md-green{color:#1dc764}.card-content-md-light,.card-header-md-light,.card-title-md-light{color:#f4f4f4}.card-md .text-md-dark{color:#222}.card-md-dark{color:#fff;background-color:#222}.card-md-dark .card-content-md,.card-md-dark .card-header-md,.card-md-dark .card-title-md,.card-md-dark h1,.card-md-dark h2,.card-md-dark h3,.card-md-dark h4,.card-md-dark h5,.card-md-dark h6,.card-md-dark p{color:#fff}.card-md-dark .card-content-md-primary,.card-md-dark .card-header-md-primary,.card-md-dark .card-title-md-primary,.card-md-dark .text-md-primary{color:#673ab7}.card-md-dark .card-content-md-secondary,.card-md-dark .card-header-md-secondary,.card-md-dark .card-title-md-secondary,.card-md-dark .text-md-secondary{color:#32db64}.card-md-dark .card-content-md-danger,.card-md-dark .card-header-md-danger,.card-md-dark .card-title-md-danger,.card-md-dark .text-md-danger{color:#f53d3d}.card-md-dark .card-content-md-light,.card-md-dark .card-header-md-light,.card-md-dark .card-title-md-light,.card-md-dark .text-md-light{color:#f4f4f4}.card-md-dark .card-content-md-dark,.card-md-dark .card-header-md-dark,.card-md-dark .card-title-md-dark,.card-md-dark .text-md-dark{color:#222}.card-md-dark .card-content-md-optblue,.card-md-dark .card-header-md-optblue,.card-md-dark .card-title-md-optblue,.card-md-dark .text-md-optblue{color:#e00201}.card-md-dark .card-content-md-gray,.card-md-dark .card-header-md-gray,.card-md-dark .card-title-md-gray,.card-md-dark .text-md-gray{color:#dad8d8}.card-md-dark .card-content-md-green,.card-md-dark .card-header-md-green,.card-md-dark .card-title-md-green,.card-md-dark .text-md-green{color:#1dc764}.card-content-md-dark,.card-header-md-dark,.card-title-md-dark{color:#222}.card-md .text-md-optblue{color:#e00201}.card-md-optblue{color:#fff;background-color:#e00201}.card-md-optblue .card-content-md,.card-md-optblue .card-header-md,.card-md-optblue .card-title-md,.card-md-optblue h1,.card-md-optblue h2,.card-md-optblue h3,.card-md-optblue h4,.card-md-optblue h5,.card-md-optblue h6,.card-md-optblue p{color:#fff}.card-md-optblue .card-content-md-primary,.card-md-optblue .card-header-md-primary,.card-md-optblue .card-title-md-primary,.card-md-optblue .text-md-primary{color:#673ab7}.card-md-optblue .card-content-md-secondary,.card-md-optblue .card-header-md-secondary,.card-md-optblue .card-title-md-secondary,.card-md-optblue .text-md-secondary{color:#32db64}.card-md-optblue .card-content-md-danger,.card-md-optblue .card-header-md-danger,.card-md-optblue .card-title-md-danger,.card-md-optblue .text-md-danger{color:#f53d3d}.card-md-optblue .card-content-md-light,.card-md-optblue .card-header-md-light,.card-md-optblue .card-title-md-light,.card-md-optblue .text-md-light{color:#f4f4f4}.card-md-optblue .card-content-md-dark,.card-md-optblue .card-header-md-dark,.card-md-optblue .card-title-md-dark,.card-md-optblue .text-md-dark{color:#222}.card-md-optblue .card-content-md-optblue,.card-md-optblue .card-header-md-optblue,.card-md-optblue .card-title-md-optblue,.card-md-optblue .text-md-optblue{color:#e00201}.card-md-optblue .card-content-md-gray,.card-md-optblue .card-header-md-gray,.card-md-optblue .card-title-md-gray,.card-md-optblue .text-md-gray{color:#dad8d8}.card-md-optblue .card-content-md-green,.card-md-optblue .card-header-md-green,.card-md-optblue .card-title-md-green,.card-md-optblue .text-md-green{color:#1dc764}.card-content-md-optblue,.card-header-md-optblue,.card-title-md-optblue{color:#e00201}.card-md .text-md-gray{color:#dad8d8}.card-md-gray{color:#000;background-color:#dad8d8}.card-md-gray .card-content-md,.card-md-gray .card-header-md,.card-md-gray .card-title-md,.card-md-gray h1,.card-md-gray h2,.card-md-gray h3,.card-md-gray h4,.card-md-gray h5,.card-md-gray h6,.card-md-gray p{color:#000}.card-md-gray .card-content-md-primary,.card-md-gray .card-header-md-primary,.card-md-gray .card-title-md-primary,.card-md-gray .text-md-primary{color:#673ab7}.card-md-gray .card-content-md-secondary,.card-md-gray .card-header-md-secondary,.card-md-gray .card-title-md-secondary,.card-md-gray .text-md-secondary{color:#32db64}.card-md-gray .card-content-md-danger,.card-md-gray .card-header-md-danger,.card-md-gray .card-title-md-danger,.card-md-gray .text-md-danger{color:#f53d3d}.card-md-gray .card-content-md-light,.card-md-gray .card-header-md-light,.card-md-gray .card-title-md-light,.card-md-gray .text-md-light{color:#f4f4f4}.card-md-gray .card-content-md-dark,.card-md-gray .card-header-md-dark,.card-md-gray .card-title-md-dark,.card-md-gray .text-md-dark{color:#222}.card-md-gray .card-content-md-optblue,.card-md-gray .card-header-md-optblue,.card-md-gray .card-title-md-optblue,.card-md-gray .text-md-optblue{color:#e00201}.card-md-gray .card-content-md-gray,.card-md-gray .card-header-md-gray,.card-md-gray .card-title-md-gray,.card-md-gray .text-md-gray{color:#dad8d8}.card-md-gray .card-content-md-green,.card-md-gray .card-header-md-green,.card-md-gray .card-title-md-green,.card-md-gray .text-md-green{color:#1dc764}.card-content-md-gray,.card-header-md-gray,.card-title-md-gray{color:#dad8d8}.card-md .text-md-green{color:#1dc764}.card-md-green{color:#fff;background-color:#1dc764}.card-md-green .card-content-md,.card-md-green .card-header-md,.card-md-green .card-title-md,.card-md-green h1,.card-md-green h2,.card-md-green h3,.card-md-green h4,.card-md-green h5,.card-md-green h6,.card-md-green p{color:#fff}.card-md-green .card-content-md-primary,.card-md-green .card-header-md-primary,.card-md-green .card-title-md-primary,.card-md-green .text-md-primary{color:#673ab7}.card-md-green .card-content-md-secondary,.card-md-green .card-header-md-secondary,.card-md-green .card-title-md-secondary,.card-md-green .text-md-secondary{color:#32db64}.card-md-green .card-content-md-danger,.card-md-green .card-header-md-danger,.card-md-green .card-title-md-danger,.card-md-green .text-md-danger{color:#f53d3d}.card-md-green .card-content-md-light,.card-md-green .card-header-md-light,.card-md-green .card-title-md-light,.card-md-green .text-md-light{color:#f4f4f4}.card-md-green .card-content-md-dark,.card-md-green .card-header-md-dark,.card-md-green .card-title-md-dark,.card-md-green .text-md-dark{color:#222}.card-md-green .card-content-md-optblue,.card-md-green .card-header-md-optblue,.card-md-green .card-title-md-optblue,.card-md-green .text-md-optblue{color:#e00201}.card-md-green .card-content-md-gray,.card-md-green .card-header-md-gray,.card-md-green .card-title-md-gray,.card-md-green .text-md-gray{color:#dad8d8}.card-md-green .card-content-md-green,.card-md-green .card-header-md-green,.card-md-green .card-title-md-green,.card-md-green .text-md-green{color:#1dc764}.card-content-md-green,.card-header-md-green,.card-title-md-green{color:#1dc764}.card-wp{margin:8px;border-radius:1px;width:calc(100% - 16px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px 1px rgba(0,0,0,.2)}.card-wp ion-list{margin-bottom:0}.card-wp>.item-wrapper:last-child .item,.card-wp>.item:last-child,.card-wp>.item:last-child .item-inner{border-bottom:0}.card-wp .item-wp.item-block .item-inner{border:0}.card-content-wp{padding:13px 16px;font-size:1.4rem;line-height:1.5}.card-header-wp{font-size:1.6rem;color:#222;padding:16px}.card-header-wp+.card-content-wp,.card-wp .item+.card-content-wp{padding-top:0}.card .note-wp{font-size:1.3rem}.card-title-wp{display:block;font-size:2.4rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-wp h1{margin:0 0 2px;font-size:2.4rem;font-weight:400;color:#222}.card-wp h2{margin:2px 0;font-size:1.6rem;font-weight:400;color:#222}.card-wp h3,.card-wp h4,.card-wp h5,.card-wp h6{margin:2px 0;font-size:1.4rem;font-weight:400;color:#222}.card-wp p{margin:0 0 2px;font-size:1.4rem;font-weight:400;line-height:1.5;color:#222}.card-wp+ion-card{margin-top:0}.card-wp .text-wp-primary{color:#673ab7}.card-wp-primary{color:#fff;background-color:#673ab7}.card-wp-primary .card-content-wp,.card-wp-primary .card-header-wp,.card-wp-primary .card-title-wp,.card-wp-primary h1,.card-wp-primary h2,.card-wp-primary h3,.card-wp-primary h4,.card-wp-primary h5,.card-wp-primary h6,.card-wp-primary p{color:#fff}.card-wp-primary .card-content-wp-primary,.card-wp-primary .card-header-wp-primary,.card-wp-primary .card-title-wp-primary,.card-wp-primary .text-wp-primary{color:#673ab7}.card-wp-primary .card-content-wp-secondary,.card-wp-primary .card-header-wp-secondary,.card-wp-primary .card-title-wp-secondary,.card-wp-primary .text-wp-secondary{color:#32db64}.card-wp-primary .card-content-wp-danger,.card-wp-primary .card-header-wp-danger,.card-wp-primary .card-title-wp-danger,.card-wp-primary .text-wp-danger{color:#f53d3d}.card-wp-primary .card-content-wp-light,.card-wp-primary .card-header-wp-light,.card-wp-primary .card-title-wp-light,.card-wp-primary .text-wp-light{color:#f4f4f4}.card-wp-primary .card-content-wp-dark,.card-wp-primary .card-header-wp-dark,.card-wp-primary .card-title-wp-dark,.card-wp-primary .text-wp-dark{color:#222}.card-wp-primary .card-content-wp-optblue,.card-wp-primary .card-header-wp-optblue,.card-wp-primary .card-title-wp-optblue,.card-wp-primary .text-wp-optblue{color:#e00201}.card-wp-primary .card-content-wp-gray,.card-wp-primary .card-header-wp-gray,.card-wp-primary .card-title-wp-gray,.card-wp-primary .text-wp-gray{color:#dad8d8}.card-wp-primary .card-content-wp-green,.card-wp-primary .card-header-wp-green,.card-wp-primary .card-title-wp-green,.card-wp-primary .text-wp-green{color:#1dc764}.card-content-wp-primary,.card-header-wp-primary,.card-title-wp-primary{color:#673ab7}.card-wp .text-wp-secondary{color:#32db64}.card-wp-secondary{color:#fff;background-color:#32db64}.card-wp-secondary .card-content-wp,.card-wp-secondary .card-header-wp,.card-wp-secondary .card-title-wp,.card-wp-secondary h1,.card-wp-secondary h2,.card-wp-secondary h3,.card-wp-secondary h4,.card-wp-secondary h5,.card-wp-secondary h6,.card-wp-secondary p{color:#fff}.card-wp-secondary .card-content-wp-primary,.card-wp-secondary .card-header-wp-primary,.card-wp-secondary .card-title-wp-primary,.card-wp-secondary .text-wp-primary{color:#673ab7}.card-wp-secondary .card-content-wp-secondary,.card-wp-secondary .card-header-wp-secondary,.card-wp-secondary .card-title-wp-secondary,.card-wp-secondary .text-wp-secondary{color:#32db64}.card-wp-secondary .card-content-wp-danger,.card-wp-secondary .card-header-wp-danger,.card-wp-secondary .card-title-wp-danger,.card-wp-secondary .text-wp-danger{color:#f53d3d}.card-wp-secondary .card-content-wp-light,.card-wp-secondary .card-header-wp-light,.card-wp-secondary .card-title-wp-light,.card-wp-secondary .text-wp-light{color:#f4f4f4}.card-wp-secondary .card-content-wp-dark,.card-wp-secondary .card-header-wp-dark,.card-wp-secondary .card-title-wp-dark,.card-wp-secondary .text-wp-dark{color:#222}.card-wp-secondary .card-content-wp-optblue,.card-wp-secondary .card-header-wp-optblue,.card-wp-secondary .card-title-wp-optblue,.card-wp-secondary .text-wp-optblue{color:#e00201}.card-wp-secondary .card-content-wp-gray,.card-wp-secondary .card-header-wp-gray,.card-wp-secondary .card-title-wp-gray,.card-wp-secondary .text-wp-gray{color:#dad8d8}.card-wp-secondary .card-content-wp-green,.card-wp-secondary .card-header-wp-green,.card-wp-secondary .card-title-wp-green,.card-wp-secondary .text-wp-green{color:#1dc764}.card-content-wp-secondary,.card-header-wp-secondary,.card-title-wp-secondary{color:#32db64}.card-wp .text-wp-danger{color:#f53d3d}.card-wp-danger{color:#fff;background-color:#f53d3d}.card-wp-danger .card-content-wp,.card-wp-danger .card-header-wp,.card-wp-danger .card-title-wp,.card-wp-danger h1,.card-wp-danger h2,.card-wp-danger h3,.card-wp-danger h4,.card-wp-danger h5,.card-wp-danger h6,.card-wp-danger p{color:#fff}.card-wp-danger .card-content-wp-primary,.card-wp-danger .card-header-wp-primary,.card-wp-danger .card-title-wp-primary,.card-wp-danger .text-wp-primary{color:#673ab7}.card-wp-danger .card-content-wp-secondary,.card-wp-danger .card-header-wp-secondary,.card-wp-danger .card-title-wp-secondary,.card-wp-danger .text-wp-secondary{color:#32db64}.card-wp-danger .card-content-wp-danger,.card-wp-danger .card-header-wp-danger,.card-wp-danger .card-title-wp-danger,.card-wp-danger .text-wp-danger{color:#f53d3d}.card-wp-danger .card-content-wp-light,.card-wp-danger .card-header-wp-light,.card-wp-danger .card-title-wp-light,.card-wp-danger .text-wp-light{color:#f4f4f4}.card-wp-danger .card-content-wp-dark,.card-wp-danger .card-header-wp-dark,.card-wp-danger .card-title-wp-dark,.card-wp-danger .text-wp-dark{color:#222}.card-wp-danger .card-content-wp-optblue,.card-wp-danger .card-header-wp-optblue,.card-wp-danger .card-title-wp-optblue,.card-wp-danger .text-wp-optblue{color:#e00201}.card-wp-danger .card-content-wp-gray,.card-wp-danger .card-header-wp-gray,.card-wp-danger .card-title-wp-gray,.card-wp-danger .text-wp-gray{color:#dad8d8}.card-wp-danger .card-content-wp-green,.card-wp-danger .card-header-wp-green,.card-wp-danger .card-title-wp-green,.card-wp-danger .text-wp-green{color:#1dc764}.card-content-wp-danger,.card-header-wp-danger,.card-title-wp-danger{color:#f53d3d}.card-wp .text-wp-light{color:#f4f4f4}.card-wp-light{color:#000;background-color:#f4f4f4}.card-wp-light .card-content-wp,.card-wp-light .card-header-wp,.card-wp-light .card-title-wp,.card-wp-light h1,.card-wp-light h2,.card-wp-light h3,.card-wp-light h4,.card-wp-light h5,.card-wp-light h6,.card-wp-light p{color:#000}.card-wp-light .card-content-wp-primary,.card-wp-light .card-header-wp-primary,.card-wp-light .card-title-wp-primary,.card-wp-light .text-wp-primary{color:#673ab7}.card-wp-light .card-content-wp-secondary,.card-wp-light .card-header-wp-secondary,.card-wp-light .card-title-wp-secondary,.card-wp-light .text-wp-secondary{color:#32db64}.card-wp-light .card-content-wp-danger,.card-wp-light .card-header-wp-danger,.card-wp-light .card-title-wp-danger,.card-wp-light .text-wp-danger{color:#f53d3d}.card-wp-light .card-content-wp-light,.card-wp-light .card-header-wp-light,.card-wp-light .card-title-wp-light,.card-wp-light .text-wp-light{color:#f4f4f4}.card-wp-light .card-content-wp-dark,.card-wp-light .card-header-wp-dark,.card-wp-light .card-title-wp-dark,.card-wp-light .text-wp-dark{color:#222}.card-wp-light .card-content-wp-optblue,.card-wp-light .card-header-wp-optblue,.card-wp-light .card-title-wp-optblue,.card-wp-light .text-wp-optblue{color:#e00201}.card-wp-light .card-content-wp-gray,.card-wp-light .card-header-wp-gray,.card-wp-light .card-title-wp-gray,.card-wp-light .text-wp-gray{color:#dad8d8}.card-wp-light .card-content-wp-green,.card-wp-light .card-header-wp-green,.card-wp-light .card-title-wp-green,.card-wp-light .text-wp-green{color:#1dc764}.card-content-wp-light,.card-header-wp-light,.card-title-wp-light{color:#f4f4f4}.card-wp .text-wp-dark{color:#222}.card-wp-dark{color:#fff;background-color:#222}.card-wp-dark .card-content-wp,.card-wp-dark .card-header-wp,.card-wp-dark .card-title-wp,.card-wp-dark h1,.card-wp-dark h2,.card-wp-dark h3,.card-wp-dark h4,.card-wp-dark h5,.card-wp-dark h6,.card-wp-dark p{color:#fff}.card-wp-dark .card-content-wp-primary,.card-wp-dark .card-header-wp-primary,.card-wp-dark .card-title-wp-primary,.card-wp-dark .text-wp-primary{color:#673ab7}.card-wp-dark .card-content-wp-secondary,.card-wp-dark .card-header-wp-secondary,.card-wp-dark .card-title-wp-secondary,.card-wp-dark .text-wp-secondary{color:#32db64}.card-wp-dark .card-content-wp-danger,.card-wp-dark .card-header-wp-danger,.card-wp-dark .card-title-wp-danger,.card-wp-dark .text-wp-danger{color:#f53d3d}.card-wp-dark .card-content-wp-light,.card-wp-dark .card-header-wp-light,.card-wp-dark .card-title-wp-light,.card-wp-dark .text-wp-light{color:#f4f4f4}.card-wp-dark .card-content-wp-dark,.card-wp-dark .card-header-wp-dark,.card-wp-dark .card-title-wp-dark,.card-wp-dark .text-wp-dark{color:#222}.card-wp-dark .card-content-wp-optblue,.card-wp-dark .card-header-wp-optblue,.card-wp-dark .card-title-wp-optblue,.card-wp-dark .text-wp-optblue{color:#e00201}.card-wp-dark .card-content-wp-gray,.card-wp-dark .card-header-wp-gray,.card-wp-dark .card-title-wp-gray,.card-wp-dark .text-wp-gray{color:#dad8d8}.card-wp-dark .card-content-wp-green,.card-wp-dark .card-header-wp-green,.card-wp-dark .card-title-wp-green,.card-wp-dark .text-wp-green{color:#1dc764}.card-content-wp-dark,.card-header-wp-dark,.card-title-wp-dark{color:#222}.card-wp .text-wp-optblue{color:#e00201}.card-wp-optblue{color:#fff;background-color:#e00201}.card-wp-optblue .card-content-wp,.card-wp-optblue .card-header-wp,.card-wp-optblue .card-title-wp,.card-wp-optblue h1,.card-wp-optblue h2,.card-wp-optblue h3,.card-wp-optblue h4,.card-wp-optblue h5,.card-wp-optblue h6,.card-wp-optblue p{color:#fff}.card-wp-optblue .card-content-wp-primary,.card-wp-optblue .card-header-wp-primary,.card-wp-optblue .card-title-wp-primary,.card-wp-optblue .text-wp-primary{color:#673ab7}.card-wp-optblue .card-content-wp-secondary,.card-wp-optblue .card-header-wp-secondary,.card-wp-optblue .card-title-wp-secondary,.card-wp-optblue .text-wp-secondary{color:#32db64}.card-wp-optblue .card-content-wp-danger,.card-wp-optblue .card-header-wp-danger,.card-wp-optblue .card-title-wp-danger,.card-wp-optblue .text-wp-danger{color:#f53d3d}.card-wp-optblue .card-content-wp-light,.card-wp-optblue .card-header-wp-light,.card-wp-optblue .card-title-wp-light,.card-wp-optblue .text-wp-light{color:#f4f4f4}.card-wp-optblue .card-content-wp-dark,.card-wp-optblue .card-header-wp-dark,.card-wp-optblue .card-title-wp-dark,.card-wp-optblue .text-wp-dark{color:#222}.card-wp-optblue .card-content-wp-optblue,.card-wp-optblue .card-header-wp-optblue,.card-wp-optblue .card-title-wp-optblue,.card-wp-optblue .text-wp-optblue{color:#e00201}.card-wp-optblue .card-content-wp-gray,.card-wp-optblue .card-header-wp-gray,.card-wp-optblue .card-title-wp-gray,.card-wp-optblue .text-wp-gray{color:#dad8d8}.card-wp-optblue .card-content-wp-green,.card-wp-optblue .card-header-wp-green,.card-wp-optblue .card-title-wp-green,.card-wp-optblue .text-wp-green{color:#1dc764}.card-content-wp-optblue,.card-header-wp-optblue,.card-title-wp-optblue{color:#e00201}.card-wp .text-wp-gray{color:#dad8d8}.card-wp-gray{color:#000;background-color:#dad8d8}.card-wp-gray .card-content-wp,.card-wp-gray .card-header-wp,.card-wp-gray .card-title-wp,.card-wp-gray h1,.card-wp-gray h2,.card-wp-gray h3,.card-wp-gray h4,.card-wp-gray h5,.card-wp-gray h6,.card-wp-gray p{color:#000}.card-wp-gray .card-content-wp-primary,.card-wp-gray .card-header-wp-primary,.card-wp-gray .card-title-wp-primary,.card-wp-gray .text-wp-primary{color:#673ab7}.card-wp-gray .card-content-wp-secondary,.card-wp-gray .card-header-wp-secondary,.card-wp-gray .card-title-wp-secondary,.card-wp-gray .text-wp-secondary{color:#32db64}.card-wp-gray .card-content-wp-danger,.card-wp-gray .card-header-wp-danger,.card-wp-gray .card-title-wp-danger,.card-wp-gray .text-wp-danger{color:#f53d3d}.card-wp-gray .card-content-wp-light,.card-wp-gray .card-header-wp-light,.card-wp-gray .card-title-wp-light,.card-wp-gray .text-wp-light{color:#f4f4f4}.card-wp-gray .card-content-wp-dark,.card-wp-gray .card-header-wp-dark,.card-wp-gray .card-title-wp-dark,.card-wp-gray .text-wp-dark{color:#222}.card-wp-gray .card-content-wp-optblue,.card-wp-gray .card-header-wp-optblue,.card-wp-gray .card-title-wp-optblue,.card-wp-gray .text-wp-optblue{color:#e00201}.card-wp-gray .card-content-wp-gray,.card-wp-gray .card-header-wp-gray,.card-wp-gray .card-title-wp-gray,.card-wp-gray .text-wp-gray{color:#dad8d8}.card-wp-gray .card-content-wp-green,.card-wp-gray .card-header-wp-green,.card-wp-gray .card-title-wp-green,.card-wp-gray .text-wp-green{color:#1dc764}.card-content-wp-gray,.card-header-wp-gray,.card-title-wp-gray{color:#dad8d8}.card-wp .text-wp-green{color:#1dc764}.card-wp-green{color:#fff;background-color:#1dc764}.card-wp-green .card-content-wp,.card-wp-green .card-header-wp,.card-wp-green .card-title-wp,.card-wp-green h1,.card-wp-green h2,.card-wp-green h3,.card-wp-green h4,.card-wp-green h5,.card-wp-green h6,.card-wp-green p{color:#fff}.card-wp-green .card-content-wp-primary,.card-wp-green .card-header-wp-primary,.card-wp-green .card-title-wp-primary,.card-wp-green .text-wp-primary{color:#673ab7}.card-wp-green .card-content-wp-secondary,.card-wp-green .card-header-wp-secondary,.card-wp-green .card-title-wp-secondary,.card-wp-green .text-wp-secondary{color:#32db64}.card-wp-green .card-content-wp-danger,.card-wp-green .card-header-wp-danger,.card-wp-green .card-title-wp-danger,.card-wp-green .text-wp-danger{color:#f53d3d}.card-wp-green .card-content-wp-light,.card-wp-green .card-header-wp-light,.card-wp-green .card-title-wp-light,.card-wp-green .text-wp-light{color:#f4f4f4}.card-wp-green .card-content-wp-dark,.card-wp-green .card-header-wp-dark,.card-wp-green .card-title-wp-dark,.card-wp-green .text-wp-dark{color:#222}.card-wp-green .card-content-wp-optblue,.card-wp-green .card-header-wp-optblue,.card-wp-green .card-title-wp-optblue,.card-wp-green .text-wp-optblue{color:#e00201}.card-wp-green .card-content-wp-gray,.card-wp-green .card-header-wp-gray,.card-wp-green .card-title-wp-gray,.card-wp-green .text-wp-gray{color:#dad8d8}.card-wp-green .card-content-wp-green,.card-wp-green .card-header-wp-green,.card-wp-green .card-title-wp-green,.card-wp-green .text-wp-green{color:#1dc764}.card-content-wp-green,.card-header-wp-green,.card-title-wp-green{color:#1dc764}.checkbox-ios{position:relative;display:inline-block}.checkbox-ios .checkbox-icon{border-radius:50%;position:relative;width:21px;height:21px;border-width:1px;border-style:solid;border-color:#c8c7cc;background-color:#fff}.checkbox-ios .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-ios .checkbox-checked .checkbox-inner{left:7px;top:4px;position:absolute;width:4px;height:9px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-ios.checkbox-disabled,.item-ios.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-ios .checkbox-ios{position:static;display:block;margin:8px 16px 8px 2px}.item.item-ios .checkbox-ios[item-end],.item.item-ios .checkbox-ios[item-right]{margin:10px 8px 9px 0}.checkbox-ios-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-ios-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-ios-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-ios-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-ios-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-ios-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-ios-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-ios-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-gray .checkbox-checked{border-color:#dad8d8;background-color:#dad8d8}.checkbox-ios-gray .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-ios-green .checkbox-checked{border-color:#1dc764;background-color:#1dc764}.checkbox-ios-green .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md{position:relative;display:inline-block}.checkbox-md .checkbox-icon{border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878;background-color:#fff;-webkit-transition-duration:280ms;transition-duration:280ms;-webkit-transition-property:background;transition-property:background;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.checkbox-md .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-md .checkbox-checked .checkbox-inner{left:4px;top:0;position:absolute;width:5px;height:10px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-md.checkbox-disabled,.item-md.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-md .checkbox-md{position:static;display:block;margin:9px 36px 9px 4px}.item.item-md .checkbox-md[item-end],.item.item-md .checkbox-md[item-right]{margin:11px 10px 10px 0}.checkbox-md+.item-inner ion-label{margin-left:0}.checkbox-md-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-md-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-md-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-md-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-md-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-md-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-md-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-md-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-gray .checkbox-checked{border-color:#dad8d8;background-color:#dad8d8}.checkbox-md-gray .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-md-green .checkbox-checked{border-color:#1dc764;background-color:#1dc764}.checkbox-md-green .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp{position:relative;display:inline-block}.checkbox-wp .checkbox-icon{border-radius:0;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#333;background-color:#fff}.checkbox-wp .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-wp .checkbox-checked .checkbox-inner{left:3px;top:-2px;position:absolute;width:6px;height:12px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-wp.checkbox-disabled,.item-wp.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-wp .checkbox-wp{position:static;display:block;margin:9px 16px 9px 4px}.item.item-wp .checkbox-wp[item-end],.item.item-wp .checkbox-wp[item-right]{margin:11px 10px 10px 0}.checkbox-wp+.item-inner ion-label{margin-left:0}.checkbox-wp-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-wp-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-wp-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-wp-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-wp-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-wp-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-wp-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-wp-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-gray .checkbox-checked{border-color:#dad8d8;background-color:#dad8d8}.checkbox-wp-gray .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-wp-green .checkbox-checked{border-color:#1dc764;background-color:#1dc764}.checkbox-wp-green .checkbox-checked .checkbox-inner{border-color:#fff}ion-chip{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;font-weight:400;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}ion-chip .button{border-radius:50%;width:32px;height:32px;margin:0}ion-chip ion-icon{text-align:center;border-radius:50%;width:32px;height:32px;font-size:18px;line-height:32px}ion-chip ion-avatar{border-radius:50%;width:32px;min-width:32px;height:32px;min-height:32px}ion-chip ion-avatar img{border-radius:50%;display:block;width:100%;max-width:100%;height:100%;max-height:100%}.chip-ios{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-ios>ion-label{margin:0 10px}.chip-ios>ion-icon{color:#fff;background-color:#673ab7}.chip-ios .icon-ios-primary,.chip-ios-primary{color:#fff;background-color:#673ab7}.chip-ios .icon-ios-secondary,.chip-ios-secondary{color:#fff;background-color:#32db64}.chip-ios .icon-ios-danger,.chip-ios-danger{color:#fff;background-color:#f53d3d}.chip-ios .icon-ios-light,.chip-ios-light{color:#000;background-color:#f4f4f4}.chip-ios .icon-ios-dark,.chip-ios-dark{color:#fff;background-color:#222}.chip-ios .icon-ios-optblue,.chip-ios-optblue{color:#fff;background-color:#e00201}.chip-ios .icon-ios-gray,.chip-ios-gray{color:#000;background-color:#dad8d8}.chip-ios .icon-ios-green,.chip-ios-green{color:#fff;background-color:#1dc764}.chip-md{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-md>ion-label{margin:0 10px}.chip-md>ion-icon{color:#fff;background-color:#673ab7}.chip-md .icon-md-primary,.chip-md-primary{color:#fff;background-color:#673ab7}.chip-md .icon-md-secondary,.chip-md-secondary{color:#fff;background-color:#32db64}.chip-md .icon-md-danger,.chip-md-danger{color:#fff;background-color:#f53d3d}.chip-md .icon-md-light,.chip-md-light{color:#000;background-color:#f4f4f4}.chip-md .icon-md-dark,.chip-md-dark{color:#fff;background-color:#222}.chip-md .icon-md-optblue,.chip-md-optblue{color:#fff;background-color:#e00201}.chip-md .icon-md-gray,.chip-md-gray{color:#000;background-color:#dad8d8}.chip-md .icon-md-green,.chip-md-green{color:#fff;background-color:#1dc764}.chip-wp{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-wp>ion-label{margin:0 10px}.chip-wp>ion-icon{color:#fff;background-color:#673ab7}.chip-wp .button{border:0}.chip-wp .icon-wp-primary,.chip-wp-primary{color:#fff;background-color:#673ab7}.chip-wp .icon-wp-secondary,.chip-wp-secondary{color:#fff;background-color:#32db64}.chip-wp .icon-wp-danger,.chip-wp-danger{color:#fff;background-color:#f53d3d}.chip-wp .icon-wp-light,.chip-wp-light{color:#000;background-color:#f4f4f4}.chip-wp .icon-wp-dark,.chip-wp-dark{color:#fff;background-color:#222}.chip-wp .icon-wp-optblue,.chip-wp-optblue{color:#fff;background-color:#e00201}.chip-wp .icon-wp-gray,.chip-wp-gray{color:#000;background-color:#dad8d8}.chip-wp .icon-wp-green,.chip-wp-green{color:#fff;background-color:#1dc764}ion-content{left:0;top:0;position:relative;display:block;width:100%;height:100%;contain:layout size style}.ion-page>ion-content{position:absolute}a{color:#673ab7}.scroll-content{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;display:block;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch;will-change:scroll-position;contain:size style layout}ion-content.js-scroll>.scroll-content{position:relative;min-height:100%;overflow-x:initial;overflow-y:initial;-webkit-overflow-scrolling:auto;will-change:initial}.disable-scroll .ion-page{pointer-events:none;-ms-touch-action:none;touch-action:none}ion-content.has-refresher>.scroll-content{background-color:inherit}.fixed-content{left:0;right:0;top:0;bottom:0;position:absolute;display:block}[ion-fixed]{position:absolute;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-app [no-padding],ion-app [no-padding] .scroll-content{padding:0}ion-app [no-margin],ion-app [no-margin] .scroll-content{margin:0}.content-ios{color:#000;background-color:#fff}.content-ios.outer-content{background:#efeff4}.content-ios hr{height:.55px;background-color:rgba(0,0,0,.12)}.ios .ion-page.show-page~.nav-decor{left:0;top:0;position:absolute;z-index:0;display:block;width:100%;height:100%;background:#000;pointer-events:none}ion-app.ios [padding]{padding:16px}ion-app.ios [padding-top]{padding-top:16px}ion-app.ios [padding-left]{padding-left:16px}ion-app.ios [padding-right]{padding-right:16px}ion-app.ios [padding-bottom]{padding-bottom:16px}ion-app.ios [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.ios [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.ios [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.ios [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.ios [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.ios [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.ios [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.ios [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.ios [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.ios [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.ios [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.ios [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.ios [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.ios [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.ios [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.ios [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.ios [margin],ion-app.ios [margin] .scroll-content{margin:16px}ion-app.ios [margin-top],ion-app.ios [margin-top] .scroll-content{margin-top:16px}ion-app.ios [margin-left],ion-app.ios [margin-left] .scroll-content{margin-left:16px}ion-app.ios [margin-start],ion-app.ios [margin-start] .scroll-content{margin-left:16px}ion-app.ios [margin-right],ion-app.ios [margin-right] .scroll-content{margin-right:16px}ion-app.ios [margin-end],ion-app.ios [margin-end] .scroll-content{margin-right:16px}ion-app.ios [margin-bottom],ion-app.ios [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.ios [margin-vertical],ion-app.ios [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.ios [margin-horizontal],ion-app.ios [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}.content-ios:not([no-bounce])>.scroll-content::after,.content-ios:not([no-bounce])>.scroll-content::before{position:absolute;width:1px;height:1px;content:""}.content-ios:not([no-bounce])>.scroll-content::before{bottom:-1px}.content-ios:not([no-bounce])>.scroll-content::after{top:-1px}.platform-core .content-ios .scroll-content::after,.platform-core .content-ios .scroll-content::before{position:initial;top:initial;bottom:initial;width:initial;height:initial}.content-md{color:#000;background-color:#fff}.content-md hr{background-color:rgba(0,0,0,.08)}ion-app.md [padding]{padding:16px}ion-app.md [padding-top]{padding-top:16px}ion-app.md [padding-left]{padding-left:16px}ion-app.md [padding-right]{padding-right:16px}ion-app.md [padding-bottom]{padding-bottom:16px}ion-app.md [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.md [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.md [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.md [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.md [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.md [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.md [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.md [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.md [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.md [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.md [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.md [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.md [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.md [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.md [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.md [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.md [margin],ion-app.md [margin] .scroll-content{margin:16px}ion-app.md [margin-top],ion-app.md [margin-top] .scroll-content{margin-top:16px}ion-app.md [margin-left],ion-app.md [margin-left] .scroll-content{margin-left:16px}ion-app.md [margin-start],ion-app.md [margin-start] .scroll-content{margin-left:16px}ion-app.md [margin-right],ion-app.md [margin-right] .scroll-content{margin-right:16px}ion-app.md [margin-end],ion-app.md [margin-end] .scroll-content{margin-right:16px}ion-app.md [margin-bottom],ion-app.md [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.md [margin-vertical],ion-app.md [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.md [margin-horizontal],ion-app.md [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}.content-wp{color:#000;background-color:#fff}.content-wp hr{background-color:rgba(0,0,0,.08)}ion-app.wp [padding]{padding:16px}ion-app.wp [padding-top]{padding-top:16px}ion-app.wp [padding-left]{padding-left:16px}ion-app.wp [padding-right]{padding-right:16px}ion-app.wp [padding-bottom]{padding-bottom:16px}ion-app.wp [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.wp [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.wp [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.wp [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.wp [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.wp [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.wp [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.wp [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.wp [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.wp [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.wp [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.wp [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.wp [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.wp [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.wp [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.wp [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.wp [margin],ion-app.wp [margin] .scroll-content{margin:16px}ion-app.wp [margin-top],ion-app.wp [margin-top] .scroll-content{margin-top:16px}ion-app.wp [margin-left],ion-app.wp [margin-left] .scroll-content{margin-left:16px}ion-app.wp [margin-start],ion-app.wp [margin-start] .scroll-content{margin-left:16px}ion-app.wp [margin-right],ion-app.wp [margin-right] .scroll-content{margin-right:16px}ion-app.wp [margin-end],ion-app.wp [margin-end] .scroll-content{margin-right:16px}ion-app.wp [margin-bottom],ion-app.wp [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.wp [margin-vertical],ion-app.wp [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.wp [margin-horizontal],ion-app.wp [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}ion-datetime{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden}.datetime-text{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;min-width:16px;min-height:1.2em;font-size:inherit;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.datetime-disabled,.item-datetime-disabled ion-label{opacity:.4;pointer-events:none}.item-label-floating ion-datetime,.item-label-stacked ion-datetime{padding-left:0;width:100%}.datetime-ios{padding:11px 8px 11px 16px}.datetime-ios .datetime-placeholder{color:#999}.datetime-md{padding:13px 8px 13px 16px}.datetime-md .datetime-placeholder{color:#999}.datetime-wp{padding:13px 8px 13px 16px;min-width:45%}.datetime-wp .datetime-text{padding:0 8px;min-height:3.4rem;border:2px solid rgba(0,0,0,.5);line-height:3rem}.item-datetime .datetime-wp ion-label[floating]{-webkit-transform:translate3d(8px,41px,0);transform:translate3d(8px,41px,0)}.datetime-wp .datetime-placeholder{color:rgba(0,0,0,.5)}.fab{text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border-radius:50%;position:relative;z-index:0;display:block;overflow:hidden;width:56px;height:56px;font-size:14px;line-height:56px;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;-webkit-transition:background-color,opacity .1s linear;transition:background-color,opacity .1s linear;background-clip:padding-box;-webkit-font-kerning:none;font-kerning:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;contain:strict}.fab ion-icon{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:2.4rem}.fab[mini]{margin:8px;width:40px;height:40px;line-height:40px}.fab[mini] .fab-close-icon{line-height:40px}ion-fab{position:absolute;z-index:999}ion-fab[center]{left:50%;margin-left:-28px}ion-fab[middle]{margin-top:-28px;top:50%}ion-fab[top]{top:10px}ion-fab[right]{right:10px;right:calc(10px + constant(safe-area-inset-right));right:calc(10px + env(safe-area-inset-right))}ion-fab[end]{right:10px;right:calc(constant(safe-area-inset-right) + 10px);right:calc(env(safe-area-inset-right) + 10px)}ion-fab[bottom]{bottom:10px}ion-fab[left]{left:10px;left:calc(10px + constant(safe-area-inset-left));left:calc(10px + env(safe-area-inset-left))}ion-fab[start]{left:10px;left:calc(constant(safe-area-inset-left) + 10px);left:calc(env(safe-area-inset-left) + 10px)}ion-fab[top][edge]{top:-28px}ion-fab[bottom][edge]{bottom:-28px}ion-fab-list{margin:66px 0;position:absolute;top:0;display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}.fab-in-list{margin:8px 0;width:40px;height:40px;opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0)}.fab-in-list.show{opacity:1;visibility:visible;-webkit-transform:scale(1);transform:scale(1)}ion-fab-list[side=left] .fab-in-list,ion-fab-list[side=right] .fab-in-list{margin:0 8px}ion-fab-list[side=top]{top:auto;bottom:0;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}ion-fab-list[side=left]{margin:0 66px;right:0;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}ion-fab-list[side=right]{margin:0 66px;left:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.fab-list-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.fab-close-icon{left:0;right:0;top:0;position:absolute;line-height:56px;opacity:0;-webkit-transform:scale(.4) rotateZ(-45deg);transform:scale(.4) rotateZ(-45deg);-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fab .button-inner{-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fab-close-active .fab-close-icon{opacity:1;-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}.fab-close-active .button-inner{opacity:0;-webkit-transform:scale(.4) rotateZ(45deg);transform:scale(.4) rotateZ(45deg)}.fab-ios{color:#fff;background-color:#673ab7}.fab-ios.activated{background-color:#734abd}.fab-ios-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms,-webkit-transform .2s ease 10ms}.fab-ios-in-list.activated{background-color:#e0e0e0}.fab-ios-primary{color:#fff;background-color:#673ab7}.fab-ios-primary.activated{background-color:#734abd}.fab-ios-secondary{color:#fff;background-color:#32db64}.fab-ios-secondary.activated{background-color:#2ec95c}.fab-ios-danger{color:#fff;background-color:#f53d3d}.fab-ios-danger.activated{background-color:#e13838}.fab-ios-light{color:#000;background-color:#f4f4f4}.fab-ios-light.activated{background-color:#e0e0e0}.fab-ios-dark{color:#fff;background-color:#222}.fab-ios-dark.activated{background-color:#343434}.fab-ios-optblue{color:#fff;background-color:#e00201}.fab-ios-optblue.activated{background-color:#e21615}.fab-ios-gray{color:#000;background-color:#dad8d8}.fab-ios-gray.activated{background-color:#c9c7c7}.fab-ios-green{color:#fff;background-color:#1dc764}.fab-ios-green.activated{background-color:#2fcb70}.fab-md{color:#fff;background-color:#673ab7;-webkit-box-shadow:0 4px 6px 0 rgba(0,0,0,.14),0 4px 5px rgba(0,0,0,.1);box-shadow:0 4px 6px 0 rgba(0,0,0,.14),0 4px 5px rgba(0,0,0,.1);-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1)}.fab-md.activated{background-color:#734abd;-webkit-box-shadow:0 5px 15px 0 rgba(0,0,0,.4),0 4px 7px 0 rgba(0,0,0,.1);box-shadow:0 5px 15px 0 rgba(0,0,0,.4),0 4px 7px 0 rgba(0,0,0,.1)}.fab-md-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:opacity .2s ease 10ms,background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:transform .2s ease 10ms,opacity .2s ease 10ms,box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:transform .2s ease 10ms,opacity .2s ease 10ms,box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1)}.fab-md-in-list.activated{background-color:#e0e0e0}.fab-md .button-effect{background-color:#fff}.fab-md-primary{color:#fff;background-color:#673ab7}.fab-md-primary.activated{background-color:#734abd}.fab-md-primary .button-effect{background-color:#fff}.fab-md-secondary{color:#fff;background-color:#32db64}.fab-md-secondary.activated{background-color:#2ec95c}.fab-md-secondary .button-effect{background-color:#fff}.fab-md-danger{color:#fff;background-color:#f53d3d}.fab-md-danger.activated{background-color:#e13838}.fab-md-danger .button-effect{background-color:#fff}.fab-md-light{color:#000;background-color:#f4f4f4}.fab-md-light.activated{background-color:#e0e0e0}.fab-md-light .button-effect{background-color:#000}.fab-md-dark{color:#fff;background-color:#222}.fab-md-dark.activated{background-color:#343434}.fab-md-dark .button-effect{background-color:#fff}.fab-md-optblue{color:#fff;background-color:#e00201}.fab-md-optblue.activated{background-color:#e21615}.fab-md-optblue .button-effect{background-color:#fff}.fab-md-gray{color:#000;background-color:#dad8d8}.fab-md-gray.activated{background-color:#c9c7c7}.fab-md-gray .button-effect{background-color:#000}.fab-md-green{color:#fff;background-color:#1dc764}.fab-md-green.activated{background-color:#2fcb70}.fab-md-green .button-effect{background-color:#fff}.fab-wp{color:#fff;background-color:#673ab7}.fab-wp.activated{background-color:#734abd}.fab-wp-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms,-webkit-transform .2s ease 10ms}.fab-wp-in-list.activated{background-color:#e0e0e0}.fab-wp-primary{color:#fff;background-color:#673ab7}.fab-wp-primary.activated{background-color:#734abd}.fab-wp-secondary{color:#fff;background-color:#32db64}.fab-wp-secondary.activated{background-color:#2ec95c}.fab-wp-danger{color:#fff;background-color:#f53d3d}.fab-wp-danger.activated{background-color:#e13838}.fab-wp-light{color:#000;background-color:#f4f4f4}.fab-wp-light.activated{background-color:#e0e0e0}.fab-wp-dark{color:#fff;background-color:#222}.fab-wp-dark.activated{background-color:#343434}.fab-wp-optblue{color:#fff;background-color:#e00201}.fab-wp-optblue.activated{background-color:#e21615}.fab-wp-gray{color:#000;background-color:#dad8d8}.fab-wp-gray.activated{background-color:#c9c7c7}.fab-wp-green{color:#fff;background-color:#1dc764}.fab-wp-green.activated{background-color:#2fcb70}.grid{padding:5px;margin-left:auto;margin-right:auto;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.grid[no-padding]{padding:0}.grid[no-padding]>.row>.col{padding:0}@media (min-width:576px){.grid[fixed]{width:540px;max-width:100%}}@media (min-width:768px){.grid[fixed]{width:720px;max-width:100%}}@media (min-width:992px){.grid[fixed]{width:960px;max-width:100%}}@media (min-width:1200px){.grid[fixed]{width:1140px;max-width:100%}}.row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.row[nowrap]{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.row[wrap-reverse]{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.row[align-items-start]{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.row[align-items-center]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.row[align-items-end]{-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end}.row[align-items-stretch]{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.row[align-items-baseline]{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}.row[justify-content-start]{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.row[justify-content-center]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.row[justify-content-end]{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.row[justify-content-around]{-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.row[justify-content-between]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.col{padding:5px;position:relative;width:100%;margin:0;min-height:1px;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col[align-self-start]{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.col[align-self-end]{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.col[align-self-center]{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.col[align-self-stretch]{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch}.col[align-self-baseline]{-webkit-align-self:baseline;-ms-flex-item-align:baseline;align-self:baseline}[col-1]{padding:5px}@media (min-width:576px){[col-1]{padding:5px}}@media (min-width:768px){[col-1]{padding:5px}}@media (min-width:992px){[col-1]{padding:5px}}@media (min-width:1200px){[col-1]{padding:5px}}[col-2]{padding:5px}@media (min-width:576px){[col-2]{padding:5px}}@media (min-width:768px){[col-2]{padding:5px}}@media (min-width:992px){[col-2]{padding:5px}}@media (min-width:1200px){[col-2]{padding:5px}}[col-3]{padding:5px}@media (min-width:576px){[col-3]{padding:5px}}@media (min-width:768px){[col-3]{padding:5px}}@media (min-width:992px){[col-3]{padding:5px}}@media (min-width:1200px){[col-3]{padding:5px}}[col-4]{padding:5px}@media (min-width:576px){[col-4]{padding:5px}}@media (min-width:768px){[col-4]{padding:5px}}@media (min-width:992px){[col-4]{padding:5px}}@media (min-width:1200px){[col-4]{padding:5px}}[col-5]{padding:5px}@media (min-width:576px){[col-5]{padding:5px}}@media (min-width:768px){[col-5]{padding:5px}}@media (min-width:992px){[col-5]{padding:5px}}@media (min-width:1200px){[col-5]{padding:5px}}[col-6]{padding:5px}@media (min-width:576px){[col-6]{padding:5px}}@media (min-width:768px){[col-6]{padding:5px}}@media (min-width:992px){[col-6]{padding:5px}}@media (min-width:1200px){[col-6]{padding:5px}}[col-7]{padding:5px}@media (min-width:576px){[col-7]{padding:5px}}@media (min-width:768px){[col-7]{padding:5px}}@media (min-width:992px){[col-7]{padding:5px}}@media (min-width:1200px){[col-7]{padding:5px}}[col-8]{padding:5px}@media (min-width:576px){[col-8]{padding:5px}}@media (min-width:768px){[col-8]{padding:5px}}@media (min-width:992px){[col-8]{padding:5px}}@media (min-width:1200px){[col-8]{padding:5px}}[col-9]{padding:5px}@media (min-width:576px){[col-9]{padding:5px}}@media (min-width:768px){[col-9]{padding:5px}}@media (min-width:992px){[col-9]{padding:5px}}@media (min-width:1200px){[col-9]{padding:5px}}[col-10]{padding:5px}@media (min-width:576px){[col-10]{padding:5px}}@media (min-width:768px){[col-10]{padding:5px}}@media (min-width:992px){[col-10]{padding:5px}}@media (min-width:1200px){[col-10]{padding:5px}}[col-11]{padding:5px}@media (min-width:576px){[col-11]{padding:5px}}@media (min-width:768px){[col-11]{padding:5px}}@media (min-width:992px){[col-11]{padding:5px}}@media (min-width:1200px){[col-11]{padding:5px}}[col-12]{padding:5px}@media (min-width:576px){[col-12]{padding:5px}}@media (min-width:768px){[col-12]{padding:5px}}@media (min-width:992px){[col-12]{padding:5px}}@media (min-width:1200px){[col-12]{padding:5px}}[col]{padding:5px}@media (min-width:576px){[col]{padding:5px}}@media (min-width:768px){[col]{padding:5px}}@media (min-width:992px){[col]{padding:5px}}@media (min-width:1200px){[col]{padding:5px}}[col]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-0]{right:auto}[pull-1]{right:8.33333%}[pull-2]{right:16.66667%}[pull-3]{right:25%}[pull-4]{right:33.33333%}[pull-5]{right:41.66667%}[pull-6]{right:50%}[pull-7]{right:58.33333%}[pull-8]{right:66.66667%}[pull-9]{right:75%}[pull-10]{right:83.33333%}[pull-11]{right:91.66667%}[pull-12]{right:100%}[push-0]{left:auto}[push-1]{left:8.33333%}[push-2]{left:16.66667%}[push-3]{left:25%}[push-4]{left:33.33333%}[push-5]{left:41.66667%}[push-6]{left:50%}[push-7]{left:58.33333%}[push-8]{left:66.66667%}[push-9]{left:75%}[push-10]{left:83.33333%}[push-11]{left:91.66667%}[push-12]{left:100%}[offset-1]{margin-left:8.33333%}[offset-2]{margin-left:16.66667%}[offset-3]{margin-left:25%}[offset-4]{margin-left:33.33333%}[offset-5]{margin-left:41.66667%}[offset-6]{margin-left:50%}[offset-7]{margin-left:58.33333%}[offset-8]{margin-left:66.66667%}[offset-9]{margin-left:75%}[offset-10]{margin-left:83.33333%}[offset-11]{margin-left:91.66667%}[col-sm-1]{padding:5px}@media (min-width:576px){[col-sm-1]{padding:5px}}@media (min-width:768px){[col-sm-1]{padding:5px}}@media (min-width:992px){[col-sm-1]{padding:5px}}@media (min-width:1200px){[col-sm-1]{padding:5px}}[col-sm-2]{padding:5px}@media (min-width:576px){[col-sm-2]{padding:5px}}@media (min-width:768px){[col-sm-2]{padding:5px}}@media (min-width:992px){[col-sm-2]{padding:5px}}@media (min-width:1200px){[col-sm-2]{padding:5px}}[col-sm-3]{padding:5px}@media (min-width:576px){[col-sm-3]{padding:5px}}@media (min-width:768px){[col-sm-3]{padding:5px}}@media (min-width:992px){[col-sm-3]{padding:5px}}@media (min-width:1200px){[col-sm-3]{padding:5px}}[col-sm-4]{padding:5px}@media (min-width:576px){[col-sm-4]{padding:5px}}@media (min-width:768px){[col-sm-4]{padding:5px}}@media (min-width:992px){[col-sm-4]{padding:5px}}@media (min-width:1200px){[col-sm-4]{padding:5px}}[col-sm-5]{padding:5px}@media (min-width:576px){[col-sm-5]{padding:5px}}@media (min-width:768px){[col-sm-5]{padding:5px}}@media (min-width:992px){[col-sm-5]{padding:5px}}@media (min-width:1200px){[col-sm-5]{padding:5px}}[col-sm-6]{padding:5px}@media (min-width:576px){[col-sm-6]{padding:5px}}@media (min-width:768px){[col-sm-6]{padding:5px}}@media (min-width:992px){[col-sm-6]{padding:5px}}@media (min-width:1200px){[col-sm-6]{padding:5px}}[col-sm-7]{padding:5px}@media (min-width:576px){[col-sm-7]{padding:5px}}@media (min-width:768px){[col-sm-7]{padding:5px}}@media (min-width:992px){[col-sm-7]{padding:5px}}@media (min-width:1200px){[col-sm-7]{padding:5px}}[col-sm-8]{padding:5px}@media (min-width:576px){[col-sm-8]{padding:5px}}@media (min-width:768px){[col-sm-8]{padding:5px}}@media (min-width:992px){[col-sm-8]{padding:5px}}@media (min-width:1200px){[col-sm-8]{padding:5px}}[col-sm-9]{padding:5px}@media (min-width:576px){[col-sm-9]{padding:5px}}@media (min-width:768px){[col-sm-9]{padding:5px}}@media (min-width:992px){[col-sm-9]{padding:5px}}@media (min-width:1200px){[col-sm-9]{padding:5px}}[col-sm-10]{padding:5px}@media (min-width:576px){[col-sm-10]{padding:5px}}@media (min-width:768px){[col-sm-10]{padding:5px}}@media (min-width:992px){[col-sm-10]{padding:5px}}@media (min-width:1200px){[col-sm-10]{padding:5px}}[col-sm-11]{padding:5px}@media (min-width:576px){[col-sm-11]{padding:5px}}@media (min-width:768px){[col-sm-11]{padding:5px}}@media (min-width:992px){[col-sm-11]{padding:5px}}@media (min-width:1200px){[col-sm-11]{padding:5px}}[col-sm-12]{padding:5px}@media (min-width:576px){[col-sm-12]{padding:5px}}@media (min-width:768px){[col-sm-12]{padding:5px}}@media (min-width:992px){[col-sm-12]{padding:5px}}@media (min-width:1200px){[col-sm-12]{padding:5px}}[col-sm]{padding:5px}@media (min-width:576px){[col-sm]{padding:5px}}@media (min-width:768px){[col-sm]{padding:5px}}@media (min-width:992px){[col-sm]{padding:5px}}@media (min-width:1200px){[col-sm]{padding:5px}}@media (min-width:576px){[col-sm]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-sm-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-sm-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-sm-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-sm-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-sm-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-sm-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-sm-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-sm-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-sm-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-sm-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-sm-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-sm-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-sm-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-sm-0]{right:auto}[pull-sm-1]{right:8.33333%}[pull-sm-2]{right:16.66667%}[pull-sm-3]{right:25%}[pull-sm-4]{right:33.33333%}[pull-sm-5]{right:41.66667%}[pull-sm-6]{right:50%}[pull-sm-7]{right:58.33333%}[pull-sm-8]{right:66.66667%}[pull-sm-9]{right:75%}[pull-sm-10]{right:83.33333%}[pull-sm-11]{right:91.66667%}[pull-sm-12]{right:100%}[push-sm-0]{left:auto}[push-sm-1]{left:8.33333%}[push-sm-2]{left:16.66667%}[push-sm-3]{left:25%}[push-sm-4]{left:33.33333%}[push-sm-5]{left:41.66667%}[push-sm-6]{left:50%}[push-sm-7]{left:58.33333%}[push-sm-8]{left:66.66667%}[push-sm-9]{left:75%}[push-sm-10]{left:83.33333%}[push-sm-11]{left:91.66667%}[push-sm-12]{left:100%}[offset-sm-0]{margin-left:0}[offset-sm-1]{margin-left:8.33333%}[offset-sm-2]{margin-left:16.66667%}[offset-sm-3]{margin-left:25%}[offset-sm-4]{margin-left:33.33333%}[offset-sm-5]{margin-left:41.66667%}[offset-sm-6]{margin-left:50%}[offset-sm-7]{margin-left:58.33333%}[offset-sm-8]{margin-left:66.66667%}[offset-sm-9]{margin-left:75%}[offset-sm-10]{margin-left:83.33333%}[offset-sm-11]{margin-left:91.66667%}}[col-md-1]{padding:5px}@media (min-width:576px){[col-md-1]{padding:5px}}@media (min-width:768px){[col-md-1]{padding:5px}}@media (min-width:992px){[col-md-1]{padding:5px}}@media (min-width:1200px){[col-md-1]{padding:5px}}[col-md-2]{padding:5px}@media (min-width:576px){[col-md-2]{padding:5px}}@media (min-width:768px){[col-md-2]{padding:5px}}@media (min-width:992px){[col-md-2]{padding:5px}}@media (min-width:1200px){[col-md-2]{padding:5px}}[col-md-3]{padding:5px}@media (min-width:576px){[col-md-3]{padding:5px}}@media (min-width:768px){[col-md-3]{padding:5px}}@media (min-width:992px){[col-md-3]{padding:5px}}@media (min-width:1200px){[col-md-3]{padding:5px}}[col-md-4]{padding:5px}@media (min-width:576px){[col-md-4]{padding:5px}}@media (min-width:768px){[col-md-4]{padding:5px}}@media (min-width:992px){[col-md-4]{padding:5px}}@media (min-width:1200px){[col-md-4]{padding:5px}}[col-md-5]{padding:5px}@media (min-width:576px){[col-md-5]{padding:5px}}@media (min-width:768px){[col-md-5]{padding:5px}}@media (min-width:992px){[col-md-5]{padding:5px}}@media (min-width:1200px){[col-md-5]{padding:5px}}[col-md-6]{padding:5px}@media (min-width:576px){[col-md-6]{padding:5px}}@media (min-width:768px){[col-md-6]{padding:5px}}@media (min-width:992px){[col-md-6]{padding:5px}}@media (min-width:1200px){[col-md-6]{padding:5px}}[col-md-7]{padding:5px}@media (min-width:576px){[col-md-7]{padding:5px}}@media (min-width:768px){[col-md-7]{padding:5px}}@media (min-width:992px){[col-md-7]{padding:5px}}@media (min-width:1200px){[col-md-7]{padding:5px}}[col-md-8]{padding:5px}@media (min-width:576px){[col-md-8]{padding:5px}}@media (min-width:768px){[col-md-8]{padding:5px}}@media (min-width:992px){[col-md-8]{padding:5px}}@media (min-width:1200px){[col-md-8]{padding:5px}}[col-md-9]{padding:5px}@media (min-width:576px){[col-md-9]{padding:5px}}@media (min-width:768px){[col-md-9]{padding:5px}}@media (min-width:992px){[col-md-9]{padding:5px}}@media (min-width:1200px){[col-md-9]{padding:5px}}[col-md-10]{padding:5px}@media (min-width:576px){[col-md-10]{padding:5px}}@media (min-width:768px){[col-md-10]{padding:5px}}@media (min-width:992px){[col-md-10]{padding:5px}}@media (min-width:1200px){[col-md-10]{padding:5px}}[col-md-11]{padding:5px}@media (min-width:576px){[col-md-11]{padding:5px}}@media (min-width:768px){[col-md-11]{padding:5px}}@media (min-width:992px){[col-md-11]{padding:5px}}@media (min-width:1200px){[col-md-11]{padding:5px}}[col-md-12]{padding:5px}@media (min-width:576px){[col-md-12]{padding:5px}}@media (min-width:768px){[col-md-12]{padding:5px}}@media (min-width:992px){[col-md-12]{padding:5px}}@media (min-width:1200px){[col-md-12]{padding:5px}}[col-md]{padding:5px}@media (min-width:576px){[col-md]{padding:5px}}@media (min-width:768px){[col-md]{padding:5px}}@media (min-width:992px){[col-md]{padding:5px}}@media (min-width:1200px){[col-md]{padding:5px}}@media (min-width:768px){[col-md]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-md-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-md-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-md-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-md-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-md-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-md-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-md-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-md-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-md-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-md-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-md-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-md-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-md-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-md-0]{right:auto}[pull-md-1]{right:8.33333%}[pull-md-2]{right:16.66667%}[pull-md-3]{right:25%}[pull-md-4]{right:33.33333%}[pull-md-5]{right:41.66667%}[pull-md-6]{right:50%}[pull-md-7]{right:58.33333%}[pull-md-8]{right:66.66667%}[pull-md-9]{right:75%}[pull-md-10]{right:83.33333%}[pull-md-11]{right:91.66667%}[pull-md-12]{right:100%}[push-md-0]{left:auto}[push-md-1]{left:8.33333%}[push-md-2]{left:16.66667%}[push-md-3]{left:25%}[push-md-4]{left:33.33333%}[push-md-5]{left:41.66667%}[push-md-6]{left:50%}[push-md-7]{left:58.33333%}[push-md-8]{left:66.66667%}[push-md-9]{left:75%}[push-md-10]{left:83.33333%}[push-md-11]{left:91.66667%}[push-md-12]{left:100%}[offset-md-0]{margin-left:0}[offset-md-1]{margin-left:8.33333%}[offset-md-2]{margin-left:16.66667%}[offset-md-3]{margin-left:25%}[offset-md-4]{margin-left:33.33333%}[offset-md-5]{margin-left:41.66667%}[offset-md-6]{margin-left:50%}[offset-md-7]{margin-left:58.33333%}[offset-md-8]{margin-left:66.66667%}[offset-md-9]{margin-left:75%}[offset-md-10]{margin-left:83.33333%}[offset-md-11]{margin-left:91.66667%}}[col-lg-1]{padding:5px}@media (min-width:576px){[col-lg-1]{padding:5px}}@media (min-width:768px){[col-lg-1]{padding:5px}}@media (min-width:992px){[col-lg-1]{padding:5px}}@media (min-width:1200px){[col-lg-1]{padding:5px}}[col-lg-2]{padding:5px}@media (min-width:576px){[col-lg-2]{padding:5px}}@media (min-width:768px){[col-lg-2]{padding:5px}}@media (min-width:992px){[col-lg-2]{padding:5px}}@media (min-width:1200px){[col-lg-2]{padding:5px}}[col-lg-3]{padding:5px}@media (min-width:576px){[col-lg-3]{padding:5px}}@media (min-width:768px){[col-lg-3]{padding:5px}}@media (min-width:992px){[col-lg-3]{padding:5px}}@media (min-width:1200px){[col-lg-3]{padding:5px}}[col-lg-4]{padding:5px}@media (min-width:576px){[col-lg-4]{padding:5px}}@media (min-width:768px){[col-lg-4]{padding:5px}}@media (min-width:992px){[col-lg-4]{padding:5px}}@media (min-width:1200px){[col-lg-4]{padding:5px}}[col-lg-5]{padding:5px}@media (min-width:576px){[col-lg-5]{padding:5px}}@media (min-width:768px){[col-lg-5]{padding:5px}}@media (min-width:992px){[col-lg-5]{padding:5px}}@media (min-width:1200px){[col-lg-5]{padding:5px}}[col-lg-6]{padding:5px}@media (min-width:576px){[col-lg-6]{padding:5px}}@media (min-width:768px){[col-lg-6]{padding:5px}}@media (min-width:992px){[col-lg-6]{padding:5px}}@media (min-width:1200px){[col-lg-6]{padding:5px}}[col-lg-7]{padding:5px}@media (min-width:576px){[col-lg-7]{padding:5px}}@media (min-width:768px){[col-lg-7]{padding:5px}}@media (min-width:992px){[col-lg-7]{padding:5px}}@media (min-width:1200px){[col-lg-7]{padding:5px}}[col-lg-8]{padding:5px}@media (min-width:576px){[col-lg-8]{padding:5px}}@media (min-width:768px){[col-lg-8]{padding:5px}}@media (min-width:992px){[col-lg-8]{padding:5px}}@media (min-width:1200px){[col-lg-8]{padding:5px}}[col-lg-9]{padding:5px}@media (min-width:576px){[col-lg-9]{padding:5px}}@media (min-width:768px){[col-lg-9]{padding:5px}}@media (min-width:992px){[col-lg-9]{padding:5px}}@media (min-width:1200px){[col-lg-9]{padding:5px}}[col-lg-10]{padding:5px}@media (min-width:576px){[col-lg-10]{padding:5px}}@media (min-width:768px){[col-lg-10]{padding:5px}}@media (min-width:992px){[col-lg-10]{padding:5px}}@media (min-width:1200px){[col-lg-10]{padding:5px}}[col-lg-11]{padding:5px}@media (min-width:576px){[col-lg-11]{padding:5px}}@media (min-width:768px){[col-lg-11]{padding:5px}}@media (min-width:992px){[col-lg-11]{padding:5px}}@media (min-width:1200px){[col-lg-11]{padding:5px}}[col-lg-12]{padding:5px}@media (min-width:576px){[col-lg-12]{padding:5px}}@media (min-width:768px){[col-lg-12]{padding:5px}}@media (min-width:992px){[col-lg-12]{padding:5px}}@media (min-width:1200px){[col-lg-12]{padding:5px}}[col-lg]{padding:5px}@media (min-width:576px){[col-lg]{padding:5px}}@media (min-width:768px){[col-lg]{padding:5px}}@media (min-width:992px){[col-lg]{padding:5px}}@media (min-width:1200px){[col-lg]{padding:5px}}@media (min-width:992px){[col-lg]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-lg-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-lg-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-lg-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-lg-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-lg-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-lg-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-lg-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-lg-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-lg-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-lg-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-lg-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-lg-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-lg-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-lg-0]{right:auto}[pull-lg-1]{right:8.33333%}[pull-lg-2]{right:16.66667%}[pull-lg-3]{right:25%}[pull-lg-4]{right:33.33333%}[pull-lg-5]{right:41.66667%}[pull-lg-6]{right:50%}[pull-lg-7]{right:58.33333%}[pull-lg-8]{right:66.66667%}[pull-lg-9]{right:75%}[pull-lg-10]{right:83.33333%}[pull-lg-11]{right:91.66667%}[pull-lg-12]{right:100%}[push-lg-0]{left:auto}[push-lg-1]{left:8.33333%}[push-lg-2]{left:16.66667%}[push-lg-3]{left:25%}[push-lg-4]{left:33.33333%}[push-lg-5]{left:41.66667%}[push-lg-6]{left:50%}[push-lg-7]{left:58.33333%}[push-lg-8]{left:66.66667%}[push-lg-9]{left:75%}[push-lg-10]{left:83.33333%}[push-lg-11]{left:91.66667%}[push-lg-12]{left:100%}[offset-lg-0]{margin-left:0}[offset-lg-1]{margin-left:8.33333%}[offset-lg-2]{margin-left:16.66667%}[offset-lg-3]{margin-left:25%}[offset-lg-4]{margin-left:33.33333%}[offset-lg-5]{margin-left:41.66667%}[offset-lg-6]{margin-left:50%}[offset-lg-7]{margin-left:58.33333%}[offset-lg-8]{margin-left:66.66667%}[offset-lg-9]{margin-left:75%}[offset-lg-10]{margin-left:83.33333%}[offset-lg-11]{margin-left:91.66667%}}[col-xl-1]{padding:5px}@media (min-width:576px){[col-xl-1]{padding:5px}}@media (min-width:768px){[col-xl-1]{padding:5px}}@media (min-width:992px){[col-xl-1]{padding:5px}}@media (min-width:1200px){[col-xl-1]{padding:5px}}[col-xl-2]{padding:5px}@media (min-width:576px){[col-xl-2]{padding:5px}}@media (min-width:768px){[col-xl-2]{padding:5px}}@media (min-width:992px){[col-xl-2]{padding:5px}}@media (min-width:1200px){[col-xl-2]{padding:5px}}[col-xl-3]{padding:5px}@media (min-width:576px){[col-xl-3]{padding:5px}}@media (min-width:768px){[col-xl-3]{padding:5px}}@media (min-width:992px){[col-xl-3]{padding:5px}}@media (min-width:1200px){[col-xl-3]{padding:5px}}[col-xl-4]{padding:5px}@media (min-width:576px){[col-xl-4]{padding:5px}}@media (min-width:768px){[col-xl-4]{padding:5px}}@media (min-width:992px){[col-xl-4]{padding:5px}}@media (min-width:1200px){[col-xl-4]{padding:5px}}[col-xl-5]{padding:5px}@media (min-width:576px){[col-xl-5]{padding:5px}}@media (min-width:768px){[col-xl-5]{padding:5px}}@media (min-width:992px){[col-xl-5]{padding:5px}}@media (min-width:1200px){[col-xl-5]{padding:5px}}[col-xl-6]{padding:5px}@media (min-width:576px){[col-xl-6]{padding:5px}}@media (min-width:768px){[col-xl-6]{padding:5px}}@media (min-width:992px){[col-xl-6]{padding:5px}}@media (min-width:1200px){[col-xl-6]{padding:5px}}[col-xl-7]{padding:5px}@media (min-width:576px){[col-xl-7]{padding:5px}}@media (min-width:768px){[col-xl-7]{padding:5px}}@media (min-width:992px){[col-xl-7]{padding:5px}}@media (min-width:1200px){[col-xl-7]{padding:5px}}[col-xl-8]{padding:5px}@media (min-width:576px){[col-xl-8]{padding:5px}}@media (min-width:768px){[col-xl-8]{padding:5px}}@media (min-width:992px){[col-xl-8]{padding:5px}}@media (min-width:1200px){[col-xl-8]{padding:5px}}[col-xl-9]{padding:5px}@media (min-width:576px){[col-xl-9]{padding:5px}}@media (min-width:768px){[col-xl-9]{padding:5px}}@media (min-width:992px){[col-xl-9]{padding:5px}}@media (min-width:1200px){[col-xl-9]{padding:5px}}[col-xl-10]{padding:5px}@media (min-width:576px){[col-xl-10]{padding:5px}}@media (min-width:768px){[col-xl-10]{padding:5px}}@media (min-width:992px){[col-xl-10]{padding:5px}}@media (min-width:1200px){[col-xl-10]{padding:5px}}[col-xl-11]{padding:5px}@media (min-width:576px){[col-xl-11]{padding:5px}}@media (min-width:768px){[col-xl-11]{padding:5px}}@media (min-width:992px){[col-xl-11]{padding:5px}}@media (min-width:1200px){[col-xl-11]{padding:5px}}[col-xl-12]{padding:5px}@media (min-width:576px){[col-xl-12]{padding:5px}}@media (min-width:768px){[col-xl-12]{padding:5px}}@media (min-width:992px){[col-xl-12]{padding:5px}}@media (min-width:1200px){[col-xl-12]{padding:5px}}[col-xl]{padding:5px}@media (min-width:576px){[col-xl]{padding:5px}}@media (min-width:768px){[col-xl]{padding:5px}}@media (min-width:992px){[col-xl]{padding:5px}}@media (min-width:1200px){[col-xl]{padding:5px}}@media (min-width:1200px){[col-xl]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-xl-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-xl-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-xl-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-xl-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-xl-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-xl-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-xl-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-xl-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-xl-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-xl-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-xl-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-xl-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-xl-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-xl-0]{right:auto}[pull-xl-1]{right:8.33333%}[pull-xl-2]{right:16.66667%}[pull-xl-3]{right:25%}[pull-xl-4]{right:33.33333%}[pull-xl-5]{right:41.66667%}[pull-xl-6]{right:50%}[pull-xl-7]{right:58.33333%}[pull-xl-8]{right:66.66667%}[pull-xl-9]{right:75%}[pull-xl-10]{right:83.33333%}[pull-xl-11]{right:91.66667%}[pull-xl-12]{right:100%}[push-xl-0]{left:auto}[push-xl-1]{left:8.33333%}[push-xl-2]{left:16.66667%}[push-xl-3]{left:25%}[push-xl-4]{left:33.33333%}[push-xl-5]{left:41.66667%}[push-xl-6]{left:50%}[push-xl-7]{left:58.33333%}[push-xl-8]{left:66.66667%}[push-xl-9]{left:75%}[push-xl-10]{left:83.33333%}[push-xl-11]{left:91.66667%}[push-xl-12]{left:100%}[offset-xl-0]{margin-left:0}[offset-xl-1]{margin-left:8.33333%}[offset-xl-2]{margin-left:16.66667%}[offset-xl-3]{margin-left:25%}[offset-xl-4]{margin-left:33.33333%}[offset-xl-5]{margin-left:41.66667%}[offset-xl-6]{margin-left:50%}[offset-xl-7]{margin-left:58.33333%}[offset-xl-8]{margin-left:66.66667%}[offset-xl-9]{margin-left:75%}[offset-xl-10]{margin-left:83.33333%}[offset-xl-11]{margin-left:91.66667%}}ion-icon{display:inline-block;font-size:1.2em}ion-icon[small]{min-height:1.1em;font-size:1.1em}.icon-ios-primary{color:#673ab7}.icon-ios-secondary{color:#32db64}.icon-ios-danger{color:#f53d3d}.icon-ios-light{color:#f4f4f4}.icon-ios-dark{color:#222}.icon-ios-optblue{color:#e00201}.icon-ios-gray{color:#dad8d8}.icon-ios-green{color:#1dc764}.icon-md-primary{color:#673ab7}.icon-md-secondary{color:#32db64}.icon-md-danger{color:#f53d3d}.icon-md-light{color:#f4f4f4}.icon-md-dark{color:#222}.icon-md-optblue{color:#e00201}.icon-md-gray{color:#dad8d8}.icon-md-green{color:#1dc764}.icon-wp-primary{color:#673ab7}.icon-wp-secondary{color:#32db64}.icon-wp-danger{color:#f53d3d}.icon-wp-light{color:#f4f4f4}.icon-wp-dark{color:#222}.icon-wp-optblue{color:#e00201}.icon-wp-gray{color:#dad8d8}.icon-wp-green{color:#1dc764}ion-img{display:inline-block;min-width:20px;min-height:20px;background:#eee;contain:strict}ion-img img{-o-object-fit:cover;object-fit:cover}ion-img.img-unloaded img{display:none}ion-img.img-loaded img{display:block}ion-infinite-scroll{display:block;width:100%}ion-infinite-scroll-content{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;min-height:84px}.infinite-loading{display:none;width:100%;margin:0 0 32px}.infinite-loading-text{color:#666;margin:4px 32px 0}.infinite-loading-spinner .spinner-crescent circle,.infinite-loading-spinner .spinner-ios line,.infinite-loading-spinner .spinner-ios-small line{stroke:#666}.infinite-loading-spinner .spinner-bubbles circle,.infinite-loading-spinner .spinner-circles circle,.infinite-loading-spinner .spinner-dots circle{fill:#666}ion-infinite-scroll-content[state=loading] .infinite-loading{display:block}ion-infinite-scroll-content[state=disabled]{display:none}ion-input,ion-textarea{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%}.item-input ion-input,.item-input ion-textarea{position:static}.item.item-textarea{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.text-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border-radius:0;display:inline-block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:92%;width:calc(100% - 10px);border:0;background:0 0}.text-input::-moz-placeholder{color:#999}.text-input:-ms-input-placeholder{color:#999}.text-input::-webkit-input-placeholder{text-indent:0;color:#999}textarea.text-input{display:block}.text-input[disabled]{opacity:.4}input.text-input:-webkit-autofill{background-color:transparent}.platform-mobile textarea.text-input{resize:none}.input-cover{left:0;top:0;position:absolute;width:100%;height:100%;-ms-touch-action:manipulation;touch-action:manipulation}.input[disabled] .input-cover{pointer-events:none}.input-has-focus .input-cover,.item-input-has-focus .input-cover{display:none}.input-has-focus,.item-input-has-focus{pointer-events:none}.input-has-focus a,.input-has-focus button,.input-has-focus input,.input-has-focus textarea,.item-input-has-focus a,.item-input-has-focus button,.item-input-has-focus input,.item-input-has-focus textarea{pointer-events:auto}.text-input-clear-icon{margin:0;padding:0;background-position:center;position:absolute;top:0;display:none;height:100%;background-repeat:no-repeat}.input-has-focus.input-has-value .text-input-clear-icon,.item-input-has-focus.item-input-has-value .text-input-clear-icon{display:block}.text-input-ios{margin:11px 8px 11px 0;padding:0;width:calc(100% - 8px)}.input-ios .inset-input{padding:5.5px 8px;margin:5.5px 16px 5.5px 0}.item-ios.item-label-floating .text-input,.item-ios.item-label-stacked .text-input{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-ios.item-label-floating .label-ios+.input+.cloned-input,.item-ios.item-label-stacked .label-ios+.input+.cloned-input{margin-left:0}.item-label-floating .select-ios,.item-label-stacked .select-ios{padding-left:0;padding-top:8px;padding-bottom:8px}.input-ios[clearInput]{position:relative}.input-ios[clearInput] .text-input{padding-right:30px}.input-ios .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:18px}.text-input-md{margin:13px 8px;padding:0;width:calc(100% - 8px - 8px)}.input-md .inset-input{padding:6.5px 8px;margin:6.5px 16px}.item-md.item-input.input-has-focus .item-inner,.item-md.item-input.item-input-has-focus .item-inner{border-bottom-color:#673ab7;-webkit-box-shadow:inset 0 -1px 0 0 #673ab7;box-shadow:inset 0 -1px 0 0 #673ab7}.list-md .item-input.input-has-focus:last-child,.list-md .item-input.item-input-has-focus:last-child{border-bottom-color:#673ab7;-webkit-box-shadow:inset 0 -1px 0 0 #673ab7;box-shadow:inset 0 -1px 0 0 #673ab7}.list-md .item-input.input-has-focus:last-child .item-inner,.list-md .item-input.item-input-has-focus:last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner,.item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner{border-bottom-color:#32db64;-webkit-box-shadow:inset 0 -1px 0 0 #32db64;box-shadow:inset 0 -1px 0 0 #32db64}.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child,.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child{border-bottom-color:#32db64;-webkit-box-shadow:inset 0 -1px 0 0 #32db64;box-shadow:inset 0 -1px 0 0 #32db64}.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner,.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner{border-bottom-color:#f53d3d;-webkit-box-shadow:inset 0 -1px 0 0 #f53d3d;box-shadow:inset 0 -1px 0 0 #f53d3d}.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child{border-bottom-color:#f53d3d;-webkit-box-shadow:inset 0 -1px 0 0 #f53d3d;box-shadow:inset 0 -1px 0 0 #f53d3d}.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-label-floating .text-input-md,.item-label-stacked .text-input-md{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-label-floating .select-md,.item-label-stacked .select-md{padding-left:0;padding-top:8px;padding-bottom:8px}.input-md[clearInput]{position:relative}.input-md[clearInput] .text-input{padding-right:30px}.input-md .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:22px}.text-input-wp{margin:13px 8px;padding:0 8px;width:calc(100% - 8px - 8px);border:2px solid rgba(0,0,0,.5);line-height:3rem}.item-wp .inset-input{padding:6.5px 8px;margin:6.5px 16px}.item-wp.item-input.input-has-focus .text-input,.item-wp.item-input.item-input-has-focus .text-input{border-color:#673ab7}.item-wp.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input,.item-wp.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input{border-color:#32db64}.item-wp.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .text-input{border-color:#f53d3d}.item-label-floating .select-wp,.item-label-floating .text-input-wp,.item-label-stacked .select-wp,.item-label-stacked .text-input-wp{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-wp.item-label-floating [item-end],.item-wp.item-label-floating [item-right],.item-wp.item-label-stacked [item-end],.item-wp.item-label-stacked [item-right]{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.input-wp[clearInput]{position:relative}.input-wp[clearInput] .text-input{padding-right:30px}.input-wp .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:22px}.item{contain:content}.item-block{margin:0;padding:0;text-align:initial;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:4.4rem;border:0;font-weight:400;line-height:normal;text-decoration:none;color:inherit}.item-inner{margin:0;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-webkit-align-items:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0}.input-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-webkit-align-items:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis}.item.item[no-lines] .item-inner,.item[no-lines]{border:0}ion-item-group{display:block}ion-item-divider{margin:0;padding:0;z-index:100;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:30px}ion-item-divider[sticky]{position:-webkit-sticky;position:sticky;top:0}[vertical-align-top],ion-input.item{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.item-inner>ion-icon[small]:first-child,.item>ion-icon[small]:first-child{min-width:18px}.item-inner>ion-icon:first-child,.item>ion-icon:first-child{text-align:center;min-width:24px}.item-inner>ion-icon,.item>ion-icon{min-height:2.8rem;font-size:2.8rem;line-height:1}.item-inner>ion-icon[large],.item>ion-icon[large]{min-height:3.2rem;font-size:3.2rem}.item-inner>ion-icon[small],.item>ion-icon[small]{min-height:1.8rem;font-size:1.8rem}ion-avatar,ion-thumbnail{display:block;line-height:1}ion-avatar img,ion-thumbnail img{display:block}.item-cover{left:0;top:0;position:absolute;width:100%;height:100%;background:0 0;cursor:pointer}ion-reorder{-webkit-transform:translate3d(300%,0,0);transform:translate3d(300%,0,0);display:none;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;max-width:40px;height:100%;font-size:1.7em;opacity:.25;-webkit-transition:-webkit-transform 140ms ease-in;transition:-webkit-transform 140ms ease-in;transition:transform 140ms ease-in;transition:transform 140ms ease-in,-webkit-transform 140ms ease-in;pointer-events:all;-ms-touch-action:manipulation;touch-action:manipulation}.reorder-side-start ion-reorder{-webkit-transform:translate3d(-300%,0,0);transform:translate3d(-300%,0,0);-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}ion-reorder ion-icon{pointer-events:none}.reorder-enabled ion-reorder{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.reorder-visible ion-reorder{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reorder-list-active .item,.reorder-list-active .item-wrapper{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;will-change:transform}.reorder-list-active .item-inner{pointer-events:none}.item-wrapper.reorder-active,.item.reorder-active,.reorder-active{z-index:4;-webkit-box-shadow:0 0 10px rgba(0,0,0,.4);box-shadow:0 0 10px rgba(0,0,0,.4);opacity:.8;-webkit-transition:none;transition:none;pointer-events:none}ion-item-sliding{position:relative;display:block;overflow:hidden;width:100%}ion-item-sliding .item{position:static}ion-item-options{position:absolute;z-index:1;display:none;height:100%;font-size:14px;visibility:hidden;top:0;right:0;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}ion-item-options[side=left]{right:auto;left:0;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}ion-item-options .button{margin:0;padding:0 .7em;border-radius:0;height:100%;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box}ion-item-options .button:last-child{padding-right:.7em}@media screen and (orientation:landscape){ion-item-options .button:last-child{padding-right:calc(constant(safe-area-inset-right) + .7em);padding-right:calc(env(safe-area-inset-right) + .7em)}}ion-item-options:not([icon-left]) .button:not([icon-only]) .button-inner,ion-item-options:not([icon-start]) .button:not([icon-only]) .button-inner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}ion-item-options:not([icon-left]) .button:not([icon-only]) ion-icon,ion-item-options:not([icon-start]) .button:not([icon-only]) ion-icon{padding-left:0;padding-right:0;padding-bottom:.3em}ion-item-sliding.active-slide .item,ion-item-sliding.active-slide .item.activated{position:relative;z-index:2;opacity:1;-webkit-transition:-webkit-transform .5s cubic-bezier(.36,.66,.04,1);transition:-webkit-transform .5s cubic-bezier(.36,.66,.04,1);transition:transform .5s cubic-bezier(.36,.66,.04,1);transition:transform .5s cubic-bezier(.36,.66,.04,1),-webkit-transform .5s cubic-bezier(.36,.66,.04,1);pointer-events:none;will-change:transform}ion-item-sliding.active-slide ion-item-options{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}ion-item-sliding.active-slide.active-options-left ion-item-options[side=left],ion-item-sliding.active-slide.active-options-right ion-item-options:not([side=left]){width:100%;visibility:visible}button[expandable]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(.65,.05,.36,1);transition-timing-function:cubic-bezier(.65,.05,.36,1)}ion-item-sliding.active-swipe-right button[expandable]{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:padding-left;transition-property:padding-left;padding-left:90%;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}ion-item-sliding.active-swipe-left button[expandable]{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:padding-right;transition-property:padding-right;padding-right:90%;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.item-ios{padding-left:16px;padding-left:16px;border-radius:0;position:relative;font-size:1.7rem;color:#000;background-color:#fff;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}@media screen and (orientation:landscape){.item-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.item-ios.activated{background-color:#d9d9d9;-webkit-transition-duration:0s;transition-duration:0s}.item-ios h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-ios h2{margin:0 0 2px;font-size:1.7rem;font-weight:400}.item-ios h3,.item-ios h4,.item-ios h5,.item-ios h6{margin:0 0 3px;font-size:1.4rem;font-weight:400;line-height:normal}.item-ios p{overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#8e9093;margin:0 0 2px}.item-ios h2:last-child,.item-ios h3:last-child,.item-ios h4:last-child,.item-ios h5:last-child,.item-ios h6:last-child,.item-ios p:last-child{margin-bottom:0}.item-ios.item-block .item-inner{padding-right:8px;padding-right:8px;border-bottom:.55px solid #c8c7cc}@media screen and (orientation:landscape){.item-ios.item-block .item-inner{padding-right:calc(constant(safe-area-inset-right) + 8px);padding-right:calc(env(safe-area-inset-right) + 8px)}}.item-ios [item-left],.item-ios [item-start]{margin:8px 16px 8px 0}.item-ios [item-end],.item-ios [item-right]{margin:8px}.item-ios ion-icon[item-end],.item-ios ion-icon[item-left],.item-ios ion-icon[item-right],.item-ios ion-icon[item-start]{margin-left:0;margin-top:9px;margin-bottom:8px}.item-ios .item-button{padding:0 .5em;height:24px;font-size:1.3rem}.item-ios .item-button[icon-only],.item-ios .item-button[icon-only] ion-icon{padding:0 1px}.item-ios ion-avatar[item-left],.item-ios ion-avatar[item-start],.item-ios ion-thumbnail[item-left],.item-ios ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-ios ion-avatar[item-end],.item-ios ion-avatar[item-right],.item-ios ion-thumbnail[item-end],.item-ios ion-thumbnail[item-right]{margin:8px}.item-ios ion-avatar{min-width:36px;min-height:36px}.item-ios ion-avatar img,.item-ios ion-avatar ion-img{border-radius:50%;overflow:hidden;width:36px;height:36px}.item-ios ion-thumbnail{min-width:56px;min-height:56px}.item-ios ion-thumbnail img,.item-ios ion-thumbnail ion-img{width:56px;height:56px}.item-ios[detail-push] .item-inner,a.item-ios:not([detail-none]) .item-inner,button.item-ios:not([detail-none]) .item-inner{background-image:url("data:image/svg+xml;charset=utf-8,");padding-right:32px;background-position:right 14px center;background-position:right calc(14px + constant(safe-area-inset-right)) center;background-position:right calc(14px + env(safe-area-inset-right)) center;background-repeat:no-repeat;background-size:14px 14px}ion-item-group .item-ios:first-child .item-inner{border-top-width:0}ion-item-group .item-ios:last-child .item-inner,ion-item-group .item-wrapper:last-child .item-ios .item-inner{border:0}.item-divider-ios{padding-left:16px;padding-left:16px;color:#222;background-color:#f7f7f7}@media screen and (orientation:landscape){.item-divider-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.item-ios .text-ios-primary{color:#673ab7}.item-divider-ios-primary,.item-ios-primary{color:#fff;background-color:#673ab7}.item-divider-ios-primary p,.item-ios-primary p{color:#fff}.item-divider-ios-primary.activated,.item-ios-primary.activated{background-color:#734abd}.item-ios .text-ios-secondary{color:#32db64}.item-divider-ios-secondary,.item-ios-secondary{color:#fff;background-color:#32db64}.item-divider-ios-secondary p,.item-ios-secondary p{color:#fff}.item-divider-ios-secondary.activated,.item-ios-secondary.activated{background-color:#2ec95c}.item-ios .text-ios-danger{color:#f53d3d}.item-divider-ios-danger,.item-ios-danger{color:#fff;background-color:#f53d3d}.item-divider-ios-danger p,.item-ios-danger p{color:#fff}.item-divider-ios-danger.activated,.item-ios-danger.activated{background-color:#e13838}.item-ios .text-ios-light{color:#f4f4f4}.item-divider-ios-light,.item-ios-light{color:#000;background-color:#f4f4f4}.item-divider-ios-light p,.item-ios-light p{color:#000}.item-divider-ios-light.activated,.item-ios-light.activated{background-color:#e0e0e0}.item-ios .text-ios-dark{color:#222}.item-divider-ios-dark,.item-ios-dark{color:#fff;background-color:#222}.item-divider-ios-dark p,.item-ios-dark p{color:#fff}.item-divider-ios-dark.activated,.item-ios-dark.activated{background-color:#343434}.item-ios .text-ios-optblue{color:#e00201}.item-divider-ios-optblue,.item-ios-optblue{color:#fff;background-color:#e00201}.item-divider-ios-optblue p,.item-ios-optblue p{color:#fff}.item-divider-ios-optblue.activated,.item-ios-optblue.activated{background-color:#e21615}.item-ios .text-ios-gray{color:#dad8d8}.item-divider-ios-gray,.item-ios-gray{color:#000;background-color:#dad8d8}.item-divider-ios-gray p,.item-ios-gray p{color:#000}.item-divider-ios-gray.activated,.item-ios-gray.activated{background-color:#c9c7c7}.item-ios .text-ios-green{color:#1dc764}.item-divider-ios-green,.item-ios-green{color:#fff;background-color:#1dc764}.item-divider-ios-green p,.item-ios-green p{color:#fff}.item-divider-ios-green.activated,.item-ios-green.activated{background-color:#2fcb70}.list-ios ion-item-sliding{background-color:#fff}.item-md{padding-left:16px;padding-right:0;position:relative;font-size:1.6rem;font-weight:400;text-transform:none;color:#000;background-color:#fff;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1)}.item-md.activated{background-color:#f1f1f1}.item-md[no-lines]{border-width:0}.item-md h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-md h2{margin:2px 0;font-size:1.6rem;font-weight:400}.item-md h3,.item-md h4,.item-md h5,.item-md h6{margin:2px 0;font-size:1.4rem;font-weight:400;line-height:normal}.item-md p{margin:0 0 2px;overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#666}.item-md.item-block .item-inner{padding-right:8px;border-bottom:1px solid #dedede}.item-md [item-end],.item-md [item-left],.item-md [item-right],.item-md [item-start]{margin:9px 8px 9px 0}.item-md ion-icon[item-end],.item-md ion-icon[item-left],.item-md ion-icon[item-right],.item-md ion-icon[item-start]{margin-left:0;margin-top:11px;margin-bottom:10px}.item-md .item-button{padding:0 .6em;height:25px;font-size:1.2rem}.item-md .item-button[icon-only],.item-md .item-button[icon-only] ion-icon{padding:0 1px}.item-md ion-icon[item-left]+.item-inner,.item-md ion-icon[item-left]+.item-input,.item-md ion-icon[item-start]+.item-inner,.item-md ion-icon[item-start]+.item-input{margin-left:24px}.item-md ion-avatar[item-left],.item-md ion-avatar[item-start],.item-md ion-thumbnail[item-left],.item-md ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-md ion-avatar[item-end],.item-md ion-avatar[item-right],.item-md ion-thumbnail[item-end],.item-md ion-thumbnail[item-right]{margin:8px}.item-md ion-avatar{min-width:40px;min-height:40px}.item-md ion-avatar img,.item-md ion-avatar ion-img{border-radius:50%;overflow:hidden;width:40px;height:40px}.item-md ion-thumbnail{min-width:80px;min-height:80px}.item-md ion-thumbnail img,.item-md ion-thumbnail ion-img{width:80px;height:80px}ion-item-group .item-md:first-child .item-inner{border-top-width:0}ion-item-group .item-md .item-wrapper:last-child .item-inner,ion-item-group .item-md:last-child .item-inner{border:0}.item-divider-md{padding-left:16px;border-bottom:1px solid #dedede;font-size:1.4rem;color:#858585;background-color:#fff}.item-md .text-md-primary{color:#673ab7}.item-divider-md-primary,.item-md-primary{color:#fff;background-color:#673ab7}.item-divider-md-primary p,.item-md-primary p{color:#fff}.item-divider-md-primary.activated,.item-md-primary.activated{background-color:#734abd}.item-md .text-md-secondary{color:#32db64}.item-divider-md-secondary,.item-md-secondary{color:#fff;background-color:#32db64}.item-divider-md-secondary p,.item-md-secondary p{color:#fff}.item-divider-md-secondary.activated,.item-md-secondary.activated{background-color:#2ec95c}.item-md .text-md-danger{color:#f53d3d}.item-divider-md-danger,.item-md-danger{color:#fff;background-color:#f53d3d}.item-divider-md-danger p,.item-md-danger p{color:#fff}.item-divider-md-danger.activated,.item-md-danger.activated{background-color:#e13838}.item-md .text-md-light{color:#f4f4f4}.item-divider-md-light,.item-md-light{color:#000;background-color:#f4f4f4}.item-divider-md-light p,.item-md-light p{color:#000}.item-divider-md-light.activated,.item-md-light.activated{background-color:#e0e0e0}.item-md .text-md-dark{color:#222}.item-divider-md-dark,.item-md-dark{color:#fff;background-color:#222}.item-divider-md-dark p,.item-md-dark p{color:#fff}.item-divider-md-dark.activated,.item-md-dark.activated{background-color:#343434}.item-md .text-md-optblue{color:#e00201}.item-divider-md-optblue,.item-md-optblue{color:#fff;background-color:#e00201}.item-divider-md-optblue p,.item-md-optblue p{color:#fff}.item-divider-md-optblue.activated,.item-md-optblue.activated{background-color:#e21615}.item-md .text-md-gray{color:#dad8d8}.item-divider-md-gray,.item-md-gray{color:#000;background-color:#dad8d8}.item-divider-md-gray p,.item-md-gray p{color:#000}.item-divider-md-gray.activated,.item-md-gray.activated{background-color:#c9c7c7}.item-md .text-md-green{color:#1dc764}.item-divider-md-green,.item-md-green{color:#fff;background-color:#1dc764}.item-divider-md-green p,.item-md-green p{color:#fff}.item-divider-md-green.activated,.item-md-green.activated{background-color:#2fcb70}.list-md ion-item-sliding{background-color:#fff}.item-md ion-reorder{font-size:1.5em;opacity:.3}.item-wp{padding-left:16px;padding-right:0;position:relative;font-size:1.6rem;font-weight:400;text-transform:none;color:#000;background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.item-wp.activated{background-color:#aaa}.item-wp[no-lines]{border-width:0}.item-wp h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-wp h2{margin:2px 0;font-size:1.6rem;font-weight:400}.item-wp h3,.item-wp h4,.item-wp h5,.item-wp h6{margin:2px 0;font-size:1.4rem;font-weight:400;line-height:normal}.item-wp p{margin:0 0 2px;overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#666}.item-wp.item-block .item-inner{padding-right:8px;border-bottom:1px solid transparent}.item-wp [item-end],.item-wp [item-left],.item-wp [item-right],.item-wp [item-start]{margin:9px 8px 9px 0}.item-wp ion-icon[item-end],.item-wp ion-icon[item-left],.item-wp ion-icon[item-right],.item-wp ion-icon[item-start]{margin-left:0;margin-top:11px;margin-bottom:10px}.item-wp .item-button{padding:0 .6em;height:25px;font-size:1.2rem}.item-wp .item-button[icon-only],.item-wp .item-button[icon-only] ion-icon{padding:0 1px}.item-wp[text-wrap] ion-label{font-size:1.4rem;line-height:1.5}.item-wp ion-icon[item-left]+.item-inner,.item-wp ion-icon[item-left]+.item-input,.item-wp ion-icon[item-start]+.item-inner,.item-wp ion-icon[item-start]+.item-input{margin-left:8px}.item-wp ion-avatar[item-left],.item-wp ion-avatar[item-start],.item-wp ion-thumbnail[item-left],.item-wp ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-wp ion-avatar[item-end],.item-wp ion-avatar[item-right],.item-wp ion-thumbnail[item-end],.item-wp ion-thumbnail[item-right]{margin:8px}.item-wp ion-avatar{min-width:40px;min-height:40px}.item-wp ion-avatar img,.item-wp ion-avatar ion-img{border-radius:50%;overflow:hidden;width:40px;height:40px}.item-wp ion-thumbnail{min-width:80px;min-height:80px}.item-wp ion-thumbnail img,.item-wp ion-thumbnail ion-img{width:80px;height:80px}.item-divider-wp{padding-left:16px;border-bottom:1px solid transparent;font-size:2rem;color:#000;background-color:#fff}.item-wp .text-wp-primary{color:#673ab7}.item-divider-wp-primary,.item-wp-primary{color:#fff;background-color:#673ab7}.item-divider-wp-primary p,.item-wp-primary p{color:#fff}.item-divider-wp-primary.activated,.item-wp-primary.activated{background-color:#734abd}.item-wp .text-wp-secondary{color:#32db64}.item-divider-wp-secondary,.item-wp-secondary{color:#fff;background-color:#32db64}.item-divider-wp-secondary p,.item-wp-secondary p{color:#fff}.item-divider-wp-secondary.activated,.item-wp-secondary.activated{background-color:#2ec95c}.item-wp .text-wp-danger{color:#f53d3d}.item-divider-wp-danger,.item-wp-danger{color:#fff;background-color:#f53d3d}.item-divider-wp-danger p,.item-wp-danger p{color:#fff}.item-divider-wp-danger.activated,.item-wp-danger.activated{background-color:#e13838}.item-wp .text-wp-light{color:#f4f4f4}.item-divider-wp-light,.item-wp-light{color:#000;background-color:#f4f4f4}.item-divider-wp-light p,.item-wp-light p{color:#000}.item-divider-wp-light.activated,.item-wp-light.activated{background-color:#e0e0e0}.item-wp .text-wp-dark{color:#222}.item-divider-wp-dark,.item-wp-dark{color:#fff;background-color:#222}.item-divider-wp-dark p,.item-wp-dark p{color:#fff}.item-divider-wp-dark.activated,.item-wp-dark.activated{background-color:#343434}.item-wp .text-wp-optblue{color:#e00201}.item-divider-wp-optblue,.item-wp-optblue{color:#fff;background-color:#e00201}.item-divider-wp-optblue p,.item-wp-optblue p{color:#fff}.item-divider-wp-optblue.activated,.item-wp-optblue.activated{background-color:#e21615}.item-wp .text-wp-gray{color:#dad8d8}.item-divider-wp-gray,.item-wp-gray{color:#000;background-color:#dad8d8}.item-divider-wp-gray p,.item-wp-gray p{color:#000}.item-divider-wp-gray.activated,.item-wp-gray.activated{background-color:#c9c7c7}.item-wp .text-wp-green{color:#1dc764}.item-divider-wp-green,.item-wp-green{color:#fff;background-color:#1dc764}.item-divider-wp-green p,.item-wp-green p{color:#fff}.item-divider-wp-green.activated,.item-wp-green.activated{background-color:#2fcb70}.list-wp ion-item-sliding{background-color:#fff}ion-label{margin:0;display:block;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:inherit;text-overflow:ellipsis;white-space:nowrap}.item-input ion-label{-webkit-box-flex:initial;-webkit-flex:initial;-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}[text-wrap] ion-label{white-space:normal}ion-label[fixed]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.item-label-floating ion-label,.item-label-stacked ion-label{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}ion-label[floating],ion-label[stacked]{margin-bottom:0}.item-label-floating .input-wrapper,.item-label-stacked .input-wrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.item-label-floating ion-select,.item-label-stacked ion-select{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;max-width:100%}.label-ios{margin:11px 8px 11px 0}.label-ios+.input+.cloned-input,.label-ios+ion-input .text-input,.label-ios+ion-textarea .text-input{margin-left:16px;width:calc(100% - (16px / 2) - 16px)}.label-ios[stacked]{margin-bottom:4px;font-size:1.2rem}.label-ios[floating]{margin-bottom:0;-webkit-transform:translate3d(0,27px,0);transform:translate3d(0,27px,0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out,-webkit-transform 150ms ease-in-out}.input-has-focus .label-ios[floating],.input-has-value .label-ios[floating],.item-input-has-focus .label-ios[floating],.item-input-has-value .label-ios[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-ios.item-label-floating [item-end],.item-ios.item-label-floating [item-right],.item-ios.item-label-stacked [item-end],.item-ios.item-label-stacked [item-right]{margin-top:6px;margin-bottom:6px}.item-datetime .label-ios-primary,.item-input .label-ios-primary,.item-select .label-ios-primary,.label-ios-primary{color:#673ab7}.item-datetime .label-ios-secondary,.item-input .label-ios-secondary,.item-select .label-ios-secondary,.label-ios-secondary{color:#32db64}.item-datetime .label-ios-danger,.item-input .label-ios-danger,.item-select .label-ios-danger,.label-ios-danger{color:#f53d3d}.item-datetime .label-ios-light,.item-input .label-ios-light,.item-select .label-ios-light,.label-ios-light{color:#f4f4f4}.item-datetime .label-ios-dark,.item-input .label-ios-dark,.item-select .label-ios-dark,.label-ios-dark{color:#222}.item-datetime .label-ios-optblue,.item-input .label-ios-optblue,.item-select .label-ios-optblue,.label-ios-optblue{color:#e00201}.item-datetime .label-ios-gray,.item-input .label-ios-gray,.item-select .label-ios-gray,.label-ios-gray{color:#dad8d8}.item-datetime .label-ios-green,.item-input .label-ios-green,.item-select .label-ios-green,.label-ios-green{color:#1dc764}.label-md{margin:13px 8px 13px 0}[text-wrap] .label-md{font-size:1.4rem;line-height:1.5}.item-datetime .label-md,.item-input .label-md,.item-select .label-md{color:#999}.label-md[stacked]{font-size:1.2rem}.label-md[floating]{-webkit-transform:translate3d(0,27px,0);transform:translate3d(0,27px,0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out,-webkit-transform 150ms ease-in-out}.label-md[floating],.label-md[stacked]{margin-left:0;margin-bottom:0}.input-has-focus .label-md[floating],.input-has-focus .label-md[stacked],.item-input-has-focus .label-md[floating],.item-input-has-focus .label-md[stacked]{color:#673ab7}.input-has-focus .label-md[floating],.input-has-value .label-md[floating],.item-input-has-focus .label-md[floating],.item-input-has-value .label-md[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-md.item-label-floating [item-end],.item-md.item-label-floating [item-right],.item-md.item-label-stacked [item-end],.item-md.item-label-stacked [item-right]{margin-top:7px;margin-bottom:7px}.item-datetime .label-md-primary,.item-input .label-md-primary,.item-select .label-md-primary,.label-md-primary{color:#673ab7}.item-datetime .label-md-secondary,.item-input .label-md-secondary,.item-select .label-md-secondary,.label-md-secondary{color:#32db64}.item-datetime .label-md-danger,.item-input .label-md-danger,.item-select .label-md-danger,.label-md-danger{color:#f53d3d}.item-datetime .label-md-light,.item-input .label-md-light,.item-select .label-md-light,.label-md-light{color:#f4f4f4}.item-datetime .label-md-dark,.item-input .label-md-dark,.item-select .label-md-dark,.label-md-dark{color:#222}.item-datetime .label-md-optblue,.item-input .label-md-optblue,.item-select .label-md-optblue,.label-md-optblue{color:#e00201}.item-datetime .label-md-gray,.item-input .label-md-gray,.item-select .label-md-gray,.label-md-gray{color:#dad8d8}.item-datetime .label-md-green,.item-input .label-md-green,.item-select .label-md-green,.label-md-green{color:#1dc764}.label-wp{margin:13px 8px 13px 0}.item-datetime .label-wp,.item-input .label-wp,.item-select .label-wp{color:#999}.label-wp[stacked]{font-size:1.2rem}.label-wp[floating]{-webkit-transform:translate3d(8px,34px,0);transform:translate3d(8px,34px,0);-webkit-transform-origin:left top;transform-origin:left top}.label-wp[floating],.label-wp[stacked]{margin-left:0;margin-bottom:0}.input-has-focus .label-wp[floating],.input-has-focus .label-wp[stacked],.item-input-has-focus .label-wp[floating],.item-input-has-focus .label-wp[stacked]{color:#673ab7}.input-has-focus .label-wp[floating],.input-has-value .label-wp[floating],.item-input-has-focus .label-wp[floating],.item-input-has-value .label-wp[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-wp.item-label-floating [item-end],.item-wp.item-label-floating [item-right],.item-wp.item-label-stacked [item-end],.item-wp.item-label-stacked [item-right]{margin-top:13px;margin-bottom:13px}.item-datetime .label-wp-primary,.item-input .label-wp-primary,.item-select .label-wp-primary,.label-wp-primary{color:#673ab7}.item-datetime .label-wp-secondary,.item-input .label-wp-secondary,.item-select .label-wp-secondary,.label-wp-secondary{color:#32db64}.item-datetime .label-wp-danger,.item-input .label-wp-danger,.item-select .label-wp-danger,.label-wp-danger{color:#f53d3d}.item-datetime .label-wp-light,.item-input .label-wp-light,.item-select .label-wp-light,.label-wp-light{color:#f4f4f4}.item-datetime .label-wp-dark,.item-input .label-wp-dark,.item-select .label-wp-dark,.label-wp-dark{color:#222}.item-datetime .label-wp-optblue,.item-input .label-wp-optblue,.item-select .label-wp-optblue,.label-wp-optblue{color:#e00201}.item-datetime .label-wp-gray,.item-input .label-wp-gray,.item-select .label-wp-gray,.label-wp-gray{color:#dad8d8}.item-datetime .label-wp-green,.item-input .label-wp-green,.item-select .label-wp-green,.label-wp-green{color:#1dc764}ion-list-header{margin:0;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:4rem}ion-list{margin:0;padding:0;display:block;list-style-type:none}ion-list[inset]{overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.list-ios{margin:-1px 0 32px}.list-ios>.item-block:first-child{border-top:.55px solid #c8c7cc}.list-ios>.item-block:last-child,.list-ios>.item-wrapper:last-child .item-block{border-bottom:.55px solid #c8c7cc}.list-ios>.item-block:last-child .item-inner,.list-ios>.item-wrapper:last-child .item-block .item-inner{border-bottom:0}.list-ios .item-block .item-inner{border-bottom:.55px solid #c8c7cc}.list-ios .item[no-lines],.list-ios .item[no-lines] .item-inner{border-width:0}.list-ios ion-item-options{border-bottom:.55px solid #c8c7cc}.list-ios ion-item-options .button{margin:0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%;min-height:100%;border:0;-webkit-box-sizing:border-box;box-sizing:border-box}.list-ios ion-item-options .button::before{margin:0 auto}.list-ios:not([inset])+.list-ios:not([inset]) ion-list-header{margin-top:-10px;padding-top:0}.list-ios[inset]{margin:16px;border-radius:4px}.list-ios[inset] ion-list-header{background-color:#fff}.list-ios[inset] .item{border-bottom:1px solid #c8c7cc}.list-ios[inset] .item-inner{border-bottom:0}.list-ios[inset]>.item-wrapper:first-child .item,.list-ios[inset]>.item:first-child{border-top:0}.list-ios[inset]>.item-wrapper:last-child .item,.list-ios[inset]>.item:last-child{border-bottom:0}.list-ios[inset]+ion-list[inset]{margin-top:0}.list-ios[no-lines] .item,.list-ios[no-lines] .item .item-inner,.list-ios[no-lines] ion-item-options,.list-ios[no-lines] ion-list-header{border-width:0}.list-header-ios{padding-left:16px;padding-left:16px;position:relative;border-bottom:.55px solid #c8c7cc;font-size:1.2rem;font-weight:500;letter-spacing:.1rem;text-transform:uppercase;color:#333;background:0 0}@media screen and (orientation:landscape){.list-header-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.list-header-ios-primary{color:#fff;background-color:#673ab7}.list-header-ios-secondary{color:#fff;background-color:#32db64}.list-header-ios-danger{color:#fff;background-color:#f53d3d}.list-header-ios-light{color:#000;background-color:#f4f4f4}.list-header-ios-dark{color:#fff;background-color:#222}.list-header-ios-optblue{color:#fff;background-color:#e00201}.list-header-ios-gray{color:#000;background-color:#dad8d8}.list-header-ios-green{color:#fff;background-color:#1dc764}.list-md{margin:-1px 0 16px}.list-md .item-block .item-inner{border-bottom:1px solid #dedede}.list-md>.item-block:last-child .item-inner,.list-md>.item-block:last-child ion-label,.list-md>.item-wrapper:last-child .item-inner,.list-md>.item-wrapper:last-child ion-label{border-bottom:0}.list-md>ion-input:last-child::after{left:0}.list-md ion-item-options{border-bottom:1px solid #dedede}.list-md ion-item-options .button{margin:0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box}.list-md ion-item-options .button::before{margin:0 auto}.list-md .item[no-lines],.list-md .item[no-lines] .item-inner{border-width:0}.list-md+ion-list ion-list-header{margin-top:-16px}.list-md[inset]{margin:16px;border-radius:2px}.list-md[inset] .item:first-child{border-top-left-radius:2px;border-top-right-radius:2px;border-top-width:0}.list-md[inset] .item:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-width:0}.list-md[inset] .item-input{padding-left:0;padding-right:0}.list-md[inset]+ion-list[inset]{margin-top:0}.list-md[inset] ion-list-header{background-color:#fff}.list-md[no-lines] .item .item-inner,.list-md[no-lines] .item-block,.list-md[no-lines] ion-item-options{border-width:0}.list-header-md{padding-left:16px;margin-bottom:13px;min-height:4.5rem;border-top:1px solid #dedede;font-size:1.4rem;color:#757575}.list-header-md-primary{color:#fff;background-color:#673ab7}.list-header-md-secondary{color:#fff;background-color:#32db64}.list-header-md-danger{color:#fff;background-color:#f53d3d}.list-header-md-light{color:#000;background-color:#f4f4f4}.list-header-md-dark{color:#fff;background-color:#222}.list-header-md-optblue{color:#fff;background-color:#e00201}.list-header-md-gray{color:#000;background-color:#dad8d8}.list-header-md-green{color:#fff;background-color:#1dc764}.list-md .item-input:last-child{border-bottom:1px solid #dedede}.list-wp{margin:0 0 16px}.list-wp .item-block .item-inner{border-bottom:1px solid transparent}.list-wp>.item-block:first-child,.list-wp>.item-wrapper:first-child .item-block{border-top:1px solid transparent}.list-wp>.item-block:last-child,.list-wp>.item-wrapper:last-child .item-block{border-bottom:1px solid transparent}.list-wp>.item-block:last-child .item-inner,.list-wp>.item-block:last-child ion-label,.list-wp>.item-wrapper:last-child .item-inner,.list-wp>.item-wrapper:last-child ion-label{border-bottom:0}.list-wp>ion-input:last-child::after{left:0}.list-wp ion-item-options .button{margin:1px 0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:calc(100% - 2px);border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box}.list-wp ion-item-options .button::before{margin:0 auto}.list-wp .item[no-lines],.list-wp .item[no-lines] .item-inner{border-width:0}.list-wp+ion-list ion-list-header{margin-top:-16px;padding-top:0}.list-wp[inset]{margin:16px;border-radius:2px}.list-wp[inset] .item:first-child{border-top-left-radius:2px;border-top-right-radius:2px;border-top-width:0}.list-wp[inset] .item:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-width:0}.list-wp[inset] .item-input{padding-left:0;padding-right:0}.list-wp[inset]+ion-list[inset]{margin-top:0}.list-wp[inset] ion-list-header{background-color:#fff}.list-wp[no-lines] .item,.list-wp[no-lines] .item .item-inner{border-width:0}.list-header-wp{padding-left:16px;border-bottom:1px solid transparent;font-size:2rem;color:#000}.list-header-wp-primary{color:#fff;background-color:#673ab7}.list-header-wp-secondary{color:#fff;background-color:#32db64}.list-header-wp-danger{color:#fff;background-color:#f53d3d}.list-header-wp-light{color:#000;background-color:#f4f4f4}.list-header-wp-dark{color:#fff;background-color:#222}.list-header-wp-optblue{color:#fff;background-color:#e00201}.list-header-wp-gray{color:#000;background-color:#dad8d8}.list-header-wp-green{color:#fff;background-color:#1dc764}ion-loading{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}.loading-wrapper{z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0}.loading-ios .loading-wrapper{border-radius:8px;max-width:270px;max-height:90%;color:#000;background:#f8f8f8;padding:24px 34px}.loading-ios .loading-content{font-weight:700}.loading-ios .loading-spinner+.loading-content{margin-left:16px}.loading-ios .spinner-ios line,.loading-ios .spinner-ios-small line{stroke:#69717d}.loading-ios .spinner-bubbles circle{fill:#69717d}.loading-ios .spinner-circles circle{fill:#69717d}.loading-ios .spinner-crescent circle{stroke:#69717d}.loading-ios .spinner-dots circle{fill:#69717d}.loading-md .loading-wrapper{border-radius:2px;max-width:280px;max-height:90%;color:rgba(0,0,0,.5);background:#fafafa;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4);padding:24px}.loading-md .loading-spinner+.loading-content{margin-left:16px}.loading-md .spinner-ios line,.loading-md .spinner-ios-small line{stroke:#673ab7}.loading-md .spinner-bubbles circle{fill:#673ab7}.loading-md .spinner-circles circle{fill:#673ab7}.loading-md .spinner-crescent circle{stroke:#673ab7}.loading-md .spinner-dots circle{fill:#673ab7}.loading-wp .loading-wrapper{border-radius:2px;max-width:280px;max-height:90%;color:#fff;background:#000;padding:20px}.loading-wp .loading-spinner+.loading-content{margin-left:16px}.loading-wp .spinner-ios line,.loading-wp .spinner-ios-small line{stroke:#fff}.loading-wp .spinner-bubbles circle{fill:#fff}.loading-wp .spinner-circles circle{fill:#fff}.loading-wp .spinner-crescent circle{stroke:#fff}.loading-wp .spinner-dots circle{fill:#fff}ion-menu{left:0;right:0;top:0;bottom:0;position:absolute;display:none;contain:strict}ion-menu.show-menu{display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px,0,0);transform:translate3d(-9999px,0,0);position:absolute;display:block;width:304px;height:100%;contain:strict}.menu-inner>ion-content,.menu-inner>ion-footer,.menu-inner>ion-header{position:absolute}ion-menu[side=left]>.menu-inner{right:auto;left:0}ion-menu[side=right]>.menu-inner{right:0;left:auto}ion-menu[side=end]>.menu-inner{left:auto;right:0}ion-menu ion-backdrop{z-index:-1;display:none;opacity:.01}.menu-content{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.menu-content-open{cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.menu-content-open .toolbar,.menu-content-open ion-content,.menu-content-open ion-pane{pointer-events:none}@media (max-width:340px){.menu-inner{width:264px}}ion-menu[type=reveal]{z-index:0}ion-menu[type=reveal].show-menu .menu-inner{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}ion-menu[type=overlay]{z-index:80}ion-menu[type=overlay] .show-backdrop{display:block}.ios .menu-inner{background:#fff}.ios .menu-content-reveal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.ios .menu-content-push{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.ios ion-menu[type=overlay] .menu-inner{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md .menu-inner{background:#fff}.md .menu-content-reveal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md .menu-content-push{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md ion-menu[type=overlay] .menu-inner{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.wp .menu-inner{background:#f2f2f2}ion-modal{left:0;top:0;position:absolute;display:block;width:100%;height:100%;contain:strict}@media not all and (min-width:768px) and (min-height:600px){ion-modal ion-backdrop{visibility:hidden}}.modal-wrapper{z-index:10;height:100%;contain:strict}@media only screen and (min-width:768px) and (min-height:600px){.modal-wrapper{left:calc(50% - (600px/2));top:calc(50% - (500px/2));position:absolute;width:600px;height:500px}}@media only screen and (min-width:768px) and (min-height:768px){.modal-wrapper{left:calc(50% - (600px/2));top:calc(50% - (600px/2));position:absolute;width:600px;height:600px}}.ios .modal-wrapper{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}@media only screen and (min-width:768px) and (min-height:600px){.ios .modal-wrapper{border-radius:10px;overflow:hidden}}.md .modal-wrapper{-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0);opacity:.01}@media only screen and (min-width:768px) and (min-height:600px){.md .modal-wrapper{border-radius:2px;overflow:hidden;-webkit-box-shadow:0 28px 48px rgba(0,0,0,.4);box-shadow:0 28px 48px rgba(0,0,0,.4)}}.wp .modal-wrapper{-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0);opacity:.01}.note-ios{color:#aeacb4}.note-ios-primary{color:#673ab7}.note-ios-secondary{color:#32db64}.note-ios-danger{color:#f53d3d}.note-ios-light{color:#f4f4f4}.note-ios-dark{color:#222}.note-ios-optblue{color:#e00201}.note-ios-gray{color:#dad8d8}.note-ios-green{color:#1dc764}.note-md{color:#c5c5c5}.note-md-primary{color:#673ab7}.note-md-secondary{color:#32db64}.note-md-danger{color:#f53d3d}.note-md-light{color:#f4f4f4}.note-md-dark{color:#222}.note-md-optblue{color:#e00201}.note-md-gray{color:#dad8d8}.note-md-green{color:#1dc764}.note-wp{color:rgba(0,0,0,.5)}.note-wp-primary{color:#673ab7}.note-wp-secondary{color:#32db64}.note-wp-danger{color:#f53d3d}.note-wp-light{color:#f4f4f4}.note-wp-dark{color:#222}.note-wp-optblue{color:#e00201}.note-wp-gray{color:#dad8d8}.note-wp-green{color:#1dc764}ion-picker-cmp{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%;contain:strict}.picker-toolbar{z-index:1;width:100%;contain:strict}.picker-wrapper{left:0;right:0;bottom:0;margin:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;max-width:500px;contain:strict}.picker-columns{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}.picker-col{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:100%}.picker-prefix{text-align:right;text-align:end;position:relative;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;min-width:45%;max-width:50%;white-space:nowrap}.picker-suffix{text-align:left;text-align:start;position:relative;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;min-width:45%;max-width:50%;white-space:nowrap}.picker-opt{left:0;top:0;text-align:center;position:absolute;display:block;overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;will-change:transform;contain:strict}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.picker-above-highlight,.picker-below-highlight{display:none;pointer-events:none}.picker-ios .picker-wrapper{height:260px;border-top:1px solid #c8c7cc;background:#fff}.picker-ios .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:44px;border-bottom:.55px solid #c8c7cc;background:#fff}.picker-ios .picker-toolbar-button{text-align:right;text-align:end;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.picker-ios .picker-toolbar-button:last-child .picker-button{font-weight:600}.picker-ios .picker-toolbar-cancel{text-align:left;text-align:start;font-weight:400}.picker-ios .picker-button,.picker-ios .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0}.picker-columns{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-ios .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 4px}.picker-ios .picker-opts,.picker-ios .picker-prefix,.picker-ios .picker-suffix{top:77px;font-size:20px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-ios .picker-opt{margin:0;-webkit-transform-origin:center center;transform-origin:center center;height:4.6rem;font-size:20px;line-height:42px;color:#000;background:0 0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-ios .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;display:block;width:100%;height:81px;border-bottom:1px solid #c8c7cc;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-ios .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;display:block;width:100%;height:119px;border-top:1px solid #c8c7cc;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}.picker-md .picker-wrapper{height:260px;border-top:.55px solid #dedede;background:#fff}.picker-md .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:44px;background:#fff}.picker-md .picker-button,.picker-md .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0;-webkit-box-shadow:none;box-shadow:none}.picker-md .picker-columns{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-md .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 8px}.picker-md .picker-opts,.picker-md .picker-prefix,.picker-md .picker-suffix{top:77px;font-size:22px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-md .picker-opt{margin:0;height:4.3rem;font-size:22px;line-height:42px;color:#000;background:0 0;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-md .picker-opt.picker-opt-selected,.picker-md .picker-prefix,.picker-md .picker-suffix{color:#673ab7}.picker-md .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;width:100%;height:81px;border-bottom:1px solid #dedede;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-md .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;width:100%;height:119px;border-top:1px solid #dedede;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}.picker-wp .picker-wrapper{height:260px;border-top:.55px solid transparent;background:#fff}.picker-wp .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:44px;border-width:.55px;background:#fff}.picker-wp .picker-toolbar-button{text-align:right;text-align:end;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.picker-wp .picker-toolbar-cancel{text-align:left;text-align:start;font-weight:400}.picker-wp .picker-button,.picker-wp .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0;-webkit-box-shadow:none;box-shadow:none}.picker-wp .picker-columns{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-wp .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 4px}.picker-wp .picker-opts,.picker-wp .picker-prefix,.picker-wp .picker-suffix{top:77px;font-size:22px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-wp .picker-opt{margin:0;height:4.2rem;font-size:22px;line-height:42px;color:#000;background:0 0;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-wp .picker-opt-selected,.picker-wp .picker-prefix,.picker-wp .picker-suffix{color:#673ab7}.picker-wp .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;width:100%;height:81px;border-bottom:1px solid transparent;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-wp .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;width:100%;height:119px;border-top:1px solid transparent;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}ion-popover{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.popover-wrapper{z-index:10;opacity:0}.popover-content{position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.popover-content .scroll-content,.popover-content ion-content{contain:none}.popover-content .scroll-content{position:relative}.popover-ios .popover-content{border-radius:10px;width:200px;min-width:0;min-height:0;max-height:90%;color:#000;background:#fff}.popover-ios .popover-arrow{position:absolute;display:block;overflow:hidden;width:20px;height:10px}.popover-ios .popover-arrow::after{left:3px;top:3px;border-radius:3px;position:absolute;z-index:10;width:14px;height:14px;background-color:#fff;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popover-ios.popover-bottom .popover-arrow{top:auto;bottom:-10px}.popover-ios.popover-bottom .popover-arrow::after{top:-6px}.popover-ios .item-ios{padding-left:16px}.popover-ios .item-ios[detail-push] .item-inner,.popover-ios a.item-ios:not([detail-none]) .item-inner,.popover-ios button.item-ios:not([detail-none]) .item-inner{background-position:right 14px center}.popover-md .popover-content{border-radius:2px;-webkit-transform-origin:left top;transform-origin:left top;width:250px;min-width:0;min-height:0;max-height:90%;color:#000;background:#fff;-webkit-box-shadow:0 3px 12px 2px rgba(0,0,0,.3);box-shadow:0 3px 12px 2px rgba(0,0,0,.3)}.popover-md .popover-viewport{opacity:0;-webkit-transition-delay:.1s;transition-delay:.1s}.popover-wp .popover-content{border-radius:0;-webkit-transform-origin:left top;transform-origin:left top;width:200px;min-width:0;min-height:0;max-height:90%;border:2px solid #ccc;color:#000;background:#fff}.popover-wp .popover-viewport{opacity:0;-webkit-transition-delay:.1s;transition-delay:.1s}.radio-ios{position:relative;display:inline-block}.radio-ios .radio-icon{position:relative;display:block;width:16px;height:21px}.radio-ios .radio-checked .radio-inner{left:7px;top:4px;position:absolute;width:5px;height:12px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#673ab7;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.item-ios.item-radio-disabled ion-label,.radio-ios.radio-disabled{opacity:.3;pointer-events:none}.item-ios .radio-ios{position:static;display:block;margin:8px 11px 8px 8px}.item-ios .radio-ios[item-left],.item-ios .radio-ios[item-start]{margin:8px 21px 8px 3px}.item-radio.item-ios ion-label{margin-left:0}.item-radio-checked.item-ios ion-label{color:#673ab7}.item-radio-ios-primary.item-radio-checked ion-label{color:#673ab7}.radio-ios-primary .radio-checked{color:#673ab7}.radio-ios-primary .radio-checked .radio-inner{border-color:#673ab7}.item-radio-ios-secondary.item-radio-checked ion-label{color:#32db64}.radio-ios-secondary .radio-checked{color:#32db64}.radio-ios-secondary .radio-checked .radio-inner{border-color:#32db64}.item-radio-ios-danger.item-radio-checked ion-label{color:#f53d3d}.radio-ios-danger .radio-checked{color:#f53d3d}.radio-ios-danger .radio-checked .radio-inner{border-color:#f53d3d}.item-radio-ios-light.item-radio-checked ion-label{color:#f4f4f4}.radio-ios-light .radio-checked{color:#f4f4f4}.radio-ios-light .radio-checked .radio-inner{border-color:#f4f4f4}.item-radio-ios-dark.item-radio-checked ion-label{color:#222}.radio-ios-dark .radio-checked{color:#222}.radio-ios-dark .radio-checked .radio-inner{border-color:#222}.item-radio-ios-optblue.item-radio-checked ion-label{color:#e00201}.radio-ios-optblue .radio-checked{color:#e00201}.radio-ios-optblue .radio-checked .radio-inner{border-color:#e00201}.item-radio-ios-gray.item-radio-checked ion-label{color:#dad8d8}.radio-ios-gray .radio-checked{color:#dad8d8}.radio-ios-gray .radio-checked .radio-inner{border-color:#dad8d8}.item-radio-ios-green.item-radio-checked ion-label{color:#1dc764}.radio-ios-green .radio-checked{color:#1dc764}.radio-ios-green .radio-checked .radio-inner{border-color:#1dc764}.radio-md{position:relative;display:inline-block}.radio-md .radio-icon{left:0;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.radio-md .radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:8px;height:8px;background-color:#673ab7;-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0);-webkit-transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1),-webkit-transform 280ms cubic-bezier(.4,0,.2,1)}.radio-md .radio-checked{border-color:#673ab7}.radio-md .radio-checked .radio-inner{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}.item-md.item-radio-disabled ion-label,.radio-md.radio-disabled{opacity:.3;pointer-events:none}.item-md .radio-md{position:static;display:block;margin:9px 10px 9px 0}.item-md .radio-md[item-left],.item-md .radio-md[item-start]{margin:11px 36px 10px 4px}.item-radio.item-md ion-label{margin-left:0}.item-radio-checked.item-md ion-label{color:#673ab7}.item-radio-md-primary.item-radio-checked ion-label{color:#673ab7}.radio-md-primary .radio-checked{border-color:#673ab7}.radio-md-primary .radio-inner{background-color:#673ab7}.item-radio-md-secondary.item-radio-checked ion-label{color:#32db64}.radio-md-secondary .radio-checked{border-color:#32db64}.radio-md-secondary .radio-inner{background-color:#32db64}.item-radio-md-danger.item-radio-checked ion-label{color:#f53d3d}.radio-md-danger .radio-checked{border-color:#f53d3d}.radio-md-danger .radio-inner{background-color:#f53d3d}.item-radio-md-light.item-radio-checked ion-label{color:#f4f4f4}.radio-md-light .radio-checked{border-color:#f4f4f4}.radio-md-light .radio-inner{background-color:#f4f4f4}.item-radio-md-dark.item-radio-checked ion-label{color:#222}.radio-md-dark .radio-checked{border-color:#222}.radio-md-dark .radio-inner{background-color:#222}.item-radio-md-optblue.item-radio-checked ion-label{color:#e00201}.radio-md-optblue .radio-checked{border-color:#e00201}.radio-md-optblue .radio-inner{background-color:#e00201}.item-radio-md-gray.item-radio-checked ion-label{color:#dad8d8}.radio-md-gray .radio-checked{border-color:#dad8d8}.radio-md-gray .radio-inner{background-color:#dad8d8}.item-radio-md-green.item-radio-checked ion-label{color:#1dc764}.radio-md-green .radio-checked{border-color:#1dc764}.radio-md-green .radio-inner{background-color:#1dc764}.radio-wp{position:relative;display:inline-block}.radio-wp .radio-icon{left:0;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#333}.radio-wp .radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;display:none;width:8px;height:8px;background-color:#333}.radio-wp .radio-checked{border-color:#673ab7}.radio-wp .radio-checked .radio-inner{display:block}.item-wp.item-radio-disabled ion-label,.radio-wp.radio-disabled{opacity:.3;pointer-events:none}.item-wp .radio-wp{position:static;display:block;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1;margin:9px 20px 9px 4px}.item-wp .radio-wp[item-end],.item-wp .radio-wp[item-right]{-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;margin:11px 10px 10px 0}.item-radio.item-wp ion-label{margin-left:0}.radio-wp-primary .radio-checked{border-color:#673ab7}.radio-wp-secondary .radio-checked{border-color:#32db64}.radio-wp-danger .radio-checked{border-color:#f53d3d}.radio-wp-light .radio-checked{border-color:#f4f4f4}.radio-wp-dark .radio-checked{border-color:#222}.radio-wp-optblue .radio-checked{border-color:#e00201}.radio-wp-gray .radio-checked{border-color:#dad8d8}.radio-wp-green .radio-checked{border-color:#1dc764}.item-range .item-inner{overflow:visible;width:100%}.item-range .input-wrapper{overflow:visible;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%}.item-range ion-range{width:100%}.item-range ion-range ion-label{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}ion-range{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}ion-range ion-label{-webkit-box-flex:initial;-webkit-flex:initial;-ms-flex:initial;flex:initial}ion-range ion-icon{min-height:2.4rem;font-size:2.4rem;line-height:1}.range-slider{position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;cursor:pointer}.range-ios{padding:8px 16px}.range-ios [range-left]{margin:0 20px 0 0}.range-ios [range-right]{margin:0 0 0 20px}.range-ios.range-has-pin{padding-top:20px}.range-ios .range-slider{height:42px}.range-ios .range-bar{left:0;top:21px;border-radius:1px;position:absolute;width:100%;height:1px;background:#bdbdbd;pointer-events:none}.range-ios.range-pressed .range-bar-active{will-change:left,right}.range-ios.range-pressed .range-knob-handle{will-change:left}.range-ios .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-ios .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-ios .range-knob{left:7px;top:7px;border-radius:50%;position:absolute;width:28px;height:28px;background:#fff;-webkit-box-shadow:0 3px 1px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.02);box-shadow:0 3px 1px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.02);pointer-events:none}.range-ios .range-tick{margin-left:-.5px;border-radius:0;position:absolute;top:17.5px;width:1px;height:8px;background:#bdbdbd;pointer-events:none}.range-ios .range-tick-active{background:#673ab7}.range-ios .range-pin{text-align:center;border-radius:50px;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-20px;display:inline-block;min-width:28px;font-size:12px;color:#000;background:0 0;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease,-webkit-transform 120ms ease;padding:8px}.range-ios .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-ios.range-disabled{opacity:.5}.range-ios-primary .range-bar-active,.range-ios-primary .range-tick-active{background:#673ab7}.range-ios-secondary .range-bar-active,.range-ios-secondary .range-tick-active{background:#32db64}.range-ios-danger .range-bar-active,.range-ios-danger .range-tick-active{background:#f53d3d}.range-ios-light .range-bar-active,.range-ios-light .range-tick-active{background:#f4f4f4}.range-ios-dark .range-bar-active,.range-ios-dark .range-tick-active{background:#222}.range-ios-optblue .range-bar-active,.range-ios-optblue .range-tick-active{background:#e00201}.range-ios-gray .range-bar-active,.range-ios-gray .range-tick-active{background:#dad8d8}.range-ios-green .range-bar-active,.range-ios-green .range-tick-active{background:#1dc764}.range-md{padding:8px}.range-md [range-left]{margin:0 12px 0 0}.range-md [range-right]{margin:0 0 0 12px}.range-md.range-has-pin{padding-top:28px}.range-md .range-slider{height:42px}.range-md .range-bar{left:0;top:21px;position:absolute;width:100%;height:2px;background:#bdbdbd;pointer-events:none}.range-md.range-pressed .range-bar-active{will-change:left,right}.range-md.range-pressed .range-knob-handle{will-change:left}.range-md .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-md .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-md .range-knob{left:12px;top:13px;border-radius:50%;position:absolute;z-index:2;width:18px;height:18px;background:#673ab7;-webkit-transform:scale(.67);transform:scale(.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color,border,-webkit-transform;transition-property:background-color,border,-webkit-transform;transition-property:transform,background-color,border;transition-property:transform,background-color,border,-webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;pointer-events:none}.range-md .range-tick{margin-left:-1px;border-radius:50%;position:absolute;top:21px;z-index:1;width:2px;height:2px;background:#000;pointer-events:none}.range-md .range-tick-active{background:#000}.range-md .range-pin{padding:8px 0;text-align:center;border-radius:50%;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-20px;display:inline-block;min-width:28px;height:28px;font-size:12px;color:#fff;background:#673ab7;-webkit-transition:background-color 120ms ease,-webkit-transform 120ms ease;transition:background-color 120ms ease,-webkit-transform 120ms ease;transition:transform 120ms ease,background-color 120ms ease;transition:transform 120ms ease,background-color 120ms ease,-webkit-transform 120ms ease}.range-md .range-pin::before{left:50%;top:3px;border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:0;margin-left:-13px;position:absolute;z-index:-1;width:26px;height:26px;background:#673ab7;content:"";-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background-color 120ms ease;transition:background-color 120ms ease}.range-md .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-md:not(.range-has-pin) .range-knob-pressed .range-knob{-webkit-transform:scale(1);transform:scale(1)}.range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md .range-knob-min.range-knob-min .range-pin,.range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md.range-disabled .range-bar-active{background-color:#bdbdbd}.range-md.range-disabled .range-knob{outline:5px solid #fff;background-color:#bdbdbd;-webkit-transform:scale(.55);transform:scale(.55)}.range-md-primary .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin,.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-primary .range-bar-active,.range-md-primary .range-knob,.range-md-primary .range-pin,.range-md-primary .range-pin::before{background:#673ab7}.range-md-secondary .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin,.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-secondary .range-bar-active,.range-md-secondary .range-knob,.range-md-secondary .range-pin,.range-md-secondary .range-pin::before{background:#32db64}.range-md-danger .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin,.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-danger .range-bar-active,.range-md-danger .range-knob,.range-md-danger .range-pin,.range-md-danger .range-pin::before{background:#f53d3d}.range-md-light .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-light .range-md .range-knob-min.range-knob-min .range-pin,.range-md-light .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-light .range-bar-active,.range-md-light .range-knob,.range-md-light .range-pin,.range-md-light .range-pin::before{background:#f4f4f4}.range-md-dark .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin,.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-dark .range-bar-active,.range-md-dark .range-knob,.range-md-dark .range-pin,.range-md-dark .range-pin::before{background:#222}.range-md-optblue .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin,.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-optblue .range-bar-active,.range-md-optblue .range-knob,.range-md-optblue .range-pin,.range-md-optblue .range-pin::before{background:#e00201}.range-md-gray .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin,.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-gray .range-bar-active,.range-md-gray .range-knob,.range-md-gray .range-pin,.range-md-gray .range-pin::before{background:#dad8d8}.range-md-green .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-green .range-md .range-knob-min.range-knob-min .range-pin,.range-md-green .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-green .range-bar-active,.range-md-green .range-knob,.range-md-green .range-pin,.range-md-green .range-pin::before{background:#1dc764}.range-wp{padding:8px}.range-wp [range-left]{margin:0 12px 0 0}.range-wp [range-right]{margin:0 0 0 12px}.range-wp.range-has-pin{padding-top:28px}.range-wp .range-slider{height:42px}.range-wp .range-bar{left:0;top:21px;position:absolute;width:100%;height:2px;background:#bdbdbd;pointer-events:none}.range-wp.range-pressed .range-bar-active{will-change:left,right}.range-wp.range-pressed .range-knob-handle{will-change:left}.range-wp .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-wp .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-wp .range-knob{left:17px;top:10px;border-radius:4px;position:absolute;width:8px;height:24px;background:#673ab7;pointer-events:none}.range-wp .range-tick{margin-left:-1px;border-radius:4px;position:absolute;top:19px;width:2px;height:6px;background:#bdbdbd;pointer-events:none}.range-wp .range-tick-active{background:#673ab7}.range-wp .range-pin{text-align:center;border-radius:50px;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-24px;display:inline-block;min-width:28px;font-size:12px;color:#fff;background:#673ab7;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease,-webkit-transform 120ms ease;padding:8px}.range-wp .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-wp.range-disabled{opacity:.5}.range-wp-primary .range-bar-active,.range-wp-primary .range-knob,.range-wp-primary .range-pin,.range-wp-primary .range-tick-active{background:#673ab7}.range-wp-secondary .range-bar-active,.range-wp-secondary .range-knob,.range-wp-secondary .range-pin,.range-wp-secondary .range-tick-active{background:#32db64}.range-wp-danger .range-bar-active,.range-wp-danger .range-knob,.range-wp-danger .range-pin,.range-wp-danger .range-tick-active{background:#f53d3d}.range-wp-light .range-bar-active,.range-wp-light .range-knob,.range-wp-light .range-pin,.range-wp-light .range-tick-active{background:#f4f4f4}.range-wp-dark .range-bar-active,.range-wp-dark .range-knob,.range-wp-dark .range-pin,.range-wp-dark .range-tick-active{background:#222}.range-wp-optblue .range-bar-active,.range-wp-optblue .range-knob,.range-wp-optblue .range-pin,.range-wp-optblue .range-tick-active{background:#e00201}.range-wp-gray .range-bar-active,.range-wp-gray .range-knob,.range-wp-gray .range-pin,.range-wp-gray .range-tick-active{background:#dad8d8}.range-wp-green .range-bar-active,.range-wp-green .range-knob,.range-wp-green .range-pin,.range-wp-green .range-tick-active{background:#1dc764}ion-refresher{left:0;top:0;position:absolute;z-index:0;display:none;width:100%;height:60px}ion-refresher.refresher-active{display:block}.has-refresher>.scroll-content{margin-top:-1px;border-top:1px solid #ddd;-webkit-transition:-webkit-transform 320ms cubic-bezier(.36,.66,.04,1);transition:-webkit-transform 320ms cubic-bezier(.36,.66,.04,1);transition:transform 320ms cubic-bezier(.36,.66,.04,1);transition:transform 320ms cubic-bezier(.36,.66,.04,1),-webkit-transform 320ms cubic-bezier(.36,.66,.04,1)}ion-refresher-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{text-align:center;-webkit-transform-origin:center;transform-origin:center;font-size:30px;color:#000;-webkit-transition:.2s;transition:.2s}.refresher-pulling-text,.refresher-refreshing-text{text-align:center;font-size:16px;color:#000}.refresher-refreshing .spinner-crescent circle,.refresher-refreshing .spinner-ios line,.refresher-refreshing .spinner-ios-small line{stroke:#000}.refresher-refreshing .spinner-bubbles circle,.refresher-refreshing .spinner-circles circle,.refresher-refreshing .spinner-dots circle{fill:#000}ion-refresher-content[state=pulling] .refresher-pulling{display:block}ion-refresher-content[state=ready] .refresher-pulling{display:block}ion-refresher-content[state=ready] .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}ion-refresher-content[state=refreshing] .refresher-refreshing{display:block}ion-refresher-content[state=cancelling] .refresher-pulling{display:block}ion-refresher-content[state=cancelling] .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}ion-refresher-content[state=completing] .refresher-refreshing{display:block}ion-refresher-content[state=completing] .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}ion-scroll{position:relative;display:block}ion-scroll.scroll-x .scroll-content{overflow-x:auto}ion-scroll.scroll-y .scroll-content{overflow-y:auto}ion-scroll[center] .scroll-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}ion-scroll .scroll-content{left:0;right:0;top:0;bottom:0;position:absolute;overflow-y:hidden;overflow-x:hidden;-webkit-overflow-scrolling:touch;will-change:scroll-position}ion-searchbar{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%}.searchbar-icon{pointer-events:none}.searchbar-input-container{position:relative;display:block;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;border:0;font-family:inherit}.searchbar-clear-icon{margin:0;padding:0;display:none;min-height:0}.searchbar-has-value.searchbar-has-focus .searchbar-clear-icon{display:block}.searchbar-ios{padding:0 8px;min-height:44px;border-top:.55px solid transparent;border-bottom:.55px solid rgba(0,0,0,.05);background:rgba(0,0,0,.2)}.searchbar-ios .searchbar-search-icon{left:9px;top:9px;background-image:url("data:image/svg+xml;charset=utf-8,");margin-left:calc(50% - 60px);position:absolute;width:14px;height:14px;background-repeat:no-repeat;background-size:13px}.searchbar-ios .searchbar-input{padding:0 28px;border-radius:5px;height:3rem;font-size:1.4rem;font-weight:400;color:#000;background-color:#fff}.searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-clear-icon{right:0;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");background-position:center;position:absolute;width:30px;height:100%;background-repeat:no-repeat;background-size:18px}.searchbar-ios .searchbar-ios-cancel{padding:0 0 0 8px;margin-left:0;display:none;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;cursor:pointer}.searchbar-ios.searchbar-left-aligned .searchbar-search-icon{margin-left:0}.searchbar-ios.searchbar-left-aligned .searchbar-input{padding-left:30px}.searchbar-ios.searchbar-show-cancel.searchbar-has-focus .searchbar-ios-cancel{display:block}.toolbar .searchbar-ios{border-bottom-width:0;background:0 0}.toolbar .searchbar-ios .searchbar-input{background:rgba(0,0,0,.08)}.toolbar .searchbar-ios .searchbar-ios-cancel{padding:0}.toolbar .searchbar-ios.searchbar-has-focus .searchbar-ios-cancel{padding-left:8px}.searchbar-ios .searchbar-md-cancel{display:none}.searchbar-ios-primary .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-primary .searchbar-ios-cancel:hover:not(.disable-hover){color:#734abd}.toolbar-ios-primary .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-primary .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-primary .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-primary .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-secondary .searchbar-ios-cancel{color:#32db64}.searchbar-ios-secondary .searchbar-ios-cancel:hover:not(.disable-hover){color:#2ec95c}.toolbar-ios-secondary .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-secondary .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-secondary .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-secondary .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-danger .searchbar-ios-cancel{color:#f53d3d}.searchbar-ios-danger .searchbar-ios-cancel:hover:not(.disable-hover){color:#e13838}.toolbar-ios-danger .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-danger .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-danger .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-danger .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-light .searchbar-ios-cancel{color:#f4f4f4}.searchbar-ios-light .searchbar-ios-cancel:hover:not(.disable-hover){color:#e0e0e0}.toolbar-ios-light .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-light .searchbar-ios .searchbar-input{color:#000;background:rgba(0,0,0,.08)}.toolbar-ios-light .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-light .searchbar-ios .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-dark .searchbar-ios-cancel{color:#222}.searchbar-ios-dark .searchbar-ios-cancel:hover:not(.disable-hover){color:#343434}.toolbar-ios-dark .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-dark .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-dark .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-dark .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-optblue .searchbar-ios-cancel{color:#e00201}.searchbar-ios-optblue .searchbar-ios-cancel:hover:not(.disable-hover){color:#e21615}.toolbar-ios-optblue .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-optblue .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-optblue .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-optblue .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-gray .searchbar-ios-cancel{color:#dad8d8}.searchbar-ios-gray .searchbar-ios-cancel:hover:not(.disable-hover){color:#c9c7c7}.toolbar-ios-gray .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-gray .searchbar-ios .searchbar-input{color:#000;background:rgba(0,0,0,.08)}.toolbar-ios-gray .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-gray .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-gray .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.toolbar-ios-gray .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-gray .searchbar-ios .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-green .searchbar-ios-cancel{color:#1dc764}.searchbar-ios-green .searchbar-ios-cancel:hover:not(.disable-hover){color:#2fcb70}.toolbar-ios-green .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-green .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-green .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-green .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-green .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-green .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-green .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios.searchbar-animated.searchbar-show-cancel .searchbar-ios-cancel{display:block}.searchbar-ios.searchbar-animated .searchbar-input,.searchbar-ios.searchbar-animated .searchbar-search-icon{-webkit-transition:all .3s ease;transition:all .3s ease}.searchbar-animated.searchbar-has-focus .searchbar-ios-cancel{opacity:1;pointer-events:auto}.searchbar-animated .searchbar-ios-cancel{margin-right:-100%;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:0;-webkit-transition:all .3s ease;transition:all .3s ease;pointer-events:none}.searchbar-md{background:inherit;padding:8px}.searchbar-md .searchbar-search-icon{left:16px;top:11px;background-image:url("data:image/svg+xml;charset=utf-8,");width:21px;height:21px}.searchbar-md .searchbar-md-cancel{left:10px;top:0;margin:0;display:none;width:21px;height:100%}.searchbar-md .searchbar-md-cancel,.searchbar-md .searchbar-search-icon{position:absolute;background-repeat:no-repeat;background-size:20px}.searchbar-md .searchbar-md-cancel.activated,.searchbar-md .searchbar-search-icon.activated{background-color:transparent}.searchbar-md .searchbar-input{padding:6px 55px;border-radius:2px;background-position:left 8px center;height:auto;font-size:1.6rem;font-weight:400;line-height:3rem;color:#141414;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.searchbar-md .searchbar-input::-moz-placeholder{color:#aeaeae}.searchbar-md .searchbar-input:-ms-input-placeholder{color:#aeaeae}.searchbar-md .searchbar-input::-webkit-input-placeholder{text-indent:0;color:#aeaeae}.searchbar-md .searchbar-clear-icon{right:13px;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");padding:0;background-position:center;position:absolute;width:22px;height:100%;background-repeat:no-repeat;background-size:22px}.searchbar-md .searchbar-clear-icon.activated{background-color:transparent}.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon{display:none}.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.toolbar .searchbar-md{padding:3px}.toolbar .searchbar-md .searchbar-md-cancel{left:14px}.searchbar-md .searchbar-ios-cancel{display:none}.searchbar-wp{background:0 0;padding:8px}.searchbar-wp .searchbar-input-container{border:2px solid rgba(0,0,0,.5)}.searchbar-wp .searchbar-search-icon{right:8px;top:5px;background-image:url("data:image/svg+xml;charset=utf-8,");position:absolute;width:21px;height:21px;background-repeat:no-repeat;background-size:20px}.searchbar-wp .searchbar-search-icon.activated{background-color:transparent}.searchbar-wp .searchbar-input{padding:0 8px;border-radius:0;background-position:left 8px center;height:auto;font-size:1.4rem;font-weight:400;line-height:3rem;color:#141414;background-color:#fff}.searchbar-wp .searchbar-input::-moz-placeholder{color:#858585}.searchbar-wp .searchbar-input:-ms-input-placeholder{color:#858585}.searchbar-wp .searchbar-input::-webkit-input-placeholder{text-indent:0;color:#858585}.searchbar-wp .searchbar-clear-icon{right:8px;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");padding:0;background-position:center;position:absolute;width:22px;height:100%;background-repeat:no-repeat;background-size:22px}.searchbar-wp .searchbar-clear-icon.activated{background-color:transparent}.searchbar-wp.searchbar-has-focus .searchbar-input-container{border-color:#673ab7}.searchbar-wp.searchbar-has-value .searchbar-search-icon{display:none}.searchbar-wp .searchbar-ios-cancel{display:none}.searchbar-wp .searchbar-md-cancel{display:none}.toolbar .searchbar-wp{padding:2px}.searchbar-wp-primary.searchbar-has-focus .searchbar-input-container{border-color:#673ab7}.searchbar-wp-secondary.searchbar-has-focus .searchbar-input-container{border-color:#32db64}.searchbar-wp-danger.searchbar-has-focus .searchbar-input-container{border-color:#f53d3d}.searchbar-wp-light.searchbar-has-focus .searchbar-input-container{border-color:#f4f4f4}.searchbar-wp-dark.searchbar-has-focus .searchbar-input-container{border-color:#222}.searchbar-wp-optblue.searchbar-has-focus .searchbar-input-container{border-color:#e00201}.searchbar-wp-gray.searchbar-has-focus .searchbar-input-container{border-color:#dad8d8}.searchbar-wp-green.searchbar-has-focus .searchbar-input-container{border-color:#1dc764}ion-segment{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%}.segment-button{margin-left:0;margin-right:0;text-align:center;position:relative;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.segment-ios .segment-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:0;height:3.2rem;border-width:1px;border-style:solid;border-color:#673ab7;font-size:1.3rem;line-height:3rem;color:#673ab7;background-color:transparent}.segment-ios .segment-button ion-icon{font-size:2.6rem;line-height:2.8rem}.segment-ios .segment-button.segment-activated{color:#fff;background-color:#673ab7;opacity:1;-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:hover:not(.segment-activated){background-color:rgba(103,58,183,.1);-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:active:not(.segment-activated){background-color:rgba(103,58,183,.16);-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:first-of-type{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;margin-right:0}.segment-ios .segment-button:not(:first-of-type){border-left-width:0}.segment-ios .segment-button:last-of-type{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0;margin-left:0;border-left-width:0}[dir=rtl] .segment-ios .segment-button:first-of-type{border-left-width:0}[dir=rtl] .segment-ios .segment-button:last-of-type{border-left-width:1px}.segment-ios.segment-disabled{opacity:.4;pointer-events:none}.segment-ios .segment-button-disabled{color:rgba(103,58,183,.3);pointer-events:none}.toolbar-ios .segment-ios{left:0;right:0;top:0;bottom:0;position:absolute}.toolbar-ios .segment-button{max-width:100px;height:2.6rem;font-size:1.2rem;line-height:2.5rem}.toolbar-ios .segment-button ion-icon{font-size:2.2rem;line-height:2.4rem}.segment-ios-primary .segment-button{border-color:#673ab7;color:#673ab7}.segment-ios-primary .segment-button:hover:not(.segment-activated){background-color:rgba(103,58,183,.1)}.segment-ios-primary .segment-button:active:not(.segment-activated){background-color:rgba(103,58,183,.16)}.segment-ios-primary .segment-button.segment-activated{color:#fff;background-color:#673ab7}.segment-ios-primary .segment-button-disabled{color:rgba(103,58,183,.3)}.toolbar-ios-primary .segment-ios .segment-button.segment-activated{color:#673ab7}.segment-ios-secondary .segment-button{border-color:#32db64;color:#32db64}.segment-ios-secondary .segment-button:hover:not(.segment-activated){background-color:rgba(50,219,100,.1)}.segment-ios-secondary .segment-button:active:not(.segment-activated){background-color:rgba(50,219,100,.16)}.segment-ios-secondary .segment-button.segment-activated{color:#fff;background-color:#32db64}.segment-ios-secondary .segment-button-disabled{color:rgba(50,219,100,.3)}.toolbar-ios-secondary .segment-ios .segment-button.segment-activated{color:#32db64}.segment-ios-danger .segment-button{border-color:#f53d3d;color:#f53d3d}.segment-ios-danger .segment-button:hover:not(.segment-activated){background-color:rgba(245,61,61,.1)}.segment-ios-danger .segment-button:active:not(.segment-activated){background-color:rgba(245,61,61,.16)}.segment-ios-danger .segment-button.segment-activated{color:#fff;background-color:#f53d3d}.segment-ios-danger .segment-button-disabled{color:rgba(245,61,61,.3)}.toolbar-ios-danger .segment-ios .segment-button.segment-activated{color:#f53d3d}.segment-ios-light .segment-button{border-color:#f4f4f4;color:#f4f4f4}.segment-ios-light .segment-button:hover:not(.segment-activated){background-color:rgba(244,244,244,.1)}.segment-ios-light .segment-button:active:not(.segment-activated){background-color:rgba(244,244,244,.16)}.segment-ios-light .segment-button.segment-activated{color:#000;background-color:#f4f4f4}.segment-ios-light .segment-button-disabled{color:rgba(244,244,244,.3)}.toolbar-ios-light .segment-ios .segment-button.segment-activated{color:#f4f4f4}.segment-ios-dark .segment-button{border-color:#222;color:#222}.segment-ios-dark .segment-button:hover:not(.segment-activated){background-color:rgba(34,34,34,.1)}.segment-ios-dark .segment-button:active:not(.segment-activated){background-color:rgba(34,34,34,.16)}.segment-ios-dark .segment-button.segment-activated{color:#fff;background-color:#222}.segment-ios-dark .segment-button-disabled{color:rgba(34,34,34,.3)}.toolbar-ios-dark .segment-ios .segment-button.segment-activated{color:#222}.segment-ios-optblue .segment-button{border-color:#e00201;color:#e00201}.segment-ios-optblue .segment-button:hover:not(.segment-activated){background-color:rgba(224,2,1,.1)}.segment-ios-optblue .segment-button:active:not(.segment-activated){background-color:rgba(224,2,1,.16)}.segment-ios-optblue .segment-button.segment-activated{color:#fff;background-color:#e00201}.segment-ios-optblue .segment-button-disabled{color:rgba(224,2,1,.3)}.toolbar-ios-optblue .segment-ios .segment-button.segment-activated{color:#e00201}.segment-ios-gray .segment-button{border-color:#dad8d8;color:#dad8d8}.segment-ios-gray .segment-button:hover:not(.segment-activated){background-color:rgba(218,216,216,.1)}.segment-ios-gray .segment-button:active:not(.segment-activated){background-color:rgba(218,216,216,.16)}.segment-ios-gray .segment-button.segment-activated{color:#000;background-color:#dad8d8}.segment-ios-gray .segment-button-disabled{color:rgba(218,216,216,.3)}.toolbar-ios-gray .segment-ios .segment-button.segment-activated{color:#dad8d8}.segment-ios-green .segment-button{border-color:#1dc764;color:#1dc764}.segment-ios-green .segment-button:hover:not(.segment-activated){background-color:rgba(29,199,100,.1)}.segment-ios-green .segment-button:active:not(.segment-activated){background-color:rgba(29,199,100,.16)}.segment-ios-green .segment-button.segment-activated{color:#fff;background-color:#1dc764}.segment-ios-green .segment-button-disabled{color:rgba(29,199,100,.3)}.toolbar-ios-green .segment-ios .segment-button.segment-activated{color:#1dc764}.segment-md .segment-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:0;height:4.2rem;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:rgba(0,0,0,.1);font-size:1.2rem;font-weight:500;line-height:4rem;text-transform:uppercase;color:#673ab7;background-color:transparent;opacity:.7;-webkit-transition:.1s all linear;transition:.1s all linear;padding:0 6px}.segment-md .segment-button ion-icon{font-size:2.6rem;line-height:4rem}.segment-md .segment-button.activated,.segment-md .segment-button.segment-activated{border-color:#673ab7;opacity:1}.segment-md .segment-button-disabled,.segment-md.segment-disabled{opacity:.3;pointer-events:none}.toolbar .segment-md{margin:0 auto}.toolbar .segment-md .segment-button.activated,.toolbar .segment-md .segment-button.segment-activated{opacity:1}.segment-md-primary .segment-button{color:#673ab7}.segment-md-primary .segment-button.activated,.segment-md-primary .segment-button.segment-activated{border-color:#673ab7;color:#673ab7;opacity:1}.segment-md-secondary .segment-button{color:#32db64}.segment-md-secondary .segment-button.activated,.segment-md-secondary .segment-button.segment-activated{border-color:#32db64;color:#32db64;opacity:1}.segment-md-danger .segment-button{color:#f53d3d}.segment-md-danger .segment-button.activated,.segment-md-danger .segment-button.segment-activated{border-color:#f53d3d;color:#f53d3d;opacity:1}.segment-md-light .segment-button{color:#f4f4f4}.segment-md-light .segment-button.activated,.segment-md-light .segment-button.segment-activated{border-color:#f4f4f4;color:#f4f4f4;opacity:1}.segment-md-dark .segment-button{color:#222}.segment-md-dark .segment-button.activated,.segment-md-dark .segment-button.segment-activated{border-color:#222;color:#222;opacity:1}.segment-md-optblue .segment-button{color:#e00201}.segment-md-optblue .segment-button.activated,.segment-md-optblue .segment-button.segment-activated{border-color:#e00201;color:#e00201;opacity:1}.segment-md-gray .segment-button{color:#dad8d8}.segment-md-gray .segment-button.activated,.segment-md-gray .segment-button.segment-activated{border-color:#dad8d8;color:#dad8d8;opacity:1}.segment-md-green .segment-button{color:#1dc764}.segment-md-green .segment-button.activated,.segment-md-green .segment-button.segment-activated{border-color:#1dc764;color:#1dc764;opacity:1}.segment-wp{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.segment-wp .segment-button{height:4rem;font-size:1.3rem;font-weight:700;line-height:4rem;text-transform:uppercase;color:#000;background-color:transparent;opacity:.5;padding:0 6px}.segment-wp .segment-button.segment-activated{opacity:1}.segment-wp .segment-button ion-icon{font-size:2.6rem;line-height:4rem}.segment-wp .segment-button-disabled,.segment-wp.segment-disabled{opacity:.3;pointer-events:none}.toolbar .segment-wp{margin:0 auto}.segment-wp-primary .segment-button{color:#673ab7}.segment-wp-primary .segment-button.activated,.segment-wp-primary .segment-button.segment-activated{border-color:#673ab7;color:#673ab7;opacity:1}.segment-wp-secondary .segment-button{color:#32db64}.segment-wp-secondary .segment-button.activated,.segment-wp-secondary .segment-button.segment-activated{border-color:#32db64;color:#32db64;opacity:1}.segment-wp-danger .segment-button{color:#f53d3d}.segment-wp-danger .segment-button.activated,.segment-wp-danger .segment-button.segment-activated{border-color:#f53d3d;color:#f53d3d;opacity:1}.segment-wp-light .segment-button{color:#f4f4f4}.segment-wp-light .segment-button.activated,.segment-wp-light .segment-button.segment-activated{border-color:#f4f4f4;color:#f4f4f4;opacity:1}.segment-wp-dark .segment-button{color:#222}.segment-wp-dark .segment-button.activated,.segment-wp-dark .segment-button.segment-activated{border-color:#222;color:#222;opacity:1}.segment-wp-optblue .segment-button{color:#e00201}.segment-wp-optblue .segment-button.activated,.segment-wp-optblue .segment-button.segment-activated{border-color:#e00201;color:#e00201;opacity:1}.segment-wp-gray .segment-button{color:#dad8d8}.segment-wp-gray .segment-button.activated,.segment-wp-gray .segment-button.segment-activated{border-color:#dad8d8;color:#dad8d8;opacity:1}.segment-wp-green .segment-button{color:#1dc764}.segment-wp-green .segment-button.activated,.segment-wp-green .segment-button.segment-activated{border-color:#1dc764;color:#1dc764;opacity:1}ion-select{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;max-width:45%}.select-text{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap}.item-multiple-inputs ion-select{position:relative}.item-select-disabled ion-label,.select-disabled{opacity:.4;pointer-events:none}.select-popover ion-list{margin:-1px 0}.select-ios{padding:11px 8px 11px 16px}.select-ios .select-placeholder{color:#999}.select-ios .select-icon{position:relative;width:12px;height:18px}.select-ios .select-icon .select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:#999;pointer-events:none}.select-md{padding:13px 8px 13px 16px}.select-md .select-placeholder{color:#999}.select-md .item-select ion-label{margin-left:0}.select-md .select-icon{position:relative;width:12px;height:19px}.select-md .select-icon .select-icon-inner{left:5px;top:50%;margin-top:-3px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:#999;pointer-events:none}.select-wp{margin:13px 8px;padding:0 8px;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:100%;border:2px solid rgba(0,0,0,.5);line-height:3rem}.select-wp .select-placeholder{color:rgba(0,0,0,.5)}.item-wp.item-select ion-label{margin-left:0}.select-wp .select-icon{position:relative;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;width:18px;height:18px}.select-wp .select-icon .select-icon-inner{left:5px;top:3px;position:absolute;display:block;width:9px;height:9px;border-top:2px solid rgba(0,0,0,.5);border-right:2px solid rgba(0,0,0,.5);-webkit-transform:rotate(135deg);transform:rotate(135deg);pointer-events:none}.select-wp .select-text{min-height:3rem}.hidden-show-when{display:none!important}.hidden-hide-when{display:none!important}.swiper-container{margin-left:auto;margin-right:auto;padding:0;position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:100%}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{padding:0;position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{text-align:center;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:18px;-webkit-box-sizing:border-box;box-sizing:border-box}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container .swiper-notification{left:0;top:0;position:absolute;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{top:50%;margin-top:-22px;background-position:center;position:absolute;z-index:10;width:27px;height:44px;background-repeat:no-repeat;background-size:27px 44px;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:auto;right:10px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-pagination{text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:absolute;z-index:10;-webkit-transition:.3s;transition:.3s;pointer-events:none}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{left:0;bottom:10px;width:100%}.swiper-pagination-bullet{border-radius:100%;display:inline-block;width:8px;height:8px;background:#000;opacity:.2;pointer-events:auto}button.swiper-pagination-bullet{margin:0;padding:0;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border:0;-webkit-box-shadow:none;box-shadow:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 0;display:block}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 5px}.swiper-pagination-progress{position:absolute;background:rgba(0,0,0,.25)}.swiper-pagination-progress .swiper-pagination-progressbar{left:0;top:0;-webkit-transform-origin:left top;transform-origin:left top;position:absolute;width:100%;height:100%;background:#007aff;-webkit-transform:scale(0);transform:scale(0)}.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progress{left:0;top:0;width:100%;height:4px}.swiper-container-vertical>.swiper-pagination-progress{left:0;top:0;width:4px;height:100%}.swiper-pagination-progress.swiper-pagination-white{background:rgba(255,255,255,.5)}.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar{background:#fff}.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar{background:#000}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{left:0;top:0;position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to left,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to right,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to top,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper,.swiper-container-flip .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-container-cube,.swiper-container-flip{overflow:visible}.swiper-container-cube .swiper-slide,.swiper-container-flip .swiper-slide{z-index:1;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none}.swiper-container-cube .swiper-slide .swiper-slide,.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active,.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-slide{-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%;visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{left:0;bottom:0;position:absolute;z-index:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{-webkit-transition-property:opacity;transition-property:opacity;pointer-events:none}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-zoom-container{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-scrollbar{border-radius:10px;position:relative;background:rgba(0,0,0,.1);-ms-touch-action:none;touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{left:1%;bottom:3px;position:absolute;z-index:50;width:98%;height:5px}.swiper-container-vertical>.swiper-scrollbar{right:3px;top:1%;position:absolute;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{left:0;top:0;border-radius:10px;position:relative;width:100%;height:100%;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{left:50%;top:50%;margin-left:-21px;margin-top:-21px;-webkit-transform-origin:50%;transform-origin:50%;position:absolute;z-index:10;width:42px;height:42px;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader::after{background-position:50%;display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:100%;content:""}.swiper-lazy-preloader-white::after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}ion-slides{display:block;width:100%;height:100%}.slide-zoom{text-align:center;display:block;width:100%}.swiper-slide img{width:auto;max-width:100%;height:auto;max-height:100%}ion-spinner{position:relative;display:inline-block;width:28px;height:28px}ion-spinner svg{left:0;top:0;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-spinner.spinner-paused svg{-webkit-animation-play-state:paused;animation-play-state:paused}.spinner-ios line,.spinner-ios-small line{stroke-width:4px;stroke-linecap:round}.spinner-ios svg,.spinner-ios-small svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}.spinner-bubbles svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite}.spinner-circles svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}.spinner-crescent circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px}.spinner-crescent svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}.spinner-dots circle{stroke-width:0}.spinner-dots svg{-webkit-transform-origin:center;transform-origin:center;-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(0,0);transform:scale(0,0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(0,0);transform:scale(0,0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}50%{opacity:.3;-webkit-transform:scale(.4,.4);transform:scale(.4,.4)}100%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}}@keyframes spinner-dots{0%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}50%{opacity:.3;-webkit-transform:scale(.4,.4);transform:scale(.4,.4)}100%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}}.spinner-ios-ios line,.spinner-ios-ios-small line{stroke:#69717d}.spinner-ios-bubbles circle{fill:#000}.spinner-ios-circles circle{fill:#69717d}.spinner-ios-crescent circle{stroke:#000}.spinner-ios-dots circle{fill:#444}.spinner-ios-primary.spinner-crescent circle,.spinner-ios-primary.spinner-ios line,.spinner-ios-primary.spinner-ios-small line{stroke:#673ab7}.spinner-ios-primary.spinner-bubbles circle,.spinner-ios-primary.spinner-circles circle,.spinner-ios-primary.spinner-dots circle{fill:#673ab7}.spinner-ios-secondary.spinner-crescent circle,.spinner-ios-secondary.spinner-ios line,.spinner-ios-secondary.spinner-ios-small line{stroke:#32db64}.spinner-ios-secondary.spinner-bubbles circle,.spinner-ios-secondary.spinner-circles circle,.spinner-ios-secondary.spinner-dots circle{fill:#32db64}.spinner-ios-danger.spinner-crescent circle,.spinner-ios-danger.spinner-ios line,.spinner-ios-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-ios-danger.spinner-bubbles circle,.spinner-ios-danger.spinner-circles circle,.spinner-ios-danger.spinner-dots circle{fill:#f53d3d}.spinner-ios-light.spinner-crescent circle,.spinner-ios-light.spinner-ios line,.spinner-ios-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-ios-light.spinner-bubbles circle,.spinner-ios-light.spinner-circles circle,.spinner-ios-light.spinner-dots circle{fill:#f4f4f4}.spinner-ios-dark.spinner-crescent circle,.spinner-ios-dark.spinner-ios line,.spinner-ios-dark.spinner-ios-small line{stroke:#222}.spinner-ios-dark.spinner-bubbles circle,.spinner-ios-dark.spinner-circles circle,.spinner-ios-dark.spinner-dots circle{fill:#222}.spinner-ios-optblue.spinner-crescent circle,.spinner-ios-optblue.spinner-ios line,.spinner-ios-optblue.spinner-ios-small line{stroke:#e00201}.spinner-ios-optblue.spinner-bubbles circle,.spinner-ios-optblue.spinner-circles circle,.spinner-ios-optblue.spinner-dots circle{fill:#e00201}.spinner-ios-gray.spinner-crescent circle,.spinner-ios-gray.spinner-ios line,.spinner-ios-gray.spinner-ios-small line{stroke:#dad8d8}.spinner-ios-gray.spinner-bubbles circle,.spinner-ios-gray.spinner-circles circle,.spinner-ios-gray.spinner-dots circle{fill:#dad8d8}.spinner-ios-green.spinner-crescent circle,.spinner-ios-green.spinner-ios line,.spinner-ios-green.spinner-ios-small line{stroke:#1dc764}.spinner-ios-green.spinner-bubbles circle,.spinner-ios-green.spinner-circles circle,.spinner-ios-green.spinner-dots circle{fill:#1dc764}.spinner-md-ios line,.spinner-md-ios-small line{stroke:#69717d}.spinner-md-bubbles circle{fill:#000}.spinner-md-circles circle{fill:#69717d}.spinner-md-crescent circle{stroke:#000}.spinner-md-dots circle{fill:#444}.spinner-md-primary.spinner-crescent circle,.spinner-md-primary.spinner-ios line,.spinner-md-primary.spinner-ios-small line{stroke:#673ab7}.spinner-md-primary.spinner-bubbles circle,.spinner-md-primary.spinner-circles circle,.spinner-md-primary.spinner-dots circle{fill:#673ab7}.spinner-md-secondary.spinner-crescent circle,.spinner-md-secondary.spinner-ios line,.spinner-md-secondary.spinner-ios-small line{stroke:#32db64}.spinner-md-secondary.spinner-bubbles circle,.spinner-md-secondary.spinner-circles circle,.spinner-md-secondary.spinner-dots circle{fill:#32db64}.spinner-md-danger.spinner-crescent circle,.spinner-md-danger.spinner-ios line,.spinner-md-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-md-danger.spinner-bubbles circle,.spinner-md-danger.spinner-circles circle,.spinner-md-danger.spinner-dots circle{fill:#f53d3d}.spinner-md-light.spinner-crescent circle,.spinner-md-light.spinner-ios line,.spinner-md-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-md-light.spinner-bubbles circle,.spinner-md-light.spinner-circles circle,.spinner-md-light.spinner-dots circle{fill:#f4f4f4}.spinner-md-dark.spinner-crescent circle,.spinner-md-dark.spinner-ios line,.spinner-md-dark.spinner-ios-small line{stroke:#222}.spinner-md-dark.spinner-bubbles circle,.spinner-md-dark.spinner-circles circle,.spinner-md-dark.spinner-dots circle{fill:#222}.spinner-md-optblue.spinner-crescent circle,.spinner-md-optblue.spinner-ios line,.spinner-md-optblue.spinner-ios-small line{stroke:#e00201}.spinner-md-optblue.spinner-bubbles circle,.spinner-md-optblue.spinner-circles circle,.spinner-md-optblue.spinner-dots circle{fill:#e00201}.spinner-md-gray.spinner-crescent circle,.spinner-md-gray.spinner-ios line,.spinner-md-gray.spinner-ios-small line{stroke:#dad8d8}.spinner-md-gray.spinner-bubbles circle,.spinner-md-gray.spinner-circles circle,.spinner-md-gray.spinner-dots circle{fill:#dad8d8}.spinner-md-green.spinner-crescent circle,.spinner-md-green.spinner-ios line,.spinner-md-green.spinner-ios-small line{stroke:#1dc764}.spinner-md-green.spinner-bubbles circle,.spinner-md-green.spinner-circles circle,.spinner-md-green.spinner-dots circle{fill:#1dc764}.spinner-wp-ios line,.spinner-wp-ios-small line{stroke:#69717d}.spinner-wp-bubbles circle{fill:#000}.spinner-wp-circles circle{fill:#69717d}.spinner-wp-crescent circle{stroke:#000}.spinner-wp-dots circle{fill:#444}.spinner-wp-primary.spinner-crescent circle,.spinner-wp-primary.spinner-ios line,.spinner-wp-primary.spinner-ios-small line{stroke:#673ab7}.spinner-wp-primary.spinner-bubbles circle,.spinner-wp-primary.spinner-circles circle,.spinner-wp-primary.spinner-dots circle{fill:#673ab7}.spinner-wp-secondary.spinner-crescent circle,.spinner-wp-secondary.spinner-ios line,.spinner-wp-secondary.spinner-ios-small line{stroke:#32db64}.spinner-wp-secondary.spinner-bubbles circle,.spinner-wp-secondary.spinner-circles circle,.spinner-wp-secondary.spinner-dots circle{fill:#32db64}.spinner-wp-danger.spinner-crescent circle,.spinner-wp-danger.spinner-ios line,.spinner-wp-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-wp-danger.spinner-bubbles circle,.spinner-wp-danger.spinner-circles circle,.spinner-wp-danger.spinner-dots circle{fill:#f53d3d}.spinner-wp-light.spinner-crescent circle,.spinner-wp-light.spinner-ios line,.spinner-wp-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-wp-light.spinner-bubbles circle,.spinner-wp-light.spinner-circles circle,.spinner-wp-light.spinner-dots circle{fill:#f4f4f4}.spinner-wp-dark.spinner-crescent circle,.spinner-wp-dark.spinner-ios line,.spinner-wp-dark.spinner-ios-small line{stroke:#222}.spinner-wp-dark.spinner-bubbles circle,.spinner-wp-dark.spinner-circles circle,.spinner-wp-dark.spinner-dots circle{fill:#222}.spinner-wp-optblue.spinner-crescent circle,.spinner-wp-optblue.spinner-ios line,.spinner-wp-optblue.spinner-ios-small line{stroke:#e00201}.spinner-wp-optblue.spinner-bubbles circle,.spinner-wp-optblue.spinner-circles circle,.spinner-wp-optblue.spinner-dots circle{fill:#e00201}.spinner-wp-gray.spinner-crescent circle,.spinner-wp-gray.spinner-ios line,.spinner-wp-gray.spinner-ios-small line{stroke:#dad8d8}.spinner-wp-gray.spinner-bubbles circle,.spinner-wp-gray.spinner-circles circle,.spinner-wp-gray.spinner-dots circle{fill:#dad8d8}.spinner-wp-green.spinner-crescent circle,.spinner-wp-green.spinner-ios line,.spinner-wp-green.spinner-ios-small line{stroke:#1dc764}.spinner-wp-green.spinner-bubbles circle,.spinner-wp-green.spinner-circles circle,.spinner-wp-green.spinner-dots circle{fill:#1dc764}.split-pane{left:0;right:0;top:0;bottom:0;position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}.split-pane-side:not(ion-menu){display:none}.split-pane-visible>.split-pane-main,.split-pane-visible>.split-pane-side{left:0;right:0;top:0;bottom:0;position:relative;z-index:0;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-shadow:none!important;box-shadow:none!important}.split-pane-visible>.split-pane-side{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-main,.split-pane-visible>ion-menu.menu-enabled,.split-pane-visible>ion-nav.split-pane-side,.split-pane-visible>ion-tabs.split-pane-side{display:block}.split-pane-visible>ion-split-pane.split-pane-main,.split-pane-visible>ion-split-pane.split-pane-side{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.split-pane-visible>ion-menu.menu-enabled>.menu-inner{left:0;right:0;width:auto;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-transform:none!important;transform:none!important}.split-pane-visible>ion-menu.menu-enabled>.ion-backdrop{display:hidden!important}.split-pane-visible>.split-pane-side[side=start]{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-side[side=end]{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}.split-pane-visible>.split-pane-side[side=left]{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-side[side=right]{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}.split-pane-ios.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:.55px solid #c8c7cc;border-left:0}.split-pane-ios.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:.55px solid #c8c7cc}.split-pane-md.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:1px solid #dedede;border-left:0}.split-pane-md.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:1px solid #dedede}.split-pane-wp.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:1px solid transparent;border-left:0}.split-pane-wp.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:1px solid transparent}.tabbar{left:0;bottom:0;position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;opacity:0}.tabbar-hidden .tabbar{display:none}.tabbar.show-tabbar{opacity:1}[tabsPlacement=top]>.tabbar{top:0;bottom:auto}.tab-button{margin:0;text-align:center;border-radius:0;position:relative;z-index:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border:0;text-decoration:none;background:0 0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tab-disabled{pointer-events:none}.tab-disabled ion-badge,.tab-disabled ion-icon,.tab-disabled span{opacity:.4}.tab-button-text{margin-top:3px;margin-bottom:2px}.tab-button-icon,.tab-button-text{display:none;overflow:hidden;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;min-width:26px;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.has-icon .tab-button-icon,.has-title .tab-button-text{display:block}.has-title-only .tab-button-text{white-space:normal}[tabsLayout=icon-bottom] .tab-button .tab-button-icon{-webkit-box-ordinal-group:11;-webkit-order:10;-ms-flex-order:10;order:10}[tabsLayout=icon-end] .tab-button,[tabsLayout=icon-left] .tab-button,[tabsLayout=icon-right] .tab-button,[tabsLayout=icon-start] .tab-button{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}[tabsLayout=icon-left] .tab-button .tab-button-icon,[tabsLayout=icon-start] .tab-button .tab-button-icon{padding-right:8px;text-align:right;text-align:end}[tabsLayout=icon-end] .tab-button .tab-button-icon,[tabsLayout=icon-right] .tab-button .tab-button-icon{padding-left:8px;text-align:left;text-align:start;-webkit-box-ordinal-group:11;-webkit-order:10;-ms-flex-order:10;order:10}.tab-hidden,.tab-highlight,[tabsLayout=icon-hide] .tab-button-icon,[tabsLayout=title-hide] .tab-button-text{display:none}.tab-badge{right:4%;top:6%;right:calc(50% - 50px);padding:1px 6px;position:absolute;height:auto;font-size:12px;line-height:16px}.has-icon .tab-badge{right:calc(50% - 30px)}[tabsLayout=icon-bottom] .tab-badge,[tabsLayout=icon-end] .tab-badge,[tabsLayout=icon-left] .tab-badge,[tabsLayout=icon-right] .tab-badge,[tabsLayout=icon-start] .tab-badge{right:calc(50% - 50px)}.tabs-ios .tabbar{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-top:.55px solid rgba(0,0,0,.3);background:#f8f8f8}.tabs-ios[tabsPlacement=top] .tabbar{border-top:0;border-bottom:.55px solid rgba(0,0,0,.3)}.tabs-ios .tab-button{max-width:240px;min-height:49px;font-size:10px;font-weight:500;color:#8c8c8c;padding:0 2px}.tabs-ios .tab-button:hover:not(.disable-hover),.tabs-ios .tab-button[aria-selected=true]{color:#673ab7}.tabs-ios .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7}.tabs-ios .tab-button-text{margin-top:0;margin-bottom:1px;min-height:11px}.tabs-ios .has-title-only .tab-button-text{font-size:12px}.tabs-ios .tab-button-icon{margin-top:4px;margin-bottom:1px;min-width:35px;height:30px;font-size:30px;color:#8c8c8c}.tabs-ios .tab-button-icon::before{vertical-align:top}.tabs-ios[tabsLayout=icon-end] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-left] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-right] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-start] .tab-button .tab-button-text{font-size:1.4rem;line-height:1.1}.tabs-ios[tabsLayout=icon-end] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-left] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-right] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-start] .tab-button ion-icon{min-width:24px;height:26px;font-size:24px}.tabs-ios .tab-button.has-title-only,.tabs-ios[tabsLayout=icon-hide] .tab-button{min-height:41px}.tabs-ios .tab-button.has-title-only .tab-button-text,.tabs-ios[tabsLayout=icon-hide] .tab-button .tab-button-text{margin:2px 0;font-size:1.4rem;line-height:1.1}.tabs-ios .tab-button.icon-only,.tabs-ios[tabsLayout=title-hide] .tab-button{min-height:41px}.tabs-ios-primary .tabbar{border-color:#512e90;background-color:#673ab7}.tabs-ios-primary .tab-button,.tabs-ios-primary .tab-button-icon,.tabs-ios-primary .tab-button:hover:not(.disable-hover),.tabs-ios-primary .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-primary .tab-button[aria-selected=true],.tabs-ios-primary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-secondary .tabbar{border-color:#21b94e;background-color:#32db64}.tabs-ios-secondary .tab-button,.tabs-ios-secondary .tab-button-icon,.tabs-ios-secondary .tab-button:hover:not(.disable-hover),.tabs-ios-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-secondary .tab-button[aria-selected=true],.tabs-ios-secondary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-danger .tabbar{border-color:#f30d0d;background-color:#f53d3d}.tabs-ios-danger .tab-button,.tabs-ios-danger .tab-button-icon,.tabs-ios-danger .tab-button:hover:not(.disable-hover),.tabs-ios-danger .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-danger .tab-button[aria-selected=true],.tabs-ios-danger .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-light .tabbar{border-color:#dbdbdb;background-color:#f4f4f4}.tabs-ios-light .tab-button,.tabs-ios-light .tab-button-icon,.tabs-ios-light .tab-button:hover:not(.disable-hover),.tabs-ios-light .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-ios-light .tab-button[aria-selected=true],.tabs-ios-light .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-ios-dark .tabbar{border-color:#090909;background-color:#222}.tabs-ios-dark .tab-button,.tabs-ios-dark .tab-button-icon,.tabs-ios-dark .tab-button:hover:not(.disable-hover),.tabs-ios-dark .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-dark .tab-button[aria-selected=true],.tabs-ios-dark .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-optblue .tabbar{border-color:#ad0201;background-color:#e00201}.tabs-ios-optblue .tab-button,.tabs-ios-optblue .tab-button-icon,.tabs-ios-optblue .tab-button:hover:not(.disable-hover),.tabs-ios-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-optblue .tab-button[aria-selected=true],.tabs-ios-optblue .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-gray .tabbar{border-color:#c1bebe;background-color:#dad8d8}.tabs-ios-gray .tab-button,.tabs-ios-gray .tab-button-icon,.tabs-ios-gray .tab-button:hover:not(.disable-hover),.tabs-ios-gray .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-ios-gray .tab-button[aria-selected=true],.tabs-ios-gray .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-ios-green .tabbar{border-color:#179a4e;background-color:#1dc764}.tabs-ios-green .tab-button,.tabs-ios-green .tab-button-icon,.tabs-ios-green .tab-button:hover:not(.disable-hover),.tabs-ios-green .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-green .tab-button[aria-selected=true],.tabs-ios-green .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md .tabbar{background:#f8f8f8}.tabs-md .tab-button{min-height:5.6rem;font-weight:400;color:rgba(60,60,60,.7);padding:0}.tabs-md .tab-button[aria-selected=true]{color:#673ab7;padding:0}.tabs-md .tab-button-text{font-size:1.2rem;text-transform:none;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;margin:0;-webkit-transform-origin:50% 80%;transform-origin:50% 80%}.tabs-md .tab-button[aria-selected=true] .tab-button-text{-webkit-transform:scale3d(1.16667,1.16667,1);transform:scale3d(1.16667,1.16667,1);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text{margin-top:4px;margin-bottom:0}.tabs-md[tabsLayout=icon-bottom] .tab-button .tab-button-text{margin-top:0}.tabs-md .tab-button-icon{margin-top:1px;min-width:2.4rem;font-size:2.4rem;color:rgba(60,60,60,.7);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;-webkit-transform-origin:50% 150%;transform-origin:50% 150%}.tabs-md .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7;-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}.tabs-md[tabsLayout=icon-end] .tab-button[aria-selected=true] .tab-button-icon,.tabs-md[tabsLayout=icon-right] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0)}.tabs-md[tabsLayout=icon-bottom] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(0,2px,0);transform:translate3d(0,2px,0)}.tabs-md[tabsLayout=icon-left] .tab-button[aria-selected=true] .tab-button-icon,.tabs-md[tabsLayout=icon-start] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}.tabs-md .tab-button.has-title-only,.tabs-md .tab-button.icon-only,.tabs-md[tabsLayout=icon-hide] .tab-button,.tabs-md[tabsLayout=title-hide] .tab-button{padding:0 10px}.tabs-md[tabsHighlight=true] .tab-highlight{left:0;bottom:0;-webkit-transform-origin:0 0;transform-origin:0 0;position:absolute;display:block;width:1px;height:2px;background:#673ab7;-webkit-transform:translateZ(0);transform:translateZ(0)}.tabs-md[tabsHighlight=true] .tab-highlight.animate{-webkit-transition-duration:.3s;transition-duration:.3s}.tabs-md[tabsHighlight=true][tabsPlacement=bottom]>.tabbar>.tab-highlight{top:0}.tabs-md-primary .tabbar{background-color:#673ab7}.tabs-md-primary .tab-button,.tabs-md-primary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-primary .tab-button:hover:not(.disable-hover),.tabs-md-primary .tab-button[aria-selected=true],.tabs-md-primary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-primary[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-secondary .tabbar{background-color:#32db64}.tabs-md-secondary .tab-button,.tabs-md-secondary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-secondary .tab-button:hover:not(.disable-hover),.tabs-md-secondary .tab-button[aria-selected=true],.tabs-md-secondary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-secondary[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-danger .tabbar{background-color:#f53d3d}.tabs-md-danger .tab-button,.tabs-md-danger .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-danger .tab-button:hover:not(.disable-hover),.tabs-md-danger .tab-button[aria-selected=true],.tabs-md-danger .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-danger[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-light .tabbar{background-color:#f4f4f4}.tabs-md-light .tab-button,.tabs-md-light .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-md-light .tab-button:hover:not(.disable-hover),.tabs-md-light .tab-button[aria-selected=true],.tabs-md-light .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-md-light[tabsHighlight=true] .tab-highlight{background:#000}.tabs-md-dark .tabbar{background-color:#222}.tabs-md-dark .tab-button,.tabs-md-dark .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-dark .tab-button:hover:not(.disable-hover),.tabs-md-dark .tab-button[aria-selected=true],.tabs-md-dark .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-dark[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-optblue .tabbar{background-color:#e00201}.tabs-md-optblue .tab-button,.tabs-md-optblue .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-optblue .tab-button:hover:not(.disable-hover),.tabs-md-optblue .tab-button[aria-selected=true],.tabs-md-optblue .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-optblue[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-gray .tabbar{background-color:#dad8d8}.tabs-md-gray .tab-button,.tabs-md-gray .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-md-gray .tab-button:hover:not(.disable-hover),.tabs-md-gray .tab-button[aria-selected=true],.tabs-md-gray .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-md-gray[tabsHighlight=true] .tab-highlight{background:#000}.tabs-md-green .tabbar{background-color:#1dc764}.tabs-md-green .tab-button,.tabs-md-green .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-green .tab-button:hover:not(.disable-hover),.tabs-md-green .tab-button[aria-selected=true],.tabs-md-green .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-green[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-wp .tabbar{background:#f8f8f8}.tabs-wp .tab-button{border-radius:0;min-height:4.8rem;border-bottom:2px solid transparent;font-size:1.2rem;font-weight:400;color:rgba(140,140,140,.7);-webkit-box-shadow:none;box-shadow:none;padding:12px 10px 5px}.tabs-wp .tab-button[aria-selected=true]{border-bottom-color:#673ab7;color:#673ab7}.tabs-wp .tab-button.activated{background:rgba(0,0,0,.1)}.tabs-wp[tabsPlacement=bottom] .tab-button{border-top:2px solid transparent;border-bottom-width:0}.tabs-wp[tabsPlacement=bottom] .tab-button[aria-selected=true]{border-top-color:#673ab7}.tabs-wp .tab-button-text{margin-top:5px;margin-bottom:5px}.tabs-wp .tab-button-icon{min-width:2.4rem;font-size:2.4rem;color:rgba(140,140,140,.7)}.tabs-wp .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7}.tabs-wp[tabsLayout=icon-bottom] .tab-button{padding-top:8px;padding-bottom:8px}.tabs-wp[tabsLayout=icon-end] .tab-button,.tabs-wp[tabsLayout=icon-left] .tab-button,.tabs-wp[tabsLayout=icon-right] .tab-button,.tabs-wp[tabsLayout=icon-start] .tab-button{padding-bottom:10px}.tabs-wp[tabsLayout=icon-end] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-left] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-right] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-start] .tab-button ion-icon{min-width:24px}.tabs-wp .tab-button.has-title-only,.tabs-wp .tab-button.icon-only,.tabs-wp[tabsLayout=icon-hide] .tab-button,.tabs-wp[tabsLayout=title-hide] .tab-button{padding:6px 10px}.tabs-wp-primary .tabbar{background-color:#673ab7}.tabs-wp-primary .tab-button,.tabs-wp-primary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-primary .tab-button:hover:not(.disable-hover),.tabs-wp-primary .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-primary .tab-button[aria-selected=true],.tabs-wp-primary .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-secondary .tabbar{background-color:#32db64}.tabs-wp-secondary .tab-button,.tabs-wp-secondary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-secondary .tab-button:hover:not(.disable-hover),.tabs-wp-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-secondary .tab-button[aria-selected=true],.tabs-wp-secondary .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-danger .tabbar{background-color:#f53d3d}.tabs-wp-danger .tab-button,.tabs-wp-danger .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-danger .tab-button:hover:not(.disable-hover),.tabs-wp-danger .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-danger .tab-button[aria-selected=true],.tabs-wp-danger .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-light .tabbar{background-color:#f4f4f4}.tabs-wp-light .tab-button,.tabs-wp-light .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-wp-light .tab-button:hover:not(.disable-hover),.tabs-wp-light .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-light .tab-button[aria-selected=true],.tabs-wp-light .tab-button[aria-selected=true] .tab-button-icon{border-color:#000;color:#000}.tabs-wp-dark .tabbar{background-color:#222}.tabs-wp-dark .tab-button,.tabs-wp-dark .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-dark .tab-button:hover:not(.disable-hover),.tabs-wp-dark .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-dark .tab-button[aria-selected=true],.tabs-wp-dark .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-optblue .tabbar{background-color:#e00201}.tabs-wp-optblue .tab-button,.tabs-wp-optblue .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-optblue .tab-button:hover:not(.disable-hover),.tabs-wp-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-optblue .tab-button[aria-selected=true],.tabs-wp-optblue .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-gray .tabbar{background-color:#dad8d8}.tabs-wp-gray .tab-button,.tabs-wp-gray .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-wp-gray .tab-button:hover:not(.disable-hover),.tabs-wp-gray .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-gray .tab-button[aria-selected=true],.tabs-wp-gray .tab-button[aria-selected=true] .tab-button-icon{border-color:#000;color:#000}.tabs-wp-green .tabbar{background-color:#1dc764}.tabs-wp-green .tab-button,.tabs-wp-green .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-green .tab-button:hover:not(.disable-hover),.tabs-wp-green .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-green .tab-button[aria-selected=true],.tabs-wp-green .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}ion-toast{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%;pointer-events:none;contain:strict}.toast-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;pointer-events:auto;contain:content}.toast-button{padding:19px 16px 17px;font-size:1.5rem}.toast-message{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.toast-ios .toast-wrapper{left:10px;right:10px;margin:auto;border-radius:.65rem;position:absolute;z-index:10;display:block;max-width:700px;background:rgba(0,0,0,.9)}.toast-ios .toast-wrapper.toast-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);margin:constant(safe-area-inset-top) auto auto;margin:env(safe-area-inset-top) auto auto;top:0}.toast-ios .toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);margin:auto auto constant(safe-area-inset-bottom);margin:auto auto env(safe-area-inset-bottom);bottom:0}.toast-ios .toast-wrapper.toast-middle{opacity:.01}.toast-ios .toast-message{font-size:1.4rem;color:#fff;padding:1.5rem}.toast-md .toast-wrapper{left:0;right:0;margin:auto;position:absolute;z-index:10;display:block;width:100%;max-width:700px;background:#333}.toast-md .toast-wrapper.toast-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);top:0}.toast-md .toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);bottom:0}.toast-md .toast-wrapper.toast-middle{opacity:.01}.toast-md .toast-message{font-size:1.5rem;color:#fff;padding:19px 16px 17px}.toast-wp .toast-wrapper{left:0;right:0;margin:auto;border-radius:0;position:absolute;z-index:10;display:block;max-width:700px;background:#000}.toast-wp .toast-wrapper.toast-top{top:0;opacity:.01}.toast-wp .toast-wrapper.toast-bottom{bottom:0;opacity:.01}.toast-wp .toast-wrapper.toast-middle{opacity:.01}.toast-message{font-size:1.4rem;color:#fff;padding:1.5rem}.toast-button{color:#fff}.toggle-ios{position:relative;width:51px;height:32px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict}.toggle-ios .toggle-icon{border-radius:16px;position:relative;display:block;width:100%;height:100%;background-color:#e6e6e6;-webkit-transition:background-color .3s;transition:background-color .3s;pointer-events:none}.toggle-ios .toggle-icon::before{left:2px;right:2px;top:2px;bottom:2px;border-radius:16px;position:absolute;background-color:#fff;content:"";-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.toggle-ios .toggle-inner{left:2px;top:2px;border-radius:14px;position:absolute;width:28px;height:28px;background-color:#fff;-webkit-box-shadow:0 3px 12px rgba(0,0,0,.16),0 3px 1px rgba(0,0,0,.1);box-shadow:0 3px 12px rgba(0,0,0,.16),0 3px 1px rgba(0,0,0,.1);-webkit-transition:width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;transition:width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;transition:transform .3s,width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms;transition:transform .3s,width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;will-change:transform;contain:strict}.toggle-ios.toggle-checked .toggle-icon{background-color:#673ab7}.toggle-ios.toggle-activated .toggle-icon::before,.toggle-ios.toggle-checked .toggle-icon::before{-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0)}.toggle-ios.toggle-checked .toggle-inner{-webkit-transform:translate3d(19px,0,0);transform:translate3d(19px,0,0)}.toggle-ios.toggle-activated.toggle-checked .toggle-inner::before{-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0)}.toggle-ios.toggle-activated .toggle-inner{width:34px}.toggle-ios.toggle-activated.toggle-checked .toggle-inner{left:-4px}.item-ios.item-toggle-disabled ion-label,.toggle-ios.toggle-disabled{opacity:.3;pointer-events:none}.item-ios .toggle-ios{margin:0;padding:6px 8px 5px 16px}.item-ios .toggle-ios[item-left],.item-ios .toggle-ios[item-start]{padding:6px 16px 5px 0}.toggle-ios-primary.toggle-checked .toggle-icon{background-color:#673ab7}.toggle-ios-secondary.toggle-checked .toggle-icon{background-color:#32db64}.toggle-ios-danger.toggle-checked .toggle-icon{background-color:#f53d3d}.toggle-ios-light.toggle-checked .toggle-icon{background-color:#f4f4f4}.toggle-ios-dark.toggle-checked .toggle-icon{background-color:#222}.toggle-ios-optblue.toggle-checked .toggle-icon{background-color:#e00201}.toggle-ios-gray.toggle-checked .toggle-icon{background-color:#dad8d8}.toggle-ios-green.toggle-checked .toggle-icon{background-color:#1dc764}.toggle-md{position:relative;width:36px;height:14px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict;padding:12px}.toggle-md .toggle-icon{border-radius:14px;position:relative;display:block;width:100%;height:100%;background-color:#dedede;-webkit-transition:background-color .3s;transition:background-color .3s;pointer-events:none}.toggle-md .toggle-inner{left:0;top:-3px;border-radius:50%;position:absolute;width:20px;height:20px;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:background-color,-webkit-transform;transition-property:background-color,-webkit-transform;transition-property:transform,background-color;transition-property:transform,background-color,-webkit-transform;will-change:transform,background-color;contain:strict}.toggle-md.toggle-checked .toggle-icon{background-color:#ae94dd}.toggle-md.toggle-checked .toggle-inner{-webkit-transform:translate3d(16px,0,0);transform:translate3d(16px,0,0);background-color:#673ab7}.item-md.item-toggle-disabled ion-label,.toggle-md.toggle-disabled{opacity:.3;pointer-events:none}.toggle-md.toggle-disabled ion-radio{opacity:.3}.item-md .toggle-md{cursor:pointer;margin:0;padding:12px 8px 12px 16px}.item-md .toggle-md[item-left],.item-md .toggle-md[item-start]{padding:12px 18px 12px 2px}.item-md.item-toggle ion-label{margin-left:0}.toggle-md-primary.toggle-checked .toggle-icon{background-color:#ae94dd}.toggle-md-primary.toggle-checked .toggle-inner{background-color:#673ab7}.toggle-md-secondary.toggle-checked .toggle-icon{background-color:#9eeeb6}.toggle-md-secondary.toggle-checked .toggle-inner{background-color:#32db64}.toggle-md-danger.toggle-checked .toggle-icon{background-color:#fbb6b6}.toggle-md-danger.toggle-checked .toggle-inner{background-color:#f53d3d}.toggle-md-light.toggle-checked .toggle-icon{background-color:#fff}.toggle-md-light.toggle-checked .toggle-inner{background-color:#f4f4f4}.toggle-md-dark.toggle-checked .toggle-icon{background-color:#626262}.toggle-md-dark.toggle-checked .toggle-inner{background-color:#222}.toggle-md-optblue.toggle-checked .toggle-icon{background-color:#fe6362}.toggle-md-optblue.toggle-checked .toggle-inner{background-color:#e00201}.toggle-md-gray.toggle-checked .toggle-icon{background-color:#fff}.toggle-md-gray.toggle-checked .toggle-inner{background-color:#dad8d8}.toggle-md-green.toggle-checked .toggle-icon{background-color:#78eba8}.toggle-md-green.toggle-checked .toggle-inner{background-color:#1dc764}.toggle-wp{position:relative;width:40px;height:18px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict}.toggle-wp .toggle-icon{border-radius:18px;position:relative;display:block;width:100%;height:100%;border:2px solid #323232;background-color:transparent;pointer-events:none;contain:strict}.toggle-wp .toggle-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:10px;height:10px;background-color:#323232;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:background-color,-webkit-transform;transition-property:background-color,-webkit-transform;transition-property:transform,background-color;transition-property:transform,background-color,-webkit-transform;will-change:transform,background-color}.toggle-wp.toggle-checked .toggle-icon{border-color:#673ab7;background-color:#673ab7}.toggle-wp.toggle-checked .toggle-inner{-webkit-transform:translate3d(22px,0,0);transform:translate3d(22px,0,0);background-color:#fff}.item-wp.item-toggle-disabled ion-label,.toggle-wp.toggle-disabled{opacity:.3;pointer-events:none}.toggle-wp.toggle-disabled ion-radio{opacity:.3}.item-wp .toggle-wp{margin:0;cursor:pointer;padding:12px 8px 12px 16px}.item-wp .toggle-wp[item-left],.item-wp .toggle-wp[item-start]{padding:12px 18px 12px 2px}.item-wp.item-toggle ion-label{margin-left:0}.toggle-wp-primary.toggle-checked .toggle-icon{border-color:#673ab7;background-color:#673ab7}.toggle-wp-primary.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-secondary.toggle-checked .toggle-icon{border-color:#32db64;background-color:#32db64}.toggle-wp-secondary.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-danger.toggle-checked .toggle-icon{border-color:#f53d3d;background-color:#f53d3d}.toggle-wp-danger.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-light.toggle-checked .toggle-icon{border-color:#f4f4f4;background-color:#f4f4f4}.toggle-wp-light.toggle-checked .toggle-inner{background-color:#000}.toggle-wp-dark.toggle-checked .toggle-icon{border-color:#222;background-color:#222}.toggle-wp-dark.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-optblue.toggle-checked .toggle-icon{border-color:#e00201;background-color:#e00201}.toggle-wp-optblue.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-gray.toggle-checked .toggle-icon{border-color:#dad8d8;background-color:#dad8d8}.toggle-wp-gray.toggle-checked .toggle-inner{background-color:#000}.toggle-wp-green.toggle-checked .toggle-icon{border-color:#1dc764;background-color:#1dc764}.toggle-wp-green.toggle-checked .toggle-inner{background-color:#fff}ion-toolbar{position:relative;z-index:10}.toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;contain:content}.toolbar-background{left:0;top:0;position:absolute;z-index:-1;width:100%;height:100%;border:0;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none;contain:strict}ion-title{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.toolbar-title{display:block;overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}ion-buttons{margin:0 .2rem;display:block;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}ion-buttons a,ion-buttons button,ion-buttons div,ion-buttons input,ion-buttons textarea{pointer-events:auto}.toolbar[transparent] .toolbar-background{border-color:transparent;background:0 0}.bar-button-menutoggle,ion-buttons{z-index:99;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-navbar.toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-button{margin:0;padding:0;text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;line-height:1;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bar-button::after{left:-2px;right:-2px;top:-7px;bottom:-6px;position:absolute;content:""}.bar-button-menutoggle{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.back-button{display:none}.back-button.show-back-button{display:inline-block}.back-button-text{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.toolbar-ios{padding:4px;padding-left:4px;padding-right:4px;min-height:44px}@media screen and (orientation:landscape){.toolbar-ios{padding-left:calc(constant(safe-area-inset-left) + 4px);padding-right:calc(constant(safe-area-inset-right) + 4px);padding-left:calc(env(safe-area-inset-left) + 4px);padding-right:calc(env(safe-area-inset-right) + 4px)}}.toolbar-background-ios{background:#f8f8f8}.footer-ios .toolbar-background-ios,.header-ios .toolbar-background-ios{border-style:solid;border-color:rgba(0,0,0,.3)}.header-ios .toolbar-ios:last-child .toolbar-background-ios{border-width:0 0 .55px}.footer-ios .toolbar-ios:first-child .toolbar-background-ios{border-width:.55px 0 0}.header-ios[no-border] .toolbar-ios:last-child .toolbar-background-ios{border-bottom-width:0}.footer-ios[no-border] .toolbar-ios:first-child .toolbar-background-ios{border-top-width:0}.toolbar-content-ios{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;min-width:0}.toolbar-title-ios{text-align:center;font-size:1.7rem;font-weight:600;color:#000;pointer-events:auto}.toolbar-ios ion-title{left:0;top:0;padding:0 90px 1px;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}.bar-buttons-ios{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-ios[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-buttons-ios[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-ios[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-ios{padding:0 4px;border-radius:4px;height:32px;border:0;font-size:1.7rem}.bar-button-outline-ios{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.bar-button-outline-ios:hover:not(.disable-hover){opacity:.4}.bar-button-outline-ios.activated{color:#fff;background-color:#673ab7}.bar-button-solid-ios{color:#fff;background-color:#673ab7}.bar-button-solid-ios:hover:not(.disable-hover){color:#fff;opacity:.4}.bar-button-solid-ios.activated{color:#fff;background-color:#734abd;opacity:.4}.bar-button-ios.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-ios.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-ios[icon-only]{padding:0;min-width:.9em}.bar-button-ios[icon-only] ion-icon{padding:0 .1em;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-ios{margin:0;z-index:99;overflow:visible;-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;min-height:3.2rem;line-height:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.back-button-icon-ios{margin:-1px 0 0;display:inherit;min-width:18px;font-size:3.4rem}.back-button-text-ios{letter-spacing:-.01em}.bar-button-menutoggle-ios{margin:0 6px;padding:0;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:36px}.bar-button-menutoggle-ios ion-icon{padding:0 6px;font-size:2.8rem}.bar-button-menutoggle-ios[end],.bar-button-menutoggle-ios[right]{-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7}.bar-button-clear-ios-default,.bar-button-default-ios,.bar-button-default.bar-button-ios-default{color:#673ab7;background-color:transparent}.bar-button-clear-ios-default:hover:not(.disable-hover),.bar-button-default-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-default:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-default.activated,.bar-button-default-ios.activated,.bar-button-default.bar-button-ios-default.activated{opacity:.4}.bar-button-clear-ios,.bar-button-clear-ios-clear,.bar-button-default.bar-button-ios-clear{color:#673ab7;background-color:transparent}.bar-button-clear-ios-clear:hover:not(.disable-hover),.bar-button-clear-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-clear:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-clear.activated,.bar-button-clear-ios.activated,.bar-button-default.bar-button-ios-clear.activated{opacity:.4}.toolbar-ios-primary .toolbar-background-ios{background:#673ab7}.toolbar-ios-primary .bar-button-clear-ios,.toolbar-ios-primary .bar-button-default-ios,.toolbar-ios-primary .toolbar-title-ios{color:#fff}.toolbar-ios-primary .bar-button-clear-ios-primary,.toolbar-ios-primary .bar-button-default.bar-button-ios-primary,.toolbar-ios-primary .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-primary .bar-button-clear-ios-primary.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-primary .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-primary .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-primary .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-primary .bar-button-clear-ios-secondary,.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary,.toolbar-ios-primary .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-primary .bar-button-clear-ios-secondary.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-primary .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-primary .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-primary .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-primary .bar-button-clear-ios-danger,.toolbar-ios-primary .bar-button-danger-ios,.toolbar-ios-primary .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-primary .bar-button-clear-ios-danger.activated,.toolbar-ios-primary .bar-button-danger-ios.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-primary .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-primary .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-primary .bar-button-clear-ios-light,.toolbar-ios-primary .bar-button-default.bar-button-ios-light,.toolbar-ios-primary .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-primary .bar-button-clear-ios-light.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-primary .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-primary .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-primary .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-primary .bar-button-clear-ios-dark,.toolbar-ios-primary .bar-button-dark-ios,.toolbar-ios-primary .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-primary .bar-button-clear-ios-dark.activated,.toolbar-ios-primary .bar-button-dark-ios.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-primary .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-primary .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-primary .bar-button-clear-ios-optblue,.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue,.toolbar-ios-primary .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-primary .bar-button-clear-ios-optblue.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-primary .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-primary .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-primary .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-primary .bar-button-clear-ios-gray,.toolbar-ios-primary .bar-button-default.bar-button-ios-gray,.toolbar-ios-primary .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-primary .bar-button-clear-ios-gray.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-primary .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-primary .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-primary .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-primary .bar-button-clear-ios-green,.toolbar-ios-primary .bar-button-default.bar-button-ios-green,.toolbar-ios-primary .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-primary .bar-button-clear-ios-green.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-primary .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-primary .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-primary .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-primary,.bar-button-default.bar-button-ios-primary,.bar-button-primary-ios{color:#673ab7;background-color:transparent}.bar-button-clear-ios-primary:hover:not(.disable-hover),.bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-primary.activated,.bar-button-default.bar-button-ios-primary.activated,.bar-button-primary-ios.activated{opacity:.4}.bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-secondary .toolbar-background-ios{background:#32db64}.toolbar-ios-secondary .bar-button-clear-ios,.toolbar-ios-secondary .bar-button-default-ios,.toolbar-ios-secondary .toolbar-title-ios{color:#fff}.toolbar-ios-secondary .bar-button-clear-ios-primary,.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary,.toolbar-ios-secondary .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-secondary .bar-button-clear-ios-primary.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-secondary .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-secondary .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-secondary .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-secondary .bar-button-clear-ios-secondary,.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary,.toolbar-ios-secondary .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-secondary .bar-button-clear-ios-secondary.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-secondary .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-secondary .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-secondary .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-secondary .bar-button-clear-ios-danger,.toolbar-ios-secondary .bar-button-danger-ios,.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-secondary .bar-button-clear-ios-danger.activated,.toolbar-ios-secondary .bar-button-danger-ios.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-secondary .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-secondary .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-secondary .bar-button-clear-ios-light,.toolbar-ios-secondary .bar-button-default.bar-button-ios-light,.toolbar-ios-secondary .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-secondary .bar-button-clear-ios-light.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-secondary .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-secondary .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-secondary .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-secondary .bar-button-clear-ios-dark,.toolbar-ios-secondary .bar-button-dark-ios,.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-secondary .bar-button-clear-ios-dark.activated,.toolbar-ios-secondary .bar-button-dark-ios.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-secondary .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-secondary .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-secondary .bar-button-clear-ios-optblue,.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue,.toolbar-ios-secondary .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-secondary .bar-button-clear-ios-optblue.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-secondary .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-secondary .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-secondary .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-secondary .bar-button-clear-ios-gray,.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray,.toolbar-ios-secondary .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-secondary .bar-button-clear-ios-gray.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-secondary .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-secondary .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-secondary .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-secondary .bar-button-clear-ios-green,.toolbar-ios-secondary .bar-button-default.bar-button-ios-green,.toolbar-ios-secondary .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-secondary .bar-button-clear-ios-green.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-secondary .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-secondary .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-secondary .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-secondary,.bar-button-default.bar-button-ios-secondary,.bar-button-secondary-ios{color:#32db64;background-color:transparent}.bar-button-clear-ios-secondary:hover:not(.disable-hover),.bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.bar-button-clear-ios-secondary.activated,.bar-button-default.bar-button-ios-secondary.activated,.bar-button-secondary-ios.activated{opacity:.4}.bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-danger .toolbar-background-ios{background:#f53d3d}.toolbar-ios-danger .bar-button-clear-ios,.toolbar-ios-danger .bar-button-default-ios,.toolbar-ios-danger .toolbar-title-ios{color:#fff}.toolbar-ios-danger .bar-button-clear-ios-primary,.toolbar-ios-danger .bar-button-default.bar-button-ios-primary,.toolbar-ios-danger .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-danger .bar-button-clear-ios-primary.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-danger .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-danger .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-danger .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-danger .bar-button-clear-ios-secondary,.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary,.toolbar-ios-danger .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-danger .bar-button-clear-ios-secondary.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-danger .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-danger .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-danger .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-danger .bar-button-clear-ios-danger,.toolbar-ios-danger .bar-button-danger-ios,.toolbar-ios-danger .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-danger .bar-button-clear-ios-danger.activated,.toolbar-ios-danger .bar-button-danger-ios.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-danger .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-danger .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-danger .bar-button-clear-ios-light,.toolbar-ios-danger .bar-button-default.bar-button-ios-light,.toolbar-ios-danger .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-danger .bar-button-clear-ios-light.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-danger .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-danger .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-danger .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-danger .bar-button-clear-ios-dark,.toolbar-ios-danger .bar-button-dark-ios,.toolbar-ios-danger .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-danger .bar-button-clear-ios-dark.activated,.toolbar-ios-danger .bar-button-dark-ios.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-danger .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-danger .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-danger .bar-button-clear-ios-optblue,.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue,.toolbar-ios-danger .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-danger .bar-button-clear-ios-optblue.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-danger .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-danger .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-danger .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-danger .bar-button-clear-ios-gray,.toolbar-ios-danger .bar-button-default.bar-button-ios-gray,.toolbar-ios-danger .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-danger .bar-button-clear-ios-gray.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-danger .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-danger .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-danger .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-danger .bar-button-clear-ios-green,.toolbar-ios-danger .bar-button-default.bar-button-ios-green,.toolbar-ios-danger .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-danger .bar-button-clear-ios-green.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-danger .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-danger .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-danger .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-danger,.bar-button-danger-ios,.bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-ios-danger:hover:not(.disable-hover),.bar-button-danger-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-clear-ios-danger.activated,.bar-button-danger-ios.activated,.bar-button-default.bar-button-ios-danger.activated{opacity:.4}.bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-light .toolbar-background-ios{background:#f4f4f4}.toolbar-ios-light .bar-button-clear-ios,.toolbar-ios-light .bar-button-default-ios,.toolbar-ios-light .toolbar-title-ios{color:#000}.toolbar-ios-light .bar-button-clear-ios-primary,.toolbar-ios-light .bar-button-default.bar-button-ios-primary,.toolbar-ios-light .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-light .bar-button-clear-ios-primary.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-light .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-light .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-light .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-light .bar-button-clear-ios-secondary,.toolbar-ios-light .bar-button-default.bar-button-ios-secondary,.toolbar-ios-light .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-light .bar-button-clear-ios-secondary.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-light .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-light .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-light .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-light .bar-button-clear-ios-danger,.toolbar-ios-light .bar-button-danger-ios,.toolbar-ios-light .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-light .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-light .bar-button-clear-ios-danger.activated,.toolbar-ios-light .bar-button-danger-ios.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-light .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-light .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-light .bar-button-clear-ios-light,.toolbar-ios-light .bar-button-default.bar-button-ios-light,.toolbar-ios-light .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-light .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-light .bar-button-clear-ios-light.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-light .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-light .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-light .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-light .bar-button-clear-ios-dark,.toolbar-ios-light .bar-button-dark-ios,.toolbar-ios-light .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-light .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-light .bar-button-clear-ios-dark.activated,.toolbar-ios-light .bar-button-dark-ios.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-light .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-light .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-light .bar-button-clear-ios-optblue,.toolbar-ios-light .bar-button-default.bar-button-ios-optblue,.toolbar-ios-light .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-light .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-light .bar-button-clear-ios-optblue.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-light .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-light .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-light .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-light .bar-button-clear-ios-gray,.toolbar-ios-light .bar-button-default.bar-button-ios-gray,.toolbar-ios-light .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-light .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-light .bar-button-clear-ios-gray.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-light .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-light .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-light .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-light .bar-button-clear-ios-green,.toolbar-ios-light .bar-button-default.bar-button-ios-green,.toolbar-ios-light .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-light .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-light .bar-button-clear-ios-green.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-light .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-light .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-light .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-light,.bar-button-default.bar-button-ios-light,.bar-button-light-ios{color:#f4f4f4;background-color:transparent}.bar-button-clear-ios-light:hover:not(.disable-hover),.bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.bar-button-clear-ios-light.activated,.bar-button-default.bar-button-ios-light.activated,.bar-button-light-ios.activated{opacity:.4}.bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-dark .toolbar-background-ios{background:#222}.toolbar-ios-dark .bar-button-clear-ios,.toolbar-ios-dark .bar-button-default-ios,.toolbar-ios-dark .toolbar-title-ios{color:#fff}.toolbar-ios-dark .bar-button-clear-ios-primary,.toolbar-ios-dark .bar-button-default.bar-button-ios-primary,.toolbar-ios-dark .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-dark .bar-button-clear-ios-primary.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-dark .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-dark .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-dark .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-dark .bar-button-clear-ios-secondary,.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary,.toolbar-ios-dark .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-dark .bar-button-clear-ios-secondary.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-dark .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-dark .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-dark .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-dark .bar-button-clear-ios-danger,.toolbar-ios-dark .bar-button-danger-ios,.toolbar-ios-dark .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-dark .bar-button-clear-ios-danger.activated,.toolbar-ios-dark .bar-button-danger-ios.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-dark .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-dark .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-dark .bar-button-clear-ios-light,.toolbar-ios-dark .bar-button-default.bar-button-ios-light,.toolbar-ios-dark .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-dark .bar-button-clear-ios-light.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-dark .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-dark .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-dark .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-dark .bar-button-clear-ios-dark,.toolbar-ios-dark .bar-button-dark-ios,.toolbar-ios-dark .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-dark .bar-button-clear-ios-dark.activated,.toolbar-ios-dark .bar-button-dark-ios.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-dark .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-dark .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-dark .bar-button-clear-ios-optblue,.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue,.toolbar-ios-dark .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-dark .bar-button-clear-ios-optblue.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-dark .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-dark .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-dark .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-dark .bar-button-clear-ios-gray,.toolbar-ios-dark .bar-button-default.bar-button-ios-gray,.toolbar-ios-dark .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-dark .bar-button-clear-ios-gray.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-dark .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-dark .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-dark .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-dark .bar-button-clear-ios-green,.toolbar-ios-dark .bar-button-default.bar-button-ios-green,.toolbar-ios-dark .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-dark .bar-button-clear-ios-green.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-dark .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-dark .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-dark .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-dark,.bar-button-dark-ios,.bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.bar-button-clear-ios-dark:hover:not(.disable-hover),.bar-button-dark-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.bar-button-clear-ios-dark.activated,.bar-button-dark-ios.activated,.bar-button-default.bar-button-ios-dark.activated{opacity:.4}.bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.bar-button-solid-ios-dark{color:#fff;background-color:#222}.bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-optblue .toolbar-background-ios{background:#e00201}.toolbar-ios-optblue .bar-button-clear-ios,.toolbar-ios-optblue .bar-button-default-ios,.toolbar-ios-optblue .toolbar-title-ios{color:#fff}.toolbar-ios-optblue .bar-button-clear-ios-primary,.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary,.toolbar-ios-optblue .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-optblue .bar-button-clear-ios-primary.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-optblue .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-optblue .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-optblue .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-optblue .bar-button-clear-ios-secondary,.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary,.toolbar-ios-optblue .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-optblue .bar-button-clear-ios-secondary.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-optblue .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-optblue .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-optblue .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-optblue .bar-button-clear-ios-danger,.toolbar-ios-optblue .bar-button-danger-ios,.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-optblue .bar-button-clear-ios-danger.activated,.toolbar-ios-optblue .bar-button-danger-ios.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-optblue .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-optblue .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-optblue .bar-button-clear-ios-light,.toolbar-ios-optblue .bar-button-default.bar-button-ios-light,.toolbar-ios-optblue .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-optblue .bar-button-clear-ios-light.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-optblue .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-optblue .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-optblue .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-optblue .bar-button-clear-ios-dark,.toolbar-ios-optblue .bar-button-dark-ios,.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-optblue .bar-button-clear-ios-dark.activated,.toolbar-ios-optblue .bar-button-dark-ios.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-optblue .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-optblue .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-optblue .bar-button-clear-ios-optblue,.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue,.toolbar-ios-optblue .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-optblue .bar-button-clear-ios-optblue.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-optblue .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-optblue .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-optblue .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-optblue .bar-button-clear-ios-gray,.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray,.toolbar-ios-optblue .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-optblue .bar-button-clear-ios-gray.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-optblue .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-optblue .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-optblue .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-optblue .bar-button-clear-ios-green,.toolbar-ios-optblue .bar-button-default.bar-button-ios-green,.toolbar-ios-optblue .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-optblue .bar-button-clear-ios-green.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-optblue .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-optblue .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-optblue .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-optblue,.bar-button-default.bar-button-ios-optblue,.bar-button-optblue-ios{color:#e00201;background-color:transparent}.bar-button-clear-ios-optblue:hover:not(.disable-hover),.bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.bar-button-clear-ios-optblue.activated,.bar-button-default.bar-button-ios-optblue.activated,.bar-button-optblue-ios.activated{opacity:.4}.bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-gray .toolbar-background-ios{background:#dad8d8}.toolbar-ios-gray .bar-button-clear-ios,.toolbar-ios-gray .bar-button-default-ios,.toolbar-ios-gray .toolbar-title-ios{color:#000}.toolbar-ios-gray .bar-button-clear-ios-primary,.toolbar-ios-gray .bar-button-default.bar-button-ios-primary,.toolbar-ios-gray .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-gray .bar-button-clear-ios-primary.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-gray .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-gray .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-gray .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-gray .bar-button-clear-ios-secondary,.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary,.toolbar-ios-gray .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-gray .bar-button-clear-ios-secondary.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-gray .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-gray .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-gray .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-gray .bar-button-clear-ios-danger,.toolbar-ios-gray .bar-button-danger-ios,.toolbar-ios-gray .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-gray .bar-button-clear-ios-danger.activated,.toolbar-ios-gray .bar-button-danger-ios.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-gray .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-gray .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-gray .bar-button-clear-ios-light,.toolbar-ios-gray .bar-button-default.bar-button-ios-light,.toolbar-ios-gray .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-gray .bar-button-clear-ios-light.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-gray .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-gray .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-gray .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-gray .bar-button-clear-ios-dark,.toolbar-ios-gray .bar-button-dark-ios,.toolbar-ios-gray .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-gray .bar-button-clear-ios-dark.activated,.toolbar-ios-gray .bar-button-dark-ios.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-gray .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-gray .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-gray .bar-button-clear-ios-optblue,.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue,.toolbar-ios-gray .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-gray .bar-button-clear-ios-optblue.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-gray .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-gray .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-gray .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-gray .bar-button-clear-ios-gray,.toolbar-ios-gray .bar-button-default.bar-button-ios-gray,.toolbar-ios-gray .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-gray .bar-button-clear-ios-gray.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-gray .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-gray .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-gray .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-gray .bar-button-clear-ios-green,.toolbar-ios-gray .bar-button-default.bar-button-ios-green,.toolbar-ios-gray .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-gray .bar-button-clear-ios-green.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-gray .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-gray .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-gray .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-gray,.bar-button-default.bar-button-ios-gray,.bar-button-gray-ios{color:#dad8d8;background-color:transparent}.bar-button-clear-ios-gray:hover:not(.disable-hover),.bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.bar-button-clear-ios-gray.activated,.bar-button-default.bar-button-ios-gray.activated,.bar-button-gray-ios.activated{opacity:.4}.bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-green .toolbar-background-ios{background:#1dc764}.toolbar-ios-green .bar-button-clear-ios,.toolbar-ios-green .bar-button-default-ios,.toolbar-ios-green .toolbar-title-ios{color:#fff}.toolbar-ios-green .bar-button-clear-ios-primary,.toolbar-ios-green .bar-button-default.bar-button-ios-primary,.toolbar-ios-green .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-green .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-green .bar-button-clear-ios-primary.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-green .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-green .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-green .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-green .bar-button-clear-ios-secondary,.toolbar-ios-green .bar-button-default.bar-button-ios-secondary,.toolbar-ios-green .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-green .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-green .bar-button-clear-ios-secondary.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-green .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-green .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-green .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-green .bar-button-clear-ios-danger,.toolbar-ios-green .bar-button-danger-ios,.toolbar-ios-green .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-green .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-green .bar-button-clear-ios-danger.activated,.toolbar-ios-green .bar-button-danger-ios.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-green .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-green .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-green .bar-button-clear-ios-light,.toolbar-ios-green .bar-button-default.bar-button-ios-light,.toolbar-ios-green .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-green .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-green .bar-button-clear-ios-light.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-green .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-green .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-green .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-green .bar-button-clear-ios-dark,.toolbar-ios-green .bar-button-dark-ios,.toolbar-ios-green .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-green .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-green .bar-button-clear-ios-dark.activated,.toolbar-ios-green .bar-button-dark-ios.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-green .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-green .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-green .bar-button-clear-ios-optblue,.toolbar-ios-green .bar-button-default.bar-button-ios-optblue,.toolbar-ios-green .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-green .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-green .bar-button-clear-ios-optblue.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-green .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-green .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-green .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-green .bar-button-clear-ios-gray,.toolbar-ios-green .bar-button-default.bar-button-ios-gray,.toolbar-ios-green .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-green .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-green .bar-button-clear-ios-gray.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-green .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-green .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-green .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-ios-green .bar-button-clear-ios-green,.toolbar-ios-green .bar-button-default.bar-button-ios-green,.toolbar-ios-green .bar-button-green-ios{color:#1dc764;background-color:transparent}.toolbar-ios-green .bar-button-clear-ios-green:hover:not(.disable-hover),.toolbar-ios-green .bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.toolbar-ios-green .bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.toolbar-ios-green .bar-button-clear-ios-green.activated,.toolbar-ios-green .bar-button-default.bar-button-ios-green.activated,.toolbar-ios-green .bar-button-green-ios.activated{opacity:.4}.toolbar-ios-green .bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.toolbar-ios-green .bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.toolbar-ios-green .bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.toolbar-ios-green .bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-ios-green,.bar-button-default.bar-button-ios-green,.bar-button-green-ios{color:#1dc764;background-color:transparent}.bar-button-clear-ios-green:hover:not(.disable-hover),.bar-button-default.bar-button-ios-green:hover:not(.disable-hover),.bar-button-green-ios:hover:not(.disable-hover){color:#1dc764}.bar-button-clear-ios-green.activated,.bar-button-default.bar-button-ios-green.activated,.bar-button-green-ios.activated{opacity:.4}.bar-button-outline-ios-green{border-color:#1dc764;color:#1dc764;background-color:transparent}.bar-button-outline-ios-green.activated{color:#fff;background-color:#1dc764}.bar-button-solid-ios-green{color:#fff;background-color:#1dc764}.bar-button-solid-ios-green.activated{color:#fff;background-color:#2fcb70}.bar-button-strong-ios{font-weight:600}.toolbar-md{padding:4px;min-height:56px}.toolbar-background-md{border-color:#b2b2b2;background:#f8f8f8}.footer-md::before,.header-md::after,.tabs-md[tabsPlacement=bottom]>.tabbar::before,.tabs-md[tabsPlacement=top]>.tabbar::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:""}.footer-md::before,.tabs-md[tabsPlacement=bottom]>.tabbar::before{top:-2px;bottom:auto;background-position:left 0 top 0;height:2px}.footer-md[no-border]::before,.header-md[no-border]::after,.tabs-md[tabsPlacement=bottom][no-border]>.tabbar::before,.tabs-md[tabsPlacement=top][no-border]>.tabbar::after{display:none}.toolbar-content-md{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;min-width:0;max-width:100%}.toolbar-title-md{padding:0 12px;font-size:2rem;font-weight:500;color:#424242}.bar-buttons-md{-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-md[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-button-md:first-child{margin-left:0}.bar-buttons-md[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-md[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-md{margin:0 .2rem;padding:0 5px;border-radius:2px;height:32px;border:0;font-size:1.4rem;font-weight:500;text-transform:uppercase}.bar-button-outline-md,.bar-button-solid-md{overflow:hidden}.bar-button-outline-md{border-width:1px;border-style:solid;border-color:#424242;color:#424242;background-color:transparent}.bar-button-outline-md:hover:not(.disable-hover){opacity:.4}.bar-button-outline-md.activated{background-color:transparent}.bar-button-outline-md .button-effect{background-color:#424242}.bar-button-solid-md{color:#fff;background-color:#424242}.bar-button-solid-md:hover:not(.disable-hover){color:#fff}.bar-button-solid-md.activated{color:#fff;background-color:#515151}.bar-button-md.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-md.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-md[icon-only]{padding:0}.bar-button-md[icon-only] ion-icon{padding:0 .1em;min-width:28px;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-md{margin:0 6px;min-width:44px;-webkit-box-shadow:none;box-shadow:none}.back-button-icon-md{margin:0;padding:0 6px;text-align:left;text-align:start;font-size:2.4rem;font-weight:400}.bar-button-menutoggle-md{margin:0 6px;padding:0 2px;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:44px}.bar-button-menutoggle-md ion-icon{padding:0 6px;font-size:2.4rem}.bar-button-menutoggle-md[end],.bar-button-menutoggle-md[right]{margin:0 2px;-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7;min-width:28px}.bar-button-clear-md-default,.bar-button-default-md,.bar-button-md-default{color:#424242;background-color:transparent}.bar-button-clear-md-default:hover:not(.disable-hover),.bar-button-default-md:hover:not(.disable-hover),.bar-button-md-default:hover:not(.disable-hover){color:#424242}.bar-button-clear-md,.bar-button-clear-md-clear,.bar-button-md-clear{color:#424242;background-color:transparent}.bar-button-clear-md-clear:hover:not(.disable-hover),.bar-button-clear-md:hover:not(.disable-hover),.bar-button-md-clear:hover:not(.disable-hover){color:#424242}.toolbar-md-primary .toolbar-background-md{background:#673ab7}.toolbar-md-primary .bar-button-clear-md,.toolbar-md-primary .bar-button-default-md,.toolbar-md-primary .bar-button-outline-md,.toolbar-md-primary .toolbar-title-md{color:#fff}.toolbar-md-primary .bar-button-clear-md .button-effect,.toolbar-md-primary .bar-button-default-md .button-effect,.toolbar-md-primary .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-primary .bar-button-outline-md{border-color:#fff}.toolbar-md-primary .bar-button-clear-md-primary,.toolbar-md-primary .bar-button-md-primary,.toolbar-md-primary .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-primary .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-primary .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-primary .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-primary .bar-button-clear-md-secondary,.toolbar-md-primary .bar-button-md-secondary,.toolbar-md-primary .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-primary .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-primary .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-primary .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-primary .bar-button-clear-md-danger,.toolbar-md-primary .bar-button-danger-md,.toolbar-md-primary .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-primary .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-primary .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-primary .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-primary .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-primary .bar-button-clear-md-light,.toolbar-md-primary .bar-button-light-md,.toolbar-md-primary .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-primary .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-primary .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-primary .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-primary .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-primary .bar-button-clear-md-dark,.toolbar-md-primary .bar-button-dark-md,.toolbar-md-primary .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-primary .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-primary .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-primary .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-primary .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-primary .bar-button-clear-md-optblue,.toolbar-md-primary .bar-button-md-optblue,.toolbar-md-primary .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-primary .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-primary .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-primary .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-primary .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-primary .bar-button-clear-md-gray,.toolbar-md-primary .bar-button-gray-md,.toolbar-md-primary .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-primary .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-primary .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-primary .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-primary .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-primary .bar-button-clear-md-green,.toolbar-md-primary .bar-button-green-md,.toolbar-md-primary .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-primary .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-primary .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-primary .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-primary .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-primary,.bar-button-md-primary,.bar-button-primary-md{color:#673ab7;background-color:transparent}.bar-button-clear-md-primary:hover:not(.disable-hover),.bar-button-md-primary:hover:not(.disable-hover),.bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.bar-button-outline-md-primary.activated{background-color:transparent}.bar-button-outline-md-primary .button-effect{background-color:#734abd}.bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-secondary .toolbar-background-md{background:#32db64}.toolbar-md-secondary .bar-button-clear-md,.toolbar-md-secondary .bar-button-default-md,.toolbar-md-secondary .bar-button-outline-md,.toolbar-md-secondary .toolbar-title-md{color:#fff}.toolbar-md-secondary .bar-button-clear-md .button-effect,.toolbar-md-secondary .bar-button-default-md .button-effect,.toolbar-md-secondary .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-secondary .bar-button-outline-md{border-color:#fff}.toolbar-md-secondary .bar-button-clear-md-primary,.toolbar-md-secondary .bar-button-md-primary,.toolbar-md-secondary .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-secondary .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-secondary .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-secondary .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-secondary .bar-button-clear-md-secondary,.toolbar-md-secondary .bar-button-md-secondary,.toolbar-md-secondary .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-secondary .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-secondary .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-secondary .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-secondary .bar-button-clear-md-danger,.toolbar-md-secondary .bar-button-danger-md,.toolbar-md-secondary .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-secondary .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-secondary .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-secondary .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-secondary .bar-button-clear-md-light,.toolbar-md-secondary .bar-button-light-md,.toolbar-md-secondary .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-secondary .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-secondary .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-secondary .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-secondary .bar-button-clear-md-dark,.toolbar-md-secondary .bar-button-dark-md,.toolbar-md-secondary .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-secondary .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-secondary .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-secondary .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-secondary .bar-button-clear-md-optblue,.toolbar-md-secondary .bar-button-md-optblue,.toolbar-md-secondary .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-secondary .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-secondary .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-secondary .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-secondary .bar-button-clear-md-gray,.toolbar-md-secondary .bar-button-gray-md,.toolbar-md-secondary .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-secondary .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-secondary .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-secondary .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-secondary .bar-button-clear-md-green,.toolbar-md-secondary .bar-button-green-md,.toolbar-md-secondary .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-secondary .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-secondary .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-secondary .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-secondary,.bar-button-md-secondary,.bar-button-secondary-md{color:#32db64;background-color:transparent}.bar-button-clear-md-secondary:hover:not(.disable-hover),.bar-button-md-secondary:hover:not(.disable-hover),.bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.bar-button-outline-md-secondary.activated{background-color:transparent}.bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-danger .toolbar-background-md{background:#f53d3d}.toolbar-md-danger .bar-button-clear-md,.toolbar-md-danger .bar-button-default-md,.toolbar-md-danger .bar-button-outline-md,.toolbar-md-danger .toolbar-title-md{color:#fff}.toolbar-md-danger .bar-button-clear-md .button-effect,.toolbar-md-danger .bar-button-default-md .button-effect,.toolbar-md-danger .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-danger .bar-button-outline-md{border-color:#fff}.toolbar-md-danger .bar-button-clear-md-primary,.toolbar-md-danger .bar-button-md-primary,.toolbar-md-danger .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-danger .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-danger .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-danger .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-danger .bar-button-clear-md-secondary,.toolbar-md-danger .bar-button-md-secondary,.toolbar-md-danger .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-danger .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-danger .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-danger .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-danger .bar-button-clear-md-danger,.toolbar-md-danger .bar-button-danger-md,.toolbar-md-danger .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-danger .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-danger .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-danger .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-danger .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-danger .bar-button-clear-md-light,.toolbar-md-danger .bar-button-light-md,.toolbar-md-danger .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-danger .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-danger .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-danger .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-danger .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-danger .bar-button-clear-md-dark,.toolbar-md-danger .bar-button-dark-md,.toolbar-md-danger .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-danger .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-danger .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-danger .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-danger .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-danger .bar-button-clear-md-optblue,.toolbar-md-danger .bar-button-md-optblue,.toolbar-md-danger .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-danger .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-danger .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-danger .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-danger .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-danger .bar-button-clear-md-gray,.toolbar-md-danger .bar-button-gray-md,.toolbar-md-danger .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-danger .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-danger .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-danger .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-danger .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-danger .bar-button-clear-md-green,.toolbar-md-danger .bar-button-green-md,.toolbar-md-danger .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-danger .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-danger .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-danger .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-danger .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-danger,.bar-button-danger-md,.bar-button-md-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-md-danger:hover:not(.disable-hover),.bar-button-danger-md:hover:not(.disable-hover),.bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.bar-button-outline-md-danger.activated{background-color:transparent}.bar-button-outline-md-danger .button-effect{background-color:#e13838}.bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-light .toolbar-background-md{background:#f4f4f4}.toolbar-md-light .bar-button-clear-md,.toolbar-md-light .bar-button-default-md,.toolbar-md-light .bar-button-outline-md,.toolbar-md-light .toolbar-title-md{color:#424242}.toolbar-md-light .bar-button-clear-md .button-effect,.toolbar-md-light .bar-button-default-md .button-effect,.toolbar-md-light .bar-button-outline-md .button-effect{background-color:#424242}.toolbar-md-light .bar-button-outline-md{border-color:#424242}.toolbar-md-light .bar-button-clear-md-primary,.toolbar-md-light .bar-button-md-primary,.toolbar-md-light .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-light .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-light .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-light .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-light .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-light .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-light .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-light .bar-button-clear-md-secondary,.toolbar-md-light .bar-button-md-secondary,.toolbar-md-light .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-light .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-light .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-light .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-light .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-light .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-light .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-light .bar-button-clear-md-danger,.toolbar-md-light .bar-button-danger-md,.toolbar-md-light .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-light .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-light .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-light .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-light .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-light .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-light .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-light .bar-button-clear-md-light,.toolbar-md-light .bar-button-light-md,.toolbar-md-light .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-light .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-light .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-light .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-light .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-light .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-light .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-light .bar-button-clear-md-dark,.toolbar-md-light .bar-button-dark-md,.toolbar-md-light .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-light .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-light .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-light .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-light .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-light .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-light .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-light .bar-button-clear-md-optblue,.toolbar-md-light .bar-button-md-optblue,.toolbar-md-light .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-light .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-light .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-light .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-light .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-light .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-light .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-light .bar-button-clear-md-gray,.toolbar-md-light .bar-button-gray-md,.toolbar-md-light .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-light .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-light .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-light .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-light .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-light .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-light .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-light .bar-button-clear-md-green,.toolbar-md-light .bar-button-green-md,.toolbar-md-light .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-light .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-light .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-light .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-light .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-light .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-light .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-light,.bar-button-light-md,.bar-button-md-light{color:#f4f4f4;background-color:transparent}.bar-button-clear-md-light:hover:not(.disable-hover),.bar-button-light-md:hover:not(.disable-hover),.bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.bar-button-outline-md-light.activated{background-color:transparent}.bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-dark .toolbar-background-md{background:#222}.toolbar-md-dark .bar-button-clear-md,.toolbar-md-dark .bar-button-default-md,.toolbar-md-dark .bar-button-outline-md,.toolbar-md-dark .toolbar-title-md{color:#fff}.toolbar-md-dark .bar-button-clear-md .button-effect,.toolbar-md-dark .bar-button-default-md .button-effect,.toolbar-md-dark .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-dark .bar-button-outline-md{border-color:#fff}.toolbar-md-dark .bar-button-clear-md-primary,.toolbar-md-dark .bar-button-md-primary,.toolbar-md-dark .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-dark .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-dark .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-dark .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-dark .bar-button-clear-md-secondary,.toolbar-md-dark .bar-button-md-secondary,.toolbar-md-dark .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-dark .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-dark .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-dark .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-dark .bar-button-clear-md-danger,.toolbar-md-dark .bar-button-danger-md,.toolbar-md-dark .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-dark .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-dark .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-dark .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-dark .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-dark .bar-button-clear-md-light,.toolbar-md-dark .bar-button-light-md,.toolbar-md-dark .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-dark .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-dark .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-dark .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-dark .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-dark .bar-button-clear-md-dark,.toolbar-md-dark .bar-button-dark-md,.toolbar-md-dark .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-dark .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-dark .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-dark .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-dark .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-dark .bar-button-clear-md-optblue,.toolbar-md-dark .bar-button-md-optblue,.toolbar-md-dark .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-dark .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-dark .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-dark .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-dark .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-dark .bar-button-clear-md-gray,.toolbar-md-dark .bar-button-gray-md,.toolbar-md-dark .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-dark .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-dark .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-dark .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-dark .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-dark .bar-button-clear-md-green,.toolbar-md-dark .bar-button-green-md,.toolbar-md-dark .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-dark .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-dark .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-dark .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-dark .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-dark,.bar-button-dark-md,.bar-button-md-dark{color:#222;background-color:transparent}.bar-button-clear-md-dark:hover:not(.disable-hover),.bar-button-dark-md:hover:not(.disable-hover),.bar-button-md-dark:hover:not(.disable-hover){color:#222}.bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.bar-button-outline-md-dark.activated{background-color:transparent}.bar-button-outline-md-dark .button-effect{background-color:#343434}.bar-button-solid-md-dark{color:#fff;background-color:#222}.bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-optblue .toolbar-background-md{background:#e00201}.toolbar-md-optblue .bar-button-clear-md,.toolbar-md-optblue .bar-button-default-md,.toolbar-md-optblue .bar-button-outline-md,.toolbar-md-optblue .toolbar-title-md{color:#fff}.toolbar-md-optblue .bar-button-clear-md .button-effect,.toolbar-md-optblue .bar-button-default-md .button-effect,.toolbar-md-optblue .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-optblue .bar-button-outline-md{border-color:#fff}.toolbar-md-optblue .bar-button-clear-md-primary,.toolbar-md-optblue .bar-button-md-primary,.toolbar-md-optblue .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-optblue .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-optblue .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-optblue .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-optblue .bar-button-clear-md-secondary,.toolbar-md-optblue .bar-button-md-secondary,.toolbar-md-optblue .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-optblue .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-optblue .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-optblue .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-optblue .bar-button-clear-md-danger,.toolbar-md-optblue .bar-button-danger-md,.toolbar-md-optblue .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-optblue .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-optblue .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-optblue .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-optblue .bar-button-clear-md-light,.toolbar-md-optblue .bar-button-light-md,.toolbar-md-optblue .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-optblue .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-optblue .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-optblue .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-optblue .bar-button-clear-md-dark,.toolbar-md-optblue .bar-button-dark-md,.toolbar-md-optblue .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-optblue .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-optblue .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-optblue .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-optblue .bar-button-clear-md-optblue,.toolbar-md-optblue .bar-button-md-optblue,.toolbar-md-optblue .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-optblue .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-optblue .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-optblue .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-optblue .bar-button-clear-md-gray,.toolbar-md-optblue .bar-button-gray-md,.toolbar-md-optblue .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-optblue .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-optblue .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-optblue .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-optblue .bar-button-clear-md-green,.toolbar-md-optblue .bar-button-green-md,.toolbar-md-optblue .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-optblue .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-optblue .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-optblue .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-optblue,.bar-button-md-optblue,.bar-button-optblue-md{color:#e00201;background-color:transparent}.bar-button-clear-md-optblue:hover:not(.disable-hover),.bar-button-md-optblue:hover:not(.disable-hover),.bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.bar-button-outline-md-optblue.activated{background-color:transparent}.bar-button-outline-md-optblue .button-effect{background-color:#e21615}.bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-gray .toolbar-background-md{background:#dad8d8}.toolbar-md-gray .bar-button-clear-md,.toolbar-md-gray .bar-button-default-md,.toolbar-md-gray .bar-button-outline-md,.toolbar-md-gray .toolbar-title-md{color:#424242}.toolbar-md-gray .bar-button-clear-md .button-effect,.toolbar-md-gray .bar-button-default-md .button-effect,.toolbar-md-gray .bar-button-outline-md .button-effect{background-color:#424242}.toolbar-md-gray .bar-button-outline-md{border-color:#424242}.toolbar-md-gray .bar-button-clear-md-primary,.toolbar-md-gray .bar-button-md-primary,.toolbar-md-gray .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-gray .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-gray .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-gray .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-gray .bar-button-clear-md-secondary,.toolbar-md-gray .bar-button-md-secondary,.toolbar-md-gray .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-gray .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-gray .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-gray .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-gray .bar-button-clear-md-danger,.toolbar-md-gray .bar-button-danger-md,.toolbar-md-gray .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-gray .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-gray .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-gray .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-gray .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-gray .bar-button-clear-md-light,.toolbar-md-gray .bar-button-light-md,.toolbar-md-gray .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-gray .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-gray .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-gray .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-gray .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-gray .bar-button-clear-md-dark,.toolbar-md-gray .bar-button-dark-md,.toolbar-md-gray .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-gray .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-gray .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-gray .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-gray .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-gray .bar-button-clear-md-optblue,.toolbar-md-gray .bar-button-md-optblue,.toolbar-md-gray .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-gray .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-gray .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-gray .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-gray .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-gray .bar-button-clear-md-gray,.toolbar-md-gray .bar-button-gray-md,.toolbar-md-gray .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-gray .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-gray .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-gray .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-gray .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-gray .bar-button-clear-md-green,.toolbar-md-gray .bar-button-green-md,.toolbar-md-gray .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-gray .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-gray .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-gray .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-gray .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-gray,.bar-button-gray-md,.bar-button-md-gray{color:#dad8d8;background-color:transparent}.bar-button-clear-md-gray:hover:not(.disable-hover),.bar-button-gray-md:hover:not(.disable-hover),.bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.bar-button-outline-md-gray.activated{background-color:transparent}.bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-green .toolbar-background-md{background:#1dc764}.toolbar-md-green .bar-button-clear-md,.toolbar-md-green .bar-button-default-md,.toolbar-md-green .bar-button-outline-md,.toolbar-md-green .toolbar-title-md{color:#fff}.toolbar-md-green .bar-button-clear-md .button-effect,.toolbar-md-green .bar-button-default-md .button-effect,.toolbar-md-green .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-green .bar-button-outline-md{border-color:#fff}.toolbar-md-green .bar-button-clear-md-primary,.toolbar-md-green .bar-button-md-primary,.toolbar-md-green .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-green .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-green .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-green .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-green .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-green .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-green .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-green .bar-button-clear-md-secondary,.toolbar-md-green .bar-button-md-secondary,.toolbar-md-green .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-green .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-green .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-green .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-green .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-green .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-green .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-green .bar-button-clear-md-danger,.toolbar-md-green .bar-button-danger-md,.toolbar-md-green .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-green .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-green .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-green .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-green .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-green .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-green .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-green .bar-button-clear-md-light,.toolbar-md-green .bar-button-light-md,.toolbar-md-green .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-green .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-green .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-green .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-green .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-green .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-green .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-green .bar-button-clear-md-dark,.toolbar-md-green .bar-button-dark-md,.toolbar-md-green .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-green .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-green .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-green .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-green .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-green .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-green .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-green .bar-button-clear-md-optblue,.toolbar-md-green .bar-button-md-optblue,.toolbar-md-green .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-green .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-green .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-green .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-green .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-green .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-green .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-green .bar-button-clear-md-gray,.toolbar-md-green .bar-button-gray-md,.toolbar-md-green .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-green .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-green .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-green .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-green .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-green .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-green .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.toolbar-md-green .bar-button-clear-md-green,.toolbar-md-green .bar-button-green-md,.toolbar-md-green .bar-button-md-green{color:#1dc764;background-color:transparent}.toolbar-md-green .bar-button-clear-md-green:hover:not(.disable-hover),.toolbar-md-green .bar-button-green-md:hover:not(.disable-hover),.toolbar-md-green .bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.toolbar-md-green .bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-md-green .bar-button-outline-md-green.activated{background-color:transparent}.toolbar-md-green .bar-button-outline-md-green .button-effect{background-color:#2fcb70}.toolbar-md-green .bar-button-solid-md-green{color:#fff;background-color:#1dc764}.toolbar-md-green .bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-md-green,.bar-button-green-md,.bar-button-md-green{color:#1dc764;background-color:transparent}.bar-button-clear-md-green:hover:not(.disable-hover),.bar-button-green-md:hover:not(.disable-hover),.bar-button-md-green:hover:not(.disable-hover){color:#1dc764}.bar-button-outline-md-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.bar-button-outline-md-green.activated{background-color:transparent}.bar-button-outline-md-green .button-effect{background-color:#2fcb70}.bar-button-solid-md-green{color:#fff;background-color:#1dc764}.bar-button-solid-md-green.activated{color:#fff;background-color:#2fcb70}.bar-button-strong-md{font-weight:700}.toolbar-wp{padding:4px;min-height:46px}.toolbar-background-wp{border-color:#b2b2b2;background:#f8f8f8}.toolbar-content-wp{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;min-width:0;max-width:100%}.toolbar-title-wp{font-size:1.5rem;font-weight:700;text-transform:uppercase;color:#000;padding:0 6px}.bar-buttons-wp{-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-wp[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-buttons-wp[left] .bar-button:first-child{margin-left:0}.bar-buttons-wp[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-wp[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-wp{margin:0 .2rem;padding:0 5px;border-radius:2px;height:32px;border:0;font-size:1.4rem;font-weight:500;text-transform:uppercase}.bar-button-outline-wp,.bar-button-solid-wp{overflow:hidden}.bar-button-outline-wp{border-width:1px;border-style:solid;border-color:#000;color:#000;background-color:transparent}.bar-button-outline-wp:hover:not(.disable-hover){opacity:.4}.bar-button-outline-wp.activated{color:#fff;background-color:#000}.bar-button-solid-wp{color:#fff;background-color:#000}.bar-button-solid-wp:hover:not(.disable-hover){color:#fff}.bar-button-solid-wp.activated{color:#fff;background-color:#141414}.bar-button-wp.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-wp.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-wp[icon-only]{padding:0}.bar-button-wp[icon-only] ion-icon{padding:0 .1em;min-width:28px;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-wp{margin:0 6px;min-width:44px;-webkit-box-shadow:none;box-shadow:none}.back-button-icon-wp{text-align:left;text-align:start;margin:0;padding:0 6px;font-size:2.4rem;font-weight:400}.bar-button-menutoggle-wp{margin:0 6px;padding:0 2px;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:44px}.bar-button-menutoggle-wp ion-icon{padding:0 6px;font-size:2.4rem}.bar-button-menutoggle-wp[end],.bar-button-menutoggle-wp[right]{margin:0 2px;-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7;min-width:28px}.bar-button-clear-wp-default,.bar-button-default-wp,.bar-button-wp-default{color:#000;background-color:transparent}.bar-button-clear-wp-default:hover:not(.disable-hover),.bar-button-default-wp:hover:not(.disable-hover),.bar-button-wp-default:hover:not(.disable-hover){color:#000}.bar-button-clear-wp,.bar-button-clear-wp-clear,.bar-button-wp-clear{color:#000;background-color:transparent}.bar-button-clear-wp-clear:hover:not(.disable-hover),.bar-button-clear-wp:hover:not(.disable-hover),.bar-button-wp-clear:hover:not(.disable-hover){color:#000}.toolbar-wp-primary .toolbar-background-wp{background:#673ab7}.toolbar-wp-primary .bar-button-clear-wp,.toolbar-wp-primary .bar-button-default-wp,.toolbar-wp-primary .bar-button-outline-wp,.toolbar-wp-primary .toolbar-title-wp{color:#fff}.toolbar-wp-primary .bar-button-outline-wp{border-color:#fff}.toolbar-wp-primary .bar-button-clear-wp-primary,.toolbar-wp-primary .bar-button-primary-wp,.toolbar-wp-primary .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-primary .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-primary .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-primary .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-primary .bar-button-clear-wp-secondary,.toolbar-wp-primary .bar-button-secondary-wp,.toolbar-wp-primary .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-primary .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-primary .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-primary .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-primary .bar-button-clear-wp-danger,.toolbar-wp-primary .bar-button-danger-wp,.toolbar-wp-primary .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-primary .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-primary .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-primary .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-primary .bar-button-clear-wp-light,.toolbar-wp-primary .bar-button-light-wp,.toolbar-wp-primary .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-primary .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-primary .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-primary .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-primary .bar-button-clear-wp-dark,.toolbar-wp-primary .bar-button-dark-wp,.toolbar-wp-primary .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-primary .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-primary .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-primary .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-primary .bar-button-clear-wp-optblue,.toolbar-wp-primary .bar-button-optblue-wp,.toolbar-wp-primary .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-primary .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-primary .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-primary .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-primary .bar-button-clear-wp-gray,.toolbar-wp-primary .bar-button-gray-wp,.toolbar-wp-primary .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-primary .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-primary .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-primary .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-primary .bar-button-clear-wp-green,.toolbar-wp-primary .bar-button-green-wp,.toolbar-wp-primary .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-primary .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-primary .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-primary .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-primary,.bar-button-primary-wp,.bar-button-wp-primary{color:#673ab7;background-color:transparent}.bar-button-clear-wp-primary:hover:not(.disable-hover),.bar-button-primary-wp:hover:not(.disable-hover),.bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .toolbar-background-wp{background:#32db64}.toolbar-wp-secondary .bar-button-clear-wp,.toolbar-wp-secondary .bar-button-default-wp,.toolbar-wp-secondary .bar-button-outline-wp,.toolbar-wp-secondary .toolbar-title-wp{color:#fff}.toolbar-wp-secondary .bar-button-outline-wp{border-color:#fff}.toolbar-wp-secondary .bar-button-clear-wp-primary,.toolbar-wp-secondary .bar-button-primary-wp,.toolbar-wp-secondary .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-secondary .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-secondary .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .bar-button-clear-wp-secondary,.toolbar-wp-secondary .bar-button-secondary-wp,.toolbar-wp-secondary .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-secondary .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-secondary .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-secondary .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-secondary .bar-button-clear-wp-danger,.toolbar-wp-secondary .bar-button-danger-wp,.toolbar-wp-secondary .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-secondary .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-secondary .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-secondary .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-secondary .bar-button-clear-wp-light,.toolbar-wp-secondary .bar-button-light-wp,.toolbar-wp-secondary .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-secondary .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-secondary .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-secondary .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-secondary .bar-button-clear-wp-dark,.toolbar-wp-secondary .bar-button-dark-wp,.toolbar-wp-secondary .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-secondary .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-secondary .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-secondary .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-secondary .bar-button-clear-wp-optblue,.toolbar-wp-secondary .bar-button-optblue-wp,.toolbar-wp-secondary .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-secondary .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-secondary .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-secondary .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-secondary .bar-button-clear-wp-gray,.toolbar-wp-secondary .bar-button-gray-wp,.toolbar-wp-secondary .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-secondary .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-secondary .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-secondary .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-secondary .bar-button-clear-wp-green,.toolbar-wp-secondary .bar-button-green-wp,.toolbar-wp-secondary .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-secondary .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-secondary .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-secondary .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-secondary,.bar-button-secondary-wp,.bar-button-wp-secondary{color:#32db64;background-color:transparent}.bar-button-clear-wp-secondary:hover:not(.disable-hover),.bar-button-secondary-wp:hover:not(.disable-hover),.bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .toolbar-background-wp{background:#f53d3d}.toolbar-wp-danger .bar-button-clear-wp,.toolbar-wp-danger .bar-button-default-wp,.toolbar-wp-danger .bar-button-outline-wp,.toolbar-wp-danger .toolbar-title-wp{color:#fff}.toolbar-wp-danger .bar-button-outline-wp{border-color:#fff}.toolbar-wp-danger .bar-button-clear-wp-primary,.toolbar-wp-danger .bar-button-primary-wp,.toolbar-wp-danger .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-danger .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-danger .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-danger .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-danger .bar-button-clear-wp-secondary,.toolbar-wp-danger .bar-button-secondary-wp,.toolbar-wp-danger .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-danger .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-danger .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .bar-button-clear-wp-danger,.toolbar-wp-danger .bar-button-danger-wp,.toolbar-wp-danger .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-danger .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-danger .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-danger .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-danger .bar-button-clear-wp-light,.toolbar-wp-danger .bar-button-light-wp,.toolbar-wp-danger .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-danger .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-danger .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-danger .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-danger .bar-button-clear-wp-dark,.toolbar-wp-danger .bar-button-dark-wp,.toolbar-wp-danger .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-danger .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-danger .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-danger .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-danger .bar-button-clear-wp-optblue,.toolbar-wp-danger .bar-button-optblue-wp,.toolbar-wp-danger .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-danger .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-danger .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-danger .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-danger .bar-button-clear-wp-gray,.toolbar-wp-danger .bar-button-gray-wp,.toolbar-wp-danger .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-danger .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-danger .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-danger .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-danger .bar-button-clear-wp-green,.toolbar-wp-danger .bar-button-green-wp,.toolbar-wp-danger .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-danger .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-danger .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-danger .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-danger,.bar-button-danger-wp,.bar-button-wp-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-wp-danger:hover:not(.disable-hover),.bar-button-danger-wp:hover:not(.disable-hover),.bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .toolbar-background-wp{background:#f4f4f4}.toolbar-wp-light .bar-button-clear-wp,.toolbar-wp-light .bar-button-default-wp,.toolbar-wp-light .bar-button-outline-wp,.toolbar-wp-light .toolbar-title-wp{color:#000}.toolbar-wp-light .bar-button-outline-wp{border-color:#000}.toolbar-wp-light .bar-button-clear-wp-primary,.toolbar-wp-light .bar-button-primary-wp,.toolbar-wp-light .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-light .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-light .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-light .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-light .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-light .bar-button-clear-wp-secondary,.toolbar-wp-light .bar-button-secondary-wp,.toolbar-wp-light .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-light .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-light .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-light .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-light .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-light .bar-button-clear-wp-danger,.toolbar-wp-light .bar-button-danger-wp,.toolbar-wp-light .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-light .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-light .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-light .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .bar-button-clear-wp-light,.toolbar-wp-light .bar-button-light-wp,.toolbar-wp-light .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-light .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-light .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-light .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-light .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-light .bar-button-clear-wp-dark,.toolbar-wp-light .bar-button-dark-wp,.toolbar-wp-light .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-light .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-light .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-light .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-light .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-light .bar-button-clear-wp-optblue,.toolbar-wp-light .bar-button-optblue-wp,.toolbar-wp-light .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-light .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-light .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-light .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-light .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-light .bar-button-clear-wp-gray,.toolbar-wp-light .bar-button-gray-wp,.toolbar-wp-light .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-light .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-light .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-light .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-light .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-light .bar-button-clear-wp-green,.toolbar-wp-light .bar-button-green-wp,.toolbar-wp-light .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-light .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-light .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-light .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-light .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-light,.bar-button-light-wp,.bar-button-wp-light{color:#f4f4f4;background-color:transparent}.bar-button-clear-wp-light:hover:not(.disable-hover),.bar-button-light-wp:hover:not(.disable-hover),.bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .toolbar-background-wp{background:#222}.toolbar-wp-dark .bar-button-clear-wp,.toolbar-wp-dark .bar-button-default-wp,.toolbar-wp-dark .bar-button-outline-wp,.toolbar-wp-dark .toolbar-title-wp{color:#fff}.toolbar-wp-dark .bar-button-outline-wp{border-color:#fff}.toolbar-wp-dark .bar-button-clear-wp-primary,.toolbar-wp-dark .bar-button-primary-wp,.toolbar-wp-dark .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-dark .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-dark .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-dark .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-dark .bar-button-clear-wp-secondary,.toolbar-wp-dark .bar-button-secondary-wp,.toolbar-wp-dark .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-dark .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-dark .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-dark .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-dark .bar-button-clear-wp-danger,.toolbar-wp-dark .bar-button-danger-wp,.toolbar-wp-dark .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-dark .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-dark .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-dark .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-dark .bar-button-clear-wp-light,.toolbar-wp-dark .bar-button-light-wp,.toolbar-wp-dark .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-dark .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-dark .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .bar-button-clear-wp-dark,.toolbar-wp-dark .bar-button-dark-wp,.toolbar-wp-dark .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-dark .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-dark .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-dark .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-dark .bar-button-clear-wp-optblue,.toolbar-wp-dark .bar-button-optblue-wp,.toolbar-wp-dark .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-dark .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-dark .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-dark .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-dark .bar-button-clear-wp-gray,.toolbar-wp-dark .bar-button-gray-wp,.toolbar-wp-dark .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-dark .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-dark .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-dark .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-dark .bar-button-clear-wp-green,.toolbar-wp-dark .bar-button-green-wp,.toolbar-wp-dark .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-dark .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-dark .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-dark .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-dark,.bar-button-dark-wp,.bar-button-wp-dark{color:#222;background-color:transparent}.bar-button-clear-wp-dark:hover:not(.disable-hover),.bar-button-dark-wp:hover:not(.disable-hover),.bar-button-wp-dark:hover:not(.disable-hover){color:#222}.bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.bar-button-solid-wp-dark{color:#fff;background-color:#222}.bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .toolbar-background-wp{background:#e00201}.toolbar-wp-optblue .bar-button-clear-wp,.toolbar-wp-optblue .bar-button-default-wp,.toolbar-wp-optblue .bar-button-outline-wp,.toolbar-wp-optblue .toolbar-title-wp{color:#fff}.toolbar-wp-optblue .bar-button-outline-wp{border-color:#fff}.toolbar-wp-optblue .bar-button-clear-wp-primary,.toolbar-wp-optblue .bar-button-primary-wp,.toolbar-wp-optblue .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-optblue .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-optblue .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-optblue .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-optblue .bar-button-clear-wp-secondary,.toolbar-wp-optblue .bar-button-secondary-wp,.toolbar-wp-optblue .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-optblue .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-optblue .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-optblue .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-optblue .bar-button-clear-wp-danger,.toolbar-wp-optblue .bar-button-danger-wp,.toolbar-wp-optblue .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-optblue .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-optblue .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-optblue .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-optblue .bar-button-clear-wp-light,.toolbar-wp-optblue .bar-button-light-wp,.toolbar-wp-optblue .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-optblue .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-optblue .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-optblue .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-optblue .bar-button-clear-wp-dark,.toolbar-wp-optblue .bar-button-dark-wp,.toolbar-wp-optblue .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-optblue .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-optblue .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .bar-button-clear-wp-optblue,.toolbar-wp-optblue .bar-button-optblue-wp,.toolbar-wp-optblue .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-optblue .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-optblue .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-optblue .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-optblue .bar-button-clear-wp-gray,.toolbar-wp-optblue .bar-button-gray-wp,.toolbar-wp-optblue .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-optblue .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-optblue .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-optblue .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-optblue .bar-button-clear-wp-green,.toolbar-wp-optblue .bar-button-green-wp,.toolbar-wp-optblue .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-optblue .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-optblue .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-optblue .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-optblue,.bar-button-optblue-wp,.bar-button-wp-optblue{color:#e00201;background-color:transparent}.bar-button-clear-wp-optblue:hover:not(.disable-hover),.bar-button-optblue-wp:hover:not(.disable-hover),.bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-gray .toolbar-background-wp{background:#dad8d8}.toolbar-wp-gray .bar-button-clear-wp,.toolbar-wp-gray .bar-button-default-wp,.toolbar-wp-gray .bar-button-outline-wp,.toolbar-wp-gray .toolbar-title-wp{color:#000}.toolbar-wp-gray .bar-button-outline-wp{border-color:#000}.toolbar-wp-gray .bar-button-clear-wp-primary,.toolbar-wp-gray .bar-button-primary-wp,.toolbar-wp-gray .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-gray .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-gray .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-gray .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-gray .bar-button-clear-wp-secondary,.toolbar-wp-gray .bar-button-secondary-wp,.toolbar-wp-gray .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-gray .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-gray .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-gray .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-gray .bar-button-clear-wp-danger,.toolbar-wp-gray .bar-button-danger-wp,.toolbar-wp-gray .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-gray .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-gray .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-gray .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-gray .bar-button-clear-wp-light,.toolbar-wp-gray .bar-button-light-wp,.toolbar-wp-gray .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-gray .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-gray .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-gray .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-gray .bar-button-clear-wp-dark,.toolbar-wp-gray .bar-button-dark-wp,.toolbar-wp-gray .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-gray .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-gray .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-gray .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-gray .bar-button-clear-wp-optblue,.toolbar-wp-gray .bar-button-optblue-wp,.toolbar-wp-gray .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-gray .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-gray .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-gray .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-gray .bar-button-clear-wp-gray,.toolbar-wp-gray .bar-button-gray-wp,.toolbar-wp-gray .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-gray .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-gray .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-gray .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-gray .bar-button-clear-wp-green,.toolbar-wp-gray .bar-button-green-wp,.toolbar-wp-gray .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-gray .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-gray .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-gray .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-gray,.bar-button-gray-wp,.bar-button-wp-gray{color:#dad8d8;background-color:transparent}.bar-button-clear-wp-gray:hover:not(.disable-hover),.bar-button-gray-wp:hover:not(.disable-hover),.bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-green .toolbar-background-wp{background:#1dc764}.toolbar-wp-green .bar-button-clear-wp,.toolbar-wp-green .bar-button-default-wp,.toolbar-wp-green .bar-button-outline-wp,.toolbar-wp-green .toolbar-title-wp{color:#fff}.toolbar-wp-green .bar-button-outline-wp{border-color:#fff}.toolbar-wp-green .bar-button-clear-wp-primary,.toolbar-wp-green .bar-button-primary-wp,.toolbar-wp-green .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-green .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-green .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-green .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-green .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-green .bar-button-clear-wp-secondary,.toolbar-wp-green .bar-button-secondary-wp,.toolbar-wp-green .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-green .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-green .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-green .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-green .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-green .bar-button-clear-wp-danger,.toolbar-wp-green .bar-button-danger-wp,.toolbar-wp-green .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-green .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-green .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-green .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-green .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-green .bar-button-clear-wp-light,.toolbar-wp-green .bar-button-light-wp,.toolbar-wp-green .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-green .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-green .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-green .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-green .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-green .bar-button-clear-wp-dark,.toolbar-wp-green .bar-button-dark-wp,.toolbar-wp-green .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-green .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-green .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-green .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-green .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-green .bar-button-clear-wp-optblue,.toolbar-wp-green .bar-button-optblue-wp,.toolbar-wp-green .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-green .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-green .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-green .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-green .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-green .bar-button-clear-wp-gray,.toolbar-wp-green .bar-button-gray-wp,.toolbar-wp-green .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-green .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-green .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-green .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-green .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-green .bar-button-clear-wp-green,.toolbar-wp-green .bar-button-green-wp,.toolbar-wp-green .bar-button-wp-green{color:#1dc764;background-color:transparent}.toolbar-wp-green .bar-button-clear-wp-green:hover:not(.disable-hover),.toolbar-wp-green .bar-button-green-wp:hover:not(.disable-hover),.toolbar-wp-green .bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.toolbar-wp-green .bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.toolbar-wp-green .bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.toolbar-wp-green .bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.toolbar-wp-green .bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-clear-wp-green,.bar-button-green-wp,.bar-button-wp-green{color:#1dc764;background-color:transparent}.bar-button-clear-wp-green:hover:not(.disable-hover),.bar-button-green-wp:hover:not(.disable-hover),.bar-button-wp-green:hover:not(.disable-hover){color:#1dc764}.bar-button-outline-wp-green{border-color:#2fcb70;color:#2fcb70;background-color:transparent}.bar-button-outline-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-solid-wp-green{color:#fff;background-color:#1dc764}.bar-button-solid-wp-green.activated{color:#fff;background-color:#2fcb70}.bar-button-strong-wp{font-weight:700}.text-ios-primary{color:#673ab7}.text-ios-secondary{color:#32db64}.text-ios-danger{color:#f53d3d}.text-ios-light{color:#f4f4f4}.text-ios-dark{color:#222}.text-ios-optblue{color:#e00201}.text-ios-gray{color:#dad8d8}.text-ios-green{color:#1dc764}.text-md-primary{color:#673ab7}.text-md-secondary{color:#32db64}.text-md-danger{color:#f53d3d}.text-md-light{color:#f4f4f4}.text-md-dark{color:#222}.text-md-optblue{color:#e00201}.text-md-gray{color:#dad8d8}.text-md-green{color:#1dc764}.text-wp-primary{color:#673ab7}.text-wp-secondary{color:#32db64}.text-wp-danger{color:#f53d3d}.text-wp-light{color:#f4f4f4}.text-wp-dark{color:#222}.text-wp-optblue{color:#e00201}.text-wp-gray{color:#dad8d8}.text-wp-green{color:#1dc764}.virtual-loading{opacity:0}.virtual-scroll{position:relative;contain:content}.virtual-scroll .virtual-position,.virtual-scroll .virtual-position.item{left:0;top:0;position:absolute;-webkit-transition-duration:0s;transition-duration:0s;contain:content}.virtual-scroll .virtual-last{display:none}.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child ion-title,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child ion-title,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child ion-title{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);height:calc(44px + 20px);height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}@media only screen and (max-width:767px){.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);height:calc(44px + 20px);height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}}.ios .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.ios ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(44px + constant(safe-area-inset-bottom));min-height:calc(44px + env(safe-area-inset-bottom))}.md ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.md ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.md ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.md ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.md ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.md ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.md ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(56px + 20px);min-height:calc(56px + constant(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}@media only screen and (max-width:767px){.md .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(56px + 20px);min-height:calc(56px + constant(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}.md .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.md ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(56px + constant(safe-area-inset-bottom));min-height:calc(56px + env(safe-area-inset-bottom))}.wp ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.wp ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.wp ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.wp ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(46px + 20px);min-height:calc(46px + constant(safe-area-inset-top));min-height:calc(46px + env(safe-area-inset-top))}.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}@media only screen and (max-width:767px){.wp .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(46px + 20px);min-height:calc(46px + constant(safe-area-inset-top));min-height:calc(46px + env(safe-area-inset-top))}.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}.wp .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.wp ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(46px + constant(safe-area-inset-bottom));min-height:calc(46px + env(safe-area-inset-bottom))}image-viewer.ion-page{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;opacity:1}image-viewer.ion-page ion-navbar.toolbar .toolbar-background{background-color:transparent}image-viewer.ion-page ion-navbar.toolbar.toolbar-ios{padding-top:calc(20px + 4px)}image-viewer.ion-page ion-navbar .bar-button-default{color:#fff}image-viewer.ion-page .backdrop{will-change:opacity}image-viewer.ion-page .image-wrapper{position:relative;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-top:56px;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}image-viewer.ion-page .image{will-change:transform}image-viewer.ion-page img{display:block;max-width:100%;max-height:100%;margin:0 auto}@font-face{font-family:Roboto;src:url(../assets/fonts/Roboto-Light.ttf)}ion-icon[class*=fn-]{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;background:currentColor;width:1em;height:1em}ion-icon[class*=fn-save]{-webkit-mask-image:url(../assets/icon/md-save.svg);mask-image:url(../assets/icon/md-save.svg)}*{font-family:Roboto;font-size:16px}.align-center{text-align:center}.highlight{background-color:#f4f4f4}.center{display:block;margin:0 auto}.vertical-center{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.top-radius{border-radius:10% 10% 0 0}.bottom-radius{border-radius:0 0 10% 10%}.round{border-radius:50%}.transparent-header .back-button,.transparent-header .toolbar-content{color:#fff}.transparent-header .toolbar-background,.transparent-header ion-header,.transparent-header ion-navbar{background:0 0!important;background-color:transparent!important}.transparent-header .header-md::after,.transparent-header .toolbar-background-ios{background-image:none;border-bottom:0}.transparent-header .footer-ios .toolbar-background-ios,.transparent-header .header-ios .toolbar-background-ios{border:0}#menu-right button{padding-left:16px}#menu-right ion-content{background:#00d2ff;background:-webkit-gradient(linear,right top,left top,from(#3a7bd5),to(#00d2ff));background:linear-gradient(to left,#3a7bd5,#00d2ff)}#menu-right .menu-inner{width:10vh}@media screen and (orientation:landscape){#menu-right .menu-inner{width:15vh}}#menu-right .active-menu-item{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff}#menu-right .label{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#menu-right .list-ios[no-lines] .item .item-inner,#menu-right .list-ios[no-lines] .item-block,#menu-right .list-ios[no-lines] ion-item-options,#menu-right .list-md[no-lines] .item .item-inner,#menu-right .list-md[no-lines] .item-block,#menu-right .list-md[no-lines] ion-item-options{padding:.3rem 0;background:0 0;color:#fff}#menu-right ion-icon{line-height:1}.icon-badge{top:0;right:0;background:#e00201;color:#fff;font-size:12px;position:absolute;padding:5px 8px;border-radius:15px}#menu-avatar .user-avatar{max-width:125px;height:125px;padding:.5em}#menu-avatar .label,#menu-avatar h3{color:#fff;font-weight:700;font-size:14px}#menu-avatar .item{background:0 0}#menu-avatar ion-content{background:#649173;background:-webkit-gradient(linear,right top,left top,from(#dbd5a4),to(#649173));background:linear-gradient(to left,#dbd5a4,#649173)}#menu-avatar .menu-inner{background:rgba(255,255,255,.3)}#menu-material .scroll-content .name{font-weight:500;margin-top:0;margin-left:0;font-size:24px}#menu-material .scroll-content .e-mail{margin-top:0;margin-bottom:5px}#menu-material .user-avatar{max-width:125px;height:125px;padding:.5em;height:12vh}#menu-material .label,#menu-material h3{color:#111;font-weight:500}#menu-material .menu-inner{-webkit-box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}#menu-material .menu-header{background-image:url(../assets/img/misc/sidemenubg.jpg);background-size:cover;color:#fff;padding-bottom:15px}#menu-material .item-md{background-color:rgba(255,255,255,.28)!important}#menu-material ion-icon{color:#111}#menu-dark .sidemenuHeader ion-toolbar .toolbar-background{background:#19152c;border:#19152c}#menu-dark .sidemenuHeader ion-toolbar ion-buttons button{color:#fff}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item{background:0 0;color:#fff}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar{background:#fff;color:#8835c3;border-radius:50%;text-align:center}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar h2{margin:0;font-size:25px;line-height:40px;color:#19152c}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item h2{font-size:12px;font-weight:400}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item p{font-size:11px;font-weight:400;color:#fff}#menu-dark .menu{background:#19152c}#menu-dark .menu ion-list button{background:0 0;color:#c9c7d3;font-size:13px}#menu-dark .menu ion-list button .item-inner{border-bottom:1px solid #474456!important}#menu-dark .menu ion-list button .item-inner img{width:30px;height:30px;vertical-align:middle;margin-right:10px;margin-bottom:5px}.buttoncss{color:#0d95d4}.buttoncss button.alert-button:nth-child(1){color:red;border:1px solid red;border-radius:10px;position:relative;right:20px;font-size:14px}.buttoncss button.alert-button:nth-child(2){color:green;border:1px solid green;border-radius:10px}.prompt_alert{color:#006400}.prompt_alert button.alert-button{color:green;border:1px solid green;border-radius:10px}.prompt_alert input.alert-input{border:1px solid #8a2be2}.complete_alert{color:#00008b}.complete_alert .alert-message{color:#6b8e23}.complete_alert button.alert-button:nth-child(1){color:red;border:1px solid red;border-radius:10px;width:85%;text-align:center;font-size:14px}.complete_alert button.alert-button:nth-child(2){margin-top:10px;color:#006400;width:60px}.complete_alert button.alert-button:nth-child(3){margin-top:8px;color:#8b0000}.applicant_free_text{text-transform:capitalize}.mapAddress{padding:30px}.mapAddress .modal-wrapper{border-radius:7px;background:rgba(0,0,0,.5);height:80%!important;margin-top:25%}.mapAddress .modal-wrapper ion-content{background-color:#ffebcd}.mapAddress .modal-wrapper form{margin-top:20px}.mapAddress .modal-wrapper mat-label{margin-bottom:20px;color:#006400;font-weight:700;font-size:85%;padding:0 10px 0 10px}.mapAddress .modal-wrapper ion-list .login-top{margin-top:-20px;background:#4eb5e2;padding-bottom:10px;margin-bottom:25px}.mapAddress .modal-wrapper ion-list img{margin-top:15%;max-width:30%}.mapAddress .modal-wrapper ion-list .item{background:0 0!important}.mapAddress .modal-wrapper ion-list .item button{height:4rem!important}.pdimagecompleteModal{padding:30px;color:red}.pdimagecompleteModal .modal-wrapper{height:98%!important;width:105%!important;margin-top:9%}.pdimagecompleteModal .modal-wrapper ion-content{background-color:#ffebcd}page-auth .scroll-content{background-color:#eee}page-auth .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-auth h4{font-weight:400}page-auth button.mat-primary{background-color:#e00201!important}page-auth .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-auth .rounded-circle{border-radius:50%!important}page-auth .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-auth ion-icon{font-size:2.2em}page-complete-list mat-grid-tile{background:#fff!important}page-complete-list .grid{padding:0}page-complete-list .scroll-content{padding:0!important}page-complete-list .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-complete-list .scroll-content{padding:0!important}page-complete-list .mat-card{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}page-complete-list *{font-size:10px}page-complete-list .mat-card-title{margin-bottom:0}page-complete-list .list-md{margin:0}page-complete-list .lettericon{background-color:#5f9ea0;padding:10px 8px 10px 8px;border-radius:20%;color:#fff;font-size:90%;font-weight:700}page-complete-list .no_applicant_pd{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-complete-list .label-md{margin:0}page-complete-list .item-md h4{font-size:1.7rem}page-complete-list .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-complete-list .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-complete-list .button-md-primary{margin-bottom:0!important;height:50px}page-complete-list ion-fab[middle]{top:17%!important}page-complete-list .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-form-complete-check-modal .title{font-size:16px;color:#000;font-weight:700}page-form-complete-check-modal .head{margin-left:10%;text-align:right;font-weight:700;color:#e00201}page-form-complete-check-modal .datas{font-size:16px;color:#483d8b;font-weight:700}page-googleplaytab .SwipedTabs-indicatorSegment{-webkit-transition:.2s all;transition:.2s all;-webkit-transform-origin:top 0 left 0;transform-origin:top 0 left 0;height:1px;position:relative;top:-2px;background-color:#00f!important}page-googleplaytab .SwipedTabs-tabs ion-segment-button{border:none!important;color:#111!important;background-color:#fff!important;padding-left:16px!important;padding-right:20px!important}page-googleplaytab .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab{color:#00f!important}page-googleplaytab .SwipedTabs-tabs{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}page-googleplaytab .toolbar *{margin:0!important}page-googleplaytab .tabsContent .scroll-content{overflow-x:scroll!important}page-googleplaytab .tabsContent{height:50px!important}page-googleplaytab .segment-button{max-width:initial!important;-webkit-box-flex:1!important;-webkit-flex:auto!important;-ms-flex:auto!important;flex:auto!important;width:initial!important}page-googleplaytab .segment-md .segment-button{font-size:2rem}page-googleplaytab .scroll-content{background-color:#eee!important}page-googleplaytab .grid{padding:0}page-googleplaytab h1{margin:2px 0;font-size:2.2rem!important}page-googleplaytab .scroll-content{background-color:#eee!important;padding:0!important}page-googleplaytab .mat-card{-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(156,39,176,.6)!important;box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(156,39,176,.6)!important;margin-bottom:3px}page-googleplaytab h2{font-size:2rem;font-weight:400}page-input .example-form{min-width:150px;max-width:500px;width:100%}page-input .example-full-width{width:100%}page-input .cusicon{padding-top:36px;font-size:23px;color:#3272b2}page-input mat-grid-tile{background:#fff!important}page-input .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-input .box{-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(50,114,178,.59)!important;box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(50,114,178,.59)!important}page-input .scroll-content{background-color:#eee!important}page-input .mat-card{padding:7px 16px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input *{font-size:14px}page-input .mat-card-title{margin-bottom:0}page-input .button-md-primary{background-color:#e00201!important;margin-bottom:0!important;height:50px}page-input .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input ion-footer{position:absolute}page-input .cardinfo{font-size:19px!important}page-input .addressinfo{font-size:19px!important}page-input .schdule_time{font-size:117%}page-input .schdul{border-radius:5px;color:red;padding-bottom:20px}page-input ion-input{color:red;background-color:#d3d3d3;padding-left:10px;font-weight:700}page-input ion-label{font-weight:700}page-input .input-cover{position:static}page-input .leaveDays{color:red}page-input ion-icon{font-size:120%}page-input .status{color:#e00201;border:2px solid #8b008b;padding:5px;border-radius:10px}page-input .inprogress_btn{position:relative;left:80%;bottom:50%}page-input .doc-image-bucket{padding:0 5px 0 0!important;height:180px!important}page-bounced-reject .scroll-content{background-color:#eee!important}page-bounced-reject .mat-card{padding:7px 16px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;border-radius:10px}page-login .scroll-content{background-image:url(../assets/img/misc/login.jpg);background-size:cover}page-login .form{margin:22px;font:inherit;color:inherit}page-login .mat-card{margin-top:50%;background-color:rgba(255,255,255,.57);border-radius:10px}page-login .login-session{margin-top:20%}page-login img{height:70px!important}page-login *{font-size:25px!important}page-login button.mat-primary{background-color:#e00201!important}page-login .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-login .label_name{color:#e00201;text-align:center}page-map-address .mat-form-field{width:100%;padding:0 10px 0 10px}page-otp .scroll-content{background-color:#eee}page-otp .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp h4{font-weight:400}page-otp button.mat-primary{background-color:#e00201!important}page-otp .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp .rounded-circle{border-radius:50%!important;background-image:url(../assets/img/misc/avatar.jpg)}page-otp .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-otp ion-icon{font-size:2.2em}page-password .scroll-content{background-color:#eee}page-password .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-password h4{font-weight:400}page-password button.mat-primary{background-color:#dd4437!important}page-password .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-password .rounded-circle{border-radius:50%!important;background-image:url(../assets/img/misc/avatar.jpg)}page-password .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-password ion-icon{font-size:2.2em}page-pd-allocation mat-grid-tile{background:#fff!important}page-pd-allocation .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-allocation .scroll-content{background-color:#eee!important;padding:0!important}page-pd-allocation *{font-size:14px}page-pd-allocation .mat-card-title{margin-bottom:0}page-pd-allocation .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-allocation .mat-card-header-text{margin:0}page-pd-allocation .mat-card-subtitle{margin-bottom:0}page-pd-allocation .mat-card-content>:last-child:not(.mat-card-footer){margin-top:0}page-pd-allocation p{margin-top:0!important;margin-left:5%!important}page-pd-allocation h2{margin:1px!important}page-pd-allocation .mat-card{border-radius:10px}page-pd-list mat-grid-tile{background:#fff!important}page-pd-list .grid{padding:0}page-pd-list .scroll-content{padding:0!important}page-pd-list .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-list .scroll-content{padding:0!important}page-pd-list .mat-card{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}page-pd-list *{font-size:10px}page-pd-list .mat-card-title{margin-bottom:0}page-pd-list .list-md{margin:0}page-pd-list .lettericon{background-color:#5f9ea0;padding:10px 8px 10px 8px;border-radius:20%;color:#fff;font-size:90%;font-weight:700}page-pd-list .no_applicant_pd{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-list .label-md{margin:0}page-pd-list .item-md h4{font-size:1.7rem}page-pd-list .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-pd-list .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-list .button-md-primary{margin-bottom:0!important;height:50px}page-pd-list ion-fab[middle]{top:17%!important}page-pd-list .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-list ion-footer{position:absolute}page-pd-list ion-slide.swiper-slide{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}page-pd-list ion-slides{height:auto}page-pd-list .app_id{overflow:hidden;text-overflow:ellipsis}page-pd-question .SwipedTabs-indicatorSegment{-webkit-transition:.2s all;transition:.2s all;-webkit-transform-origin:top 0 left 0;transform-origin:top 0 left 0;height:1px;position:relative;top:-2px;background-color:#00f!important}page-pd-question .SwipedTabs-tabs ion-segment-button{border:none!important;color:#111!important;background-color:#fff!important;padding-left:16px!important;padding-right:20px!important}page-pd-question .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab{color:#00f!important}page-pd-question .SwipedTabs-tabs{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}page-pd-question .toolbar *{margin:0!important}page-pd-question .tabsContent .scroll-content{overflow-x:scroll!important}page-pd-question .tabsContent{height:50px!important}page-pd-question .segment-button{max-width:initial!important;-webkit-box-flex:1!important;-webkit-flex:auto!important;-ms-flex:auto!important;flex:auto!important;width:initial!important}page-pd-question .segment-md .segment-button{font-size:2rem}page-pd-question .scroll-content{background-color:#fff!important}page-pd-question .mat-card1{margin-bottom:5px}page-pd-question ion-scroll{position:inherit!important}page-pd-question .button-md{padding:25px 0 25px 0!important}page-pd-question-category mat-grid-tile{background:#fff!important}page-pd-question-category .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-question-category .grid{padding:0}page-pd-question-category h1{margin:2px 0;font-size:2.2rem!important}page-pd-question-category .scroll-content{background-color:#eee!important;padding:0!important}page-pd-question-category .mat-card{padding:0!important;-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(0,0,0,.2);box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(0,0,0,.2)}page-pd-question-category *{font-size:16px}page-pd-question-category .mat-card-title{margin-bottom:0}page-pd-question-category .list-md{margin:0}page-pd-question-category .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-question-category .label-md{margin:0}page-pd-question-category .item-md h4{font-size:1.7rem}page-pd-question-category .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-pd-question-category .button-md-primary{margin-bottom:0!important;height:50px}page-pd-question-address .scroll-content{background-color:#eee}page-pd-question-address .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-address .mat-card-content{margin-bottom:0!important}page-pd-question-address textarea{resize:none}page-pd-question-address .my-width{width:600px}page-pd-question-address img{padding:0 5px 0 0;height:170px}page-pd-question-address input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-address .buttoncss{margin-top:3px;font-size:25px;color:#e00201}page-pd-question-address ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-address .line{font-size:32px;font-weight:700}page-pd-question-assessed-business .scroll-content{padding:16px}page-pd-question-assessed-business .scroll-content{background-color:#eee}page-pd-question-assessed-business .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-business .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-purchase mat-form-field{width:100%}page-pd-question-assessed-daily-purchase .scroll-content{padding:16px}page-pd-question-assessed-daily-purchase .scroll-content{background-color:#eee}page-pd-question-assessed-daily-purchase .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-daily-purchase .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-sales .input-cover{position:static}page-pd-question-assessed-daily-sales .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-daily-sales .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-sales .scroll-content{background-color:#eee}page-pd-question-assessed-daily-sales mat-radio-button{width:100%;padding-top:10px;padding-bottom:10px}page-pd-question-assessed-dash .mat-card{border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-dash .htag{font-size:1.5rem;margin-top:0}page-pd-question-assessed-dash .ion-icon-custome{font-size:2.8em;color:#e00201}page-pd-question-assessed-dash .item-ribbon{background-color:#fff;position:relative;-webkit-filter:none;filter:none;opacity:1}page-pd-question-assessed-dash .item-ribbon .ribbon{position:absolute;right:-5px;top:-5px;z-index:2;overflow:hidden;width:75px;height:75px;text-align:right}page-pd-question-assessed-dash .item-ribbon .ribbon span{font-size:1rem;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;transform:rotate(45deg);-webkit-transform:rotate(45deg);width:100px;display:block;background:#f53d3d;position:absolute;top:19px;right:-21px}page-pd-question-assessed-dash .item-ribbon .ribbon span::before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #f53d3d;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .item-ribbon .ribbon span::after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #f53d3d;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .ribbon.cruzeiro span{color:#fff;background:#20c127}page-pd-question-assessed-dash .ribbon.cruzeiro span::before{border-left:3px solid #20c127;border-top:3px solid #20c127}page-pd-question-assessed-dash .ribbon.cruzeiro span::after{border-right:3px solid #20c127;border-top:3px solid #20c127}page-pd-question-assessed-dash .ribbon.default span{color:#fff;background:#f53d3d}page-pd-question-assessed-dash .ribbon.default span::before{border-left:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .ribbon.default span::after{border-right:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .radio{padding-top:10px;padding-bottom:10px;font-weight:700;font-size:24px}page-pd-question-assessed-household .scroll-content{padding:16px}page-pd-question-assessed-household .scroll-content{background-color:#eee}page-pd-question-assessed-household .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-household .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-images .scroll-content{padding:16px}page-pd-question-assessed-images .scroll-content{background-color:#eee}page-pd-question-assessed-images .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-images .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-images img{padding:0 5px 0 0;height:180px}page-pd-question-assessed-images input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content{width:100%;height:200px}page-pd-question-assessed-info .mat-form-field-label{white-space:normal}page-pd-question-assessed-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-assessed-info input{height:30px}page-pd-question-assessed-info .scroll-content{padding:16px}page-pd-question-assessed-info .scroll-content{background-color:#eee}page-pd-question-assessed-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-info .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-sales mat-radio-button{padding-top:10px;padding-bottom:10px}page-pd-question-assessed-sales .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-sales .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-sales .scroll-content{background-color:#eee}page-pd-question-assessed-summary .val{font-size:14.5px;font-weight:700}page-pd-question-assessed-summary .l_cons{color:#2e8b57;font-weight:700}page-pd-question-assessed-summary .mat-card{border-radius:10px;margin-bottom:15px}page-pd-question-assessed-summary .scroll-content{background-color:#eee}page-pd-question-assessed-summary .mat-expansion-panel-header{padding:30px}page-pd-question-assessed-summary .label{font-weight:700}page-pd-question-assests .scroll-content{padding:16px}page-pd-question-assests .scroll-content{background-color:#eee}page-pd-question-assests .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assests .mat-card-content{margin-bottom:0!important}page-pd-question-assests img{padding:0 5px 0 0;height:180px}page-pd-question-assests input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-assests ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-banking .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-banking .mat-card-content{margin-bottom:0!important}page-pd-question-banking .scroll-content{background-color:#eee}page-pd-question-banking img{padding:0 5px 0 0;height:180px}page-pd-question-banking input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-banking ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-business-group .mat-expansion-panel{margin-bottom:10px!important;background-color:#e14533!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-group .mat-expansion-panel-header-title{color:#fff!important}page-pd-question-business-group .mat-card{margin-bottom:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;padding:3px 10px!important}page-pd-question-business-group .item-ribbon{background-color:#fff;position:relative;-webkit-filter:none;filter:none;opacity:1}page-pd-question-business-group .item-ribbon .ribbon{position:absolute;right:-5px;top:-5px;z-index:2;overflow:hidden;width:75px;height:75px;text-align:right}page-pd-question-business-group .item-ribbon .ribbon span{font-size:1rem;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;transform:rotate(45deg);-webkit-transform:rotate(45deg);width:73px;display:block;background:#f53d3d;position:absolute;top:10px;right:-17px}page-pd-question-business-group .item-ribbon .ribbon span::before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #f53d3d;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-business-group .item-ribbon .ribbon span::after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #f53d3d;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.answered span{color:#fff;background:green}page-pd-question-business-group .ribbon.answered span::before{border-left:3px solid green;border-top:3px solid green}page-pd-question-business-group .ribbon.answered span::after{border-right:3px solid green;border-top:3px solid green}page-pd-question-business-group .ribbon.notanswered span{color:#fff;background:#f53d3d}page-pd-question-business-group .ribbon.notanswered span::before{border-left:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.notanswered span::after{border-right:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.javascript span{color:#000;background:#f7e023}page-pd-question-business-group .ribbon.javascript span::before{border-left:3px solid #f7e023;border-top:3px solid #f7e023}page-pd-question-business-group .ribbon.javascript span::after{border-right:3px solid #f7e023;border-top:3px solid #f7e023}page-pd-question-business-assets mat-form-field{width:100%}page-pd-question-business-assets .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-assets .mat-card-content{margin-bottom:0!important}page-pd-question-business-assets .scroll-content{background-color:#eee}page-pd-question-business-assets .mat-form-field-label{white-space:normal}page-pd-question-business-assets textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-business-assets mat-select{margin-top:7px}page-pd-question-business-assets img{padding:0 5px 0 0;height:180px}page-pd-question-business-assets input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-business-assets ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-business-banking .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-banking .mat-card-content{margin-bottom:0!important}page-pd-question-business-banking .accordion{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-banking .scroll-content{background-color:#eee}page-pd-question-business-banking img{padding:0 5px 0 0;height:180px}page-pd-question-business-banking input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-business-banking ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-business-info mat-card-title{font-weight:700;font-size:18px}page-pd-question-business-info mat-card-header{font-weight:700;font-size:18px}page-pd-question-business-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-info .mat-card-content{margin-bottom:0!important}page-pd-question-business-info .scroll-content{background-color:#eee}page-pd-question-business-info mat-radio-button{padding:0 5px 0 5px}page-pd-question-business-info .mat-radio-button.mat-accent .mat-radio-inner-circle{background-color:#673ab7}page-pd-question-business-info .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#673ab7}page-pd-question-business-info .ses{padding-top:10px}page-pd-question-business-info .mat-form-field-label{white-space:normal}page-pd-question-business-info .labelcss{white-space:normal}page-pd-question-business-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-business-info input{height:30px}page-pd-question-business-info mat-select{margin-top:8px}page-pd-question-business-info .checkbo{margin:10px;padding-top:10px;color:#008b8b}page-pd-question-business-info img{padding:0 5px 0 0;height:180px}page-pd-question-business-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-business-info .na{margin-top:15px}page-pd-question-business-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-business-info .name_board_camera{text-align:right;font-size:26px;color:#8b0000}page-pd-question-client-info mat-hint{font-size:12px}page-pd-question-client-info .scroll-content{background-color:#eee}page-pd-question-client-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-client-info .mat-card-content{margin-bottom:0!important}page-pd-question-client-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-client-info img{padding:0 5px 0 0;height:180px}page-pd-question-client-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-financial-info mat-form-field{width:100%}page-pd-question-financial-info .info>span{bottom:20px;margin-left:10px;font-size:13px}page-pd-question-financial-info b,page-pd-question-financial-info i{font-size:12px}page-pd-question-financial-info .greenhighlight{color:green;background-color:#fff}page-pd-question-financial-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-financial-info .highlight{color:red;background-color:#fff}page-pd-question-financial-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-financial-info .mat-card-content{margin-bottom:0!important}page-pd-question-financial-info .scroll-content{background-color:#eee}page-pd-question-financial-info .large{height:30px}page-pd-question-financial-info .mat-form-field-label{white-space:normal}page-pd-question-financial-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-financial-info .mat-input-placeholder{white-space:normal}page-pd-question-financial-info img{padding:0 5px 0 0;height:180px}page-pd-question-financial-info .select_large{margin:5px}page-pd-question-financial-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-financial-info .toggle{padding:1.4rem}page-pd-question-financial-info .element::-webkit-input-placeholder{font-weight:700}page-pd-question-financial-info .element::-moz-placeholder{font-weight:700}page-pd-question-financial-info .element:-ms-input-placeholder{font-weight:700}page-pd-question-financial-info .element:-o-input-placeholder{font-weight:700}page-pd-question-future-plans-and-business-environment mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-future-plans-and-business-environment mat-form-field{width:100%}page-pd-question-future-plans-and-business-environment .scroll-content{background-color:#eee}page-pd-question-future-plans-and-business-environment .mat-form-field-label{white-space:normal}page-pd-question-future-plans-and-business-environment textarea.mat-input-element{padding:0 0;margin:10px 0}page-pd-question-future-plans-and-business-environment ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-future-plans-and-business-environment .mat-input-placeholder{white-space:normal}page-pd-question-future-plans-and-business-environment mat-placeholder{font-size:15px}page-pd-question-future-plans-and-business-environment input-placeholder{margin:10px}page-pd-question-future-plans-and-business-environment img{padding:0 5px 0 0;height:180px}page-pd-question-future-plans-and-business-environment input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-stock-info mat-hint{font-size:12px}page-pd-question-stock-info .scroll-content{background-color:#eee}page-pd-question-stock-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-stock-info .mat-card-content{margin-bottom:0!important}page-pd-question-stock-info .mat-form-field-label{white-space:normal}page-pd-question-stock-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-stock-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-stock-info .mat-input-placeholder{white-space:normal}page-pd-question-stock-info mat-select{margin:5px 0}page-pd-question-stock-info img{padding:0 5px 0 0;height:180px}page-pd-question-stock-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-supplier-info mat-hint{font-size:12px}page-pd-question-supplier-info .scroll-content{background-color:#eee}page-pd-question-supplier-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-supplier-info .mat-card-content{margin-bottom:0!important}page-pd-question-supplier-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-supplier-info img{padding:0 5px 0 0;height:180px}page-pd-question-supplier-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-current-loans mat-form-field{width:100%}page-pd-question-current-loans mat-hint{font-size:11px}page-pd-question-current-loans .scroll-content{background-color:#eee}page-pd-question-current-loans .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-current-loans .mat-card-content{margin-bottom:0!important}page-pd-question-current-loans ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-current-loans img{padding:0 5px 0 0;height:180px}page-pd-question-current-loans input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-current-loans .fab_exp{margin-bottom:20px;font-size:121px;color:#f3e2e2;background-color:#008b8b}page-pd-question-current-loans button[ion-fab]{overflow:visible;position:relative}page-pd-question-current-loans button[ion-fab] ion-label{position:absolute;top:-8px;right:40px;color:#fff;background-color:rgba(0,0,0,.7);line-height:24px;padding:4px 8px;border-radius:4px}page-pd-question-current-loans .fab{contain:layout}page-pd-question-emp-info mat-hint{font-size:11px}page-pd-question-emp-info mat-error{font-size:11px}page-pd-question-emp-info mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-emp-info .mat-card-content{margin-bottom:0!important}page-pd-question-emp-info .scroll-content{background-color:#eee}page-pd-question-emp-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-emp-info img{padding:0 5px 0 0;height:180px}page-pd-question-emp-info input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-family mat-form-field{width:100%}page-pd-question-family .scroll-content{background-color:#eee}page-pd-question-family .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-family .mat-card-content{margin-bottom:0!important}page-pd-question-family h4{font-size:120%}page-pd-question-family ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-family img{padding:0 5px 0 0;height:180px}page-pd-question-family input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-final-remark mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-final-remark mat-form-field{width:100%}page-pd-question-final-remark .scroll-content{background-color:#eee}page-pd-question-final-remark .mat-form-field-label{white-space:normal}page-pd-question-final-remark textarea.mat-input-element{padding:0 0;margin:10px 0}page-pd-question-final-remark ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-final-remark .mat-input-placeholder{white-space:normal}page-pd-question-final-remark .mat-select-panel mat-option.mat-option{margin:1rem 0;overflow:visible;line-height:initial;word-wrap:break-word;white-space:pre-wrap}page-pd-question-final-remark .mat-option-text.mat-option-text{white-space:normal}page-pd-question-final-remark mat-placeholder{font-size:15px}page-pd-question-final-remark input-placeholder{margin:10px}page-pd-question-final-remark mat-select{margin:5px 0}page-pd-question-final-remark .mat-checkbox-layout{white-space:normal!important}page-pd-question-final-remark .mat-option-text>.DropdownOptions{margin:1rem 0!important;overflow:visible!important;line-height:initial!important;word-wrap:break-word!important;white-space:normal!important}page-pd-question-final-remark .imgcenter{display:block;margin-left:auto;margin-right:auto;width:40px;height:35px}page-pd-question-final-remark img{padding:0 5px 0 0;height:180px}page-pd-question-final-remark input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-final-remark .outlet{margin-top:10px;margin-bottom:10px}page-pd-question-general-info .item-md{padding-left:0!important}page-pd-question-general-info .scroll-content{padding:6px!important;background-color:#eee}page-pd-question-general-info .button-large-md{height:20px!important;padding:0!important}page-pd-question-general-info .mat-card{margin-bottom:10px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-general-info .label-md{margin:10px 0 10px 0!important}page-pd-question-general-info ion-toggle{zoom:.8}page-pd-question-general-info .doc-image-bucket{padding:0 5px 0 0!important;height:180px!important}page-pd-question-general-info .avatar_col{padding:0!important;height:40px!important;width:40px!important;-webkit-box-flex:0!important;-webkit-flex-grow:0!important;-ms-flex-positive:0!important;flex-grow:0!important}page-pd-question-general-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-general-info input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-lender-representative mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-lender-representative .scroll-content{background-color:#eee}page-pd-question-lender-representative img{padding:0 5px 0 0;height:180px}page-pd-question-lender-representative ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-lender-representative input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-loans mat-hint{font-size:12px}page-pd-question-loans .scroll-content{background-color:#eee}page-pd-question-loans .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-loans .mat-card-content{margin-bottom:0!important}page-pd-question-loans ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-loans img{padding:0 5px 0 0;height:180px}page-pd-question-loans input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-neighbour-hood mat-form-field{width:100%}page-pd-question-neighbour-hood mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-neighbour-hood mat-hint{font-size:11px}page-pd-question-neighbour-hood .scroll-content{background-color:#eee}page-pd-question-neighbour-hood .mat-form-field-label{white-space:normal}page-pd-question-neighbour-hood ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-neighbour-hood textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-neighbour-hood .mat-input-placeholder{white-space:normal}page-pd-question-neighbour-hood mat-select{margin:5px 0}page-pd-question-neighbour-hood img{padding:0 5px 0 0;height:180px}page-pd-question-neighbour-hood input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-other-income mat-form-field{width:100%}page-pd-question-other-income mat-hint{font-size:11px}page-pd-question-other-income mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-other-income .mat-card-content{margin-bottom:0!important}page-pd-question-other-income .scroll-content{background-color:#eee}page-pd-question-other-income ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-other-income img{padding:0 5px 0 0;height:180px}page-pd-question-other-income input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-rental-info mat-hint{font-size:11px}page-pd-question-rental-info mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-rental-info .mat-card-content{margin-bottom:0!important}page-pd-question-rental-info .scroll-content{background-color:#eee}page-pd-question-rental-info ion-icon[class*=fn-save]{-webkit-mask-size:30px!important}page-pd-question-rental-info .mat-form-field-label{white-space:normal}page-pd-question-rental-info mat-select{margin-top:7px}page-pd-question-rental-info textarea.mat-input-element{padding:0 0;margin:10px 0}page-pd-question-rental-info input{height:32px}page-pd-question-rental-info img{padding:0 5px 0 0;height:180px}page-pd-question-rental-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-rental-dash .mat-card{margin-bottom:10px;padding-top:10px;padding-bottom:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-rental-dash .mat-card-content{margin-bottom:0!important}page-pd-question-rental-dash .mat-card-title{color:#6b8e23}page-pd-question-rental-dash mat-label{color:#008b8b}page-pd-question-rental-dash .scroll-content{background-color:#eee} \ No newline at end of file diff --git a/platforms/android/app/src/main/assets/www/build/main.js b/platforms/android/app/src/main/assets/www/build/main.js index a5155c3a..10f91806 100755 --- a/platforms/android/app/src/main/assets/www/build/main.js +++ b/platforms/android/app/src/main/assets/www/build/main.js @@ -1,28172 +1 @@ -webpackJsonp([2],{ - -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return QuestionCategoryProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ionic_cache__ = __webpack_require__(209); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - -/* - Generated class for the QuestionCategoryProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var QuestionCategoryProvider = (function () { - function QuestionCategoryProvider(http, constant, cache) { - this.http = http; - this.constant = constant; - this.cache = cache; - console.log('Hello QuestionCategoryProvider Provider'); - this.apiurl = constant.apiurl(); - } - QuestionCategoryProvider.prototype.getLoadTemplate = function (pdid) { - return this.http.get(this.apiurl + 'loadFullTemplate?pd_id=' + pdid); - }; - QuestionCategoryProvider.prototype.saveQusetion = function (saveData) { - var records = { 'records': [saveData] }; - return this.http.post(this.apiurl + 'savePDQuestions', records); - }; - QuestionCategoryProvider.prototype.getAnswerTemplate = function (qustDetails) { - return this.http.post(this.apiurl + 'getAnswersForPD', qustDetails); - }; - /*** - * Get PD Questions dropdown api - * sriram - */ - QuestionCategoryProvider.prototype.getcommondrop = function (tableName) { - // return Observable.defer(()=>{ - var masters = { 'master_name': tableName }; - // let cacheid=tableName - return this.http.post(this.apiurl + 'getListOfMaster', masters); - // let data= this.http.post(this.apiurl+'getListOfMaster',masters); - //return this.cache.loadFromDelayedObservable(cacheid,data,'we',1,'all','d') - // }) - }; - QuestionCategoryProvider.prototype.saveForm = function (records) { - var record = { 'records': records }; - return this.http.post(this.apiurl + 'savePDFormDetails', record); - }; - QuestionCategoryProvider.prototype.retiverForm = function (records) { - return this.http.post(this.apiurl + 'getPDFormDetails', records); - }; - /**Assessed Form Details API */ - QuestionCategoryProvider.prototype.saveassessedForms = function (api, saveData) { - return this.http.post(this.apiurl + api, saveData); - }; - QuestionCategoryProvider.prototype.retiverassessedForm = function (api, records) { - console.log("rec", records); - return this.http.post(this.apiurl + api, records); - }; - QuestionCategoryProvider.prototype.updatePdApplicant = function (editData) { - // editData.fk_updatedby = this._aws.getlocale(); - // editData.updatedon = currentdate; - return this.http.post(this.apiurl + "updatePDApplicants", { "pd_applicant_details": editData }); - }; - QuestionCategoryProvider.prototype.getEndUseForLoan = function (pdid, subproduct) { - return this.http.post(this.apiurl + "getEndUseOfLoan", { "records": { "pd_id": pdid, "sub_product_id": subproduct } }); - }; - QuestionCategoryProvider.prototype.getCompaniesListsForBusiness = function (pdid) { - // let cacheKey=pdid - return this.http.post(this.apiurl + "getCompaniesListsForBusiness", { "records": { "pd_id": pdid } }); - // return this.cache.loadFromObservable(cacheKey,data) - }; - QuestionCategoryProvider.prototype.getStateWiseCities = function (stateid) { - return this.http.post(this.apiurl + "getListOfStatesAndCities", { "records": { "state_id": stateid } }); - }; - QuestionCategoryProvider.prototype.getAllPersonsName = function (pdid) { - return this.http.post(this.apiurl + "getAllPersonsName", { "pd_id": pdid }); - }; - QuestionCategoryProvider.prototype.getStateCityDetails = function () { - return this.http.post(this.apiurl + "getListOfStatesCities", ""); - }; - QuestionCategoryProvider.prototype.getAssetsWithLoanFromBusiness = function (pdid) { - return this.http.post(this.apiurl + "getAssetsWithLoanFromBusiness", { "pd_id": pdid }); - }; - QuestionCategoryProvider.prototype.getTypeofActivityForSuppliedInfoForm = function (pd_id, company_id) { - return this.http.post(this.apiurl + "getTypeOfActivetyFromBusinessForm", { "records": { "pd_id": pd_id, "company_id": company_id } }); - }; - /** For Stock Details - * To Get The Products With TypeofActivity From Business - **/ - QuestionCategoryProvider.prototype.stockFormAccess = function (pdid, companyid) { - // { "pd_id":"104","company_id":"1"} - return this.http.post(this.apiurl + "getProductsFromBusiness", { "pd_id": pdid, "company_id": companyid }); - }; - /*****Save Images */ - QuestionCategoryProvider.prototype.savePDImages = function (imagesDetails) { - var record = { 'records': imagesDetails }; - return this.http.post(this.apiurl + 'savePDPhotos', record); - }; - QuestionCategoryProvider.prototype.getPDImages = function (records) { - var record = { 'records': records }; - return this.http.post(this.apiurl + 'getPDImages', record); - }; - QuestionCategoryProvider.prototype.getFamilyDetails = function (pdid) { - return this.http.post(this.apiurl + 'getFamilyDetails', { "pd_id": pdid }); - }; - QuestionCategoryProvider.prototype.getAddressDetails = function (pdid) { - return this.http.post(this.apiurl + 'getPDAddress', { 'pd_id': pdid }); - }; - QuestionCategoryProvider.prototype.getStateCityNamesAndPincode = function (values) { - return this.http.post(this.apiurl + 'getStateCityNamesAndPincode', { 'records': values }); - }; - // get customers list - QuestionCategoryProvider.prototype.getCustomersDetails = function () { - return this.http.get(this.apiurl + 'getListOfCustomerSegments'); - }; - QuestionCategoryProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_3_ionic_cache__["b" /* CacheService */]]) - ], QuestionCategoryProvider); - return QuestionCategoryProvider; -}()); - -//# sourceMappingURL=question-category.js.map - -/***/ }), - -/***/ 11: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ConstantsProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_geolocation__ = __webpack_require__(124); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_location_accuracy__ = __webpack_require__(200); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - -/* - Generated class for the ConstantsProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var ConstantsProvider = (function () { - function ConstantsProvider(http, geo, locationAccuracy) { - this.http = http; - this.geo = geo; - this.locationAccuracy = locationAccuracy; - this.commonimage = "http://ssa.sineedge.com/sparqapi/logo/avatar.jpg"; - console.log('Hello ConstantsProvider Provider'); - } - ConstantsProvider.prototype.apiurl = function () { - var testapiurl = 'https://ssa.sineedge.com/sparqtest/api/'; - var testapiurl_beta = 'http://ssa.sineedge.com/sparqtest_beta/api/'; - var devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/'; - var devapiurl = 'https://ssa.sineedge.com/sparqapi/api/'; - var localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/'; - var sparqprod = 'https://pdgenie.com/sparqprod/'; - return testapiurl; - }; - ConstantsProvider.prototype.getcurrentDate = function () { - var today = new Date(); - var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds(); - var date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate(); - var time = today.getHours() + ":" + today.getMinutes(); - var CurrentDate = date + "T00:00"; - return CurrentDate.toString(); - }; - ConstantsProvider.prototype.convertNumberToWords = function (price) { - price = price.toString(); - var atemp = price.split("."); - var amount = atemp[0]; - var sglDigit = ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"], dblDigit = ["Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"], tensPlace = ["", "Ten", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"], handle_tens = function (dgt, prevDgt) { - return 0 == dgt ? "" : " " + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt]); - }, handle_utlc = function (dgt, nxtDgt, denom) { - return (0 != dgt && 1 != nxtDgt ? " " + sglDigit[dgt] : "") + (0 != nxtDgt || dgt > 0 ? " " + denom : ""); - }; - var str = "", digitIdx = 0, digit = 0, nxtDigit = 0, words = []; - if (amount += "", isNaN(parseInt(amount))) - str = ""; - else if (parseInt(amount) > 0 && amount.length <= 10) { - for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) - switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) { - case 0: - words.push(handle_utlc(digit, nxtDigit, "")); - break; - case 1: - words.push(handle_tens(digit, amount[digitIdx + 1])); - break; - case 2: - words.push(0 != digit ? " " + sglDigit[digit] + " Hundred" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? " and" : "") : ""); - break; - case 3: - words.push(handle_utlc(digit, nxtDigit, "Thousand")); - break; - case 4: - words.push(handle_tens(digit, amount[digitIdx + 1])); - break; - case 5: - words.push(handle_utlc(digit, nxtDigit, "Lakh")); - break; - case 6: - words.push(handle_tens(digit, amount[digitIdx + 1])); - break; - case 7: - words.push(handle_utlc(digit, nxtDigit, "Crore")); - break; - case 8: - words.push(handle_tens(digit, amount[digitIdx + 1])); - break; - case 9: - words.push(0 != digit ? " " + sglDigit[digit] + " Hundred" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? " and" : " Crore") : ""); - } - str = words.reverse().join(""); - // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str; - } - else - str = ""; - return str; - // var words = new Array(); - // words[0] = ''; - // words[1] = 'One'; - // words[2] = 'Two'; - // words[3] = 'Three'; - // words[4] = 'Four'; - // words[5] = 'Five'; - // words[6] = 'Six'; - // words[7] = 'Seven'; - // words[8] = 'Eight'; - // words[9] = 'Nine'; - // words[10] = 'Ten'; - // words[11] = 'Eleven'; - // words[12] = 'Twelve'; - // words[13] = 'Thirteen'; - // words[14] = 'Fourteen'; - // words[15] = 'Fifteen'; - // words[16] = 'Sixteen'; - // words[17] = 'Seventeen'; - // words[18] = 'Eighteen'; - // words[19] = 'Nineteen'; - // words[20] = 'Twenty'; - // words[30] = 'Thirty'; - // words[40] = 'Forty'; - // words[50] = 'Fifty'; - // words[60] = 'Sixty'; - // words[70] = 'Seventy'; - // words[80] = 'Eighty'; - // words[90] = 'Ninety'; - // amount = amount.toString(); - // var atemp = amount.split("."); - // var number = atemp[0].split(",").join(""); - // var n_length = number.length; - // let value:any = ""; - // var words_string = ""; - // if (n_length <= 9) { - // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0); - // var received_n_array = new Array(); - // for (var i = 0; i < n_length; i++) { - // received_n_array[i] = number.substr(i, 1); - // } - // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) { - // n_array[i] = received_n_array[j]; - // } - // for (var i = 0, j = 1; i < 9; i++, j++) { - // if (i == 0 || i == 2 || i == 4 || i == 7) { - // if (n_array[i] == 1) { - // n_array[j] = 10 + parseInt(n_array[j]); - // n_array[i] = 0; - // } - // } - // } - // value = ""; - // for (var i = 0; i < 9; i++) { - // if (i == 0 || i == 2 || i == 4 || i == 7) { - // value = n_array[i] * 10; - // } else { - // value = n_array[i]; - // } - // if (value != 0) { - // words_string += words[value] + " "; - // } - // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) { - // words_string += "Crores "; - // } - // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) { - // words_string += "Lakhs "; - // } - // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) { - // words_string += "Thousand "; - // } - // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) { - // words_string += "Hundred and "; - // } else if (i == 6 && value != 0) { - // words_string += "Hundred "; - // } - // } - // words_string = words_string.split(" ").join(" "); - // } - // return words_string; - }; - //FOR SEARCHABLE DROP DOWN - ConstantsProvider.prototype.searchData = function (data, val, option) { - var DataValue; - // let nameVal=name.toLowerCase() - console.log("statedata"); - if (!data) { - return; - } - var searchVal = val; - if (!searchVal) { - // this.filteredState.next(this.stateList.slice()) - DataValue = data.slice(); - return DataValue; - } - else { - searchVal = searchVal.toLowerCase(); - } - if (option == "bank") { - DataValue = data.filter(function (res) { return res.lender_name.toLowerCase().indexOf(searchVal) > -1; }); - return DataValue; - } - else if (option == "city") { - console.log("city", data); - DataValue = data.filter(function (res) { return res.city_name.toLowerCase().indexOf(searchVal) > -1; }); - return DataValue; - } - else if (option == "pin") { - DataValue = data.filter(function (res) { return res.pincode.toLowerCase().indexOf(searchVal) > -1; }); - return DataValue; - } - else { - //This is suitable for state - DataValue = data.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); - return DataValue; - } - // this.filteredState.next( - // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1) - // ) - }; - ConstantsProvider.prototype.sentenceCase = function (str) { - if ((str === null) || (str === '')) - return ''; - else - str = str.toString(); - return str.replace(/\w\S*/g, function (txt) { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); }); - }; - ConstantsProvider.prototype.enableAccuracy = function () { - var _this = this; - return this.locationAccuracy.canRequest().then(function (canRequest) { - if (canRequest) { - // the accuracy option will be ignored by iOS - _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { - return _this.getGeoTag(); - // this.getcurrentBackgroundLocation(); - }, function (error) { return console.log('Error requesting location permissions' + JSON.stringify(error)); }); - } - }); - }; - ConstantsProvider.prototype.getGeoTag = function () { - return this.geo.getCurrentPosition().then(function (res) { - console.log("res from getGeoTag", res.coords); - console.log("res from provider", new Date(res.timestamp)); - var lat = res.coords.latitude; - var long = res.coords.longitude; - var curr_pos = lat + "," + long; - return curr_pos; - }).catch(function (err) { return console.log("error in getGeoTag", err); }); - }; - ConstantsProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_geolocation__["a" /* Geolocation */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_location_accuracy__["a" /* LocationAccuracy */]]) - ], ConstantsProvider); - return ConstantsProvider; -}()); - -//# sourceMappingURL=constants.js.map - -/***/ }), - -/***/ 128: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionCategoryPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__ = __webpack_require__(373); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__ = __webpack_require__(374); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(375); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(376); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(377); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(378); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__ = __webpack_require__(379); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(380); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(381); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(212); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(383); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(213); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(214); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(215); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(216); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(394); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(395); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(398); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(399); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(400); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__ = __webpack_require__(211); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__form_complete_check_modal_form_complete_check_modal__ = __webpack_require__(405); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/** - * Generated class for the PdQuestionCategoryPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var currentdate = new Date().toJSON().slice(0, 19).replace('T', ' '); -var PdQuestionCategoryPage = (function () { - function PdQuestionCategoryPage(navCtrl, navParams, templateget, aws, shared, toast, pdstatusprovide, modalCtrl, constantProvider) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.templateget = templateget; - this.aws = aws; - this.shared = shared; - this.toast = toast; - this.pdstatusprovide = pdstatusprovide; - this.modalCtrl = modalCtrl; - this.constantProvider = constantProvider; - this.bgColortempForm = []; - this.bgColorqustCat = []; - this.questionCateAccess = null; - this.questionfinishedList = []; - this.pddetails = []; - this.overallqustioncountAccess = true; - this.enableAddonPD = false; - this.complete_btn = true; - this.complete_status = false; - this.pddetails = this.navParams.get('pdDetails'); - this.pageTitle = this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for' + ' ' + this.pddetails.parent_pd_id; - var params = {}; - params.pd_id = this.pddetails.pd_id; - this.pdstatusprovide.getPDCompleteDetails(params).subscribe(function (result) { - if (result['dataStatus'] === true) { - _this.enableAddonPD = result['records'].address_count > 0 ? true : false; - console.log("addon", _this.enableAddonPD); - } - }); - this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false; - this.constantProvider.enableAccuracy().then(function (res) { - console.log("Accuracy from Category Provider", res); - }); - } - PdQuestionCategoryPage.prototype.ionViewCanEnter = function () { - this.getcategoryList(); - }; - // doughuntChart() - // { - // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, { - // type: 'doughnut', - // data: { - // // labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], - // datasets: [{ - // label: '# of Votes', - // data: [12], - // backgroundColor: [ - // // 'rgba(255, 99, 132, 0.2)', - // 'rgba(54, 162, 235, 0.2)', - // // 'rgba(255, 206, 86, 0.2)', - // // 'rgba(75, 192, 192, 0.2)', - // // 'rgba(153, 102, 255, 0.2)', - // // 'rgba(255, 159, 64, 0.2)' - // ], - // hoverBackgroundColor: [ - // "#FF6384", - // "#36A2EB", - // "#FFCE56", - // "#FF6384", - // "#36A2EB", - // "#FFCE56" - // ] - // }] - // } - // }); - // } - PdQuestionCategoryPage.prototype.ionViewDidLoad = function () { - this.shared.refresh(); - //this.doughuntChart(); - console.log('ionViewDidLoad PdQuestionCategoryPage'); - }; - PdQuestionCategoryPage.prototype.getcategoryList = function () { - var _this = this; - var j = 1; - this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(function (res) { - _this.questionCate = res; - if (_this.questionCate.dataStatus == true) { - _this.questionCate = _this.questionCate.records; - _this.random_ng_past(); - _this.complete_btn = _this.questionCate.pdmaster_details.pd_status == "ADD_ON_PENDING" ? false : _this.questionCate.pdmaster_details.pd_status == "COMPLETED" ? false : true; - // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='') - // { - // this.questionCateAccess = true; - // this.templateAccess = true; - // this.questionCate = this.questionCate; - // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true ); - // this.searchQuestion = this.questionCate.question_answers; - // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count) - // { - // this.overallqustioncountAccess = false; - // }else - // { - // this.overallqustioncountAccess = true; - // } - // }else - if (_this.questionCate.template_forms != '') { - _this.templateAccess = true; - _this.questionCate = _this.questionCate; - _this.dis_forms = _this.questionCate.template_forms.filter(function (val) { return val.isAnswerable == true; }); - console.log("temp", _this.questionCate); - _this.searchTempForm = _this.questionCate.template_forms; - // for(let i of this.dis_forms){ - // if(i.) - // } - var answered = _this.dis_forms.filter(function (res) { return res.isAnswered == true; }); - console.log("an len", answered); - if (answered.length == _this.dis_forms.length) { - _this.overallqustioncountAccess = true; - } - else { - _this.overallqustioncountAccess = false; - } - // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count) - // { - // this.overallqustioncountAccess = false; - // }else - // { - // this.overallqustioncountAccess = true; - // } - } - else { - _this.questionCateAccess = false; - _this.templateAccess = false; - _this.questionCate = "No Template Available"; - } - } - }); - }; - PdQuestionCategoryPage.prototype.random_ng_past = function () { - for (var _i = 0, _a = this.questionCate.question_answers; _i < _a.length; _i++) { - var id = _a[_i]; - var a = Math.floor(Math.random() * 256); - var b = Math.floor(Math.random() * 256); - var c = Math.floor(Math.random() * 256); - this.bgColorqustCat.push("rgb(" + a + "," + b + "," + c + ")"); - } - for (var _b = 0, _c = this.questionCate.template_forms; _b < _c.length; _b++) { - var id = _c[_b]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColortempForm.push("rgb(" + x + "," + y + "," + z + ")"); - } - }; - PdQuestionCategoryPage.prototype.questionsTag = function (categroyId) { - this.pdinfo = this.pddetails; - this.questionCate = this.questionCate.question_answers.filter(function (cate) { return cate.fk_question_category_id == categroyId; })[0]; - // if(this.questionCate.questions.length !="0"){ - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__["a" /* PdQuestionPage */], { 'questionDetails': this.questionCate, 'pdDetails': this.pdinfo }); - // }else - // { - // this.getcategoryList(); - // this.toast.pdTriggerappmessage('No Question Available'); - // } - }; - PdQuestionCategoryPage.prototype.tempQustionTag = function (categroyId) { - //FOR UPDATING THE PD APPLICANT LIST - this.pdinfo = this.pddetails; - var newData = this.questionCate.pdapplicants_detials; - console.log("new Data", newData); - this.pdinfo.applicat_details = newData; - console.log(this.pdinfo); - var formName = this.questionCate.template_forms.filter(function (temp) { return temp.form_id == categroyId; })[0]; - if (categroyId == 5) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 12) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 10) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 8) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 13) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 7) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 6) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 4) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 9) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 1) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 3) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 11) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 14) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 2) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 17) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 16) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 15) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 18) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 19) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 20) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - }; - PdQuestionCategoryPage.prototype.filter = function (view) { - if (!view) { - this.viewchange = true; - } - else { - this.viewchange = false; - } - //alert(this.viewchange); - }; - PdQuestionCategoryPage.prototype.pdlistsearch = function (searchbar) { - // this.questionCate = this.searchQuestion; - // this.questionCate.template_forms = this.searchTempForm; - // reset countries list with initial call - //this.pdinprogress = this.countriesInitial; - // set q to the value of the searchbar - var q = searchbar.target.value; - // if the value is an empty string don't filter the items - if (this.searchQuestion !== undefined) { - if (q.trim() == '') { - return; - } - else { - // this.questionCate.question_answers = this.searchQuestion.filter((v) => { - // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) { - // return true; - // } - // }) - } - } - else { - if (q.trim() == '') { - return; - } - else { - // this.questionCate.template_forms = this.searchTempForm.filter((v) => { - // if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) { - // return true; - // } - // }) - } - } - }; - PdQuestionCategoryPage.prototype.PdFormCompletnessCheck = function () { - var _this = this; - this.pdstatusprovide.pdFormsCompletenessCheck(this.questionCate.pdmaster_details.pd_id).subscribe(function (res) { - console.log(res['records']); - if (res['records'].length > 0) { - var modalOpt = { - //component:FormCompleteCheckModalPage, - // enterAnimation: 'modal-scale-up-enter', - // leaveAnimation: 'modal-scale-up-leave', - cssClass: "pdimagecompleteModal" - }; - var modal = _this.modalCtrl.create(__WEBPACK_IMPORTED_MODULE_29__form_complete_check_modal_form_complete_check_modal__["a" /* FormCompleteCheckModalPage */], { 'values': res['records'] }, modalOpt); - modal.present(); - } - else { - //alert("completed PD") - _this.completePDAlert(); - } - }); - }; - PdQuestionCategoryPage.prototype.completePDAlert = function () { - var _this = this; - if (!this.overallqustioncountAccess) { - this.toast.pdTriggerappmessage("Please complete all the Forms"); - return; - } - if (this.enableAddonPD == true) { - return new Promise(function (reject) { - var alert = _this.toast.setAlertForCompletePD(); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == 'yes') { - _this.completed('COMPLETED'); - } - else if (data == 'addon') { - _this.completed('ADD_ON_PENDING'); - } - else { - reject(); - } - }); - }); - } - else { - return new Promise(function (reject) { - var alert = _this.toast.setAlert('Complete Discussion', 'Please confirm you are completing the Discussion and forwarding for Quality Check ?'); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - reject(); - } - else { - _this.completed('COMPLETED'); - } - }); - }); - } - }; - PdQuestionCategoryPage.prototype.completed = function (status) { - var _this = this; - //alert.present(); - var users = this.aws.getlocale(); - if (!this.overallqustioncountAccess) { - this.toast.pdTriggerappmessage("Please complete all the Forms"); - } - else { - var data = { 'pd_id': this.questionCate.pdmaster_details.pd_id, 'pd_status': status, 'fk_updatedby': users, 'updatedon': currentdate }; - this.pdstatusprovide.updatepdStatus(data).subscribe(function (res) { - _this.completedAccess = res; - if (_this.completedAccess.dataStatus == true) { - _this.toast.pdTriggerappmessage("Completed Successfully..!"); - setTimeout(function () { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__["a" /* PdListPage */]); - }, 2000); - } - }); - } - }; - PdQuestionCategoryPage.prototype.doRefresh = function (refresher) { - this.questionCate = []; - this.questionfinishedList = []; - this.shared.refresh(); - this.getcategoryList(); - setTimeout(function () { - refresher.complete(); - }, 2000); - }; - PdQuestionCategoryPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-category',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question-category\pd-question-category.html"*/'\n\n \n\n \n\n \n\n {{pageTitle | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{category.category_name[0] | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{category.category_name}}

\n\n

{{category.answerd_count}} / {{category.questions_count}} Questions

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{tempForm.form_name[0] | slice : 0 :1 | uppercase}}\n\n \n\n \n\n \n\n \n\n

{{ tempForm.form_name }}

\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
\n\n \n\n \n\n

{{questionCate}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question-category\pd-question-category.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_7__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* ModalController */], __WEBPACK_IMPORTED_MODULE_30__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionCategoryPage); - return PdQuestionCategoryPage; -}()); - -//# sourceMappingURL=pd-question-category.js.map - -/***/ }), - -/***/ 130: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StorageProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_storage__ = __webpack_require__(210); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - -/* - Generated class for the StorageProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -//const storage_key='form_Datas' -var StorageProvider = (function () { - function StorageProvider(http, storage, toast) { - this.http = http; - this.storage = storage; - this.toast = toast; - console.log('Hello StorageProvider Provider'); - } - StorageProvider.prototype.insertData = function (data) { - var _this = this; - this.toast.pdTriggerappmessage(this.storage.driver); - var storage_key = data.pd_id; - console.log("storage provider"); - console.log(data); - console.log(JSON.stringify(data)); - console.log("sto", this.storage.get(storage_key)); - return this.storage.get(storage_key).then(function (res) { - console.log("res", res); - if (res != null) { - var option = false; - if (res.length != 0 && res.length != undefined) { - // res.forEach((value)=>{ - // if(value.form_id==data.form_id){ - // option=true - // } - // }) - var current = res.filter(function (val) { return val.form_id == data.form_id; }); - console.log("current", current); - if (current.length > 0) { - var value = []; - value.push(data); - return _this.storage.set(storage_key, value); - } - } - var old_Data = []; - old_Data = res; - console.log("old data", old_Data); - old_Data.push(data); - return _this.storage.set(storage_key, old_Data); - } - else { - //res.push(data) - // let dataValue=Object.keys(data).map(function(key){ - // return data[key]; - // }) - var value = []; - value.push(data); - return _this.storage.set(storage_key, value); - } - }); - }; - StorageProvider.prototype.retrieveLocalStorage = function (data) { - var storage_key = data.pd_id; - return this.storage.get(storage_key).then(function (res) { - console.log("storage get", res); - if (res != null) { - return res.filter(function (val) { return val.form_id == data.form_id; }); - } - }); - }; - StorageProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_storage__["b" /* Storage */], __WEBPACK_IMPORTED_MODULE_3__common_provider_toast__["a" /* ToastProvider */]]) - ], StorageProvider); - return StorageProvider; -}()); - -//# sourceMappingURL=storage.js.map - -/***/ }), - -/***/ 131: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RupeeCurrencyFormatPipe; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; - -/** - * Generated class for the RupeeCurrencyFormatPipe pipe. - * - * See https://angular.io/api/core/Pipe for more info on Angular Pipes. - */ -var RupeeCurrencyFormatPipe = (function () { - function RupeeCurrencyFormatPipe() { - } - /** - * Takes a value and makes it lowercase. - */ - RupeeCurrencyFormatPipe.prototype.transform = function (value) { - if (!isNaN(value) && value) { - var currencySymbol = '₹'; - //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! - var result = value.toString().split('.'); - var lastThree = result[0].substring(result[0].length - 3); - var otherNumbers = result[0].substring(0, result[0].length - 3); - if (otherNumbers != '') - lastThree = ',' + lastThree; - var output = otherNumbers.replace(/\B(?=(\d{2})+(?!\d))/g, ",") + lastThree; - if (result.length > 1) { - output += "." + result[1]; - } - return currencySymbol + output; - } - // return value.toLowerCase(); - }; - RupeeCurrencyFormatPipe = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["T" /* Pipe */])({ - name: 'rupeeCurrencyFormat', - }) - ], RupeeCurrencyFormatPipe); - return RupeeCurrencyFormatPipe; -}()); - -//# sourceMappingURL=rupee-currency-format.js.map - -/***/ }), - -/***/ 207: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InputPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__ = __webpack_require__(195); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__ = __webpack_require__(40); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__ = __webpack_require__(369); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__otp_otp__ = __webpack_require__(208); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(124); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_common__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ionic_native_location_accuracy__ = __webpack_require__(200); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__ = __webpack_require__(406); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__ = __webpack_require__(104); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(407); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_pd_question_category_pd_question_category__ = __webpack_require__(128); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pages_map_address_map_address__ = __webpack_require__(408); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__providers_storage_storage__ = __webpack_require__(130); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__ionic_native_background_geolocation__ = __webpack_require__(409); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - - - - - - - - - - - - -/** - * Generated class for the InputPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var currentdate = new Date().toJSON().slice(0, 19); -var InputPage = (function () { - // address_child_schedule_time:any; - function InputPage(navCtrl, navParams, fb, statusBar, platform, launchNavigator, aws, pdDetails, geolocation, alertCtrl, locationAccuracy, toast, constant, androidPermissions, modalCtrl, qustCat, cameraProvider, loading, storagedb, backgroundgeolocation) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.statusBar = statusBar; - this.platform = platform; - this.launchNavigator = launchNavigator; - this.aws = aws; - this.pdDetails = pdDetails; - this.geolocation = geolocation; - this.alertCtrl = alertCtrl; - this.locationAccuracy = locationAccuracy; - this.toast = toast; - this.constant = constant; - this.androidPermissions = androidPermissions; - this.modalCtrl = modalCtrl; - this.qustCat = qustCat; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.storagedb = storagedb; - this.backgroundgeolocation = backgroundgeolocation; - this.initiatedAccess = false; - this.scheduleAccess = false; - this.pipe = new __WEBPACK_IMPORTED_MODULE_10__angular_common__["d" /* DatePipe */]('en-US'); - this.acceptedAccess = false; - this.startedAccess = false; - this.timeOut = 15 * 1000; - this.other_applicant = []; - this.loadDetails = false; - this.mainApplicant = []; - this.pdMaster = []; - this.imageDisplay = []; - this.imageBucket = []; - this.checkOtpAccess = false; - this.addresses = []; - this.address_pd_status = ''; - this.requirement_hide = true; - this.maxdate = this.pipe.transform(new Date(), 'yyyy-MM-ddTHH:mm').toString(); - // this.maxdate=new Date().toLocaleString(); - var date = new Date('dd'); - //console.log(date) - var curr = date.getDate() + date.getMonth() + date.getFullYear(); - console.log("today", curr); - /***Header value pass */ - this.statusBar.styleDefault(); - this.statusBar.overlaysWebView(false); - this.statusBar.backgroundColorByHexString('#db4437'); - var timeStart = this.pipe.transform(new Date(), 'dd/MM/yyyy hh:mm a'); - this.applicatentDetails = this.navParams.get('pdDetails'); - // this.getFullPD(); - // if(this.applicatentDetails.pd_status == 'ALLOCATED') - // { - // this.acceptedAccess = true; - // } - // if(this.applicatentDetails.pd_status == 'ACCEPTED') - // { - // this.scheduleAccess = true; - // } - // if(this.applicatentDetails.pd_status == 'SCHEDULED') - // { - // this.initiatedAccess = true; - // } - // //console.log(this.initiatedAccess); - // if(this.applicatentDetails.pd_status == 'INITIATED') - // { - // this.startedAccess = true; - // this.getenableAccuracy(); - // } - this.users = this.aws.getlocale(); - this.requirement_hide = false; - // this.getcurrentBackgroundLocation(); - } - InputPage.prototype.ionViewCanEnter = function () { - this.getFullPD(); - }; - // ionViewDidEnter(){ - // console.log("ionViewDidEnter") - // this.getFullPD(); - // } - InputPage.prototype.ionViewDidLoad = function () { - this.setPermission(); - console.log('ionViewDidLoad InputPage'); - this.getPDImages(); - }; - InputPage.prototype.ionViewCanLeave = function () { - clearInterval(this.timeInterval); - }; - InputPage.prototype.locationnavicate = function (index) { - // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode) - var data = this.addresses[index]; - var address_full = data.addressline1 + ' ' + data.city_name + ' ' + data.state_name + '-' + (data.pincode != 'Others' ? data.pincode : data.other_pincode); - //console.log("add",address_full) - this.launchNavigator.navigate(address_full); - }; - InputPage.prototype.setPermission = function () { - var _this = this; - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - }; - InputPage.prototype.getFullPD = function () { - var _this = this; - var pdDetails_pdid = this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id : this.applicatentDetails.parent_pd_id; - var records = { 'pdid': pdDetails_pdid }; - this.pdDetails.getFullPDdetails(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.add_requirements = res['records'].pd_additional_requirements; - _this.requirement_hide = res['records'].pd_additional_requirements.length == 0 ? true : false; - console.log("req", _this.add_requirements.length); - console.log("req", _this.requirement_hide); - _this.other_applicant = res['records'].applicants_details; - _this.mainApplicant = res['records'].applicants_details[0]; - _this.pdMaster = res['records'].pd_master_details[0]; - console.log("other", _this.mainApplicant); - _this.addresses = res['records'].pd_address; - _this.address_pd_id = _this.addresses.addtional_pd_data; - //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID - _this.addresses.forEach(function (res) { - console.log("address", res); - if (res.addtional_pd_data.length != 0) { - if (res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED' || res.addtional_pd_data[0].pd_status == 'INPROGRESS') { - _this.address_pd_id = res.addtional_pd_data[0].pd_id; - _this.address_pd_status = res.addtional_pd_data[0].pd_status; - _this.address_allocated_data = res.addtional_pd_data[0]; - console.log("pd", _this.address_pd_id); - return; - } - } - }); - //FOR CHANGING THE PD ID based on assigned pd address - //this.applicatentDetails.pd_id=this.address_pd_id - //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS - if (_this.address_pd_status == 'ALLOCATED') { - _this.acceptedAccess = true; - } - if (_this.address_pd_status == 'ACCEPTED') { - _this.scheduleAccess = true; - } - if (_this.address_pd_status == 'SCHEDULED') { - _this.initiatedAccess = true; - } - //console.log(this.initiatedAccess); - if (_this.address_pd_status == 'INITIATED') { - _this.startedAccess = true; - _this.getenableAccuracy(); - } - if (_this.address_pd_status == 'STARTED') { - _this.checkOtpAccess = true; - } - console.log("address allocated", _this.address_allocated_data); - console.log(_this.other_applicant); - if (_this.address_allocated_data != '' && _this.address_allocated_data != undefined) { - var courrentDateTime = _this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); - var scheduledDateTime = _this.address_allocated_data.scheduled_on_for_validation; - var diffInMs = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime); - var diffInHours = Math.floor(diffInMs / 1000 / 60 / 60); - console.log(diffInHours); - if (diffInHours < -4) { - _this.enableStartPD = true; - } - else { - _this.enableStartPD = false; - } - } - _this.loadDetails = true; - } - }); - }; - InputPage.prototype.pdStatus = function (status, appdetails) { - var _this = this; - var data; - if (status == 'BOUNCED') { - // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate}; - data = { 'pd_id': this.address_pd_id, 'pd_status': status, 'fk_updatedby': this.users, 'updatedon': currentdate }; - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], { 'details': data }); - // this.pdDetails.updatepdStatus(data).subscribe(res=> - // { - // this.updateStatus = res; - // if(this.updateStatus.dataStatus == true) - // { - // this.navCtrl.setRoot(PdListPage); - // } - // }) - } - else if (status == 'ACCEPTED') { - data = { 'pd_id': this.address_pd_id, 'pd_status': status, 'fk_updatedby': this.users, 'updatedon': currentdate }; - this.pdDetails.updatepdStatus(data).subscribe(function (res) { - console.log('dasdsfdsffds', res); - _this.updateStatus = res; - if (_this.updateStatus.dataStatus == true) { - _this.getNewpdupdate(); - _this.scheduleAccess = true; - } - else { - _this.scheduleAccess = false; - } - }); - } - }; - InputPage.prototype.pdschedule = function (scheduledate, appdetails) { - var _this = this; - var data; - var param; - console.log(scheduledate); - if (scheduledate != undefined) { - var schDate = scheduledate.slice(0, 19).replace('T', ' '); - console.log(schDate); - data = { 'pd_id': this.address_pd_id, 'pd_status': 'SCHEDULED', 'scheduled_on': schDate, 'fk_updatedby': this.users, 'updatedon': currentdate }; - // this.pdDetails.updatepdStatus(data).subscribe(res=> - //sample format : fk_pd_id: "868", schedule_time: "2019-05-30 18:51", fk_scheduled_by: "165"; - param = { 'fk_pd_id': this.address_pd_id, 'schedule_time': schDate, 'fk_scheduled_by': this.users }; - this.pdDetails.updateSchedule(param).subscribe(function (res) { - _this.updateSchedule = res; - if (_this.updateSchedule.dataStatus == true) { - _this.getNewpdupdate(); - _this.initiatedAccess = true; - } - }); - } - else { - this.toast.pdTriggerappmessage("Please Choose the Schedule Date"); - this.input_focus.setFocus(); - //this.input_focus.scrollToTop(); - this.scrolltop.scrollTop; - } - }; - InputPage.prototype.getenableAccuracy = function () { - var _this = this; - this.locationAccuracy.canRequest().then(function (canRequest) { - if (canRequest) { - // the accuracy option will be ignored by iOS - _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { - _this.getcurrentLocation(); - _this.getcurrentBackgroundLocation(); - }, function (error) { return alert('Error requesting location permissions' + JSON.stringify(error)); }); - } - }); - }; - InputPage.prototype.getcurrentLocation = function () { - var _this = this; - var data; - var options = { - frequency: 3000, - enableHighAccuracy: true, - timeOut: 1000, - }; - this.timeInterval = setInterval(function () { - _this.currentPosPDofficer = ''; - _this.geolocation.getCurrentPosition(options).then(function (resp) { - // resp.coords.latitude - // resp.coords.longitude - if (resp.coords != undefined) { - _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - // this.toast.pdTriggerappmessage(this.currentPosPDofficer); - console.log(_this.currentPosPDofficer); - data = { 'pd_id': _this.address_pd_id, 'link': _this.currentPosPDofficer }; - _this.pdDetails.saveCurrentLocation(data).subscribe(function (res) { - console.log("geoLocation data", data); - // this.updateinitiated = res; - // if(this.updateinitiated.dataStatus == true) - // { - // // this.getNewpdupdate(); - // // this.startedAccess = true; - // }else - // { - // this.startedAccess = false; - // } - }); - } - }).catch(function (error) { - _this.toast.pdTriggerappmessage(error.message); - }); - }, this.timeOut); - }; - InputPage.prototype.getcurrentBackgroundLocation = function () { - var _this = this; - var data; - var config = { - desiredAccuracy: 10, - stationaryRadius: 20, - distanceFilter: 30, - debug: false, - stopOnTerminate: false // enable this to clear background location settings when the app terminates - }; - console.log("getCurrent Location 1 function"); - this.backgroundgeolocation.configure(config).then(function () { - _this.backgroundgeolocation.on(__WEBPACK_IMPORTED_MODULE_23__ionic_native_background_geolocation__["b" /* BackgroundGeolocationEvents */].location) - .subscribe(function (location) { - //this.toast.pdTriggerappmessage("alert for loca, "+location) - console.log("background geo location", location); - var pos = location.latitude + "," + location.longitude; - data = { 'pd_id': _this.address_pd_id, 'link': pos }; - _this.pdDetails.saveCurrentLocation(data).subscribe(function (res) { - console.log("saved location in Api", res); - }, function (err) { - console.log("Not saved in Api", err); - }); - }, function (err) { - console.log("Error in background geolocation subscribtion"); - }); - }, function (err) { - console.log("Error in background geolocation configuration"); - }); - this.backgroundgeolocation.start(); - // let data:any; - // let options = { - // frequency: 3000, - // enableHighAccuracy: true, - // timeOut:1000, - // }; - // this.timeInterval = setInterval(()=>{ - // this.currentPosPDofficer = ''; - // this.geolocation.getCurrentPosition(options).then((resp) => { - // // resp.coords.latitude - // // resp.coords.longitude - // if((resp as Geoposition).coords !=undefined){ - // this.currentPosPDofficer = resp.coords.latitude+","+resp.coords.longitude; - // // this.toast.pdTriggerappmessage(this.currentPosPDofficer); - // console.log(this.currentPosPDofficer); - // data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer}; - // this.pdDetails.saveCurrentLocation(data).subscribe(res=> - // { - // console.log("geoLocation data",data) - // // this.updateinitiated = res; - // // if(this.updateinitiated.dataStatus == true) - // // { - // // // this.getNewpdupdate(); - // // // this.startedAccess = true; - // // }else - // // { - // // this.startedAccess = false; - // // } - // }) - // } - // }).catch((error)=>{ - // this.toast.pdTriggerappmessage(error.message); - // }) - // },this.timeOut); - }; - InputPage.prototype.pdreschedule = function () { - this.scheduleAccess = true; - this.initiatedAccess = false; - }; - InputPage.prototype.pdinitiated = function (appdetails) { - var _this = this; - var data; - this.locationAccuracy.canRequest().then(function (canRequest) { - if (canRequest) { - // the accuracy option will be ignored by iOS - _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { - _this.geolocation.getCurrentPosition().then(function (resp) { - // resp.coords.latitude - // resp.coords.longitude - var mobile_no = _this.other_applicant.filter(function (val) { return val.additional_pd_id == _this.address_allocated_data.pd_id; }).map(function (val) { return val.mobile_no; })[0]; - console.log("mobile", mobile_no); - if (mobile_no == undefined) { - mobile_no = _this.mainApplicant.mobile_no; - } - _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - data = { 'pd_id': _this.address_pd_id, 'pd_status': 'INITIATED', 'mobile_no': mobile_no, 'officerName': appdetails.pd_allocated_to, 'firstName': _this.mainApplicant.applicant_name, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; - _this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updateinitiated = res; - if (_this.updateinitiated.dataStatus == true) { - _this.getNewpdupdate(); - _this.getcurrentLocation(); - _this.getcurrentBackgroundLocation(); - _this.startedAccess = true; - } - else { - _this.startedAccess = false; - } - }); - }).catch(function (error) { - console.log('Error getting location', error); - }); - }, function (error) { return alert('Error requesting location permissions' + JSON.stringify(error)); }); - } - }, function (error) { - console.log("currnpd", _this.currentPosPDofficer); - alert(JSON.stringify(error)); - var mobile_no = _this.other_applicant.filter(function (val) { return val.additional_pd_id == _this.address_allocated_data.pd_id; }).map(function (val) { return val.mobile_no; })[0]; - console.log("mobile", mobile_no); - if (mobile_no == undefined) { - mobile_no = _this.mainApplicant.mobile_no; - } - data = { 'pd_id': _this.address_pd_id, 'pd_status': 'INITIATED', 'mobile_no': mobile_no, 'officerName': appdetails.pd_allocated_to, 'firstName': _this.mainApplicant.applicant_name, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; - _this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updateinitiated = res; - if (_this.updateinitiated.dataStatus == true) { - console.log("status", "true"); - _this.getNewpdupdate(); - _this.getcurrentLocation(); - _this.getcurrentBackgroundLocation(); - _this.startedAccess = true; - } - else { - _this.startedAccess = false; - } - }); - }); - }; - InputPage.prototype.checkOTP = function (appdetails) { - var _this = this; - var data; - this.geolocation.getCurrentPosition().then(function (resp) { - _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - var mobile_no = _this.other_applicant.filter(function (val) { return val.additional_pd_id == _this.address_allocated_data.pd_id; }).map(function (val) { return val.mobile_no; })[0]; - console.log("mobile", mobile_no); - if (mobile_no == undefined) { - mobile_no = _this.mainApplicant.mobile_no; - } - data = { 'pd_id': _this.address_pd_id, 'pd_status': 'STARTED', 'mobile_no': mobile_no, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; - console.log(data); - _this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updatestarted = res; - if (_this.updatestarted.dataStatus == true) { - //appdetails.pd_id=this.address_pd_id - //clearInterval(this.timeInterval); - //console.log("appdetails",appdetails) - //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails}); - _this.getNewpdupdate(); - _this.startedAccess = false; - _this.checkOtpAccess = true; - } - else { - _this.checkOtpAccess = false; - } - }, function (err) { return alert(JSON.stringify(err)); }); - // console.log('Buy clicked'); - }, function (err) { - alert(JSON.stringify(err)); - }); - }; - InputPage.prototype.startPdDiscussion = function () { - var _this = this; - var data; - var alert = this.alertCtrl.create({ - title: 'Start Discussion', - message: 'Are you starting the Discussion', - buttons: [ - { - text: 'No', - role: 'cancel', - handler: function () { - // console.log('Cancel clicked'); - // this.toast.pdTriggerappmessage('') - } - }, - { - text: 'YES', - handler: function () { - // this.geolocation.getCurrentPosition().then((resp) => { - // this.currentPosPDofficer = resp.coords.latitude+","+resp.coords.longitude; - // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer }; - // console.log(data); - // this.pdDetails.updatepdStatus(data).subscribe(res=> - // {this.updatestarted = res; - // if(this.updatestarted.dataStatus == true) - // { - // appdetails.pd_id=this.address_pd_id - // clearInterval(this.timeInterval); - // console.log("appdetails",appdetails) - // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails}); - // } - // }) - // // console.log('Buy clicked'); - // }) - clearInterval(_this.timeInterval); - _this.backgroundgeolocation.finish(); - _this.backgroundgeolocation.stop(); - //FOR GIVING THE CORRECT ADDRESS MASTER - console.log("address", _this.address_allocated_data); - //Assigning applicant details to the params - var pdValues = _this.address_allocated_data; - pdValues.applicat_details = _this.other_applicant; - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__otp_otp__["a" /* OtpPage */], { 'pdDetails': pdValues }); - } - } - ] - }); - alert.present(); - }; - InputPage.prototype.getNewpdupdate = function () { - var _this = this; - console.log("Started", this.startedAccess); - console.log("checkOtpAccess", this.checkOtpAccess); - this.acceptedAccess = false; - this.initiatedAccess = false; - this.scheduleAccess = false; - this.startedAccess = false; - this.checkOtpAccess = false; - this.pdDetails.getpddetails(this.users).subscribe(function (res) { - _this.appdata = res; - if (_this.appdata.dataStatus == true) { - _this.applicatentDetails = _this.appdata.records.filter(function (app) { return app.pd_id == _this.applicatentDetails.pd_id; })[0]; - // this.address_pd_status=this.applicatentDetails - //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails - var pdDetails_pdid = _this.applicatentDetails.is_child != '1' ? _this.applicatentDetails.pd_id : _this.applicatentDetails.parent_pd_id; - var rec_pdid = { 'pdid': pdDetails_pdid }; - _this.pdDetails.getFullPDdetails(rec_pdid).subscribe(function (result) { - if (result['dataStatus'] == true) { - _this.addresses = result['records'].pd_address; - result['records'].pd_address.forEach(function (data) { - if (data.addtional_pd_data.length != 0) { - if (data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED' || data.addtional_pd_data[0].pd_status == 'INPROGRESS') { - // this.address_pd_id=data.addtional_pd_data[0].pd_id - _this.address_pd_status = data.addtional_pd_data[0].pd_status; - // this.address_allocated_data=data.addtional_pd_data[0] - console.log("pd", _this.address_pd_id); - return; - } - } - }); - // if(this.applicatentDetails.pd_status == 'ALLOCATED') - // { - // this.acceptedAccess = true; - // } - // if(this.applicatentDetails.pd_status == 'ACCEPTED') - // { - // this.scheduleAccess = true; - // this.toast.pdTriggerappmessage("Accepted Successfully") - // } - // if(this.applicatentDetails.pd_status == 'SCHEDULED') - // { - // this.initiatedAccess = true; - // this.getFullPD(); - // this.toast.pdTriggerappmessage("Scheduled Successfully") - // } - // if(this.applicatentDetails.pd_status == 'INITIATED') - // { - // this.startedAccess = true; - // this.toast.pdTriggerappmessage("Initiated Successfully") - // } - if (_this.address_pd_status == 'ALLOCATED') { - _this.acceptedAccess = true; - } - if (_this.address_pd_status == 'ACCEPTED') { - _this.scheduleAccess = true; - _this.toast.pdTriggerappmessage("Accepted Successfully"); - } - if (_this.address_pd_status == 'SCHEDULED') { - _this.initiatedAccess = true; - _this.getFullPD(); - _this.toast.pdTriggerappmessage("Scheduled Successfully"); - } - if (_this.address_pd_status == 'INITIATED') { - _this.startedAccess = true; - _this.toast.pdTriggerappmessage("Initiated Successfully"); - } - if (_this.address_pd_status == 'STARTED') { - _this.checkOtpAccess = true; - } - } - }); - } - }); - console.log("app", this.applicatentDetails); - }; - InputPage.prototype.camerasetup = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], { 'pdDetails': this.applicatentDetails }); - }; - InputPage.prototype.inprogress = function (data, address_child) { - // data.pd_id=address_child.pd_id - console.log(address_child); - var pdValues = address_child; - pdValues.applicat_details = this.other_applicant; - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_17__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': pdValues }); - }; - InputPage.prototype.mapAddress = function (values) { - var _this = this; - var modalOptions = { - cssClass: "mapAddress" - }; - var modal = this.modalCtrl.create(__WEBPACK_IMPORTED_MODULE_18__pages_map_address_map_address__["a" /* MapAddressPage */], { 'master': this.pdMaster, 'address': values, 'applicants': this.other_applicant }, modalOptions); - modal.present(); - modal.onDidDismiss(function (data) { - console.log("datas", data); - _this.getFullPD(); - }); - }; - InputPage.prototype.inWords = function (e) { - return this.constant.convertNumberToWords(+e) + ' Only'; - }; - /*IMAGE SECTION*/ - InputPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.applicatentDetails.pd_id, 'form_id': null, 'company_id': null, 'is_common': 1 }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - // res = this.customfilter(res); - console.log('val[records]', val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - InputPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - InputPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - InputPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - InputPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - InputPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geocoords", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - }; - InputPage.prototype.customfilter = function (res) { - console.log('custome filter'); - return res.filter(function (data) { return data.fk_form_id != null; }); - }; - InputPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.applicatentDetails.pd_id, - 'formid': null, - 'images': this.imageBucket, - 'company_id': null - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusinp'), - __metadata("design:type", Object) - ], InputPage.prototype, "input_focus", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('scroll'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], InputPage.prototype, "scrolltop", void 0); - InputPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-input',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\input\input.html"*/'\n\n\n\n \n\n \n\n {{pdMaster.lender_full_name}} - {{pdMaster.lender_applicant_id}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n   {{mainApplicant.applicant_name | titlecase}}\n\n \n\n \n\n
\n\n \n\n \n\n {{pdMaster.customer_segment_name}}\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{mainApplicant.mobile_no}} \n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{pdMaster.product_name}}\n\n / {{applicatentDetails.subproduct_name}}\n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{pdMaster.loan_amount}} ( {{inWords(pdMaster.loan_amount)}} ) \n\n \n\n
\n\n
\n\n Address {{i+1}}\n\n \n\n
\n\n \n\n
{{status.pd_status}} 
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{addr.addressline1}}
\n\n {{addr.city_name}}
\n\n {{addr.state_name}}\n\n -{{addr.pincode}}\n\n -{{addr.other_pincode}}
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n Scheduled On
\n\n {{status.scheduled_on}}\n\n {{status.customer_segment_abbr}}
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n Schedule Date\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Scheduled On
\n\n \n\n  {{address_allocated_data.scheduled_on}}\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
Applicant {{i+1}}
\n\n
\n\n \n\n \n\n   {{other_app.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{other_app.mobile_no}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

\n\n \n\n
\n\n \n\n
Lender Contact Details
\n\n
\n\n \n\n \n\n \n\n \n\n   {{pdMaster.pd_contact_person}}\n\n \n\n \n\n \n\n \n\n {{pdMaster.pd_contact_mobileno}}\n\n \n\n \n\n \n\n \n\n \n\n

\n\n\n\n \n\n \n\n
Additional Requirements
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
PD Photos
\n\n
\n\n \n\n No Documents Found. Press the camera button Above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n


\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\input\input.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__["a" /* Platform */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__["a" /* LaunchNavigator */], - __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__["a" /* Geolocation */], - __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_11__ionic_native_location_accuracy__["a" /* LocationAccuracy */], __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_13__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__["a" /* AndroidPermissions */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* ModalController */], - __WEBPACK_IMPORTED_MODULE_22__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_19__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_20__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_21__providers_storage_storage__["a" /* StorageProvider */], __WEBPACK_IMPORTED_MODULE_23__ionic_native_background_geolocation__["a" /* BackgroundGeolocation */]]) - ], InputPage); - return InputPage; -}()); - -//# sourceMappingURL=input.js.map - -/***/ }), - -/***/ 208: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return OtpPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__ = __webpack_require__(128); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(124); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__ = __webpack_require__(104); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the OtpPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var OtpPage = (function () { - function OtpPage(navCtrl, navParams, pddetails, toast, Menu, commonconstant, aws, alertCtrl, qustCat, fb, geolocation, androidPermissions) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.pddetails = pddetails; - this.toast = toast; - this.Menu = Menu; - this.commonconstant = commonconstant; - this.aws = aws; - this.alertCtrl = alertCtrl; - this.qustCat = qustCat; - this.fb = fb; - this.geolocation = geolocation; - this.androidPermissions = androidPermissions; - this.timerOn = true; - this.otpStatusAccess = true; - this.maxtime = 30; - this.commonImage = this.commonconstant.commonimage; - this.applicatentDetails = this.navParams.get('pdDetails'); - console.log("this", this.applicatentDetails); - // this.address_pd_id=this.navParams.get('address_pd_id') - this.users = this.aws.getlocale(); - console.log("user", this.users); - this.reasonForm = this.fb.group({ - reason: [null, __WEBPACK_IMPORTED_MODULE_8__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_8__angular_forms__["m" /* Validators */].required])], - others_reason: [null], - }); - this.getDropdown(); - } - OtpPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad OtpPage'); - }; - OtpPage.prototype.ionViewDidEnter = function () { - //this.Menu.enable(false); - this.setPermission(); - this.timer(120); - }; - OtpPage.prototype.setPermission = function () { - var _this = this; - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - }; - OtpPage.prototype.ionViewWillLeave = function () { - //this.Menu.enable(true); - clearTimeout(this.timeLimit); - }; - OtpPage.prototype.getDropdown = function () { - var _this = this; - this.qustCat.getcommondrop('OTPREJECTION').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.reason_otp = res['records'].filter(function (otp) { return otp.isactive == 1; }); - console.log(_this.reason_otp); - } - }); - }; - OtpPage.prototype.checkotp = function (otp) { - var _this = this; - //console.log("Otp",otp) - var data = { 'pd_id': this.applicatentDetails.pd_id, 'OTP': otp, 'fk_updatedby': this.users }; - this.pddetails.checkotp(data).subscribe(function (res) { - //console.log("Otp",res) - _this.otpStatus = res; - if (_this.otpStatus.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': _this.applicatentDetails }); - } - else { - _this.toast.pdTriggerappmessage('Enter the Correct OTP'); - } - }); - }; - OtpPage.prototype.timer = function (remaining) { - var _this = this; - // console.log(remaining); - var m = Math.floor(remaining / 60); - var s = remaining % 60; - m = m < 10 ? '0' + m : m; - s = s < 10 ? '0' + s : s; - // var balance_time = m + ':' + s; - this.balance_time = m + ':' + s; - remaining -= 1; - // console.log(this.balance_time); - if (remaining >= 0 && this.timerOn) { - this.timeLimit = setTimeout(function () { - _this.timer(remaining); - }, 1000); - return; - } - if (!this.timerOn) { - // Do validate stuff here - return; - } - // Do timeout stuff here - var data; - var alert = this.alertCtrl.create({ - title: 'OTP Expired ', - message: 'Do you want to resend the OTP ? ', - buttons: [ - { - text: 'Start PD Without OTP', - handler: function () { - _this.otpStatusAccess = false; - } - }, - { - text: 'Resend OTP', - handler: function () { - _this.geolocation.getCurrentPosition().then(function (resp) { - var currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - data = { 'pd_id': _this.applicatentDetails.pd_id, 'pd_status': 'STARTED', 'mobile_no': _this.applicatentDetails.applicat_details[0].mobile_no, 'fk_updatedby': _this.users, 'link': currentPosPDofficer }; - console.log(data); - _this.pddetails.updatepdStatus(data).subscribe(function (res) { - _this.timer(60); - }); - }); - // console.log('Buy clicked'); - } - } - ] - }); - alert.present(); - }; - OtpPage.prototype.saveotpreasno = function () { - var _this = this; - console.log(this.reasonForm.value); - if (this.reasonForm.valid) { - var data = { 'pd_id': this.applicatentDetails.pd_id, 'reason': this.reasonForm.value.reason, 'other_reason': this.reasonForm.value.others_reason, 'fk_updatedby': this.users }; - this.pddetails.checkotp(data).subscribe(function (res) { - _this.otpStatus = res; - if (_this.otpStatus.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': _this.applicatentDetails }); - } - else { - // this.toast.pdTriggerappmessage('Enter the Correct OTP'); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - OtpPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-otp',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\otp\otp.html"*/'\n\n\n\n\n\n \n\n \n\n OTP Page\n\n Reason Page\n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

OTP

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{balance_time}}

\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

OTP Rejection Reason

\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{otp.rejection_reason}}\n\n \n\n \n\n {{reason}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\otp\otp.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["p" /* MenuController */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_7__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_8__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__["a" /* Geolocation */], __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) - ], OtpPage); - return OtpPage; -}()); - -//# sourceMappingURL=otp.js.map - -/***/ }), - -/***/ 211: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionRentalDashPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(131); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pd_question_rental_info__ = __webpack_require__(382); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - -/** - * Generated class for the PdQuestionRentalDashPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -// @IonicPage() -var PdQuestionRentalDashPage = (function () { - function PdQuestionRentalDashPage(navCtrl, navParams, qustCat) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.existing_rental_count_id = 0; - this.existing_rental_list = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.form_details = this.navParams.get('FormId'); - console.log(this.form_details); - } - PdQuestionRentalDashPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionRentalDashPage'); - }; - PdQuestionRentalDashPage.prototype.ionViewCanEnter = function () { - this.getAllRentalInfo(); - }; - PdQuestionRentalDashPage.prototype.getAllRentalInfo = function () { - var _this = this; - this.existing_rental_list = []; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - // console.log("rental",rentalVal.length) - // console.log(JSON.parse(res['records'])) - var rentalVal = res['records']; - console.log("tyeva", typeof (rentalVal)); - var tempArray_1 = []; - var amt_1 = []; - _this.existing_rental_count_id = rentalVal.length; - // if(rentalVal.length >0){ - console.log("rental val", rentalVal); - rentalVal.forEach(function (value, index) { - var annualRentAmt; - if (value.property_unit_details) { - var selectedUnit = Object.keys(value.property_unit_details).map(function (key) { - return value.property_unit_details[key]; - }); - if (selectedUnit.length > 0) { - selectedUnit.forEach(function (element, innerIndex) { - tempArray_1[innerIndex] = element.monthly_rent_amount; - annualRentAmt = tempArray_1.reduce(function (sum, val) { return sum + +val; }, 0); - annualRentAmt = annualRentAmt * 12; - }); - } - else { - annualRentAmt = 0; - } - amt_1[index] = annualRentAmt; - } - var params = { 'state_id': value.state, 'city_id': value.city, 'pincode_id': value.pincode }; - _this.qustCat.getStateCityNamesAndPincode(params).subscribe(function (datas) { - if (datas.dataStatus == true) { - var obj = { - 'address': value.address_property, - 'applicants_rent': amt_1[index], - 'state': datas.records.state_name, - 'city': datas.records.city_name, - 'pincode': datas.records.pincode, - 'rental_count_id': value.rental_count_id, - 'rental_existing_data': value - }; - _this.existing_rental_list.push(obj); - console.log("modify", _this.existing_rental_list); - } - }); - }); - } - else { - _this.existing_rental_count_id = 0; - // this.addMore(); - } - }); - console.log("ren", this.existing_rental_list); - }; - PdQuestionRentalDashPage.prototype.editDet = function (values) { - var passValues = { - manage_status: 2, - existing_rental_count_id: values.rental_count_id, - editData: values - }; - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], { 'values': passValues, 'pdDetails': this.pdDetails, 'FormId': this.form_details }); - console.log("hai"); - console.log("d", values); - }; - PdQuestionRentalDashPage.prototype.addMore = function () { - var passValues = { - manage_status: 1, - // parentData: this.parentData, - // masterData: this.masterData, - existing_rental_count_id: this.existing_rental_count_id + 1, - }; - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], { "values": passValues, 'pdDetails': this.pdDetails, 'FormId': this.form_details }); - }; - PdQuestionRentalDashPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-rental-dash',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-dash\pd-question-rental-dash.html"*/'\n\n\n\n\n\n \n\n {{form_details.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n No Records Found..\n\n\n\n \n\n
Property {{i+1}}
\n\n
\n\n \n\n  {{info.address}}
\n\n   {{info.state}} {{info.city}} - {{info.pincode}}


\n\n Annual Rent Amount as per Applicant : {{info.applicants_rent | rupeeCurrencyFormat}}\n\n
\n\n\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-dash\pd-question-rental-dash.html"*/, - providers: [__WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */]] - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) - ], PdQuestionRentalDashPage); - return PdQuestionRentalDashPage; -}()); - -//# sourceMappingURL=pd-question-rental-dash.js.map - -/***/ }), - -/***/ 212: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionSupplierInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionSupplsierInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionSupplierInfoPage = (function () { - function PdQuestionSupplierInfoPage(navCtrl, navParams, fb, aws, qustCat, toast, cameraProvider, loading, constantProvider) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.constantProvider = constantProvider; - this.business_manufacturingProducts = []; - this.business_tradingProducts = []; - this.m_titleList = []; - this.m_paymentList = []; - this.m_companyRelationShipList = []; - this.noRecordsFound = false; - this.submitted = false; - this.errorMessage = ''; - this.imageBucket = []; - this.tab = '0'; - this.serviceProviderForm = false; - this.manufacturingForm = false; - this.tradingForm = false; - this.mfgCreditCardFlag = false; - this.trdCreditCardFlag = false; - this.mfgCounter = []; - this.trdCounter = []; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.form_id = this.formDetails.form_id; - this.company_id = this.pdDetails.company_id; - this.users = this.aws.getlocale(); - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(function (data) { - if (data.dataStatus) { - var datas_1 = data.records; - _this.initFormLoadDetails(datas_1.type_of_activity); - _this.business_manufacturingProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 2) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - var api = Object.keys(datas_1.type_of_activity).map(function (key) { - return datas_1.type_of_activity[key]; - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - _this.business_tradingProducts.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - _this.business_tradingProducts.push(val.prodcuts); - } - } - }); - } - _this.business_tradingProducts = [].concat.apply([], _this.business_tradingProducts); - } - else { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = data.msg; - } - }, function (err) { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = 'No Records Found , Something went Wrong!'; - }); - this.getdropList(); - } - PdQuestionSupplierInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionSupplierInfoPage'); - this.getPDImages(); - }; - PdQuestionSupplierInfoPage.prototype.initFormLoadDetails = function (record) { - var _this = this; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = this.form_id; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (data) { - if (data['dataStatus'] == true) { - var dataForm = data['records']; - if (dataForm !== undefined) { - _this.supplierInfoForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdDetails.pd_id], - formid: [_this.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - supplier_info_form_remark: [dataForm.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) { - // return dataForm.main_raw_materials[key]; - // }); - if (dataForm.manufacturing_details[0] != null) { - var api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials; - _this.initManufacturingProductsDetails(api_main_raw_materials); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null); - } - else { - _this.initManufacturingProductsDetails(null); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) { - // return dataForm.trading_products[key]; - // }); - if (dataForm.trade_details[0] != null) { - var api_trading_products = dataForm.trade_details[0].trading_products; - _this.initTradingProductsDetails(api_trading_products); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null); - } - else { - _this.initTradingProductsDetails(null); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - } - var arr2_1 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2_1.length > 0) { - _this.serviceProviderForm = true; - } - _this.noRecordsFound = true; - } - else { - _this.supplierInfoForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdDetails.pd_id], - formid: [_this.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - supplier_info_form_remark: [dataForm.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null); - } - _this.noRecordsFound = true; - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - _this.serviceProviderForm = true; - } - } - else { - _this.supplierInfoForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdDetails.pd_id], - formid: [_this.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - supplier_info_form_remark: [] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - _this.serviceProviderForm = true; - } - _this.noRecordsFound = true; - } - }, function (err) { - }); - }; - PdQuestionSupplierInfoPage.prototype.manufacturingFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - this.manufacturingForm = true; - return this.fb.group({ - main_raw_materials: this.fb.array([]), - main_raw_materials_total_payments_percent_on_credit: [] - }); - // } - } - else { - return; - } - }; - PdQuestionSupplierInfoPage.prototype.tradingFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr.length > 0) { - this.tradingForm = true; - return this.fb.group({ - trading_products: this.fb.array([]), - trading_products_total_payments_percent_on_credit: [] - }); - } - else { - return; - } - }; - PdQuestionSupplierInfoPage.prototype.initManufacturingProductsDetails = function (datas) { - var _this = this; - var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - if (datas === null) { - control.push(this.initManufacturingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.manufacturing_payment_type, 1, inx); - control.push(_this.initManufacturingProducts(val)); - }); - } - }; - PdQuestionSupplierInfoPage.prototype.initManufacturingProducts = function (records) { - if (records === null) { - return this.fb.group({ - manufacturing_raw_material_name: [''], - manufacturing_supplier_name: [''], - person_title_name: [''], - person_designation: [''], - other_person_designation: [''], - manufacturing_contact_person_name: [''], - manufacturing_contact_person_mobile_number: [''], - //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) - manufacturing_payment_type: [''], - manufacturing_payment_mode: [''], - manufacturing_credit_days_from: [''], - manufacturing_credit_days_to: [''], - manufacturing_frequency_of_purchase: [''], - person_stdcode: [''], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [''], - }); - } - else { - return this.fb.group({ - manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null], - manufacturing_supplier_name: [records.manufacturing_supplier_name || null], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - other_person_designation: [records.other_person_designation || null], - manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null], - manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null], - //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])], - manufacturing_payment_type: [records.manufacturing_payment_type || null], - manufacturing_payment_mode: [records.manufacturing_payment_mode], - manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null], - manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null], - manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null], - person_stdcode: [records.person_stdcode || null], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [records.person_landline || null], - }); - } - }; - PdQuestionSupplierInfoPage.prototype.initTradingProductsDetails = function (datas) { - var _this = this; - var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - if (datas === null) { - control.push(this.initTradingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.trade_product_payment_type, 2, inx); - control.push(_this.initTradingProducts(val)); - }); - } - }; - PdQuestionSupplierInfoPage.prototype.initTradingProducts = function (records) { - if (records === null) { - return this.fb.group({ - trade_product_name: [''], - trade_supplier_name: [''], - person_title_name: [''], - person_designation: [''], - other_person_designation: [''], - trade_product_contact_person_name: [''], - trade_product_contact_person_mobile_number: [''], - //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) - person_stdcode: [null], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [null], - //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')]) - trade_product_payment_type: [''], - trade_product_payment_mode: [''], - trade_product_frequency_of_purchase: [''], - trade_product_credit_days_from: [''], - trade_product_credit_days_to: [''], - }); - } - else { - return this.fb.group({ - trade_product_name: [records.trade_product_name], - person_title_name: [records.person_title_name], - person_designation: [records.person_designation], - other_person_designation: [records.other_person_designation], - trade_supplier_name: [records.trade_supplier_name], - trade_product_contact_person_name: [records.trade_product_contact_person_name], - trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number], - //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) - person_stdcode: [records.person_stdcode], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [records.person_landline], - //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')]) - trade_product_payment_type: [records.trade_product_payment_type], - trade_product_payment_mode: [records.trade_product_payment_mode], - trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase], - trade_product_credit_days_from: [records.trade_product_credit_days_from], - trade_product_credit_days_to: [records.trade_product_credit_days_to], - }); - } - }; - PdQuestionSupplierInfoPage.prototype.addMoreRawMaterials = function (e) { - // e.stropPropagation(); - var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.push(this.initManufacturingProducts(null)); - }; - PdQuestionSupplierInfoPage.prototype.removeRawMaterials = function (inx) { - var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.removeAt(inx); - }; - PdQuestionSupplierInfoPage.prototype.addMoretradeProduct = function (e) { - // e.stropPropagation(); - var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.push(this.initTradingProducts(null)); - }; - PdQuestionSupplierInfoPage.prototype.removeTradingProduct = function (inx) { - var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.removeAt(inx); - }; - PdQuestionSupplierInfoPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - _this.m_companyRelationShipList = data['records']; - //.filter(data => data.isactive == 1); - // because in general no need of "other" option but in supplier others option needed - in DB others option changed into inactive" - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (data) { - _this.m_titleList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('PAYMENTMODE').subscribe(function (data) { - _this.m_paymentList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - }; - PdQuestionSupplierInfoPage.prototype.saveSupplierInfoWithImageCheck = function (answerFormValues) { - var _this = this; - console.log("forms", answerFormValues); - var required_imageCheck = this.mandatoryImageCheck(answerFormValues); - console.log("required image check", required_imageCheck); - if (!required_imageCheck) { - var alert_1 = this.toast.setAlert("Mandatory photographs not taken", " Do you want to take it later?"); - alert_1.present(); - alert_1.onDidDismiss(function (value) { - if (value == 's') { - _this.saveSupplierInfo(answerFormValues); - } - else { - return true; - } - }); - } - else { - this.saveSupplierInfo(answerFormValues); - } - }; - PdQuestionSupplierInfoPage.prototype.saveSupplierInfo = function (FormValues) { - var _this = this; - var answerFormValues = FormValues; - Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); - this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { - if (responsed['status'] == 200) { - _this.supplierInfoForm.markAsUntouched(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionSupplierInfoPage.prototype.selectedPersonDesignation = function (items, e, flag) { - if (flag == 1) { - e == 1 ? '' : ''; - // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required]) - // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - else if (flag == 2) { - e == 1 ? '' : ''; - // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) - // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - }; - PdQuestionSupplierInfoPage.prototype.checkCard = function (e, flag, index) { - if (flag == 2 && e == 3) { - this.trdCounter[index] = 1; - } - else if (flag == 2 && e != 3) { - this.trdCounter[index] = 0; - } - var TRD = this.trdCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.trdCreditCardFlag = TRD > 0 ? true : false; - if (flag == 1 && e == 3) { - this.mfgCounter[index] = 1; - } - else if (flag == 1 && e != 3) { - this.mfgCounter[index] = 0; - } - var MFG = this.mfgCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.mfgCreditCardFlag = MFG > 0 ? true : false; - }; - PdQuestionSupplierInfoPage.prototype.selectedPaymentTerms = function (items, e, flag) { - if (flag == 2) { - if (e == 3) { - // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]); - // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]); - } - else { - items.controls['trade_product_credit_days_from'].clearValidators(); - items.controls['trade_product_credit_days_from'].setValue(''); - items.controls['trade_product_credit_days_to'].clearValidators(); - items.controls['trade_product_credit_days_to'].setValue(''); - } - items.controls['trade_product_credit_days_from'].updateValueAndValidity(); - items.controls['trade_product_credit_days_to'].updateValueAndValidity(); - } - else if (flag == 1) { - if (e == 3) { - //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]); - } - else { - items.controls['manufacturing_credit_days_from'].clearValidators(); - items.controls['manufacturing_credit_days_from'].setValue(''); - items.controls['manufacturing_credit_days_to'].clearValidators(); - items.controls['manufacturing_credit_days_to'].setValue(''); - } - items.controls['manufacturing_credit_days_from'].updateValueAndValidity(); - items.controls['manufacturing_credit_days_to'].updateValueAndValidity(); - } - }; - /*IMAGE SECTION*/ - PdQuestionSupplierInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionSupplierInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionSupplierInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionSupplierInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionSupplierInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionSupplierInfoPage.prototype.captureTheSupplierPics = function (materialName, index, supplierName) { - var _this = this; - console.log('ds'); - // alert('dsa'); - if (supplierName != '') { - // 'Raw Material','l',items.get('manufacturing_supplier_name').value - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': supplierName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - } - else if (supplierName == '') { - alert('Please Fill The Supplier Name'); - } - }; - PdQuestionSupplierInfoPage.prototype.mandatoryImageCheck = function (Form_values) { - var _this = this; - var Form_names = []; - if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) { - if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) { - Form_values.manufacturing_details[0].main_raw_materials.forEach(function (value, index) { - Form_names.push({ 'index': index + 1, 'name': value.manufacturing_supplier_name + ' - ' + 'Raw Material ' + (index + 1) }); - }); - } - } - // if(Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null ){ - // if(Form_values.service_provider_details[0].service_products.length != 0){ - // Form_values.service_provider_details[0].service_products.forEach((value,index)=>{ - // Form_names.push({'index':index+1,'name':value.service_provider_client_name+' - '+ 'Service Provided ' + (index+1) }) - // }) - // } - // } - if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) { - if (Form_values.trade_details[0].trading_products.length != 0) { - Form_values.trade_details[0].trading_products.forEach(function (value, index) { - Form_names.push({ 'index': index + 1, 'name': value.trade_supplier_name + ' - ' + 'Trading Product ' + (index + 1) }); - }); - } - } - // console.log("Form Values",Form_names); - // console.log("image values",this.imageDisplay) - var valBool; - var count = 0; - var mandatoryimgSaved = []; - var mandatoryimgNotSaved = []; - if (Form_names.length != 0) { - // if( this.imageDisplay.length !=0){ - Form_names.forEach(function (formvalue) { - _this.imageDisplay.forEach(function (imgvalue) { - // console.log("Form values individuals",formvalue) - if (formvalue.name != imgvalue.Name) { - valBool = true; - } - else { - valBool = false; - count++; - } - if (count >= 2 && valBool == false) { - // console.log("end of image dis",formvalue.name,"count ",count) - mandatoryimgSaved.push(formvalue.name); - //return - } - else { - mandatoryimgNotSaved.push(formvalue.name); - return; - } - }); - if (valBool == true) - console.log("Form name", formvalue.name); - mandatoryimgNotSaved.push(formvalue.name); - }); - console.log("mandatoryimgSaved", mandatoryimgSaved); - console.log("mandatoryimgNot Saved", mandatoryimgNotSaved); - mandatoryimgSaved.forEach(function (res) { - mandatoryimgNotSaved = mandatoryimgNotSaved.filter(function (val) { return val != res; }); - }); - // console.log("res for not saved img",mandatoryimgNotSaved); - // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)] - var uniquenotsavedImage = function (mandatoryimgNotSaved) { return mandatoryimgNotSaved.filter(function (val, i) { return mandatoryimgNotSaved.indexOf(val) === i; }); }; - console.log("uniw", uniquenotsavedImage(mandatoryimgNotSaved)); - if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) { - return false; - } - else { - return true; - } - //COUNTING THE DUPLICATES IN AN ARRAY - // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a']; - // var map = arr.reduce(function(prev, cur) { - // prev[cur] = (prev[cur] || 0) + 1; - // return prev; - // }, {}); - // map is an associative array mapping the elements to their frequency: - // console.log(map); - // prints {"a": 3, "b": 2, "c": 2, "d": 2, "e": 2, "f": 1, "g": 1, "h": 3} - //} - } - else { - return true; - } - }; - PdQuestionSupplierInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionSupplierInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.formDetails.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionSupplierInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-supplier-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-supplier-info\pd-question-supplier-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
Manufacturing Product Details
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n Raw Material #{{l+1}}\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number\n\n \n\n \n\n \n\n Enter Valid STD Code Number\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number\n\n \n\n \n\n \n\n Select\n\n {{ pm.name }}\n\n \n\n \n\n \n\n \n\n Select\n\n Payment made in Cash.\n\n Payment made through Banking\n\n channels.\n\n Payment made through Cash and Banking Channels.\n\n \n\n \n\n \n\n No.of days of Credit Provided by Supplier \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
Trading Product Details
\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n Trading Product #{{l+1}}\n\n \n\n \n\n
\n\n \n\n \n\n Select\n\n {{ tp.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number\n\n \n\n \n\n \n\n Enter Valid STD Code Number\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number\n\n \n\n \n\n \n\n Select\n\n {{ pm.name }}\n\n \n\n \n\n \n\n \n\n Select\n\n Payment made in Cash.\n\n Payment made through Banking\n\n channels.\n\n Payment made through Cash and Banking Channels.\n\n \n\n \n\n \n\n No.of days of Credit Provided by Supplier \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
Service Provider Product Details
\n\n
\n\n\n\n
Service Provider Details Not applicable here !!
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-supplier-info\pd-question-supplier-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */], - __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionSupplierInfoPage); - return PdQuestionSupplierInfoPage; -}()); - -//# sourceMappingURL=pd-question-supplier-info.js.map - -/***/ }), - -/***/ 213: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionStockInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the PdQuestionStockInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionStockInfoPage = (function () { - function PdQuestionStockInfoPage(navCtrl, navParams, qustCat, aws, toast, fb, constant, cameraProvider, loading) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.fb = fb; - this.constant = constant; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.errorMessage = ''; - this.M_rawValueInWords = []; - this.M_goodsValueInWords = []; - this.R_tradedGoodsValueInWords = []; - this.T_tradedGoodsValueInWords = []; - this.mrmCommentFlag = []; - this.mfgCommentFlag = []; - this.rtrdCommentFlag = []; - this.wtrdCommentFlag = []; - this.serviceProviderForm = false; - this.suppliers_raw_materials = []; - this.suppliers_retail_trade_details = []; - this.suppliers_wholesale_trade_details = []; - this.suppliers_finished_goods = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); - this.RMCommentCard = false; - this.TGCommentCard = false; - this.RMsufficientList = [{ value: "yes", isdisplayvalue: "Yes", disabled: false }, { value: "no", isdisplayvalue: "No", disabled: false }, { value: "not applicable", isdisplayvalue: "Stock not required to be maintained", disabled: false }]; - this.TGsufficientList = [{ value: "yes", isdisplayvalue: "Yes", isdisabled: false }, { value: "no", isdisplayvalue: "No", isdisabled: false }, { value: "not applicable", isdisplayvalue: "Stock not required to be maintained", isdisabled: false }]; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.manufacturingForm = false; - this.retailForm = false; - this.tradingForm = false; - this.ManufacturingCounterArray = []; - this.FinishedCounterArray = []; - this.RetailCounterArray = []; - this.WholeSaleCounterArray = []; - this.not_stock_of_rm = []; - this.not_stock_of_fg = []; - this.not_stock_of_tg = []; - this.not_stock_of_ws = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.company_id = this.pdDetails.company_id; - this.pdid = this.pdDetails.pd_id; - this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(function (data) { - if (data.dataStatus == true) { - _this.initstockForm(data.record); - } - else if (data.dataStatus == false) { - _this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + _this.company_id); - _this.noRecordsFound = false; - _this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + _this.company_id + '! ....'; - return; - } - else { - _this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + _this.company_id); - _this.noRecordsFound = false; - _this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + _this.company_id + '! ....'; - return; - } - }, function (err) { - _this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!'); - _this.noRecordsFound = false; - _this.errorMessage = 'No Records Found , Something went Wrong!'; - }); - this.getdropdown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionStockInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionStockInfoPage'); - this.getPDImages(); - }; - PdQuestionStockInfoPage.prototype.initstockForm = function (record) { - var _this = this; - var api = Object.keys(record.from_business).map(function (key) { - return record.from_business[key]; - }); - if (record.from_business.length > 0) { - var type2 = record.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); - var type2length_1 = type2[0].hasOwnProperty("products") ? type2[0].products.length : 0; - var type3 = record.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); - var type3length_1 = type3[0].hasOwnProperty("products") ? type3[0].products.length : 0; - var type4 = record.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); - var type4length_1 = type4[0].hasOwnProperty("products") ? type4[0].products.length : 0; - var rm_api_1 = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : []; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdid; - params.pd_form_id = this.formDetails.form_id; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (value) { - if (value['status'] == 200) { - var dataForm_1 = value['records']; - // dataForm.manufacturing_details.forEach(top=>{ - // top.manufacturing_finished_goods.forEach(below1=>{ - // below1.uomSearch='' - // }) - // top.manufacturing_raw_materials.forEach(below2=>{ - // below2.uomSearch='' - // }) - // }) - if (dataForm_1 !== undefined) { - _this.stockForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - stock_remarks: [dataForm_1.stock_remarks], - // is_sufficiant_raw:[dataForm.is_sufficiant_raw], - // rawmaterial_remarks:[dataForm.rawmaterial_remarks], - is_sufficiant_finished_and_traded_goods: [dataForm_1.is_sufficiant_finished_and_traded_goods], - finished_and_traded_goods_remarks: [dataForm_1.finished_and_traded_goods_remarks], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record, type2length_1)]), - retail_details: _this.fb.array([_this.retailFormCreation(type3length_1)]), - trade_details: _this.fb.array([_this.tradingFormCreation(type4length_1)]), - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.products) { - // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;} - var manufacturing_temparr = []; - manufacturing_temparr['manufacturing_raw_materials'] = dataForm_1.manufacturing_details[0].manufacturing_raw_materials; - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm_1.manufacturing_details[0].is_sufficiant_raw), - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm_1.manufacturing_details[0].rawmaterial_remarks); - manufacturing_temparr['manufacturing_finished_goods'] = dataForm_1.manufacturing_details[0].manufacturing_finished_goods; - _this.initManufacturingDetails(manufacturing_temparr); - } - } - if (val.type_of_activity_id == 3) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - var retail_temparr = []; - retail_temparr['retail_traded_goods'] = dataForm_1.retail_details[0].retail_traded_goods; - _this.initRetailDetails(retail_temparr); - } - } - if (val.type_of_activity_id == 4) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - var trading_temparr = []; - trading_temparr['trading_traded_goods'] = dataForm_1.trade_details[0].trading_traded_goods; - console.log("Trade", trading_temparr); - _this.initTradingDetails(trading_temparr); - } - } - if (val.type_of_activity_id == 5) { - if (val.products) { - _this.serviceProviderForm = true; - } - } - }); - _this.noRecordsFound = true; - } - } - else { - _this.stockForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - stock_remarks: [''], - // is_sufficiant_raw:[''], - // rawmaterial_remarks:[''], - is_sufficiant_finished_and_traded_goods: [''], - finished_and_traded_goods_remarks: [''], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record, type2length_1)]), - retail_details: _this.fb.array([_this.retailFormCreation(type3length_1)]), - trade_details: _this.fb.array([_this.tradingFormCreation(type4length_1)]), - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_finished_goods = val.products; - _this.initManufacturingDetails(null); - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm_1.manufacturing_details[0].is_sufficiant_raw.value || null), - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm_1.manufacturing_details[0].rawmaterial_remarks || null); - } - } - if (val.type_of_activity_id == 3) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_retail_trade_details = val.products; - _this.initRetailDetails(null); - } - } - if (val.type_of_activity_id == 4) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_wholesale_trade_details = val.products; - _this.initTradingDetails(null); - } - } - if (val.type_of_activity_id == 5) { - if (val.products) { - // this.suppliers_service_product = val.products; - _this.serviceProviderForm = true; - } - } - }); - _this.noRecordsFound = true; - } - } - } - else { - console.log("Record", record); - _this.stockForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - stock_remarks: [''], - // is_sufficiant_raw:[''], - // rawmaterial_remarks:[''], - is_sufficiant_finished_and_traded_goods: [''], - finished_and_traded_goods_remarks: [''], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record, type2length_1)]), - retail_details: _this.fb.array([_this.retailFormCreation(type3length_1)]), - trade_details: _this.fb.array([_this.tradingFormCreation(type4length_1)]), - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_finished_goods = val.products; - _this.suppliers_raw_materials = rm_api_1; - _this.initManufacturingDetails(null); - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null); - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null); - } - } - if (val.type_of_activity_id == 3) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_retail_trade_details = val.products; - _this.initRetailDetails(null); - } - } - if (val.type_of_activity_id == 4) { - if (val.products) { - // this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_wholesale_trade_details = val.products; - _this.initTradingDetails(null); - } - } - if (val.type_of_activity_id == 5) { - if (val.products) { - // this.suppliers_service_product = val.products; - _this.serviceProviderForm = true; - } - } - }); - _this.noRecordsFound = true; - } - } - }); - } - else { - this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id); - this.noRecordsFound = false; - this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....'; - return; - } - }; - PdQuestionStockInfoPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('UOM').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.uomData = data['records'].filter(function (uom) { return uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2; }); - _this.uomDataValue = _this.uomData.slice(); - } - }); - }; - PdQuestionStockInfoPage.prototype.manufacturingFormCreation = function (record, length) { - var arr = record.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); - var rm_arr = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : []; - //console.log("Manufacturing ",arr); - //console.log("rm_arr",rm_arr); - if (length > 0) { - this.manufacturingForm = true; - return this.fb.group({ - is_sufficiant_raw: [], - rawmaterial_remarks: [], - manufacturing_raw_materials: this.fb.array([]), - manufacturing_finished_goods: this.fb.array([]), - }); - } - else { - return this.fb.group({ - is_sufficiant_raw: [], - rawmaterial_remarks: [], - manufacturing_raw_materials: this.fb.array([]), - manufacturing_finished_goods: this.fb.array([]), - }); - // return; - } - }; - PdQuestionStockInfoPage.prototype.retailFormCreation = function (val) { - //let arr = val.filter(data => data.type_of_activity_id == 3); - var arr = val; - // console.log("retail Form ", arr); - if (arr > 0) { - // if(arr.products != undefined){ - this.retailForm = true; - return this.fb.group({ - retail_traded_goods: this.fb.array([]) - }); - // }else{ - // this.retailForm = false; - // return; - // } - } - else { - return this.fb.group({ - retail_traded_goods: this.fb.array([]) - }); - // return; - } - }; - PdQuestionStockInfoPage.prototype.tradingFormCreation = function (val) { - var arr = val; - //let arr = val.filter(data => data.type_of_activity_id == 4); - if (arr > 0) { - // if(arr.products === undefined){ - // this.tradingForm = false; - // return; - // } - this.tradingForm = true; - return this.fb.group({ - trading_traded_goods: this.fb.array([]) - }); - } - else { - return this.fb.group({ - trading_traded_goods: this.fb.array([]) - }); - // return; - } - }; - PdQuestionStockInfoPage.prototype.initManufacturingDetails = function (datas) { - var _this = this; - var rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; - var finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - if (datas === null) { - if (this.suppliers_raw_materials.length > 0) { - this.suppliers_raw_materials.forEach(function (val) { - var Ref_RawMaterials = { - 'raw_name': val, - 'stock_observed': '', - 'raw_quantity': '', - 'raw_uom': '', - 'other_uom': '', - 'raw_value': '', - 'is_sufficiant_raw': '', - 'rawmaterial_remarks': '' - }; - rawMaterial.push(_this.createRawmaterial(Ref_RawMaterials)); - }); - } - else { - rawMaterial.push(this.createRawmaterial(null)); - } - if (this.suppliers_finished_goods.length > 0) { - this.suppliers_finished_goods.forEach(function (val) { - var Ref_Finished_Goods = { - 'goods_name': val, - 'goods_observed': '', - 'goods_quantity': '', - 'goods_uom': '', - 'goods_other_uom': '', - 'goods_value': '', - 'is_sufficiant_goods': '', - 'finishedgoods_remarks': '' - }; - finishedGoods.push(_this.createGoods(Ref_Finished_Goods)); - }); - } - else { - finishedGoods.push(this.createGoods(null)); - } - } - else { - if (datas.manufacturing_raw_materials != undefined) { - datas.manufacturing_raw_materials.forEach(function (val, index) { - if (val.raw_value) { - _this.inWords(val.raw_value, 1, index); - } - // this.checkComments(val.is_sufficiant_raw,1,index); - _this.checkComments(val.stock_observed, 1, index); - rawMaterial.push(_this.createRawmaterial(val)); - }); - } - else { - rawMaterial.push(this.createRawmaterial(null)); - } - if (datas.manufacturing_finished_goods != undefined) { - datas.manufacturing_finished_goods.forEach(function (val, index) { - if (val.goods_value) { - _this.inWords(val.goods_value, 2, index); - } - // this.checkComments(val.is_sufficiant_goods,2,index); - _this.checkComments(val.goods_observed, 2, index); - finishedGoods.push(_this.createGoods(val)); - }); - } - else { - finishedGoods.push(this.createGoods(null)); - } - } - }; - PdQuestionStockInfoPage.prototype.createRawmaterial = function (records) { - if (records === null) { - return this.fb.group({ - raw_name: [''], - stock_observed: [''], - raw_quantity: [''], - raw_uom: [''], - uomSearch: [null], - other_uom: [''], - raw_value: [''], - is_sufficiant_raw: [''], - rawmaterial_remarks: [''] - }); - } - else { - return this.fb.group({ - raw_name: [records.raw_name], - stock_observed: [records.stock_observed], - raw_quantity: [records.raw_quantity], - raw_uom: [records.raw_uom], - uomSearch: [null], - other_uom: [records.other_uom], - raw_value: [records.raw_value], - is_sufficiant_raw: [records.is_sufficiant_raw], - rawmaterial_remarks: [records.rawmaterial_remarks] - }); - } - }; - PdQuestionStockInfoPage.prototype.initRetailDetails = function (datas) { - var _this = this; - var tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; - if (datas === null) { - if (this.suppliers_retail_trade_details.length > 0) { - // this.rawMaterialAccess = true; - this.suppliers_retail_trade_details.forEach(function (val) { - var Ref_Trade_Goods = { - 'traded_goods_name': val, - 'traded_goods_observed': '', - 'traded_goods_quantity': '', - 'traded_goods_uom': '', - 'traded_goods_other_uom': '', - 'estimated_traded_goods_value': '', - 'is_sufficiant_traded_goods': '', - 'traded_goods_remarks': '' - }; - tradedGoods.push(_this.createTradedGoods(Ref_Trade_Goods)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - else { - if (datas.retail_traded_goods !== undefined) { - datas.retail_traded_goods.forEach(function (val, index) { - if (val.estimated_traded_goods_value) { - _this.inWords(val.estimated_traded_goods_value, 3, index); - } - // this.checkComments(val.is_sufficiant_traded_goods,3,index); - _this.checkComments(val.traded_goods_observed, 3, index); - tradedGoods.push(_this.createTradedGoods(val)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - }; - PdQuestionStockInfoPage.prototype.createGoods = function (records) { - if (records === null) { - return this.fb.group({ - goods_name: [''], - goods_observed: [''], - goods_quantity: [''], - goods_uom: [''], - uomSearch: [null], - goods_other_uom: [''], - goods_value: [''], - is_sufficiant_goods: [''], - finishedgoods_remarks: [''] - }); - } - else { - return this.fb.group({ - goods_name: [records.goods_name], - goods_observed: [records.goods_observed], - goods_quantity: [records.goods_quantity], - goods_uom: [records.goods_uom], - uomSearch: [null], - goods_other_uom: [records.goods_other_uom], - goods_value: [records.goods_value], - is_sufficiant_goods: [records.is_sufficiant_goods], - finishedgoods_remarks: [records.finishedgoods_remarks] - }); - } - }; - PdQuestionStockInfoPage.prototype.initTradingDetails = function (datas) { - var _this = this; - var tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; - if (datas === null) { - if (this.suppliers_wholesale_trade_details.length > 0) { - this.suppliers_wholesale_trade_details.forEach(function (val) { - var Ref_Trade_Goods = { - 'traded_goods_name': val, - 'traded_goods_observed': '', - 'traded_goods_quantity': '', - 'traded_goods_uom': '', - 'traded_goods_other_uom': '', - 'estimated_traded_goods_value': '', - 'is_sufficiant_traded_goods': '', - 'traded_goods_remarks': '' - }; - tradedGoods.push(_this.createTradedGoods(Ref_Trade_Goods)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - else { - if (datas.trading_traded_goods !== undefined) { - datas.trading_traded_goods.forEach(function (val, index) { - if (val.estimated_traded_goods_value) { - _this.inWords(val.estimated_traded_goods_value, 4, index); - } - // this.checkComments(val.is_sufficiant_traded_goods,4,index); - _this.checkComments(val.traded_goods_observed, 4, index); - tradedGoods.push(_this.createTradedGoods(val)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - }; - PdQuestionStockInfoPage.prototype.createTradedGoods = function (records) { - if (records === null) { - return this.fb.group({ - traded_goods_name: [''], - traded_goods_observed: [''], - traded_goods_quantity: [''], - traded_goods_uom: [''], - uomSearch: [null], - traded_goods_other_uom: [''], - estimated_traded_goods_value: [''], - is_sufficiant_traded_goods: [''], - traded_goods_remarks: [''] - }); - } - else { - return this.fb.group({ - traded_goods_name: [records.traded_goods_name], - traded_goods_observed: [records.traded_goods_observed], - traded_goods_quantity: [records.traded_goods_quantity], - traded_goods_uom: [records.traded_goods_uom], - uomSearch: [null], - traded_goods_other_uom: [records.traded_goods_other_uom], - estimated_traded_goods_value: [records.estimated_traded_goods_value], - is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods], - traded_goods_remarks: [records.traded_goods_remarks] - }); - } - }; - /** Manufacturing -> To Add More Raw Material Details */ - PdQuestionStockInfoPage.prototype.addRawMaterials = function (flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; - control.push(this.createRawmaterial(null)); - } - }; - /** Manufacturing -> To Remove Raw Material Details */ - PdQuestionStockInfoPage.prototype.deleteRawMaterials = function (index, flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; - control.removeAt(index); - } - }; - /** Manufacturing -> To Add More Finished Goods */ - PdQuestionStockInfoPage.prototype.addGoods = function (flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; - control.push(this.createGoods(null)); - } - }; - /** Manufacturing -> To Remove Finished Goods */ - PdQuestionStockInfoPage.prototype.deleteGoods = function (index, flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; - control.removeAt(index); - } - }; - /** - * Case 1 Retail Traded -> To Add More trade Goods - * Case 2 wholesale Traded -> To Add More trade Goods - */ - PdQuestionStockInfoPage.prototype.addTradedGoods = function (flag) { - switch (flag) { - case 1: { - var control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; - control.push(this.createTradedGoods(null)); - break; - } - case 2: { - var control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; - control.push(this.createTradedGoods(null)); - break; - } - default: { - break; - } - } - }; - /** - * Case 1 Retail Traded -> To remove trade Goods - * Case 2 wholesale Traded -> To remove trade Goods - */ - PdQuestionStockInfoPage.prototype.deleteTradedGoods = function (index, flag) { - switch (flag) { - case 1: { - var control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; - control.removeAt(index); - break; - } - case 2: { - var control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; - control.removeAt(index); - break; - } - default: { - break; - } - } - //const control = this.stockForm.controls['traded_goods']; - }; - PdQuestionStockInfoPage.prototype.checkComments = function (value, flag, index) { - console.log(value, flag, index); - if (flag == 1) { - this.ManufacturingCounterArray[index] = value != "" ? 1 : 0; - this.not_stock_of_rm[index] = value == "yes" ? 1 : 0; - var RMOverallCount = this.ManufacturingCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - this.RMCommentCard = RMOverallCount > 0 ? true : false; - var not_stock1 = this.not_stock_of_rm.reduce(function (sum, val) { return sum + +val; }, 0); - console.log('value', value); - console.log('not_stock1', not_stock1); - if (not_stock1 > 0) { - console.log('not_stock1', not_stock1); - this.RMsufficientList[0].disabled = false; - this.RMsufficientList[2].disabled = true; - // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue(''); - } - else if (not_stock1 == 0) { - console.log('0', not_stock1); - this.RMsufficientList[0].disabled = true; - this.RMsufficientList[2].disabled = false; - // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable'); - } - console.log('this.RMsufficientList', this.RMsufficientList); - } - if (flag == 2) { - this.FinishedCounterArray[index] = value != "" ? 1 : 0; - this.not_stock_of_fg[index] = value == "yes" ? 1 : 0; - } - if (flag == 3) { - this.RetailCounterArray[index] = value != "" ? 1 : 0; - this.not_stock_of_tg[index] = value == "yes" ? 1 : 0; - } - if (flag == 4) { - this.WholeSaleCounterArray[index] = value != "" ? 1 : 0; - this.not_stock_of_ws[index] = value == "yes" ? 1 : 0; - } - var FGOverallCount = this.FinishedCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var RTGOverallCount = this.RetailCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var WTGOverallCount = this.WholeSaleCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount; - this.TGCommentCard = TGOverallCount > 0 ? true : false; - var not_stock_fg = this.not_stock_of_fg.reduce(function (sum, val) { return sum + +val; }, 0); - var not_stock_ws = this.not_stock_of_ws.reduce(function (sum, val) { return sum + +val; }, 0); - var not_stock_tg = this.not_stock_of_tg.reduce(function (sum, val) { return sum + +val; }, 0); - var not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg; - console.log('not_stock2', not_stock2); - if (not_stock2 > 0) { - console.log('not_stock2', not_stock2); - this.TGsufficientList[0].isdisabled = false; - this.TGsufficientList[2].isdisabled = true; - // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue(''); - } - else if (not_stock2 == 0) { - console.log('0', not_stock2); - this.TGsufficientList[0].isdisabled = true; - this.TGsufficientList[2].isdisabled = false; - // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable'); - } - console.log('Data', this.TGsufficientList); - // else if(not_stock == 0){ - // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue(''); - // } - }; - /** To Save/Edited Popup Data */ - PdQuestionStockInfoPage.prototype.saveStockInfo = function (answerFormValues) { - var _this = this; - //To Remove The "Null" With Key also - // if(answerFormValues.manufacturing_details){ - // answerFormValues.manufacturing_details.forEach(parent=>{ - // if(parent.manufacturing_finished_goods){ - // parent.manufacturing_finished_goods.forEach(finish_goods=>{ - // delete finish_goods.uomSearch - // }) - // } - // if(parent.manufacturing_raw_materials){ - // parent.manufacturing_raw_materials.forEach(raw_mat=>{ - // delete raw_mat.uomSearch - // }) - // } - // }) - // } - Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); - this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { - if (responsed['status'] == 200) { - _this.stockForm.markAsUntouched(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionStockInfoPage.prototype.inWords = function (e, flag, i) { - switch (flag) { - case 1: - this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); - break; - case 2: - this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); - break; - case 3: - this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); - break; - case 4: - this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); - break; - default: - break; - } - }; - PdQuestionStockInfoPage.prototype.searchFun = function (control, index) { - var _this = this; - console.log("control", control.controls['uomSearch'].value); - control.controls['uomSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.uomDataValue = _this.constant.searchData(_this.uomData, control.controls['uomSearch'].value, ''); - }); - }; - /*IMAGE SECTION*/ - PdQuestionStockInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionStockInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionStockInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionStockInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionStockInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionStockInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionStockInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.formDetails.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionStockInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-stock-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-stock-info\pd-question-stock-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Manufacturing Stock Details
\n\n
\n\n
\n\n
\n\n
\n\n Raw Material #{{a+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{M_rawValueInWords[a]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Is the stock of Raw Materials observed, sufficient considering the size of operations
\n\n \n\n Select\n\n \n\n {{val.isdisplayvalue}}\n\n \n\n \n\n \n\n
\n\n \n\n Please comment on the stock level observed?\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n Finished Goods #{{b+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{M_goodsValueInWords[b]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Retail Trading Details
\n\n
\n\n
\n\n
\n\n
\n\n Traded Goods #{{e+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{R_tradedGoodsValueInWords[e]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
Wholesale Trading Details
\n\n
\n\n
\n\n
\n\n
\n\n Traded Goods #{{g+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Add Stock Details\n\n No stock observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{T_tradedGoodsValueInWords[g]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n Is the stock of finished / traded goods observed, sufficient considering the size of operations
\n\n \n\n Select\n\n \n\n {{val.isdisplayvalue}}\n\n \n\n \n\n \n\n
\n\n \n\n Please comment on the stock level observed? \n\n \n\n \n\n
\n\n
\n\n \n\n
Service Provider Details
\n\n
Service Provider Details Not applicable here !!
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-stock-info\pd-question-stock-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionStockInfoPage); - return PdQuestionStockInfoPage; -}()); - -//# sourceMappingURL=pd-question-stock-info.js.map - -/***/ }), - -/***/ 214: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFinancialInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionFinancialInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFinancialInfoPage = (function () { - function PdQuestionFinancialInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, cons, cameraProvider, loading) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.fb = fb; - this.cons = cons; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.FY_annualSalesInwords = []; - this.FY_netProfitAmtInwords = []; - this.FY_netLossAmtInwords = []; - this.AV_annualSalesInwords = []; - this.AV_netProfitAmtInwords = []; - this.AV_netLossAmtInwords = []; - this.AV_netProfitAmtFrmInwords = []; - this.AV_netProfitAmtToInwords = []; - this.AV_netLossAmtFrmInwords = []; - this.AV_netLossAmtToInwords = []; - this.AV_SalesFrmInwords = []; - this.AV_SalesToInwords = []; - this.AV_SalesInwords = []; - this.AV_marginProfitAmtInwords = []; - this.AV_marginLossAmtInwords = []; - this.AV_CCAnnualSalesAmtInwords = []; - this.temparray = []; - this.picsArrayLength = 0; - this.ServiceDataAvailability = false; - this.av = [{ id: 6, name: 'Letter of Credit' }, - { id: 2, name: 'Bank Guarantee' }, - { id: 3, name: 'Cash Credit Limit' }, - { id: 7, name: 'OD Limit' }, - { id: 4, name: 'Factoring' }, - { id: 5, name: 'Forfaiting' }, - { id: 1, name: 'Others' }]; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.FormId = this.formDetails.form_id; - // this.FormId=this.navParams.get('FormId'); - this.company_id = this.pdDetails.company_id; - this.users = this.aws.getlocale(); - var x = this.pdDetails.customer_segment_abbr.split("-"); - this.CustSegAbbr = x[1]; - this.lender_short_name = this.pdDetails.lender_short_name; - this.product_abbr = this.pdDetails.product_abbr; - this.initFinancialForm(); - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(function (data) { - if (data.dataStatus) { - if (data.records.type_of_activity.length == 1) { - var bussiness_service_datas = data.records.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 5) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - _this.ServiceDataAvailability = bussiness_service_datas.length > 0 ? true : false; - if (_this.ServiceDataAvailability == true) { - _this.financialForm.controls['unsold_stock_lies_in_days'].setValue('NA'); - } - else { - _this.financialForm.controls['unsold_stock_lies_in_days'].setValue(''); - } - } - else { - _this.ServiceDataAvailability = false; - } - } - }); - // console.log("ld",this.financialForm.controls['estimated_value']) - // if(this.financialForm.controls['estimated_value']['controls'].length>0){ - // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls) - // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average'] - // console.log(estime_value) - // estime_value.valueChanges.subscribe(res=>{ - // console.log("changes",res); - // }) - //} - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionFinancialInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionFinancialInfoPage'); - this.getDetails(); - this.getPDImages(); - }; - PdQuestionFinancialInfoPage.prototype.AllCalculation = function (control, index) { - console.log("all", control); - if (control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value == 'yes') { - if (control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != '') { - console.log("calculate marginP"); - this.calculateMarginProfit(index, control); - } - } - if (control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value == 'no') { - if (control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != '') { - console.log("calculate Profit "); - this.calculateProfitAmount(index, control); - } - } - if (control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value == 'yes') { - if (control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != '') { - console.log("calculate marginL"); - this.calculateMarginLoss(index, control); - } - } - if (control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value == 'no') { - if (control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != '') { - console.log("calculate Loss"); - this.calculateLossAmount(index, control); - } - } - }; - PdQuestionFinancialInfoPage.prototype.selectedStatement = function (e) { - if (e == 'yes') { - this.isDisplay = true; - this.financialForm.controls['is_financial_customer'].setValue(''); - } - else if (e == 'no') { - this.isDisplay = false; - this.financialForm.controls['is_financial_customer'].setValue('no'); - // this.selectedFinancialCustomer('no'); - var statementControl = this.financialForm.controls['date_per_financial']; - while (statementControl.length !== 0) { - statementControl.removeAt(0); - } - var control = this.financialForm.controls['estimated_value']; - control.push(this.createValue('')); - this.financialForm.controls['financial_starting_year'].setValue(''); - this.financialForm.controls['financial_no_of_year'].setValue(''); - // alert((new Date()).getFullYear()); - // let year1 = (new Date()).getFullYear(); - // let year2 = ((new Date()).getFullYear() + 1); - // let Year = year1 +'-'+ year2; - } - }; - /** fin customer data from Fin statement*/ - PdQuestionFinancialInfoPage.prototype.selectedFinancialCustomer = function (e) { - if (e == 'yes') { - var control = this.financialForm.controls['estimated_value']; - while (control.length !== 0) { - control.removeAt(0); - } - } - else if (e == 'no') { - var control = this.financialForm.controls['estimated_value']; - control.push(this.createValue('')); - } - }; - PdQuestionFinancialInfoPage.prototype.selectedProfitOrLossType = function (e, detail) { - if (e.value == 1) { - detail.controls.financial_net_loss.setValue(''); - detail.controls.financial_margin_of_loss.setValue(''); - } - else if (e.value == 2) { - detail.controls.financial_net_profit.setValue(''); - detail.controls.financial_margin_of_profit.setValue(''); - } - }; - /** For Auto-generating FinYear */ - PdQuestionFinancialInfoPage.prototype.dynamicalFinYear = function ($event) { - // let e = $event.target.value; - var e = this.financialForm.controls['financial_no_of_year'].value; - if (e != null && e != '') { - if (e == 1) { - this.customerCommentsFlag = false; - } - else { - this.customerCommentsFlag = true; - } - var startingYear = this.financialForm.controls['financial_starting_year'].value; - var control = this.financialForm.controls['date_per_financial']; - while (control.length !== 0) { - control.removeAt(0); - } - if (e > 0) { - for (var i = 1; i <= e; i++) { - var Year = (+startingYear + (i - 1)) + '-' + ((+startingYear) + (+i)); - control.push(this.createDate(Year)); - } - } - } - }; - PdQuestionFinancialInfoPage.prototype.initFinancialForm = function () { - this.financialForm = this.fb.group({ - parent_pdid: this.pdDetails.parent_pd_id, - pdid: this.pdDetails.pd_id, - formid: this.FormId, - company_id: this.company_id, - fk_createdby: this.users, - financial_remarks: [''], - is_financial_statements: [''], - is_financial_customer: [''], - financial_starting_year: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].maxLength(4)])], - financial_no_of_year: [''], - financial_reason: [''], - financial_customer: [''], - receive_the_money_in_days: [''], - pay_the_money_in_days: [''], - unsold_stock_lies_in_days: [''], - is_there_working_capital_available: [''], - working_capital_facilities_availed: [''], - // reason_for_working_capital_facilities_availed:[''], - // same_as_financial_statements:[''], - date_per_financial: this.fb.array([]), - estimated_value: this.fb.array([]), - select_working_capital_facilities_availed: this.fb.array([]) - }); - }; - PdQuestionFinancialInfoPage.prototype.createDate = function (date) { - return this.fb.group({ - financial_year: [date, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^[0-9]{4}-[0-9]{2}$/)])], - financial_annual_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^[0-9\(\)]+$/)])], - finanical_profit_or_loss: [''], - financial_net_profit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^-?[1-9]\d*|0$/)])], - financial_net_loss: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^-?[1-9]\d*|0$/)])], - financial_margin_of_profit: [''], - financial_margin_of_loss: [''], - financial_variation: [''], - financial_profit_to_sale_variation: [''], - financial_annualsales_variation: [''], - }); - }; - /** CREATING financial Customer ( financial_year AutoGenerate ) */ - PdQuestionFinancialInfoPage.prototype.createValue = function (date) { - return this.fb.group({ - // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])], - estimate_sales_from: [''], - estimate_sales_to: [''], - estimate_sales_average: [''], - estimate_profit_or_loss: [''], - estimate_net_margin_availablity: [''], - estimate_profit_range_from: [''], - estimate_profit_range_to: [''], - estimate_profit_margin_percent: [''], - estimate_profit_margin: [''], - estimate_net_profit_from: [''], - estimate_net_profit_to: [''], - estimate_net_profit_percent: [''], - estimate_net_profit: [''], - estimate_loss_range_from: [''], - estimate_loss_range_to: [''], - estimate_loss_margin_percent: [''], - estimate_loss_margin: [''], - estimate_net_loss_from: [''], - estimate_net_loss_to: [''], - estimate_net_loss_percent: [''], - estimate_net_loss: [''], - estimate_reason_for_loss: [''], - estimate_posmachine_or_cc_annual_sales: [''], - }); - }; - PdQuestionFinancialInfoPage.prototype.submitDetails = function () { - var _this = this; - if (this.CustSegAbbr == 'AI') { - this.financialForm.removeControl('estimated_value'); - this.financialForm.controls['is_financial_customer'].setValue(''); - } - if (this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1) { - this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators(); - this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators(); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity(); - } - else if (this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) { - this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators(); - this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators(); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity(); - } - var records = this.financialForm.value; - if (records.is_financial_statements == 'yes' && this.picsArrayLength == 0) { - this.toast.pdTriggerappmessage("Photos of Finanical Statements are Required"); - return; - } - records.select_working_capital_facilities_availed = records.select_working_capital_facilities_availed.filter(function (value) { return value.exist_status == 1; }); - if (records.is_there_working_capital_available == "no") { - records.select_working_capital_facilities_availed = []; - if (records.bank_guarantee) - delete records.bank_guarantee; - if (records.cash_credit_limit) - delete records.cash_credit_limit; - if (records.factoring) - delete records.factoring; - if (records.forfaiting) - delete records.forfaiting; - if (records.letter_of_credit) - delete records.letter_of_credit; - if (records.od_limit) - delete records.od_limit; - if (records.other_reason_for_working_capital_facilities_availed) - delete records.other_reason_for_working_capital_facilities_availed; - if (records.reason_for_working_capital_facilities_availed) - delete records.reason_for_working_capital_facilities_availed; - } - this.qustCat.saveForm(records).subscribe(function (res) { - if (res['status'] == 200) { - _this.financialForm.markAsUntouched(); - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Warning !! Something went Wrong"); - } - }, function (err) { - _this.toast.pdTriggerappmessage("Server is not Responding"); - }); - }; - PdQuestionFinancialInfoPage.prototype.getDetails = function () { - var _this = this; - var financeDate = this.financialForm.controls['date_per_financial']; - //financeDate.push(this.createDate('')) - var estimate = this.financialForm.controls['estimated_value']; - //estimate.push(this.createValue('')) - var workingCptlControl = this.financialForm.controls['select_working_capital_facilities_availed']; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = this.FormId; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (value) { - if (value['dataStatus'] == true) { - var retrieveData_1 = value['records']; - // Financial part 1 : Date - if (value['records'].is_financial_statements == 'yes') { - _this.isDisplay = true; - var result = Object.keys(value['records'].date_per_financial).map(function (key) { - return value['records'].date_per_financial[key]; - }); - if (result.length > 0) { - _this.customerCommentsFlag = result.length == 1 ? false : true; - result.forEach(function (val, index) { - _this.FY_annualSalesInwords[index] = _this.cons.convertNumberToWords(val.financial_annual_sale); - _this.FY_netProfitAmtInwords[index] = _this.cons.convertNumberToWords(val.financial_net_profit); - _this.FY_netLossAmtInwords[index] = _this.cons.convertNumberToWords(val.financial_net_loss); - financeDate.push(_this.createDate('')); - }); - retrieveData_1.date_per_financial = result; - } - else { - financeDate.push(_this.createDate('')); - } - } - // Financial part 2 : based on Customersegment we have to Fetch The Estimate Value. - if (_this.CustSegAbbr != 'AI') { - if (value['records'].is_financial_customer == 'no') { - var result_val = Object.keys(value['records'].estimated_value).map(function (key) { - return value['records'].estimated_value[key]; - }); - if (result_val.length > 0) { - result_val.forEach(function (val, index) { - _this.AV_SalesInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_average)); - _this.AV_SalesFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_from)); - _this.AV_SalesToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_to)); - _this.AV_marginProfitAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); - _this.AV_netProfitAmtFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_from)); - _this.AV_netProfitAmtToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_profit_to)); - _this.AV_netProfitAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_profit)); - _this.AV_marginLossAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin)); - _this.AV_netLossAmtFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_from)); - _this.AV_netLossAmtToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_loss_to)); - _this.AV_netLossAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_loss)); - _this.AV_CCAnnualSalesAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_posmachine_or_cc_annual_sales)); - estimate.push(_this.createValue('')); - }); - retrieveData_1.estimated_value = result_val; - } - else { - estimate.push(_this.createValue('')); - } - } - } - else if (_this.CustSegAbbr == 'AI') { - retrieveData_1.estimated_value = []; - } - retrieveData_1.parent_pdid = _this.pdDetails.parent_pd_id; - retrieveData_1.pdid = _this.pdDetails.pd_id; - retrieveData_1.company_id = _this.company_id; - retrieveData_1.fk_createdby = _this.users; - retrieveData_1.formid = _this.FormId; - var avData_1 = _this.av.map(function (item) { return ({ name: item.name, id: item.id }); }); - var exist_av_data_1 = []; - if (retrieveData_1.select_working_capital_facilities_availed) { - exist_av_data_1 = Object.keys(retrieveData_1.select_working_capital_facilities_availed).map(function (key) { - return retrieveData_1.select_working_capital_facilities_availed[key].id; - }); - } - var actual_av = avData_1.map(function (item) { return item.id; }); - var check_exist_av = actual_av.map(function (id, index) { - if (exist_av_data_1.indexOf(id) < 0) { - avData_1[index].exist_status = 0; - return avData_1[index]; - } - else { - avData_1[index].exist_status = 1; - return avData_1[index]; - } - }).filter(function (item) { return item != undefined; }); - if (check_exist_av.length > 0) { - check_exist_av.forEach(function (val) { - workingCptlControl.push(_this.workingCptl(val)); - if (val.exist_status == 1 && val.id == 2) { - _this.financialForm.addControl('bank_guarantee', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (val.exist_status == 1 && val.id == 3) { - _this.financialForm.addControl('cash_credit_limit', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (val.exist_status == 1 && val.id == 4) { - _this.financialForm.addControl('factoring', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (val.exist_status == 1 && val.id == 5) { - _this.financialForm.addControl('forfaiting', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (val.exist_status == 1 && val.id == 6) { - _this.financialForm.addControl('letter_of_credit', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (val.exist_status == 1 && val.id == 7) { - _this.financialForm.addControl('od_limit', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (val.exist_status == 1 && val.id == 1) { - _this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - _this.financialForm.addControl('reason_for_working_capital_facilities_availed', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - }); - retrieveData_1.select_working_capital_facilities_availed = check_exist_av; - } - _this.financialForm.setValue(retrieveData_1); - if (_this.ServiceDataAvailability == false && retrieveData_1.unsold_stock_lies_in_days == 'NA') { - _this.financialForm.controls['unsold_stock_lies_in_days'].setValue(''); - } - } - else { - console.log('didN`T get the api'); - var avData_2 = _this.av.map(function (item) { return ({ name: item.name, id: item.id }); }); - var exist_av_data_2 = []; - var actual_av = avData_2.map(function (item) { return item.id; }); - var check_exist_av = actual_av.map(function (id, index) { - if (exist_av_data_2.indexOf(id) < 0) { - avData_2[index].exist_status = 0; - return avData_2[index]; - } - else { - avData_2[index].exist_status = 1; - return avData_2[index]; - } - }).filter(function (item) { return item != undefined; }); - if (check_exist_av.length > 0) { - check_exist_av.forEach(function (val) { - workingCptlControl.push(_this.workingCptl(val)); - }); - } - //financial_date.push(this.createDate()); - //estimated_val.push(this.createValue('')); - } - }); - }; - PdQuestionFinancialInfoPage.prototype.workingCptl = function (details) { - return this.fb.group({ - id: [details.id, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - name: [details.name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - exist_status: [details.exist_status == 1 ? true : false] - }); - }; - PdQuestionFinancialInfoPage.prototype.changeWorkingCapitalFacilities = function (event) { - if (event.value.exist_status == true && event.value.id == 2) { - console.log('event.value.exist_status == true && event.value.id == 2', event.value.exist_status, event.value.id); - this.financialForm.removeControl('bank_guarantee'); - } - else if (event.value.exist_status == false && event.value.id == 2) { - console.log('event.value.exist_status == true && event.value.id == 2', event.value.exist_status, event.value.id); - this.financialForm.addControl('bank_guarantee', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (event.value.exist_status == true && event.value.id == 3) { - this.financialForm.removeControl('cash_credit_limit'); - } - else if (event.value.exist_status == false && event.value.id == 3) { - this.financialForm.addControl('cash_credit_limit', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (event.value.exist_status == true && event.value.id == 4) { - this.financialForm.removeControl('factoring'); - } - else if (event.value.exist_status == false && event.value.id == 4) { - this.financialForm.addControl('factoring', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (event.value.exist_status == true && event.value.id == 5) { - this.financialForm.removeControl('forfaiting'); - } - else if (event.value.exist_status == false && event.value.id == 5) { - this.financialForm.addControl('forfaiting', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (event.value.exist_status == true && event.value.id == 6) { - this.financialForm.removeControl('letter_of_credit'); - } - else if (event.value.exist_status == false && event.value.id == 6) { - this.financialForm.addControl('letter_of_credit', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (event.value.exist_status == true && event.value.id == 7) { - this.financialForm.removeControl('od_limit'); - } - else if (event.value.exist_status == false && event.value.id == 7) { - this.financialForm.addControl('od_limit', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - if (event.value.exist_status == true && event.value.id == 1) { - this.financialForm.removeControl('other_reason_for_working_capital_facilities_availed'); - this.financialForm.removeControl('reason_for_working_capital_facilities_availed'); - } - else if (event.value.exist_status == false && event.value.id == 1) { - this.financialForm.addControl('other_reason_for_working_capital_facilities_availed', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - this.financialForm.addControl('reason_for_working_capital_facilities_availed', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - // if(event.value.exist_status==true && event.value.id==1){ - // let othersControl = this.businessForm.controls['others_activity_details']; - // othersControl.controls = []; - // othersControl.setValue([]); - // } - // else if(event.value.exist_status==false && event.value.id==1){ - // let othersControl = this.businessForm.controls['others_activity_details']; - // othersControl.push(this.createOthersActivity()); - // } - // check activity type for make dosument sighted filed dynamically - }; - /** - * New Calculation for Finanical Statement - **/ - PdQuestionFinancialInfoPage.prototype.calculationForFinanicalStatement = function () { - var parentArray = this.financialForm.controls['date_per_financial']; - // let prev_annual_sale : any = ''; - // let prev_profit_margin : any = ''; - // let prev_loss_margin : any = ''; - // let prev_profit_amt : any = ''; - // let prev_loss_amt : any = ''; - // let profit_margin : any = ''; - // let loss_margin : any = ''; - // let annual_sale : any = ''; - // let profit_amt : any = ''; - // let loss_amt : any = ''; - var prev_annual_sale = ''; - var prev_profit_margin = []; - var prev_loss_margin = []; - var prev_profit_amt = ''; - var prev_loss_amt = ''; - var profit_margin = ''; - var loss_margin = ''; - var annual_sale = ''; - var profit_amt = ''; - var loss_amt = ''; - parentArray.value.forEach(function (val, index) { - var childArray = parentArray.controls[index]; - annual_sale = val.financial_annual_sale; - /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) - * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales - * Label name : " Sale Variation from Previous Year in % " - */ - if (index != 0) { - if (annual_sale != '') { - var annual_sale_variation = ((annual_sale - prev_annual_sale) / prev_annual_sale) * 100; - var final_annual_sale_variation = (annual_sale_variation != Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2) : 0.00 : 0.00; - childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation); - } - } - else { - childArray.controls.financial_annualsales_variation.setValue(0.00); - } - prev_annual_sale = annual_sale; - /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/ - profit_amt = val.financial_net_profit; - loss_amt = val.financial_net_loss; - /** Calculating Profit's Variation - STARTS HERE - * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount - * Label name : "Profit Variation from Previous Year in %" - */ - if ((profit_amt != '' || loss_amt != '') && index != 0) { - if (+profit_amt > +annual_sale) { - childArray.controls.financial_margin_of_profit.setValue(''); - } - else { - loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss; - prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt; - var variation = (((profit_amt != '' ? profit_amt : loss_amt) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt)) / (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; - var final_variation = variation != Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00; - childArray.controls.financial_variation.setValue(final_variation); - } - } - prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0; - prev_loss_amt = val.financial_net_loss != '' ? val.financial_net_loss : 0; - /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/ - /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation - * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss ) - * Label name : "Net Profit to Sales in % (or) Net Loss to Sales in % - **/ - var SelectedlossOrProfit = val.finanical_profit_or_loss; - if (SelectedlossOrProfit == 1) { - loss_margin = ''; - childArray.controls.financial_margin_of_loss.setValue(''); - if (annual_sale != '' && val.financial_net_profit != '') { - if (+profit_amt > +annual_sale) { - alert("profit is greater than Annual Sale "); - childArray.controls.financial_net_profit.setValue(0); - childArray.controls.financial_margin_of_profit.setValue(''); - childArray.controls.financial_profit_to_sale_variation.setValue(''); - childArray.controls.financial_variation.setValue(''); - } - else { - profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100; - childArray.controls.financial_margin_of_profit.setValue(profit_margin != Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2) : 0 : 0); - } - } - } - else if (SelectedlossOrProfit == 2) { - profit_margin = ''; - childArray.controls.financial_margin_of_profit.setValue(''); - if (annual_sale != '' && val.financial_net_loss != '') { - if (+val.financial_net_loss > +annual_sale) { - alert("Loss is greater than Annual Sale "); - childArray.controls.financial_net_loss.setValue(0); - childArray.controls.financial_margin_of_loss.setValue(''); - childArray.controls.financial_profit_to_sale_variation.setValue(''); - childArray.controls.financial_variation.setValue(''); - } - if (+loss_amt > +annual_sale) { - childArray.controls.financial_net_loss.setValue(0); - childArray.controls.financial_margin_of_loss.setValue(''); - childArray.controls.financial_profit_to_sale_variation.setValue(''); - childArray.controls.financial_variation.setValue(''); - } - else { - loss_margin = (val.financial_net_loss / val.financial_annual_sale) * 100 * (-1); - childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0); - } - } - } - // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit); - // console.log('profit_margin',profit_margin); - // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value); - // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0; - // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ; - prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0; - prev_loss_margin[index] = loss_margin != '' ? loss_margin : 0; - // if(index != 0 ){ - // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; - // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0; - // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent); - // } - /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/ - /** Calculating Sales's Profit Variation - * Label name = "Variation of Profit % over sales" - **/ - if ((profit_margin != '' || loss_margin != '') && index != 0) { - loss_margin = loss_margin !== undefined ? loss_margin : 0; - profit_margin = profit_margin !== undefined ? profit_margin : 0; - var temp_prev_loss_margin = prev_loss_margin[index - 1] !== undefined ? prev_loss_margin[index - 1] : 0; - var temp_prev_profit_margin = prev_profit_margin[index - 1] !== undefined ? prev_profit_margin[index - 1] : 0; - if (annual_sale != '') { - var current_margin = (profit_margin != '' ? parseFloat(profit_margin.toFixed(2)) : - loss_margin != '' ? parseFloat(loss_margin.toFixed(2)) : 0.00); - var pre_margin = (temp_prev_profit_margin != 0 ? parseFloat(temp_prev_profit_margin.toFixed(2)) : - temp_prev_loss_margin != 0 ? parseFloat(temp_prev_loss_margin.toFixed(2)) : 0.00); - var absoulte_value_of_pre_margin = (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : temp_prev_loss_margin != 0 ? Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2))) : 0.00); - var a = current_margin - pre_margin; - var b = parseFloat(a.toFixed(2)) / absoulte_value_of_pre_margin; - var c = b * 100; - // let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin); - // let b = parseFloat(a.toFixed(3)) / (temp_prev_profit_margin != 0 ? Math.abs(parseFloat(temp_prev_profit_margin.toFixed(2))) : Math.abs(parseFloat(temp_prev_loss_margin.toFixed(2)))); - // let c = b * 100; - var final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0; - childArray.controls.financial_profit_to_sale_variation.setValue(final_percent); - } - } - /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/ - }); - }; - PdQuestionFinancialInfoPage.prototype.confirmAlert = function (i, details) { - var estimate_sales_from = +details.value.estimate_sales_from; - var estimate_sales_to = +details.value.estimate_sales_to; - if (estimate_sales_from != null && estimate_sales_to != null) { - if (+estimate_sales_from > +estimate_sales_to) { - // alert("Given To value is lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is lower than From Value"); - details.controls.estimate_sales_to.setValue(''); - details.controls.estimate_sales_average.setValue(''); - return; - } - var C = (estimate_sales_to - estimate_sales_from); - var D = (C / estimate_sales_from) * 100; - if (estimate_sales_from <= 5000000) { - if (D > 20) { - var r = confirm("Given Sales Range is greater than 20%"); - if (r == true) { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - else { - details.controls.estimate_sales_to.setValue(''); - return; - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - } - else if (estimate_sales_from > 5000000 && estimate_sales_from <= 10000000) { - if (D > 15) { - var r = confirm("Given Sales Range is greater than 15%"); - if (r == true) { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - else { - details.controls.estimate_sales_to.setValue(''); - return; - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - } - else if (estimate_sales_from > 10000000) { - if (D > 10) { - var r = confirm("Given Sales Range is greater than 10%"); - if (r == true) { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - else { - details.controls.estimate_sales_to.setValue(''); - return; - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - // if(D >= 30){ - // var r = confirm("Given Sales Range is greater than 30%"); - // if (r == true) { - // details.controls.estimate_sales_to.setValue(estimate_sales_to); - // }else{ - // details.controls.estimate_sales_to.setValue(''); - // return; - // } - // } - // else{ - // details.controls.estimate_sales_to.setValue(estimate_sales_to); - // } - } - this.calculateSalesAverage(i, details); - }; - PdQuestionFinancialInfoPage.prototype.calculateSalesAverage = function (i, details) { - var estimate_sales_from = details.value.estimate_sales_from; - var estimate_sales_to = details.value.estimate_sales_to; - if (estimate_sales_from != '' && estimate_sales_to != '') { - var range1 = +estimate_sales_from / 10; - var lower = (+estimate_sales_from) + range1; - var higer = ((+estimate_sales_to + +estimate_sales_from) / 2); - if (lower > higer) { - details.controls.estimate_sales_average.setValue(higer != Infinity ? higer.toFixed(2) : 0); - this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_sales_average.setValue(lower != Infinity ? lower.toFixed(2) : 0); - this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else { - details.controls.estimate_sales_average.setValue(''); - } - }; - PdQuestionFinancialInfoPage.prototype.calculateMarginProfit = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - // alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_profit_range_from.setValue(''); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - var estimate_profit_range_from = details.value.estimate_profit_range_from; - if (+estimate_profit_range_from > 100) { - // alert('Given Profit percent is More Than 100'); - this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"); - details.controls.estimate_profit_range_from.setValue(''); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - var estimate_profit_range_to = details.value.estimate_profit_range_to; - if (+estimate_profit_range_to > 100) { - // alert('Given Profit percent is More Than 100'); - this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != '') { - if (+estimate_profit_range_from > +estimate_profit_range_to) { - // alert("Given To value is lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is lower than From Value"); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - var profit_percent = (estimate_profit_range_to + estimate_profit_range_from) / 2; - var Profit_Average = (profit_percent * sales_average) / 100; - var difference = (estimate_profit_range_to - estimate_profit_range_from); - if (difference > 3) { - var r = confirm("Given Profit Percent Range is greater than 3"); - if (r == true) { - details.controls.estimate_profit_margin.setValue(Profit_Average != Infinity ? Math.round(Profit_Average) : 0); - details.controls.estimate_profit_margin_percent.setValue(profit_percent != Infinity ? profit_percent.toFixed(2) : 0); - this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); - } - else { - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - } - details.controls.estimate_profit_margin.setValue(Profit_Average != Infinity ? Math.round(Profit_Average) : 0); - details.controls.estimate_profit_margin_percent.setValue(profit_percent != Infinity ? profit_percent.toFixed(2) : 0); - this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); - // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average)); - // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2)); - } - }; - PdQuestionFinancialInfoPage.prototype.calculateProfitAmount = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - //alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_net_profit_from.setValue(''); - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - var estimate_net_profit_from = details.value.estimate_net_profit_from; - var estimate_net_profit_to = details.value.estimate_net_profit_to; - if (+estimate_net_profit_to > +sales_average) { - //alert("Given Profit is Greater than Sales"); - this.toast.pdTriggerappmessage("Given Profit is Greater than Sales"); - details.controls.estimate_net_profit_from.setValue(''); - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != '') { - if (+estimate_net_profit_from > +estimate_net_profit_to) { - // alert("Given To value is lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is lower than From Value"); - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - var C = (estimate_net_profit_to - estimate_net_profit_from); - var D = (C / estimate_net_profit_from) * 100; - var range1 = +estimate_net_profit_from / 10; - var lower = (+estimate_net_profit_from) + range1; - var higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2); - if (estimate_net_profit_from <= 5000000) { - if (D >= 20) { - var r = confirm("Given Profit Range is greater than 20%"); - if (r == true) { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - else { - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000) { - if (D >= 15) { - var r = confirm("Given Sales Range is greater than 15%"); - if (r == true) { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - else { - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_profit_from > 10000000) { - if (D >= 10) { - var r = confirm("Given Sales Range is greater than 10%"); - if (r == true) { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - else { - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - } - }; - PdQuestionFinancialInfoPage.prototype.calculateMarginLoss = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - // alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_loss_range_from.setValue(''); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - // else{ - var estimate_loss_range_from = details.value.estimate_loss_range_from; - if (+estimate_loss_range_from > 100) { - // alert('Given Loss Percent is more than 100'); - this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"); - details.controls.estimate_loss_range_from.setValue(''); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - var estimate_loss_range_to = details.value.estimate_loss_range_to; - if (+estimate_loss_range_to > 100) { - // alert('Given Loss Percent is more than 100'); - this.toast.pdTriggerappmessage("Given Loss Percent is more than 100 "); - details.controls.estimate_loss_range_from.setValue(''); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != '') { - if (+estimate_loss_range_from > +estimate_loss_range_to) { - //alert("Given Loss Percent is more than 100"); - this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - var loss_percent = (estimate_loss_range_to + estimate_loss_range_from) / 2; - var loss_Average = (loss_percent * sales_average) / 100; - var difference = (estimate_loss_range_to - estimate_loss_range_from); - // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average)); - // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2)); - // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); - if (difference > 3) { - var r = confirm("Given Loss Percent Range is greater than 3"); - if (r == true) { - details.controls.estimate_loss_margin.setValue(loss_Average != Infinity ? Math.round(loss_Average) : 0); - details.controls.estimate_loss_margin_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); - } - else { - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - } - details.controls.estimate_loss_margin.setValue(loss_Average != Infinity ? Math.round(loss_Average) : 0); - details.controls.estimate_loss_margin_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); - } - }; - PdQuestionFinancialInfoPage.prototype.calculateLossAmount = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - // alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_net_loss_from.setValue(''); - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - var estimate_net_loss_from = details.value.estimate_net_loss_from; - var estimate_net_loss_to = details.value.estimate_net_loss_to; - if (+estimate_net_loss_to > +sales_average) { - // alert("Given Loss is Greater than Sales"); - this.toast.pdTriggerappmessage("Given Loss is Greater than Sales"); - details.controls.estimate_net_loss_from.setValue(''); - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != '') { - if (+estimate_net_loss_from > +estimate_net_loss_to) { - //alert("Given To value is Lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is Lower than From Value"); - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - // if(+estimate_net_loss_to > +estimate_net_loss_from){ - // alert("loss is greater than sales"); - // details.controls.estimate_net_loss_to.setValue(''); - // details.controls.estimate_net_loss.setValue(''); - // details.controls.estimate_net_loss_percent.setValue(''); - // return; - // } - var C = (estimate_net_loss_to - estimate_net_loss_from); - var D = (C / estimate_net_loss_from) * 100; - var range1 = +estimate_net_loss_from / 10; - var lower = (+estimate_net_loss_from) + range1; - var higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2); - if (estimate_net_loss_from <= 5000000) { - if (D >= 20) { - var r = confirm("Given Profit Range is greater than 20%"); - if (r == true) { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - else { - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000) { - if (D >= 15) { - var r = confirm("Given Sales Range is greater than 15%"); - if (r == true) { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - else { - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_loss_from > 10000000) { - if (D >= 10) { - var r = confirm("Given Sales Range is greater than 10%"); - if (r == true) { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - else { - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - } - }; - /** On Key Press Event For Input Field */ - PdQuestionFinancialInfoPage.prototype.keyPress = function (event) { - //const pattern = /[0-9\-\.\ ]/; - var pattern = /[0-9\.]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - /** To Convert Amount into Words */ - PdQuestionFinancialInfoPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); - // this.placeholderName[i] = 'Weekly Instalment Amount'; break; - break; - case 2: - this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]); - break; - case 3: - this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]); - break; - case 4: - this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 5: - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 6: - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 7: - this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 8: - this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 9: - this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 10: - this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 11: - this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 12: - this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 13: - this.AV_CCAnnualSalesAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - /*IMAGE SECTION*/ - PdQuestionFinancialInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - _this.picsArrayLength = val['records'].length; - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionFinancialInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFinancialInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFinancialInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionFinancialInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionFinancialInfoPage.prototype.captureTheFinancialPics = function (value) { - // alert('Value '+value+' - '+this.picsArrayLength); - if (value == 'yes' && this.picsArrayLength == 0) { - alert('You Must Take The Finanical Pic'); - } - else { - alert('No Need'); - } - }; - PdQuestionFinancialInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionFinancialInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.formDetails.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionFinancialInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-financial-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-financial-info\pd-question-financial-info.html"*/'\n\n\n\n\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
Data As Per Financial Statements
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n Enter year from Which Financials Provided\n\n \n\n Invalid year format\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n Financial Year : {{details.get(\'financial_year\').value}}\n\n
\n\n \n\n {{"₹"}} {{FY_annualSalesInwords[i]}} Only \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

\n\n \n\n No difference in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_annualsales_variation\').value}} % \n\n \n\n \n\n Decrease in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_annualsales_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n
\n\n \n\n \n\n Select\n\n Net Profit\n\n Net Loss\n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{FY_netProfitAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}}{{FY_netLossAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n

\n\n \n\n No difference in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_variation\').value}} % \n\n \n\n \n\n Decrease in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n \n\n \n\n \n\n

\n\n \n\n No difference in Profit/Loss to sales % in FY {{details.get(\'financial_year\').value}} over Profit/Loss to sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Profit/Loss to sales % in FY {{details.get(\'financial_year\').value}} over Profit/Loss to sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_profit_to_sale_variation\').value}} % \n\n \n\n \n\n Decrease in Profit/Loss to sales % in FY {{details.get(\'financial_year\').value}} over Profit/Loss to sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_profit_to_sale_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
Latest year\'s Financials as per Applicant Met
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesFrmInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesToInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesInwords[i]}} Only\n\n \n\n\n\n \n\n \n\n Select\n\n Net Profit\n\n Net Loss\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_marginProfitAmtInwords[i]}} Only \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtFrmInwords[i]}} Only \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtToInwords[i]}} Only \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtInwords[i]}} Only \n\n \n\n \n\n\n\n \n\n \n\n {{"₹"}} {{AV_CCAnnualSalesAmtInwords[i]}} Only \n\n \n\n
\n\n \n\n \n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_marginLossAmtInwords[i]}} Only \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtFrmInwords[i]}} Only \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtToInwords[i]}} Only \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtInwords[i]}} Only\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
Working Capital Details
\n\n
\n\n
\n\n \n\n \n\n \n\n In case of Credit Sales, what is the average no of days taken to receive the money?\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n

Working Capital Facilities availed

\n\n
\n\n\n\n
\n\n
\n\n {{entityType.controls.name.value}}\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-financial-info\pd-question-financial-info.html"*/, - encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_12" /* ViewEncapsulation */].None, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionFinancialInfoPage); - return PdQuestionFinancialInfoPage; -}()); - -//# sourceMappingURL=pd-question-financial-info.js.map - -/***/ }), - -/***/ 215: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionClientInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionClientInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionClientInfoPage = (function () { - function PdQuestionClientInfoPage(navCtrl, navParams, qustCat, aws, toast, fb, loading, cameraProvider, constantProvider) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.fb = fb; - this.loading = loading; - this.cameraProvider = cameraProvider; - this.constantProvider = constantProvider; - this.submitted = false; - this.m_paymentType = []; - this.companyRelationShipList = []; - this.titleList = []; - this.noRecordsFound = false; - this.errorMessage = ''; - this.m_manufacturingProducts = []; - this.m_tradingProducts = []; - this.m_suplierProducts = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.manufacturingForm = false; - this.tradingForm = false; - this.serviceProviderForm = false; - this.mfgCreditCardFlag = false; - this.trdCreditCardFlag = false; - this.spCreditCardFlag = false; - this.mfgCounter = []; - this.trdCounter = []; - this.spCounter = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.pdid = this.pdDetails.pd_id; - this.company_id = this.pdDetails.company_id; - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(function (data) { - if (data.dataStatus) { - var datas_1 = data.records; - _this.m_manufacturingProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 2) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - _this.m_suplierProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 5) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - var api = Object.keys(datas_1.type_of_activity).map(function (key) { - return datas_1.type_of_activity[key]; - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - _this.m_tradingProducts.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - _this.m_tradingProducts.push(val.prodcuts); - } - } - }); - } - _this.m_tradingProducts = [].concat.apply([], _this.m_tradingProducts); - _this.initFormLoadDetails(datas_1.type_of_activity); - } - else { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = data.msg; - } - }, function (err) { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = 'No Records Found , Something went Wrong!'; - }); - this.getdropList(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - console.log("form values", this.clientInfoForm); - } - PdQuestionClientInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionClientInfoPage'); - this.getPDImages(); - }; - PdQuestionClientInfoPage.prototype.initFormLoadDetails = function (record) { - var _this = this; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdid; - params.pd_form_id = this.formDetails.form_id; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (data) { - if (data['dataStatus']) { - var dataForm_1 = data['records']; - if (dataForm_1 !== undefined) { - _this.clientInfoForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), - supplier_info_form_remark: [dataForm_1.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - // Load form details for manufacturing - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - // if(dataForm.manufacturing_details[0].main_raw_materials){ - if (arr.length > 0) { - // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) { - // return dataForm.main_raw_materials[key]; - // }); - if (dataForm_1.manufacturing_details) { - console.log(dataForm_1); - var api_main_raw_materials = dataForm_1.manufacturing_details[0].main_raw_materials; - _this.initManufacturingProductsDetails(api_main_raw_materials); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm_1.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null); - } - else { - console.log("NO Data", dataForm_1); - _this.initManufacturingProductsDetails(null); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - } - // } - // Load form details for the wholeshale trading details - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) { - // return dataForm.trading_products[key]; - // }); - if (dataForm_1.trade_details) { - var api_trading_products = dataForm_1.trade_details[0].trading_products; - _this.initTradingProductsDetails(api_trading_products); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm_1.trade_details[0].trading_products_total_payments_percent_on_credit || null); - } - else { - _this.initTradingProductsDetails(null); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - } - // Load form details for the service provider prduct details - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) { - // return dataForm.service_products[key]; - // }); - if (dataForm_1.service_provider_details) { - var api_service_provider_products = dataForm_1.service_provider_details[0].service_products; - _this.initServiceProviderProductsDetails(api_service_provider_products); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm_1.service_provider_details[0].service_products_total_payments_percent_on_credit || null); - } - else { - _this.initServiceProviderProductsDetails(null); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); - } - } - // Load form details for the retail trading details - var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); - // if (arr3.length > 0) { - // this.retaildTradingForm = true; - // } - _this.noRecordsFound = true; - } - else { - _this.clientInfoForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), - supplier_info_form_remark: [dataForm_1.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - var api_service_provider_products = Object.keys(dataForm_1.service_products).map(function (key) { - return dataForm_1.service_products[key]; - }); - _this.initServiceProviderProductsDetails(api_service_provider_products); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); - } - // Load form details for the retail trading details - var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); - // if (arr3.length > 0) { - // this.retaildTradingForm = true; - // } - _this.noRecordsFound = true; - } - } - else { - _this.clientInfoForm = _this.fb.group({ - parent_pdid: [_this.pdDetails.parent_pd_id], - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), - supplier_info_form_remark: [] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - _this.initServiceProviderProductsDetails(null); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); - } - // Load form details for the retail trading details - var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); - // if (arr3.length > 0) { - // this.retaildTradingForm = true; - // } - _this.noRecordsFound = true; - } - }, function (err) { - }); - }; - PdQuestionClientInfoPage.prototype.manufacturingFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - this.manufacturingForm = true; - return this.fb.group({ - main_raw_materials: this.fb.array([]), - main_raw_materials_total_payments_percent_on_credit: [] - }); - // } - } - else { - return; - } - }; - PdQuestionClientInfoPage.prototype.tradingFormCreation = function (val) { - // let arr = val.filter(data => data.type_of_activity_id == 4); - var arr = val.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr.length > 0) { - this.tradingForm = true; - return this.fb.group({ - trading_products: this.fb.array([]), - trading_products_total_payments_percent_on_credit: [] - }); - } - else { - return; - } - }; - PdQuestionClientInfoPage.prototype.serviceProviderFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr.length > 0) { - this.serviceProviderForm = true; - return this.fb.group({ - service_products: this.fb.array([]), - service_products_total_payments_percent_on_credit: [] - }); - } - else { - return; - } - }; - PdQuestionClientInfoPage.prototype.initManufacturingProductsDetails = function (datas) { - var _this = this; - var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - if (datas === null) { - control.push(this.initManufacturingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.manufacturing_payment_type, 1, inx); - control.push(_this.initManufacturingProducts(val)); - }); - // for (let val of datas) { - // control.push(this.initManufacturingProducts(val)); - // } - } - }; - PdQuestionClientInfoPage.prototype.initManufacturingProducts = function (records) { - if (records === null) { - return this.fb.group({ - manufacturing_product_name: [''], - manufacturing_client_name: [''], - manufacturing_contact_person_name: [''], - manufacturing_contact_person_mobile_number: [''], - manufacturing_payment_type: [''], - manufacturing_payment_mode: [''], - // manufacturing_credit_days: [''], - person_title_name: [''], - person_designation: [''], - person_stdcode: [''], - person_landline: [''], - other_person_designation: [''], - manufacturing_credit_days_from: [''], - manufacturing_credit_days_to: [''] - }); - } - else { - return this.fb.group({ - manufacturing_product_name: [records.manufacturing_product_name || null], - manufacturing_client_name: [records.manufacturing_client_name || null], - manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null], - manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null], - manufacturing_payment_type: [records.manufacturing_payment_type || null], - manufacturing_payment_mode: [records.manufacturing_payment_mode || null], - manufacturing_credit_days: [records.manufacturing_credit_days || null], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - person_stdcode: [records.person_stdcode || null], - person_landline: [records.person_landline || null], - other_person_designation: [records.other_person_designation || null], - manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null], - manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null] - }); - } - }; - PdQuestionClientInfoPage.prototype.initTradingProductsDetails = function (datas) { - var _this = this; - var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - if (datas === null) { - control.push(this.initTradingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.trade_product_payment_type, 2, inx); - control.push(_this.initTradingProducts(val)); - }); - // for (let val of datas) { - // control.push(this.initTradingProducts(val)); - // } - } - }; - PdQuestionClientInfoPage.prototype.initTradingProducts = function (records) { - if (records === null) { - return this.fb.group({ - trade_product_name: [''], - trade_client_name: [''], - trade_product_contact_person_name: [''], - trade_product_contact_person_mobile_number: [''], - trade_product_payment_type: [''], - trade_product_payment_mode: [''], - trade_product_frequency_of_purchase: [''], - trade_product_credit_days_from: [''], - trade_product_credit_days_to: [''], - person_title_name: [''], - person_designation: [''], - person_stdcode: [''], - person_landline: [''], - other_person_designation: [''], - }); - } - else { - return this.fb.group({ - trade_product_name: [records.trade_product_name], - trade_client_name: [records.trade_client_name], - trade_product_contact_person_name: [records.trade_product_contact_person_name], - trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number], - trade_product_payment_type: [records.trade_product_payment_type], - trade_product_payment_mode: [records.trade_product_payment_mode], - trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase], - trade_product_credit_days_from: [records.trade_product_credit_days_from], - trade_product_credit_days_to: [records.trade_product_credit_days_to], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - person_stdcode: [records.person_stdcode || null], - person_landline: [records.person_landline || null], - other_person_designation: [records.other_person_designation || null], - }); - } - }; - PdQuestionClientInfoPage.prototype.initServiceProviderProductsDetails = function (datas) { - var _this = this; - var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; - if (datas === null) { - control.push(this.initServiceProviderProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.service_provider_product_payment_type, 3, inx); - control.push(_this.initServiceProviderProducts(val)); - }); - // for (let val of datas) { - // control.push(this.initServiceProviderProducts(val)); - // } - } - }; - PdQuestionClientInfoPage.prototype.initServiceProviderProducts = function (records) { - if (records === null) { - return this.fb.group({ - service_provider_product_name: [''], - service_provider_client_name: [''], - service_provider_product_contact_person_name: [''], - service_provider_product_contact_person_mobile_number: [''], - service_provider_product_payment_type: [''], - service_provider_product_payment_mode: [''], - service_provider_product_frequency_of_purchase: [''], - service_provider_product_credit_days_from: [''], - service_provider_product_credit_days_to: [''], - person_title_name: [''], - person_designation: [''], - person_stdcode: [''], - person_landline: [''], - other_person_designation: [''], - }); - } - else { - return this.fb.group({ - service_provider_product_name: [records.service_provider_product_name], - service_provider_client_name: [records.service_provider_client_name], - service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name], - service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number], - service_provider_product_payment_type: [records.service_provider_product_payment_type], - service_provider_product_payment_mode: [records.service_provider_product_payment_mode], - service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase], - service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from], - service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - person_stdcode: [records.person_stdcode || null], - person_landline: [records.person_landline || null], - other_person_designation: [records.other_person_designation || null], - }); - } - }; - PdQuestionClientInfoPage.prototype.addMoreRawMaterials = function (e) { - // e.stropPropagation(); - var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.push(this.initManufacturingProducts(null)); - }; - PdQuestionClientInfoPage.prototype.removeRawMaterials = function (inx) { - var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.removeAt(inx); - }; - PdQuestionClientInfoPage.prototype.addMoretradeProduct = function (e) { - // e.stropPropagation(); - var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.push(this.initTradingProducts(null)); - }; - PdQuestionClientInfoPage.prototype.removeTradingProduct = function (inx) { - var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.removeAt(inx); - }; - PdQuestionClientInfoPage.prototype.addMoreServiceProduct = function (e) { - // e.stropPropagation(); - var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; - control.push(this.initServiceProviderProducts(null)); - }; - PdQuestionClientInfoPage.prototype.removeServiceProduct = function (inx) { - var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; - control.removeAt(inx); - }; - PdQuestionClientInfoPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - _this.companyRelationShipList = data['records']; - // .filter(data => data.isactive == 1); - // because in general no need of "other" option but in client others option needed - in DB others option changed into inactive" - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (data) { - _this.titleList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('PAYMENTMODE').subscribe(function (data) { - _this.m_paymentType = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - }; - // saveclientDetails(answerData) - // { - // let records:any ={}; - // records.pdid = this.pdDetails.pd_id; - // records.formid = this.FormId.form_id; - // records.fk_createdby = this.users; - // records.client_details = answerData.clientArray; - // this.qustCat.saveForm(records).subscribe(res=> - // { - // if(res['dataStatus']==true) - // { - // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // this.navCtrl.pop(); - // } - // }); - // } - PdQuestionClientInfoPage.prototype.saveClientInfoWithImageCheck = function (answerFormValues) { - var _this = this; - console.log("forms", answerFormValues); - var required_imageCheck = this.mandatoryImageCheck(answerFormValues); - console.log("required image check", required_imageCheck); - if (!required_imageCheck) { - var alert_1 = this.toast.setAlert("Mandatory photographs not taken", " Do you want to take it later?"); - alert_1.present(); - alert_1.onDidDismiss(function (value) { - if (value == 's') { - _this.saveClientInfo(answerFormValues); - } - else { - return true; - } - }); - } - else { - this.saveClientInfo(answerFormValues); - } - }; - /** To Save/Edited Popup Data */ - PdQuestionClientInfoPage.prototype.saveClientInfo = function (answerFormValues) { - var _this = this; - // answerFormValues.trade_details.forEach((value)=>{ - // value.trading_products.forEach() - // }) - // this.imageDisplay.forEach((res,index)=>{ - // if(res.Name == ) - // }) - Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); - if (answerFormValues.manufacturing_details[0] == null) { - delete answerFormValues['manufacturing_details']; - } - if (answerFormValues.trade_details[0] == null) { - delete answerFormValues['trade_details']; - } - if (answerFormValues.service_provider_details[0] == null) { - delete answerFormValues['service_provider_details']; - } - //To Remove The "Null" With Key also - Object.keys(answerFormValues).forEach(function (key) { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { - delete answerFormValues[key]; - } ; }); - this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { - if (responsed['status'] == 200) { - _this.clientInfoForm.markAsUntouched(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionClientInfoPage.prototype.selectedPersonDesignation = function (items, e, flag) { - if (flag == 1) { - // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required]) - // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - else if (flag == 2) { - // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) - // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - else if (flag == 3) { - // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) - // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - }; - PdQuestionClientInfoPage.prototype.checkCard = function (e, flag, index) { - if (flag == 3 && e == 3) { - this.spCounter[index] = 1; - } - else if (flag == 3 && e != 3) { - this.spCounter[index] = 0; - } - var SP = this.spCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.spCreditCardFlag = SP > 0 ? true : false; - if (flag == 2 && e == 3) { - this.trdCounter[index] = 1; - } - else if (flag == 2 && e != 3) { - this.trdCounter[index] = 0; - } - var TRD = this.trdCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.trdCreditCardFlag = TRD > 0 ? true : false; - if (flag == 1 && e == 3) { - this.mfgCounter[index] = 1; - } - else if (flag == 1 && e != 3) { - this.mfgCounter[index] = 0; - } - var MFG = this.mfgCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.mfgCreditCardFlag = MFG > 0 ? true : false; - }; - /*IMAGE SECTION*/ - PdQuestionClientInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionClientInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionClientInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionClientInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionClientInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionClientInfoPage.prototype.captureTheClientPics = function (materialName, index, clientName) { - var _this = this; - if (clientName != '') { - // 'Raw Material','l',items.get('manufacturing_supplier_name').value - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': clientName + ' - ' + materialName + ' ' + (index + 1), 'link': geoCoordinates }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - } - else if (clientName == '') { - alert('Please Fill The Client Name'); - } - }; - PdQuestionClientInfoPage.prototype.mandatoryImageCheck = function (Form_values) { - var _this = this; - var Form_names = []; - if (Form_values.manufacturing_details.length != 0 && Form_values.manufacturing_details[0] != null) { - if (Form_values.manufacturing_details[0].main_raw_materials.length != 0) { - Form_values.manufacturing_details[0].main_raw_materials.forEach(function (value, index) { - Form_names.push({ 'index': index + 1, 'name': value.manufacturing_client_name + ' - ' + 'Manufacturing Product ' + (index + 1) }); - }); - } - } - if (Form_values.service_provider_details.length != 0 && Form_values.service_provider_details[0] != null) { - if (Form_values.service_provider_details[0].service_products.length != 0) { - Form_values.service_provider_details[0].service_products.forEach(function (value, index) { - Form_names.push({ 'index': index + 1, 'name': value.service_provider_client_name + ' - ' + 'Service Provider ' + (index + 1) }); - }); - } - } - if (Form_values.trade_details.length != 0 && Form_values.trade_details[0] != null) { - if (Form_values.trade_details[0].trading_products.length != 0) { - Form_values.trade_details[0].trading_products.forEach(function (value, index) { - Form_names.push({ 'index': index + 1, 'name': value.trade_client_name + ' - ' + 'Trading Product ' + (index + 1) }); - }); - } - } - console.log("Form Values", Form_names); - // console.log("image values",this.imageDisplay) - var valBool; - var count = 0; - var mandatoryimgSaved = []; - var mandatoryimgNotSaved = []; - if (Form_names.length != 0) { - // if( this.imageDisplay.length !=0){ - Form_names.forEach(function (formvalue) { - _this.imageDisplay.forEach(function (imgvalue) { - // console.log("Form values individuals",formvalue) - if (formvalue.name != imgvalue.Name) { - valBool = true; - } - else { - valBool = false; - count++; - } - if (count >= 2 && valBool == false) { - // console.log("end of image dis",formvalue.name,"count ",count) - mandatoryimgSaved.push(formvalue.name); - // return - } - else { - mandatoryimgNotSaved.push(formvalue.name); - return; - } - }); - if (valBool == true) - console.log("Form name", formvalue.name); - mandatoryimgNotSaved.push(formvalue.name); - }); - // console.log("mandatoryimgSaved",mandatoryimgSaved) - // console.log("mandatoryimgNot Saved",mandatoryimgNotSaved) - mandatoryimgSaved.forEach(function (res) { - mandatoryimgNotSaved = mandatoryimgNotSaved.filter(function (val) { return val != res; }); - }); - // console.log("res for not saved img",mandatoryimgNotSaved); - // let uniquenotsavedImage=[ ...new Set(mandatoryimgNotSaved)] - var uniquenotsavedImage = function (mandatoryimgNotSaved) { return mandatoryimgNotSaved.filter(function (val, i) { return mandatoryimgNotSaved.indexOf(val) === i; }); }; - console.log("uniw", uniquenotsavedImage(mandatoryimgNotSaved)); - if (uniquenotsavedImage(mandatoryimgNotSaved).length > 0) { - return false; - } - else { - return true; - } - //COUNTING THE DUPLICATES IN AN ARRAY - // var arr = ['a','b','c','d','d','e','a','b','c','f','g','h','h','h','e','a']; - // var map = arr.reduce(function(prev, cur) { - // prev[cur] = (prev[cur] || 0) + 1; - // return prev; - // }, {}); - // map is an associative array mapping the elements to their frequency: - // console.log(map); - // prints {"a": 3, "b": 2, "c": 2, "d": 2, "e": 2, "f": 1, "g": 1, "h": 3} - // } - // else{ - // return true - // } - } - else { - return true; - } - }; - PdQuestionClientInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionClientInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.formDetails.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionClientInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-client-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-client-info\pd-question-client-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Manufacturing Product Details
\n\n
\n\n
\n\n
\n\n
\n\n Manufacturing Product #{{l+1}}\n\n \n\n \n\n
\n\n \n\n \n\n Select\n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number\n\n \n\n \n\n \n\n Select\n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n Select\n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n Payment received in Cash and Bank.\n\n \n\n \n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
Trading Product Details
\n\n
\n\n
\n\n
\n\n
\n\n Trading Product #{{l+1}}\n\n \n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number\n\n \n\n \n\n \n\n Enter Valid STD Code Number\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number\n\n \n\n \n\n Select\n\n {{\n\n pm.name }}\n\n \n\n\n\n \n\n \n\n \n\n Select\n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n Payment received in Cash and Bank.\n\n \n\n\n\n \n\n \n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
Service Provider Product Details
\n\n \n\n
\n\n
\n\n
\n\n
\n\n Service Provider #{{l+1}}\n\n \n\n \n\n
\n\n \n\n Select\n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number\n\n \n\n \n\n \n\n Enter Valid STD Code Number\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n Payment received in Cash and Bank.\n\n \n\n \n\n \n\n
\n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-client-info\pd-question-client-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionClientInfoPage); - return PdQuestionClientInfoPage; -}()); - -//# sourceMappingURL=pd-question-client-info.js.map - -/***/ }), - -/***/ 216: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDashPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(384); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_summary_pd_question_assessed_summary__ = __webpack_require__(392); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_question_pd_question_assessed_images_pd_question_assessed_images__ = __webpack_require__(393); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionAssessedDashPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedDashPage = (function () { - function PdQuestionAssessedDashPage(navCtrl, navParams, aws, fb, qustCat, toast, alertCtrl) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustCat = qustCat; - this.toast = toast; - this.alertCtrl = alertCtrl; - this.purchaseBillData = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.assessedForm = this.fb.group({ - calc_type_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - // radio_for_mode:[null,Validators.compose([Validators.required])], - mode: [null], - margin: [null], - purchase_type: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_createdby: [null], - fk_updatedby: [null], - }); - } - PdQuestionAssessedDashPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedDashPage'); - }; - PdQuestionAssessedDashPage.prototype.ionViewCanEnter = function () { - this.getassessedIncome(); - }; - PdQuestionAssessedDashPage.prototype.getViewPage = function (pageId) { - if (pageId == 11) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_summary_pd_question_assessed_summary__["a" /* PdQuestionAssessedSummaryPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId }); - } - else if (pageId == 12) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_pd_question_assessed_images_pd_question_assessed_images__["a" /* PdQuestionAssessedImagesPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId, 'formdetails': this.FormId }); - } - else { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId }); - } - }; - PdQuestionAssessedDashPage.prototype.saveAssessedForm = function (answerData) { - var _this = this; - if (this.assessedForm.valid) { - console.log("mode", answerData.purchase_type.value); - if (this.assessedForm.controls['purchase_type'].value == 1) { - this.assessedForm.controls['mode'].setValue(1); - this.assessedForm.controls['margin'].setValue(null); - } - else if (this.assessedForm.controls['purchase_type'].value == 2) { - this.assessedForm.controls['mode'].setValue(1); - this.assessedForm.controls['margin'].setValue(null); - } - else if (this.assessedForm.controls['purchase_type'].value == 0) { - this.assessedForm.controls['mode'].setValue(2); - this.assessedForm.controls['margin'].setValue(2); - this.assessedForm.controls['purchase_type'].setValue(null); - } - if (this.assessedForm.controls['calc_type_id'].value != null) { - this.assessedForm.controls['fk_updatedby'].setValue(this.users); - } - if (this.assessedForm.controls['fk_createdby'].value == null) { - this.assessedForm.controls['fk_createdby'].setValue(this.users); - } - console.log(this.assessedForm.value); - var tempRec = this.assessedForm.value; - tempRec.company_id = this.pdDetails.company_id; - console.log("tempRec", tempRec); - var records = { 'records': tempRec }; - // delete records.records.radio_for_mode - // console.log("after",records); - this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Saved Successfully..!"); - setTimeout(function () { - _this.getassessedIncome(); - }); - } - else { - } - }); - } - }; - PdQuestionAssessedDashPage.prototype.getassessedIncome = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.assessedProcess = true; - _this.grossprofit = res['records'].gross_profit_calculation_type[0]; - if (res['records'].purchase_details.length != 0) { - _this.purchaseData = true; - } - if (res['records'].purchase_billwise.length != 0) { - _this.purchaseBillData = true; - } - if (res['records'].sales_items_by_monthwise.length != 0 || res['records'].sales_declared_by_customer.length != 0 || res['records'].sales_calculated_by_itemwise.length != 0) { - _this.salesData = true; - } - if (res['records'].business_expenses.length != 0) { - _this.businessData = true; - } - if (res['records'].house_hold_expenses.length != 0) { - _this.houseExpenseData = true; - } - if (res['records'].othre_business_income.length != 0) { - _this.businessIncome = true; - } - if (res['records'].final_data.length != 0) { - _this.finalAccess = true; - _this.finalData = res['records'].final_data[0]; - _this.finalIncome = _this.finalData.income; - _this.finalExpense = _this.finalData.expense; - } - if (_this.grossprofit !== undefined && _this.grossprofit.length != 0) { - _this.grossAccess = true; - _this.assessedForm.controls['mode'].setValue(_this.grossprofit.mode); - if (_this.grossprofit.purchase_type == null) { - _this.assessedForm.controls['purchase_type'].setValue(0); - } - else { - _this.assessedForm.controls['purchase_type'].setValue(_this.grossprofit.purchase_type); - } - _this.assessedForm.controls['margin'].setValue(_this.grossprofit.margin); - _this.assessedForm.controls['calc_type_id'].setValue(_this.grossprofit.calc_type_id); - _this.assessedForm.controls['fk_createdby'].setValue(_this.grossprofit.fk_createdby); - } - } - else { - _this.assessedProcess = false; - } - }); - }; - PdQuestionAssessedDashPage.prototype.completeAI = function () { - var _this = this; - var updateStatus = { - "fk_pd_id": this.pdDetails.pd_id, - "company_id": this.pdDetails.company_id, - "calc_type_id": this.grossprofit.calc_type_id, - "is_completed": 1 - }; - var records = { 'records': updateStatus }; - this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Assessed Income Completed Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1000); - } - else { - _this.toast.pdTriggerappmessage("Error"); - } - }); - }; - PdQuestionAssessedDashPage.prototype.presentConfirm = function () { - var _this = this; - var alert = this.alertCtrl.create({ - title: 'Complete Assessed Income', - message: 'Please confirm you are completing the Assessed Income details?', - buttons: [ - { - text: 'No', - role: 'no', - handler: function () { - console.log("Cancel clicked"); - //this.alertShown=false - alert.dismiss; - } - }, - { - text: 'Yes', - handler: function () { - console.log("Exit"); - _this.completeAI(); - } - } - ] - }); - alert.present(); - // this.alertShown=true; - }; - PdQuestionAssessedDashPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-dash',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-dash\pd-question-assessed-dash.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Purchase Calculation\n\n \n\n \n\n \n\n
\n\n \n\n

Purchase Detail Available

\n\n \n\n Purchase Item Wise
\n\n Purchase Bill Wise
\n\n Not Available\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

SALES

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

PURCHASE ITEM WISE

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

PURCHASE BILL WISE

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

BUSINESS EXPENSES

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

HOUSEHOLD EXPENSES

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

SUMMARY

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n

IMAGES

\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-dash\pd-question-assessed-dash.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */]]) - ], PdQuestionAssessedDashPage); - return PdQuestionAssessedDashPage; -}()); - -//# sourceMappingURL=pd-question-assessed-dash.js.map - -/***/ }), - -/***/ 217: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatabaseProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__ = __webpack_require__(410); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the DatabaseProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var DatabaseProvider = (function () { - function DatabaseProvider(http, sql) { - this.http = http; - this.sql = sql; - console.log('Hello DatabaseProvider Provider'); - this.createnewdb(); - } - DatabaseProvider.prototype.createnewdb = function () { - var _this = this; - // alert('function in'); - this.sql.create({ - name: 'sinnedge', - location: 'defalut', - }).then(function (db) { - db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(function (res) { - // alert('db create'); - _this.getuserDetails(); - }) - .catch(function (e) { return console.log(e); }); - }); - }; - DatabaseProvider.prototype.getuserDetails = function () { - // alert('getusers'); - this.sql.create({ - name: 'sineedge', - location: 'default', - }).then(function (db) { - db.executeSql('select * from expense ORDER BY rowid DESC').then(function (res) { - console.log(res); - }); - }); - }; - DatabaseProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__["a" /* SQLite */]]) - ], DatabaseProvider); - return DatabaseProvider; -}()); - -//# sourceMappingURL=database.js.map - -/***/ }), - -/***/ 24: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CameraProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__ = __webpack_require__(129); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the CameraProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var CameraProvider = (function () { - function CameraProvider(http, camera) { - this.http = http; - this.camera = camera; - console.log("%cWelcome, Camera Provider", "font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;"); - } - CameraProvider.prototype.getpicture = function () { - var options = { - quality: 100, - destinationType: this.camera.DestinationType.DATA_URL, - targetWidth: 500, - targetHeight: 500, - correctOrientation: true - }; - // If set to crop, restricts the image to a square of 600 by 600 - return this.camera.getPicture(options).then(function (imageData) { - console.log('From Camera.ts - getPicture fn image are', imageData); - var base64Image = 'data:image/png;base64,' + imageData; - console.log("base 64", base64Image); - return base64Image; - }, function (error) { - console.log('CAMERA ERROR -> ' + JSON.stringify(error)); - return "error"; - }); - }; - CameraProvider.prototype.getcommonpicture = function () { - var options = { - quality: 100, - destinationType: this.camera.DestinationType.DATA_URL, - targetWidth: 500, - targetHeight: 500, - correctOrientation: true - }; - // If set to crop, restricts the image to a square of 600 by 600 - return this.camera.getPicture(options).then(function (imageData) { - console.log('From Camera.ts - getcommonpicture fn image are', imageData); - var base64Image = 'data:image/png;base64,' + imageData.filter(function (data) { return data.fk_form_id == null; }); - console.log("base 64", base64Image); - return base64Image; - }, function (error) { - console.log('CAMERA ERROR -> ' + JSON.stringify(error)); - return "error"; - }); - }; - CameraProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__["a" /* Camera */]]) - ], CameraProvider); - return CameraProvider; -}()); - -//# sourceMappingURL=camera.js.map - -/***/ }), - -/***/ 25: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoadingProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(2); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the LoadingProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var LoadingProvider = (function () { - function LoadingProvider(http, loadingCtrl) { - this.http = http; - this.loadingCtrl = loadingCtrl; - console.log('Hello LoadingProvider Provider'); - } - LoadingProvider.prototype.pdloader = function (content) { - this.loading = this.loadingCtrl.create({ - content: content - }); - this.loading.present(); - }; - LoadingProvider.prototype.loaderForSendImage = function () { - var loading = this.loadingCtrl.create({ - content: 'Sending...', - duration: 2000, - }); - return loading.present(); - }; - LoadingProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["o" /* LoadingController */]]) - ], LoadingProvider); - return LoadingProvider; -}()); - -//# sourceMappingURL=loading.js.map - -/***/ }), - -/***/ 258: -/***/ (function(module, exports) { - -function webpackEmptyAsyncContext(req) { - // Here Promise.resolve().then() is used instead of new Promise() to prevent - // uncatched exception popping up in devtools - return Promise.resolve().then(function() { - throw new Error("Cannot find module '" + req + "'."); - }); -} -webpackEmptyAsyncContext.keys = function() { return []; }; -webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; -module.exports = webpackEmptyAsyncContext; -webpackEmptyAsyncContext.id = 258; - -/***/ }), - -/***/ 301: -/***/ (function(module, exports) { - -function webpackEmptyAsyncContext(req) { - // Here Promise.resolve().then() is used instead of new Promise() to prevent - // uncatched exception popping up in devtools - return Promise.resolve().then(function() { - throw new Error("Cannot find module '" + req + "'."); - }); -} -webpackEmptyAsyncContext.keys = function() { return []; }; -webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; -module.exports = webpackEmptyAsyncContext; -webpackEmptyAsyncContext.id = 301; - -/***/ }), - -/***/ 345: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_material__ = __webpack_require__(125); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__password_password__ = __webpack_require__(411); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -// import { Component, OnInit, ViewEncapsulation } from '@angular/core'; - -// import { CustomValidators } from 'ng2-validation'; - - - - - -var LoginPage = (function () { - function LoginPage(aws, dialog, shared, navCtrl, Menu, toast) { - this.aws = aws; - this.dialog = dialog; - this.shared = shared; - this.navCtrl = navCtrl; - this.Menu = Menu; - this.toast = toast; - this.status = false; - this.config = { - disableClose: false, - width: '', - height: '', - position: { - top: '', - bottom: '', - left: '', - right: '' - } - }; - } - LoginPage.prototype.ngOnInit = function () { - //this.loggedInCheck(); - }; - LoginPage.prototype.ionViewDidEnter = function () { - this.Menu.enable(false); - }; - LoginPage.prototype.ionViewWillLeave = function () { - this.Menu.enable(true); - }; - /** - * @param email - * @param password - * AWS login service - */ - LoginPage.prototype.login = function () { - var _this = this; - // console.log(this.email); - if (this.email !== undefined && this.password !== undefined && this.email != '' && this.password != '' && this.email != null && this.password != null) { - var auth = { 'Username': this.email, 'Password': this.password }; - this.aws.dologin(auth).subscribe(function (awsres) { - var userid = _this.aws.getlocale(); - _this.aws.getuserprofile(userid).subscribe(function (usersres) { - _this.users = usersres; - if (_this.users.dataStatus == true) { - if (_this.users.records[0].role_name == "PD Officer" || _this.users.records[0].role_name == "PD Executive") { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__["a" /* PdListPage */]); - } - else { - _this.toast.pdTriggerappmessage('This App only for PD Officers'); - localStorage.clear(); - } - } - }); - }, function (err) { - console.log(JSON.stringify(err.message)); - if (err.message == "New password is required.") { - //console.log("if"); - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__password_password__["a" /* PasswordPage */], { 'Username': _this.email, 'Password': _this.password }); - } - else { - console.log(JSON.stringify(err.message)); - _this.toast.pdTriggerappmessage(JSON.stringify(err.message)); - } - //alert(err.message); - }); - } - else { - this.toast.pdTriggerappmessage('Enter Email or Password'); - } - }; - /** - * New password set - * Defalut aws function - * @param email password,newpassword - */ - // newpassopen() { - // let dialogRef = this.dialog.open(NewPasswordDialog, this.config); - // dialogRef.afterClosed().subscribe(result => { - // if (result !== undefined) { - // let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result }; - // console.log(auth); - // this.aws.dologin(auth).subscribe(res => { - // console.log(res); - // // this.router.navigate(['/home']); - // }, err => { - // // alert(err.message); - // }) - // } - // }); - // } - LoginPage.prototype.forgotopen = function () { - this.status = true; - }; - LoginPage.prototype.forgotpassword = function () { - var auth = { 'Username': this.email }; - console.log(auth); - // this.aws.userforgotpass(auth).subscribe(res => { - // console.log(res); - // }) - }; - LoginPage.prototype.loggedInCheck = function () { - //alert(this.shared.isLoggedIn); - if (this.shared.isLoggedIn) { - alert("if"); - // this.router.navigate(['/home']); - return false; - } - else { - alert("else"); - return true; - } - }; - LoginPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-login',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\login\login.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\login\login.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_material__["h" /* MatDialog */], - __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["p" /* MenuController */], - __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], LoginPage); - return LoginPage; -}()); - -// ======================= END ============================== -/** -* New password Dialog -*/ -// const newpassword = new FormControl('', Validators.required); -// const confirmPassword = new FormControl(''); -// @Component({ -// selector: 'app-jazz-dialog', -// template: ` -//
New Password Change.
-// -// -// -//
-// -// -// -// Passwords do not math. -//
-// -// ` -// }) -// export class NewPasswordDialog { -// newpassword: any = newpassword; -// confirmPassword: any = confirmPassword; -// jazzMessage = 'Jazzy jazz jazz'; -// constructor(public dialogRef: MatDialogRef) { -// } -// } -// @Component({ -// selector: 'app-jazz-dialog', -// template: ` -//
Forgot Password
-// -// -// -//
-// -// ` -// }) -// export class ForgotPass { -// newpassword: any = newpassword; -// confirmPassword: any = confirmPassword; -// jazzMessage = 'Jazzy jazz jazz'; -// constructor(public dialogRef: MatDialogRef) { -// } -// } -//# sourceMappingURL=login.js.map - -/***/ }), - -/***/ 373: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_question_category_pd_question_category__ = __webpack_require__(128); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the PdQuestionPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var currentdate = new Date().toJSON().slice(0, 19).replace('T', ' '); -var PdQuestionPage = (function () { - function PdQuestionPage(navCtrl, navParams, platform, fb, qstDetails, aws, camera, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qstDetails = qstDetails; - this.aws = aws; - this.camera = camera; - this.toast = toast; - this.docName = []; - this.docArray = []; - this.imageArray = []; - this.SwipedTabsIndicator = null; - this.tabTitleWidthArray = []; - this.tabElementWidth_px = 50; - this.screenWidth_px = 0; - this.isRight = false; - this.isLeft = false; - this.tabs = []; - this.screenWidth_px = platform.width(); - this.questionAnswer = this.fb.group({ - answerDetails: [null], - items: this.fb.array([]), - }); - this.questionanotherData = this.fb.group({ - questionRemarks: [null] - }); - this.getpdQuestionDetails(); - this.userid = this.aws.getlocale(); - } - PdQuestionPage.prototype.ionViewDidLoad = function () { - }; - PdQuestionPage.prototype.ionViewDidEnter = function () { - this.SwipedTabsIndicator = document.getElementById("indicator"); - for (var i in this.tabs) - this.tabTitleWidthArray.push(document.getElementById("tabTitle" + i).offsetWidth); - this.selectTab(0); - }; - PdQuestionPage.prototype.ionViewWillLeave = function () { - this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_5__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': this.pdinfo }); - }; - PdQuestionPage.prototype.scrollIndicatiorTab = function () { - this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - this.screenWidth_px / 2, 0); - // let answerDetails = this.questionAnswer.value; - // let remarks = this.questionanotherData.value; - if (this.isLeft) { - //this.prev(answerDetails,remarks,this.questionDetails); - } - if (this.isRight) { - //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails); - } - }; - PdQuestionPage.prototype.selectTab = function (index) { - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - this.SwipedTabsSlider.slideTo(index); - }; - PdQuestionPage.prototype.calculateDistanceToSpnd = function (index) { - var result = 0; - for (var _i = 0; _i < index; _i++) { - result = result + this.tabTitleWidthArray[_i]; - } - return result; - }; - PdQuestionPage.prototype.updateIndicatorPosition = function () { - var index = this.SwipedTabsSlider.getActiveIndex(); - if (this.SwipedTabsSlider.length() == index) - index = index - 1; - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - }; - PdQuestionPage.prototype.updateIndicatorPositionOnTouchEnd = function () { - var _this = this; - setTimeout(function () { _this.updateIndicatorPosition(); }, 200); - }; - PdQuestionPage.prototype.animateIndicator = function ($event) { - this.isLeft = false; - this.isRight = false; - var currentSliderCenterProgress = (1 / (this.SwipedTabsSlider.length() - 1)) * this.SwipedTabsSlider.getActiveIndex(); - if ($event.progress < currentSliderCenterProgress) { - this.isLeft = true; - this.isRight = false; - } - if ($event.progress > currentSliderCenterProgress) { - this.isLeft = false; - this.isRight = true; - } - if (this.SwipedTabsSlider.isEnd()) - this.isRight = false; - if (this.SwipedTabsSlider.isBeginning()) - this.isLeft = false; - if (this.isRight) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() + 1]) - + 'px,0,0)'; - if (this.isLeft) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() - 1]) - + 'px,0,0)'; - if (!this.isRight && !this.isLeft) - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()] + "px"; - }; - /** - * Pd Discussion Qustion Load - */ - PdQuestionPage.prototype.getpdQuestionDetails = function () { - this.questionDetails = this.navParams.get('questionDetails'); - this.pdinfo = this.navParams.get('pdDetails'); - for (var _a = 0, _b = this.questionDetails.questions; _a < _b.length; _a++) { - var qustimage = _b[_a]; - if (qustimage.images !== undefined) { - for (var _c = 0, _d = qustimage.images; _c < _d.length; _c++) { - var image = _d[_c]; - image.questionId = qustimage.fk_question_id; - this.docArray.push(image); - } - for (var _e = 0, _f = qustimage.answers; _e < _f.length; _e++) { - var answers = _f[_e]; - if (qustimage.fk_question_answertype == 3) { - this.items = this.questionAnswer.get('items'); - this.items.push(this.getquestionAnswer(answers)); - } - } - } - } - for (var i = 1; i <= this.questionDetails.questions_count; i++) { - var j = i.toString(); - this.tabs.push(j); - } - }; - PdQuestionPage.prototype.getquestionAnswer = function (answers) { - return this.fb.group({ - "pd_detail_answer_id": answers.pd_detail_answer_id, - "pd_answer_id": answers.question_answer_id, - "pd_answer": answers.answer, - "pd_answer_weightage": answers.template_answer_weightage, - "fk_pd_id": this.pdinfo.pd_id, - "fk_pd_detail_id": answers.fk_pd_detail_id, - "checkbox": (answers.isactive == null ? false : true) - }); - }; - // count = 0; - PdQuestionPage.prototype.getDocUpload = function (qustid) { - var _this = this; - // this.docqustid = qustId; - this.camera.getpicture().then(function (res) { - if (res !== undefined) { - _this.docArray.push({ 'pd_document_name': res, 'pd_document_title': '', 'questionId': qustid }); - } - }); - // this.count++; - }; - PdQuestionPage.prototype.docnames = function (name, id, image, qustid) { - this.docArray[id] = { 'pd_document_name': image, 'pd_document_title': name, 'questionId': qustid }; - }; - PdQuestionPage.prototype.removeimage = function (index) { - //for(let i=0;i<=this.igrimage.length;i++){ - //if(this.igrimage[i]== this.igrimage[index]){ - this.docArray.splice(index, 1); - //} - //} - }; - PdQuestionPage.prototype.saveQuestionDetails = function (answerDetails, questionRemarks, questionDetails) { - for (var _a = 0, _b = this.docArray; _a < _b.length; _a++) { - var docs = _b[_a]; - if (docs.pd_document_title != '' && docs.pd_document_title != null && docs.pd_document_title !== undefined) { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': docs.pd_document_title }); - // return true; - } - else { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': "docNames" }); - } - } - if (answerDetails.answerDetails != null) { - //alert('answers'); - var pd_id = this.pdinfo.pd_id; - var catid = questionDetails.fk_question_category_id; - var qt_id = questionDetails.questions.filter(function (qst) { return qst.template_question_id == answerDetails.answerDetails.fk_template_question_id; })[0]; - var qut_id = qt_id.fk_question_id; - var qustName = qt_id.question; - var qut_weightage = qt_id.question_weightage; - var ans_id = answerDetails.answerDetails.fk_question_answer_id; - var pd_answer = answerDetails.answerDetails.answer; - var ans_weightage = answerDetails.answerDetails.template_answer_weightage; - var pd_remarks = questionRemarks.questionRemarks; - var updatedby = ''; - var updateon = ''; - var createdby = ''; - var createon = ''; - var pd_details_id = ''; - var pd_detail_answer_id = ''; - if (qt_id.pd_detail_id == null) { - createdby = this.userid; - createon = currentdate; - pd_details_id = ''; - } - else { - pd_details_id = qt_id.pd_detail_id; - updatedby = this.userid; - updateon = currentdate; - pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id; - } - var saveRecords = { - "pd_detail_id": pd_details_id, - "fk_pd_id": pd_id, - "fk_category_id": catid, - "fk_question_id": qut_id, - "pd_question": qustName, - "pd_question_weightage": qut_weightage, - "question_remark": pd_remarks, - "answers": [{ "pd_detail_answer_id": pd_detail_answer_id, - "pd_answer_id": ans_id, - "pd_answer": pd_answer, - "pd_answer_weightage": qut_weightage, - "fk_pd_id": pd_id, - "fk_pd_detail_id": pd_details_id, - }], - "fk_createdon": createon, - "createdby": createdby, - "fk_updatedon": updateon, - "updatedby": updatedby, - "images": this.imageArray || "", - }; - // this.qstDetails.saveQusetion(saveRecords).subscribe(res=> - // { - // this.qustCate = res; - // if(this.qustCate.dataStatus == true){ - // this.SwipedTabsSlider.slideNext(); - // this.docArray = []; - // this.getcategoryList(qt_id,pd_id); - // } - // }) - // }else - // { - // this.SwipedTabsSlider.slideNext(); - } - }; - PdQuestionPage.prototype.getcategoryList = function (qustinfo, pdId) { - var _this = this; - var qustDetails = { "question_id": qustinfo.fk_question_id, "pd_id": pdId, "template_id": qustinfo.fk_template_id, "category_id": qustinfo.fk_template_question_category_id - }; - var answerData; - this.qstDetails.getAnswerTemplate(qustDetails).subscribe(function (res) { - answerData = res; - if (answerData.dataStatus == true) { - // answerData = answerData.records; - // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0]; - // eachquestion['answers'] = answerData.answers; - // this.questionDetails = - // this.imageArray = answerData.images; - // for(let docs of this.imageArray) - // { - // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''}) - // } - _this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark); - } - }); - }; - PdQuestionPage.prototype.prev = function (answerDetails, questionRemarks, questionDetails) { - var _this = this; - for (var _a = 0, _b = this.docArray; _a < _b.length; _a++) { - var docs = _b[_a]; - if (docs.pd_document_title != '' && docs.pd_document_title != null && docs.pd_document_title !== undefined) { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': docs.pd_document_title }); - // return true; - } - else { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': "docNames" }); - } - } - if (answerDetails.answerDetails != null) { - //alert('answers'); - var pd_id_1 = this.pdinfo.pd_id; - var catid = questionDetails.fk_question_category_id; - var qt_id_1 = questionDetails.questions.filter(function (qst) { return qst.template_question_id == answerDetails.answerDetails.fk_template_question_id; })[0]; - var qut_id = qt_id_1.fk_question_id; - var qustName = qt_id_1.question; - var qut_weightage = qt_id_1.question_weightage; - var ans_id = answerDetails.answerDetails.fk_question_answer_id; - var pd_answer = answerDetails.answerDetails.answer; - var ans_weightage = answerDetails.answerDetails.template_answer_weightage; - var pd_remarks = questionRemarks.questionRemarks; - var updatedby = ''; - var updateon = ''; - var createdby = ''; - var createon = ''; - var pd_details_id = ''; - var pd_detail_answer_id = ''; - if (qt_id_1.pd_detail_id == null) { - createdby = this.userid; - createon = currentdate; - pd_details_id = ''; - } - else { - pd_details_id = qt_id_1.pd_detail_id; - updatedby = this.userid; - updateon = currentdate; - pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id; - } - var saveRecords = { - "pd_detail_id": pd_details_id, - "fk_pd_id": pd_id_1, - "fk_category_id": catid, - "fk_question_id": qut_id, - "pd_question": qustName, - "pd_question_weightage": qut_weightage, - "question_remark": pd_remarks, - "answers": [{ "pd_detail_answer_id": pd_detail_answer_id, - "pd_answer_id": ans_id, - "pd_answer": pd_answer, - "pd_answer_weightage": qut_weightage, - "fk_pd_id": pd_id_1, - "fk_pd_detail_id": pd_details_id, - }], - "fk_createdon": createon, - "createdby": createdby, - "fk_updatedon": updateon, - "updatedby": updatedby, - "images": this.imageArray || "", - }; - this.qstDetails.saveQusetion(saveRecords).subscribe(function (res) { - _this.qustCate = res; - if (_this.qustCate.dataStatus == true) { - _this.SwipedTabsSlider.slidePrev(); - _this.docArray = []; - _this.getcategoryList(qt_id_1, pd_id_1); - } - }); - } - else { - if (this.SwipedTabsSlider.getActiveIndex() != 0) { - this.SwipedTabsSlider.slidePrev(); - } - } - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('SwipedTabsSlider'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["x" /* Slides */]) - ], PdQuestionPage.prototype, "SwipedTabsSlider", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('MultiItemsScrollingTabs'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], PdQuestionPage.prototype, "ItemsTitles", void 0); - PdQuestionPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question.html"*/'\n\n\n\n\n\n \n\n \n\n {{questionDetails.category_name}} Category\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tab}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{qustDetails.question}}

\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n {{answerType.answer}}\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n\n\n
\n\n \n\n \n\n
\n\n
\n\n {{img.pd_document_title}}\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n\n\n \n\n \n\n \n\n {{ control.controls.pd_answer.value }}\n\n \n\n\n\n \n\n\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["w" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionPage); - return PdQuestionPage; -}()); - -//# sourceMappingURL=pd-question.js.map - -/***/ }), - -/***/ 374: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAddressPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_camera__ = __webpack_require__(129); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__ = __webpack_require__(130); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs_add_observable_interval__ = __webpack_require__(690); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs_add_observable_interval___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_rxjs_add_observable_interval__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__angular_common__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - - -// import{CacheService} from 'ionic-cache-observable' -/** - * Generated class for the PdQuestionAddressPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAddressPage = (function () { - function PdQuestionAddressPage(navCtrl, navParams, fb, qustCat, aws, toast, alerCtrl, constant, camera, loading, storagedb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.alerCtrl = alerCtrl; - this.constant = constant; - this.camera = camera; - this.loading = loading; - this.storagedb = storagedb; - //placeholderName : any = 'Estimated area of the (Address Type)'; - this.placeholderName = []; - this.premisesRentAmtInwords = []; - this.locality = []; - this.pdlocation = []; - this.addressTypes = []; - this.addressRemarksAccess = false; - this.cityData = []; - this.pincodeData = []; - this.stateData = []; - this.uomData = []; - this.pincodeValue = []; - this.cityDataValue = []; - this.complete_status = false; - this.pipe = new __WEBPACK_IMPORTED_MODULE_13__angular_common__["d" /* DatePipe */]('en-US'); - this.AppxPDLocationImgValid = false; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_5_rxjs__["Subject"](); - this.filteredCity = new __WEBPACK_IMPORTED_MODULE_5_rxjs__["ReplaySubject"](1); - this.filteredState = new __WEBPACK_IMPORTED_MODULE_5_rxjs__["ReplaySubject"](1); - this.pincodeDataValue = []; - this.imageBucket = []; - this.tab = '0'; - this.imageDisplay = []; - this.alertnativeCityData = []; - this.alertnativePincodeData = []; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale(); - //this.constant.getGeoTag().then(res=>{ - //console.log("constructor geo location promise",res); - //}) - // console.log("geo",this.constant.getGeoTag()) - // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){ - // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3; - // }else{ - // this.address = this.pdDetails.addressline1+', - , -'; - // } - // this.pdState = this.pdDetails.fk_state; - // this.getCityAndPincodeDetails(this.pdState); - // this.pdCity = this.pdDetails.fk_city; - // this.pdPincode = this.pdDetails.pincode_id; - // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : ''; - this.getdropdownlist(); - //const control=this.pdQuestionAddress.controls['addresses'] - this.pdQuestionAddress = this.fb.group({ - // addresses:this.fb.array([]), - // address_form_remark:[''], - // alternative_address:this.fb.array([]), - // address_type_ques:this.fb.array([]), - // pd_is_done_on_initiated_address:[''] - // address_ownership:[null], - // other_ownership:[null], - // rent_amt:[null], - // other_premises_bussiness_activity : [null], - // bussiness_activity_remark:[null], - // bussiness_activity:[null], - // bussiness_address_type:[null], - // bussiness_address_type_others:[null], - // business_years:[null], - // business_month:[null], - // additional_address_units: this.fb.array([]), - addresses: this.fb.array([]), - is_pd_done_on_initiated_address: [true], - address_type: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - locality: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - locality_mixuse: [''], - pd_location: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comment_locality: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - estimated_area: [''], - uom: [''], - address_form_remark: [''] - }); - //this.loadPD() - // let con=this.pdQuestionAddress.controls['addresses']['controls'] - // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges - // .pipe(takeUntil(this._onDestroy)) - // .subscribe(()=>{ - // this.SearchCity(0); - // }) - this.timer = __WEBPACK_IMPORTED_MODULE_5_rxjs__["Observable"].interval(10000) - .subscribe(function (val) { console.log('test', val); }); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAddressPage.prototype.ionViewDidLoad = function () { - //this.addUnits(); - console.log("ionViewDidLoad PdQuestionAddressPage"); - //this.getaddressForm(); - var params = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.setAddressFromDatas(params); - // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE - this.getPDImages(); - }; - PdQuestionAddressPage.prototype.searchFun = function (control, i, option, flag) { - var _this = this; - if (option == 'city' && flag == 1) { - control.controls['citySearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.SearchCity(control.controls['citySearch'].value, i); - }); - } - if (option == 'state') { - control.controls['stateSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchState(control.controls['stateSearch'].value); - }); - } - if (option == 'pin' && flag == 1) { - control.controls['pinSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchPin(control.controls['pinSearch'].value, i); - }); - } - if (option == 'city' && flag == 2) { - control.controls['citySearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.SearchAlternativeCity(control.controls['citySearch'].value, i); - }); - } - if (option == 'pin' && flag == 2) { - control.controls['pinSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchAlternativePin(control.controls['pinSearch'].value, i); - }); - } - }; - PdQuestionAddressPage.prototype.searchPin = function (val, index) { - if (!this.pincodeData[index]) { - return; - } - var searchValue = val; - if (!searchValue) { - this.pincodeDataValue[index] = this.pincodeData[index].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.pincodeDataValue[index] = this.pincodeData[index].filter(function (value) { return value.pincode.toLowerCase().indexOf(searchValue) > -1; }); - }; - PdQuestionAddressPage.prototype.SearchCity = function (val, i) { - if (!this.cityData[i]) { - return; - } - var searchValue = val; - if (!searchValue) { - // this.filteredCity.next(this.cityData[i].slice()) - this.cityDataValue[i] = this.cityData[i].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.cityDataValue[i] = this.cityData[i].filter(function (value) { return value.city_name.toLowerCase().indexOf(searchValue) > -1; }); - // this.filteredCity.next( - // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) - // ) - }; - PdQuestionAddressPage.prototype.searchAlternativePin = function (val, index) { - if (!this.pincodeData[index]) { - return; - } - var searchValue = val; - if (!searchValue) { - this.alertnativePincodeData[index] = this.pincodeData[index].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.alertnativePincodeData[index] = this.pincodeData[index].filter(function (value) { return value.pincode.toLowerCase().indexOf(searchValue) > -1; }); - }; - PdQuestionAddressPage.prototype.SearchAlternativeCity = function (val, i) { - if (!this.cityData[i]) { - return; - } - var searchValue = val; - if (!searchValue) { - // this.filteredCity.next(this.cityData[i].slice()) - this.alertnativeCityData[i] = this.cityData[i].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.alertnativeCityData[i] = this.cityData[i].filter(function (value) { return value.city_name.toLowerCase().indexOf(searchValue) > -1; }); - // this.filteredCity.next( - // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) - // ) - }; - PdQuestionAddressPage.prototype.searchState = function (val) { - if (!this.stateData) { - return; - } - var searchVal = val; - if (!searchVal) { - this.filteredState.next(this.stateData.slice()); - return; - } - else { - searchVal = searchVal.toLowerCase(); - } - this.filteredState.next(this.stateData.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; })); - }; - PdQuestionAddressPage.prototype.countRowsForTextarea = function (text) { - if (text != '' && text != undefined) { - if (text.length % 100 > 5) - return 5; - else if (text.length % 100 <= 3) - return 3; - else - return Math.floor(text.length % 100); - } - }; - PdQuestionAddressPage.prototype.ionViewWillLeave = function () { - // let method = this.alerCtrl.create({ - // message: 'Do You Want Save', - // buttons: [ - // { - // text: 'Save', - // cssClass: 'method-color', - // handler: () => { - // - // } - // }, - // { - // text: 'Cancel', - // cssClass: 'method-color', - // handler: () => { - // - // this.navCtrl.pop(); - // } - // } - // ] - // }); - // method.present() - }; - PdQuestionAddressPage.prototype.ionViewCanLeave = function () { - var _this = this; - this.timer.unsubscribe(); - if (this.pdQuestionAddress.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Form is Modified", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - //For Inserting the data locally - // this.localInsert(true); - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - /** To Get City And Pincode Data For Address Form - * Param 'stateID' -> selected StateId - */ - PdQuestionAddressPage.prototype.getCityAndPincodeDetails = function (stateID, i, flag) { - var _this = this; - //this.pdQuestionAddress.controls['addresses']['controls'].controls - this.qustCat.getStateWiseCities(stateID).subscribe(function (data) { - if (data.status == 200) { - _this.cityData[i] = data.records.cities; - _this.search = _this.cityData[i]; - _this.pincodeData[i] = data.records.pincode; - //this.filteredCity.next(this.cityData[i].slice()) - if (flag == 1) { - _this.cityDataValue[i] = _this.cityData[i].slice(); - // this.pincodeData[i] = data.records.pincode; - _this.pincodeDataValue[i] = _this.pincodeData[i].slice(); - } - else if (flag == 2) { - _this.alertnativeCityData[i] = _this.cityData[i].slice(); - _this.alertnativePincodeData[i] = _this.pincodeData[i].slice(); - } - } - //FOR PINCODE FREE TEXT - // let pin - // if(pincode != ''){ - // if(pincode != 1){ - // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0] - // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i]) - // } - // } - }); - }; - PdQuestionAddressPage.prototype.getdropdownlist = function () { - // this.addressTypes = [ - var _this = this; - // {'id':'Office','Name':'Office'}, - // {'id':'Clinic','Name':'Clinic'}, - // {'id':'Factory','Name':'Factory'}, - // {'id':'Warehouse','Name':'Warehouse'}, - // {'id':'Shop','Name':'Shop'}, - // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'}, - // {'id':'Residence','Name':'Residence'}, - // {'id':'OTHERS','Name':'OTHERS'} - // ]; - this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.addressTypes = res['records'].filter(function (add) { return add.isactive == 1; }); - // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{ - // this.data$=res.get$ - // }) - } - // this.cacheObservable.loadFromObservable() - }); - this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(function (res) { - _this.pdlocation = res; - if (_this.pdlocation.dataStatus == true) { - _this.pdlocation = _this.pdlocation.records.filter(function (loca) { return loca.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(function (res) { - _this.cmtlocality = res; - if (_this.cmtlocality.dataStatus == true) { - _this.cmtlocality = _this.cmtlocality.records.filter(function (loc) { return loc.isactive == 1; }); - } - }); - // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=> - // { - // this.custBehaviour = res; - // if(this.custBehaviour.dataStatus == true) - // { - // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1); - // } - // }) - this.qustCat.getcommondrop('LOCALITY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.locality = res['records'].filter(function (loc) { return loc.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.residence = res['records'].filter(function (red) { return red.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('CITY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.CITY = res['records'].filter(function (red) { return red.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('STATE').subscribe(function (res) { - _this.stateData = res['records'].filter(function (val) { return val.isactive == 1; }); - _this.filteredState.next(_this.stateData.slice()); - }); - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - _this.uomData = res['records'].filter(function (val) { return val.isactive == 1 && val.is_land_uom != 0; }); - }); - }; - // checkaddress(value) - // { - // - // if(value=="OTHERS") - // { - // this.addressRemarksAccess = true; - // }else - // { - // this.addressRemarksAccess = false; - // } - // } - // createItem(): FormGroup { - // return this.fb.group({ - // name: [null], - // do_you_know: [null], - // how_long: [null], - // is_owner: [null], - // }); - // }; - PdQuestionAddressPage.prototype.createUnits = function (val) { - if (val == null) { - return this.fb.group({ - no_of_additional_units: [''], - premises_type: [''], - premises_type_others: [''], - premises_city: [''], - // premises_ownership: [''], - //premises_ownership_others: [''], - //premises_rent_amt:[''], - premises_remarks: [''], - }); - } - else { - return this.fb.group({ - no_of_additional_units: [val.no_of_additional_units], - premises_type: [val.premises_type], - premises_type_others: [val.premises_type_others], - premises_city: [val.premises_city], - // premises_ownership: [val.premises_ownership], - // premises_ownership_others: [val.other_ownership], - // premises_rent_amt:[val.rent_amt], - premises_remarks: [val.premises_remarks], - }); - } - }; - PdQuestionAddressPage.prototype.addUnits = function () { - this.items = this.pdQuestionAddress.get('additional_address_units'); - this.items.push(this.createUnits(null)); - }; - PdQuestionAddressPage.prototype.removeUnits = function (i) { - this.items.removeAt(i); - }; - PdQuestionAddressPage.prototype.ConvertMonthintoYear = function (e) { - var business_year = this.pdQuestionAddress.controls.business_years.value; - var converted_month = e % 12; - var converted_year = e / 12; - this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); - this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month)); - }; - PdQuestionAddressPage.prototype.initAddress = function (AddressDetails) { - if (AddressDetails != null) { - return this.fb.group({ - address: [AddressDetails.address], - // address_type: [AddressDetails.address_type, Validators.compose([Validators.required])], - // address_type_others: [AddressDetails.address_type_others], - state: [AddressDetails.state], - city: [AddressDetails.city], - citySearch: [''], - stateSearch: [''], - pinSearch: [''], - pincode: [AddressDetails.pincode], - pincode_others: [AddressDetails.pincode_others, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(6), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(6)])], - }); - } - else { - return this.fb.group({ - address: [''], - // address_type: ['', Validators.compose([Validators.required])], - // address_type_others: [''], - state: [''], - city: [''], - citySearch: [''], - stateSearch: [''], - pinSearch: [''], - pincode: [''], - pincode_others: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(6), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(6)])], - }); - } - }; - PdQuestionAddressPage.prototype.alternativeAddress = function (e) { - console.log(e); - console.log(this.pdQuestionAddress.controls['is_pd_done_on_initiated_address'].value); - if (e === false) { - console.log('alternativeAddress false', e); - this.pdQuestionAddress.addControl('alternative_addresses', this.fb.array([])); - var alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses']; - alternative_address_control.push(this.initAlternativeAddress(null)); - } - else if (e === true) { - console.log('alternativeAddress', e); - this.pdQuestionAddress.removeControl('alternative_addresses'); - } - }; - PdQuestionAddressPage.prototype.initAlternativeAddress = function (add_values) { - if (add_values == null) { - return this.fb.group({ - alternative_address: [''], - alternative_state: [''], - stateSearch: [''], - citySearch: [''], - pinSearch: [''], - alternative_city: [''], - alternative_pincode: [''], - alternative_pincode_others: [''], - reason_for_alternative_address: [''] - }); - } - else { - return this.fb.group({ - alternative_address: [add_values.alternative_address], - alternative_state: [add_values.alternative_state], - stateSearch: [''], - citySearch: [''], - pinSearch: [''], - alternative_city: [add_values.alternative_city], - alternative_pincode: [add_values.alternative_pincode], - alternative_pincode_others: [add_values.alternative_pincode_others], - reason_for_alternative_address: [add_values.reason_for_alternative_address] - }); - } - }; - /** On Key Press Event For Numbers */ - PdQuestionAddressPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionAddressPage.prototype.inWords = function (e, i) { - this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value); - }; - PdQuestionAddressPage.prototype.inWordsForRent = function (e) { - this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value); - }; - PdQuestionAddressPage.prototype.selectedAddressType = function (e, i) { - this.placeholderName[0] = 'Estimated area of the ' + e; - }; - PdQuestionAddressPage.prototype.imageMandatoryCheck = function () { - var _this = this; - if (this.pdQuestionAddress.invalid) { - this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '"); - return; - } - if (this.AppxPDLocationImgValid == false) { - //this.toast.pdTriggerappmessage("Please Take the Image for Approach to PD Location"); - var alert_1 = this.toast.setAlert("Mandatory photographs not taken", " Do you want to take it later?"); - alert_1.present(); - alert_1.onDidDismiss(function (value) { - if (value == 's') { - _this.onSubmit(); - } - else { - return true; - } - }); - } - else { - this.onSubmit(); - } - }; - PdQuestionAddressPage.prototype.onSubmit = function () { - // if(this.pdQuestionAddress.invalid){ - // this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '") - // return - // } - // if(this.AppxPDLocationImgValid == false){ - // //this.toast.pdTriggerappmessage("Please Take the Image for Approach to PD Location"); - var _this = this; - // } - // else if (this.addressForm.value.address_form_remark == '') { - // this.notifier.notify('warning', 'Fill Remark!'); - // this.disableAfterSubmit = false; - // return; - // } - // console.log('this.addressForm.controls.addresses.value;', this.pdQuestionAddress.value); - var records = {}; - records.addresses = this.pdQuestionAddress.controls.addresses.value; - records.is_pd_done_on_initiated_address = this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value; - if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == true) { - if (records.addresses[0].pincode != 1) { - delete records.addresses[0].pincode_others; - } - records.addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value; - if (this.pdQuestionAddress.controls.address_type.value == 1) { - records.addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value; - } - records.addresses[0].locality = this.pdQuestionAddress.controls.locality.value; - if (this.pdQuestionAddress.controls.locality.value == 1) { - records.addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value; - } - records.addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value; - records.addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value; - records.addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value; - records.addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value; - records.addresses[0].uom = this.pdQuestionAddress.controls.uom.value; - records.addresses[0].citySearch = ''; - records.addresses[0].pinSearch = ''; - records.addresses[0].stateSearch = ''; - if (this.pdQuestionAddress.controls.uom.value == 1) { - records.addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value; - } - } - else if (this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value == false) { - records.alternative_addresses = this.pdQuestionAddress.controls.alternative_addresses.value; - records.alternative_addresses[0].address_type = this.pdQuestionAddress.controls.address_type.value; - if (records.addresses[0].alternative_pincode != 1) { - delete records.addresses[0].alternative_pincode_others; - } - if (this.pdQuestionAddress.controls.address_type.value == 1) { - records.alternative_addresses[0].address_type_others = this.pdQuestionAddress.controls.address_type_others.value; - } - records.alternative_addresses[0].locality = this.pdQuestionAddress.controls.locality.value; - if (this.pdQuestionAddress.controls.locality.value == 1) { - records.alternative_addresses[0].locality_others = this.pdQuestionAddress.controls.locality_others.value; - } - records.alternative_addresses[0].locality_mixuse = this.pdQuestionAddress.controls.locality_mixuse.value; - records.alternative_addresses[0].pd_location = this.pdQuestionAddress.controls.pd_location.value; - records.alternative_addresses[0].comment_locality = this.pdQuestionAddress.controls.comment_locality.value; - records.alternative_addresses[0].estimated_area = this.pdQuestionAddress.controls.estimated_area.value; - records.alternative_addresses[0].uom = this.pdQuestionAddress.controls.uom.value; - records.alternative_addresses[0].citySearch == '' ? delete records.alternative_addresses[0].citySearch : ''; - records.alternative_addresses[0].pinSearch == '' ? delete records.alternative_addresses[0].pinSearch : ''; - records.alternative_addresses[0].stateSearch == '' ? delete records.alternative_addresses[0].stateSearch : ''; - if (this.pdQuestionAddress.controls.uom.value == 1) { - records.alternative_addresses[0].uom_others = this.pdQuestionAddress.controls.uom_others.value; - } - } - records.address_form_remark = this.pdQuestionAddress.controls.address_form_remark.value; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - // console.log('Final records', records); - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['status'] == 200) { - _this.pdQuestionAddress.reset(_this.pdQuestionAddress.value); - //FOR UPDATING THE FORM STATUS IN LOCAL - // this.localInsert(false); - _this.toast.pdTriggerappmessage('Record Saved Successfully'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }, function (error) { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); - }); - }; - PdQuestionAddressPage.prototype.savepdQuestionOLD = function (answerData) { - var _this = this; - var records = {}; - // records.address = answerData.address; - // if(answerData.address_type_others != null){ - // records.address_type_others = answerData.address_type_others; - // } - // // records.state =answerData.state - // records.city = answerData.city - // records.pincode = answerData.pincode - // records.pincode_others = answerData.pincode== 1 ? - // this.pdQuestionAddress.controls.pincode_others.value : ''; - // records.address_type = answerData.address_type; - // records.locality = answerData.locality; - // records.locality_others = answerData.locality == 1 ? - // this.pdQuestionAddress.controls.locality_others.value : ''; - // records.locality_mixuse = answerData.locality == 5 ? - // this.pdQuestionAddress.controls.locality_mixuse.value : ''; - // records.pd_location = answerData.pd_location; - // records.comment_locality = answerData.comment_locality; - // records.other_comment_locality = answerData.other_comment_locality; - // records.estimated_area = answerData.estimated_area; - // records.uom = answerData.uom; - // records.uom_others = answerData.uom == 1 ? - // this.pdQuestionAddress.controls.uom_others.value : ''; - // records.customer_behaviour = answerData.customer_behaviour; - // records.neighbourhood = answerData.neighbourhood; - // answerData.addresses.forEach(element=>{ - // let temp=element.pincode - // element.pincode=1 - // element.pincode_others=temp - // }) - if (this.pdQuestionAddress.invalid) { - this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '"); - return; - } - if (this.AppxPDLocationImgValid == false) { - this.toast.pdTriggerappmessage("Please Take the Image for Approach to PD Location"); - return; - } - records.addresses = answerData.addresses; - // records.addressess - records.address_form_remark = answerData.address_form_remark; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.address_form_remark = answerData.address_form_remark; - // records.address_ownership = answerData.address_ownership; - // records.other_ownership = answerData.other_ownership; - // records.rent_amt = answerData.rent_amt; - // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity; - // records.bussiness_activity = answerData.bussiness_activity; - // records.bussiness_activity_remark = answerData.bussiness_activity_remark; - // records.business_years = answerData.business_years; - // records.business_month = answerData.business_month; - // records.additional_address_units = answerData.additional_address_units; - this.qustCat.saveForm(records).subscribe(function (data) { - // let params: any = {}; - // params.pd_id = '250'; - // params.pd_form_id = '250'; - // setTimeout(function(){ - // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // },5000) - if (data['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this.pdQuestionAddress.reset(_this.pdQuestionAddress.value); - //FOR UPDATING THE FORM STATUS IN LOCAL - // this.localInsert(false); - _this.toast.pdTriggerappmessage('Record Saved Successfully'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }, function (err) { - _this.toast.pdTriggerappmessage('Something went wrong '); - }); - }; - PdQuestionAddressPage.prototype.setAddressFromDatas = function (params) { - var _this = this; - this.qustCat.retiverForm(params).subscribe(function (data) { - var control = _this.pdQuestionAddress.controls['addresses']; - if (data['status'] == 200) { - var initiated_address_check_1 = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true; - _this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check_1); - if (data['records'].addresses.length == 0) { - control.push(_this.initAddress(null)); - } - else { - data['records'].addresses.forEach(function (datas, index) { - var obj = { - 'address': datas.address, - 'state': datas.state, - 'city': datas.city, - 'pincode': datas.pincode, - 'pincode_others': datas.pincode ? datas.pincode_others : '' - }; - _this.getCityAndPincodeDetails(datas.state, index, 1); - control.push(_this.initAddress(obj)); - if (datas.address_type_others == "" || datas.address_type_others == null) { - delete datas.address_type_others; - } - if (datas.citySearch == "" || datas.citySearch == null) { - delete datas.citySearch; - } - if (datas.locality_others == "" || datas.locality_others == null) { - delete datas.locality_others; - } - if (datas.pinSearch == "" || datas.pinSearch == null) { - delete datas.pinSearch; - } - if (datas.pincode_others == "" || datas.pincode_others == null) { - delete datas.pincode_others; - } - if (datas.stateSearch == "" || datas.stateSearch == null) { - delete datas.stateSearch; - } - if (datas.uom_others == "" || datas.uom_others == null) { - delete datas.uom_others; - } - if (initiated_address_check_1 === true) { - _this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : ''); - _this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : ''); - var selectedAddressType = _this.addressTypes.filter(function (element) { return element.address_type_id == datas.address_type; })[0]; - _this.selectedAddressType(selectedAddressType.address_type, index); - _this.setOthers(datas.address_type, '', 3); - if (datas.address_type == 1) { - _this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others); - _this.selectedAddressType(datas.address_type_others, index); - } - _this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : ''); - _this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : ''); - _this.setOthers(datas.locality, '', 4); - if (datas.locality == 1) { - _this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others); - } - _this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : ''); - _this.pdQuestionAddress.controls.uom.setValue(datas.uom); - _this.setOthers(datas.uom, '', 5); - if (data['records'].uom == 1) { - _this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others); - } - } - }); - } - if (initiated_address_check_1 == false) { - _this.pdQuestionAddress.addControl('alternative_addresses', _this.fb.array([])); - var alternative_address_control_1 = _this.pdQuestionAddress.controls['alternative_addresses']; - if (data['records'].alternative_addresses.length > 0) { - data['records'].alternative_addresses.forEach(function (datas, index) { - // if (datas.citySearch == "" || datas.citySearch == null){ - // delete datas.citySearch; - // } - // if (datas.pinSearch == "" || datas.pinSearch == null){ - // delete datas.pinSearch; - // } - // if (datas.stateSearch == "" || datas.stateSearch == null){ - // delete datas.stateSearch; - // } - var obj = { - 'alternative_address': datas.alternative_address, - 'alternative_state': datas.alternative_state, - 'alternative_city': datas.alternative_city, - 'alternative_pincode': datas.alternative_pincode, - 'alternative_pincode_others': datas.alternative_pincode == 1 ? datas.alternative_pincode_others : '', - 'reason_for_alternative_address': datas.reason_for_alternative_address, - }; - _this.getCityAndPincodeDetails(datas.alternative_state, index, 2); - alternative_address_control_1.push(_this.initAlternativeAddress(obj)); - _this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location); - _this.pdQuestionAddress.controls.address_type.setValue(datas.address_type); - var selectedAddressType = _this.addressTypes.filter(function (element) { return element.address_type_id == datas.address_type; })[0]; - _this.selectedAddressType(selectedAddressType.address_type, index); - _this.setOthers(datas.address_type, '', 3); - if (datas.address_type == 1) { - _this.pdQuestionAddress.controls.address_type_others.setValue(datas.address_type_others); - _this.selectedAddressType(datas.address_type_others, index); - } - _this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality); - _this.pdQuestionAddress.controls.locality.setValue(datas.locality); - _this.setOthers(datas.locality, '', 4); - if (datas.locality == 1) { - _this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others); - } - _this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area); - _this.pdQuestionAddress.controls.uom.setValue(datas.uom); - _this.setOthers(datas.uom, '', 5); - if (data['records'].uom == 1) { - _this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others); - } - }); - } - } - _this.pdQuestionAddress.controls.address_form_remark.setValue(data['records'].address_form_remark); - } - else { - _this.getaddressForm(); - } - // else { - // control.push(this.createAddresses(null)); - // } - }); - }; - PdQuestionAddressPage.prototype.getaddressFormFromLocal = function () { - var _this = this; - var local_value; - var data = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id }; - // data.pd_id=this.pdDetails.pd_id - // data.form_id=this.FormId.form_id - this.storagedb.retrieveLocalStorage(data).then(function (res) { - if (res) { - var val_rec = {}; - val_rec.records = res[0]; - local_value = res[0]; - console.log("addd", val_rec, "loca", local_value); - var control_1 = _this.pdQuestionAddress.controls['addresses']; - _this.getaddressDetails = val_rec; - if (local_value.active == true) { - if (_this.getaddressDetails.records.addresses) { - _this.getaddressDetails = _this.getaddressDetails.records.addresses; - if (_this.getaddressDetails.length == 0) { - control_1.push(_this.initAddress('')); - } - else { - _this.getaddressDetails.forEach(function (datas, index) { - _this.getCityAndPincodeDetails(datas.state, index, 1); - if (datas.pincode == 1) { - _this.pincodeValue[index] = datas.pincode_others; - } //if(val==true){ - var val = { - 'address': datas.address, - // 'address_type': datas.address_type, - // 'address_type_others': datas.address_type_others, - 'state': datas.state, - 'city': datas.city, - 'pincode': datas.pincode, - 'pincode_others': datas.pincode_others, - }; - // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0]; - if (datas.address_type != '') { - _this.selectedAddressType(datas.address_type, index); - // this.selectedAddressType(selectedAddressType.address_type,index); - if (datas.address_type == 1) { - _this.selectedAddressType(datas.address_type_others, index); - } - } - control_1.push(_this.initAddress(val)); - }); - _this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark); - } - } - else { - control_1.push(_this.initAddress('')); - } - } - else { - _this.getaddressForm(); - } - } - else { - _this.getaddressForm(); - } - }); - }; - PdQuestionAddressPage.prototype.setOthers = function (e, i, flag) { - switch (flag) { - case 1: - var control = this.pdQuestionAddress.controls['addresses']; - var ChildCtrl = control.controls[i]; - e == 1 ? ChildCtrl.addControl('pincode_others', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : ChildCtrl.removeControl('pincode_others'); - break; - case 2: - var alternative_address_control = this.pdQuestionAddress.controls['alternative_addresses']; - var AltChildCtrl = alternative_address_control.controls[i]; - e == 1 ? AltChildCtrl.addControl('alternative_pincode_others', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : AltChildCtrl.removeControl('alternative_pincode_others'); - break; - case 3: - e == 1 ? this.pdQuestionAddress.addControl('address_type_others', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : this.pdQuestionAddress.removeControl('address_type_others'); - break; - case 4: - e == 1 ? this.pdQuestionAddress.addControl('locality_others', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : this.pdQuestionAddress.removeControl('locality_others'); - break; - case 5: - e == 1 ? this.pdQuestionAddress.addControl('uom_others', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : this.pdQuestionAddress.removeControl('uom_others'); - break; - } - }; - PdQuestionAddressPage.prototype.getaddressForm = function () { - var _this = this; - var res; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - // this.addressesList = data.records.filter(item => item.assigned_pd == this.pdid && item.isactive == 1); - this.qustCat.retiverForm(records).subscribe(function (res) { - var control = _this.pdQuestionAddress.controls['addresses']; - _this.getaddressDetails = res; - if (_this.getaddressDetails.dataStatus == true) { - if (_this.getaddressDetails.records.addresses) { - _this.getaddressDetails = _this.getaddressDetails.records.addresses; - if (_this.getaddressDetails.length == 0) { - control.push(_this.initAddress('')); - } - else { - _this.getaddressDetails.forEach(function (datas, index) { - if (datas.address_type_others == "" || datas.address_type_others == null) { - delete datas.address_type_others; - } - if (datas.citySearch == "" || datas.citySearch == null) { - delete datas.citySearch; - } - if (datas.locality_others == "" || datas.locality_others == null) { - delete datas.locality_others; - } - if (datas.pinSearch == "" || datas.pinSearch == null) { - delete datas.pinSearch; - } - if (datas.pincode_others == "" || datas.pincode_others == null) { - delete datas.pincode_others; - } - if (datas.stateSearch == "" || datas.stateSearch == null) { - delete datas.stateSearch; - } - if (datas.uom_others == "" || datas.uom_others == null) { - delete datas.uom_others; - } - _this.getCityAndPincodeDetails(datas.state, index, 1); - if (datas.pincode == 1) { - _this.pincodeValue[index] = datas.pincode_others; - } //if(val==true){ - var val = { - 'address': datas.address, - // 'address_type': datas.address_type, - // 'address_type_others': datas.address_type_others, - 'state': datas.state, - 'city': datas.city, - 'pincode': datas.pincode, - 'pincode_others': datas.pincode_others, - }; - if (datas.address_type != '') { - var selectedAddressType = _this.addressTypes.filter(function (element) { return element.address_type_id == datas.address_type; })[0]; - _this.selectedAddressType(selectedAddressType.address_type, index); - if (datas.address_type == 1) { - _this.selectedAddressType(datas.address_type_others, index); - } - } - control.push(_this.initAddress(val)); - _this.pdQuestionAddress.controls.pd_location.setValue(datas.pd_location ? datas.pd_location : ''); - _this.pdQuestionAddress.controls.address_type.setValue(datas.address_type ? datas.address_type : ''); - // if (datas.address_type) { - // let selectedAddressType = this.pdQuestionAddress.filter(element => element.address_type_id == datas.address_type)[0]; - // this.selectedAddressType(selectedAddressType.address_type); - // this.setOthers(datas.address_type, '', 3); - // if (datas.address_type == 1) { - // this.addressForm.controls.address_type_others.setValue(datas.address_type_others); - // this.selectedAddressType(datas.address_type_others); - // } - // } - _this.pdQuestionAddress.controls.comment_locality.setValue(datas.comment_locality ? datas.comment_locality : ''); - _this.pdQuestionAddress.controls.locality.setValue(datas.locality ? datas.locality : ''); - if (datas.locality) { - _this.setOthers(datas.locality, '', 4); - if (datas.locality == 1) { - _this.pdQuestionAddress.controls.locality_others.setValue(datas.locality_others); - } - } - _this.pdQuestionAddress.controls.estimated_area.setValue(datas.estimated_area ? datas.estimated_area : ''); - _this.pdQuestionAddress.controls.uom.setValue(datas.uom); - if (datas.uom) { - _this.setOthers(datas.uom, '', 5); - if (datas.uom == 1) { - _this.pdQuestionAddress.controls.uom_others.setValue(datas.uom_others); - } - } - }); - var initiated_address_check = res['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? res['records'].is_pd_done_on_initiated_address : true; - _this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(initiated_address_check); - _this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark); - } - // if(this.getaddressDetails.additional_address_units != null){ - // var result = Object.keys(res['records'].additional_address_units).map(function(key) { - // // return res['records'].additional_address_units[key]; - // //for slicing the automatically created - // }); - // //this.removeUnits(0); - // } - // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray; - // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address); - // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state) - // if (this.getaddressDetails.state != '') { - // this.getCityAndPincodeDetails(this.getaddressDetails.state); - // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city); - // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode); - // if (this.getaddressDetails.pincode == 1) { - // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others); - // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]); - // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity(); - // } - // } - // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location); - // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type); - // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type); - // this.selectedAddressType(selectedAddressType); - // if(this.getaddressDetails.address_type != null) { - // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others); - // this.selectedAddressType(this.getaddressDetails.address_type_others); - // } - // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality); - // if(this.getaddressDetails.comment_locality != null){ - // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality); - // } - // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour); - // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality); - // if(this.getaddressDetails.locality == 1 ){ - // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others); - // } - // if(this.getaddressDetails.locality == 5){ - // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse) - // } - // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area); - // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom); - // if (this.getaddressDetails.uom == 1) { - // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others); - // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required]) - // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity(); - // } - // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark); - // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership); - // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership); - // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt); - // if(this.getaddressDetails.rent_amt != null){ - // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt); - // } - // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity); - // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) { - // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity); - // } - // else{ - // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(''); - // } - // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity); - // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years); - // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month); - /* if(this.getaddressDetails.bussiness_activity == 'yes') { - - if (result.length == 0) { - - control.push(this.createUnits(null)); - } else {*/ - //for(let val of this.getaddressDetails.additional_address_units){ - //control.push(this.createUnits(val)); - //} - //result.forEach((datas,index) => { - //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt); - //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas); - //}); - //} - // } - } - else { - control.push(_this.initAddress('')); - } - } - else - _this.loadPD(); - }); - }; - PdQuestionAddressPage.prototype.loadPD = function () { - var _this = this; - var control = this.pdQuestionAddress.controls['addresses']; - this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(function (res) { - if (res.dataStatus == true) { - _this.addressesList = res.records.filter(function (item) { return item.isactive == 1 && item.assigned_pd == _this.pdDetails.pd_id; }); - if (_this.addressesList.length > 0) { - _this.addressesList.forEach(function (datas, index) { - _this.getCityAndPincodeDetails(datas.fk_state, index, 1); - var obj = { - 'address': datas.addressline1, - 'address_type': '', - 'address_type_others': '', - 'state': datas.fk_state, - 'city': datas.fk_city, - 'pincode': datas.pincode_id, - 'pincode_others': datas.other_pincode, - 'locality': '', - 'locality_others': '', - // 'locality_mixuse':'', - 'pd_location': '', - 'comment_locality': '', - 'estimated_area': '', - 'uom': '', - 'uom_others': '' - }; - control.push(_this.initAddress(obj)); - }); - } - else { - control.push(_this.initAddress('')); - } - } - else { - control.push(_this.initAddress('')); - } - }); - }; - PdQuestionAddressPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - console.log('record_for_pic', record_for_pic); - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - console.log('records result', result); - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy', 'is_show_report': result.is_show_report == null ? 0 : result.is_show_report }); - var img_title = (result.pd_document_title).split('('); - if (img_title[0] == 'Approach to PD Location ') { - _this.AppxPDLocationImgValid = true; - //this.imageDisplay = this.imageDisplay.filter (value=>value.is_show_report != 0 && value.name.split('(')[0] != 'Approach to PD Location ') - } - }); - console.log("image Display Data Are", _this.imageDisplay); - } - } - }); - }; - PdQuestionAddressPage.prototype.changeName = function (value, index, img) { - // console.log('inside changeName Fn - its param are ',value,'Index are ',index,'active are'); - this.imageDisplay[index] = { 'image': img, 'Name': value, 'is_show_report': 0 }; - // console.log("image Display Data Are",this.imageDisplay); - }; - PdQuestionAddressPage.prototype.changeNameForBucket = function (value, index, img, active) { - // console.log('inside change-Name-For-Bucket Fn - its param are',value,'Index are ',index,'active are',active); - this.imageBucket[index] = { 'image': img, 'Name': value, 'is_show_report': 0 }; - }; - PdQuestionAddressPage.prototype.changeOptions = function (event, index) { - var _this = this; - // console.log('Option Changed ' + event); - var name = this.imageBucket[index].value; - var length = this.imageDisplay.length; - console.log('image display length', length); - this.imageDisplay.forEach(function (result) { - if (name == 'Approach to PD Location ' && event == 1) { - result.is_show_report = 0; - } - }); - console.log('this.imageDisplay', this.imageDisplay); - this.imageBucket.forEach(function (result) { - if (name == 'Approach to PD Location ' && event == 1) { - // this.AppxPDLocationImgValid = true; - console.log('name', name); - console.log('this.imageBucket.length', _this.imageBucket.length); - result.is_show_report = 0; - } - }); - console.log('this.imageBucket', this.imageBucket); - this.imageBucket[index].is_show_report = event; - // console.log('this.imageBucket',JSON.stringify(this.imageBucket)); - }; - PdQuestionAddressPage.prototype.removeImg = function (index) { - // console.log('inside removeImg Fn - its param are - Index only ',index); - this.imageDisplay.splice(index, 1); - }; - PdQuestionAddressPage.prototype.removeImgForBucket = function (index) { - // console.log('inside removeImgForBucket Fn - its param are - Index only ',index); - this.imageBucket.splice(index, 1); - // console.log("image Display Data Are",this.imageDisplay); - }; - PdQuestionAddressPage.prototype.savePhoto = function (flag) { - var _this = this; - // console.log('savePhoto'); - var currentDate = this.pipe.transform(new Date(), 'yyyy-MM-dd hh:mm:ss'); - this.camera.getPicture({ - quality: 100, - destinationType: this.camera.DestinationType.DATA_URL, - targetWidth: 500, - targetHeight: 600, - correctOrientation: true - }).then(function (imageData) { - // console.log('inside savePhoto Fn - its response ',imageData); - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.base64 = 'data:image/png;base64,' + imageData; - if (flag == 1) { - _this.imageBucket.push({ 'image': _this.base64, 'link': geoCoordinates, 'Name': '', 'is_show_report': '' }); - // this.imageDisplay.push({'image':this.base64,'Name':''}) - console.log("imagebucket", _this.imageBucket); - _this.getImageName(_this.imageBucket.length - 1); - } - else if (flag == 2) { - // console.log('flag'); - _this.imageBucket.push({ 'image': _this.base64, 'link': geoCoordinates, 'Name': 'Approach to PD Location ( ' + currentDate + ' )', 'is_show_report': '' }); - } - }); - }, function (err) { - //alert("error"); - }); - this.tab = '1'; - // this.content.scrollToBottom(); - // let dimensions = this.content.getContentDimensions(); - // this.content.scrollTo(0, dimensions.contentHeight+100, 100); - // this.inputFocus.setFocus(); - }; - PdQuestionAddressPage.prototype.getImageName = function (index) { - var _this = this; - // console.log('inside get Image Name Fn - its param are - Index only ',index); - var alert = this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - // console.log('Reponse',value,'Reponse AS Name',value.Name,value.IsShowReport); - _this.imageBucket[index].Name = value.Name; - }); - // let alert=this.alerCtrl.create({ - // title:'Document Name', - // message: 'Please Enter the Document Name', - // cssClass:'prompt_alert', - // inputs:[ - // { - // name:'Name', - // //value:this.imageBucket[index].Name - // placeholder:'Document Name' - // } - // ], - // buttons:[ - // { - // text:'Submit', - // handler:data=>{ - // this.imageBucket[index].Name=data.Name - // alert.dismiss - // } - // } - // ] - // }) - // alert.present(); - //this.inputFocus.setFocus(); - }; - // al(){ - // this.toast.pdTriggerappmessage("touched"); - // } - PdQuestionAddressPage.prototype.updateImage = function () { - }; - PdQuestionAddressPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records for sendImage", records); - // console.log("inside SendImage Function - records array",JSON.stringify(records)) - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionAddressPage.prototype.localInsert = function (option) { - var datas = this.pdQuestionAddress.value; - datas.pd_id = this.pdDetails.pd_id; - datas.form_id = this.FormId.form_id; - datas.active = option; - // let recors={'records':datas} - this.storagedb.insertData(datas).then(function (res) { - // let alert=this.toast.setAlert('data',JSON.stringify(res)) - // alert.present(); - // console.log("inside localInsert Fn - its Response",res); - }); - }; - PdQuestionAddressPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-address',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-address\pd-question-address.html"*/'\n\n\n\n \n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n \n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n\n\n \n\n
\n\n \n\n Shown On Report\n\n Hide On Report\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
Address Details # {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{SL.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{CL.city_name}}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{PL.pincode}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n

\n\n
\n\n
\n\n \n\n \n\n Alternative Address Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{SL.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select \n\n {{CL.city_name}}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{PL.pincode}}\n\n \n\n \n\n\n\n \n\n \n\n Pincode Required\n\n \n\n \n\n\n\n \n\n \n\n \n\n Reason Required\n\n \n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n \n\n Select\n\n {{m_addressType.address_type}} \n\n \n\n Address Type is Required\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n \n\n
\n\n \n\n \n\n Select\n\n {{m_locality.locality_name}}\n\n \n\n\n\n \n\n Locality is Required\n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{data.description}}\n\n \n\n \n\n PD Location is Required\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n\n\n
\n\n \n\n \n\n\n\n \n\n\n\n
\n\n\n\n
\n\n \n\n \n\n Select\n\n {{data.rating | titlecase}}\n\n \n\n \n\n Comment on Locality is Required\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n
\n\n\n\n \n\n \n\n
\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-address\pd-question-address.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__["a" /* ConstantsProvider */], - __WEBPACK_IMPORTED_MODULE_8__ionic_native_camera__["a" /* Camera */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__["a" /* StorageProvider */]]) - ], PdQuestionAddressPage); - return PdQuestionAddressPage; -}()); - -//# sourceMappingURL=pd-question-address.js.map - -/***/ }), - -/***/ 375: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionEmpInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionEmpInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionEmpInfoPage = (function () { - function PdQuestionEmpInfoPage(navCtrl, navParams, fb, qustCat, aws, toast, constant, cameraProvider, loading) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.constant = constant; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.workExperienceFlag = false; - this.workExperienceErrorFlag = false; - this.tab = '0'; - this.imageBucket = []; - this.imageDisplay = []; - this.dateonly = [{ date: 1, isdisabled: false }, { date: 2, isdisabled: false }, { date: 3, isdisabled: false }, { date: 4, isdisabled: false }, { date: 5, isdisabled: false }, { date: 6, isdisabled: false }, { date: 7, isdisabled: false }, { date: 8, isdisabled: false }, { date: 9, isdisabled: false }, { date: 10, isdisabled: false }, { date: 11, isdisabled: false }, { date: 12, isdisabled: false }, { date: 13, isdisabled: false }, { date: 14, isdisabled: false }, { date: 15, isdisabled: false }, { date: 16, isdisabled: false }, { date: 17, isdisabled: false }, { date: 18, isdisabled: false }, { date: 19, isdisabled: false }, { date: 20, isdisabled: false }, { date: 21, isdisabled: false }, { date: 22, isdisabled: false }, { date: 23, isdisabled: false }, { date: 24, isdisabled: false }, { date: 25, isdisabled: false }, { date: 26, isdisabled: false }, { date: 27, isdisabled: false }, { date: 28, isdisabled: false }, { date: 29, isdisabled: false }, { date: 30, isdisabled: false }, { date: 31, isdisabled: false }]; - this.todate = this.dateonly; - this.complete_status = false; - this.FormId = this.navParams.get('FormId'); - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.users = this.aws.getlocale(); - this.pdid = this.pdDetails.pd_id; - this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; - this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase(); - this.generalExistBusinessYear = 100; - this.generalExistBusinessMonth = 12; - this.getDropDownList(); - this.getCompanyFromGeneralDetails(); - this.getEmploymentDetails(); - this.employmentForm = this.fb.group({ - employer_name: [''], - employer_in_brief: [''], - // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear); - // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth); - how_long_year: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)], - how_long_month: [''], - total_business_experience: [''], - total_business_previous_experience: [''], - was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], - name_person_met: [''], - designation_person_met: [''], - confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], - confirm_salary_amount: [''], - attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], - sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], - from_date_the_salary_is_rcv: [''], - to_date_the_salary_is_rcv: [''], - gross_monthly_salary: [''], - net_monthly_salary: [''], - amount_paid_in_cash: [''], - amount_paid_through_bank: [''], - check_validated: [''], - how_was_it_validated: [''], - why_was_it_not_validated: [''], - bonus_incentive: [''], - bonus_frequency: [''], - bonus_type: [''], - bonus_type_other: [''], - any_delays: [''], - employment_remarks: [''], - }); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionEmpInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionEmpInfoPage'); - this.getPDImages(); - }; - PdQuestionEmpInfoPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.employmentForm.dirty); - if (this.employmentForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionEmpInfoPage.prototype.getDropDownList = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.frequency_data = data['records']; - _this.frequency_data = _this.frequency_data.filter(function (freq) { return freq.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.company_relationship_list = data['records'].filter(function (item) { return item.isactive == 1; }); - _this.company_relationship_list = data['records'].filter(function (item) { return item.name != 'Others'; }); - _this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' }); - } - }); - }; - PdQuestionEmpInfoPage.prototype.getCompanyFromGeneralDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' }; - this.qustCat.retiverForm(records).subscribe(function (value) { - if (value['dataStatus'] == true) { - _this.company_list = value['records'].companies.filter(function (com) { return com.is_active == true; }); - _this.person_met_list = value['records'].individuals.filter(function (app) { return app.is_person_met == true && app.is_active == true; }); - _this.company_related_applicants_list = value['records'].company_with_relationships; - } - else { - } - }); - }; - PdQuestionEmpInfoPage.prototype.ValidateNetSalary = function () { - var salary = this.employmentForm.controls['net_monthly_salary'].value; - console.log('this.employmentForm.controls[amount_paid_in_cash].value', this.employmentForm.controls['amount_paid_in_cash'].value); - if (salary != '') { - var cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value; - // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value; - this.employmentForm.controls['amount_paid_in_cash'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(salary)]); - this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity(); - var maxamt = salary - cash_amount; - if (this.employmentForm.controls['amount_paid_in_cash'].value != '') { - var balance = salary - this.employmentForm.controls['amount_paid_in_cash'].value; - console.log("bal", balance); - this.employmentForm.controls['amount_paid_through_bank'].setValue(balance); - this.inWords(balance, 5); - } - if (maxamt >= 0) { - this.employmentForm.controls['amount_paid_through_bank'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(salary - cash_amount)]); - } - else { - this.employmentForm.controls['amount_paid_through_bank'].setValue('0'); - this.employmentForm.controls['amount_paid_through_bank'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(0)]); - } - this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity(); - } - else { - this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!'); - this.employmentForm.controls['amount_paid_in_cash'].setValue(''); - this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity(); - this.employmentForm.controls['amount_paid_through_bank'].setValue(''); - this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity(); - return; - } - }; - PdQuestionEmpInfoPage.prototype.saveEmpInfo = function () { - var _this = this; - // console.log("has Error",this.employmentForm.controls['how_long_year'].hasError('max')) - if (this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')) { - this.toast.pdTriggerappmessage("Higher than business Vintage"); - this.inputYearFocus.nativeElement.focus(); - return; - } - if (this.employmentForm.controls['total_business_experience'].hasError('min')) { - this.toast.pdTriggerappmessage('Total working Experience is Lower'); - this.expFocus.nativeElement.focus(); - return; - } - // console.log("this.em",this.employmentForm.controls['amount_paid_in_cash'].errors) - if (this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')) { - this.toast.pdTriggerappmessage("Given Value is Maximum of Net Salary"); - this.inputCashPaidFocus.nativeElement.focus(); - return; - } - if (!this.employmentForm.valid) { - this.toast.pdTriggerappmessage('Form Invalid Try Again.!'); - return; - } - var records = {}; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.employer_name = this.employmentForm.controls['employer_name'].value; - records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value; - records.how_long_year = this.employmentForm.controls['how_long_year'].value; - records.how_long_month = this.employmentForm.controls['how_long_month'].value; - records.total_business_experience = this.employmentForm.controls['total_business_experience'].value; - records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value; - records.was_met = this.employmentForm.controls['was_met'].value; - if (this.employmentForm.controls['was_met'].value == 'yes') { - records.name_person_met = this.employmentForm.controls['name_person_met'].value; - records.designation_person_met = this.employmentForm.controls['designation_person_met'].value; - } - else { - records.name_person_met = ''; - records.designation_person_met = ''; - } - records.confirm_salary = this.employmentForm.controls['confirm_salary'].value; - records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : ''; - records.attendance_seen = this.employmentForm.controls['attendance_seen'].value; - records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value; - records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value; - records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value; - records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value; - records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value; - records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value; - records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value; - records.check_validated = this.employmentForm.controls['check_validated'].value; - records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : ''; - records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : ''; - records.any_delays = this.employmentForm.controls['any_delays'].value; - records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value; - records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value; - records.bonus_type = this.employmentForm.controls['bonus_type'].value; - records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value; - records.employment_remarks = this.employmentForm.controls['employment_remarks'].value; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - // this.employmentForm.markAsUntouched(); - _this.employmentForm.reset(_this.employmentForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionEmpInfoPage.prototype.filtercompanyrelationship = function (companyid, applicantid) { - var array = companyid.split("-"); - var data = this.company_related_applicants_list.filter(function (cmpy) { return cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid; }); - if (data.length > 0) { - this.filtered_company_relationship_list = this.company_relationship_list.filter(function (freq) { return freq.company_relationship_id == data[0].company_relationship; }); - this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]); - } - else { - this.employmentForm.controls['designation_person_met'].setValue(''); - } - }; - PdQuestionEmpInfoPage.prototype.formDate = function (value) { - // console.log('to',this.todate) - // console.log(value); - // console.log('to length',this.todate.length); - // console.log('index',value-1); - // console.log('this.todate',this.todate[11]); - // console.log('this.todate',this.todate[11].isdisabled); - this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(''); - this.todate = [{ date: 1, isdisabled: false }, { date: 2, isdisabled: false }, { date: 3, isdisabled: false }, { date: 4, isdisabled: false }, { date: 5, isdisabled: false }, { date: 6, isdisabled: false }, { date: 7, isdisabled: false }, { date: 8, isdisabled: false }, { date: 9, isdisabled: false }, { date: 10, isdisabled: false }, { date: 11, isdisabled: false }, { date: 12, isdisabled: false }, { date: 13, isdisabled: false }, { date: 14, isdisabled: false }, { date: 15, isdisabled: false }, { date: 16, isdisabled: false }, { date: 17, isdisabled: false }, { date: 18, isdisabled: false }, { date: 19, isdisabled: false }, { date: 20, isdisabled: false }, { date: 21, isdisabled: false }, { date: 22, isdisabled: false }, { date: 23, isdisabled: false }, { date: 24, isdisabled: false }, { date: 25, isdisabled: false }, { date: 26, isdisabled: false }, { date: 27, isdisabled: false }, { date: 28, isdisabled: false }, { date: 29, isdisabled: false }, { date: 30, isdisabled: false }, { date: 31, isdisabled: false }]; - var i; - if (value != 0 && value != '') - for (i = 0; i <= value - 1; i++) { - this.todate[i].isdisabled = true; - if (value == 31) { - this.todate[30].isdisabled = false; - } - } - }; - PdQuestionEmpInfoPage.prototype.checkWithExistYear = function (e) { - var data1 = this.company_list.filter(function (c) { return c.company_name == e.split('-')[1]; })[0]; - console.log('this.generalExistBusinessMonth', this.generalExistBusinessMonth); - console.log('this.generalExistBusinessYear', this.generalExistBusinessYear); - if (data1.business_month != null && data1.business_month != '' && data1.business_month != undefined) { - this.generalExistBusinessMonth = data1.business_month; - } - if (data1.business_years) { - this.generalExistBusinessYear = data1.business_years; - } - this.employmentForm.controls['how_long_year'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)]); - this.employmentForm.controls['how_long_year'].updateValueAndValidity(); - }; - PdQuestionEmpInfoPage.prototype.ConvertMonthintoYear = function (e) { - var how_long_year = this.employmentForm.controls.how_long_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - if (how_long_year > this.generalExistBusinessYear) { - this.employmentForm.controls['how_long_year'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)]); - this.employmentForm.controls['how_long_year'].updateValueAndValidity(); - this.employmentForm.controls['how_long_year'].setValue(''); - this.employmentForm.controls['how_long_month'].setValue(''); - } - else { - if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { - this.employmentForm.controls['how_long_year'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)]); - this.employmentForm.controls['how_long_year'].updateValueAndValidity(); - this.employmentForm.controls['how_long_month'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessMonth)]); - this.employmentForm.controls['how_long_month'].updateValueAndValidity(); - } - else { - this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year)); - this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month)); - } - } - }; - PdQuestionEmpInfoPage.prototype.checkWorkingExperiences = function () { - // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false; - // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true; - this.employmentForm.controls['total_business_experience'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(+this.employmentForm.controls.how_long_year.value)]); - this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); - if (!this.employmentForm.controls['total_business_experience'].valid) { - this.expFocus.nativeElement.focus(); - } - this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false; - if (!this.workExperienceFlag) { - this.employmentForm.controls['total_business_previous_experience'].setValue(''); - this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); - } - }; - PdQuestionEmpInfoPage.prototype.inWords = function (val, flag) { - switch (flag) { - case 1: - this.mthlySlryAmtInWords = this.constant.convertNumberToWords(val); - break; - case 2: - this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); - break; - case 3: - this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); - break; - case 4: - this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); - break; - case 5: - this.bankAmtInWords = this.constant.convertNumberToWords(val); - break; - case 6: - this.cashAmtInWords = this.constant.convertNumberToWords(val); - break; - } - }; - PdQuestionEmpInfoPage.prototype.getEmploymentDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (value) { - if (value['dataStatus'] == true) { - var Emp = value['records']; - console.log('emp', Emp); - _this.employmentForm.controls['employer_name'].setValue(Emp.employer_name); - _this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief); - _this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year); - _this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month); - _this.employmentForm.controls['was_met'].setValue(Emp.was_met); - _this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience); - _this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience); - if (_this.employmentForm.controls['total_business_experience'] != null && _this.employmentForm.controls['total_business_previous_experience'] != null) { - //this.checkWorkingExperiences(); - } - if (Emp.name_person_met) { - _this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met); - } - if (Emp.designation_person_met) { - _this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met); - } - _this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary); - console.log('Emp.confirm_salary_amount', Emp.confirm_salary_amount, Emp.confirm_salary); - if (Emp.confirm_salary) { - _this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount); - _this.inWords(Emp.confirm_salary_amount, 1); - } - _this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen); - _this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen); - _this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv); - _this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv); - _this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary); - _this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary); - _this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash); - _this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank); - _this.employmentForm.controls['check_validated'].setValue(Emp.check_validated); - _this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated); - _this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated); - _this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive); - _this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency); - _this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type); - _this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other); - _this.employmentForm.controls['any_delays'].setValue(Emp.any_delays); - _this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks); - _this.inWords(Emp.gross_monthly_salary, 2); - _this.inWords(Emp.net_monthly_salary, 3); - _this.inWords(Emp.bonus_incentive, 4); - _this.inWords(Emp.amount_paid_in_cash, 6); - _this.inWords(Emp.amount_paid_through_bank, 5); - if (Emp.total_business_experience != '') { - _this.checkWorkingExperiences(); - } - } - }); - }; - PdQuestionEmpInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionEmpInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionEmpInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionEmpInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionEmpInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionEmpInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionEmpInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('workExp'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionEmpInfoPage.prototype, "expFocus", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('cashPaidFocus'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionEmpInfoPage.prototype, "inputCashPaidFocus", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('yearFocus'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionEmpInfoPage.prototype, "inputYearFocus", void 0); - PdQuestionEmpInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-emp-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-emp-info\pd-question-emp-info.html"*/'\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n\n\n
\n\n \n\n \n\n {{\n\n cl.company_name }}\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n\n\n Since how long working with this employer?\n\n
\n\n \n\n \n\n Higher than business vintage\n\n \n\n    \n\n \n\n \n\n Higher than business vintage\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n Total working Experience is Lower\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n

Was the Employer Met

\n\n \n\n \n\n YES\n\n NO\n\n \n\n \n\n\n\n\n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n {{person.applicant_name | titlecase}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n

Salary amount confirmed ?

\n\n \n\n YES\n\n NO\n\n \n\n\n\n\n\n
\n\n
\n\n \n\n \n\n {{"₹"}}\n\n {{mthlySlryAmtInWords}} Only\n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n

Attendance register seen ?

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n
\n\n

Salary register seen ?

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n
\n\n\n\n \n\n
Salary Details
\n\n \n\n
\n\n

Date of Salary

 \n\n \n\n \n\n Select\n\n \n\n {{date.date}}\n\n \n\n \n\n \n\n    \n\n \n\n \n\n Select\n\n \n\n {{date.date}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n {{"₹"}}\n\n {{grossMthlySlryAmtInWords}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{netMthlySlryAmtInWords}} Only\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n {{"₹"}}\n\n {{cashAmtInWords}} Only\n\n Given Value is Maximum of Net Salary\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n {{"₹"}}\n\n {{bankAmtInWords}} Only\n\n Given Value is Maximum of Net Salary\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n Select\n\n Validated\n\n Not Validated\n\n \n\n \n\n
\n\n\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n\n
\n\n \n\n \n\n {{"₹"}}\n\n {{bonusIncentiveAmtInWords}} Only\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n Select\n\n {{\n\n fd.name }}\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n Select\n\n Fixed\n\n Variable\n\n depending on performance\n\n Others\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n

Is there any delay in receiving the salary

\n\n \n\n YES\n\n NO\n\n \n\n\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n\n\n \n\n\n\n
\n\n
\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-emp-info\pd-question-emp-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], - __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionEmpInfoPage); - return PdQuestionEmpInfoPage; -}()); - -//# sourceMappingURL=pd-question-emp-info.js.map - -/***/ }), - -/***/ 376: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionCurrentLoansPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the PdQuestionCurrentLoansPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionCurrentLoansPage = (function () { - function PdQuestionCurrentLoansPage(navCtrl, navParams, fb, qustCat, toast, aws, constant, cameraProvider, loading) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.toast = toast; - this.aws = aws; - this.constant = constant; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.placeholderName = []; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.amtInwords = []; - this.emiAmtInwords = []; - this.dataFromAssets = []; - this.labelArr = []; - this.investmentTypeData = []; - this.tentureErrorFlag = false; - this.others_loanAccess = false; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_7_rxjs__["Subject"](); - this.imageBucket = []; - this.tab = '0'; - this.imageDisplay = []; - this.complete_status = false; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.applicants = this.pdDetails.applicat_details.filter(function (val) { return val.pd_co_applicant_id != 0; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.getdropdown(); - this.users = this.aws.getlocale(); - this.currentLoans = this.fb.group({ - existing_loan: [null], - currentloan_remarks: [null], - loan_details: this.fb.array([]) - }); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionCurrentLoansPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - console.log('{{FormId.form_name}}', this.FormId.form_name, this.FormId); - this.getcurrentLoans(); - this.getPDImages(); - }; - PdQuestionCurrentLoansPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.currentLoans.dirty); - if (this.currentLoans.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionCurrentLoansPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (res) { - _this.lenderData = res['records'].filter(function (len) { return len.isactive == 1; }); - _this.lenderDataValue = _this.lenderData.slice(); - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - _this.frequencyData = res['records'].filter(function (frq) { return frq.isactive == 1; }); - }); - this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(function (val) { - _this.loanTypeData = val['records'].filter(function (loan) { return loan.isactive == 1; }); - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true; }); // && val.is_company_applicant===true - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - //modifyCompanyList.push({'id':"0",'name':'Others','group_id':1}) - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - // modifyApplicantList.push() - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (data) { - _this.investmentTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(function (data) { - _this.addressTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('PROPERTIES').subscribe(function (data) { - _this.propertyTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - }; - PdQuestionCurrentLoansPage.prototype.exitsCheck = function (val) { - if (val == "Yes") { - this.addLoanDetails(); - } - }; - PdQuestionCurrentLoansPage.prototype.createLoanDetail = function (data) { - return this.fb.group({ - label: data == null ? [''] : [data.label], - loan_amount: data == null ? [''] : [data.loan_amount], - frequency: data == null ? [''] : [data.frequency], - other_frequency: data == null ? [''] : [data.other_frequency], - emi: data == null ? [''] : [data.emi], - loan_type: data == null ? [''] : [data.loan_type], - others_loan_type: data == null ? [''] : [data.others_loan_type], - loan_taken_by: data == null ? [''] : [data.loan_taken_by], - others_loan_taken: data == null ? [''] : [data.others_loan_taken], - lender: data == null ? [''] : [data.lender], - bankSearch: [''], - others_lender: data == null ? [''] : [data.others_lender], - original_tenure: data == null ? [''] : [data.original_tenure], - current_balance_tenure: data == null ? [''] : [data.current_balance_tenure], - elapsed_tenure: data == null ? [''] : [data.elapsed_tenure] - // other_frequency:[''], - // loan_amount: [''], - // frequency:[''], - // emi: [''], - // loan_type: [''], - // others_loan_type:[''], - // loan_taken_by:[''], - // others_loan_taken:[''], - // lender: [''], - // others_lender:[''], - // original_tenure: [''], - // current_balance_tenure: [''], - // elapsed_tenure:[], - }); - }; - PdQuestionCurrentLoansPage.prototype.addLoanDetails = function () { - var control = this.currentLoans.controls['loan_details']; - control.push(this.createLoanDetail(null)); - }; - PdQuestionCurrentLoansPage.prototype.deleteLoanDetails = function (index) { - var control = this.currentLoans.controls['loan_details']; - if (control.length == 1) { - this.currentLoans.controls['loan_details'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionCurrentLoansPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionCurrentLoansPage.prototype.checkOthers = function (values) { - console.log(values); - var status; - if (values.length != 0 && values != null) { - status = values.filter(function (res) { return res.id == 0; }); - status = status.length > 0 ? true : false; - console.log(status); - this.others_loanAccess = status; - } - else { - this.others_loanAccess = false; - } - }; - PdQuestionCurrentLoansPage.prototype.checkTenure = function (details) { - var originalTenure = details.value.original_tenure; - // alert(originalTenure); - // if(originalTenure>=details.value.current_balance_tenure){ - // this.tentureErrorFlag=true - details.controls.current_balance_tenure.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(+originalTenure)]); - details.controls.current_balance_tenure.updateValueAndValidity(); - //details.controls.current_balance_tenure.setValue - // } - // else{ - // this.toast.pdTriggerappmessage("Current Tenure ") - // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]); - // details.controls.current_balance_tenure.updateValueAndValidity(); - // let BalanceTenure = details.value.current_balance_tenure; - // if( originalTenure < BalanceTenure){ - // alert('Greater'); - // details.controls.current_balance_tenure.setValue(''); - // alert('validation setted For'); - // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]); - // details.controls.current_balance_tenure.updateValueAndValidity(); - // } - }; - PdQuestionCurrentLoansPage.prototype.calculateTenure = function (details, flag) { - switch (flag) { - case 1: - var ElapsedValues = void 0; - console.log(details); - if (details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '') { - console.log("not null"); - if (details.value.current_balance_tenure == 0) { - details.controls['elapsed_tenure'].setValue(details.value.original_tenure); - } - if (details.value.current_balance_tenure <= details.value.original_tenure) { - console.log("validate"); - this.tentureErrorFlag = false; - ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure; - details.controls['elapsed_tenure'].setValue(ElapsedValues); - } - else { - //this.toast.pdTriggerappmessage("Oringinal Tenure Less than Current Balance Tenure") - this.tentureErrorFlag = true; - this.TenureFocus.nativeElement.focus(); - } - } - else { - this.tentureErrorFlag = false; - } - break; - case 2: - var balance = void 0; - console.log("case 2", details); - if (details.value.original_tenure != null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != '') { - if (details.value.elapsed_tenure == 0) { - details.controls['current_balance_tenure'].setValue(details.value.original_tenure); - } - if (details.value.elapsed_tenure <= details.value.original_tenure) { - this.tentureErrorFlag = false; - balance = details.value.original_tenure - details.value.elapsed_tenure; - console.log("ba", balance); - details.controls['current_balance_tenure'].setValue(balance); - } - else { - //this.toast.pdTriggerappmessage("Oringinal Tenure Less than Current Balance Tenure") - this.tentureErrorFlag = true; - // this.TenureFocus.nativeElement.focus(); - } - } - else { - this.tentureErrorFlag = false; - } - } - }; - PdQuestionCurrentLoansPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionCurrentLoansPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value); - break; - case 2: - this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionCurrentLoansPage.prototype.selectedfrequency = function (e, i) { - switch (+e) { - case 1: - this.placeholderName[i] = 'Instalment Amount'; - break; - case 2: - this.placeholderName[i] = 'Annual Instalment Amount'; - break; - case 3: - this.placeholderName[i] = 'Halfyearly Instalment Amount'; - break; - case 4: - this.placeholderName[i] = 'Fortnightly Instalment Amount'; - break; - case 5: - this.placeholderName[i] = 'Daily Instalment Amount'; - break; - case 6: - this.placeholderName[i] = 'Quarterly Instalment Amount'; - break; - case 7: - this.placeholderName[i] = 'Monthly Instalment Amount'; - break; - default: - this.placeholderName[i] = 'Instalment Amount'; - break; - } - }; - PdQuestionCurrentLoansPage.prototype.submitCurrentloan = function (answerData) { - var _this = this; - console.log(answerData); - console.log("true", this.tentureErrorFlag); - var inde = []; - // answerData.loan_details.forEach((element,index)=>{ - // if(element.current_balance_tenure > element.original_tenure){ - // this.toast.pdTriggerappmessage("Oringinal Tenure Less than Current Balance Tenure") - // inde=index - // } - // }) - // console.log("index",inde); - // if(inde){ - // return - // } - if (this.tentureErrorFlag == true) { - // this.toast.pdTriggerappmessage("Original Tenure Less than Current Balance Tenure"); - this.toast.pdTriggerappmessage("Original Tenture is Lower"); - this.TenureFocus.nativeElement.focus(); - return; - } - var records = {}; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.existing_loan = answerData.existing_loan; - records.loan_details = answerData.loan_details; - records.currentloan_remarks = answerData.currentloan_remarks; - records.loan_details.forEach(function (val) { - delete val.bankSearch; - }); - console.log(' final records when save', records); - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - // this.currentLoans.markAsUntouched(); - _this.currentLoans.reset(_this.currentLoans.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionCurrentLoansPage.prototype.getcurrentLoans = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - var control = _this.currentLoans.controls['loan_details']; - if (res['dataStatus'] == true) { - var currentLoanDetails = res['records']; - if (res['records'].loan_details !== undefined && res['records'].loan_details != null && res['records'].loan_details != '') { - currentLoanDetails.loan_details.forEach(function (val) { - val.bankSearch = ''; - }); - var result = Object.keys(res['records'].loan_details).map(function (key) { - return res['records'].loan_details[key]; - }); - console.log("resutl", result); - _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); - _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); - var control_1 = _this.currentLoans.controls['loan_details']; - if (currentLoanDetails.existing_loan != 'No') { - if (result.length == 0) { - control_1.push(_this.createLoanDetail(null)); - } - else { - result.forEach(function (datas, index) { - //this.calculateTenure(res['records']) - control_1.push(_this.createLoanDetail(null)); - _this.selectedfrequency(datas.frequency, index); - if (datas.loan_amount != '') { - _this.amtInwords[index] = _this.constant.convertNumberToWords(datas.loan_amount); - } - if (datas.emi != '') { - _this.emiAmtInwords[index] = _this.constant.convertNumberToWords(datas.emi); - } - }); - _this.currentLoans.controls['loan_details'].patchValue(result); - } - } - } - else { - _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); - _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); - } - } - else { - _this.qustCat.getAssetsWithLoanFromBusiness(_this.pdid).subscribe(function (data) { - if (data.dataStatus == true) { - var AssetData = data.record; - if (AssetData.business_address_asset.length > 0) { - AssetData.business_address_asset.map(function (element) { - _this.dataFromAssets.push({ mode: 0, - mode_name: element.address_label, - details: [], - owner_name: element.business_name_of_the_owner, - other_owner: element.business_name_of_the_other_owner, - form_type: 'Data From Bussiness Address' }); - }); - } - if (AssetData.business_assets.length > 0) { - AssetData.business_assets.map(function (element) { - _this.dataFromAssets.push({ mode: element.business_assets_mode, - mode_name: element.business_assets_mode_name, - details: element.business_details, - owner_name: element.business_name_of_the_owner, - other_owner: element.business_name_of_the_other_owner, - form_type: 'Data From Business Assets' }); - }); - } - if (AssetData.other_assests.length > 0) { - AssetData.other_assests.map(function (element) { - _this.dataFromAssets.push({ mode: element.assets_mode, - mode_name: element.assets_mode_name, - details: element.details, - owner_name: element.name_of_the_owner, - other_owner: element.other_owner, - form_type: 'Data From Other Asset' - }); - }); - } - // id: "4", name: "Equipments and machinaries", isactive: "1", flag: "1", is_others: "0" - // id: "7", name: "Investments", isactive: "1", flag: "0", is_others: "0" - // id: "6", name: "Life Insurance Policy", isactive: "1", flag: "0", is_others: "0" - // id: "2", name: "Property", isactive: "1", flag: "1", is_others: "0" - // id: "3", name: "Vehicle", isactsive: "1", flag: "1", is_others: "0" - // id: "1", name: "Others", isactive: "1", flag: "1", is_others: "1"} - if (_this.dataFromAssets.length > 0) { - var labelarray_1 = []; - _this.dataFromAssets.forEach(function (val, index) { - if (val.mode == 0) { - var owner = val.owner_name.map((function (e) { - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; - } - if (val.mode == 1) { - var data_1; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_1 = v.any_other_assets; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - // return e.name.split(',') - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - } - var description = data_1 != '' ? '( ' + data_1 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - } - if (val.mode == 2) { - var owner_1 = "Owner Not Mentioned"; - var data_2; - val.details.forEach(function (v, index) { - data_2 = v.property_type_name; - if (v.property_type != 1) { - if (val.form_type == 'Data From Business Assets') { - data_2 = _this.addressTypeData.filter(function (item) { return item.address_type_id == v.property_type; })[0].address_type; - } - else if (val.form_type == 'Data From Other Asset') { - data_2 = _this.propertyTypeData.filter(function (item) { return item.id == v.property_type; })[0].name; - } - else { - data_2 = ''; - } - } - else { - data_2 = v.other_property_type; - } - if (val.owner_name.length > 0) { - owner_1 = val.owner_name.map((function (e) { - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - } - }); - var description = data_2 != '' ? '( ' + data_2 + ' )' : ''; - labelarray_1[index] = ' : ' + owner_1 + ' - ' + val.mode_name + description; - } - if (val.mode == 3) { - var data_3; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_3 = v.manufacturer_model_vehicle; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - } - var description = data_3 != '' ? '( ' + data_3 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - } - if (val.mode == 4) { - var data_4; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_4 = v.equipment_manufacturing_description; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - } - var description = data_4 != '' ? '( ' + data_4 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - } - if (val.mode == 6) { - var owner = "Owner Not Mentioned"; - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - } - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; - } - if (val.mode == 7) { - var data_5; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_5 = v.investments_type != 1 - ? _this.investmentTypeData.filter(function (data) { return data.id == v.investments_type; })[0].name - : v.other_investments_type; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return (e.name == 'Others' ? val.other_owner : e.name).split(','); - })); - } - var description = data_5 != '' ? '( ' + data_5 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - var vals = owner + ' - ' + val.mode_name; - } - }); - var control_2 = _this.currentLoans.controls['loan_details']; - _this.labelArr = labelarray_1; - var arr_1 = []; - if (_this.labelArr.length > 0) { - _this.currentLoans.controls['existing_loan'].setValue('Yes'); - _this.labelArr.forEach(function (v, index) { - arr_1 = { - 'label': v, - 'loan_amount': '', - 'frequency': '', - 'other_frequency': '', - 'emi': '', - 'loan_type': '', - 'others_loan_type': '', - 'loan_taken_by': '', - 'others_loan_taken': '', - 'lender': '', - 'others_lender': '', - 'original_tenure': '', - 'current_balance_tenure': '', - 'elapsed_tenure': '' - }; - control_2.push(_this.createLoanDetail(arr_1)); - }); - // this.currentLoanForm.controls['existing_loan'].setValue(arr); - } - } - else { - control.push(_this.createLoanDetail(null)); - } - } - }); - } - }); - }; - PdQuestionCurrentLoansPage.prototype.searchFun = function (control) { - var _this = this; - console.log(control); - var name = "bank"; - control.controls['bankSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_8_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.lenderDataValue = _this.constant.searchData(_this.lenderData, control.controls['bankSearch'].value, name); - }); - }; - /*IMAGE SECTION*/ - PdQuestionCurrentLoansPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionCurrentLoansPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionCurrentLoansPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionCurrentLoansPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionCurrentLoansPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionCurrentLoansPage.prototype.tapEvent = function (value) { - console.log("dd", value); - }; - PdQuestionCurrentLoansPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionCurrentLoansPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - console.log("res", res); - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - console.log("Fail"); - _this.toast.pdTriggerappmessage('Fail'); - } - }, function (ERR) { - console.log(JSON.stringify(ERR)); - _this.toast.pdTriggerappmessage(JSON.stringify(ERR)); - }); - }; - PdQuestionCurrentLoansPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('others_loan_taken').value; - value.get('others_loan_taken').setValue(this.constant.sentenceCase(name)); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('balanceTenure'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionCurrentLoansPage.prototype, "TenureFocus", void 0); - PdQuestionCurrentLoansPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-current-loans',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-current-loans\pd-question-current-loans.html"*/'\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n Do you have any other Existing Loans\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
Loan Details #{{i+1}} {{details.get(\'label\').value}}
\n\n \n\n \n\n \n\n Select\n\n {{types.loan_type_name}}\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{amtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{btLen.lender_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{freq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{emiAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Oringinal Tenure Less than Current Balance Tenure\n\n \n\n \n\n \n\n Oringinal Tenure Less than Elapsed Tenure\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-current-loans\pd-question-current-loans.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], - __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionCurrentLoansPage); - return PdQuestionCurrentLoansPage; -}()); - -//# sourceMappingURL=pd-question-current-loans.js.map - -/***/ }), - -/***/ 377: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionLoansPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__ = __webpack_require__(130); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - -var PdQuestionLoansPage = (function () { - function PdQuestionLoansPage(navCtrl, navParams, fb, qustCat, aws, toast, constant, cameraProvider, loading, storagedb) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.constant = constant; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.storagedb = storagedb; - this.enduse = []; - this.mortageAccess = false; - this.ownerNames = []; - this.isOtherPurpose = false; - this.endUserList = []; - this.mergeCompanyApplicant = []; - this.m_endUseOFTopUpList = []; - this.isContribution = false; - this.isOtherSource = false; - this.isPLSource = false; - this.sourceList = []; - /** Subject that emits when the component has been destroyed. */ - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); - this.filteredBanks = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); - this.imageDisplay = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - console.log("pd", this.pdDetails); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2 && appt.applicant_type != 3; }); - this.productAbbr = this.pdDetails.product_abbr; - this.subProductName = this.pdDetails.subproduct_name; - this.users = this.aws.getlocale(); - this.pdid = this.pdDetails.pd_id; - this.lender_short_name = this.pdDetails.lender_short_name; - this.getDropdown(); - this.loanDetailsForm = this.fb.group({ - loan_amount: [''], - loan_tenure: [''], - sub_product: [''], - end_use: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - end_use_other: [''], - is_transfer: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - is_there_total_fund: [''], - fund_amt: [''], - //is_topup: ['', Validators.compose([Validators.required])], - // is_topup: [''], - balance_transfer_amount: [''], - topup_amount: [''], - end_use_topup: [''], - other_end_use_topup: [''], - lender: [''], - filterCtrl: [''], - other_bt_lender: [''], - own_contribution: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - source: [''], - //personal_loan_source:[''], - other_source: [''], - //lender_name_type: [''], - emi_level: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - property_type: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - property_type_others: [''], - owner_name: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - construction_status: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - //percentage_of_construction : [''], - emv_per_customer: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - //value_per_agreement: ['', Validators.compose([Validators.required])], - loandetails_remarks: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - }); - console.log(this.pdDetails); - //Setting Initial value from PD Master - if (this.pdDetails.loan_amount != null) { - this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount); - this.loanAmtInWords = this.constant.convertNumberToWords(this.pdDetails.loan_amount); - } - if (this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != '') { - this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id); - this.onChangeSubProduct(this.pdDetails.fk_subproduct_id); - } - if (this.pdDetails.product_abbr != "BL" || this.pdDetails.product_abbr != "PL" || this.pdDetails.product_abbr != "LL") { - this.mortagetypeAccess = true; - } - else { - this.mortagetypeAccess = false; - } - if (this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP') { - this.isContribution = true; - } - this.loanDetailsForm.controls['filterCtrl'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.filterBank(); - }); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionLoansPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionLoansPage'); - this.getLoanDetails(); - this.getPDImages(); - }; - PdQuestionLoansPage.prototype.ngOnDestroy = function () { - this._onDestroy.next(); - this._onDestroy.complete(); - }; - PdQuestionLoansPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.loanDetailsForm.dirty); - if (this.loanDetailsForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - // this.localInsert(true) - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionLoansPage.prototype.filterBank = function () { - if (!this.dbmasters) { - return; - } - var search = this.loanDetailsForm.controls['filterCtrl'].value; - if (!search) { - this.dbmasters = this.m_btLenderList; - // this.dbmasters=this.dbmasters.sort((a,b)=>{ - // if(a.lender_name>b.lender_name){ - // return 1; - // } - // if(a.lender_name{ - // if(a.lender_name>b.lender_name){ - // return 1; - // } - // if(a.lender_name -1; }) - //this.dbmasters.filter(master => master.lender_name==search) - ); - // console.log("mbtlender",this.m_btLenderList) - // console.log("Filtered banks",this.filteredBanks) - }; - PdQuestionLoansPage.prototype.getDropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); - _this.dbmasters = _this.m_btLenderList; - _this.dbmasters = _this.dbmasters.sort(function (a, b) { - if (a.lender_name > b.lender_name) { - return 1; - } - if (a.lender_name < b.lender_name) { - return -1; - } - return 0; - }); - _this.filteredBanks.next(_this.dbmasters.slice()); - }); - this.qustCat.getEndUseForLoan(this.pdid, this.pdDetails.fk_subproduct_id).subscribe(function (data) { - _this.m_endUseForLoan = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(function (data) { - _this.m_statusofCunstruction = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(function (data) { - if (data['dataStatus'] == true) { - console.log('data[records]', data['records']); - var that_1 = _this; - _this.m_mortageTypeProperty = data['records'].filter(function (data) { - if (that_1.pdDetails.product_abbr != "LAP") { - if (data.group_name == that_1.pdDetails.product_abbr && data.isactive == 1) { - return data; - } - } - else if (that_1.pdDetails.product_abbr == "LAP") { - if (data.group_name == that_1.productAbbr && data.sub_group_name == that_1.subProductName && data.isactive == 1) { - return data; - } - else if (data.group_name == that_1.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) { - return data; - } - } - }); - // this.mortage_type(this.propertyType); - } - console.log('this.m_mortageTypeProperty', _this.m_mortageTypeProperty); - }); - this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(function (data) { - _this.m_sourceofamount = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(function (subdata) { - if (subdata['dataStatus'] == true) { - var that_2 = _this; - _this.m_endUseofLoad = subdata['records'].filter(function (data) { - if (that_2.pdDetails.fk_product_id == data.fk_product_id && data.isactive == 1) { - return data; - } - }); - _this.endUserChange(_this.enduse); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - } - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - if (this.productAbbr != 'LAP') { - this.mergeCompanyApplicant.push({ groupName: 'OTHERS', groupValues: [{ id: 0, name: 'Not Yet Finalised', group_id: 2 }] }); - } - } - this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(function (data) { - _this.m_endUseOFTopUpList = data['records'].filter(function (val) { return val.is_active == 1; }); - }); - }; - PdQuestionLoansPage.prototype.selectedBalancesTransferChanges = function (event) { - // if(event.value == 'no') { - // this.loanDetailsForm.controls['is_topup'].clearValidators(); - //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity(); - // this.loanDetailsForm.controls['is_topup'].setValue(''); - //} - //else if(event.value == 'yes'){ - // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]); - //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity(); - // } - if (event == 'no') { - this.loanDetailsForm.controls['source'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.loanDetailsForm.controls['source'].updateValueAndValidity(); - this.loanDetailsForm.controls['own_contribution'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity(); - this.loanDetailsForm.controls['other_bt_lender'].setValue(''); - this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); - this.loanDetailsForm.controls['lender'].setValue(''); - this.loanDetailsForm.controls['topup_amount'].setValue(''); - this.loanDetailsForm.controls['end_use_topup'].setValue(''); - this.loanDetailsForm.controls['other_end_use_topup'].setValue(''); - this.topUpAmtInWords = ''; - } - else if (event == 'yes') { - this.loanDetailsForm.controls['source'].setValue(''); - this.loanDetailsForm.controls['source'].clearValidators(); - this.loanDetailsForm.controls['source'].updateValueAndValidity(); - this.loanDetailsForm.controls['own_contribution'].setValue(''); - this.loanDetailsForm.controls['own_contribution'].clearValidators(); - this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity(); - this.isOtherSource = false; - this.loanDetailsForm.controls['other_source'].setValue(''); - } - }; - PdQuestionLoansPage.prototype.mortage_type = function (mortage_value) { - console.log('mortage_value', mortage_value); - console.log('this.m_mortageTypeProperty', this.m_mortageTypeProperty); - var mortagetypes = this.m_mortageTypeProperty.filter(function (mor) { return mor.mortage_property_id == mortage_value; })[0]; - var property_name = mortagetypes.property_name.replace(/\s/g, "").toLowerCase(); - if (property_name == 'others(pleasespecify)' || property_name == 'others') { - this.mortageAccess = true; - } - else { - this.mortageAccess = false; - } - }; - PdQuestionLoansPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionLoansPage.prototype.loanCalc = function () { - var BtAmount = this.loanDetailsForm.value.balance_transfer_amount; - var loanAmount = this.loanDetailsForm.value.loan_amount; - var topupAmt; - if (BtAmount != null && BtAmount != '' && loanAmount != null && loanAmount != '') { - if (loanAmount >= BtAmount) { - topupAmt = loanAmount - BtAmount; - this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt); - this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt); - } - else { - this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!'); - this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); - this.balTxrfAmtInWords = ''; - this.loanDetailsForm.controls['topup_amount'].setValue(''); - this.topUpAmtInWords = ''; - } - } - //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt); - }; - PdQuestionLoansPage.prototype.onChangeSubProduct = function (subproduct) { - var _this = this; - this.qustCat.getEndUseForLoan(this.pdid, subproduct).subscribe(function (data) { - _this.m_endUseForLoan = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - }; - PdQuestionLoansPage.prototype.endUserChange = function (event) { - var _this = this; - //this.endUserList = []; - event.forEach(function (option) { - var othresData = _this.m_endUseForLoan.filter(function (sub) { return sub.enduse_of_loan_id == option; })[0]; - othresData = othresData.enduse_of_loan.substr(0, 6).toLowerCase(); - _this.endUserList.push({ end_use: option }); - if (othresData == 'others') { - _this.isOtherPurpose = true; - return; - } - else { - _this.isOtherPurpose = false; - } - }); - }; - PdQuestionLoansPage.prototype.ownerNameChange = function (event) { - var _this = this; - this.ownerNames = []; - event.value.forEach(function (option) { - _this.ownerNames.push({ owner_name: option }); - }); - }; - PdQuestionLoansPage.prototype.sourceChange = function (evt) { - // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ; - // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ; - var _this = this; - this.isOtherSource = evt.some(function (e) { return e == 1; }); // this return true or false Only; - this.isPLSource = evt.some(function (e) { return e == 3; }); // this return true or false Only; - this.sourceList = []; - evt.forEach(function (option) { - _this.sourceList.push({ source: option }); - }); - }; - PdQuestionLoansPage.prototype.inWords = function (e, flag) { - switch (flag) { - case 1: - this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 2: - this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 3: - this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 4: - this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 5: - this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 6: - this.emiAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 7: - this.emvAmtInWords = this.constant.convertNumberToWords(e.target.value); - case 8: - this.fundAmtInWords = this.constant.convertNumberToWords(e.target.value); - default: - break; - } - }; - PdQuestionLoansPage.prototype.submitLoanDetails = function () { - var _this = this; - // if(this.loanDetailsForm.valid){ - var records = {}; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value; - records.loan_tenure = this.loanDetailsForm.controls['loan_tenure'].value; - records.sub_product = this.loanDetailsForm.controls['sub_product'].value; - records.is_there_total_fund = this.loanDetailsForm.controls['is_there_total_fund'].value; - records.fund_amt = this.loanDetailsForm.controls['fund_amt'].value; - // get end user final group data - var dataEnd_user_data = []; - this.loanDetailsForm.controls['end_use'].value.forEach(function (element) { - dataEnd_user_data.push({ end_use: element }); - }); - records.end_use_group = dataEnd_user_data; - if (this.isOtherPurpose) { - records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value; - } - records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value; - // records.is_topup = this.loanDetailsForm.controls['is_topup'].value; - if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') { - records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value; - } - else if (this.loanDetailsForm.controls['is_transfer'].value == 'no') { - records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value; - var dataSource_list_1 = []; - if (this.loanDetailsForm.controls['source'].value != '') { - this.loanDetailsForm.controls['source'].value.forEach(function (element) { - dataSource_list_1.push({ sources: element }); - }); - } - records.source_group = dataSource_list_1; - } - //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') { - records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value; - //} - if (records.topup_amount > 0) { - records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value; - if (records.end_use_topup == 1) { - records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value; - } - } - if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') { - records.lender = this.loanDetailsForm.controls['lender'].value; - } - if (this.loanDetailsForm.controls['lender'].value == 1) { - records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value; - } - /* records.source = this.loanDetailsForm.controls['source'].value; - if (this.loanDetailsForm.controls['source'].value == 'other') { - records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value; - }*/ - if (this.isOtherSource) { - records.other_source = this.loanDetailsForm.controls['other_source'].value; - } - else { - records.other_source = ''; - } - records.emi_level = this.loanDetailsForm.controls['emi_level'].value; - if (this.mortageCardAccess == true) { - records.property_type = this.loanDetailsForm.controls['property_type'].value; - if (this.loanDetailsForm.value.property_type_others != '' && this.loanDetailsForm.value.property_type_others != null) { - records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value; - } - ; - // records.owner_name_group = this.ownerNames; - if (this.loanDetailsForm.controls['owner_name'].value != '') { - var dataOwner_name_1 = []; - this.loanDetailsForm.controls['owner_name'].value.forEach(function (element) { - dataOwner_name_1.push({ owner_name: element }); - }); - records.owner_name_group = dataOwner_name_1; - } - else { - records.owner_name_group = ''; - } - records.construction_status = this.loanDetailsForm.controls['construction_status'].value; - // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value; - } - else { - records.property_type = null; - records.property_type_others = null; - records.owner_name_group = null; - records.construction_status = null; - records.emv_per_customer = null; - } - records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value; - //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value; - records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - // this.loanDetailsForm.markAsUntouched(); - _this.loanDetailsForm.reset(_this.loanDetailsForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Error'); - } - // this.notifier.notify('success', 'Saved Successfully.'); - }); - // }else - // { - // this.toast.pdTriggerappmessage('Enter The All Field'); - // } - }; - PdQuestionLoansPage.prototype.getLoanDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (value) { - if (value['dataStatus'] == true) { - var loanDetails_1 = value['records']; - var result = Object.keys(loanDetails_1.end_use_group).map(function (key) { - return loanDetails_1.end_use_group[key]; - }); - //this.enduse - result.forEach(function (val) { - _this.enduse.push(val.end_use); - //this.endUserList.push({'end_use':val.end_use}); - }); - var ownername_1 = []; - if (loanDetails_1.owner_name_group != null) { - var owner = Object.keys(loanDetails_1.owner_name_group).map(function (key) { - return loanDetails_1.owner_name_group[key]; - }); - owner.forEach(function (val) { - ownername_1.push(val.owner_name); - _this.ownerNames.push({ 'end_use': val.end_use }); - }); - } - _this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails_1.loan_amount); - _this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails_1.loan_tenure); - if (loanDetails_1.loan_amount) { - _this.loanAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.loan_amount); - } - _this.loanDetailsForm.controls['sub_product'].setValue(loanDetails_1.sub_product); - _this.loanDetailsForm.controls['end_use'].setValue(_this.enduse); - _this.loanDetailsForm.controls['is_there_total_fund'].setValue(loanDetails_1.is_there_total_fund); - _this.loanDetailsForm.controls['fund_amt'].setValue(loanDetails_1.fund_amt); - _this.endUserChange(_this.enduse); - if (loanDetails_1.end_use_other != '') { - //this.endUserChange(this.enduse); - // this.isOtherPurpose=true; - _this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails_1.end_use_other); - } - _this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails_1.is_transfer); - if (loanDetails_1.balance_transfer_amount) { - _this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails_1.balance_transfer_amount); - _this.balTxrfAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.balance_transfer_amount); - } - if (loanDetails_1.topup_amount) { - _this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails_1.topup_amount); - _this.topUpAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.topup_amount); - if (loanDetails_1.topup_amount > 0) { - _this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails_1.end_use_topup); - if (loanDetails_1.end_use_topup == 1) { - _this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails_1.other_end_use_topup); - } - } - } - // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup); - if (loanDetails_1.balance_transfer_amount) { - _this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails_1.balance_transfer_amount); - } - if (loanDetails_1.topup_amount) { - _this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails_1.topup_amount); - } - if (loanDetails_1.lender) { - _this.loanDetailsForm.controls['lender'].setValue(loanDetails_1.lender); - } - // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution); - // if(loanDetails.own_contribution) - // { - // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); - // } - //this.loanDetailsForm.controls['source'].setValue(loanDetails.source); - if (loanDetails_1.fund_amt) { - _this.fundAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.fund_amt); - } - if ((_this.isContribution == true) && (loanDetails_1.is_transfer != 'yes')) { - _this.loanDetailsForm.controls['own_contribution'].setValue(''); - _this.loanDetailsForm.controls['other_source'].setValue(''); - _this.loanDetailsForm.controls['source'].setValue(''); - } - else { - if (_this.isContribution == false && loanDetails_1.is_transfer != 'yes') { - var source = Object.keys(loanDetails_1.source_group).map(function (key) { - return loanDetails_1.source_group[key]; - }); - var dbsourcelist_1 = []; - source.forEach(function (val) { - dbsourcelist_1.push(val.sources); - }); - _this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails_1.own_contribution); - if (loanDetails_1.own_contribution) { - _this.ownContributionInWords = _this.constant.convertNumberToWords(loanDetails_1.own_contribution); - } - _this.loanDetailsForm.controls['source'].setValue(dbsourcelist_1); - _this.sourceChange(dbsourcelist_1); - if (loanDetails_1.other_source) { - // this.isOtherSource = true; - _this.loanDetailsForm.controls['other_source'].setValue(loanDetails_1.other_source); - } - } - } - /* if (loanDetails.lender_name_type) { - this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type); - }*/ - if (loanDetails_1.emi_level) { - _this.loanDetailsForm.controls['emi_level'].setValue(loanDetails_1.emi_level); - _this.emiAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.emi_level); - } - _this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails_1.other_bt_lender); - _this.loanDetailsForm.controls['property_type'].setValue(loanDetails_1.property_type); - _this.propertyType = loanDetails_1.property_type; - if (loanDetails_1.property_type != null && loanDetails_1.property_type != '') { - _this.mortage_type(_this.propertyType); - if (_this.mortageCardAccess == true) { - _this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails_1.property_type_others); - // this.mortage_type(loanDetails.property_type_others); - } - } - _this.loanDetailsForm.controls['owner_name'].setValue(ownername_1); - _this.loanDetailsForm.controls['construction_status'].setValue(loanDetails_1.construction_status); - _this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails_1.emv_per_customer); - if (loanDetails_1.emv_per_customer) { - _this.emvAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.emv_per_customer); - } - // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement); - _this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails_1.loandetails_remarks); - } - else { - if (_this.lender_short_name == 'CLIX') { - _this.loanDetailsForm.controls['is_transfer'].setValue("no"); - _this.selectedBalancesTransferChanges("no"); - } - } - }); - if (this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL' || this.productAbbr == 'LAEP') { - this.mortageCardAccess = false; - this.loanDetailsForm.controls['owner_name'].setValue(''); - this.loanDetailsForm.controls['owner_name'].clearValidators(); - this.loanDetailsForm.controls['owner_name'].updateValueAndValidity(); - } - else { - this.mortageCardAccess = true; - this.loanDetailsForm.controls['owner_name'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.loanDetailsForm.controls['owner_name'].updateValueAndValidity(); - } - }; - /*IMAGE SECTION*/ - PdQuestionLoansPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionLoansPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionLoansPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionLoansPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionLoansPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionLoansPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionLoansPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - // this.imageDisplay.push(this.imageBucket) - // console.log("length",this.imageDisplay.length) - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionLoansPage.prototype.localInsert = function (option) { - var _this = this; - var datas = this.loanDetailsForm.value; - datas.pd_id = this.pdDetails.pd_id; - datas.form_id = this.FormId.form_id; - datas.active = option; - // let form_id=this.FormId.form_id - // let recors={'records':datas} - this.storagedb.insertData(datas).then(function (res) { - var alert = _this.toast.setAlert('data', JSON.stringify(res)); - alert.present(); - console.log(res); - }); - }; - PdQuestionLoansPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-loans',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-loans\pd-question-loans.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{loanAmtInWords}} Only\n\n \n\n \n\n Loan Tenure applied for?\n\n \n\n \n\n \n\n \n\n Select\n\n {{sub.name}} ( {{sub.abbr}} )\n\n \n\n \n\n \n\n \n\n \n\n {{ enduse.enduse_of_loan }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Disclosed\n\n Not Disclosed\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{fundAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{balTxrfAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{topUpAmtInWords}} Only\n\n \n\n \n\n \n\n Select\n\n {{ list.end_use_of_topup }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{ownContributionInWords}} Only\n\n \n\n \n\n \n\n \n\n {{ sour.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{emiAmtInWords}} Only\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n

Details of Property being Mortgaged\n\n

\n\n \n\n \n\n \n\n \n\n Select\n\n {{ typeprop.property_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{ status.name }} \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{emvAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n

\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-loans\pd-question-loans.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__["a" /* StorageProvider */]]) - ], PdQuestionLoansPage); - return PdQuestionLoansPage; -}()); - -//# sourceMappingURL=pd-question-loans.js.map - -/***/ }), - -/***/ 378: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBankingPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the PdQuestionBankingPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBankingPage = (function () { - function PdQuestionBankingPage(navCtrl, navParams, fb, aws, qustCat, toast, cons, cameraProvider, loading) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.cons = cons; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.limitCaseFlag = []; - this.amtInwords = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_7_rxjs__["Subject"](); - this.m_btLenderListValue = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - //this.applicants.pop(); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - // alert(); - this.users = this.aws.getlocale(); - this.bankDetails = this.fb.group({ - bankitems: this.fb.array([]), - banking_form_remark: [null], - }); - this.salaryField = this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? false : true; - this.getdropdown(); - this.retiveBankDetails(); - // this.bankDetails.controls['bankitems'].valueChanges - // .pipe(takeUntil(this._onDestroy)) - // .subscribe(()=>{ - // this.filterBank(); - // }) - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionBankingPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBankingPage'); - this.getPDImages(); - }; - PdQuestionBankingPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.bankDetails.dirty); - if (this.bankDetails.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Form is Modified", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionBankingPage.prototype.checkImage = function () { - var value; - if (this.imageDisplay.length > 0) { - // return new Promise((resolve,reject)=>{ - var alert_1 = this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert_1.present(); - alert_1.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - // reject(); - value = false; - } - else { - // resolve(); - value = true; - } - }); - // }) - } - return value; - }; - PdQuestionBankingPage.prototype.searchFun = function (control) { - var _this = this; - control.controls['filterCtrl'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_8_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.filterBank(control); - }); - }; - PdQuestionBankingPage.prototype.filterBank = function (event) { - if (!this.m_btLenderListValue) { - return; - } - var search = event.controls['filterCtrl'].value; - if (!search) { - this.m_btLenderListValue = this.m_btLenderList.slice(); - return; - } - else { - search = search.toLowerCase(); - this.m_btLenderListValue = this.m_btLenderList.filter(function (val) { return val.lender_name.toLowerCase().indexOf(search) > -1; }); - } - }; - PdQuestionBankingPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.accountType = res['records']; - } - }); - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1 && data.lender_type == 1; }); - _this.m_btLenderListValue = _this.m_btLenderList.slice(); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - } - // let modifyCompanyList : any=[]; - // if(this.existCompanyList.length>0){ - // modifyCompanyList = this.existCompanyList.map(element => { - // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1}; - // }); - // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList}) - //} - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - }; - PdQuestionBankingPage.prototype.selectedAccTypeChanges = function (event, i) { - if (event == 2 || event == 1) { - this.limitCaseFlag[i] = false; - // const control = this.bankingForm.controls['itemRows']; - // control.controls[0].get('limit').clearValidators(); - // control.controls[0].get('limit').updateValueAndValidity(); - } - else { - this.limitCaseFlag[i] = true; - } - }; - /** Amount InWords */ - PdQuestionBankingPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - /** To Convert Month into Year */ - PdQuestionBankingPage.prototype.ConvertMonthintoYear = function (itemrow, e) { - var year = itemrow.controls.vintage_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.vintage_month.setValue(Math.floor(converted_month)); - }; - PdQuestionBankingPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionBankingPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionBankingPage.prototype.createBankItem = function (name) { - return this.fb.group({ - applicant_name: [''], - bank_name: [''], - filterCtrl: [''], - account_type: [''], - salary: this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? [''] : [''], - limit: [''], - other_bank: [''], - other_applicant: [''], - //is_main: [''], - vintage_year: [''], - vintage_month: [''], - }); - }; - PdQuestionBankingPage.prototype.addBankDetails = function () { - // if(this.pd.valid){ - // if(this.items.length !=0) - // { - // this.neighbourAccess = true; - // } - this.bankitems = this.bankDetails.get('bankitems'); - this.bankitems.push(this.createBankItem('')); - }; - PdQuestionBankingPage.prototype.addmoreBankDetils = function () { - this.bankitems = this.bankDetails.get('bankitems'); - this.bankitems.push(this.createBankItem('')); - }; - PdQuestionBankingPage.prototype.removebank = function (i) { - if (this.bankitems.length == 1) { - this.bankitems.reset(); - } - else - this.bankitems.removeAt(i); - }; - PdQuestionBankingPage.prototype.savepdBank = function (answerData) { - var _this = this; - answerData.bankitems.forEach(function (element) { - //console.log("items",element.filterCtrl); - // if(element.filterCtrl){ - // console.log("enter",element.filterCtrl) - delete element.filterCtrl; - // } - }); - // console.log("logs",answerData) - var records = {}; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.banking_details = answerData.bankitems; - records.banking_form_remark = answerData.banking_form_remark; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // this.bankDetails.dirty=false; - // this.bankDetails.markAsDirty(); - // console.log("Dir",this.bankDetails.markAsDirty()) - // console.log("pristine",this.bankDetails.markAsPristine()); - // console.log("Touched",this.bankDetails.markAsTouched()); - //TO CHANGE THE FORM STATE - // this.bankDetails.markAsUntouched(); - // console.log("touched",this.bankDetails.touched) - // console.log("untouched",this.bankDetails.untouched) - // console.log("pristine",this.bankDetails.pristine) - _this.bankDetails.reset(_this.bankDetails.value); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionBankingPage.prototype.retiveBankDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var result = Object.keys(res['records'].banking_details).map(function (key) { - return res['records'].banking_details[key]; - }); - _this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark); - _this.bankitems = _this.bankDetails.get('bankitems'); - if (result.length == 0) { - _this.bankitems.push(_this.createBankItem('')); - } - else { - result.forEach(function (datas, index) { - datas.filterCtrl = ''; - _this.selectedAccTypeChanges(+datas.account_type, index); - if (datas.limit != '') { - _this.amtInwords[index] = _this.cons.convertNumberToWords(+datas.limit); - } - // this.selectedBorrower(datas.applicant_name,index); - _this.bankitems.push(_this.createBankItem('')); - }); - _this.bankDetails.controls['bankitems'].setValue(result); - } - } - else { - _this.addBankDetails(); - } - }); - }; - /*IMAGE SECTION*/ - PdQuestionBankingPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionBankingPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBankingPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBankingPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionBankingPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionBankingPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionBankingPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionBankingPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('other_applicant').value; - value.get('other_applicant').setValue(this.cons.sentenceCase(name)); - }; - PdQuestionBankingPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-banking',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-banking\pd-question-banking.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
Banking Details {{i+1}}
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{val.name | titlecase}} \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n Select\n\n {{bankacc.name}}\n\n\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n Select\n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n
\n\n In case of OD / CC account, What is the Limit \n\n \n\n {{"₹"}} {{amtInwords[i]}} only\n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Number of Years / Months since account was started

\n\n \n\n \n\n    \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-banking\pd-question-banking.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionBankingPage); - return PdQuestionBankingPage; -}()); - -//# sourceMappingURL=pd-question-banking.js.map - -/***/ }), - -/***/ 379: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFamilyPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the PdQuestionFamilyPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFamilyPage = (function () { - function PdQuestionFamilyPage(navCtrl, navParams, fb, qustCat, aws, toast, cons, cameraProvider, loading) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.cons = cons; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.earningStatus = [{ - type: 'Earning', - id: 1 - }, { - type: 'Non Earning', - id: 2 - }]; - this.cityData = []; - this.pincodeData = []; - this.FamilyMemberAsLabel = []; - this.selectPerson = []; - this.apiFamilyMembers = []; - //isReadOnly: any=[]; - this.RentAmount = []; - this.IncomePerMonth = []; - // cons: any; - this.cityDataValue = []; - this.stateDataValue = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); - this.pincodeDataValue = []; - this.relationDataValue = []; - this.imageDisplay = []; - this.imageBucket = []; - this.tab = '0'; - this.titleList = []; - this.complete_status = false; - this.prevFamilyMembersCtrlLength = 0; - this.currFamilyMembersCtrlLength = 0; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.selected_person = this.pdDetails.pdapplicants_details; - this.selectPerson = this.pdDetails.applicat_details; - this.users = this.aws.getlocale(); - this.familyForm = this.fb.group({ - family_details: this.fb.array([]), - family_details_form_remark: [''], - }); - this.getRelation(); - this.getoccupation(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionFamilyPage.prototype.ionViewDidLoad = function () { - console.log("ionViewDidLoad PdQuestionFamilyPage"); - this.getFamilyData(); - this.getPDImages(); - }; - PdQuestionFamilyPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.familyForm.dirty); - if (this.familyForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionFamilyPage.prototype.initFamilyDetails = function (records) { - var _this = this; - if (records === null) { - var formData = this.fb.group({ - selected_person: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - residence_place: [''], - residence_city: [''], - citySearch: [''], - residence_state: [''], - stateSearch: [''], - pinSearch: [''], - residence_pin: [''], - residence_other_pincode: [''], - residence_No_of_years: [''], - residence_ownership: [''], - ownershipOther: [''], - rent: [''], - total_number_of_family_members: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(1), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(20)])], - family_members_details: this.fb.array([]) - }); - var control = this.familyForm.controls['family_details']; - control.push(formData); - } - else { - records.forEach(function (val, index) { - if (val.rent != null) { - _this.inWords(val.rent, index, 2); - } - _this.FamilyMemberAsLabel[index] = _this.selectPerson.filter(function (item) { return item.pd_co_applicant_id == val.selected_person; })[0].applicant_name; - _this.getCity(val.residence_state, index); - var formData = _this.fb.group({ - selected_person: [val.selected_person, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - residence_place: [val.residence_place], - residence_city: [val.residence_city], - citySearch: [''], - residence_state: [val.residence_state], - stateSearch: [''], - pinSearch: [''], - residence_pin: [val.residence_pin], - residence_other_pincode: [val.residence_other_pincode], - residence_No_of_years: [val.residence_No_of_years], - residence_ownership: [val.residence_ownership], - rent: [val.rent || null], - ownershipOther: [val.ownershipOther || null], - total_number_of_family_members: [val.total_number_of_family_members, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(1), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(20)])], - family_members_details: _this.fb.array([]) - }); - var control = _this.familyForm.controls['family_details']; - control.push(formData); - var inx = control.length - 1; - //this.getNumberOfFamilyMemberDetails(inx); - _this.initFamilyMembersDetails(inx, val.family_members_details); - //this.initFamilyMembersDetails - }); - } - /* - return this.fb.group({ - //family_details - selected_person:[''], - residence_place:[''], - residence_city:[''], - residence_state:[''], - residence_pin:[''], - residence_No_of_years: [''], - residence_ownership:[], - rent:[''], - ownershipOther:[''], - total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])], - - //family_member_details - - - - family_members_details:this.fb.array([]), - - - // person: [null], - /* personOther: [''], - members: [''], - residence: [''], - years: [null], - family_details_form_remark:[''], - - });*/ - }; - PdQuestionFamilyPage.prototype.initFamilyMembersDetails = function (inx, val) { - var _this = this; - var control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details; - val.forEach(function (vals, index) { - if (vals.earning_gross_income_per_month != null) { - _this.inWords(vals.earning_gross_income_per_month, index, 1); - } - var datas = _this.fb.group({ - family_member_salutation: [vals.family_member_salutation || null], - family_member_name: [vals.family_member_name || null], - family_member_relationship: [vals.family_member_relationship || null], - relationSearch: [''], - family_member_age: [vals.family_member_age || null], - family_member_earning_status: [vals.family_member_earning_status || null], - earning_segment: [vals.earning_segment || null], - earning_if_others_segment: [vals.earning_if_others_segment || null], - earning_gross_income_per_month: [vals.earning_gross_income_per_month || null], - earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null], - earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null], - non_earning_occupation: [vals.non_earning_occupation || null], - non_earning_if_others: [vals.non_earning_if_others || null], - non_earning_if_schoolorcollege: [vals.non_earning_if_schoolorcollege || null], - non_earning_if_retired_from: [vals.non_earning_if_retired_from || null], - }); - control.push(datas); - }); - }; - /*return this.fb.group({ - family_member_name:[''], - family_member_relationship:[], - family_member_age:[], - family_member_earning_status:[''], - //family_member_earnings - earning_segment:[''], - earning_gross_income_per_month:[''], - earning_name_of_the_employer_or_business:[''], - earning_number_of_years_in_employment_or_business:[''], - - non_earning_occupation:[''], - non_earning_if_others:[''], - non_earning_if_retired_from:[''], - });*/ - PdQuestionFamilyPage.prototype.add = function () { - // const control=this.familyForm.controls['family_details']; - //control.push(this.initFamilyDetails('chck')); - this.initFamilyDetails(null); - this.toast.pdTriggerappmessage("Family Details Added"); - }; - PdQuestionFamilyPage.prototype.remove_family_details = function (i) { - var control = this.familyForm.controls['family_details']; - control.removeAt(i); - }; - PdQuestionFamilyPage.prototype.addMemberDet = function (data) { - var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - //this.initFamilyMembersDetails('','') - control.push(this.generateFamilyMembersDetailsGet()); - }; - PdQuestionFamilyPage.prototype.removeMemberDet = function (index, f_index) { - var control = this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details; - if (control.length > 1) { - control.removeAt(index); - } - else { - control.reset(); - } - // if(control.value !=null && index == 0) - }; - PdQuestionFamilyPage.prototype.getNumberOfFamilyMemberDetails = function (data) { - var datavalue = data; - var formData = this.familyForm.controls['family_details']['controls'][datavalue].controls; - if (formData['total_number_of_family_members'].valid) { - var totmem = formData['total_number_of_family_members'].value; - var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - if (totmem >= control.length) { - var len = totmem - control.length; - for (var i = 0; i < len; i++) { - control.push(this.generateFamilyMembersDetailsGet()); - } - } - else if (totmem < control.length) { - //control.controls.slice(1, 2); - var numbe = control.length - totmem; - for (var i = control.length; i >= totmem; i--) { - control.removeAt(i); - } - // var nn=control.length-totmem; - // control.controls = []; - /*for (let i = 0; i < totmem; i++) { - control.push(this.generateFamilyMembersDetailsGet()); - - }*/ - // this.initFamilyDetails(this.resValue['records'].family_details); - // this.toast.pdTriggerappmessage("Please choose the number greater than"+control.length); - } - } - else { - var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - control.removeAt(control.length); - control.controls = []; - } - /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - control.push(this.initFamilyMembersDetails()); - */ - }; - PdQuestionFamilyPage.prototype.generateFamilyMembersDetailsGet = function () { - return this.fb.group({ - family_member_salutation: [''], - family_member_name: [''], - family_member_relationship: [''], - relationSearch: [''], - family_member_age: [''], - family_member_earning_status: [''], - earning_segment: [''], - earning_if_others_segment: [''], - earning_gross_income_per_month: [''], - earning_name_of_the_employer_or_business: [''], - earning_number_of_years_in_employment_or_business: [''], - non_earning_occupation: [''], - non_earning_if_others: [''], - non_earning_if_schoolorcollege: [''], - non_earning_if_retired_from: [''], - }); - }; - PdQuestionFamilyPage.prototype.getRelation = function () { - var _this = this; - var master_name = 'RELATIONSHIPS'; - this.qustCat.getcommondrop(master_name).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.relationData = data['records'].filter(function (rel) { return rel.isactive == 1; }); - _this.relationDataValue = _this.relationData.slice(); - } - }); - this.qustCat.getcommondrop('PERSONSMET').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.filteredStates = res['records'].filter(function (per) { return per.isactive == 1; }); - } - }); - // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=> - // { - // if(res['dataStatus']==true) - // { - // this.cusSeg = res['records'].filter(seg=>seg.isactive==1); - // } - // }); - this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.cusSeg = res['records'].filter(function (seg) { return seg.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.ownerShip = res['records'].filter(function (own) { return own.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('STATE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.stateData = res['records'].filter(function (item) { return item.isactive == 1; }); - _this.stateDataValue = _this.stateData.slice(); - } - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.titleList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - }; - PdQuestionFamilyPage.prototype.getCity = function (e, i) { - var _this = this; - // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); - // this._pd.retriveForm(params).subscribe(data => { - this.qustCat.getStateWiseCities(e).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.cityData[i] = data.records.cities; - _this.cityDataValue[i] = _this.cityData[i].slice(); - _this.pincodeData[i] = data.records.pincode; - _this.pincodeDataValue[i] = _this.pincodeData[i].slice(); - } - }); - }; - PdQuestionFamilyPage.prototype.getoccupation = function () { - var _this = this; - var master_name = 'OCCUPATIONMEMBERS'; - this.qustCat.getcommondrop(master_name).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.occupationData = data['records'].filter(function (occ) { return occ.isactive == 1; }); - } - }); - }; - /* createMembers(): FormGroup { - return this.fb.group({ - earning_member_name : [null], - earning_member_age : [null], - relation: [null], - segment: [null], - income: [null], - employer_name: [null], - }); - } - count :number = 0; - addearningMembers() - { - this.items = this.familyForm.get('earningMembers') as FormArray; - this.items.push(this.createMembers()); - this.count++; - this.checkfamilystatus(this.count,''); - - } - - deleteEarningMembers(i) - { - - if(this.items.length==1) - { - this.familyForm.controls['earningMembers'].reset(); - }else{ - this.items.removeAt(i); - } - this.count--; - this.checkfamilystatus(this.count,''); - } - createNonMembers(): FormGroup { - return this.fb.group({ - non_earning_member_name : [''], - non_earning_member_age : [''], - relationship: [null], - occupation: [null], - retired: [null], - others_occupation:[null], - }); - } - addMembers() - { - this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray; - this.count++; - this.checkfamilystatus(this.count,''); - this.membersitem.push(this.createNonMembers()); - - } - deleteMembers(i) - { - if(this.membersitem.length==1){ - this.familyForm.controls['nonEarningMembers'].reset(); - - }else{ - this.membersitem.removeAt(i); - } - this.count--; - this.checkfamilystatus(this.count,''); - } - checkfamilystatus(count,familystatus) - { - if(familystatus !='' && familystatus !==undefined){ - - }else{ - familystatus = this.familyForm.get('members').value; - } - if(familystatus !== null ){ - if(familystatus == count) - { - - this.familyAddStatus = true; - }else - { - this.familyAddStatus = false; - } - } - }*/ - /* Old - savepdfamily(answerData) - { - let records: any = {}; - records.no_of_years = answerData.years; - if (answerData.ownership == '4') { - records.ownershipOther = answerData.ownershipOther; - } - records.residence = answerData.residence; - if (answerData.ownership == '3') { - records.what_rent = answerData.rent; - } - // if (answerData.person == '8') { - // records.person_met = answerData.personOther.value; - // } else { - // records.person_met = answerData.person; - // } - records.ownership = answerData.ownership - records.family_members = answerData.members; - records.earning_members = answerData.earningMembers; - records.non_earning_members = answerData.nonEarningMembers; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.family_details_form_remark = answerData.family_details_form_remark; - this.qustCat.saveForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - this.navCtrl.pop(); - } - }) - }*/ - PdQuestionFamilyPage.prototype.setValidation = function (control) { - console.log(control); - if (control.controls['family_member_earning_status'].value == 1) { - control.controls['non_earning_occupation'].clearValidators(); - control.controls['non_earning_occupation'].updateValueAndValidity(); - } - if (control.controls['family_member_earning_status'].value == 2) { - control.controls['non_earning_occupation'].setValidators(__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])); - control.controls['non_earning_occupation'].updateValueAndValidity(); - } - }; - PdQuestionFamilyPage.prototype.savepdfamily = function (answerData) { - var _this = this; - if (!this.familyForm.valid) { - this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields"); - return; - } - var records = {}; - records = this.familyForm.value; - Object.keys(records).forEach(function (key) { return (records[key] == null) && delete records[key]; }); - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.family_details.forEach(function (parVal) { - console.log("par", parVal); - delete parVal.stateSearch; - delete parVal.citySearch; - delete parVal.pinSearch; - parVal.family_members_details.forEach(function (childVal) { - console.log("childval", parVal); - delete childVal.relationSearch; - }); - }); - this.qustCat.saveForm(records).subscribe(function (res) { - //TO CHANGE THE FORM STATE - _this.familyForm.reset(_this.familyForm.value); - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - }, function (err) { - _this.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It"); - }); - /*let records: any = {}; - records.no_of_years = answerData.residence_No_of_years; - if (answerData.residence_ownership == '4') { - records.ownershipOther = answerData.ownershipOther; - } - //records.residence = answerData.residence; - if (answerData.residence_ownership == '3') { - records.what_rent = answerData.rent; - } - // if (answerData.person == '8') { - // records.person_met = answerData.personOther.value; - // } else { - // records.person_met = answerData.person; - // } - records.ownership = answerData.residence_ownership - records.family_members = answerData.total_number_of_family_members; - records.earning_members = answerData.earningMembers; - records.non_earning_members = answerData.nonEarningMembers; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.family_details_form_remark = answerData.family_details_form_remark; - this.qustCat.saveForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - this.navCtrl.pop(); - } - })*/ - }; - PdQuestionFamilyPage.prototype.selectedPerson = function (e, inx) { - var _this = this; - this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(function (item) { return item.pd_co_applicant_id == e; })[0].applicant_name; - var control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details; - this.currFamilyMembersCtrlLength = control.length; - var i = 0; - for (i; i < this.prevFamilyMembersCtrlLength; i++) { - console.log(i, this.prevFamilyMembersCtrlLength); - control.removeAt(i); - } - // while(index < this.prevFamilyMembersCtrlLength) - // { - // } - this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength; - console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); - if (this.apiFamilyMembers.length > 0) { - var arraydata_1; - var data = this.apiFamilyMembers.filter(function (item) { return item.relation_to == e; }); - // data_gets_from:'GeneralForm' - // data_gets_from:'BusinessForm' - if (data.length > 0) { - this.prevFamilyMembersCtrlLength = data.length; - console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); - data.forEach(function (val, inx) { - // // family_member_earning_status - // if(val.age){ - // this.isReadOnly[inx] = true; - // }else{ - // this.isReadOnly[inx] = false; - // } - arraydata_1 = { - 'family_member_salutation': '', - 'family_member_name': val.name, - 'family_member_relationship': val.relationship, - 'family_member_age': val.age, - 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' : '', - 'earning_segment': '', - 'earning_gross_income_per_month': '', - 'earning_name_of_the_employer_or_business': '', - 'earning_number_of_years_in_employment_or_business': '', - 'earning_if_others_segment': '', - 'non_earning_occupation': '', - 'non_earning_if_others': '', - 'non_earning_if_retired_from': '', - 'non_earning_if_schoolorcollege': '' - }; - control.push(_this.initgenerateFamilyMembersDetailsGet(arraydata_1)); - }); - } - else { - this.prevFamilyMembersCtrlLength = 1; - console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); - control.push(this.generateFamilyMembersDetailsGet()); - } - } - else { - control.push(this.generateFamilyMembersDetailsGet()); - } - }; - PdQuestionFamilyPage.prototype.generateFamilyMembersDetailsGetData = function (data) { - var result = Object.keys(data).map(function (key) { - return data[key]; - }); - if (result.length > 0) { - for (var _i = 0, result_1 = result; _i < result_1.length; _i++) { - var val = result_1[_i]; - var control = this.familyForm.controls['family_members_details']; - control.push(this.initgenerateFamilyMembersDetailsGet(val)); - } - } - }; - PdQuestionFamilyPage.prototype.initgenerateFamilyMembersDetailsGet = function (val) { - return this.fb.group({ - family_member_salutation: [val.family_member_salutation], - family_member_name: [val.family_member_name], - family_member_relationship: [val.family_member_relationship], - relationSearch: [''], - family_member_age: [val.family_member_age], - family_member_earning_status: [val.family_member_earning_status], - earning_segment: [val.earning_segment], - earning_if_others_segment: [val.earning_if_others_segment], - earning_gross_income_per_month: [val.earning_gross_income_per_month], - earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business], - earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business], - non_earning_occupation: [val.non_earning_occupation], - non_earning_if_others: [val.non_earning_if_others], - non_earning_if_schoolorcollege: [val.non_earning_if_schoolorcollege], - non_earning_if_retired_from: [val.non_earning_if_retired_from], - }); - }; - PdQuestionFamilyPage.prototype.getFamilyData = function () { - var _this = this; - this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(function (res) { - // console.log(res); - if (res['dataStatus'] == true) { - // console.log('res.record.from_general_form',res.record.from_general_form,res['record']); - var Temparr = []; - if (res.record.from_general_form.length > 0) { - var familyMembersGeneralForm = Object.keys(res.record.from_general_form).map(function (key) { - return res.record.from_general_form[key]; - }); - var datas = familyMembersGeneralForm.map(function (element) { - return { id: element.pd_co_applicant_id.toString(), - name: element.applicant_name, - relationship: element.relationship, - relation_to: element.relation_to, - age: element.age, - data_gets_from: 'GeneralForm' }; - }); - Temparr.push(datas); - // console.log('Temparr',Temparr); - } - else { - console.log("No data in General Form"); - } - if (res.record.from_business_form.length > 0) { - var familyMembersBusinessForm = Object.keys(res.record.from_business_form).map(function (key) { - return res.record.from_business_form[key]; - }); - var datas = familyMembersBusinessForm.map(function (element) { - return { id: element.other_family_relationship_id, - name: element.family_member_name, - relationship: element.other_family_relationship_id, - relation_to: element.relation_to_id, - age: '', - data_gets_from: 'BusinessForm' }; - }); - Temparr.push(datas); - } - else { - console.log("No data in Business Form"); - } - _this.apiFamilyMembers = [].concat.apply([], Temparr); - } - }); - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - console.log("Entering Retrieve"); - if (res['status'] == 200) { - if (res['records'].family_details.length > 0) { - //FOR REMOVING CONTROL - res['records'].family_details.forEach(function (parVal) { - parVal.stateSearch = ''; - parVal.citySearch = ''; - parVal.pinSearch = ''; - parVal.family_members_details.forEach(function (childVal) { - delete childVal.relationSearch; - }); - }); - _this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark); - _this.resValue = res; - _this.initFamilyDetails(res['records'].family_details); - } - } - else { - console.log("No Data Found"); - _this.initFamilyDetails(null); - } - //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details); - }, function (err) { - console.log("Error", err); - }); - /*let earning:any = []; - let non_earning:any = []; - let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id} - this.qustCat.retiverForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - non_earning = Object.keys(res['records'].non_earning_members).map(function(key) { - - return res['records'].non_earning_members[key]; - }); - this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark); - earning = Object.keys(res['records'].earning_members).map(function(key) { - return res['records'].earning_members[key]; - }); - let familyDetails = res['records']; - this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); - // this.familyForm.controls['person'].setValue(familyDetails.person_met); - this.familyForm.controls['personOther'].setValue(familyDetails.personOther); - this.familyForm.controls['members'].setValue(familyDetails.family_members); - this.familyForm.controls['residence'].setValue(familyDetails.residence); - this.familyForm.controls['years'].setValue(familyDetails.no_of_years); - this.familyForm.controls['ownership'].setValue(familyDetails.ownership); - this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther); - this.familyForm.controls['rent'].setValue(familyDetails.what_rent); - // this.familyForm.controls['earningMembers'].setValue(earning); - // for(this.) - this.items = this.familyForm.get('earningMembers') as FormArray; - this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray; - if(earning.length==0) - { - this.addearningMembers(); - }else - { - earning.forEach(datas => { - this.count++; - this.items.push(this.createMembers()); - }); - this.familyForm.controls['earningMembers'].setValue(earning); - - } - - if(non_earning.length==0) - { - this.addMembers(); - }else - { - non_earning.forEach(datas => { - this.count++; - this.membersitem.push(this.createNonMembers()); - - }); - this.familyForm.controls['nonEarningMembers'].setValue(non_earning); - // this.checkfamilystatus(this.count); - } - - // for(let earningDetails of earning){ - // this.items = this.familyForm.get('earningMembers') as FormArray; - // this.items.push(earning); - // } - - }else - { - this.addearningMembers(); - this.addMembers(); - } - }) */ - }; - /** To Convert Amount into Words */ - PdQuestionFamilyPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); - break; - case 2: - this.RentAmount[i] = this.cons.convertNumberToWords(e); - break; - } - }; - PdQuestionFamilyPage.prototype.initSetValue = function (records) { - for (var _i = 0, records_1 = records; _i < records_1.length; _i++) { - var val = records_1[_i]; - var formData = this.fb.group({ - selected_person: [val.selected_person, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - residence_place: [val.residence_place] - }); - } - }; - PdQuestionFamilyPage.prototype.searchFun = function (control, i, option) { - var _this = this; - console.log("control", control); - if (option == 'city') { - // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name) - control.controls['citySearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.SearchCity(control.controls['citySearch'].value, i); - }); - } - if (option == 'state') { - console.log("state"); - control.controls['stateSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchState(control.controls['stateSearch'].value); - }); - } - if (option == 'pin') { - console.log("pin"); - control.controls['pinSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchPin(control.controls['pinSearch'].value, i); - }); - } - }; - PdQuestionFamilyPage.prototype.searchPin = function (val, index) { - if (!this.pincodeData[index]) { - return; - } - var searchValue = val; - if (!searchValue) { - this.pincodeDataValue[index] = this.pincodeData[index].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.pincodeDataValue[index] = this.pincodeData[index].filter(function (value) { return value.pincode.toLowerCase().indexOf(searchValue) > -1; }); - }; - PdQuestionFamilyPage.prototype.SearchCity = function (val, i) { - // let cityData= - console.log(this.cityData[i]); - if (!this.cityData[i]) { - return; - } - var searchValue = val; - if (!searchValue) { - this.cityDataValue[i] = this.cityData[i].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.cityDataValue[i] = - this.cityData[i].filter(function (val) { return val.city_name.toLowerCase().indexOf(searchValue) > -1; }); - console.log("City Data value", this.cityDataValue[i]); - // this.filteredCity.next( - // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) - // ) - }; - PdQuestionFamilyPage.prototype.searchState = function (val) { - console.log("statedata"); - if (!this.stateData) { - return; - } - var searchVal = val; - if (!searchVal) { - // this.filteredState.next(this.stateList.slice()) - this.stateDataValue = this.stateData.slice(); - return; - } - else { - searchVal = searchVal.toLowerCase(); - } - this.stateDataValue = this.stateData.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); - // this.filteredState.next( - // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1) - // ) - }; - PdQuestionFamilyPage.prototype.searchRelation = function (val) { - var _this = this; - // val=val.controls['relationSearch'].value - console.log("val", val); - val.controls['relationSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.relationDataValue = _this.cons.searchData(_this.relationData, val.controls['relationSearch'].value, ''); - }); - }; - PdQuestionFamilyPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionFamilyPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFamilyPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFamilyPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionFamilyPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionFamilyPage.prototype.capture = function () { - //FOR CAPTURING PICS - var _this = this; - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo location promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionFamilyPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionFamilyPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('family_member_name').value; - value.get('family_member_name').setValue(this.cons.sentenceCase(name)); - }; - PdQuestionFamilyPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-family',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-family\pd-question-family.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n

Family Details {{i+1}}

\n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n {{pd.applicant_name | titlecase}}\n\n \n\n \n\n Applicant\n\n is Required\n\n \n\n
\n\n \n\n \n\n \n\n \n\n
Residence Details of {{FamilyMemberAsLabel[i]}}
\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{s.name}}\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{c.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{p.pincode}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{own.name}}\n\n \n\n\n\n\n\n \n\n {{"₹"}} {{RentAmount[i]}} Only\n\n\n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n Family Details # {{ix+1}} Of {{FamilyMemberAsLabel[i]}}\n\n \n\n \n\n Select\n\n {{t1.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{relation.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{earning.type}}\n\n \n\n \n\n \n\n
\n\n
Earning Details
\n\n \n\n \n\n Select\n\n \n\n {{segment.earning_member_status}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{IncomePerMonth[ix]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Select\n\n \n\n {{occupation.name}}\n\n \n\n \n\n \n\n Non Earning Occupation\n\n is Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-family\pd-question-family.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], - __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionFamilyPage); - return PdQuestionFamilyPage; -}()); - -//# sourceMappingURL=pd-question-family.js.map - -/***/ }), - -/***/ 380: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssestsPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_camera__ = __webpack_require__(129); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -// import {CacheService} from 'ionic-cache-observable' -// import { Observable } from 'rxjs/Observable'; -/** - * Generated class for the PdQuestionAssestsPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssestsPage = (function () { - // data:Observable ; - function PdQuestionAssestsPage(navCtrl, navParams, fb, aws, qustCat, toast, constprovider, camera, alert) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.constprovider = constprovider; - this.camera = camera; - this.alert = alert; - this.tab = '0'; - this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, - { 'value': "no", 'viewValue': "No" }, - { 'value': "nan", 'viewValue': "NA" }]; - this.m_vehicle_type = []; - this.m_uom_type = []; - this.FormList = false; - this.loadDetails = true; - this.PremiumPaidInwords = []; - this.SumAssuredInwords = []; - this.AmtInvestInwords = []; - this.ApproxInwords = []; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.isOtherOwner = []; - this.currentYear = new Date().getFullYear(); - this.imageBucket = []; - this.imageDisplay = []; - this.complete_status = false; - this.apiLoadFinish = false; - this.assestInfo = "busass"; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.users = this.aws.getlocale(); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.AssetsDetailsForm = this.fb.group({ - assets_details: this.fb.array([]), - assets_form_remark: [''] - }); - this.getAssetDetails(); - this.getdropList(); - this.loadDetails = true; - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssestsPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssestsPage'); - console.log("Form", this.AssetsDetailsForm); - this.getPDImages(); - }; - // ionViewWillLeave(){ - // console.log(this.AssetsDetailsForm.dirty); - // if(this.AssetsDetailsForm.dirty){ - // return; - // } - // } - PdQuestionAssestsPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.AssetsDetailsForm.dirty); - if (this.AssetsDetailsForm.dirty) { - // console.log("dirty",this.AssetsDetailsForm.dirty) - //return false; - // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back'); - // console.log("v",val) - // if(val==1){ - // } - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Form is Modified", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionAssestsPage.prototype.getdropList = function () { - var _this = this; - //GETTING Asset Type - this.qustCat.getcommondrop('ASSETTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_assets_type = res['records'].filter(function (data) { return data.isactive == 1 && data.id != 5; }); - } - }); - //GETTING Property Type; - this.qustCat.getcommondrop('PROPERTIES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_propertyType = res['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - //GETTING Investment Type; - this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_investmentType = res['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - //GETTING Insurance Type; - this.qustCat.getcommondrop('INSURANCETYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_insuranceType = res['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - //GETTING Frequency Type; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - //GETTING Relationship; - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_relation = data['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - //GETTING VEHICLE TYPE; - this.qustCat.getcommondrop('VEHICLETYPE').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_vehicle_type = data['records'].filter(function (data) { return data.is_active == 1; }); - } - }); - //GETTING UOM List; - this.qustCat.getcommondrop('UOM').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_uom_type = data['records'].filter(function (data) { return data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2; }); - } - }); - //GETTING Company And Applicant List. - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true; }); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - var modifyApplicantList = []; - if (_this.applicants.length > 0) { - modifyApplicantList = _this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - }); - }; - PdQuestionAssestsPage.prototype.createAsset = function () { - return this.fb.group({ - assets_mode: [null], - details: this.fb.array([]), - approximate_market_value: [null], - name_of_the_owner: [''], - other_owner: [''], - purchase_year: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(4)])], - vintage_personal: [''], - emi: [null], - }); - }; - PdQuestionAssestsPage.prototype.addAsset = function (flag) { - if (flag == 1) { - this.assetItem = this.AssetsDetailsForm.get('assets_details'); - this.assetItem.push(this.createAsset()); - } - }; - PdQuestionAssestsPage.prototype.deleteAsset = function (i, flag) { - if (flag == 1) { - this.assetItem = this.AssetsDetailsForm.get('assets_details'); - if (this.assetItem.length == 1) { - this.AssetsDetailsForm.controls['assets_details'].reset(); - } - else { - this.assetItem.removeAt(i); - } - } - }; - PdQuestionAssestsPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionAssestsPage.prototype.loanCalc = function (details, flag) { - if (flag == 1) { - var ElapsedValues = void 0; - if (details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != '') { - ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure; - details.controls['elapsed_tenure'].setValue(ElapsedValues); - } - } - }; - PdQuestionAssestsPage.prototype.selectedAssetsType = function (e, i, flag) { - var val = i; - if (flag == 1) { - var arr = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - arr.controls.splice(0); - } - switch (e.value) { - case '1': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescription()); - break; - } - case '2': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadProperty()); - break; - } - case '3': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.load_Four_Weeler()); - break; - } - case '4': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadEquipmentManufacturingDescription()); - break; - } - case '5': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadConsumerDurableDescription()); - break; - } - case '6': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInsuranceDescription()); - break; - } - case '7': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInvestDescription()); - break; - } - case '8': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescription()); - break; - } - default: { - break; - } - } - }; - PdQuestionAssestsPage.prototype.loadProperty = function () { - return this.fb.group({ - property_type: [''], - other_property_type: [''], - address_of_the_property: [''], - describe_of_the_property_asset: [''], - area_covered_by_this_property: [''], - uom_of_the_property: [''], - other_uom: [''] - }); - }; - PdQuestionAssestsPage.prototype.loadConsumerDurableDescription = function () { - return this.fb.group({ - consumer_durable_description: [null] - }); - }; - PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescription = function () { - return this.fb.group({ - equipment_manufacturing_description: [''] - }); - }; - PdQuestionAssestsPage.prototype.otherAssetsDescription = function () { - return this.fb.group({ any_other_assets: [''] }); - }; - PdQuestionAssestsPage.prototype.loadInsuranceDescription = function () { - return this.fb.group({ - // insurance_type: [null], - premium_paid: [null], - frequency_mode: [null], - other_frequency_mode: [null], - sum_assured: [null], - members_coverd: [null] - }); - }; - PdQuestionAssestsPage.prototype.loadInvestDescription = function () { - return this.fb.group({ - investments_type: [''], - other_investments_type: [''], - in_which_organisation: [''], - amount_of_invest: [''], - bank_name: [''] - }); - }; - PdQuestionAssestsPage.prototype.load_Four_Weeler = function () { - return this.fb.group({ - manufacturer_model_vehicle: [''], - vehicle_type: [''], - other_vehicle_type: [''] - }); - }; - PdQuestionAssestsPage.prototype.load_Two_Weeler = function () { - return this.fb.group({ - manufacturer_model_two_weeler: [''] - }); - }; - PdQuestionAssestsPage.prototype.loadPropertyWithData = function (data) { - return this.fb.group({ - property_type: [data.property_type], - other_property_type: [data.other_property_type], - address_of_the_property: [data.address_of_the_property], - describe_of_the_property_asset: [data.describe_of_the_property_asset], - area_covered_by_this_property: [data.area_covered_by_this_property], - uom_of_the_property: [data.uom_of_the_property], - other_uom: [data.other_uom] - }); - }; - PdQuestionAssestsPage.prototype.loadJwellDescriptionWithData = function (data) { - return this.fb.group({}); - }; - PdQuestionAssestsPage.prototype.loadConsumerDurableDescriptionWithData = function (data) { - return this.fb.group({ - consumer_durable_description: [data.consumer_durable_description] - }); - }; - PdQuestionAssestsPage.prototype.otherAssetsDescriptionWithData = function (data) { - return this.fb.group({ - any_other_assets: [data.any_other_assets], - }); - }; - PdQuestionAssestsPage.prototype.loadInsuranceDescriptionWithData = function (data) { - return this.fb.group({ - //insurance_type: [data.insurance_type], - premium_paid: [data.premium_paid], - frequency_mode: [data.frequency_mode], - other_frequency_mode: [data.other_frequency_mode], - sum_assured: [data.sum_assured], - members_coverd: [data.members_coverd] - }); - }; - PdQuestionAssestsPage.prototype.loadInvestDescriptionWithData = function (data) { - return this.fb.group({ - investments_type: [data.investments_type], - other_investments_type: [data.other_investments_type], - in_which_organisation: [data.in_which_organisation], - amount_of_invest: [data.amount_of_invest], - bank_name: [data.bank_name] - }); - }; - PdQuestionAssestsPage.prototype.load_Four_WeelerWithData = function (data) { - return this.fb.group({ - // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])] - manufacturer_model_vehicle: [data.manufacturer_model_vehicle], - vehicle_type: [data.vehicle_type], - other_vehicle_type: [data.other_vehicle_type] - }); - }; - PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescriptionWithData = function (data) { - return this.fb.group({ - equipment_manufacturing_description: [data.equipment_manufacturing_description] - }); - }; - PdQuestionAssestsPage.prototype.load_Two_WeelerWithData = function (data) { - return this.fb.group({ - manufacturer_model_vehicle: [data.manufacturer_model_vehicle] - }); - }; - PdQuestionAssestsPage.prototype.initDetailsWithdata = function (data) { - return this.fb.group({ - assets_mode: [data.assets_mode], - details: this.fb.array([]), - approximate_market_value: [data.approximate_market_value], - name_of_the_owner: [data.name_of_the_owner], - other_owner: [data.other_owner || ''], - vintage_personal: [data.vintage_personal], - purchase_year: [data.purchase_year, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(4)])], - emi: [data.emi || 0], - }); - }; - PdQuestionAssestsPage.prototype.saveAssetDetails = function (answerData) { - var _this = this; - if (!this.AssetsDetailsForm.dirty) { - this.toast.pdTriggerappmessage("Modified" + ' ' + this.AssetsDetailsForm.dirty); - return; - } - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - // answerData.assets_details.map(val => { - // if (val.emi == 'no') { - // val.emi_paid = ''; - // val.elapsed_tenure = ''; - // val.balance_tenure = ''; - // val.original_loan_tenure =''; - // } - // }); - answerData.parent_pdid = this.pdDetails.parent_pd_id; - answerData.pdid = this.pdDetails.pd_id; - answerData.formid = this.FormId.form_id; - answerData.fk_createdby = this.users; - this.qustCat.saveForm(answerData).subscribe(function (res) { - if (res['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this.AssetsDetailsForm.reset(_this.AssetsDetailsForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - // To Fetch The Asset Value; - PdQuestionAssestsPage.prototype.getAssetDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var assetArray = Object.keys(res['records'].assets_details).map(function (key) { - // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark) - return res['records'].assets_details[key]; - }); - _this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark); - if (assetArray.length > 0) { - assetArray.forEach(function (val, index) { - var vals = { - assets_mode: val.assets_mode, - approximate_market_value: val.approximate_market_value, - name_of_the_owner: val.name_of_the_owner, - other_owner: val.other_owner, - purchase_year: val.purchase_year, - vintage_personal: val.vintage_personal, - emi: val.emi, - }; - var Avaliablity = 1; - if (val.name_of_the_owner.length > 0) { - val.name_of_the_owner.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity = option.id; - } - }); - } - _this.isOtherOwner[index] = Avaliablity == 0 ? true : false; - var control = _this.AssetsDetailsForm.controls['assets_details']; - control.push(_this.initDetailsWithdata(vals)); - _this.inWords(+val.approximate_market_value, index, 4); - _this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length - 1); - // this.setRequiredValidation(val.name_of_the_owner, index, '', 4); - }); - } - _this.apiLoadFinish = true; - //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray); - } - else { - _this.apiLoadFinish = true; - _this.addAsset(1); - // this.addAsset(2); - } - }); - }; - PdQuestionAssestsPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionAssestsPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionAssestsPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionAssestsPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionAssestsPage.prototype.setAssetsDetailsWithData = function (assets_details_mode, datas, i) { - var _this = this; - var val = i; - var data = datas; - var arr = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - arr.controls.splice(0); - switch (assets_details_mode) { - case '1': { - var array_data_1; - data.forEach(function (datas, i) { - array_data_1 = { 'any_other_assets': datas.any_other_assets }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescriptionWithData(array_data_1)); - break; - } - case '2': { - var array_data_2; - data.forEach(function (datas, i) { - array_data_2 = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, - 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset, - 'uom_of_the_property': datas.uom_of_the_property, - 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadPropertyWithData(array_data_2)); - break; - } - case '3': { - var array_data_3; - data.forEach(function (datas, i) { - array_data_3 = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, - 'vehicle_type': datas.vehicle_type, - 'other_vehicle_type': datas.other_vehicle_type }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.load_Four_WeelerWithData(array_data_3)); - break; - } - case '4': { - var array_data_4; - data.forEach(function (datas, i) { - array_data_4 = { 'equipment_manufacturing_description': datas.equipment_manufacturing_description }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data_4)); - break; - } - case '5': { - this.FormList = true; - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - // control.push(this.loadConsumerDurableDescriptionWithData(data)); - break; - } - case '6': { - var array_data_5; - data.forEach(function (datas, i) { - array_data_5 = { - 'premium_paid': datas.premium_paid, - 'frequency_mode': datas.frequency_mode, - 'other_frequency_mode': datas.other_frequency_mode, - 'sum_assured': datas.sum_assured, - 'members_coverd': datas.members_coverd - }; - _this.inWords(+datas.premium_paid, i, 1); - _this.inWords(+datas.sum_assured, i, 2); - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInsuranceDescriptionWithData(array_data_5)); - break; - } - case '7': { - var array_data_6; - data.forEach(function (datas, i) { - _this.inWords(+datas.amount_of_invest, i, 3); - array_data_6 = { 'investments_type': datas.investments_type, - 'other_investments_type': datas.other_investments_type, - 'in_which_organisation': datas.in_which_organisation, - 'amount_of_invest': datas.amount_of_invest, - 'bank_name': datas.bank_name }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInvestDescriptionWithData(array_data_6)); - break; - } - default: { - break; - } - } - }; - /** On Key Press Event For Number only Accepting */ - PdQuestionAssestsPage.prototype.keyPress = function (event) { - var pattern = /[0-9\-\.\ ]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionAssestsPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 2: - this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 3: - this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 4: - this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e); - break; - default: - break; - } - }; - PdQuestionAssestsPage.prototype.calculateVintagePurchase = function (value, controlKey, type) { - if (type == 1) { } - else if (type == 2) { } - else if (type == 3) { - var control = this.AssetsDetailsForm.controls['assets_details']; - control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); - } - else if (type == 4) { - var control = this.AssetsDetailsForm.controls['assets_details']; - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue(''); - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue(''); - } - }; - PdQuestionAssestsPage.prototype.setRequiredValidation = function (value, ParInx, ChdInx, flag) { - var ParCtrls = this.AssetsDetailsForm.controls.assets_details; - var ChdCtrls = ParCtrls.controls[ParInx]; - if (flag == 4) { - var Avaliablity_1 = 1; - if (value.length > 0) { - value.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity_1 = option.id; - } - }); - } - if (Avaliablity_1 == 0) { - // ChdCtrls.controlsother_owner.setValidators([Validators.required]); - this.isOtherOwner[ParInx] = true; - } - else if (Avaliablity_1 == 1) { - ChdCtrls.controls.other_owner.setValue(''); - // ChdCtrls.controls.other_owner.clearValidators(); - this.isOtherOwner[ParInx] = false; - } - // ChdCtrls.controls.other_owner.updateValueAndValidity(); - } - }; - PdQuestionAssestsPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionAssestsPage.prototype.savePhoto = function () { - var _this = this; - var num_of_images = (this.imageBucket.length + 1) + (this.imageDisplay.length + 1); - console.log("num of images", num_of_images); - if (num_of_images <= 10) { - this.camera.getPicture({ - quality: 100, - destinationType: this.camera.DestinationType.DATA_URL, - targetWidth: 500, - targetHeight: 600, - correctOrientation: true - }).then(function (imageData) { - _this.constprovider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.base64 = 'data:image/png;base64,' + imageData; - _this.imageBucket.push({ 'image': _this.base64, 'Name': '', 'link': geoCoordinates }); - // this.imageDisplay.push({'image':this.base64,'Name':''}) - _this.getImageName(_this.imageBucket.length - 1); - }); - }, function (err) { - //alert("error"); - }); - this.tab = '1'; - // this.content.scrollToBottom(); - // let dimensions = this.content.getContentDimensions(); - // this.content.scrollTo(0, dimensions.contentHeight+100, 100); - // this.inputFocus.setFocus(); - } - else { - this.toast.pdTriggerappmessage("You are reached the image Limit. To Capture new one Delete the Previous image"); - } - }; - PdQuestionAssestsPage.prototype.getImageName = function (index) { - var _this = this; - console.log("index", index); - var alert = this.alert.create({ - title: 'Document Name', - message: 'Please Enter the Document Name', - cssClass: 'prompt_alert', - inputs: [ - { - name: 'Name', - //value:this.imageBucket[index].Name - placeholder: 'Document Name' - } - ], - buttons: [ - { - text: 'Submit', - handler: function (data) { - console.log(data.Name); - _this.imageBucket[index].Name = data.Name; - alert.dismiss; - } - } - ] - }); - alert.present(); - //this.inputFocus.setFocus(); - }; - // al(){ - // this.toast.pdTriggerappmessage("touched"); - // } - PdQuestionAssestsPage.prototype.sendImage = function () { - var _this = this; - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionAssestsPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('other_owner').value; - value.get('other_owner').setValue(this.constprovider.sentenceCase(name)); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusName'), - __metadata("design:type", Object) - ], PdQuestionAssestsPage.prototype, "inputFocus", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('picContent'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], PdQuestionAssestsPage.prototype, "content", void 0); - PdQuestionAssestsPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assests',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assests\pd-question-assests.html"*/'\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found\n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
Asset Details # {{i+1}}
\n\n \n\n
\n\n
\n\n \n\n \n\n Select\n\n {{ asset.name }}\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n {{ prop.name }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Select\n\n {{ uom.name\n\n }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n {{\n\n vehicle.vehicle_type_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{PremiumPaidInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n Select\n\n {{ freqn.name }}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{SumAssuredInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n {{ ins_type.name }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{AmtInvestInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{ApproxInwords[i]}} Only\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{val.name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n Age of Asset in Years\n\n \n\n \n\n\n\n \n\n \n\n
\n\n \n\n Purchase Year\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n

Is there a Loan Existing Against this Assets?

\n\n \n\n \n\n YES\n\n NO\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n\n\n \n\n \n\n \n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assests\pd-question-assests.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_7__ionic_native_camera__["a" /* Camera */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */]]) - ], PdQuestionAssestsPage); - return PdQuestionAssestsPage; -}()); - -//# sourceMappingURL=pd-question-assests.js.map - -/***/ }), - -/***/ 381: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionOtherIncomePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__ = __webpack_require__(211); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - -/** - * Generated class for the PdQuestionOtherIncomePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionOtherIncomePage = (function () { - function PdQuestionOtherIncomePage(navCtrl, navParams, fb, qustCat, aws, toast, constant, cameraProvider, loading, alertCtrl) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.constant = constant; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.alertCtrl = alertCtrl; - this.incomeEarnedBy = []; - this.amtInWords = []; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.applicants = []; - this.isOrganisationOwner = []; - this.imageDisplay = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; - console.log('this.customer_segment_abbr', this.customer_segment_abbr); - this.applicants = this.pdDetails.applicat_details.filter(function (val) { return val.pd_co_applicant_id != 0; }); - //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': "Others"}) - this.getFrequency(); - this.users = this.aws.getlocale(); - // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=> - // { - // this.one = res; - // if(this.one.dataStatus == true) - // { - // this.one = this.one.records.template_forms; - // let one = this.one.records.template_forms.filter(val=>val.form_id == '17') - // console.log(this.one,one); - // } - // }); - this.otherIncomeForm = this.fb.group({ - other_income: [null], - otherincome_remarks: [null], - income_details: this.fb.array([]) - }); - //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray - //this.incomeDetails.push(this.createDetail()) - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionOtherIncomePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionOtherIncomePage'); - this.getOtherIncome(); - this.getPDImages(); - }; - PdQuestionOtherIncomePage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.otherIncomeForm.dirty); - if (this.otherIncomeForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionOtherIncomePage.prototype.createDetail = function () { - return this.fb.group({ - source: [''], - address: [''], - others_source: [''], - income_earned_by: [''], - others_income_earned_by: [''], - amount: [''], - frequency: [''], - others_frequency: [''] - }); - }; - PdQuestionOtherIncomePage.prototype.addIncomeDetails = function () { - this.incomeDetails = this.otherIncomeForm.get('income_details'); - this.incomeDetails.push(this.createDetail()); - }; - PdQuestionOtherIncomePage.prototype.deleteIncomeDetails = function (index) { - this.incomeDetails = this.otherIncomeForm.get('income_details'); - if (this.incomeDetails.length == 1) { - // this.otherIncomeForm.controls['income_details'].reset(); - this.otherIncomeForm.reset(); - this.amtInWords[index] = ''; - } - else { - this.incomeDetails.removeAt(index); - } - }; - PdQuestionOtherIncomePage.prototype.checkotherDetails = function (val) { - if (val == "Yes") { - this.addIncomeDetails(); - } - if (val == "No") { - //let length=this.otherIncomeForm.income_details.controls.length - var control = this.otherIncomeForm.controls['income_details']; - control.removeAt(0); - // let len=control.length - // for(let i=0;i 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - var modifyApplicantList = []; - if (_this.applicants.length > 0) { - modifyApplicantList = _this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - } - console.log("company&Applicant", _this.mergeCompanyApplicant); - }); - var master_name = 'FREQUENCY'; - this.qustCat.getcommondrop(master_name).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.frequencyData = data['records'].filter(function (fre) { return fre.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.sourceIncome = res['records']; - if (_this.customer_segment_abbr == 'SE-RI') { - var inx = _this.sourceIncome.map(function (data) { return data.name; }).indexOf("Rental Income"); - /** -X- Please NOTE THIS : - * inx is '-1' -> this will remove the last item from array - * so that If Condition is given. */ - if (inx !== -1) { - _this.sourceIncome.splice(_this.sourceIncome.map(function (data) { return data.name; }).indexOf("Rental Income"), 1); - } - } - } - }); - }; - PdQuestionOtherIncomePage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionOtherIncomePage.prototype.getOtherOrganisationOwner = function (value, i) { - //console.log('value',value,'I',i); - var Ctrls = this.otherIncomeForm.controls['income_details']; - console.log('ParCtrls', Ctrls); - var ChdCtrls = Ctrls.controls[i]; - // console.log('ChdCtrls',ChdCtrls); - // return; - var Avaliablity = 1; - console.log('val', value); - if (value.length > 0) { - value.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity = option.id; - } - }); - } - if (Avaliablity == 0) { - // console.log('if Avaliablity',Avaliablity); - console.log("chld", ChdCtrls); - ChdCtrls.controls.others_income_earned_by.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.isOrganisationOwner[i] = true; - } - else if (Avaliablity == 1) { - // console.log('else Avaliablity',Avaliablity); - // console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); - ChdCtrls.controls.others_income_earned_by.setValue(''); - ChdCtrls.controls.others_income_earned_by.clearValidators(); - this.isOrganisationOwner[i] = false; - // console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); - } - ChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); - }; - PdQuestionOtherIncomePage.prototype.inWords = function (val, i) { - this.amtInWords[i] = this.constant.convertNumberToWords(val.target.value); - }; - PdQuestionOtherIncomePage.prototype.Toview = function () { - // alert('Rental Income Details - Is inprogress'); - // here Hardcoded; - this.otherIncomeForm.reset(this.otherIncomeForm.value); - var RIFormDtls = { 'form_id': 17, 'form_name': 'Rental Verification' }; - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], { 'FormId': RIFormDtls, 'pdDetails': this.pdDetails }); - }; - PdQuestionOtherIncomePage.prototype.submitOtherIncome = function (answerData) { - var _this = this; - var records = {}; - var rentOptionCount = 0; - var validateFlag = 0; - var TextMessage; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.other_income = answerData.other_income; - records.income_details = answerData.income_details; - records.otherincome_remarks = answerData.otherincome_remarks; - console.log(records); - // this.callSaveApi(records); - if (records.other_income == 'Yes') { - records.income_details.forEach(function (option) { - if (+option.source == 5) { - rentOptionCount++; - validateFlag = 1; - } - }); - if (validateFlag == 1) { - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = 17; - this.qustCat.retiverForm(params).subscribe(function (data) { - if (!data['dataStatus']) { - var text = rentOptionCount > 1 ? rentOptionCount + ' properties' : rentOptionCount + ' property'; - TextMessage = '
You have chosen ' + text + ' as rental income, but rental verification form is not filled
'; - var alert_1 = _this.alertCtrl.create({ - title: 'Please Confirm', - message: TextMessage, - buttons: [ - { - text: 'Cancel', - role: 'cancel', - handler: function () { - alert_1.dismiss; - } - }, - { - text: 'Confirm', - handler: function () { - _this.callSaveApi(records); - } - } - ] - }); - alert_1.present(); - } - else if (data['dataStatus']) { - _this.callSaveApi(records); - } - }); - } - else { - this.callSaveApi(records); - } - } - else { - this.callSaveApi(records); - } - }; - PdQuestionOtherIncomePage.prototype.callSaveApi = function (records) { - var _this = this; - this.qustCat.saveForm(records).subscribe(function (data) { - //TO CHANGE THE FORM STATE - _this.otherIncomeForm.reset(_this.otherIncomeForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - }, function (error) { - }); - }; - PdQuestionOtherIncomePage.prototype.getOtherIncome = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - _this.incomeDetails = _this.otherIncomeForm.get('income_details'); - _this.otherIncomeDetails = res; - if (_this.otherIncomeDetails.dataStatus == true) { - _this.otherIncomeDetails = _this.otherIncomeDetails.records; - if (_this.otherIncomeDetails.other_income == 'Yes') { - var incomeArray = Object.keys(res['records'].income_details).map(function (key) { - return res['records'].income_details[key]; - }); - _this.otherIncomeForm.controls['other_income'].setValue(_this.otherIncomeDetails.other_income); - _this.otherIncomeForm.controls['otherincome_remarks'].setValue(_this.otherIncomeDetails.otherincome_remarks); - if (incomeArray.length == 0) { - // this.incomeDetails.push(this.createDetail()); - } - else { - incomeArray.forEach(function (datas, index) { - _this.incomeDetails.push(_this.createDetail()); - _this.amtInWords[index] = _this.constant.convertNumberToWords(datas.amount); - _this.getOtherOrganisationOwner(datas.income_earned_by, index); - }); - } - _this.otherIncomeForm.controls['income_details'].setValue(incomeArray); - } - else { - _this.otherIncomeForm.controls['other_income'].setValue(_this.otherIncomeDetails.other_income); - _this.otherIncomeForm.controls['otherincome_remarks'].setValue(_this.otherIncomeDetails.otherincome_remarks); - } - } - else { - // this.incomeDetails.push(this.createDetail()) - } - }); - }; - /*IMAGE SECTION*/ - PdQuestionOtherIncomePage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionOtherIncomePage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionOtherIncomePage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionOtherIncomePage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionOtherIncomePage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionOtherIncomePage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionOtherIncomePage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - // this.imageDisplay.push(this.imageBucket) - // console.log("length",this.imageDisplay.length) - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionOtherIncomePage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('others_income_earned_by').value; - value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name)); - }; - PdQuestionOtherIncomePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-other-income',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-other-income\pd-question-other-income.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n

Other Income of Loan Applicants

\n\n \n\n Yes\n\n      \n\n No\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n

Income Details {{i+1}}

\n\n \n\n \n\n \n\n Select\n\n {{source.name}}\n\n \n\n \n\n
\n\n \n\n Address\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{app.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{amtInWords[i]}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n\n\n \n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-other-income\pd-question-other-income.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */]]) - ], PdQuestionOtherIncomePage); - return PdQuestionOtherIncomePage; -}()); - -//# sourceMappingURL=pd-question-other-income.js.map - -/***/ }), - -/***/ 382: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionRentalInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_rxjs__ = __webpack_require__(13); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - -/** - * Generated class for the PdQuestionRentalInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionRentalInfoPage = (function () { - function PdQuestionRentalInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, constprovider, alertCtrl, loading, cameraProvider) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.fb = fb; - this.constprovider = constprovider; - this.alertCtrl = alertCtrl; - this.loading = loading; - this.cameraProvider = cameraProvider; - this.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.personType = [{ id: 2, name: "Tenant / Lessee" }, { id: 3, name: "Owner of the Rented Property" }, { id: 4, name: "Property Caretaker" }, { id: 1, name: "Others (Please Specify)" }]; - this.relationShipList = []; - this.relationToList = []; - this.paymentOptions = [{ id: 1, name: "Received in Cash" }, { id: 2, name: "Received through Banking Channel" }, { id: 3, name: "Combination of Cash & Bank" }]; - this.paymentPaidOptions = [{ id: 1, name: "Paid in Cash" }, { id: 2, name: "Paid through Banking Channel" }, { id: 3, name: "Combination of Cash & Bank" }]; - this.propertyNature = [{ id: 2, name: "Residential Property" }, { id: 3, name: "Commercial Property" }, { id: 4, name: "Industrial Property" }, { id: 1, name: "Others (Please Specify)" }]; - this.unitTypeList = []; - this.stateData = []; - this.cityData = []; - this.pincodeData = []; - this.stateList = []; - this.cityList = []; - this.pincodeList = []; - this.documentList = [{ id: 2, name: "Property Title Document" }, { id: 3, name: "Electricity Bill with name of owner mentioned therein" }, { id: 4, name: "Property tax Receipts" }, { id: 1, name: "Others (Please Specify)" }]; - //floorList: any=[{id:1,name:"Ground Floor"},{id:1,name:"First Floor"},{id:1,name:"Second Floor"},{id:1,name:"Third Floor"}] - //unitMeasurementList: any=[{id:2,name:"Square Feet"},{id:3,name:"Square Yards"},{id:4,name:"Square Meters"},{id:5,name:"Acres"},{id:6,name:"Hectares"},{id:1,name:"Others (Please Specify)"}]; - this.unitMeasurementList = []; - this.rent_per_unit_Inwords = []; - this.amount_Inwords = []; - this.floor_rent_amount_Inwords = []; - this.monthly_rent_amount_Inwords = []; - this.amount_received_cash_Inwords = []; - this.amount_received_bank_Inwords = []; - this.securtity_deposit_amount_Inwords = []; - this.agreement_monthly_rent_amount_Inwords = []; - this.agreement_security_deposit_amount_Inwords = []; - this.paid_monthly_rent_per_met_Inwords = []; - this.amount_received_cash_per_met_Inwords = []; - this.amount_received_bank_per_met_Inwords = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_11_rxjs__["Subject"](); - this.imageBucket = []; - this.tab = '0'; - this.imageDisplay = []; - this.complete_status = false; - this.data = this.navParams.get('values'); // for get the data from dash page - console.log("From Dashboard of Rental - values are ", this.data); - this.pageTitle = this.data.manage_status == 1 ? 'Add RI Details' : 'Update RI Details'; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.users = this.aws.getlocale(); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.getdropList(); - this.rentalForms = this.fb.group({ - parent_pdid: this.pdDetails.parent_pd_id, - pdid: this.pdDetails.pd_id, - formid: this.FormId.form_id, - address_property: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - state: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - stateSearch: [''], - city: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - citySearch: [''], - pincode: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - pincodeSearch: [''], - validate_visited_address: [true], - person_met: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - property_owner: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - property_ownership_proof_documents: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - nature_property: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - unit_type: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - no_units: [''], - multistoried_building_details: this.fb.array([]), - property_unit_details: this.fb.array([]), - done_third_party_check: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - rental_remark: [''], - }); - // observe person met controls - this.rentalForms.controls['person_met'].valueChanges.subscribe(function (val) { - if (val && val.length > 0) { - var otherPersonMetCheck = val.filter(function (fVal) { return fVal.id == 0; }); - otherPersonMetCheck.length > 0 ? _this.rentalForms.addControl('other_person_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_person_met'); - otherPersonMetCheck.length > 0 ? _this.rentalForms.addControl('other_name_person_showing_property', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_name_person_showing_property'); - otherPersonMetCheck.length > 0 ? '' : _this.rentalForms.removeControl('other_name_person_type'); - } - else { - _this.rentalForms.removeControl('other_person_met'); - _this.rentalForms.removeControl('other_name_person_showing_property'); - _this.rentalForms.removeControl('other_name_person_type'); - } - }); - // observe owner of the property - this.rentalForms.controls['property_owner'].valueChanges.subscribe(function (val) { - if (val && val.length > 0) { - var otherOwnerCheck = val.filter(function (fVal) { return fVal.id == 0; }); - otherOwnerCheck.length > 0 ? _this.rentalForms.addControl('property_owner_other', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('property_owner_other'); - otherOwnerCheck.length > 0 ? _this.rentalForms.addControl('property_owner_other_relationship', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('property_owner_other_relationship'); - otherOwnerCheck.length > 0 ? _this.rentalForms.addControl('property_owner_other_relation_to', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('property_owner_other_relation_to'); - } - else { - _this.rentalForms.removeControl('property_owner_other'); - _this.rentalForms.removeControl('property_owner_other_relationship'); - _this.rentalForms.removeControl('other_name_person_type'); - _this.rentalForms.removeControl('property_owner_other_relation_to'); - } - }); - // observe other property type - this.rentalForms.controls['nature_property'].valueChanges.subscribe(function (val) { - val.id == 1 ? _this.rentalForms.addControl('other_nature_property', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_nature_property'); - }); - // observe unit type changes - this.rentalForms.controls['unit_type'].valueChanges.subscribe(function (val) { - val.id == 1 ? _this.rentalForms.addControl('other_unit_type', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_unit_type'); - val.group_id == 1 && val.id == 6 ? _this.rentalForms.removeControl('no_units') : val.group_id == 2 && val.id == 7 ? _this.rentalForms.removeControl('no_units') : _this.rentalForms.addControl('no_units', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - val.group_id == 1 && val.id == 6 ? _this.rentalForms.addControl('no_floor', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : val.group_id == 2 && val.id == 7 ? _this.rentalForms.addControl('no_floor', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('no_floor'); - val.group_id == 1 && val.id == 6 ? _this.rentalForms.addControl('multistoried_total_area', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : val.group_id == 2 && val.id == 7 ? _this.rentalForms.addControl('multistoried_total_area', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('multistoried_total_area'); - val.group_id == 1 && val.id == 6 ? _this.rentalForms.addControl('multistoried_uom', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : val.group_id == 2 && val.id == 7 ? _this.rentalForms.addControl('multistoried_uom', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('multistoried_uom'); - val.group_id == 1 && val.id == 6 ? '' : val.group_id == 2 && val.id == 7 ? '' : _this.rentalForms.setControl('multistoried_building_details', _this.fb.array([])); - }); - // observe visit address - this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(function (val) { - if (val === false) { - _this.rentalForms.addControl('other_visited_address', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - _this.rentalForms.removeControl('other_visited_address'); - } - }); - // get city list based on state changes - this.rentalForms.controls['state'].valueChanges.subscribe(function (val) { - _this.qustCat.getStateWiseCities(val).subscribe(function (data) { - if (data.status == 200) { - _this.cityData = data.records.cities; - _this.cityList = _this.cityData.slice(); - _this.pincodeData = data.records.pincode; - _this.pincodeList = _this.pincodeData.slice(); - } - }); - }); - // ownership property documents during the visit - this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(function (val) { - val == "1" ? _this.rentalForms.addControl('sighted_documents', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('sighted_documents'); - val == "1" ? '' : _this.rentalForms.removeControl('other_sighted_documents'); - }); - // listen third party check - this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(function (val) { - val == "1" ? _this.rentalForms.addControl('whom_third_party_check_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('whom_third_party_check_done'); - val == "1" ? _this.rentalForms.addControl('description_third_party_check_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('description_third_party_check_done'); - val == "1" ? _this.rentalForms.addControl('rental_rates_third_party_check_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('rental_rates_third_party_check_done'); - val == "0" ? _this.rentalForms.addControl('why_third_party_check_not_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('why_third_party_check_not_done'); - }); - if (this.data.manage_status != 1) { - this.getRentalDetails(); - } - else { - var control = this.rentalForms.controls['property_unit_details']; - control.push(this.createUnitDetails('')); - } - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionRentalInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionRentalInfoPage'); - this.getPDImages(); - }; - PdQuestionRentalInfoPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.rentalForms.dirty); - if (this.rentalForms.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionRentalInfoPage.prototype.getdropList = function () { - var _this = this; - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - } - // set unit type list details - var resiDentialProperty = [{ id: 2, name: 'Independent Flat', group_id: 1 }, { id: 3, name: 'Independent Floor', group_id: 1 }, - { id: 4, name: 'Independent House', group_id: 1 }, { id: 5, name: 'Independent Row House', group_id: 1 }, { id: 6, name: 'Multi Storey Building', group_id: 1 }, { id: 1, name: 'Other (Please Specify)', group_id: 1 }]; - var commercialProperty = [{ id: 2, name: 'Independent Office', group_id: 2 }, { id: 3, name: 'Independent Shop', group_id: 2 }, { id: 4, name: 'Warehouse/Godown', group_id: 2 }, - { id: 5, name: 'Workshop', group_id: 2 }, { id: 6, name: 'Independent Clinic', group_id: 2 }, { id: 7, name: 'Multi Storey Building', group_id: 2 }, { id: 1, name: 'Other (Please Specify)', group_id: 2 }]; - var industrialProperty = [{ id: 2, name: 'Factory', group_id: 3 }, { id: 3, name: 'Industrial Shed', group_id: 3 }, { id: 1, name: 'Other (Please Specify)', group_id: 3 }]; - this.unitTypeList.push({ groupID: 2, groupName: 'Residential Property', groupValues: resiDentialProperty }); - this.unitTypeList.push({ groupID: 3, groupName: 'Commercial Property', groupValues: commercialProperty }); - this.unitTypeList.push({ groupID: 4, groupName: 'Industrial Property', groupValues: industrialProperty }); - //GETTING RELATIONSHIPS - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (res) { - if (res['dataStatus'] == true) { - var relationshipList = res['records'].filter(function (item) { return item.isactive == 1; }).map(function (element) { - return { id: element.relationship_id.toString(), name: element.name, group_id: 1 }; - }); - relationshipList.length > 0 ? _this.relationShipList.push({ groupName: 'Personal', groupValues: relationshipList }) : ''; - } - }); - //GETTING COMPANYRELATIONSHIPS; - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (res) { - if (res['dataStatus'] == true) { - var companyRelationShipList = res['records'].filter(function (item) { return item.isactive == 1 && item.name != 'Others'; }).map(function (element) { - return { id: element.company_relationship_id.toString(), name: element.name, group_id: 2 }; - }); - companyRelationShipList.length > 0 ? _this.relationShipList.push({ groupName: 'Official', groupValues: companyRelationShipList }) : ''; - } - }); - //GETTING STATE; - this.qustCat.getcommondrop('STATE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.stateData = res['records'].filter(function (data) { return data.isactive == 1; }); - _this.stateList = _this.stateData.slice(); - } - }); - //GETTING UOM; - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.unitMeasurementList = res['records'].filter(function (data) { return data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2; }).map(function (mval) { return ({ id: mval.uom_id, name: mval.name }); }); - } - }); - }; - // initRentalForm() { - // return this.rentalForms = this.fb.group({ - // pdid: this.pdDetails.pd_id, - // formid: this.FormId.form_id, - // address_property:['',Validators.required], - // state:['',Validators.required], - // city:['',Validators.required], - // pincode:['',Validators.required], - // validate_visited_address:[true], - // person_met: ['',Validators.required], - // property_owner: ['',Validators.required], - // property_ownership_proof_documents: ['',Validators.required], - // nature_property: ['',Validators.required], - // unit_type:['',Validators.required], - // no_units:[''], - // property_unit_details : this.fb.array([]), - // done_third_party_check :['',Validators.required], - // rental_remark: [''], - // }); - // } - // createrentalHome() - // { - // return this.fb.group( - // { - // complete_add:[null,Validators.compose([Validators.required])], - // area_of_property:[null,Validators.compose([Validators.required])], - // structure_property:[null,Validators.compose([Validators.required])], - // total_room:[null,Validators.compose([Validators.required])], - // is_rent:[null,Validators.compose([Validators.required])], - // date_agreement:[null,Validators.compose([Validators.required])], - // date_validity:[null,Validators.compose([Validators.required])], - // rent_agreement:[null,Validators.compose([Validators.required])], - // actual_rent:[null,Validators.compose([Validators.required])], - // photo_areegment:[null,Validators.compose([Validators.required])], - // property_photographs:[null], - // bank:[null,Validators.compose([Validators.required])], - // cash:[null,Validators.compose([Validators.required])], - // rent_each_floor:[null,Validators.compose([Validators.required])], - // total_rent:[null,Validators.compose([Validators.required])], - // related_doc_owner:[null,Validators.compose([Validators.required])], - // details_tenants:this.fb.array([]), - // third_party_check:[null,Validators.compose([Validators.required])], - // }) - // } - // other_name_person_showing_property changes - PdQuestionRentalInfoPage.prototype.personShowingChanges = function (value) { - if (value.length > 0) { - var otherCheck = value.filter(function (fVal) { return fVal.id == 1; }); - otherCheck.length > 0 ? this.rentalForms.addControl('other_name_person_type', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_name_person_type'); - } - else { - this.rentalForms.removeControl('other_name_person_type'); - } - }; - // dynamic form control generate for other documents sighted - PdQuestionRentalInfoPage.prototype.getSightedDocs = function (value) { - value.id == 1 ? this.rentalForms.addControl('other_sighted_documents', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_sighted_documents'); - }; - // add more unit details - PdQuestionRentalInfoPage.prototype.addMoreUnitDetails = function () { - var control = this.rentalForms.controls['property_unit_details']; - //control.push(this.createUnitDetails('')); - control.push(this.createUnitDetails('')); - }; - // create unit details - PdQuestionRentalInfoPage.prototype.createUnitDetails = function (details) { - return this.fb.group({ - tenant_lessees_options: ['1', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - name_tenant_lessees: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - monthly_rent_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - payment_mode: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - securtity_deposit_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - property_cover_area: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - unit_measurement: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - is_rent_agreement_executed: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - met_tenant_lessees_options: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - }); - }; - // remove unit - PdQuestionRentalInfoPage.prototype.removeUnit = function (index) { - var control = this.rentalForms.controls['property_unit_details']; - control.removeAt(index); - }; - // generate payment dynamic fields - PdQuestionRentalInfoPage.prototype.generatePaymentOptions = function (value, index, type) { - if (type == 1) { - var control = this.rentalForms.controls['property_unit_details']; - if (value && value.payment_mode.id == 1) { - control.controls[index].addControl('amount_received_cash', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash ? value.amount_received_cash : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].removeControl('amount_received_bank'); - control.controls[index].removeControl('payment_received_reason'); - } - else if (value && value.payment_mode.id == 2) { - control.controls[index].addControl('amount_received_bank', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank ? value.amount_received_bank : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].removeControl('amount_received_cash'); - control.controls[index].removeControl('payment_received_reason'); - } - else if (value && value.payment_mode.id == 3) { - control.controls[index].addControl('amount_received_cash', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash ? value.amount_received_cash : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('amount_received_bank', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank ? value.amount_received_bank : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('payment_received_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.payment_received_reason ? value.payment_received_reason : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - control.controls[index].removeControl('amount_received_cash'); - control.controls[index].removeControl('amount_received_bank'); - control.controls[index].removeControl('payment_received_reason'); - } - } - else if (type == 2) { - var control = this.rentalForms.controls['property_unit_details']; - console.log("controls", control.controls['index']); - if (control.controls[index].controls['payment_difference_per_met']) { - console.log("pay"); - control.controls[index].controls['payment_difference_per_met'].setValue(''); - } - if (value && value.payment_mode_per_met.id == 1) { - control.controls[index].addControl('amount_received_cash_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].removeControl('amount_received_bank_per_met'); - control.controls[index].removeControl('payment_received_reason_per_met'); - } - else if (value && value.payment_mode_per_met.id == 2) { - control.controls[index].addControl('amount_received_bank_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].removeControl('amount_received_cash_per_met'); - control.controls[index].removeControl('payment_received_reason_per_met'); - } - else if (value && value.payment_mode_per_met.id == 3) { - control.controls[index].addControl('amount_received_cash_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('amount_received_bank_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('payment_received_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - control.controls[index].removeControl('amount_received_cash_per_met'); - control.controls[index].removeControl('amount_received_bank_per_met'); - control.controls[index].removeControl('payment_received_reason_per_met'); - } - } - }; - // tenant/lessees options - PdQuestionRentalInfoPage.prototype.generateTenantOptions = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value.tenant_lessees_options == "1") { - control.controls[index].addControl('name_tenant_lessees', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].removeControl('name_tenant_lessees_reason'); - } - else if (value.tenant_lessees_options == "0") { - control.controls[index].addControl('name_tenant_lessees_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].removeControl('name_tenant_lessees'); - } - else { - control.controls[index].removeControl('name_tenant_lessees'); - control.controls[index].removeControl('name_tenant_lessees_reason'); - } - }; - // unit of measurement generate other field - PdQuestionRentalInfoPage.prototype.generateOtherunitMeasurement = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - value.unit_measurement.id == "1" ? control.controls[index].addControl('other_unit_measurement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('other_unit_measurement'); - }; - // generate multistoried other uom - PdQuestionRentalInfoPage.prototype.generateMultistoriedOtherUOM = function (value) { - value.multistoried_uom.id == "1" ? this.rentalForms.addControl('multistoried_other_uom', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('multistoried_other_uom'); - }; - // generate Rent AgreementSeen - PdQuestionRentalInfoPage.prototype.generateRentAgreementSeen = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value.is_rent_agreement_executed == "1") { - control.controls[index].addControl('rent_agreement_seen', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - control.controls[index].removeControl('rent_agreement_seen'); - // after no - control.controls[index].removeControl('rent_agreement_registered'); - // after No - control.controls[index].removeControl('agreement_date'); - control.controls[index].removeControl('agreement_no_months'); - control.controls[index].removeControl('agreement_expiring_date'); - control.controls[index].removeControl('rental_remaining_months'); - control.controls[index].removeControl('agreement_monthly_rent_amount'); - control.controls[index].removeControl('agreement_security_deposit_amount'); - control.controls[index].removeControl('agreement_property_owners_name'); - control.controls[index].removeControl('agreement_tenant_lessees_name'); - control.controls[index].removeControl('differences_loanapplicant_rentagreement'); - // remove agrement other ownres - control.controls[index].removeControl('agreement_property_owner_other'); - control.controls[index].removeControl('agreement_property_owner_other_relationship'); - control.controls[index].removeControl('agreement_property_owner_other_relation_to'); - } - }; - //genearate rent agreement registered options - PdQuestionRentalInfoPage.prototype.generateRegisterOptions = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value.rent_agreement_seen == "1") { - control.controls[index].addControl('rent_agreement_registered', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - control.controls[index].removeControl('rent_agreement_registered'); - // after No - control.controls[index].removeControl('agreement_date'); - control.controls[index].removeControl('agreement_no_months'); - control.controls[index].removeControl('agreement_expiring_date'); - control.controls[index].removeControl('rental_remaining_months'); - control.controls[index].removeControl('agreement_monthly_rent_amount'); - control.controls[index].removeControl('agreement_security_deposit_amount'); - control.controls[index].removeControl('agreement_property_owners_name'); - control.controls[index].removeControl('agreement_tenant_lessees_name'); - control.controls[index].removeControl('differences_loanapplicant_rentagreement'); - // remove agrement other ownres - control.controls[index].removeControl('agreement_property_owner_other'); - control.controls[index].removeControl('agreement_property_owner_other_relationship'); - control.controls[index].removeControl('agreement_property_owner_other_relation_to'); - } - }; - //genearate if rent agreement yes registered details - PdQuestionRentalInfoPage.prototype.generateRegisterDetails = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value.rent_agreement_registered == "1") { - control.controls[index].addControl('agreement_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_no_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_expiring_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - control.controls[index].addControl('rental_remaining_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - control.controls[index].addControl('agreement_monthly_rent_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_property_owners_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_tenant_lessees_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('differences_loanapplicant_rentagreement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else if (value.rent_agreement_registered == "0") { - control.controls[index].addControl('agreement_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_no_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_expiring_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - control.controls[index].addControl('rental_remaining_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - control.controls[index].addControl('agreement_monthly_rent_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_property_owners_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('agreement_tenant_lessees_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('differences_loanapplicant_rentagreement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - control.controls[index].removeControl('agreement_date'); - control.controls[index].removeControl('agreement_no_months'); - control.controls[index].removeControl('agreement_expiring_date'); - control.controls[index].removeControl('rental_remaining_months'); - control.controls[index].removeControl('agreement_monthly_rent_amount'); - control.controls[index].removeControl('agreement_security_deposit_amount'); - control.controls[index].removeControl('agreement_property_owners_name'); - control.controls[index].removeControl('agreement_tenant_lessees_name'); - control.controls[index].removeControl('differences_loanapplicant_rentagreement'); - // remove agrement other ownres - control.controls[index].removeControl('agreement_property_owner_other'); - control.controls[index].removeControl('agreement_property_owner_other_relationship'); - control.controls[index].removeControl('agreement_property_owner_other_relation_to'); - } - }; - // calculate expiry date - // calculateExpiryDate(e: any,index){ - // let control: any = this.rentalForms.controls['property_unit_details']; - // // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): ''; - // let getSeletedDate: any=''; - // let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0'; - // if(getSeletedDate && getEnteredMonth>0){ - // let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth))); - // modifySeletedDate.setDate(modifySeletedDate.getDate() - 1); - // // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy'); - // let getExpiryDate=''; - // control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate); - // // calculate remaining month - // if(modifySeletedDate >= new Date()){ - // let currentDate:any = new Date(); - // // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd'); - // currentDate = ''; - // let remaingMonths; - // remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12; - // remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth(); - // control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths); - // } - // else{ - // control.controls[index].controls['rental_remaining_months'].setValue(0); - // } - // } - // else { - // control.controls[index].controls['agreement_expiring_date'].setValue(''); - // control.controls[index].controls['rental_remaining_months'].setValue(''); - // } - // } - PdQuestionRentalInfoPage.prototype.calculateExpiryDate = function (e, index) { - var control = this.rentalForms.controls['property_unit_details']; - var getSeletedDate = control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd') : ''; - var getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0'; - if (getSeletedDate && getEnteredMonth > 0) { - var modifySeletedDate = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth))); - modifySeletedDate.setDate(modifySeletedDate.getDate() - 1); - var getExpiryDate = this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy'); - console.log('getExpiryDate', getExpiryDate); - control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate); - // calculate remaining month - if (modifySeletedDate >= new Date()) { - var currentDate = new Date(); - currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd'); - var remaingMonths = void 0; - remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12; - remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth(); - console.log('remaingMonths', remaingMonths); - control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths); - } - else { - control.controls[index].controls['rental_remaining_months'].setValue(0); - } - } - else { - control.controls[index].controls['agreement_expiring_date'].setValue(''); - control.controls[index].controls['rental_remaining_months'].setValue(''); - } - }; - // generate other owners as per rent agreement - PdQuestionRentalInfoPage.prototype.generateAgreementOtherOwners = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value && value.length > 0) { - var otherOwnerCheck = value.filter(function (fVal) { return fVal.id == 0; }); - otherOwnerCheck.length > 0 ? control.controls[index].addControl('agreement_property_owner_other', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other'); - otherOwnerCheck.length > 0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship'); - otherOwnerCheck.length > 0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to'); - } - else { - control.controls[index].removeControl('agreement_property_owner_other'); - control.controls[index].removeControl('agreement_property_owner_other_relationship'); - control.controls[index].removeControl('agreement_property_owner_other_relation_to'); - } - }; - // validate agreement amount - PdQuestionRentalInfoPage.prototype.validateAgreementAmt = function (actualRent, agreementRent) { - if (actualRent > 0 && agreementRent > 0) { - return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent); - } - else { - return "0"; - } - }; - // generate tenant met details - PdQuestionRentalInfoPage.prototype.generateTenantMetDetails = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value.met_tenant_lessees_options == "1") { - // remove reason - control.controls[index].removeControl('name_tenant_lessees_reason_per_met'); - control.controls[index].addControl('name_tenant_lessees_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('property_owner_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('paid_monthly_rent_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('period_of_stay_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('payment_mode_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[index].addControl('payment_difference_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - control.controls[index].removeControl('name_tenant_lessees_per_met'); - control.controls[index].removeControl('property_owner_per_met'); - control.controls[index].removeControl('paid_monthly_rent_per_met'); - control.controls[index].removeControl('period_of_stay_per_met'); - control.controls[index].removeControl('payment_mode_per_met'); - control.controls[index].removeControl('payment_difference_per_met'); - // remove other owner details - control.controls[index].removeControl('property_owner_other_per_met'); - control.controls[index].removeControl('property_owner_other_relationship_per_met'); - control.controls[index].removeControl('property_owner_other_relation_to_per_met'); - // remove paymnet options - control.controls[index].removeControl('amount_received_cash_per_met'); - control.controls[index].removeControl('amount_received_bank_per_met'); - control.controls[index].removeControl('payment_received_reason_per_met'); - // add reason - control.controls[index].addControl('name_tenant_lessees_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - }; - // generate met others owner - PdQuestionRentalInfoPage.prototype.generateMetOtherOwners = function (value, index) { - var control = this.rentalForms.controls['property_unit_details']; - if (value.property_owner_per_met.length > 0) { - var otherCheck = value.property_owner_per_met.filter(function (fVal) { return fVal.id == 0; }); - otherCheck.length > 0 ? control.controls[index].addControl('property_owner_other_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_per_met'); - otherCheck.length > 0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met'); - otherCheck.length > 0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met'); - } - else { - control.controls[index].removeControl('property_owner_other_per_met'); - control.controls[index].removeControl('property_owner_other_relationship_per_met'); - control.controls[index].removeControl('property_owner_other_relation_to_per_met'); - } - }; - // generate floor rows - PdQuestionRentalInfoPage.prototype.generateFloor = function (e) { - var control = this.rentalForms.controls['multistoried_building_details']; - if (e.target.value && Math.round(e.target.value) != 0) { - if (Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length) { - var rowValue = Math.round(e.target.value) - this.rentalForms.value.multistoried_building_details.length; - for (var i = rowValue; i > 0; i--) { - control.push(this.createFloorDetails('')); - } - } - else if (Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length) { - var rowValue = this.rentalForms.value.multistoried_building_details.length - Math.round(e.target.value); - for (var i = rowValue; i > 0; i--) { - control.removeAt(this.rentalForms.value.multistoried_building_details.length - 1); - } - } - } - else if (e.target.value && Math.round(e.target.value) == 0) { - control.controls = []; - control.setValue([]); - } - else { - control.controls = []; - control.setValue([]); - } - e.stopPropagation(); - }; - // create floor details - PdQuestionRentalInfoPage.prototype.createFloorDetails = function (details) { - if (details) { - return this.fb.group({ - floor_level: [this.rentalForms.value.multistoried_building_details.length == 0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length + ' Floor', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - no_units_in_floor: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - unit_rent_difference_options: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - floor_unit_details: this.fb.array([]), - floor_rent_amount: [''], - }); - } - else { - return this.fb.group({ - floor_level: [this.rentalForms.value.multistoried_building_details.length == 0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length + ' Floor', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - no_units_in_floor: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - unit_rent_difference_options: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - floor_unit_details: this.fb.array([]), - floor_rent_amount: [''], - }); - } - }; - // generate floor unit details - PdQuestionRentalInfoPage.prototype.generateFloorUnit = function (values, index) { - var control = this.rentalForms.controls['multistoried_building_details']; - control = control.controls[index]; - control = control.controls['floor_unit_details']; - if (values.no_units_in_floor > 0 && values.unit_rent_difference_options == "0") { - if (Math.round(values.no_units_in_floor) > control.value.length) { - var rowValue = Math.round(values.no_units_in_floor) - control.value.length; - for (var i = rowValue; i > 0; i--) { - control.push(this.createFloorUnitDetails(2)); - } - } - else if (Math.round(values.no_units_in_floor) < control.value.length) { - var rowValue = control.value.length - Math.round(values.no_units_in_floor); - for (var i = rowValue; i > 0; i--) { - control.removeAt(control.value.length - 1); - } - } - else if (Math.round(values.no_units_in_floor) == 0) { - control.controls = []; - control.setValue([]); - } - else { - control.controls = []; - control.setValue([]); - } - this.calculateFloorRentAmt(values, index); - } - else if (values.no_units_in_floor > 0 && values.unit_rent_difference_options == "1") { - control.controls = []; - control.setValue([]); - control.push(this.createFloorUnitDetails(1)); - this.calculateFloorRentAmt(values, index); - } - else { - control.controls = []; - control.setValue([]); - } - }; - // create floor unit details - PdQuestionRentalInfoPage.prototype.createFloorUnitDetails = function (type) { - if (type == 1) { - return this.fb.group({ - rent_per_unit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - amount: [''], - }); - } - else if (type == 2) { - return this.fb.group({ - rent_per_unit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - } - }; - // calculate floor rent amount - PdQuestionRentalInfoPage.prototype.calculateFloorRentAmt = function (values, index) { - // this.inWords(values,index,1); - if (values.unit_rent_difference_options == "1") { - var control = this.rentalForms.controls['multistoried_building_details']; - var unitcontrol = control.controls[index]; - unitcontrol = unitcontrol.controls['floor_unit_details']; - if (unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit > 0 && values.no_units_in_floor > 0) { - unitcontrol.controls[unitcontrol.value.length - 1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor); - this.inWords(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor, index, 2); - control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor); - this.inWords(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor, index, 4); - } - else { - unitcontrol.controls[unitcontrol.value.length - 1].controls['amount'].setValue(''); - control.controls[index].controls['floor_rent_amount'].setValue(''); - } - } - else if (values.unit_rent_difference_options == "0") { - var control = this.rentalForms.controls['multistoried_building_details']; - var unitcontrol = control.controls[index]; - unitcontrol = unitcontrol.controls['floor_unit_details']; - // console.log(unitcontrol) - var getunitValues = unitcontrol.value.filter(function (val) { return val.rent_per_unit != ''; }); - if (getunitValues.length > 0) { - control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(function (mval) { return mval.rent_per_unit; }).reduce(function (acc, val) { return Number(acc) + Number(val); }, 0)); - this.inWords(getunitValues.map(function (mval) { return mval.rent_per_unit; }).reduce(function (acc, val) { return Number(acc) + Number(val); }), index, 4); - } - else { - control.controls[index].controls['floor_rent_amount'].setValue(''); - } - } - }; - PdQuestionRentalInfoPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionRentalInfoPage.prototype.compareSingleObjects = function (o1, o2) { - if (o1.id == o2.id) - return true; - else - return false; - }; - // createTenantsDetails() - // { - // return this.fb.group( - // { - // name:[null,Validators.compose([Validators.required])], - // mobile_no:[null,Validators.compose([Validators.required])], - // tenants_seen:[null,Validators.compose([Validators.required])], - // tenants_con_owner:[null,Validators.compose([Validators.required])], - // rent_paid:[null,Validators.compose([Validators.required])], - // staying_since:[null,Validators.compose([Validators.required])], - // }); - // } - // addrentalHome() - // { - // const control = this.rentalForms.get('rental_home') as FormArray; - // control.push(this.createrentalHome()); - // this.addTenantsDetails(0); - // } - // addTenantsDetails(i) - // { - // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray; - // // control.controls.splice(0); - // control.push(this.createTenantsDetails()); - // } - // deleteTenantsDetails(rentIndex,TenantsIndex) - // { - // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray; - // control.removeAt(TenantsIndex); - // } - // deleterentalHome(i) - // { - // const control = (this.rentalForms.controls['rental_home']) as FormArray; - // if(control.length==1) - // { - // this.rentalForms.controls['rental_home'].reset(); - // }else - // { - // control.removeAt(i); - // } - // } - PdQuestionRentalInfoPage.prototype.saveAlert = function (answerData) { - var _this = this; - var ApplicantRentAmt = 0; - var TenantRentAmt = 0; - var FloorsTotalRentAmt = 0; - var TempArray1 = []; - var TempArray2 = []; - var TempArray3 = []; - var TextMessage; - if (answerData.property_unit_details.length > 0) { - answerData.property_unit_details.forEach(function (data, index) { - TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0; - ApplicantRentAmt = TempArray1.reduce(function (sum, val) { return sum + +val; }, 0); - TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0; - TenantRentAmt = TempArray2.reduce(function (sum, val) { return sum + +val; }, 0); - }); - TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt + '
'; - } - if (answerData.multistoried_building_details.length > 0) { - answerData.multistoried_building_details.forEach(function (val, index) { - TempArray3[index] = val.hasOwnProperty('floor_rent_amount') ? val.floor_rent_amount : 0; - FloorsTotalRentAmt = TempArray3.reduce(function (sum, val) { return sum + +val; }, 0); - }); - TextMessage = TextMessage + 'Rent amount calculated = ' + FloorsTotalRentAmt; - } - else { - TextMessage = TextMessage + 'Monthly Rent amount as Per Tenant met = ' + TenantRentAmt; - } - var alert = this.alertCtrl.create({ - title: 'Confirm The Rent Amount', - message: TextMessage, - buttons: [ - { - text: 'Cancel', - role: 'cancel', - handler: function () { - alert.dismiss; - } - }, - { - text: 'Confirm', - handler: function () { - _this.saveRentalDetails(answerData); - } - } - ] - }); - alert.present(); - }; - PdQuestionRentalInfoPage.prototype.saveRentalDetails = function (answerData) { - var _this = this; - answerData.rental_count_id = this.data.existing_rental_count_id; - console.log('answerData', answerData); - delete answerData.stateSearch; - delete answerData.citySearch; - delete answerData.pincodeSearch; - answerData.fk_createdby = this.users; - console.log('answerData', answerData); - this.qustCat.saveForm(answerData).subscribe(function (res) { - if (res['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this.rentalForms.reset(_this.rentalForms.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - // s(answerData) - // { - // let records:any={} - // // if(this.rentalForms.valid){ - // records.pdid = this.pdDetails.pd_id; - // records.formid = this.FormId.form_id; - // records.fk_createdby = this.users; - // records.person_met = answerData.person_met; - // records.property_own = answerData.property_own; - // records.nature_property = answerData.nature_property; - // if(answerData.nature_property=='others') - // { - // records.nature_others = answerData.nature_others - // } - // records.rental_home = answerData.rental_home; - // Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]); - // this.qustCat.saveForm(records).subscribe(res=> - // { - // if(res['dataStatus']==true) - // { - // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // setTimeout(()=>{ - // this.navCtrl.pop(); - // },2000); - // } - // }) - // // }else - // // { - // // this.toast.pdTriggerappmessage('Enter All Field'); - // // } - // } - PdQuestionRentalInfoPage.prototype.getRentalDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - // this.qustCat.retiverForm(records).subscribe(res=> { - console.log("enter", this.data.editData); - if (this.data.editData) { - var rentalDetails_1 = this.data.editData; - console.log("rental", rentalDetails_1); - rentalDetails_1.parent_pdid = this.pdDetails.parent_pd_id; - rentalDetails_1.pdid = this.pdDetails.pd_id, - rentalDetails_1.formid = this.FormId.form_id; - rentalDetails_1.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_name_person_type'); - rentalDetails_1.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_sighted_documents'); - // this.rentalForms.addControl('stateSearch', new FormControl('')); - // this.rentalForms.addControl('citySearch', new FormControl('')); - // this.rentalForms.addControl('pincodeSearch', new FormControl('')); - rentalDetails_1.stateSearch = ''; - rentalDetails_1.citySearch = ''; - rentalDetails_1.pincodeSearch = ''; - //get Multistoried Building Details - if (rentalDetails_1.multistoried_building_details) { - var selectedMultistoriedBuilding = Object.keys(rentalDetails_1.multistoried_building_details).map(function (key) { - return rentalDetails_1.multistoried_building_details[key]; - }); - if (selectedMultistoriedBuilding.length > 0) { - var control_1 = this.rentalForms.controls['multistoried_building_details']; - selectedMultistoriedBuilding.forEach(function (floorElement, floorIndex) { - control_1.push(_this.createFloorDetails('')); - var unitControl = control_1.controls[floorIndex]; - unitControl = unitControl.controls['floor_unit_details']; - var floor_rent_amount_val; - floorElement.floor_unit_details.forEach(function (unitElement, unitIndex) { - floorElement.unit_rent_difference_options == "0" ? unitControl.push(_this.createFloorUnitDetails(2)) : unitControl.push(_this.createFloorUnitDetails(1)); - console.log("rent per unit", unitElement.rent_per_unit); - if (floorElement.unit_rent_difference_options == "1") { - console.log("check", unitElement.rent_per_unit); - if (unitElement.rent_per_unit != '') { - _this.inWords(unitElement.rent_per_unit, unitIndex, 1); - } - if (unitElement.amount != '') { - _this.inWords(unitElement.amount, floorIndex, 2); - } - } - else if (floorElement.unit_rent_difference_options == "0") { - if (unitElement.rent_per_unit != '') { - //floor_rent_amount_val+=unitElement.rent_per_unit - } - _this.inWords(floorElement.floor_rent_amount, floorIndex, 4); - } - }); - // this.inWords(floor_rent_amount_val,floorIndex,4) - }); - } - } - // get property unit details - if (rentalDetails_1.property_unit_details) { - console.log("property", rentalDetails_1.property_unit_details); - var selectedUnitDetails = Object.keys(rentalDetails_1.property_unit_details).map(function (key) { - return rentalDetails_1.property_unit_details[key]; - }); - if (selectedUnitDetails.length > 0) { - selectedUnitDetails.forEach(function (element, index) { - var control = _this.rentalForms.controls['property_unit_details']; - control.push(_this.createUnitDetails('')); - (element.name_tenant_lessees && element.tenant_lessees_options == "1") ? control.controls[index].addControl('name_tenant_lessees', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees'); - (element.name_tenant_lessees_reason && element.tenant_lessees_options == "0") ? control.controls[index].addControl('name_tenant_lessees_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees_reason'); - // for payment options - element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_cash'); - element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_bank'); - element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('payment_received_reason'); - // unit of other measurement - element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('other_unit_measurement'); - // rent agreement seen - element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('rent_agreement_seen'); - element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('rent_agreement_registered'); - element.agreement_date ? control.controls[index].addControl('agreement_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_date'); - element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_no_months'); - element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_expiring_date'); - (element.rental_remaining_months == '' || element.rental_remaining_months >= 0) ? control.controls[index].addControl('rental_remaining_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('rental_remaining_months'); - element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_monthly_rent_amount'); - element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_security_deposit_amount'); - element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement'); - //agreement owners - element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owners_name'); - element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other'); - element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship'); - element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to'); - // name of tenant/lessess as agreement - element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_tenant_lessees_name'); - //met tenant details - element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees_per_met'); - element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met'); - element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_per_met'); - element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_per_met'); - element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met'); - element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met'); - // tennat payment - // element.payment_difference_per_met='' - // control.controls[index].addControl('payment_difference_per_met',new FormControl('')) - console.log("payment", element); - element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('paid_monthly_rent_per_met'); - element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('period_of_stay_per_met'); - element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('payment_mode_per_met'); - element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_cash_per_met'); - element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_bank_per_met'); - element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('payment_received_reason_per_met'); - if (element.payment_difference_per_met == '' || element.payment_difference_per_met != '') { - control.controls[index].addControl('payment_difference_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - // control.controls[index].removeControl('payment_difference_per_met'); - _this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '', index, 5); - _this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '', index, 6); - _this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '', index, 7); - _this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '', index, 8); - _this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '', index, 9); - _this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount : '', index, 10); - _this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '', index, 11); - _this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '', index, 12); - _this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '', index, 13); - }); - } - } - this.rentalForms.patchValue(rentalDetails_1); - } - else { - var control = this.rentalForms.controls['property_unit_details']; - control.push(this.createUnitDetails('')); - } - // }); - // this.qustCat.retiverForm(records).subscribe(res=> - // { - // if(res['dataStatus']==true) - // { - // let rentalDetails = res['records']; - // var rentalData = Object.keys(res['records'].rental_home - // ).map(function(key) { - // return res['records'].rental_home - // [key]; - // }); - // var tanantsData = []; - // var control = (this.rentalForms.controls['rental_home']) as FormArray; - // var tanantscontrol; - // rentalData.forEach((val,index)=> - // { - // // this.addrentalHome(); - // // tanantsData.push(Object.keys(val.details_tenants).map(function(key) - // // { - // // return val.details_tenants[key]; - // // })); - // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key) - // { - // return val.details_tenants[key]; - // }); - // // control.push(this.createrentalHome()); - // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; - // rentalData[index].details_tenants.forEach((val,key)=> - // { - // //rentalData[index].details_tenants = val; - // // rentalData[index].details_tenants = [key]; - // // tanantscontrol.push(this.createTenantsDetails()); - // }); - // // control[index].details_tenants =tanantscontrol; - // }); - // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met); - // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own); - // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property); - // if(rentalDetails.nature_property=='others'){ - // this.rentalForms.controls['nature_others']. - // setValue(rentalDetails.nature_others); - // } - // this.rentalForms.controls['rental_home'].setValue(rentalData); - // }else - // { - // // this.addrentalHome(); - // // this.addTenantsDetails(0); - // } - // }) - }; - // createTenantsDetailswithData(index,data) - // { - // return this.fb.group( - // { - // name:[data.name], - // mobile_no:[data.mobile_no], - // tenants_seen:[data.tenants_seen], - // tenants_con_owner:[data.tenants_con_owner], - // rent_paid:[data.rent_paid], - // staying_since:[data.staying_since] - // }); - // } - PdQuestionRentalInfoPage.prototype.inWords = function (e, i, flag) { - // console.log(e,i,flag); - switch (flag) { - case 1: - this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 2: - this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 3: - // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 4: - this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 5: - this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 6: - this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 7: - this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 8: - this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 9: - this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 10: - this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 11: - this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 12: - this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - case 13: - this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e); - break; - } - }; - PdQuestionRentalInfoPage.prototype.inWordsmultiple = function (e, i, j, flag) { - // console.log(e,i,j,flag); - return this.constprovider.convertNumberToWords(e); - }; - PdQuestionRentalInfoPage.prototype.validateAllFormFields = function (formGroup) { - var _this = this; - Object.keys(formGroup.controls).forEach(function (field) { - var control = formGroup.get(field); - if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]) { - control.markAsTouched({ onlySelf: true }); - } - else if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]) { - _this.validateAllFormFields(control); - } - else if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */]) { - _this.validateAllFormFields(control); - } - }); - }; - // generate payment dynamic fields - PdQuestionRentalInfoPage.prototype.ValidatedRentAmount = function (value, index, type) { - var control = this.rentalForms.controls['property_unit_details']; - console.log("validated", value); - if (type == 1) { - if (value && value.payment_mode.id == 3) { - var ChildCtrl = control.controls[index]; - ChildCtrl.controls['amount_received_bank'].clearValidators(); - ChildCtrl.controls['amount_received_bank'].updateValueAndValidity(); - ChildCtrl.controls['amount_received_cash'].clearValidators(); - ; - ChildCtrl.controls['amount_received_cash'].updateValueAndValidity(); - var monthlyrentamt = value.monthly_rent_amount; - if (monthlyrentamt != '') { - var bank_amount = value.amount_received_bank; - ChildCtrl.controls['amount_received_bank'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(monthlyrentamt), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); - ChildCtrl.controls['amount_received_bank'].updateValueAndValidity(); - var maxamt = monthlyrentamt - bank_amount; - if (maxamt >= 0) { - ChildCtrl.controls['amount_received_cash'].setValue(maxamt); - ChildCtrl.controls['amount_received_cash'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(monthlyrentamt - bank_amount), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(monthlyrentamt - bank_amount)]); - this.inWords(maxamt, index, 6); - } - else { - ChildCtrl.controls['amount_received_cash'].setValue(0); - ChildCtrl.controls['amount_received_cash'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(0), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); - } - ChildCtrl.controls['amount_received_cash'].updateValueAndValidity(); - } - } - } - if (type == 2) { - if (value && value.payment_mode_per_met.id == 3) { - var ChildCtrl = control.controls[index]; - ChildCtrl.controls['amount_received_bank_per_met'].clearValidators(); - ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity(); - ChildCtrl.controls['amount_received_cash_per_met'].clearValidators(); - ; - ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity(); - var paidmonthlyrentamt = value.paid_monthly_rent_per_met; - if (paidmonthlyrentamt != '') { - var bank_amount = value.amount_received_bank_per_met; - ChildCtrl.controls['amount_received_bank_per_met'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(paidmonthlyrentamt), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); - ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity(); - var remainingAmt = paidmonthlyrentamt - bank_amount; - console.log("paid monthly", paidmonthlyrentamt); - console.log("remaining", remainingAmt); - if (remainingAmt >= 0) { - ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt); - ChildCtrl.controls['amount_received_cash_per_met'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(paidmonthlyrentamt - bank_amount), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(paidmonthlyrentamt - bank_amount)]); - this.inWords(remainingAmt, index, 12); - } - else { - ChildCtrl.controls['amount_received_cash_per_met'].setValue(0); - ChildCtrl.controls['amount_received_cash_per_met'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(0), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); - } - ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity(); - } - } - } - }; - PdQuestionRentalInfoPage.prototype.forSearchableDropdown = function (val, Flag) { - var _this = this; - // val=val.controls['relationSearch'].value - console.log("val", val, 'Flag', Flag); - switch (Flag) { - case 'state': - console.log("val", val.controls['stateSearch'].value, 'Flag', Flag, '1'); - val.controls['stateSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_10_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.stateList = _this.constprovider.searchData(_this.stateData, val.controls['stateSearch'].value, Flag); - }); - break; - case 'city': - console.log("val", val.controls['citySearch'].value, 'Flag', Flag, '2'); - val.controls['citySearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_10_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.cityList = _this.constprovider.searchData(_this.cityData, val.controls['citySearch'].value, Flag); - }); - break; - case 'pin': - console.log("val", val.controls['pincodeSearch'].value, 'Flag', Flag, '3'); - val.controls['pincodeSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_10_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.pincodeList = _this.constprovider.searchData(_this.pincodeData, val.controls['pincodeSearch'].value, Flag); - }); - break; - } - }; - /*IMAGE SECTION*/ - PdQuestionRentalInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null, 'rental_count_id': this.data.existing_rental_count_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - console.log('From getPDImages', val); - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionRentalInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionRentalInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionRentalInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionRentalInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionRentalInfoPage.prototype.captureThePropertyPics = function () { - var _this = this; - // alert('rentalDataCount '+this.data.existing_rental_count_id); - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this.imageBucket.push({ 'image': res, 'Name': 'Property ' + _this.data.existing_rental_count_id }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionRentalInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constprovider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionRentalInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - 'rental_count_id': this.data.existing_rental_count_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - // this.imageDisplay.push(this.imageBucket) - // console.log("length",this.imageDisplay.length) - _this.imageBucket = []; - _this.getPDImages(); - console.log("savepd", records); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionRentalInfoPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('agreement_property_owner_other').value; - value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name)); - }; - PdQuestionRentalInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-rental-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-info.html"*/'\n\n \n\n \n\n {{pageTitle}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n Property Details\n\n \n\n \n\n\n\n \n\n\n\n
\n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{stVal.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{ctVal.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{pinVal.pincode}}\n\n \n\n \n\n \n\n \n\n
\n\n Is This the Address Visited ?\n\n ( {{rentalForms.value.validate_visited_address===true ? \'Yes\' : \'No\'}} )
\n\n
\n\n \n\n Actual Address Visited\n\n \n\n \n\n\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n Name of the Person Who is Showing the Property to Sineedge Officer\n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n Specify Other Person\n\n \n\n \n\n\n\n \n\n Who is {{rentalForms.controls[\'other_person_met\'].value}} ?\n\n \n\n \n\n {{pType.name}}\n\n \n\n \n\n \n\n\n\n \n\n Who is {{rentalForms.controls[\'other_person_met\'].value}} ?\n\n \n\n \n\n \n\n\n\n \n\n \n\n Name of the Owner/Owners of the Let out Property as per Loan Applicants\n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n Specify Other Owner/Owners\n\n \n\n \n\n\n\n \n\n Relation of Owner to Loan Applicant\n\n \n\n \n\n \n\n {{relation.name |\n\n titlecase}}\n\n \n\n \n\n \n\n\n\n \n\n Relation To\n\n \n\n Select\n\n \n\n {{relationto.id=="0" ?\n\n \'Not Applicable\' : relationto.name | titlecase}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Ownership Proof Documents Sighted\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n\n\n \n\n Type of Document Sighted\n\n \n\n Select\n\n {{prDocs.name | titlecase}}\n\n \n\n \n\n\n\n \n\n Other Type of Document\n\n \n\n \n\n \n\n\n\n \n\n \n\n Nature of Let Out Property as per Loan Applicant\n\n \n\n Select\n\n \n\n {{property.name}}\n\n \n\n \n\n \n\n\n\n \n\n Other Property\n\n \n\n \n\n \n\n\n\n \n\n \n\n Type of Units as per Loan Applicants\n\n \n\n Select\n\n \n\n \n\n {{unit.name}}\n\n \n\n \n\n \n\n \n\n \n\n Specify Other Unit Type\n\n \n\n \n\n \n\n \n\n Tot No of Units\n\n \n\n \n\n\n\n \n\n No of Floors\n\n \n\n \n\n\n\n \n\n Total Area Given on Rent\n\n \n\n \n\n \n\n\n\n \n\n \n\n Unit of Measurement\n\n \n\n Select\n\n \n\n {{unitM.name}}\n\n \n\n \n\n \n\n \n\n \n\n Other Unit of Measurement\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n Floor Level Name\n\n \n\n \n\n\n\n \n\n No of Units\n\n \n\n \n\n \n\n Is Rent Same for All Units\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n Rent per Unit\n\n \n\n {{"₹"}} {{rent_per_unit_Inwords[fu]}} Only\n\n \n\n \n\n \n\n Amount\n\n \n\n {{"₹"}} {{amount_Inwords[f] }} Only\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n Rent Unit {{fu+1}} \n\n \n\n {{"₹"}} {{fUnits.value.rent_per_unit != \'\' ? inWordsmultiple(fUnits.value.rent_per_unit,f,fu,1) : \'\'}} Only\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n Total Rent Amount\n\n \n\n {{"₹"}} {{floor_rent_amount_Inwords[f]}} Only\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n Unit {{u+1}}\n\n \n\n \n\n \n\n
\n\n \n\n \n\n Name of the Tenant(s)/Lessees(s) of the Let out Property\n\n \n\n Select\n\n Yes\n\n Name(s) not provided\n\n \n\n \n\n \n\n Name of Tenant(s)/Lessees(s)\n\n \n\n \n\n \n\n Why Tenant(s)/Lessees(s) Name not Provided\n\n \n\n \n\n \n\n \n\n \n\n Monthly Rent Amount as per Loan Applicant\n\n \n\n \n\n {{"₹"}} {{monthly_rent_amount_Inwords[u]}} Only\n\n \n\n \n\n Mode of Payment of Rent as per Loan Applicant\n\n \n\n Select\n\n \n\n {{payment.name}}\n\n \n\n \n\n \n\n\n\n \n\n Amount Received in Bank\n\n \n\n Given Value Is More Than Rent Amount\n\n Given Value Is Less Than Rent Amount\n\n {{"₹"}} {{amount_received_bank_Inwords[u]}} Only\n\n \n\n\n\n \n\n Amount Received in Cash\n\n \n\n Given Value Is More Than Rent Amount\n\n Given Value Is Less Than Rent Amount\n\n {{"₹"}} {{amount_received_cash_Inwords[u]}} Only\n\n \n\n\n\n \n\n \n\n Reason for Receiving Multiple Payment Mode\n\n \n\n \n\n \n\n Securtity Deposit amount as per Loan Applicant\n\n \n\n {{"₹"}} {{securtity_deposit_amount_Inwords[u]}} Only\n\n \n\n \n\n \n\n \n\n Area Covered by the Unit\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Unit of Measurement\n\n \n\n Select\n\n \n\n {{unitM.name}}\n\n \n\n \n\n \n\n\n\n \n\n Other Unit of Measurement\n\n \n\n \n\n \n\n \n\n \n\n Is Rent Agreement executed for the Property let out\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n\n\n \n\n \n\n Rent Agreement Seen\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n Is the Rent Agreement Registered at Sub-Registrar Office\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n Date of Agreement\n\n \n\n \n\n \n\n\n\n \n\n No of Months for Which Property has been let out as per Agreement\n\n \n\n \n\n\n\n \n\n Date on which Agreement is Expiring\n\n \n\n \n\n \n\n No of Rental Months Remaining as per Agreement\n\n \n\n \n\n \n\n \n\n \n\n Monthly Rent Amount as per Agreement\n\n \n\n {{"₹"}} {{agreement_monthly_rent_amount_Inwords[u]}} Only\n\n \n\n \n\n\n\n \n\n \n\n Security Deposit Amount as per Agreement\n\n \n\n {{"₹"}} {{agreement_security_deposit_amount_Inwords[u]}} Only\n\n \n\n \n\n\n\n \n\n \n\n There is a Difference of\n\n Rs.{{validateAgreementAmt(units.value.monthly_rent_amount,units.value.agreement_monthly_rent_amount)}}\n\n in the rent amount as per agreement and actual rent received. Why?\n\n \n\n \n\n \n\n\n\n \n\n \n\n Name of Owner / Owners of Rented Property as per Rent Agreement\n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n Specify Other Owner/Owners\n\n \n\n \n\n \n\n Relation of Owner to Loan Applicant\n\n \n\n Select\n\n \n\n \n\n {{relation.name |\n\n titlecase}}\n\n \n\n \n\n \n\n \n\n Relation To\n\n \n\n Select\n\n \n\n {{relationto.id=="0"\n\n ? \'Not Applicable\' : relationto.name | titlecase}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Name of Tenants / Lessees as per Rent Agreement\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Tenant(s) / Lessee(s) Met During Visit of the Rented Property\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n Name of the Tenant / Lessee Met\n\n \n\n \n\n \n\n \n\n Why Tenant / Lessee not Met ?\n\n \n\n \n\n \n\n\n\n \n\n \n\n Name of Owner as per Tenant / Lessee Met\n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n Specify Other Owner/Owners\n\n \n\n \n\n \n\n Relation of Owner to Loan Applicant\n\n \n\n Select\n\n \n\n \n\n {{relation.name |\n\n titlecase}}\n\n \n\n \n\n \n\n \n\n Relation To\n\n \n\n Select\n\n \n\n {{relationto.id=="0"\n\n ? \'Not Applicable\' : relationto.name | titlecase}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Monthly Rent Amount Paid as per Tenant / Lessee Met\n\n \n\n {{"₹"}} {{paid_monthly_rent_per_met_Inwords[u]}} Only\n\n \n\n\n\n \n\n Period (Months) of Stay as per Tenant / Lessee Met\n\n \n\n \n\n\n\n \n\n Mode of Payment of Rent as Validated by PD Officer with Tenant / Lessee During Visit\n\n \n\n Select\n\n \n\n {{payment.name}}\n\n \n\n \n\n \n\n\n\n \n\n Amount Paid in Bank\n\n \n\n Given Value Is More Than Rent Amount\n\n Given Value Is Less Than Rent Amount\n\n {{"₹"}} {{amount_received_bank_per_met_Inwords[u]}} Only\n\n \n\n\n\n \n\n Amount Paid in Cash\n\n \n\n Given Value Is More Than Rent Amount\n\n Given Value Is Less Than Rent Amount\n\n {{"₹"}} {{amount_received_cash_per_met_Inwords[u]}} Only\n\n \n\n\n\n \n\n \n\n Reason for Paid Multiple Payment Mode\n\n \n\n \n\n\n\n \n\n \n\n What is the Reason for Difference in Rent Amount or Mode of Payment\n\n \n\n \n\n \n\n\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n\n\n \n\n \n\n \n\n Third Party Check\n\n \n\n \n\n \n\n
\n\n \n\n \n\n Third party check done on prevailing rent in the area\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n\n\n \n\n Name of person with whom Third Party Check on going rentals in the area done\n\n \n\n \n\n \n\n Description of the person with whom the Third Party Check is done\n\n \n\n \n\n \n\n Rental rates in the area as per the person with whom Third Party Check is done\n\n \n\n \n\n \n\n Why Third party check not done\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], - __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */]]) - ], PdQuestionRentalInfoPage); - return PdQuestionRentalInfoPage; -}()); - -//# sourceMappingURL=pd-question-rental-info.js.map - -/***/ }), - -/***/ 383: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionPersonalInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionPersonalInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionPersonalInfoPage = (function () { - function PdQuestionPersonalInfoPage(navCtrl, navParams, aws, qustCat, toast, _fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this._fb = _fb; - this.qualifications = ["Graduate", "Under Graduate", "Post Graduate", "Professional"]; - this.earningStatus = ["Earning Member", "House Wife", "Student", "Retired", "Pensioner", "Other Non earning member"]; - this.relationShipList = []; - this.mainApplicantQuestions = ["Name", "Age", "Entity", "Educational Qualification", "Earning Status"]; - this.coApplicantQuestions = ["Name", "Age", "Entity", "Educational Qualification", "Earning Status", "Relationship"]; - this.mainApplicantDetails = []; - this.coApplicantDetails = []; - //coItem:any; - //mainItem:any; - this.repeat = 3; - this.loadDataStatus = false; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.users = this.aws.getlocale(); - // this.getRelationMaster(); - } - PdQuestionPersonalInfoPage.prototype.ngOnInit = function () { - this.loadPDDetails(); - this.getRelationMaster(); - this.mainApplicantDetails = this.pdDetails.applicat_details - .filter(function (item) { return item.applicant_type == 1; }); - this.coApplicantDetails = this.pdDetails.applicat_details - .filter(function (item) { return item.applicant_type == 0; }); - }; - // load form pd details - PdQuestionPersonalInfoPage.prototype.loadPDDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '341' }; - this.qustCat.retiverForm(records).subscribe(function (data) { - if (data['status'] == 200) { - _this.loadFormWithIDData(data['records']); - } - else { - var defaultMainApp = []; - var defaultCoApp = []; - // generate default main applicant form details - if (_this.mainApplicantDetails.length > 0) { - for (var j = 0; j < _this.mainApplicantQuestions.length; j++) { - if (j == 0) { - var generateRow = { - "pd_question": "", - "pd_answer": _this.mainApplicantDetails[0].applicant_name, - }; - defaultMainApp.push(generateRow); - } - else { - var generateRow = { - "pd_question": "", - "pd_answer": "", - }; - defaultMainApp.push(generateRow); - } - } - } - _this.loadFormData(defaultMainApp, _this.coApplicantDetails); - } - }, function (error) { return _this.errorMessage = error; }); - }; - PdQuestionPersonalInfoPage.prototype.loadFormWithIDData = function (data) { - var main_result = Object.keys(data.main_applicant_details).map(function (key) { - return data.main_applicant_details[key]; - }); - var co_result = Object.keys(data.co_applicant_details).map(function (key) { - return data.co_applicant_details[key]; - }); - // main applicant - var mainApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](main_result.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.name_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.age_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.entity_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.qualification_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.earning_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - // co applicant - var iterateCoApp = []; - var coApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](co_result.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.name_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.age_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.entity_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.qualification_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.earning_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - relation_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.relation_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - this._personalForm = this._fb.group({ - pdid: null, - form_id: null, - mainItem: mainApplicantGroup, - coItem: coApplicantGroup, - personal_info_form_remark: [data.personal_info_form_remark] - }); - this.loadDataStatus = true; - }; - PdQuestionPersonalInfoPage.prototype.loadFormData = function (mainApp, coApp) { - var _this = this; - // main applicant - var mainApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](this.mainApplicantDetails.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[0]), - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - name_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](0), - age_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[1]), - age_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](1), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[2]), - entity_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](2), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[3]), - qualification_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](3), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earningStatus_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[4]), - earning_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](4), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - // co applicant - var iterateCoApp = []; - var coApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](this.coApplicantDetails.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[0]), - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - name_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](0), - age_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[1]), - age_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](1), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[2]), - entity_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](2), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[3]), - qualification_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](3), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earningStatus_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[4]), - earning_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](4), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - relationShip_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[5]), - relation_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](5), - relation_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - this._personalForm = this._fb.group({ - pdid: null, - form_id: null, - mainItem: mainApplicantGroup, - coItem: coApplicantGroup, - personal_info_form_remark: null - }); - this.loadDataStatus = true; - }; - Object.defineProperty(PdQuestionPersonalInfoPage.prototype, "pdMainapplicant", { - //get pd main applicant array values - get: function () { return this._personalForm.get('mainItem'); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(PdQuestionPersonalInfoPage.prototype, "pdCoapplicant", { - // get pd co applicant array values - get: function () { return this._personalForm.get('coItem'); }, - enumerable: true, - configurable: true - }); - // get relation master details - PdQuestionPersonalInfoPage.prototype.getRelationMaster = function () { - var _this = this; - var relation = "RELATIONSHIPS"; - this.qustCat.getcommondrop(relation).subscribe(function (data) { - if (data['status'] == 200) { - _this.relationShipList = data['records']; - } - }, function (error) { return _this.errorMessage = error; }); - }; - // submit forms details - PdQuestionPersonalInfoPage.prototype.submitPersonalForm = function (formData) { - var _this = this; - if (this._personalForm.valid) { - var main_applicantDetails_1 = []; - var co_applicantDetails_1 = []; - formData.mainItem.forEach(function (element, key) { - if (key == 0) { - main_applicantDetails_1.push({ - "name_ans": element.name_ans, - "age_ans": element.age_ans, - "entity_ans": element.entity_ans, - "qualification_ans": element.qualification_ans, - "earning_ans": element.earning_ans, - }); - } - }); - formData.coItem.forEach(function (Coelement, Cokey) { - co_applicantDetails_1.push({ - "name_ans": Coelement.name_ans, - "age_ans": Coelement.age_ans, - "qualification_ans": Coelement.qualification_ans, - "entity_ans": Coelement.entity_ans, - "earning_ans": Coelement.earning_ans, - "relation_ans": Coelement.relation_ans, - }); - }); - var save_details = { - "pdid": this.pdDetails.pd_id, - "formid": '341', - "fk_createdby": this.users, - "main_applicant_details": main_applicantDetails_1, - "co_applicant_details": co_applicantDetails_1, - "personal_info_form_remark": this._personalForm.get('personal_info_form_remark').value - }; - this.qustCat.saveForm(save_details).subscribe(function (result) { - if (result['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - // this.notifier.notify('success', 'Success.'); - } - else { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - } - }, function (error) { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - }); - } - }; - PdQuestionPersonalInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-personal-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-personal-info\pd-question-personal-info.html"*/'\n\n\n\n \n\n \n\n Personal Info Category\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n
\n\n\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Main Applicant\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{education}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{earning}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Co Applicant\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{education}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{earning}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{rel.name}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-personal-info\pd-question-personal-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionPersonalInfoPage); - return PdQuestionPersonalInfoPage; -}()); - -//# sourceMappingURL=pd-question-personal-info.js.map - -/***/ }), - -/***/ 384: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(385); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(386); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(387); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(388); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(389); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(390); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__ = __webpack_require__(391); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(131); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - - - -/** - * Generated class for the PdQuestionAssessedInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedInfoPage = (function () { - function PdQuestionAssessedInfoPage(navCtrl, navParams, aws, qustCat, toast, fb, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.cons = cons; - this.check__purchse_type = [{ 'id': '1', 'name': 'Yes' }, { 'id': '2', 'name': 'No' }]; - this.houseannual = []; - this.expenseannual = []; - this.sales_item_month_value = []; - this.sales_wise_month_headers = []; - this.sales_month_wise_data = []; - this.grandpurchaseTotal = null; - this.annual = []; - this.activateMarginCalculation = false; - this.SaleAmtInwords = []; - this.marginAmtInwords = []; - this.purchase_bill_wise = []; - this.purchase_bill_wise_data = []; - this.sales_type = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pageId = this.navParams.get('pageId'); - // this.getAssessedDetails(); - switch (this.pageId) { - case 1: - this.FormName = "Sales Page"; - break; - case 2: - this.FormName = "Purchase Page"; - break; - case 3: - this.FormName = "Business Expenses Page"; - break; - case 4: - this.FormName = "Household Expenses Page"; - break; - default: - this.FormName = "Question Page"; - break; - } - this.users = this.aws.getlocale(); - this.assessedForm = this.fb.group({ - sdc_id: [null], - sales_declared_by_customer: [null], - fk_pd_id: [this.pdDetails.pd_id], - margin_per: [null], - margin_value: [null], - comments: [null], - isactive: [1], - fk_createdby: [this.users], - }); - this.grossProfitForm = this.fb.group({ - calc_type_id: [''], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - mode: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - margin: [''], - }); - // this.getdropList(); - } - PdQuestionAssessedInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedInfoPage'); - }; - PdQuestionAssessedInfoPage.prototype.ionViewDidEnter = function () { - }; - PdQuestionAssessedInfoPage.prototype.ionViewCanEnter = function () { - this.getAssessedDetails(); - }; - PdQuestionAssessedInfoPage.prototype.changeOptions = function (values) { - // console.log('values',values); - this.grossProfitForm.controls['margin'].setValue(''); - /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2 - * Refer => check_sales_type **/ - if (values.mode == 2) { - // console.log('2'); - this.grossProfitForm.controls['margin'].setValue('2'); - } - }; - //PURCHASE DETAILS SUBMIT - // submitDetails(records: any){ - // if (this.grossProfitForm.invalid) { - // this.toast.pdTriggerappmessage("Please Check All Manatory Fields.."); - // return; - // } - // // let datas:any; - // // datas=records; - // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => { - // this.toast.pdTriggerappmessage('Saved Successfully.'); - // //this.loadAssessedForms.next('1'); - // }, error => { - // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - // // this.loadAssessedForms.next('1'); - // }); - // } - PdQuestionAssessedInfoPage.prototype.getMarginCalc = function () { - var margin_per = this.assessedForm.controls['margin_per'].value; - console.log("Margin Per", margin_per); - var sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value; - if (margin_per != null && sales_declared_by_customer != null) { - var value = sales_declared_by_customer * (margin_per / 100); - this.assessedForm.controls['margin_value'].setValue(value); - } - }; - PdQuestionAssessedInfoPage.prototype.saveData = function (answerData) { - var _this = this; - var records = {}; - answerData.company_id = this.pdDetails.company_id; - records = { 'records': answerData }; - console.log(records); - this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer', records).subscribe(function (res) { - // console.log(res); - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - setTimeout(function () { - _this.getAssessedDetails(); - }, 1500); - }; - PdQuestionAssessedInfoPage.prototype.salesCalculation = function (values) { - if (values.sales_declared_by_customer != '') { - this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer); - } - if (values.margin_per != '' && values.sales_declared_by_customer != '') { - this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per / 100)).toFixed(2)); - this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per / 100)); - } - }; - PdQuestionAssessedInfoPage.prototype.getAssessedDetails = function () { - var _this = this; - this.sales_item_month_value = []; - this.sales_month_wise_data = []; - this.sales_item_value = []; - this.purchase_bill_wise_data = []; - var records = { 'pd_id': this.pdDetails.pd_id, 'company_id': this.pdDetails.company_id }; - console.log("company", this.pdDetails.company_id); - console.log("getAssesed", records); - this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var sales_value = res['records'].sales_declared_by_customer[0]; - _this.sales_item_value = res['records'].sales_calculated_by_itemwise; - //SALE ANNUAL TOTAL - _this.totalAnnualSale_Item_wise = _this.sales_item_value.map(function (val) { return val.annual_sale_value; }).reduce(function (original, value) { return original + Number(value); }, 0); - console.log("this.sales_item", _this.totalAnnualSale_Item_wise); - _this.sales_item_month_value = res['records'].sales_items_by_monthwise; - _this.purchse_details = res['records'].purchase_details; - //PURCHASE ANNUAL TOTAL - _this.totalAnnualpurchase_Item_wise = _this.purchse_details.map(function (val) { return val.annual_purchase_value; }).reduce(function (original, value) { return original + Number(value); }, 0); - _this.purchase_bill_wise = res['records'].purchase_billwise; - _this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]; - _this.purchase_type = _this.grossprofitCalc.purchase_type; - console.log("gross", _this.grossprofitCalc); - _this.mode = _this.grossprofitCalc.mode; - var lenOfGrossProfit = res['records'].gross_profit_calculation_type.length; - console.log("len", lenOfGrossProfit); - _this.activateMarginCalculation = res['records'].gross_profit_calculation_type[lenOfGrossProfit - 1].margin == 2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit - 1].mode == 2 ? true : false; - console.log(_this.activateMarginCalculation); - var result = _this.purchse_details.reduce(function (p, c) { - return p; - }, []); - console.log(result); - _this.businessExpenses_details = res['records'].business_expenses; - //BUSINESS ANNUAL TOTAL - _this.totalAnnualBusiness_details = _this.businessExpenses_details.map(function (val) { return val.annual_expenses_value; }).reduce(function (original, value) { return original + Number(value); }, 0); - _this.houseHold_details = res['records'].house_hold_expenses; - //HOUSEHOLD ANNUAL TOTAL - _this.totalAnnual_House_hold_details = _this.houseHold_details.map(function (val) { return val.annual_expense_value; }).reduce(function (original, value) { return original + Number(value); }, 0); - _this.busissnessIncome = res['records'].othre_business_income; - // console.log(this.sales_item_month_value); - // this.getpurchaseDetails(this.purchse_details); - // this.grossProfitForm.controls['mode'].setValue(res['records'].gross) - // const control=this.grossProfitForm['controls'] - // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode); - // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin) - // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id) - _this.sales_item_month_value.forEach(function (itemElement, itemIndex) { - _this.sales_type[itemIndex] = itemElement.sales_type; - var expandBodyContent = Object.keys(itemElement.items).map(function (key) { return ({ header: key, value: itemElement.items[key] }); }); - var listItems = []; - expandBodyContent.forEach(function (expnadElement, expnadIndex) { - var calculateItems = expnadElement.value.reduce(function (acc, calculate) { return acc + Number(calculate.sales_value); }, 0); - listItems.push({ items: expnadElement, itemsTotal: calculateItems }); - }); - var calculateAllItemsTotal = listItems.reduce(function (racc, rcalculate) { return racc + Number(rcalculate.itemsTotal); }, 0); - var convertYear = 12 / listItems.length; - var footerMessage = []; - footerMessage.push({ - month_message: listItems.length + ' Month Sales : ' + calculateAllItemsTotal, - month_value: calculateAllItemsTotal, - year_message: ' Yearly Sales Arrived : ' + calculateAllItemsTotal * convertYear, - year_value: calculateAllItemsTotal * convertYear, - }); - _this.sales_month_wise_data.push({ salesItem: itemElement.sales_item, expandElements: expandBodyContent, footerMessage: footerMessage, simId: itemElement.sim_id, otherSaleItem: itemElement.other_sales_item }); - }); - _this.purchase_bill_wise.forEach(function (itemElement, itemIndex) { - console.log("0index", itemElement.items[0]); - var result = Object.assign.apply(Object, [{}].concat(itemElement.items)); - console.log("result", result); - var expandBodyContent = Object.keys(result).map(function (key) { return ({ header: key, value: result[key] }); }); - console.log("expanBody", expandBodyContent); - var listItems = []; - expandBodyContent.forEach(function (expandElement, expandIndex) { - var calculateItems = expandElement.value.reduce(function (acc, calculate) { return acc + Number(calculate.purchase_value); }, 0); - listItems.push({ items: expandElement, itemsTotal: calculateItems }); - }); - var calculateAllItemsTotal = listItems.reduce(function (va, rcalc) { return va + Number(rcalc.itemsTotal); }, 0); - var convertYear = 12 / listItems.length; - var footerMessage = []; - footerMessage.push({ - month_message: listItems.length + ' Month Sales : ' + calculateAllItemsTotal, - month_value: calculateAllItemsTotal, - year_message: ' Yearly Sales Arrived : ' + calculateAllItemsTotal * convertYear, - year_value: calculateAllItemsTotal * convertYear, - }); - _this.purchase_bill_wise_data.push({ purchaseItem: itemElement.purchase_item, expandElements: expandBodyContent, footerMessage: footerMessage, pbw_id: itemElement.pbw_id, otherPurchaseItem: itemElement.other_purchase_item }); - }); - console.log("val purchase0", _this.purchase_bill_wise_data); - console.log("value", _this.sales_month_wise_data); - if (sales_value !== undefined) { - _this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id); - _this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer); - _this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value); - _this.assessedForm.controls['comments'].setValue(sales_value.comments); - _this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per); - if (sales_value.sales_declared_by_customer != null) { - _this.SaleAmtInwords = _this.cons.convertNumberToWords(sales_value.sales_declared_by_customer); - } - if (sales_value.margin_value != null) { - _this.marginAmtInwords = _this.cons.convertNumberToWords(sales_value.margin_value); - } - } - } - }); - }; - PdQuestionAssessedInfoPage.prototype.grossProfitWithData = function (data) { - return this.fb.group({ - calc_type_id: [data.calc_type_id], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [data.company_id], - mode: [data.mode], - margin: [data.margin], - }); - }; - /** - * Add Assessed Forms - */ - PdQuestionAssessedInfoPage.prototype.AddAssessedForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': null, 'margin_calculation_status': this.activateMarginCalculation }); - }; - PdQuestionAssessedInfoPage.prototype.editDetails = function (salesCal) { - var salesData = this.sales_item_value.filter(function (sal) { return sal.sci_id == salesCal; }); - console.log(salesData); - // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': salesData, 'margin_calculation_status': this.activateMarginCalculation }); - }; - PdQuestionAssessedInfoPage.prototype.editAllDetails = function (AllsalesData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': AllsalesData, 'margin_calculation_status': this.activateMarginCalculation }); - }; - /**Assessed Daily Form Details */ - PdQuestionAssessedInfoPage.prototype.AddAssessedDailyForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': null, 'margin_calculation_status': this.activateMarginCalculation }); - }; - PdQuestionAssessedInfoPage.prototype.editAssessedDailyForm = function (simId) { - var dailySaleDetails = this.sales_item_month_value.filter(function (ass) { return ass.sim_id == simId; }); - console.log(dailySaleDetails); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': dailySaleDetails, 'margin_calculation_status': this.activateMarginCalculation }); - }; - PdQuestionAssessedInfoPage.prototype.allEditSalesDailyWise = function (values) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': values, 'margin_calculation_status': this.activateMarginCalculation }); - }; - /**purchase Details Forms */ - PdQuestionAssessedInfoPage.prototype.AddPurchaseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': null }); - }; - PdQuestionAssessedInfoPage.prototype.editPurchaseDetails = function (purchaseCal) { - var salesData = this.purchse_details.filter(function (sal) { return sal.purchase_id == purchaseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editPurchaseAllDetails = function (AllpurchaseData) { - console.log('260', AllpurchaseData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': AllpurchaseData }); - }; - PdQuestionAssessedInfoPage.prototype.AddPurchaseBillWiseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], { 'pdDetails': this.pdDetails, 'purchaseDaily': null }); - }; - PdQuestionAssessedInfoPage.prototype.alleditPurchaseBillWise = function (all_purchase_daily) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], { 'pdDetails': this.pdDetails, 'purchaseDaily': all_purchase_daily }); - }; - PdQuestionAssessedInfoPage.prototype.editPurchaseBillWise = function (daily_purchase) { - var single_purchase = this.purchase_bill_wise.filter(function (val) { return val.pbw_id == daily_purchase; }); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], { 'pdDetails': this.pdDetails, 'purchaseDaily': single_purchase }); - }; - /**Business Expense */ - PdQuestionAssessedInfoPage.prototype.AddExpenseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': null }); - }; - PdQuestionAssessedInfoPage.prototype.editExpenseDetails = function (expenseCal) { - var salesData = this.businessExpenses_details.filter(function (sal) { return sal.pd_expense_id == expenseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editExpenseAllDetails = function (AllexpenseData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': AllexpenseData }); - }; - /** Household Expenses Details */ - PdQuestionAssessedInfoPage.prototype.AddHouseExpenseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': null }); - }; - PdQuestionAssessedInfoPage.prototype.editHouseExpenseDetails = function (expenseCal) { - var salesData = this.houseHold_details.filter(function (sal) { return sal.household_expense_id == expenseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editHouseExpenseAllDetails = function (AllExpenseData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': AllExpenseData }); - }; - /** - * Income Details - */ - PdQuestionAssessedInfoPage.prototype.AddIncomeForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': null }); - }; - PdQuestionAssessedInfoPage.prototype.editIncomeDetails = function (expenseCal) { - var salesData = this.busissnessIncome.filter(function (sal) { return sal.pd_business_income_id == expenseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editIncomeAllDetails = function (AllexpenseData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': AllexpenseData }); - }; - PdQuestionAssessedInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-info\pd-question-assessed-info.html"*/'\n\n\n\n \n\n \n\n {{FormName}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
Sales Calculation
\n\n
\n\n \n\n \n\n \n\n Sales Declared by the Customer as the Annual Sales Actually Done\n\n \n\n {{"₹"}} {{SaleAmtInwords}} Only\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{marginAmtInwords}} Only\n\n \n\n
\n\n \n\n \n\n \n\n \n\n

\n\n\n\n\n\n \n\n \n\n \n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Item-Wise Sales Calculation\n\n \n\n \n\n \n\n

Sales Details

\n\n \n\n \n\n \n\n \n\n

{{"✎"}}

\n\n
\n\n
\n\n \n\n\n\n\n\n \n\n \n\n \n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{salesItem.sales_item}}({{salesItem.other_sales_item}})\n\n \n\n \n\n {{"₹"}} {{salesItem.annual_sale_value}}\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n

Total of Sales

\n\n
\n\n \n\n
{{totalAnnualSale_Item_wise | rupeeCurrencyFormat}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n Sales Calculation as per Kutcha Records / Bills\n\n \n\n \n\n

Daily Sales Details

\n\n \n\n \n\n \n\n

{{"✎"}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n

{{monthwise.salesItem | titlecase}}({{monthwise.otherSaleItem | titlecase}})

\n\n \n\n \n\n \n\n {{eachItem.header | titlecase}}\n\n YearWise Sale\n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{eachmonthItem.sales_date | date:\'dd-MM-yyyy\'}}\n\n \n\n {{eachmonthItem.frequency_name}}\n\n \n\n \n\n \n\n {{"₹"}} {{eachmonthItem.sales_value}}\n\n \n\n {{"₹"}} {{eachmonthItem.frequency_value}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n Annual Sale : {{ monthwise.footerMessage[0].month_value}}\n\n \n\n \n\n {{monthwise.footerMessage[0].month_message}}
\n\n {{monthwise.footerMessage[0].year_message}}\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

Item-wise Purchase Calculation

\n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{purchase.purchase_item}}({{purchase.other_purchase_item}})\n\n \n\n \n\n {{"₹"}} {{purchase.annual_purchase_value}}\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n

Total of purchase

\n\n
\n\n \n\n
{{totalAnnualpurchase_Item_wise | rupeeCurrencyFormat}}
\n\n
\n\n
\n\n
\n\n\n\n \n\n

Purchase Calculation as per Kutcha Records / Bills

\n\n \n\n \n\n \n\n

{{"✎"}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n

{{purchase.purchaseItem | titlecase}}({{purchase.otherPurchaseItem | titlecase}})

\n\n \n\n \n\n \n\n {{eachItem.header | titlecase}}\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{eachmonthItem.purchase_date | date:\'dd-MM-yyyy\'}}\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{eachmonthItem.purchase_value}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{purchase.footerMessage[0].month_message}}
\n\n {{purchase.footerMessage[0].year_message}}\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n

Business Expenses

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{expense.expense_item}}\n\n \n\n \n\n {{"₹"}} {{expense.annual_expenses_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n

Total of Expense

\n\n
\n\n \n\n
{{totalAnnualBusiness_details | rupeeCurrencyFormat}}
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n

Household Expenses

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{houseExepense.expense_item}}\n\n \n\n \n\n {{"₹"}} {{houseExepense.annual_expense_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n

Total of Expense

\n\n
\n\n \n\n
{{totalAnnual_House_hold_details | rupeeCurrencyFormat}}
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n

Other Business Income Items

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{busIncome.business_income_item !=\'Others(Please Specify)\'?busIncome.business_income_item:busIncome.other_frequncy_item}}\n\n \n\n \n\n {{"₹"}} {{busIncome.income_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-info\pd-question-assessed-info.html"*/, - providers: [__WEBPACK_IMPORTED_MODULE_14__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */]] - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedInfoPage); - return PdQuestionAssessedInfoPage; -}()); - -//# sourceMappingURL=pd-question-assessed-info.js.map - -/***/ }), - -/***/ 385: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedSalesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(13); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionAssessedSalesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedSalesPage = (function () { - function PdQuestionAssessedSalesPage(navCtrl, navParams, aws, fb, qustCat, toast, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustCat = qustCat; - this.toast = toast; - this.cons = cons; - this.salesData = []; - this.annual = []; - this.annualSaleAmtInwords = []; - this.marginAmtInwords = []; - this.marginFinalAmtInwords = []; - this.ratePerUnitAmtInwords = []; - this.margin_calculation_status = []; - this.check_type = [{ 'type_id': "1", 'type_name': 'Quantity and Rate Information' }, { 'type_id': "2", 'type_name': 'Value Information' }]; - this.product_and_services = []; - this.complete_status = false; - this.UOMData = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - //this.grossprofitCalc = this.navParams.get('grossprofit'); - this.margin_calculation_status = this.navParams.get('margin_calculation_status'); - this.users = this.aws.getlocale(); - this.assessedForm = this.fb.group({ - salesCalItemwise: this.fb.array([]), - }); - this.salesData = this.navParams.get('sales'); - if (this.salesData != null) { - this.getSalesItemData(this.salesData); - } - else { - this.addSalesCal(); - } - // this.addSalesCal(); - this.getdropList(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedSalesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedSalesPage'); - }; - PdQuestionAssessedSalesPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.UOM = res['records'].filter(function (uom) { return uom.isactive == 1; }); - _this.UOMData = _this.UOM.slice(); - } - }); - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (res) { - if (res.dataStatus == true) { - var datas_1 = res.records; - var api = Object.keys(datas_1.type_of_activity).map(function (key) { - return datas_1.type_of_activity[key]; - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 5) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - }); - } - console.log("before", _this.product_and_services); - _this.product_and_services = [].concat.apply([], _this.product_and_services); - console.log("After", _this.product_and_services); - } - }); - }; - PdQuestionAssessedSalesPage.prototype.createSalesCal = function () { - return this.fb.group({ - sci_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - other_sales_item: [null], - sales_qty: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - sales_type: ["1"], - fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - uomSearch: [null], - uom_other: [null], - rate_per_unit: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - annual_sale_value: [null], - margin_per: [null], - margin_per_uom: [null], - margin_final_value: [null], - comments: [null] - }); - }; - PdQuestionAssessedSalesPage.prototype.addSalesCal = function () { - if (this.assessedForm.valid) { - var control = this.assessedForm.get('salesCalItemwise'); - control.push(this.createSalesCal()); - } - else { - this.toast.pdTriggerappmessage('Enter the all fields'); - } - }; - PdQuestionAssessedSalesPage.prototype.removeSalesCal = function (i, item) { - var _this = this; - console.log("value", item); - this.annual.splice(i, 1); - // this.annual[i].spl - this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); - console.log(this.grandTotal); - console.log("pd", this.pdDetails); - var deleteRecords; - if (item.sci_id != null && item.fk_pd_id != null) { - deleteRecords = [{ - sci_id: item.sci_id, - fk_pd_id: item.fk_pd_id, - company_id: this.pdDetails.company_id, - isactive: false - }]; - var records = { 'records': deleteRecords }; - this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Deleted Successfully"); - } - else { - _this.toast.pdTriggerappmessage("Something Went Wrong"); - } - }); - } - var control = this.assessedForm.get('salesCalItemwise'); - if (control.length == 1) { - control.removeAt(i); - this.addSalesCal(); - } - else { - control.removeAt(i); - } - }; - /** - * frequency Type - * 1.Weekly no need - * 2.Daily 250 - * 3.Yearly - * 4.Hourly no need - * 5.Monthly 12 - * 6.none - * 7.none - * 8.none - */ - PdQuestionAssessedSalesPage.prototype.salecalculat = function (indexVal, values) { - // console.log("Det",details); - // let frequencyId = details.value.fk_frequency_id; - // let salesQty = details.value.sales_qty; - // let UOM = details.value.rate_per_unit; - // // console.log(frequencyId,salesQty,UOM,index); - // // console.log(frequencyId); - // let annual - // if(salesQty!=null && UOM!=null){ - // if(frequencyId==1) - // { - // }else if(frequencyId==2) - // { - // annual = (salesQty*UOM*250); - // this.annual[index] = annual; - // details.controls['annual_sale_value'].setValue(annual); - // }else if(frequencyId==3) - // { - // annual = (salesQty*UOM); - // this.annual[index] = annual; - // details.controls['annual_sale_value'].setValue(annual); - // }else if(frequencyId==4) - // { - // }else if(frequencyId==5) - // { - // annual = (salesQty*UOM*12); - // this.annual[index] = annual; - // details.controls['annual_sale_value'].setValue(annual); - // }else if(frequencyId==6) - // { - // }else if(frequencyId==7) - // { - // }else if(frequencyId==8) - // { - // }else - // { - // } - // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); - // }else - // { - // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM'); - // } - // console.log(this.annual); - var control = this.assessedForm.controls['salesCalItemwise']; - if (values.rate_per_unit != '' && values.rate_per_unit != null) { - console.log("Rate Per value", values.rate_per_unit); - this.inWords(values.rate_per_unit, indexVal, 4); - } - if (values.sales_qty != '' && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.fk_frequency_id != null) { - console.log("Frequency", values.fk_frequency_id); - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - var AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor); - control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)); - this.inWords(AnnualSalesValue, indexVal, 1); - } - else { - control.controls[indexVal].controls['annual_sale_value'].setValue(''); - } - if (this.margin_calculation_status === true) { - values.margin_per_uom == '' && values.margin_per != '' ? this.salesMarginPerCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per == '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per != '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]); - } - }; - PdQuestionAssessedSalesPage.prototype.salesCalculation = function (indexVal, values) { - var control = this.assessedForm.controls['salesCalItemwise']; - if (values.sales_type == "1" && values.sales_qty != '' && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); - this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 1); - } - else if (values.sales_type == "2" && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); - this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 1); - } - else { - control.controls[indexVal].controls['annual_sale_value'].setValue(''); - } - if (this.margin_calculation_status === true) { - values.margin_per_uom == '' && values.margin_per != '' ? this.salesMarginPerCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per == '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per != '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]); - } - }; - PdQuestionAssessedSalesPage.prototype.salesMarginPerCalculation = function (indexVal, values) { - var control = this.assessedForm.controls['salesCalItemwise']; - control.controls[indexVal].controls['margin_per_uom'].setValue(''); - if (values.margin_per != '' && values.annual_sale_value != '' && values.margin_per != null && values.annual_sale_value != null) { - control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per) / 100)).toFixed(2)); - this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per) / 100), indexVal, 3); - } - else { - control.controls[indexVal].controls['margin_final_value'].setValue(''); - } - }; - PdQuestionAssessedSalesPage.prototype.salesMarginAmtCalculation = function (indexVal, values) { - var control = this.assessedForm.controls['salesCalItemwise']; - control.controls[indexVal].controls['margin_per'].setValue(''); - if (values.sales_type == "1" && values.margin_per_uom != '' && values.margin_per_uom != null && values.sales_qty != '' && values.sales_qty != null && values.fk_frequency_id != '' && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - var Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor); - control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2)); - this.inWords(Type1CalculatedValue.toFixed(2), indexVal, 3); - } - else if (values.sales_type == "2" && values.margin_per_uom != '' && values.margin_per_uom != null && values.rate_per_unit != '' && values.rate_per_unit != null) { - var Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom); - control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2)); - this.inWords(Type2CalculatedValue.toFixed(2), indexVal, 3); - } - else { - control.controls[indexVal].controls['margin_final_value'].setValue(''); - } - }; - /*OLD NOT USED CALCULATION*/ - PdQuestionAssessedSalesPage.prototype.getSalesCalc = function (indexVal, values) { - // // console.log(details); - // let margin_per = details.value.margin_per; - // let margin_amount = details.value.margin_per_uom; - // let annual_sale_value = details.value.annual_sale_value; - // let sales_qty = details.value.sales_qty; - // // console.log(sales_qty,margin_amount); - // let value:any = ''; - // if(margin_per !=null || margin_amount !=null){ - // if(margin_per !=null) - // { - // value = +annual_sale_value * (+margin_per/100); - // }else - // { - // console.log('else'); - // value = +sales_qty* +margin_amount; - // } - // console.log(value); - // details.controls['margin_final_value'].setValue(value); - // } - var control = this.assessedForm.controls['salesCalItemwise']; - control.controls[indexVal].controls['margin_per_uom'].setValue(''); - if (values.margin_per != '' && values.annual_sale_value != '' && values.margin_per != null && values.annual_sale_value != null) { - control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per) / 100)); - this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per) / 100), indexVal, 3); - } - else { - control.controls[indexVal].controls['margin_final_value'].setValue(''); - } - }; - PdQuestionAssessedSalesPage.prototype.inWords = function (value, inx, flag) { - switch (flag) { - case 1: - this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value); - break; - case 2: - this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value); - break; - case 3: - this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value); - break; - case 4: - console.log("Rate", value); - this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value); - break; - default: break; - } - }; - PdQuestionAssessedSalesPage.prototype.saveData = function (answerData) { - var _this = this; - if (this.assessedForm.valid) { - answerData.salesCalItemwise.forEach(function (parVal) { - delete parVal.uomSearch; - }); - var records = { 'records': answerData.salesCalItemwise }; - console.log(records); - this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - } - }); - } - else { - console.log(answerData); - this.toast.pdTriggerappmessage("Please Fill all the Fields"); - } - }; - PdQuestionAssessedSalesPage.prototype.getSalesItemData = function (salesData) { - var _this = this; - console.log(salesData); - var control = this.assessedForm.get('salesCalItemwise'); - salesData.forEach(function (sale, index) { - _this.annual[index] = sale.annual_sale_value; - control.push(_this.createSaleswithData(sale)); - if (sale.rate_per_unit != null) { - _this.ratePerUnitAmtInwords[index] = _this.cons.convertNumberToWords(sale.rate_per_unit); - } - if (sale.annual_sale_value != null) { - _this.annualSaleAmtInwords[index] = _this.cons.convertNumberToWords(sale.annual_sale_value); - } - if (sale.margin_per_uom != null) { - _this.marginAmtInwords[index] = _this.cons.convertNumberToWords(sale.margin_per_uom); - } - if (sale.margin_final_value != null) { - _this.marginFinalAmtInwords[index] = _this.cons.convertNumberToWords(sale.margin_final_value); - } - _this.changeOptions(index, sale.sales_type); - }); - // this.assessedForm.controls['salesCalItemwise'].setValue(salesData); - // console.log(control); - this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); - }; - PdQuestionAssessedSalesPage.prototype.changeOptions = function (indexVal, event) { - console.log("ai"); - var control = this.assessedForm.controls['salesCalItemwise']; - if (event.value == "1") { - control.controls[indexVal].controls['fk_frequency_id'].setValue(""); - control.controls[indexVal].controls['fk_frequency_id'].clearValidators(); - control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity(); - control.controls[indexVal].controls['annual_sale_value'].setValue(""); - control.controls[indexVal].controls['annual_sale_value'].clearValidators(); - control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity(); - control.controls[indexVal].controls['rate_per_unit'].setValue(""); - control.controls[indexVal].controls['rate_per_unit'].clearValidators(); - control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity(); - control.controls[indexVal].controls['sales_qty'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - control.controls[indexVal].controls['sales_qty'].updateValueAndValidity(); - control.controls[indexVal].controls['fk_uom_id'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); - this.salesCalculation(indexVal, control.controls[indexVal].value); - } - else if (event.value == "2") { - control.controls[indexVal].controls['sales_qty'].setValue(""); - control.controls[indexVal].controls['sales_qty'].clearValidators(); - control.controls[indexVal].controls['sales_qty'].updateValueAndValidity(); - control.controls[indexVal].controls['fk_uom_id'].setValue(""); - control.controls[indexVal].controls['fk_uom_id'].clearValidators(); - control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); - control.controls[indexVal].controls['margin_per_uom'].setValue(""); - this.salesCalculation(indexVal, control.controls[indexVal].value); - } - }; - PdQuestionAssessedSalesPage.prototype.createSaleswithData = function (data) { - return this.fb.group({ - sci_id: [data.sci_id], - company_id: [this.pdDetails.company_id], - fk_pd_id: [this.pdDetails.pd_id], - sales_item: [data.sales_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - other_sales_item: [data.other_sales_item], - sales_type: [data.sales_type, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - sales_qty: [data.sales_qty, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [data.fk_uom_id, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - uomSearch: [null], - uom_other: [data.uom_other], - rate_per_unit: [data.rate_per_unit, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - annual_sale_value: [data.annual_sale_value], - margin_per: [data.margin_per], - margin_per_uom: [data.margin_per_uom], - margin_final_value: [data.margin_final_value], - comments: [data.comments] - }); - }; - PdQuestionAssessedSalesPage.prototype.searchUOM = function (control, i) { - var _this = this; - control.controls['uomSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - var val = control.controls['uomSearch'].value; - if (!_this.UOM) { - return; - } - var searchVal = val; - if (!searchVal) { - _this.UOMData = _this.UOM.slice(); - return; - } - else { - searchVal = searchVal.toLowerCase(); - } - _this.UOMData = _this.UOM.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); - }); - }; - PdQuestionAssessedSalesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-sales',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-sales\pd-question-assessed-sales.html"*/'\n\n\n\n \n\n \n\n Item-Wise Sales Calculation \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{product.name | titlecase}}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{types.type_name}}\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{U.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n {{"₹"}} {{ratePerUnitAmtInwords[i]}} Only\n\n \n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{annualSaleAmtInwords[i]}} Only\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{ratePerUnitAmtInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{annualSaleAmtInwords[i]}} Only\n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{marginAmtInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{marginFinalAmtInwords[i]}} Only\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-sales\pd-question-assessed-sales.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedSalesPage); - return PdQuestionAssessedSalesPage; -}()); - -//# sourceMappingURL=pd-question-assessed-sales.js.map - -/***/ }), - -/***/ 386: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDailySalesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the PdQuestionAssessedDailySalesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedDailySalesPage = (function () { - function PdQuestionAssessedDailySalesPage(navCtrl, navParams, aws, qustCat, toast, fb, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.constant = constant; - this.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); - this.Value = []; - this.marginAmtInwords = []; - this.frequencyData = []; - this.freqAmtInwords = []; - this.check_type = [{ 'type_id': "1", 'type_name': 'Date Information' }, { 'type_id': "2", 'type_name': 'Frequency Information' }]; - this.product_and_services = []; - this.complete_status = false; - this.temparr = []; - this.tempdate = []; - // this.maxDate=new Date() - var today = new Date; - console.log("today", today); - var date = today.getDate() < 10 ? ("0" + (today.getDate())) : today.getDate(); - var month = today.getMonth() < 10 ? ("0" + (today.getMonth() + 1)) : (today.getMonth() + 1); - this.maxDate = today.getFullYear() + '-' + month + '-' + date; - console.log("max", this.maxDate); - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.salesDaily = this.navParams.get('salesDaily'); - // this.grossprofitCalc = this.navParams.get('grossprofit'); - this.margin_calculation_status = this.navParams.get('margin_calculation_status'); - this.users = this.aws.getlocale(); - this.currentDate = constant.getcurrentDate().replace("T00:00", ''); - this.salesDailyForm = this.fb.group({ - sales_product: this.fb.array([]), - }); - if (this.salesDaily != null) { - this.getDailySalesData(this.salesDaily); - } - else { - this.adddailySalaesProduct(); - } - this.getDropDown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedDailySalesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage'); - }; - PdQuestionAssessedDailySalesPage.prototype.getDropDown = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (data) { - _this.frequencyData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (res) { - if (res.dataStatus == true) { - var datas_1 = res.records; - var api = Object.keys(datas_1.type_of_activity).map(function (key) { - return datas_1.type_of_activity[key]; - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 5) { - if (val.prodcuts) { - _this.product_and_services.push(val.prodcuts); - } - } - }); - } - console.log("before", _this.product_and_services); - _this.product_and_services = [].concat.apply([], _this.product_and_services); - console.log("After", _this.product_and_services); - } - }); - }; - // change options for either Date/Frequency Information - PdQuestionAssessedDailySalesPage.prototype.changeOptions = function (indexVal, event) { - console.log("event", event); - var control = this.salesDailyForm.controls['sales_product']; - console.log("control", control); - var innercontrol = control.controls[indexVal].get('child'); - if (event == "1") { - for (var i = 0; i < innercontrol.value.length - 1; i++) { - innercontrol.removeAt(i); - } - innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].updateValueAndValidity(); - innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].setValue(""); - innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].clearValidators(); - innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].updateValueAndValidity(); - innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].setValue(""); - innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].clearValidators(); - innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].updateValueAndValidity(); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); - // control.controls[indexVal].controls['comments'].setValue(""); - // control.controls[indexVal].controls['comments'].clearValidators(); - //control.controls[indexVal].controls['comments'].updateValueAndValidity(); - } - else if (event == "2") { - for (var i = 0; i < innercontrol.value.length - 1; i++) { - innercontrol.removeAt(i); - } - innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].setValue(""); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].clearValidators(); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].updateValueAndValidity(); - innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].setValue(""); - innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].updateValueAndValidity(); - innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].setValue(""); - innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].updateValueAndValidity(); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); - control.controls[indexVal].controls['comments'].setValue(""); - // control.controls[indexVal].controls['comments'].setValidators([Validators.required]); - // control.controls[indexVal].controls['comments'].updateValueAndValidity(); - } - control.controls[indexVal].controls['margin_per'].setValue(""); - control.controls[indexVal].controls['margin_value'].setValue(""); - }; - PdQuestionAssessedDailySalesPage.prototype.createdailysalesProduct = function () { - return this.fb.group({ - sim_id: [null], - sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - other_sales_item: [null], - sales_type: ["1"], - child: this.fb.array([]), - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - margin_per: [null], - margin_value: [null], - comments: [null], - fk_createdby: [this.users], - isactive: [true], - }); - }; - PdQuestionAssessedDailySalesPage.prototype.createdailyChildSaleProduct = function () { - return this.fb.group({ - simc_id: [null], - fk_sim_id: [null], - sales_date: [null], - sales_value: [null], - fk_frequency_id: [null], - frequency_value: [null], - isactive: [true], - }); - }; - PdQuestionAssessedDailySalesPage.prototype.getSalesCalc = function (subchild, child, key) { - var saledate = new Date(subchild.value.sales_date).getMonth() + 1; - var totalitemmargin = child.value.margin_per; - if (totalitemmargin != null && subchild.value.sales_value != null) { - var loopAccess = false; - var loopindex = 0; - if (this.tempdate.length != 0) { - for (var i = 0; i < this.tempdate.length; i++) { - if (this.tempdate[i].month == saledate) { - loopAccess = true; - loopindex = i; - } - } - if (loopAccess) { - this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value; - this.temparr.push(subchild.value.sales_value); - loopAccess = false; - loopindex = 0; - } - else { - this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); - this.temparr.push(subchild.value.sales_value); - } - } - else { - this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); - this.temparr.push(subchild.value.sales_value); - } - var totalMonth = 12 / this.tempdate.length; - var tempgrandTotal = this.tempdate.reduce(function (a, b) { return (+a + +b.value); }, 0); - // let value = tempgrandTotal * (totalitemmargin / 100); - var value = tempgrandTotal * totalMonth; - var grandValue = value * (totalitemmargin / 100); - child.controls['margin_value'].setValue(grandValue); - } - }; - PdQuestionAssessedDailySalesPage.prototype.salesCalculation = function (indexVal, values) { - var _this = this; - console.log(indexVal, values); - console.log("Margin", this.margin_calculation_status); - if (this.margin_calculation_status === true && values.sales_type == "1") { - console.log("value == 1"); - var control = this.salesDailyForm.controls['sales_product']; - if (values.child.length > 0 && values.margin_per != '' && values.margin_per != null) { - // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{ - var transformData = values.child.filter(function (val) { return val.sales_date != '' && val.sales_date != null && val.sales_date != undefined && val.sales_value != '' && val.isactive == true; }).map(function (mval) { - mval.custum_date = _this.pipe.transform(mval.sales_date, 'yyyy-MM'); - return mval; - }); - console.log("transform", transformData); - if (transformData.length > 0) { - var getUniqueMonthCounts = transformData.map(function (val) { return val.custum_date; }) - .filter(function (fVal, fIndex, fArray) { - return fIndex === fArray.indexOf(fVal); - }); - var getTotalValueCounts = transformData.map(function (val) { return val.sales_value; }) - .reduce(function (sum, curr) { return parseFloat(sum) + parseFloat(curr); }); - console.log("value", (parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per) / 100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2)); - console.log(control.controls[indexVal]); - control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per) / 100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2)); - this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per) / 100) * (12 / parseInt(getUniqueMonthCounts.length)), indexVal, 2); - } - else { - console.log("else 1"); - control.controls[indexVal].controls['margin_value'].setValue(""); - } - console.log("else 1"); - } - else { - console.log("else 2"); - control.controls[indexVal].controls['margin_value'].setValue(''); - } - } - else if (this.margin_calculation_status === true && values.sales_type == "2") { - var control = this.salesDailyForm.controls['sales_product']; - var innercontrol = control.controls[indexVal].get('child'); - if (values.child[values.child.length - 1].fk_frequency_id != '' && values.child[values.child.length - 1].frequency_value != '' && values.child[values.child.length - 1].fk_frequency_id != null && values.child[values.child.length - 1].frequency_value != null) { - var filterFrequencyValue = this.frequencyData.filter(function (val) { return val.frequency_id == values.child[values.child.length - 1].fk_frequency_id; }); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length - 1].frequency_value)).toFixed(2)); - this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length - 1].frequency_value), innercontrol.value.length - 1, 1); - var getTotalValueCounts = parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length - 1].frequency_value); - values.margin_per != '' ? control.controls[indexVal].controls['margin_value'].setValue((getTotalValueCounts * (parseFloat(values.margin_per) / 100)).toFixed(2)) : ''; - values.margin_per != '' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per) / 100), indexVal, 2) : ''; - } - else { - innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); - control.controls[indexVal].controls['margin_value'].setValue(""); - } - } - else if (this.margin_calculation_status === false && values.sales_type == "2") { - var control = this.salesDailyForm.controls['sales_product']; - var innercontrol = control.controls[indexVal].get('child'); - if (values.child[values.child.length - 1].fk_frequency_id != '' && values.child[values.child.length - 1].frequency_value != '' && values.child[values.child.length - 1].fk_frequency_id != null && values.child[values.child.length - 1].frequency_value != null) { - var filterFrequencyValue = this.frequencyData.filter(function (val) { return val.frequency_id == values.child[values.child.length - 1].fk_frequency_id; }); - innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length - 1].frequency_value)).toFixed(2)); - this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length - 1].frequency_value), innercontrol.value.length - 1, 1); - } - else { - innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); - } - } - }; - PdQuestionAssessedDailySalesPage.prototype.inWords = function (e, c, flag) { - switch (flag) { - case 1: - this.Value[c] = this.constant.convertNumberToWords(e); - break; - case 2: - this.marginAmtInwords[c] = this.constant.convertNumberToWords(e); - break; - case 3: - this.freqAmtInwords[c] = this.constant.convertNumberToWords(e); - default: break; - } - }; - PdQuestionAssessedDailySalesPage.prototype.adddailySalaesProduct = function () { - this.tempdate = []; - if (this.salesDailyForm.valid) { - var control = this.salesDailyForm.get('sales_product'); - control.push(this.createdailysalesProduct()); - this.adddailyChildSaleProduct(control.length - 1); - } - }; - PdQuestionAssessedDailySalesPage.prototype.adddailyChildSaleProduct = function (index) { - // if(this.salesDailyForm.valid){ - var control = this.salesDailyForm.get('sales_product').at(index).get('child'); - control.push(this.createdailyChildSaleProduct()); - // } - }; - PdQuestionAssessedDailySalesPage.prototype.deletedailySalesProduct = function (index, item) { - var _this = this; - console.log("fk_pd_id", item); - this.tempdate.slice(index, 1); - var deleteRecords; - if (item.fk_pd_id != null) { - deleteRecords = [{ - sim_id: item.sim_id, - fk_pd_id: item.fk_pd_id, - company_id: this.pdDetails.company_id, - isactive: false - }]; - var records = { 'records': deleteRecords }; - this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Deleted Successfully"); - } - else { - _this.toast.pdTriggerappmessage("Something Went Wrong"); - } - }); - } - var control = this.salesDailyForm.controls['sales_product']; - if (control.length == 1) { - this.salesDailyForm.controls['sales_product'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionAssessedDailySalesPage.prototype.deletedailyChildSaleProduct = function (saleIndex, saleChildIndex, childVal) { - var control = this.salesDailyForm.controls['sales_product']; - control = control.controls[saleIndex].get('child'); - if (childVal == '' || childVal == null) { - control.removeAt(saleChildIndex); - } - else { - console.log("control", control.controls[saleChildIndex]); - control.controls[saleChildIndex].get('isactive').setValue(false); - } - // this.tempdate = []; - // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray; - // if(control.length==1) - // { - // control.removeAt(saleChildIndex); - // this.adddailyChildSaleProduct(saleIndex); - // }else{ - // control.removeAt(saleChildIndex); - // } - }; - PdQuestionAssessedDailySalesPage.prototype.saveData = function (answerData) { - var _this = this; - answerData.sales_product.forEach(function (parVal) { - parVal.child.forEach(function (childVal) { - if (childVal['custum_date']) { - delete childVal['custum_date']; - } - if (childVal['sales_date']) - childVal['sales_date'] = _this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd'); - }); - }); - if (this.salesDailyForm.valid) { - var records = { 'records': answerData.sales_product }; - console.log("answer Data", records); - this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - } - }); - } - else { - console.log("pd", this.salesDailyForm); - this.toast.pdTriggerappmessage("Please Fill all the Fields"); - } - }; - PdQuestionAssessedDailySalesPage.prototype.getDailySalesData = function (dailySalesData) { - var _this = this; - console.log("daily sale", dailySalesData); - var control = this.salesDailyForm.get('sales_product'); - var control1 = this.salesDailyForm.controls['sales_product']; - var salesChildControl; - var salesChildControlarr = []; - dailySalesData.forEach(function (val, index) { - if (val.margin_per != null && val.margin_per != '') { - console.log("c", parseInt(val.margin_per).toFixed(2)); - val.margin_per = parseInt(val.margin_per).toFixed(2); - } - if (val.margin_value != null && val.margin_value != '') { - val.margin_value = parseInt(val.margin_value).toFixed(2); - } - control.push(_this.dailySalesWithData(val)); - if (val.margin_value != null) { - _this.marginAmtInwords[index] = _this.constant.convertNumberToWords(val.margin_value); - } - salesChildControl = _this.salesDailyForm.controls['sales_product'].at(index).get('child'); - salesChildControlarr[index] = Object.keys(val['items']).map(function (key) { return val['items'][key]; }); - salesChildControlarr[index].forEach(function (vals, i) { - vals.forEach(function (item, key) { - console.log("item", item, 'key', key); - if (val.sales_type != 2) { - var saleDate = new Date(item.sales_date); - var date = saleDate.getDate() < 10 ? ("0" + (saleDate.getDate())) : saleDate.getDate(); - var month = saleDate.getMonth() < 10 ? ("0" + (saleDate.getMonth() + 1)) : (saleDate.getMonth() + 1); - // item.sales_date = saleDate.getFullYear() + '-' + ("0" + (saleDate.getMonth() + 1)).slice(-2) + '-' + ("0" + (saleDate.getDay()+1 )).slice(-2); - console.log("sale Day", saleDate.getDay()); - item.sales_date = saleDate.getFullYear() + '-' + month + '-' + date; - } - //console.log("sale data",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy'))) - console.log("itme", val); - console.log("sale", item.sales_date); - salesChildControl.push(_this.dailySalesChildWithData(item, val.sim_id, val.sales_type)); - if (item.sales_value != null) { - _this.Value[i] = _this.constant.convertNumberToWords(item.sales_value); - } - if (item.frequency_value != null) { - _this.freqAmtInwords[i] = _this.constant.convertNumberToWords(item.frequency_value); - } - }); - }); - // this.changeOptions(index,val.sales_type) - if (val.sales_type == "2") { - salesChildControl.controls[salesChildControl.value.length - 1].controls['sales_date'].setValue(""); - salesChildControl.controls[salesChildControl.value.length - 1].controls['sales_date'].clearValidators(); - salesChildControl.controls[salesChildControl.value.length - 1].controls['sales_date'].updateValueAndValidity(); - salesChildControl.controls[salesChildControl.value.length - 1].controls['fk_frequency_id'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - salesChildControl.controls[salesChildControl.value.length - 1].controls['fk_frequency_id'].updateValueAndValidity(); - salesChildControl.controls[salesChildControl.value.length - 1].controls['frequency_value'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - salesChildControl.controls[salesChildControl.value.length - 1].controls['frequency_value'].updateValueAndValidity(); - // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]); - // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity(); - } - }); - console.log("aall", this.salesDailyForm.value); - }; - PdQuestionAssessedDailySalesPage.prototype.dailySalesWithData = function (data) { - return this.fb.group({ - sim_id: [data.sim_id], - sales_item: [data.sales_item], - other_sales_item: [data.other_sales_item], - sales_type: [data.sales_type], - child: this.fb.array([]), - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - fk_createdby: [this.users], - isactive: [true], - margin_per: [data.margin_per == null ? '' : data.margin_per], - margin_value: [data.margin_value == null ? '' : data.margin_value], - comments: [data.comments] - }); - }; - PdQuestionAssessedDailySalesPage.prototype.dailySalesChildWithData = function (data, fk_id, salesType) { - console.log("Sales type", salesType); - return this.fb.group({ - simc_id: [data.simc_id], - fk_sim_id: [fk_id], - // sales_date: [data.sales_date, Validators.compose([Validators.required])], - sales_date: [salesType == 2 ? '' : data.sales_date], - // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])], - sales_value: [data.sales_value], - fk_frequency_id: [data.fk_frequency_id], - frequency_value: [data.frequency_value], - isactive: [true], - }); - }; - PdQuestionAssessedDailySalesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-daily-sales',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-sales\pd-question-assessed-daily-sales.html"*/'\n\n\n\n \n\n \n\n Sales Calculation as per Kutcha Records / Bills\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n {{product.name | titlecase}}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{types.type_name}}\n\n \n\n \n\n
\n\n \n\n
\n\n

{{item.get(\'sales_item\').value | titlecase}}

\n\n
\n\n
\n\n
\n\n \n\n \n\n Sales Date is Required\n\n \n\n \n\n \n\n {{"₹"}} {{Value[i]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{freqAmtInwords[i]}} Only\n\n \n\n \n\n {{"₹"}} {{Value[i]}} Only\n\n \n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{marginAmtInwords[sale_i]}} Only\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-sales\pd-question-assessed-daily-sales.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedDailySalesPage); - return PdQuestionAssessedDailySalesPage; -}()); - -//# sourceMappingURL=pd-question-assessed-daily-sales.js.map - -/***/ }), - -/***/ 387: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedPurchasePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(13); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionAssessedPurchasePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedPurchasePage = (function () { - function PdQuestionAssessedPurchasePage(navCtrl, fb, navParams, qustCat, toast, aws, cons) { - this.navCtrl = navCtrl; - this.fb = fb; - this.navParams = navParams; - this.qustCat = qustCat; - this.toast = toast; - this.aws = aws; - this.cons = cons; - this.annual = []; - this.RateOfPurchase = []; - this.AnnualPurchase = []; - this.productListData = []; - this.UOMData = []; - this.check_type = [{ 'type_id': "1", 'type_name': 'Quantity and Rate Information' }, { 'type_id': "2", 'type_name': 'Value Information' }]; - this.complete_status = false; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); - this.pdDetails = this.navParams.get('pdDetails'); - this.purchaseDetails = this.navParams.get('purchase'); - console.log("purchase", this.purchaseDetails); - console.log("pd", this.pdDetails); - this.users = this.aws.getlocale(); - this.rawMaterialForm = this.fb.group({ - purchase: this.fb.array([]), - }); - if (this.purchaseDetails != null) { - this.getpurchaseDetails(this.purchaseDetails); - } - else { - this.addPurchaseDetails(); - } - this.getdropList(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedPurchasePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedPurchasePage'); - }; - PdQuestionAssessedPurchasePage.prototype.createPurchaseDetails = function () { - return this.fb.group({ - purchase_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - purchase_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - other_purchase_item: [null], - purchase_type: ['1'], - purchase_qty: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - uomSearch: [null], - uom_other: [null], - rate_per_unit: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_purchase_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [null], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedPurchasePage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (fre) { return fre.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.UOM = res['records'].filter(function (uom) { return uom.isactive == 1; }); - _this.UOMData = _this.UOM.slice(); - } - }); - this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); - } - }); - this.qustCat.stockFormAccess(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (data) { - if (data.dataStatus) { - var datas = data.record; - var type2 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); - if (type2[0].hasOwnProperty("products")) { - // this.productListData.push(type2[0].products); - } - var type3 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); - if (type3[0].hasOwnProperty("products")) { - _this.productListData.push(type3[0].products); - } - var type4 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); - if (type4[0].hasOwnProperty("products")) { - _this.productListData.push(type4[0].products); - } - if (datas.from_supplier.hasOwnProperty("raw_material")) { - _this.productListData.push(datas.from_supplier.raw_material); - } - _this.productListData = [].concat.apply([], _this.productListData); - } - }); - }; - PdQuestionAssessedPurchasePage.prototype.addPurchaseDetails = function () { - var control = this.rawMaterialForm.controls['purchase']; - control.push(this.createPurchaseDetails()); - }; - PdQuestionAssessedPurchasePage.prototype.deletePurchaseDetails = function (i, item) { - var _this = this; - this.annual.splice(i, 1); - // this.annual[i].spl - this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return +a + +b; }, 0); - var deleteRecords; - if (item.fk_pd_id != null) { - deleteRecords = [{ - purchase_id: item.purchase_id, - fk_pd_id: item.fk_pd_id, - company_id: this.pdDetails.company_id, - isactive: false - }]; - var records = { 'records': deleteRecords }; - this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Deleted Successfully"); - } - else { - _this.toast.pdTriggerappmessage("Something Went Wrong"); - } - }); - } - var control = this.rawMaterialForm.controls['purchase']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionAssessedPurchasePage.prototype.purchaseCalculation = function (indexVal, values) { - var control = this.rawMaterialForm.controls['purchase']; - if (values.rate_per_unit != null) { - if (values.rate_per_unit != '') { - this.inWords(values.rate_per_unit, indexVal, 1); - } - } - if (values.purchase_type == "1" && values.purchase_qty != '' && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.purchase_qty != null && values.rate_per_unit != null && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); - this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); - } - else if (values.purchase_type == "2" && values.rate_per_unit != '' && values.rate_per_unit != null && values.fk_frequency_id != '' && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); - this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); - } - else { - control.controls[indexVal].controls['annual_purchase_value'].setValue(null); - } - // console.log(this.grandpurchaseTotal); - // console.log(details,index); - // let frequencyId = details.value.fk_frequency_id; - // let purchaseQty = details.value.purchase_qty; - // let UOM = details.value.rate_per_unit; - // console.log(frequencyId,purchaseQty,UOM,index); - // // console.log(frequencyId); - // let annual - // if(purchaseQty!=null && UOM!=null){ - // if(frequencyId==1) - // { - // }else if(frequencyId==2) - // { - // annual = (purchaseQty*UOM*250); - // this.annual[index] = annual; - // details.controls['annual_purchase_value'].setValue(annual); - // }else if(frequencyId==3) - // { - // annual = (purchaseQty*UOM); - // this.annual[index] = annual; - // details.controls['annual_purchase_value'].setValue(annual); - // }else if(frequencyId==4) - // { - // }else if(frequencyId==5) - // { - // annual = (purchaseQty*UOM*12); - // this.annual[index] = annual; - // details.controls['annual_purchase_value'].setValue(annual); - // }else if(frequencyId==6) - // { - // }else if(frequencyId==7) - // { - // }else if(frequencyId==8) - // { - // }else - // { - // } - // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); - // }else - // { - // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM'); - // } - }; - PdQuestionAssessedPurchasePage.prototype.savepurchaseData = function (answerData) { - var _this = this; - answerData.purchase.forEach(function (parVal) { - delete parVal.uomSearch; - }); - if (this.rawMaterialForm.valid) { - answerData.purchase.forEach(function (parVal) { - delete parVal.uomSearch; - }); - var records = { 'records': answerData.purchase }; - console.log('data', records); - this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - // this.getAssessedDetails(); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter All Field'); - } - }; - PdQuestionAssessedPurchasePage.prototype.getpurchaseDetails = function (purchaseDetails) { - var _this = this; - console.log('function in', purchaseDetails); - var control = this.rawMaterialForm.controls['purchase']; - console.log(control); - if (purchaseDetails.length == 0) { - console.log('if'); - this.addPurchaseDetails(); - } - else { - console.log('else'); - purchaseDetails.forEach(function (val, index) { - // console.log(index); - control.push(_this.createPurchasewithData(val)); - _this.annual[index] = val.annual_purchase_value; - if (val.rate_per_unit != null) { - _this.RateOfPurchase[index] = _this.cons.convertNumberToWords(val.rate_per_unit); - } - if (val.annual_purchase_value != null) { - _this.AnnualPurchase[index] = _this.cons.convertNumberToWords(val.annual_purchase_value); - } - }); - this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return (+a + +b); }, 0); - } - // console.log(control); - }; - PdQuestionAssessedPurchasePage.prototype.createPurchasewithData = function (data) { - return this.fb.group({ - purchase_id: [data.purchase_id], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - purchase_item: [data.purchase_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - other_purchase_item: [data.other_purchase_item], - purchase_type: [data.purchase_type], - purchase_qty: [data.purchase_qty, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [data.fk_uom_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - uomSearch: [null], - uom_other: [data.uom_other], - rate_per_unit: [data.rate_per_unit, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_purchase_value: [data.annual_purchase_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [data.comments], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedPurchasePage.prototype.changeOptions = function (indexVal, event) { - console.log('event', event); - var control = this.rawMaterialForm.controls['purchase']; - if (event.value == "1") { - control.controls[indexVal].controls['purchase_qty'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity(); - control.controls[indexVal].controls['fk_uom_id'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); - this.purchaseCalculation(indexVal, control.controls[indexVal].value); - } - else if (event.value == "2") { - control.controls[indexVal].controls['purchase_qty'].setValue(""); - control.controls[indexVal].controls['purchase_qty'].clearValidators(); - control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity(); - control.controls[indexVal].controls['fk_uom_id'].setValue(""); - control.controls[indexVal].controls['fk_uom_id'].clearValidators(); - control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); - this.purchaseCalculation(indexVal, control.controls[indexVal].value); - } - }; - PdQuestionAssessedPurchasePage.prototype.searchUOM = function (control, i) { - var _this = this; - control.controls['uomSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - var val = control.controls['uomSearch'].value; - if (!_this.UOM) { - return; - } - var searchVal = val; - if (!searchVal) { - _this.UOMData = _this.UOM.slice(); - return; - } - else { - searchVal = searchVal.toLowerCase(); - } - _this.UOMData = _this.UOM.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); - }); - }; - PdQuestionAssessedPurchasePage.prototype.inWords = function (e, c, flag) { - switch (flag) { - case 1: - this.RateOfPurchase[c] = this.cons.convertNumberToWords(e); - break; - case 2: - this.AnnualPurchase[c] = this.cons.convertNumberToWords(e); - break; - default: break; - } - }; - PdQuestionAssessedPurchasePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-purchase',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-purchase\pd-question-assessed-purchase.html"*/'\n\n\n\n \n\n \n\n Item-wise Purchase Calculation\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n\n\n
\n\n \n\n \n\n \n\n Select\n\n {{ prod }}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n {{types.type_name}}\n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{U.name}}\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{RateOfPurchase[i]}} Only\n\n \n\n
\n\n
\n\n \n\n\n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{AnnualPurchase[i]}} Only\n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{RateOfPurchase[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AnnualPurchase[i]}} Only\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n

Grand Total:

\n\n
\n\n \n\n

{{grandpurchaseTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-purchase\pd-question-assessed-purchase.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedPurchasePage); - return PdQuestionAssessedPurchasePage; -}()); - -//# sourceMappingURL=pd-question-assessed-purchase.js.map - -/***/ }), - -/***/ 388: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedBusinessPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssessedBusinessPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedBusinessPage = (function () { - function PdQuestionAssessedBusinessPage(navCtrl, navParams, fb, aws, qustCat, toast, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.cons = cons; - this.Value = []; - this.AnnualExpenses = []; - this.complete_status = false; - this.grandExpenseTotal = []; - this.expenseannual = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.expenseDetails = this.navParams.get('expense'); - this.users = this.aws.getlocale(); - this.BuissnessForm = this.fb.group({ - busExpense: this.fb.array([]), - }); - if (this.expenseDetails != null) { - this.getBuisnessExpenses(this.expenseDetails); - } - else { - this.addBusinessDetails(); - } - this.getdropdown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedBusinessPage.prototype.grandpurchaseTotal = function (arg0) { - throw new Error("Method not implemented."); - }; - PdQuestionAssessedBusinessPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionAssessedBusinessPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedBusinessPage'); - }; - PdQuestionAssessedBusinessPage.prototype.createBusinessDetails = function () { - return this.fb.group({ - pd_expense_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - expense_item_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - other_expense_item: [null], - expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expenses_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [null], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedBusinessPage.prototype.businessCalculation = function (indexVal, values) { - var control = this.BuissnessForm.controls['busExpense']; - if (values.expense_value != '' && values.fk_frequency_id != '' && values.expense_value != null && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); - this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); - } - else { - control.controls[indexVal].controls['annual_expenses_value'].setValue(null); - } - }; - PdQuestionAssessedBusinessPage.prototype.addBusinessDetails = function () { - var control = this.BuissnessForm.controls['busExpense']; - control.push(this.createBusinessDetails()); - }; - PdQuestionAssessedBusinessPage.prototype.deleteBuisnessDetails = function (i, item) { - var _this = this; - console.log("item", item); - this.expenseannual.splice(i, 1); - this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); - var deleteRecords; - if (item.fk_pd_id != null) { - deleteRecords = [{ - pd_expense_id: item.pd_expense_id, - fk_pd_id: item.fk_pd_id, - company_id: this.pdDetails.company_id, - isactive: false - }]; - var records = { 'records': deleteRecords }; - this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Deleted Successfully"); - } - else { - _this.toast.pdTriggerappmessage("Something Went Wrong"); - } - }); - } - var control = this.BuissnessForm.controls['busExpense']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionAssessedBusinessPage.prototype.busExpensecalculat = function (index, details) { - var frequencyId = details.value.fk_frequency_id; - var expenseValue = details.value.expense_value; - var UOM = details.value.rate_per_unit; - var annual; - if (expenseValue != null) { - if (frequencyId == 1) { - } - else if (frequencyId == 2) { - annual = (expenseValue * 250); - this.expenseannual[index] = annual; - details.controls['annual_expenses_value'].setValue(annual); - this.inWords(annual, index, 2); - } - else if (frequencyId == 3) { - annual = (expenseValue); - this.expenseannual[index] = annual; - details.controls['annual_expenses_value'].setValue(annual); - this.inWords(annual, index, 2); - } - else if (frequencyId == 4) { - } - else if (frequencyId == 5) { - annual = (expenseValue * 12); - this.expenseannual[index] = annual; - details.controls['annual_expenses_value'].setValue(annual); - this.inWords(annual, index, 2); - } - else if (frequencyId == 6) { - } - else if (frequencyId == 7) { - } - else if (frequencyId == 8) { - } - else { - } - this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); - } - else { - this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); - } - }; - PdQuestionAssessedBusinessPage.prototype.saveBusinessData = function (answerData) { - var _this = this; - if (this.BuissnessForm.valid) { - var records = { 'records': answerData.busExpense }; - this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - PdQuestionAssessedBusinessPage.prototype.getBuisnessExpenses = function (expenseDetails) { - var _this = this; - if (expenseDetails.length == 0) { - this.addBusinessDetails(); - } - else { - var control_1 = this.BuissnessForm.controls['busExpense']; - expenseDetails.forEach(function (val, index) { - _this.expenseannual[index] = val.annual_expenses_value; - control_1.push(_this.createBusinessExpensewithData(val)); - if (val.expense_value != null) { - _this.Value[index] = _this.cons.convertNumberToWords(val.expense_value); - _this.AnnualExpenses[index] = _this.cons.convertNumberToWords(val.annual_expenses_value); - } - }); - this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); - } - }; - PdQuestionAssessedBusinessPage.prototype.createBusinessExpensewithData = function (data) { - return this.fb.group({ - pd_expense_id: [data.pd_expense_id], - fk_pd_id: [this.pdDetails.pd_id], - expense_item_id: [data.expense_item_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - other_expense_item: [data.other_expense_item || ''], - expense_value: [data.expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expenses_value: [data.annual_expenses_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [data.comments], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedBusinessPage.prototype.inWords = function (e, c, flag) { - switch (flag) { - case 1: - this.Value[c] = this.cons.convertNumberToWords(e); - break; - case 2: - this.AnnualExpenses[c] = this.cons.convertNumberToWords(e); - break; - default: break; - } - }; - PdQuestionAssessedBusinessPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-business',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business\pd-question-assessed-business.html"*/'\n\n\n\n \n\n \n\n Business Expenses\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n {{expense.expense_item}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{Value[i]}} Only\n\n \n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AnnualExpenses[i]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n

Total Business Expenses:

\n\n
\n\n \n\n

{{grandExpenseTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business\pd-question-assessed-business.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedBusinessPage); - return PdQuestionAssessedBusinessPage; -}()); - -//# sourceMappingURL=pd-question-assessed-business.js.map - -/***/ }), - -/***/ 389: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedHouseholdPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssessedHouseholdPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedHouseholdPage = (function () { - // nn:Object[][]=[] - function PdQuestionAssessedHouseholdPage(navCtrl, navParams, fb, aws, toast, qustCat, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.cons = cons; - this.houseannual = []; - this.grandHouseExpenseTotal = []; - this.Value = []; - this.AnnualExpenses = []; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.houseExpenseDetails = this.navParams.get('FormId'); - this.expenseDetails = this.navParams.get('expense'); - this.users = this.aws.getlocale(); - this.houseHoldForm = this.fb.group({ - houseExpense: this.fb.array([]), - }); - if (this.expenseDetails != null) { - this.getHouseholdExpense(this.expenseDetails); - } - else { - this.addHouseExpenses(); - } - this.getdropdown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedHouseholdPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage'); - }; - PdQuestionAssessedHouseholdPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionAssessedHouseholdPage.prototype.createHouseExpense = function () { - return this.fb.group({ - household_expense_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - expense_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [null], - isactive: ["1"], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedHouseholdPage.prototype.addHouseExpenses = function () { - var control = this.houseHoldForm.controls['houseExpense']; - control.push(this.createHouseExpense()); - }; - PdQuestionAssessedHouseholdPage.prototype.deleteHouseExpense = function (i, item) { - var _this = this; - this.houseannual.splice(i, 1); - this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); - var deleteRecords; - if (item.household_expense_id != null) { - deleteRecords = [{ - household_expense_id: item.household_expense_id, - fk_pd_id: item.fk_pd_id, - company_id: this.pdDetails.company_id, - isactive: false - }]; - var records = { 'records': deleteRecords }; - this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Deleted Successfully"); - } - else { - _this.toast.pdTriggerappmessage("Something Went Wrong"); - } - }); - } - var control = this.houseHoldForm.controls['houseExpense']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionAssessedHouseholdPage.prototype.houseExpensecalculat = function (indexVal, values) { - var control = this.houseHoldForm.controls['houseExpense']; - if (values.expense_value != '' && values.fk_frequency_id != '' && values.expense_value != null && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); - this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); - } - else { - control.controls[indexVal].controls['annual_expense_value'].setValue(null); - } - //OLD CALCULATION - // let frequencyId = details.value.fk_frequency_id; - // let expenseValue = details.value.expense_value; - // // let UOM = details.value.rate_per_unit; - // // console.log(frequencyId,purchaseQty,UOM,index); - // // console.log(details); - // let annual - // if(expenseValue!=null){ - // if(frequencyId==1) - // { - // }else if(frequencyId==2) - // { - // annual = (expenseValue*250); - // this.houseannual[index] = annual; - // details.controls['annual_expense_value'].setValue(annual); - // }else if(frequencyId==3) - // { - // annual = (expenseValue); - // this.houseannual[index] = annual; - // details.controls['annual_expense_value'].setValue(annual); - // }else if(frequencyId==4) - // { - // }else if(frequencyId==5) - // { - // annual = (expenseValue*12); - // this.houseannual[index] = annual; - // details.controls['annual_expense_value'].setValue(annual); - // }else if(frequencyId==6) - // { - // }else if(frequencyId==7) - // { - // }else if(frequencyId==8) - // { - // }else - // { - // } - // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); - // console.log(this.grandHouseExpenseTotal); - // }else - // { - // this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); - // } - }; - PdQuestionAssessedHouseholdPage.prototype.saveHouseExpenseData = function (answerData) { - var _this = this; - if (this.houseHoldForm.valid) { - var records = { 'records': answerData.houseExpense }; - this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - PdQuestionAssessedHouseholdPage.prototype.getHouseholdExpense = function (houseExpesneDetails) { - var _this = this; - if (houseExpesneDetails.length == 0) { - this.addHouseExpenses(); - } - else { - var control_1 = this.houseHoldForm.controls['houseExpense']; - houseExpesneDetails.forEach(function (val, index) { - _this.houseannual[index] = val.annual_expense_value; - control_1.push(_this.createHouseholdwithData(val)); - if (val.expense_value != null) { - _this.Value[index] = _this.cons.convertNumberToWords(val.expense_value); - _this.AnnualExpenses[index] = _this.cons.convertNumberToWords(val.annual_expense_value); - } - }); - this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); - } - }; - PdQuestionAssessedHouseholdPage.prototype.createHouseholdwithData = function (data) { - return this.fb.group({ - household_expense_id: [data.household_expense_id], - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - expense_item: [data.expense_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - expense_value: [data.expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expense_value: [data.annual_expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [data.comments], - isactive: ["1"], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedHouseholdPage.prototype.inWords = function (e, c, flag) { - switch (flag) { - case 1: - this.Value[c] = this.cons.convertNumberToWords(e); - break; - case 2: - this.AnnualExpenses[c] = this.cons.convertNumberToWords(e); - break; - default: break; - } - }; - PdQuestionAssessedHouseholdPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-household',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-household\pd-question-assessed-household.html"*/'\n\n\n\n \n\n \n\n Household Expenses\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{Value[i]}} Only\n\n \n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AnnualExpenses[i]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Total Household Expenses :

\n\n
\n\n \n\n

{{grandHouseExpenseTotal}}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-household\pd-question-assessed-household.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedHouseholdPage); - return PdQuestionAssessedHouseholdPage; -}()); - -//# sourceMappingURL=pd-question-assessed-household.js.map - -/***/ }), - -/***/ 390: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedBusinessIncomePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssessedBusinessIncomePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedBusinessIncomePage = (function () { - function PdQuestionAssessedBusinessIncomePage(navCtrl, navParams, fb, aws, qustCat, toast, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.cons = cons; - this.m_freqOfPurchase = []; - this.grandIncomeTotal = []; - this.incomeannual = []; - this.Value = []; - this.AnnualExpenses = []; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.expenseDetails = this.navParams.get('income'); - this.users = this.aws.getlocale(); - this.BuissnessForm = this.fb.group({ - busIncome: this.fb.array([]), - }); - if (this.expenseDetails != null) { - this.getBuisnessExpenses(this.expenseDetails); - } - else { - this.addBusinessDetails(); - } - this.getdropdown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedBusinessIncomePage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.businessIncome = res['records'].filter(function (bus) { return bus.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionAssessedBusinessIncomePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage'); - }; - PdQuestionAssessedBusinessIncomePage.prototype.createBusinessDetails = function () { - return this.fb.group({ - pd_business_income_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - business_income_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - income_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_income_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [null], - isactive: ['1'], - fk_createdby: [this.users], - other_income_item: [null], - other_frequncy_item: [null], - }); - }; - PdQuestionAssessedBusinessIncomePage.prototype.addBusinessDetails = function () { - var control = this.BuissnessForm.controls['busIncome']; - control.push(this.createBusinessDetails()); - }; - PdQuestionAssessedBusinessIncomePage.prototype.deleteBuisnessDetails = function (i) { - this.incomeannual.splice(i, 1); - this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); - var control = this.BuissnessForm.controls['busIncome']; - control.removeAt(i); - }; - PdQuestionAssessedBusinessIncomePage.prototype.busIncomecalculate = function (indexVal, values) { - var control = this.BuissnessForm.controls['busIncome']; - if (values.income_value != '' && values.fk_frequency_id != '' && values.income_value != null && values.fk_frequency_id != null) { - var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); - control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor)); - this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); - } - else { - control.controls[indexVal].controls['annual_income_value'].setValue(''); - } - //OLD CALCULATION - // let frequencyId = details.value.fk_frequency_id; - // let incomeValue = details.value.income_value; - // // let UOM = details.value.rate_per_unit; - // let annual:any; - // if(incomeValue!=null && incomeValue !=null){ - // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; - // if(frequencyId==1) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==2) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==3) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==4) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==5) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==6) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==7) - // { - // annual = (incomeValue*frequency_factor.mutiple_factor); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else if(frequencyId==8) - // { - // annual = (incomeValue); - // this.incomeannual[index] = annual; - // details.controls['annual_income_value'].setValue(annual); - // }else - // { - // } - // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); - // }else - // { - // this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); - // } - }; - PdQuestionAssessedBusinessIncomePage.prototype.saveBusinessData = function (answerData) { - var _this = this; - if (this.BuissnessForm.valid) { - var records = { 'records': answerData.busIncome }; - this.qustCat.saveassessedForms('saveOtherBusinessIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - PdQuestionAssessedBusinessIncomePage.prototype.getBuisnessExpenses = function (expenseDetails) { - var _this = this; - if (expenseDetails.length == 0) { - this.addBusinessDetails(); - } - else { - var control_1 = this.BuissnessForm.controls['busIncome']; - expenseDetails.forEach(function (val, index) { - _this.incomeannual[index] = val.annual_income_value; - control_1.push(_this.createBusinessExpensewithData(val)); - if (val.income_value != null) { - _this.Value[index] = _this.cons.convertNumberToWords(val.income_value); - _this.AnnualExpenses[index] = _this.cons.convertNumberToWords(val.annual_income_value); - } - }); - this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); - } - }; - PdQuestionAssessedBusinessIncomePage.prototype.createBusinessExpensewithData = function (data) { - return this.fb.group({ - pd_business_income_id: [data.pd_business_income_id], - fk_pd_id: [this.pdDetails.pd_id], - business_income_id: [data.business_income_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - income_value: [data.income_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_income_value: [data.annual_income_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comments: [data.comments], - isactive: ['1'], - fk_createdby: [this.users], - other_income_item: [data.other_income_item], - other_frequncy_item: [data.other_frequncy_item], - }); - }; - PdQuestionAssessedBusinessIncomePage.prototype.inWords = function (e, c, flag) { - switch (flag) { - case 1: - this.Value[c] = this.cons.convertNumberToWords(e); - break; - case 2: - this.AnnualExpenses[c] = this.cons.convertNumberToWords(e); - break; - default: break; - } - }; - PdQuestionAssessedBusinessIncomePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-business-income',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business-income\pd-question-assessed-business-income.html"*/'\n\n\n\n \n\n \n\n Business Expenses\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n {{income.business_income_item}}\n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{Value[i]}} Only\n\n \n\n \n\n \n\n Select\n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AnnualExpenses[i]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n

Total Business Income:

\n\n
\n\n \n\n

{{grandIncomeTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business-income\pd-question-assessed-business-income.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedBusinessIncomePage); - return PdQuestionAssessedBusinessIncomePage; -}()); - -//# sourceMappingURL=pd-question-assessed-business-income.js.map - -/***/ }), - -/***/ 391: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDailyPurchasePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the PdQuestionAssessedDailyPurchasePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedDailyPurchasePage = (function () { - function PdQuestionAssessedDailyPurchasePage(navCtrl, navParams, aws, fb, quesCat, toast, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.quesCat = quesCat; - this.toast = toast; - this.cons = cons; - this.pipe = new __WEBPACK_IMPORTED_MODULE_6__angular_common__["d" /* DatePipe */]('en-US'); - this.productListData = []; - this.purchaseAmtInWords = []; - this.complete_status = false; - var today = new Date; - console.log("today", today); - var date = today.getDate() < 10 ? ("0" + (today.getDate())) : today.getDate(); - var month = today.getMonth() < 10 ? ("0" + (today.getMonth() + 1)) : (today.getMonth() + 1); - this.maxDate = today.getFullYear() + '-' + month + '-' + date; - console.log("max", this.maxDate); - this.pdDetails = this.navParams.get('pdDetails'); - console.log("pd", this.pdDetails); - this.formId = this.navParams.get('FormId'); - this.purchaseData = this.navParams.get('purchaseDaily'); - console.log("data", this.purchaseData); - this.margin_calculation_status = this.navParams.get('margin_calculation_status'); - this.users = this.aws.getlocale(); - this.purchaseItemForm = this.fb.group({ - // purchase_item:[''], - // other_purchase_item:[''], - purchase_product: this.fb.array([]) - // child:this.fb.array([]) - }); - this.getDropDown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionAssessedDailyPurchasePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage'); - if (this.purchaseData != null) { - this.getDailyPurchase(this.purchaseData); - } - else { - this.addPurchase(); - } - }; - PdQuestionAssessedDailyPurchasePage.prototype.getDropDown = function () { - var _this = this; - this.quesCat.stockFormAccess(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (data) { - if (data.dataStatus) { - var datas = data.record; - var type2 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); - if (type2[0].hasOwnProperty("products")) { - // this.productListData.push(type2[0].products); - } - var type3 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); - if (type3[0].hasOwnProperty("products")) { - _this.productListData.push(type3[0].products); - } - var type4 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); - if (type4[0].hasOwnProperty("products")) { - _this.productListData.push(type4[0].products); - } - if (datas.from_supplier.hasOwnProperty("raw_material")) { - _this.productListData.push(datas.from_supplier.raw_material); - } - _this.productListData = [].concat.apply([], _this.productListData); - } - }); - }; - PdQuestionAssessedDailyPurchasePage.prototype.addPurchase = function () { - var control = this.purchaseItemForm.get('purchase_product'); - control.push(this.createDailyPurchase()); - this.addDailyPurchaseChild(control.length - 1); - }; - PdQuestionAssessedDailyPurchasePage.prototype.createDailyPurchase = function () { - return this.fb.group({ - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - pbw_id: [''], - purchase_item: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - other_purchase_item: [''], - annual_purchase_value: [''], - child: this.fb.array([]), - comments: [''], - isactive: [true], - }); - }; - PdQuestionAssessedDailyPurchasePage.prototype.addDailyPurchaseChild = function (index) { - var control = this.purchaseItemForm.get('purchase_product').at(index).get('child'); - control.push(this.createDailyPurchaseChild('')); - }; - PdQuestionAssessedDailyPurchasePage.prototype.createDailyPurchaseChild = function (value) { - return this.fb.group({ - pbwc_id: [''], - fk_pbw_id: [value], - purchase_date: [''], - purchase_value: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - isactive: [true], - }); - }; - PdQuestionAssessedDailyPurchasePage.prototype.createPurchaseItemWithData = function (values) { - return this.fb.group({ - fk_pd_id: [this.pdDetails.pd_id], - company_id: [this.pdDetails.company_id], - pbw_id: [values.pbw_id], - purchase_item: [values.purchase_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - other_purchase_item: [values.other_purchase_item === null ? '' : values.other_purchase_item], - annual_purchase_value: [values.annual_purchase_value], - child: this.fb.array([]), - comments: [values.comments], - isactive: [true], - }); - }; - // create daily purchase product with Data - PdQuestionAssessedDailyPurchasePage.prototype.createDailyPurchaseWithData = function (values, parent) { - console.log("dd", new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd'))); - return this.fb.group({ - pbwc_id: [values.pbwc_id], - fk_pbw_id: [parent.pbw_id], - // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])], - purchase_date: [values.purchase_date], - purchase_value: [values.purchase_value, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - isactive: [true] - }); - }; - PdQuestionAssessedDailyPurchasePage.prototype.inWords = function (values, index) { - console.log("value", values); - if (values != '') { - this.purchaseAmtInWords[index] = this.cons.convertNumberToWords(values); - } - }; - // this caculation for running total - PdQuestionAssessedDailyPurchasePage.prototype.purchaseCalculation = function (indexVal, values) { - var _this = this; - var control = this.purchaseItemForm.controls['purchase_product']; - if (values.child.length > 0) { - var transformData = values.child.filter(function (val) { return val.purchase_date != '' && val.purchase_date != null && val.purchase_date != undefined && val.purchase_value != '' && val.isactive === true; }).map(function (mval) { - mval.custum_date = _this.pipe.transform(mval.purchase_date, 'yyyy-MM'); - return mval; - }); - if (transformData.length > 0) { - // let getUniqueMonthCounts = transformData.map(val=>val.custum_date) - // .filter((fVal,fIndex,fArray)=>{ - // return fIndex === fArray.indexOf(fVal); - // }); - var TotalAnnualValue = transformData.map(function (val) { return val.purchase_value; }) - .reduce(function (sum, curr) { return parseInt(sum) + parseInt(curr); }); - // let months:number=12/values.child.length; - control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue); - } - else { - control.controls[indexVal].controls['annual_purchase_value'].setValue(""); - } - } - else { - var innercontrol = control.controls[indexVal].get('child'); - innercontrol.controls[innercontrol.value.length - 1].controls['purchase_value'].setValue(""); - control.controls[indexVal].controls['annual_purchase_value'].setValue(""); - } - }; - PdQuestionAssessedDailyPurchasePage.prototype.addDailyPurchase = function (len) { - var control = this.purchaseItemForm.get('purchase_product'); - control.push(this.createDailyPurchase()); - var innercontrol = control.at(len).get('child'); - innercontrol.push(this.createDailyPurchaseChild('')); - }; - PdQuestionAssessedDailyPurchasePage.prototype.removeDailyPurchase = function (index) { - var control = this.purchaseItemForm.get('purchase_product'); - control.removeAt(index); - }; - PdQuestionAssessedDailyPurchasePage.prototype.addChild = function (parentIndex, values) { - var control = this.purchaseItemForm.controls['purchase_product']; - control = control.controls[parentIndex].get('child'); - control.push(this.createDailyPurchaseChild(values.pbw_id)); - }; - PdQuestionAssessedDailyPurchasePage.prototype.removeChild = function (parentIndex, childIndex, childValue) { - var control = this.purchaseItemForm.controls['purchase_product']; - control = control.controls[parentIndex].get('child'); - if (childValue.pbwc_id == '' || childValue.pbwc_id == null) { - control.removeAt(childIndex); - var calculatControlValues = this.purchaseItemForm.controls['purchase_product']; - calculatControlValues = calculatControlValues.controls[parentIndex]; - this.purchaseCalculation(parentIndex, calculatControlValues.value); - } - else { - control.controls[childIndex].controls.isactive.setValue(false); - var calculatControlValues = this.purchaseItemForm.controls['purchase_product']; - calculatControlValues = calculatControlValues.controls[parentIndex]; - this.purchaseCalculation(parentIndex, calculatControlValues.value); - } - }; - PdQuestionAssessedDailyPurchasePage.prototype.getDailyPurchase = function (records) { - var _this = this; - var control = this.purchaseItemForm.get('purchase_product'); - // const innercontrol=control.at(0).get('child') as FormArray - records.forEach(function (element, index) { - var purchaseChildControlarr = []; - var nexContro = []; - control.push(_this.createPurchaseItemWithData(element)); - console.log("records", element); - var result = Object.assign.apply(Object, [{}].concat(element.items)); - console.log("result", result); - // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] })); - // console.log("expandBody",expandBodyContent); - // let listItems: any=[]; - nexContro[index] = Object.keys(element['items']).map(function (key) { return element['items'][key]; }); - console.log("purchasechildcontrol", nexContro[index]); - purchaseChildControlarr[index] = Object.keys(result).map(function (key) { return result[key]; }); - console.log("nexcontrol", purchaseChildControlarr[index]); - // expandBodyContent.forEach((expnadElement, expnadIndex) => { - // console.log("expand",expnadElement) - // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0); - // console.log("calculateItems",calculateItems) - // listItems.push({items:expnadElement, itemsTotal:calculateItems}) - var innercontrol = control.at(index).get('child'); - purchaseChildControlarr[index].forEach(function (chilVal, childIndex) { - chilVal.forEach(function (val, innerIndex) { - if (val.purchase_date) { - var saleDate = new Date(val.purchase_date); - console.log(saleDate.getDay()); - console.log(saleDate.getDate()); - // val.purchase_date= saleDate.getFullYear() + '-' + ("0" + (saleDate.getMonth() + 1)).slice(-2) + '-' + ("0" + (saleDate.getDay() )).slice(-2); - var date = saleDate.getDate() < 10 ? ("0" + (saleDate.getDate())) : saleDate.getDate(); - var month = saleDate.getMonth() < 10 ? ("0" + (saleDate.getMonth() + 1)) : (saleDate.getMonth() + 1); - console.log("datamonth"); - console.log(date, month); - val.purchase_date = saleDate.getFullYear() + '-' + month + '-' + date; - console.log(val.purchase_date); - } - if (val.purchase_value != '') { - _this.inWords(val.purchase_value, childIndex); - } - console.log("child", val); - innercontrol.push(_this.createDailyPurchaseWithData(val, element)); - }); - }); - }); - // console.log("list_items",listItems) - // }) - // control.push(this.createPurchaseItemWithData(records)) - //console.log('innercontrol',innercontrol) - // records.items.forEach((element,index)=>{ - // innercontrol.push(this.createDailyPurchaseWithData(element,records)) - // }) - }; - PdQuestionAssessedDailyPurchasePage.prototype.submitDetails = function (records) { - var _this = this; - records.purchase_product.forEach(function (parVal) { - parVal.child.forEach(function (childVal) { - if (childVal['custum_date']) { - delete childVal['custum_date']; - } - if (childVal['purchase_date']) { - childVal['purchase_date'] = _this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd'); - } - }); - }); - var recordVal = { 'records': records.purchase_product }; - this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise', recordVal).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Saved Successfully..!"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 1500); - } - else { - _this.toast.pdTriggerappmessage("Error"); - } - }); - }; - PdQuestionAssessedDailyPurchasePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-daily-purchase',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-purchase\pd-question-assessed-daily-purchase.html"*/'\n\n\n\n\n\n \n\n \n\n Purchase Calculation as per Kutcha Records / Bills\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n
\n\n \n\n Daily Purchase Item # {{s+1}}\n\n \n\n \n\n \n\n Select\n\n {{ prod }}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{purchaseAmtInWords[c]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-purchase\pd-question-assessed-daily-purchase.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedDailyPurchasePage); - return PdQuestionAssessedDailyPurchasePage; -}()); - -//# sourceMappingURL=pd-question-assessed-daily-purchase.js.map - -/***/ }), - -/***/ 392: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedSummaryPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(131); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - -/** - * Generated class for the PdQuestionAssessedSummaryPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedSummaryPage = (function () { - function PdQuestionAssessedSummaryPage(navCtrl, navParams, qustCat) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.loadData = false; - this.pdDetails = this.navParams.get('pdDetails'); - // console.log(this.pdDetails) - this.getAssessedDetails(); - } - PdQuestionAssessedSummaryPage.prototype.ionViewWillEnter = function () { - //console.log("ionViewWillEnter") - //this.getAssessedDetails(); - }; - PdQuestionAssessedSummaryPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedSummaryPage'); - }; - PdQuestionAssessedSummaryPage.prototype.getAssessedDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - if (res['records'].final_data.length != 0) { - _this.salesCustomer = res['records'].final_data[0].sales_declared_by_customer; - _this.salesItemWise = res['records'].final_data[0].sales_calculated_by_itemwise; - _this.salesMonthWise = res['records'].final_data[0].sales_calculated_by_monthwise; - _this.consolidatedReport = res['records'].final_data[0].consolidated_report; - console.log(_this.salesCustomer); - } - _this.loadData = true; - } - }); - }; - PdQuestionAssessedSummaryPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-summary',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-summary\pd-question-assessed-summary.html"*/'\n\n\n\n\n\n \n\n Summary\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n\n\n \n\n \n\n
Declared By Customer
\n\n
\n\n \n\n \n\n a. Sales/Revenue\n\n \n\n \n\n {{salesCustomer.sales_revenue | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n b. Purchases\n\n \n\n \n\n {{salesCustomer.purchases | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n b. Cost of Goods Sold\n\n \n\n \n\n {{salesCustomer.cost_of_goods_sold | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n c. Gross Profit / Loss(a-b)\n\n \n\n \n\n {{salesCustomer.grossprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n d. Business Expenses\n\n \n\n \n\n {{salesCustomer.business_expenses | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n e. Net Profit / Loss(c-d)\n\n \n\n \n\n {{salesCustomer.netprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n f. Household Expenses\n\n \n\n \n\n {{salesCustomer.house_hold_expenses | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n g. Disposable Income\n\n \n\n \n\n {{salesCustomer.disposable_income | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n h. Net Margin %\n\n \n\n \n\n {{salesCustomer.netmargin}} %\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n
As Derived from Item Wise Sales
\n\n
\n\n \n\n \n\n a. Sales Revenue\n\n \n\n \n\n {{salesItemWise.sales_revenue | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n b. Purchases\n\n \n\n \n\n {{salesItemWise.purchases | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n b. Cost of Goods Sold\n\n \n\n \n\n {{salesItemWise.cost_of_goods_sold | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n c. Gross Profit / Loss(a-b)\n\n \n\n \n\n {{salesItemWise.grossprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n d. Business Expenses\n\n \n\n \n\n {{salesItemWise.business_expenses | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n e. Net Profit / Loss(c-d)\n\n \n\n \n\n {{salesItemWise.netprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n f. Household Expenses\n\n \n\n \n\n {{salesItemWise.house_hold_expenses | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n g. Disposable Income\n\n \n\n \n\n {{salesItemWise.disposable_income | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n h. Net Margin %\n\n \n\n \n\n {{salesItemWise.netmargin}} %\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n\n\n \n\n \n\n \n\n \n\n
As Derived from Kuchha Sales Book/Bills
\n\n
\n\n \n\n \n\n a. Sales Revenue\n\n \n\n \n\n {{salesMonthWise.sales_revenue | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n b. Purchases\n\n \n\n \n\n {{salesMonthWise.purchases | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n b. Cost of Goods Sold\n\n \n\n \n\n {{salesMonthWise.cost_of_goods_sold | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n c. Gross Profit / Loss(a-b)\n\n \n\n \n\n {{salesMonthWise.grossprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n d. Business Expenses\n\n \n\n \n\n {{salesMonthWise.business_expenses | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n e. Net Profit / Loss(c-d)\n\n \n\n \n\n {{salesMonthWise.netprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n f. Household Expenses\n\n \n\n \n\n {{salesMonthWise.house_hold_expenses | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n g. Disposable Income\n\n \n\n \n\n {{salesMonthWise.disposable_income | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n h. Net Margin %\n\n \n\n \n\n {{salesMonthWise.netmargin}} %\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n Considered Sales / Revenue\n\n \n\n \n\n {{consolidatedReport.consolidated_sales_revenue | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n Considered Net Profit\n\n \n\n \n\n {{consolidatedReport.consolidated_nerprofit | rupeeCurrencyFormat}}\n\n \n\n \n\n \n\n \n\n Considered Net Margin %\n\n \n\n \n\n {{consolidatedReport.consolidated_nermagin}} %\n\n \n\n \n\n \n\n \n\n\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-summary\pd-question-assessed-summary.html"*/, - providers: [__WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */]] - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) - ], PdQuestionAssessedSummaryPage); - return PdQuestionAssessedSummaryPage; -}()); - -//# sourceMappingURL=pd-question-assessed-summary.js.map - -/***/ }), - -/***/ 393: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedImagesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssessedImagesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedImagesPage = (function () { - function PdQuestionAssessedImagesPage(navCtrl, navParams, cameraProvider, loading, toast, qustCat, constantProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.toast = toast; - this.qustCat = qustCat; - this.constantProvider = constantProvider; - this.imageDisplay = []; - this.imageBucket = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('formdetails'); - console.log("pd", this.pdDetails, "form", this.FormId); - } - PdQuestionAssessedImagesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedImagesPage'); - this.getPDImages(); - }; - /*IMAGE SECTION*/ - PdQuestionAssessedImagesPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionAssessedImagesPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionAssessedImagesPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionAssessedImagesPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionAssessedImagesPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionAssessedImagesPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - }; - PdQuestionAssessedImagesPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - console.log("res", res); - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - console.log("Fail"); - _this.toast.pdTriggerappmessage('Fail'); - } - }, function (ERR) { - console.log(JSON.stringify(ERR)); - _this.toast.pdTriggerappmessage(JSON.stringify(ERR)); - }); - }; - PdQuestionAssessedImagesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-images',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-images\pd-question-assessed-images.html"*/'\n\n\n\n \n\n \n\n Images For Assessed Income\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n No Documents Found. Press the camera button below to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-images\pd-question-assessed-images.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedImagesPage); - return PdQuestionAssessedImagesPage; -}()); - -//# sourceMappingURL=pd-question-assessed-images.js.map - -/***/ }), - -/***/ 394: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionLenderRepresentativePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionLenderRepresentativePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionLenderRepresentativePage = (function () { - function PdQuestionLenderRepresentativePage(navCtrl, navParams, aws, qustCat, toast, fb, cameraProvider, loading, constantProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.constantProvider = constantProvider; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale(); - this.representativeForm = this.fb.group({ - parent_pdid: [this.pdDetails.parent_pd_id], - pdid: [this.pdDetails.pd_id], - formid: [this.FormId.form_id], - fk_createdby: [this.users], - lender_representative_accompany: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - representative_remarks: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - lender_representative_details: this.fb.array([]), - }); - this.getLenderReDetails(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionLenderRepresentativePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionLenderRepresentativePage'); - this.getPDImages(); - }; - PdQuestionLenderRepresentativePage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.representativeForm.dirty); - if (this.representativeForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionLenderRepresentativePage.prototype.createlenReDetails = function () { - return this.fb.group({ - lender_representative_who_accompanies: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - lender_representative_carry_loan_files: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionLenderRepresentativePage.prototype.selectedLoanChanges = function (e) { - if (e.value == 'Yes') { - var control = this.representativeForm.controls['lender_representative_details']; - control.push(this.createlenReDetails()); - } - else if (e.value == 'No') { - var arr = this.representativeForm.controls.lender_representative_details; - arr.removeAt(0); - } - }; - PdQuestionLenderRepresentativePage.prototype.sumbitData = function (answerData) { - var _this = this; - if (this.representativeForm.valid) { - var records = this.representativeForm.value; - this.qustCat.saveForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this.representativeForm.reset(_this.representativeForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter All Field'); - } - }; - PdQuestionLenderRepresentativePage.prototype.getLenderReDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var lenderReDetails = res['records']; - if (lenderReDetails.lender_representative_accompany == 'Yes') { - _this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany); - _this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks); - var lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function (key) { - return res['records'].lender_representative_details[key]; - }); - var control_1 = _this.representativeForm.controls['lender_representative_details']; - lender_represent_details.forEach(function (val) { - control_1.push(_this.createlenReDetails()); - }); - _this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details); - } - else { - _this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany); - _this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks); - } - } - }); - }; - /*IMAGE SECTION*/ - PdQuestionLenderRepresentativePage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionLenderRepresentativePage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionLenderRepresentativePage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionLenderRepresentativePage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionLenderRepresentativePage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionLenderRepresentativePage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionLenderRepresentativePage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - // this.imageDisplay.push(this.imageBucket) - // console.log("length",this.imageDisplay.length) - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionLenderRepresentativePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-lender-representative',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-lender-representative\pd-question-lender-representative.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n\n\n
\n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n\n\n \n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-lender-representative\pd-question-lender-representative.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], - __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionLenderRepresentativePage); - return PdQuestionLenderRepresentativePage; -}()); - -//# sourceMappingURL=pd-question-lender-representative.js.map - -/***/ }), - -/***/ 395: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionGeneralInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(396); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pipes_search_relation_search_relation__ = __webpack_require__(397); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__angular_material__ = __webpack_require__(125); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - -//import {} from 'moment' -/** - * Generated class for the PdQuestionGeneralInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionGeneralInfoPage = (function () { - function PdQuestionGeneralInfoPage(navCtrl, navParams, aws, qustCat, toast, fb, modal, cameraProvider, loading, cons) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.modal = modal; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.cons = cons; - this.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); - this.fetch_related_details = []; - this.pd_applicants_details = []; - this.OldData = []; - this.OldData_indi = []; - this.complete_status = false; - this.imageBucket = []; - this.tab = '0'; - this.cart = []; - this.temp = 0; - this.maxDate = new Date(); - this.pd_applicants_details = []; - this.pd_applicants_details.pop(); - this.pdDetails = this.navParams.get('pdDetails'); - console.log(this.pdDetails); - //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join("/"); - //this.maxDate=new Date(get_max_date) - this.FormId = this.navParams.get('FormId'); - this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; - console.log('this.customer_segment_abbr', this.customer_segment_abbr); - this.users = this.aws.getlocale(); - this.getdropdown(); - this.generalForm = this.fb.group({ - parent_pdid: this.pdDetails.parent_pd_id, - pdid: this.pdDetails.pd_id, - formid: this.FormId.form_id, - applicant_list: this.fb.array([]), - applicant_relation: this.fb.array([]), - list_value: this.fb.array([]), - company_value: this.fb.array([]), - individuals: this.fb.array([]), - companies: this.fb.array([]), - persons_with_relationships: this.fb.array([]), - company_with_relationships: this.fb.array([]), - rental_income_rcv_in_years: [''], - rental_income_rcv_in_month: [''], - general_remark: '' - }); - //this.initIndividuals(); - this.pd_applicants_details = this.pdDetails.applicat_details; - console.log("persons_with_relationships", this.generalForm.controls['persons_with_relationships']['controls'][0]); - var control = this.generalForm.get('persons_with_relationships'); - console.log('p1', control); - // this.getcoapplicantDetails(); - this.buttonClick = false; - this.h_companies = false; - this.addIndi = false; - this.addComp = false; - // this.initCompanies() - this.datav = [{ - name: "fairoj", - id: 1 - }, - { - name: "ff", - id: 2 - } - ]; - //this.fulldata=this.generalForm.value - this.generalForm.controls['list_value'].valueChanges.subscribe(function (val) { - var control = _this.generalForm.controls['list_value']; - _this.individualsList = control.value.filter(function (element) { return element.is_applicant == true; }); - _this.individualsListBothCase = control.value.filter(function (element) { return element.is_applicant == true || element.is_person_met == true; }); - _this.fulldata = control.value; - //control.controls.length - //control.push() - }); - this.generalForm.controls['company_value'].valueChanges.subscribe(function (val) { - var control = _this.generalForm.controls['company_value']; - _this.companyList = control.value.filter(function (element) { return element.company_name; }); - }); - this.i = 0; - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionGeneralInfoPage.prototype.ionViewDidLoad = function () { - // this.pd_applicants_details.pop(); - console.info("%cionViewDidLoad, PdQuestionGeneralInfoPage", "font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;"); - this.getGeneralForm(); - this.getPDImages(); - }; - PdQuestionGeneralInfoPage.prototype.ionViewLoaded = function () { - // setTimeout(() => { - // this.generalForm.controls['general_remark']['controls'].setFocus(); - // },150); - }; - PdQuestionGeneralInfoPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.table("dirty", this.generalForm.dirty); - if (this.generalForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - console.log('if part . this.imageBucket.length', _this.imageBucket.length); - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - console.log('else part . this.imageBucket.length', this.imageBucket.length); - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionGeneralInfoPage.prototype.initlistv = function (data, purpose) { - var control = this.generalForm.controls['list_value']; - console.log("control", control.length); - if (purpose == 'ins') { - for (var _i = 0, data_1 = data; _i < data_1.length; _i++) { - var val = data_1[_i]; - var c_qualification_name = this.qualificationById(val.qualification); // for getting qualification Name - var formData = this.fb.group({ - applicant_title_name: [val.applicant_title_name], - applicant_name: [val.applicant_name], - is_person_met: val.is_person_met, - is_person_met_pic: val.is_person_met_pic != null ? val.is_person_met_pic : '', - is_person_met_id_proof: val.is_person_met_id_proof, - is_applicant: val.is_applicant, - age: [val.age], - qualification: [val.qualification], - course_name: [val.course_name], - individuals_order_id: [control.length + 1], - is_new: true, - is_active: true, - pd_co_applicant_id: [control.length + 1], - qualification_name: [c_qualification_name] - }); - control.push(formData); - this.buttonClick = false; - // this.generalForm.value.individuals.value="" - } - } - if (purpose == 'get') { - for (var _a = 0, data_2 = data; _a < data_2.length; _a++) { - var val = data_2[_a]; - var c_qualification_name = this.qualificationById(val.qualification); // for getting qualification Name - var formData = this.fb.group({ - applicant_title_name: [val.applicant_title_name], - applicant_name: [val.applicant_name], - is_person_met: val.is_person_met, - is_person_met_pic: val.is_person_met_pic != null ? val.is_person_met_pic : '', - is_person_met_id_proof: val.is_person_met_id_proof, - is_applicant: val.is_applicant, - age: [val.age], - qualification: [val.qualification], - course_name: [val.course_name], - individuals_order_id: [val.individuals_order_id], - is_new: [val.is_new], - is_active: [val.is_active], - pd_co_applicant_id: [val.pd_co_applicant_id], - qualification_name: [c_qualification_name] - }); - control.push(formData); - this.buttonClick = false; - // this.generalForm.value.individuals.value="" - } - } - }; - PdQuestionGeneralInfoPage.prototype.qualificationById = function (data) { - for (var _i = 0, _a = this.qualificationList; _i < _a.length; _i++) { - var i = _a[_i]; - if (data == i.qualification_id) { - this.qual_name = i.qualification_name; - return this.qual_name; - } - } - }; - PdQuestionGeneralInfoPage.prototype.initCompanyValue = function (data, purpose) { - var control = this.generalForm.controls['company_value']; - if (purpose == 'ins') { - for (var _i = 0, data_3 = data; _i < data_3.length; _i++) { - var val = data_3[_i]; - var c_business_name = ''; - if (val.business_entity_type != 1) { - c_business_name = this.businessEntityById(val.business_entity_type); - } - if (val.business_entity_type == 1) { - c_business_name = val.business_entity_type_other; - } - var formData = this.fb.group({ - company_name: [val.company_name], - // pd_co_applicant_id:[this.i+1], - // company_order_id:[this.lengthv.companies.length+1], - company_order_id: [control.length + 1], - is_company_applicant: [val.is_company_applicant], - business_entity_type: [val.business_entity_type], - business_entity_type_other: [val.business_entity_type_other], - is_new: true, - is_active: true, - company_messrs_name: ['M/s'], - business_years: [val.business_years], - business_month: [val.business_month], - business_date_object: [val.business_date_object], - associate_pd_id: [this.pdDetails.pd_id], - business_entity_type_name: [c_business_name] - }); - control.push(formData); - this.h_companies = false; - } - } - if (purpose == 'get') { - for (var _a = 0, data_4 = data; _a < data_4.length; _a++) { - var val = data_4[_a]; - var c_business_name = ''; - if (val.business_entity_type != 1) { - c_business_name = this.businessEntityById(val.business_entity_type); - } - if (val.business_entity_type == 1) { - c_business_name = val.business_entity_type_other; - } - var formData = this.fb.group({ - company_name: [val.company_name], - // pd_co_applicant_id:[this.i+1], - company_order_id: [val.company_order_id], - is_company_applicant: [val.is_company_applicant], - business_entity_type: [val.business_entity_type], - business_entity_type_other: [val.business_entity_type_other], - is_new: [val.is_new], - is_active: [val.is_active], - company_messrs_name: [val.company_messrs_name], - business_years: [val.business_years], - business_month: [val.business_month], - business_date_object: [val.business_date_object], - associate_pd_id: [val.associate_pd_id], - business_entity_type_name: [c_business_name] - }); - control.push(formData); - this.h_companies = false; - } - } - }; - PdQuestionGeneralInfoPage.prototype.businessEntityById = function (val) { - for (var _i = 0, _a = this.businessEntityTypeList; _i < _a.length; _i++) { - var v = _a[_i]; - if (val == v.business_entity_type_id) { - var name = v.business_entity_type_name; - return name; - } - } - }; - PdQuestionGeneralInfoPage.prototype.initIndividuals = function (data) { - var control = this.generalForm.controls['individuals']; - control.controls = []; - if (data == null) { - var formData = this.fb.group({ - applicant_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - is_person_met: false, - is_person_met_pic: [''], - is_person_met_id_proof: [''], - is_applicant: false, - age: [''], - qualification: [''], - course_name: [''], - applicant_title_name: [''] - }); - control.push(formData); - } - else { - var formData = this.fb.group({ - applicant_name: [data.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - is_person_met: data.is_person_met, - is_person_met_pic: data.is_person_met_pic != null ? data.is_person_met_pic : '', - is_person_met_id_proof: data.is_person_met_id_proof, - is_applicant: data.is_applicant, - age: [data.age], - qualification: [data.qualification], - course_name: [data.course_name], - applicant_title_name: [data.applicant_title_name] - }); - this.buttonClick = !this.buttonClick; - control.push(formData); - } - }; - PdQuestionGeneralInfoPage.prototype.initCompanies = function (data) { - var control = this.generalForm.controls['companies']; - control.controls = []; - if (data == null) { - var formData = this.fb.group({ - company_name: [''], - is_company_applicant: false, - business_entity_type: [''], - business_entity_type_other: [''], - business_years: [''], - business_month: [''], - business_date_object: [''], - }); - control.controls = []; - control.push(formData); - } - else { - var formData = this.fb.group({ - company_name: [data.company_name], - is_company_applicant: data.is_company_applicant, - business_entity_type: [data.business_entity_type], - business_entity_type_other: [data.business_entity_type_other], - business_years: [data.business_years], - business_month: [data.business_month], - business_date_object: [data.business_date_object] - }); - this.h_companies = !this.h_companies; - control.push(formData); - } - }; - PdQuestionGeneralInfoPage.prototype.initPersonRelationship = function (value) { - var _this = this; - console.log('From Genral Form - value are', value); - var control = this.generalForm.controls['persons_with_relationships']; - if (value == '') { - console.log('fulldata', this.fulldata); - console.log('control.length+1', control.length + 1); - console.log('full data', this.fulldata[control.length]); - var formData = this.fb.group({ - pd_co_applicant_id: [''], - applicant_name: [this.fulldata[control.length].applicant_name], - relationship: [''], - relation_to: [''], - individuals_order_id: [control.length + 1], - }); - control.push(formData); - } - else { - value.forEach(function (val, index) { - console.log("val for each", val); - var formData = _this.fb.group({ - pd_co_applicant_id: [val.pd_co_applicant_id], - applicant_name: [val.applicant_name], - relationship: [index == 0 ? '0' : val.relationship], - relation_to: [val.relation_to], - }); - control.push(formData); - }); - } - }; - PdQuestionGeneralInfoPage.prototype.initCompanyRelationShip = function (value) { - console.log(value); - if (value == '') { - var formData = this.fb.group({ - applicant_name: [''], - company_relationship: [''], - relation_to_company: [''], - }); - var control = this.generalForm.controls['company_with_relationships']; - control.push(formData); - } - else { - console.log("data", value); - for (var _i = 0, value_1 = value; _i < value_1.length; _i++) { - var val = value_1[_i]; - var formData = this.fb.group({ - applicant_name: [val.applicant_name], - company_relationship: [val.company_relationship], - relation_to_company: [val.relation_to_company], - }); - var control = this.generalForm.controls['company_with_relationships']; - control.push(formData); - } - } - }; - PdQuestionGeneralInfoPage.prototype.add = function () { - this.initIndividuals(null); - }; - PdQuestionGeneralInfoPage.prototype.addRec = function (v) { - if (v == '1') { - this.addIndi = true; - this.buttonClick = !this.buttonClick; - this.initIndividuals(null); - } - if (v == '2') { - console.log("companies", this.h_companies); - this.addComp = true; - // this.h_companies=true; - this.h_companies = !this.h_companies; - console.log("companies", this.h_companies); - this.initCompanies(null); - } - }; - PdQuestionGeneralInfoPage.prototype.editIndividuals = function (index) { - var values = this.generalForm.controls.list_value.value[index]; - console.log(values); - this.addIndi = false; - this.updateIndex_indi = index; - this.initIndividuals(values); - // this.nameField.nativeElement.focus(); - }; - PdQuestionGeneralInfoPage.prototype.editCompanies = function (index) { - console.log("index", index); - var values = this.generalForm.controls.company_value.value[index]; - console.log(values); - this.updateIndex_comp = index; - this.addComp = false; - //this. - this.initCompanies(values); - }; - PdQuestionGeneralInfoPage.prototype.update = function (v, controlVal) { - console.log("index", v); - if (v == '1') { - var values = this.generalForm.controls['individuals'].value[0]; - // let control=(this.generalForm.controls['individuals']).at(0) as FormArray; - // console.log("full",this.generalForm) - // console.log(control,values); - if (values.is_person_met == true && values.is_applicant != true) { - controlVal.controls['age'].clearValidators(); - controlVal.controls['age'].updateValueAndValidity(); - controlVal.controls['qualification'].clearValidators(); - controlVal.controls['qualification'].updateValueAndValidity(); - } - if (values.is_person_met != true) { - console.log("1st"); - controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['age'].updateValueAndValidity(); - controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['qualification'].updateValueAndValidity(); - } - if (values.is_person_met == true && values.is_applicant == true) { - controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['age'].updateValueAndValidity(); - controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['qualification'].updateValueAndValidity(); - } - if (!this.generalForm.controls['individuals'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory fields Marked with '*'"); - } - else { - var val = this.generalForm.controls.individuals.value[0]; - var old = this.generalForm.controls.list_value.value[this.updateIndex_indi]; - // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi) - // const control=this.list_value - var c_qualification_name = this.qualificationById(val.qualification); - var control = this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]; - control.patchValue({ - applicant_title_name: val.applicant_title_name, - applicant_name: val.applicant_name, - is_person_met: val.is_person_met, - is_person_met_pic: val.is_person_met_pic != null ? val.is_person_met_pic : '', - is_person_met_id_proof: val.is_person_met_id_proof, - is_applicant: val.is_applicant, - age: val.age, - qualification: val.qualification, - course_name: val.course_name, - individuals_order_id: old.individuals_order_id, - is_new: old.is_new, - is_active: old.is_active, - pd_co_applicant_id: old.pd_co_applicant_id, - qualification_name: c_qualification_name - }); - this.buttonClick = false; - console.log(this.generalForm.controls.list_value['controls']); - // this.generalForm.controls.list_value.value.scrollToTop(); - // this.generalForm.controls['list_value']._scrollContent; - //this.myinput._scrollContent(); - console.log("values", val); - console.log("old", old); - console.log(control); - } - } - else if (v == '2') { - if (!this.generalForm.controls['companies'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory Fields Marked with '*"); - } - else { - var val = this.generalForm.controls.companies.value[0]; - var c_business_name = this.businessEntityById(val.business_entity_type); - var control = this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]; - control.patchValue({ - company_name: val.company_name, - // company_order_id:[control.length+1], - is_company_applicant: val.is_company_applicant, - business_entity_type: val.business_entity_type, - business_entity_type_other: val.business_entity_type_other, - // is_new:true, - // is_active:true, - //company_messrs_name:['M/s'], - business_years: val.business_years, - business_month: val.business_month, - business_date_object: val.business_date_object, - business_entity_type_name: c_business_name - }); - this.h_companies = false; - console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]); - } - } - }; - PdQuestionGeneralInfoPage.prototype.addParticular = function (v, controlVal) { - //console.log("controlVAl",controlVal) - // const control=this.generalForm.controls['individuals']; - //control.removeAt(i); - //this.data=this.generalForm.value.individuals; - this.cart.push(this.generalForm.value.individuals); - this.data = Object.assign(this.cart); - // this.data=Object.assign(this.generalForm.value.individuals) - this.datajson = JSON.stringify(this.cart); - if (v == '1') { - var values = this.generalForm.controls['individuals'].value[0]; - var control = this.generalForm.controls['individuals'].at(0); - // console.log("full",this.generalForm) - // console.log(control,values); - if (values.is_person_met == true && values.is_applicant != true) { - controlVal.controls['age'].clearValidators(); - controlVal.controls['age'].updateValueAndValidity(); - controlVal.controls['qualification'].clearValidators(); - controlVal.controls['qualification'].updateValueAndValidity(); - } - if (values.is_person_met != true) { - // console.log("1st"); - controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['age'].updateValueAndValidity(); - controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['qualification'].updateValueAndValidity(); - } - if (values.is_person_met == true && values.is_applicant == true) { - controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['age'].updateValueAndValidity(); - controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); - controlVal.controls['qualification'].updateValueAndValidity(); - } - if (!this.generalForm.controls['individuals'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory field Marked with '*'"); - } - else { - this.initlistv(this.generalForm.value.individuals, 'ins'); - this.initPersonRelationship(''); - } - } - else if (v == '2') { - if (!this.generalForm.controls['companies'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory field Marked with '*'"); - } - else { - this.initCompanyValue(this.generalForm.value.companies, 'ins'); - } - } - }; - PdQuestionGeneralInfoPage.prototype.removeList = function (i, index) { - if (index == '1') { - //For List List_value(Individuals) - var control = this.generalForm.controls['list_value']; - control.value[i].is_active = false; - this.OldData_indi.push(control.value[i]); - control.removeAt(i); - //For Person RelationShip auto Delete - var control1 = this.generalForm.controls['persons_with_relationships']; - control1.removeAt(i); - } - if (index == 2) { - //For Company_values(Companies) - var control = this.generalForm.controls['company_value']; - control.value[i].is_active = false; - var vla = control.value[i]; - this.OldData.push(vla); - control.removeAt(i); - // let control: any = this.generalForm.get('companies') as FormArray; - //this.generalForm.controls['companies'] - //control.controls['is_active'].setValue(false); - //control.controls[i].clearValidators(); - //control.controls[i].updateValueAndValidity(); - //control.clear - // control.controls[i].is_active.setValue(false); - /* control.controls[i].controls.company_name.clearValidators(); - control.controls[i].controls.company_name.updateValueAndValidity(); - control.controls[i].controls.business_years.clearValidators(); - control.controls[i].controls.business_years.updateValueAndValidity(); - control.controls[i].controls.business_entity_type.clearValidators(); - control.controls[i].controls.business_entity_type.updateValueAndValidity();*/ - } - if (index == "companyrel") { - //For company_relationship - var control = this.generalForm.controls['company_with_relationships']; - control.removeAt(i); - } - }; - PdQuestionGeneralInfoPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.qualificationList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(function (res) { - _this.businessEntityTypeList = res['records'].filter(function (com) { return com.isactive == 1; }); - }); - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.relationShipList = res['records'].filter(function (rel) { return rel.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.companyRelationShipList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.titleList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - }; - PdQuestionGeneralInfoPage.prototype.getcoapplicantDetails = function (checkApplicantExist, exist_applicant_relation) { - var _this = this; - var applicantControl = this.generalForm.controls['applicant_list']; - var relationControl = this.generalForm.controls['applicant_relation']; - if (checkApplicantExist.length > 0) { - checkApplicantExist.forEach(function (val) { - applicantControl.push(_this.createApplicant(val)); - }); - } - if (exist_applicant_relation.length > 0) { - exist_applicant_relation.forEach(function (val) { - relationControl.push(_this.createApplicantRelation(val)); - //push related to details - _this.fetch_related_details.push(val.applicant_name); - }); - } - }; - PdQuestionGeneralInfoPage.prototype.createApplicant = function (elementValue) { - return this.fb.group({ - pd_co_applicant_id: [elementValue.pd_co_applicant_id], - applicant_name: [elementValue.applicant_name], - company_name: [elementValue.company_name], - exist_status: [elementValue.exist_status == 1 && elementValue.pd_co_applicant_id > 0 ? true : false], - }); - }; - PdQuestionGeneralInfoPage.prototype.coapplicantChange = function (event, index, item) { - var _this = this; - var relationControl = this.generalForm.controls['applicant_relation']; - var applicantControl = this.generalForm.controls['applicant_list']; - if (item.exist_status.value) { - if (item.pd_co_applicant_id.value == 0) { - var modal = this.modal.create(__WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */]); - modal.onDidDismiss(function (data) { - if (data != 1) { - data.otherName.forEach(function (val) { - var applicant_details = { 'pd_co_applicant_id': val.pd_co_applicant_id, 'applicant_name': val.applicant_name, 'applicant_relation_to': '', 'relation': '', 'company_name': '', 'company_relation': '' }; - relationControl.push(_this.createApplicantRelation(applicant_details)); - // push related to details - _this.fetch_related_details.push(val.applicant_name); - }); - } - else { - applicantControl.at(index).get('exist_status').setValue(false); - } - }); - modal.present(); - } - else { - var applicant_details = { 'pd_co_applicant_id': item.pd_co_applicant_id.value, 'applicant_name': item.applicant_name.value, 'applicant_relation_to': '', 'relation': '', 'company_name': item.company_name.value, 'company_relation': '' }; - relationControl.push(this.createApplicantRelation(applicant_details)); - // push related to details - this.fetch_related_details.push(item.applicant_name.value); - } - } - else { - var relationControl_1 = this.generalForm.controls['applicant_relation']; - var pos_id = relationControl_1.value.map(function (e) { - return e.pd_co_applicant_id; - }).indexOf(item.pd_co_applicant_id.value); - if (item.pd_co_applicant_id.value != 0) { - relationControl_1.removeAt(pos_id); - var pos_name = this.fetch_related_details.indexOf(item.applicant_name.value); - this.fetch_related_details.splice(pos_name, 1); - } - else { - applicantControl.at(index).get('exist_status').setValue(false); - } - // remove related to details - } - }; - // update personal relation - PdQuestionGeneralInfoPage.prototype.updatePersonalRelation = function (indexVal) { - var control = this.generalForm.controls['persons_with_relationships']; - control.controls[indexVal].value.relationship == 0 ? control.controls[indexVal].controls['relation_to'].setValue('') : control.controls[indexVal].controls['relation_to'].setValue(control.controls[indexVal].value.relation_to); - }; - PdQuestionGeneralInfoPage.prototype.createApplicantRelation = function (elementValue) { - return this.fb.group({ - pd_co_applicant_id: [elementValue.pd_co_applicant_id], - applicant_name: [elementValue.applicant_name], - company_name: [elementValue.company_name, elementValue.company_name ? __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required : __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].nullValidator], - company_relationship: [elementValue.company_relationship], - applicant_relation_to: [elementValue.applicant_relation_to, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - relationship: [elementValue.relationship], - }); - }; - // temparr=[]; - PdQuestionGeneralInfoPage.prototype.removereferance = function (index) { - var relationControl = this.generalForm.controls['applicant_relation']; - relationControl.removeAt(index); - // this.temparr = []; - }; - // createApplicateOthers() - // { - // return this.fb.group( - // { - // Name: - // }) - // } - PdQuestionGeneralInfoPage.prototype.ConvertMonthintoYearforBusiness = function (e, controlIndex, flag) { - var converted_month = e % 12; - var converted_year = e / 12; - if (flag == 1) { - var control = this.generalForm.get('companies'); - control = control.controls[controlIndex]; - var business_year = control.controls.business_years.value; - control.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); - control.controls.business_month.setValue(Math.floor(converted_month)); - } - else if (flag == 2) { - var ri_year = this.generalForm.controls.rental_income_rcv_in_years.value; - this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year)); - this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month)); - } - }; - PdQuestionGeneralInfoPage.prototype.getDateObjects = function (values, controlIndex) { - var control = this.generalForm.get('companies'); - control.controls['business_years'] = ''; - control.controls['business_month'] = ''; - control = control.controls[controlIndex]; - var pd_initiation_date = this.pdDetails.pd_date_of_initiation.split('/').reverse().join("/"); - var date = new Date(); - var curr_date = date.getFullYear() + '/' + ('0' + (date.getMonth() + 1)) + '/' + ('0' + date.getDate()); - console.log("current date", curr_date); - var selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); - ; - console.log("pd date", pd_initiation_date); - console.log("selected date", selected_date); - /*WORKING STATEMENT*/ - var months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear())); - if (months >= 12) { - console.log('years:', (months - (months % 12)) / 12); - console.log("moth", months % 12); - } - else { - console.log('only months', months); - } - control.controls['business_years'].setValue((months - (months % 12)) / 12); - control.controls['business_month'].setValue(months % 12); - /*END OF WORKING STATEMENT*/ - //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date); - // function monthDiff(d1, d2) { - // var months; - // months = (d2.getFullYear() - d1.getFullYear()) * 12; - // months -= d1.getMonth() + 1; - // months += d2.getMonth(); - // return months <= 0 ? 0 : months; - // } - // console.log("new",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010); - //var start_date=moment(start_date) - /* old working statement*/ - // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date); - // let diff: number = Math.floor(diffInMs / 1000); - // console.log("diff",diff) - // diff /= (60 * 60 * 24 * 30); - // console.log("diff /",diff) - // diff=Math.abs(Math.round(diff)); - // control.controls['business_years'].setValue(0); - // control.controls['business_month'].setValue(0); - // if(diff){ - // control.controls['business_years'].setValue(Math.floor(diff / 12)); - // control.controls['business_month'].setValue(Math.floor(diff % 12)); - // } - }; - PdQuestionGeneralInfoPage.prototype.submitData = function (answerData) { - var _this = this; - console.table(this.generalForm.value); - console.log(answerData); - console.log('1)', this.temp); - var saveRecords = {}; - var valuesData_indi = []; - var valuesData = []; - var existData_indi = Object.keys(answerData.list_value).map(function (key) { - return answerData.list_value[key]; - }); - existData_indi.forEach(function (element) { - valuesData_indi.push(element); - }); - if (this.OldData_indi.length > 0) { - this.OldData_indi.forEach(function (element) { - valuesData_indi.push(element); - }); - } - var existData = Object.keys(answerData.company_value).map(function (key) { - return answerData.company_value[key]; - }); - if (this.customer_segment_abbr != 'SE-RI') { - var count_1 = 0; - existData.forEach(function (element, index) { - // console.log("company value",element) - if (element.business_entity_type == '' || element.business_entity_type == null) { - _this.editCompanies(index); - // this.focus_business_entity.focused=true; - count_1 = count_1 + 1; - } - valuesData.push(element); - }); - if (count_1 > 0) { - this.toast.pdTriggerappmessage("Please choose business entity type for each companies"); - return; - } - } - if (this.OldData.length > 0) { - this.OldData.forEach(function (element) { - valuesData.push(element); - }); - } - if (valuesData_indi.length > 0) { - // console.log('2)',this.temp); - valuesData_indi.forEach(function (val, index) { - if (val.is_person_met == false) { - _this.temp++; - } - // console.log('3)',this.temp); - }); - // console.log('4)',this.temp,'length',valuesData_indi.length); - if (this.temp == valuesData_indi.length) { - // console.log('5)',this.temp); - this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!'); - this.temp = 0; - // console.log('6)',this.temp); - return; - } - } - if (this.customer_segment_abbr != 'SE-RI') { - saveRecords.companies = valuesData; - saveRecords.company_with_relationships = answerData.company_with_relationships; - saveRecords.rental_income_rcv_in_years = null; - saveRecords.rental_income_rcv_in_month = null; - //saveRecords.applicant_relation=answerData.applicant_relation; - } - else if (this.customer_segment_abbr == 'SE-RI') { - saveRecords.companies = []; - saveRecords.company_with_relationships = []; - saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years; - saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month; - //saveRecords.applicant_relation=answerData.applicant_relation; - } - saveRecords.individuals = valuesData_indi; - // saveRecords.companies=valuesData - saveRecords.parent_pdid = answerData.parent_pdid; - saveRecords.pdid = answerData.pdid; - saveRecords.formid = answerData.formid; - saveRecords.fk_createdby = this.users; - saveRecords.persons_with_relationships = answerData.persons_with_relationships; - // saveRecords.company_with_relationships=answerData.company_with_relationships - saveRecords.general_remark = answerData.general_remark; - this.qustCat.saveForm(saveRecords).subscribe(function (dataResult) { - if (dataResult['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this.generalForm.reset(_this.generalForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 3000); - } - else { - _this.toast.pdTriggerappmessage('Error'); - } - }); - /* Old Data - if(this.generalForm.valid) - { - let saveRecords:any = {} - let applicantList:any=[]; - let applicantRelationList:any=[]; - // this for applicant list for selected - answerData.applicant_list.forEach((element,key) => { - if(element.exist_status==1){ - applicantList.push({ - "pd_co_applicant_id":element.pd_co_applicant_id, - "applicant_name":element.applicant_name, - }) - } - }); - // this is for selected applicant relation - answerData.applicant_relation.forEach((element,key) => { - applicantRelationList.push({ - "pd_co_applicant_id":element.pd_co_applicant_id, - "applicant_name":element.applicant_name, - "company_name":element.company_name, - "company_relationship":element.company_relationship, - "applicant_relation_to":element.applicant_relation_to, - "relationship":element.relationship, - }) - }); - - saveRecords.pdid=answerData.pdid; - saveRecords.formid=answerData.formid; - saveRecords.general_remark=answerData.general_remark; - saveRecords.selected_applicant=applicantList; - saveRecords.applicant_relation=applicantRelationList; - saveRecords.fk_createdby = this.users; - this.qustCat.saveForm(saveRecords).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - this.navCtrl.pop(); - } - }) - }*/ - }; - PdQuestionGeneralInfoPage.prototype.getGeneralForm = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - _this.data_all = res['records']; - var exist_companies; - var exist_company_with_relationship; - var companyControl = _this.generalForm.get('company_value'); - companyControl.controls = []; - _this.lengthv = _this.data_all; - if (res['dataStatus'] == true) { - _this.generalForm.controls['general_remark'].setValue(_this.data_all.general_remark); - // - var arrlist_indi = []; - var exist_individuals = Object.keys(res['records'].individuals).map(function (key) { - return res['records'].individuals[key]; - }); - if (exist_individuals.length > 0) { - exist_individuals.forEach(function (element) { - if (element.is_active != false) { - arrlist_indi.push(element); - } - else { - _this.OldData_indi.push(element); - } - }); - } - _this.initlistv(arrlist_indi, 'get'); - if (_this.data_all.persons_with_relationships != '') { - _this.initPersonRelationship(_this.data_all.persons_with_relationships); - } - //Create Company with Relationship - exist_company_with_relationship = Object.keys(res['records'].company_with_relationships).map(function (key) { - return res['records'].company_with_relationships[key]; - }); - console.log("Customer Segment", _this.customer_segment_abbr); - if (_this.customer_segment_abbr != 'SE-RI') { - if (exist_company_with_relationship.length > 0) { - // exist_company_with_relationship.forEach(key=>{ - // console.log("company relation",key) - // this.initCompanyRelationShip(key) - // }) - _this.initCompanyRelationShip(exist_company_with_relationship); - } - else if (exist_company_with_relationship.length == 0) { - _this.initCompanyRelationShip(''); - } - //create Companies - exist_companies = Object.keys(res['records'].companies).map(function (key) { - return res['records'].companies[key]; - }); - var arraylis = []; - if (exist_companies.length > 0) { - exist_companies.forEach(function (element, cindex) { - if (element.is_active != false) { - arraylis.push(element); - } - else { - _this.OldData.push(element); - } - }); - } - _this.initCompanyValue(arraylis, 'get'); - _this.generalForm.controls['rental_income_rcv_in_years'].setValue(null); - _this.generalForm.controls['rental_income_rcv_in_month'].setValue(null); - } - else if (_this.customer_segment_abbr == 'SE-RI') { - _this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years : ''); - _this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month : ''); - } - // var arraylis:any=[] - // if(exist_companies.length>0){ - // exist_companies.forEach((element,cindex)=>{ - // if(element.is_active!=false){ - // arraylis.push(element); - // } - // else{ - // this.OldData.push(element); - // } - // }) - // } - // this.initCompanyValue(arraylis,'get'); - // if(this.data_all.company_with_relationships != ''){ - // this.initCompanyRelationShip(this.data_all.company_with_relationships); - // } - } - else { - console.log("Else data", _this.pd_applicants_details); - _this.pd_applicants_details.forEach(function (datas, index) { - datas.is_applicant = true, - datas.is_person_met = false; - datas.is_person_met_pic = ''; - datas.is_person_met_id_proof = ''; - datas.is_new = false; - datas.is_main_applicant = datas.applicant_type == '1' ? true : false; - datas.is_active = true; - datas.individuals_order_id = index + 1; - // company_order_id = index+1, - datas.age = '', - datas.qualification = '', - datas.course_name = ''; - if (datas.company_name != '' && datas.company_name != null) { - console.log("company"); - var setCompanyValues = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true, associate_pd_id: _this.pdDetails.pd_id }; - companyControl.push(_this.createCompanies(setCompanyValues)); - } - }); - // this.lengthv.push("individuals") - // this.lengthv.push("companies") - // this.lengthv.push('persons_with_relationships') - //this.lengthv.push("") - console.log("applicant", _this.lengthv); - _this.initlistv(_this.pd_applicants_details, 'get'); - _this.initPersonRelationship(_this.pd_applicants_details); - // this.initCompanyValue(this.pd_applicants_details,'get'); - _this.initCompanyRelationShip(''); - } - }); - /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; - this.qustCat.retiverForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.pd_applicants_details.push({'pd_co_applicant_id':"0",'applicant_name':'Others'}); - - let generalDetails = res['records']; - this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark); - - let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key) - { - return res['records'].applicant_relation[key]; - }); - - let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key) - { - return res['records'].selected_applicant[key].pd_co_applicant_id; - }); - let applicantControl = this.generalForm.controls['applicant_list']; - - let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id); - let checkApplicantExist =actual_applicant.map((id, index) => { - if (selected_applicant.indexOf(id) < 0) { - this.pd_applicants_details[index].exist_status=0; - return this.pd_applicants_details[index]; - } - else{ - this.pd_applicants_details[index].exist_status=1; - this.pd_applicants_details[index].applicant_relation_to=''; - this.pd_applicants_details[index].relation=''; - return this.pd_applicants_details[index]; - } - }).filter(item => item != undefined); - this.getcoapplicantDetails(checkApplicantExist,applicant_relation); - }else - { - this.pd_applicants_details.push({'pd_co_applicant_id':"0",'applicant_name':'Others'}); - - } - })*/ - }; - PdQuestionGeneralInfoPage.prototype.createCompanies = function (elementValue) { - var name = this.businessEntityById(elementValue.business_entity_type); - return this.fb.group({ - company_order_id: [elementValue.company_order_id], - company_name: [elementValue.company_name,], - company_messrs_name: ['M/s'], - is_company_applicant: [elementValue.is_company_applicant], - business_entity_type: [elementValue.business_entity_type, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - business_years: [elementValue.business_years, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - business_month: [elementValue.business_month], - business_date_object: [elementValue.business_date_object], - is_active: [elementValue.is_active], - is_new: [elementValue.is_new], - business_entity_type_name: [name], - associate_pd_id: [elementValue.associate_pd_id] - }); - }; - /*IMAGE SECTION*/ - PdQuestionGeneralInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionGeneralInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionGeneralInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionGeneralInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionGeneralInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionGeneralInfoPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionGeneralInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("image bucket - json data", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("DB - records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - // this.imageDisplay.push(this.imageBucket) - // console.log("length",this.imageDisplay.length) - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionGeneralInfoPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('applicant_name').value; - value.get('applicant_name').setValue(this.cons.sentenceCase(name)); - }; - PdQuestionGeneralInfoPage.prototype.ImageUpload = function (control, Flag) { - var _this = this; - if (Flag == 1) { - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - control.controls['is_person_met_pic'].setValue(res); - //this.toast.pdTriggerappmessage('Flag 1 Success'); - } - else { - control.controls['is_person_met_pic'].setValue(''); - // this.toast.pdTriggerappmessage('Flag 1 Fail'); - } - console.table('1', _this.generalForm.value); - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - } - else if (Flag == 2) { - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - control.controls['is_person_met_id_proof'].setValue(res); - // this.toast.pdTriggerappmessage('Flag 2 Success'); - } - else { - control.controls['is_person_met_id_proof'].setValue(''); - // this.toast.pdTriggerappmessage('Flag 2 Fail'); - } - // console.table('1',this.generalForm.value); - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - } - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('remark'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionGeneralInfoPage.prototype, "nameField", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusBusiness'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_9__angular_material__["w" /* MatSelect */]) - ], PdQuestionGeneralInfoPage.prototype, "focus_business_entity", void 0); - PdQuestionGeneralInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-general-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-info.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
Name of Person(s) Met and Individual Loan Applicant(s)
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{item.get(\'applicant_name\').value | titlecase}}

\n\n

Age : {{item.get(\'age\').value}}  \n\n \n\n \n\n \n\n {{item.get(\'qualification_name\').value}}

\n\n

\n\n   {{item.get(\'course_name\').value | titlecase}}\n\n

\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

Person

\n\n \n\n
\n\n \n\n

Applicant

\n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n \n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n Add Name of Person(s) Met and Individual Loan Applicant(s)\n\n Update Name of Person(s) Met and Individual Loan Applicant(s)\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n Select\n\n {{t1.name}}\n\n \n\n \n\n\n\n \n\n \n\n Name\n\n is Required\n\n \n\n \n\n \n\n Age\n\n is Required\n\n \n\n\n\n \n\n \n\n Select\n\n {{qu.qualification_name}}\n\n \n\n Qualification\n\n is Required\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n Is Person Met
\n\n
\n\n Is Applicant\n\n
\n\n
\n\n \n\n\n\n \n\n\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n
Number of Years for which rental income is being received
\n\n
\n\n \n\n \n\n Please Enter Correct Year\n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n\n\n \n\n \n\n
Company/Firm
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n

{{item.get(\'company_name\').value | titlecase}}

\n\n

{{item.get(\'business_entity_type_name\').value}}{{item.get(\'business_entity_type_other\').value+"-Others"}}

\n\n

\n\n   {{item.get(\'business_years\').value}}\n\n Years {{item.get(\'business_month\').value}}\n\n Months\n\n

\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

Company Applicant

\n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n Add Company/Firm\n\n Update Company/Firm\n\n \n\n
\n\n
\n\n \n\n Company / Firm\n\n \n\n Company\n\n Name is Required\n\n \n\n Is\n\n Applicant
\n\n\n\n\n\n
\n\n \n\n \n\n Select\n\n \n\n {{business.business_entity_type_name}}\n\n \n\n \n\n Business\n\n Entity Required\n\n \n\n\n\n \n\n \n\n \n\n

Number of Years For Which The Business Has Been Running

\n\n \n\n Year\n\n \n\n \n\n \n\n Month\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n Relationship Between Individuals\n\n \n\n\n\n
\n\n\n\n \n\n
Applicant {{i+1}}
\n\n \n\n \n\n Select\n\n {{name.applicant_name |\n\n titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{member.name + \'\n\n Of\' | titlecase}}\n\n Not Applicable \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{appc.applicant_name | titlecase}}\n\n Not Applicable \n\n \n\n\n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n
\n\n\n\n \n\n
\n\n \n\n Relationship of Individuals to Company / Firm\n\n \n\n
\n\n
Applicant {{i+1}}
\n\n \n\n \n\n Select\n\n {{name.applicant_name\n\n | titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name | titlecase}}\n\n \n\n Not Applicable \n\n \n\n \n\n \n\n \n\n Select\n\n {{comp.company_name |\n\n titlecase}}\n\n Not Applicable \n\n \n\n \n\n \n\n \n\n \n\n
\n\n

\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n\n\n \n\n
\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-info.html"*/, - providers: [__WEBPACK_IMPORTED_MODULE_8__pipes_search_relation_search_relation__["a" /* SearchRelationPipe */]], - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* ModalController */], - __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_11__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionGeneralInfoPage); - return PdQuestionGeneralInfoPage; -}()); - -//# sourceMappingURL=pd-question-general-info.js.map - -/***/ }), - -/***/ 396: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionGeneralOtherApplicantPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/** - * Generated class for the PdQuestionGeneralOtherApplicantPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionGeneralOtherApplicantPage = (function () { - function PdQuestionGeneralOtherApplicantPage(navCtrl, navParams, fb, viewCtrl) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.viewCtrl = viewCtrl; - this.applicantInfo = { 'pd_co_applicant_id': "0", 'applicant_name': '', 'company_name': '' }; - this.otherForm = this.fb.group({ - otherName: this.fb.array([]), - }); - this.addmore(); - } - PdQuestionGeneralOtherApplicantPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage'); - }; - PdQuestionGeneralOtherApplicantPage.prototype.createName = function (elementValue) { - return this.fb.group({ - pd_co_applicant_id: [elementValue.pd_co_applicant_id], - applicant_name: [elementValue.applicant_name, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required], - }); - }; - PdQuestionGeneralOtherApplicantPage.prototype.addmore = function () { - if (this.otherForm.valid) { - var control = this.otherForm.controls['otherName']; - control.push(this.createName(this.applicantInfo)); - } - }; - PdQuestionGeneralOtherApplicantPage.prototype.deleteappdata = function (index) { - var control = this.otherForm.controls['otherName']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionGeneralOtherApplicantPage.prototype.closeModal = function () { - this.viewCtrl.dismiss(1); - }; - PdQuestionGeneralOtherApplicantPage.prototype.submitData = function (answerData) { - if (this.otherForm.valid) { - this.viewCtrl.dismiss(this.otherForm.value); - } - }; - PdQuestionGeneralOtherApplicantPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-general-other-applicant',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-other-applicant\pd-question-general-other-applicant.html"*/'\n\n\n\n \n\n \n\n \n\n \n\n Other Applicant Details Added\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-other-applicant\pd-question-general-other-applicant.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["A" /* ViewController */]]) - ], PdQuestionGeneralOtherApplicantPage); - return PdQuestionGeneralOtherApplicantPage; -}()); - -//# sourceMappingURL=pd-question-general-other-applicant.js.map - -/***/ }), - -/***/ 397: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SearchRelationPipe; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; - -/** - * Generated class for the SearchRelationPipe pipe. - * - * See https://angular.io/api/core/Pipe for more info on Angular Pipes. - */ -var SearchRelationPipe = (function () { - function SearchRelationPipe() { - } - /** - * Takes a value and makes it lowercase. - */ - SearchRelationPipe.prototype.transform = function (value, searchItem) { - var findExistIndex = searchItem.existRelationList.filter(function (sVal) { return sVal.relation_to == searchItem.currentApplicantID; }); - if (findExistIndex.length > 0) { - var check = value.filter(function (fVal) { - return !findExistIndex.some(function (sVal) { - return fVal.pd_co_applicant_id == searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id; - }); - }); - return check; - } - else { - return value.filter(function (fVal) { return fVal.pd_co_applicant_id != searchItem.currentApplicantID; }); - } - }; - SearchRelationPipe = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["T" /* Pipe */])({ - name: 'searchRelation', - }) - ], SearchRelationPipe); - return SearchRelationPipe; -}()); - -//# sourceMappingURL=search-relation.js.map - -/***/ }), - -/***/ 398: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionNeighbourHoodPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionNeighbourHoodPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionNeighbourHoodPage = (function () { - function PdQuestionNeighbourHoodPage(navCtrl, navParams, aws, qustCat, toast, fb, constant, cameraProvider, loading) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.constant = constant; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.check_type = [{ 'id': 0, 'type_name': 'Neighbourhood' }, { 'id': 1, 'type_name': 'Reference Check' }]; - this.finalRemarksList = [{ 'id': 1, 'name': "Positive" }, - { 'id': 2, 'name': "Negative" }, - { 'id': 3, 'name': "Insufficient information provided" }]; - this.isDisplay = []; - this.isDisplay2 = []; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.isOrganisationOwner = []; - this.imageDisplay = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2 && appt.pd_co_applicant_id != 0; }); - this.applicants.push({ 'pd_co_applicant_id': 0, 'applicant_name': "Others" }); - this.neighbourhoodForm = this.fb.group({ - parent_pdid: this.pdDetails.parent_pd_id, - pdid: this.pdDetails.pd_id, - formid: this.FormId.form_id, - check_type: 0, - neighbourhood_list: this.fb.array([]), - neighbourhood_status: [''], - referencecheck_list: this.fb.array([]), - neighbour_reference_remark: '' - }); - this.users = this.aws.getlocale(); - this.getdropdown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionNeighbourHoodPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionNeighbourHoodPage'); - this.getneighbourhood(); - this.getPDImages(); - }; - PdQuestionNeighbourHoodPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this.neighbourhoodForm.dirty); - if (this.neighbourhoodForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionNeighbourHoodPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.relationBusiness = res['records'].filter(function (rel) { return rel.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.frequency = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (res) { - if (res.dataStatus == true) { - _this.existCompanyList = res.records.filter(function (val) { return val.is_active == true; }); - console.log(_this.existCompanyList); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - var modifyApplicantList = []; - if (_this.applicants.length > 0) { - modifyApplicantList = _this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - } - console.log("company&Applicant", _this.mergeCompanyApplicant); - }); - }; - PdQuestionNeighbourHoodPage.prototype.inWords = function (val, i) { - // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value) - }; - PdQuestionNeighbourHoodPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - /** To Convert Month into Year */ - PdQuestionNeighbourHoodPage.prototype.ConvertMonthintoYear = function (itemrow, e, flag) { - if (flag == 2) { - var year = itemrow.controls.year_relation_applicant.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month)); - } - else if (flag == 1) { - var year = itemrow.controls.how_long_do_know_in_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month)); - } - }; - PdQuestionNeighbourHoodPage.prototype.toggleVisibility = function (e, index, flag) { - var val; - if (flag == 1) { - this.isDisplay[index] = e; - } - else if (flag == 2) { - this.isDisplay2[index] = e; - } - }; - PdQuestionNeighbourHoodPage.prototype.checkOthers = function (values) { - if (values != null) { - return values == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionNeighbourHoodPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionNeighbourHoodPage.prototype.getOtherOrganisationOwner = function (value, i) { - //console.log('value',value,'I',i); - var Ctrls = this.neighbourhoodForm.controls['neighbourhood_list']; - //console.log('ParCtrls',Ctrls); - var ChdCtrls = Ctrls.controls[i]; - // console.log('ChdCtrls',ChdCtrls); - // return; - var Avaliablity = 1; - console.log('val', value); - if (value.length > 0) { - value.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity = option.id; - } - }); - } - if (Avaliablity == 0) { - // console.log('if Avaliablity',Avaliablity); - ChdCtrls.controls.other_organisation_owner.setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.isOrganisationOwner[i] = true; - } - else if (Avaliablity == 1) { - // console.log('else Avaliablity',Avaliablity); - // console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); - ChdCtrls.controls.other_organisation_owner.setValue(''); - ChdCtrls.controls.other_organisation_owner.clearValidators(); - this.isOrganisationOwner[i] = false; - // console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); - } - ChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); - }; - PdQuestionNeighbourHoodPage.prototype.createreferance = function () { - return this.fb.group({ - reference_name: [null], - mobile: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].minLength(10), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].maxLength(10)])], - statecode: [null], - landline: [null], - location: [null], - relationship_with: [null], - others: [null], - year_relation_applicant: [null], - months_relation_applicant: [null], - business_volume_amount: [null], - business_volume_unit: [null], - others_unit: [null], - reference_final_remarks: [null], - specify_final_remark: [null] - }); - }; - PdQuestionNeighbourHoodPage.prototype.addreferance = function () { - var control = this.neighbourhoodForm.controls['referencecheck_list']; - control.push(this.createreferance()); - }; - PdQuestionNeighbourHoodPage.prototype.removereferance = function (i) { - var control = this.neighbourhoodForm.controls['referencecheck_list']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionNeighbourHoodPage.prototype.createNeighbourhood = function () { - return this.fb.group({ - neighbourhood_name: [null], - do_know: [''], - how_long_do_know_in_year: [''], - how_long_do_know_in_month: [''], - organisation_owner: [''], - is_applicant_owner: [''], - other_organisation_owner: [''], - did_not_know_the_business_operation: [''], - did_not_know_the_owner: [''], - }); - }; - PdQuestionNeighbourHoodPage.prototype.addneighbourhood = function () { - var control = this.neighbourhoodForm.controls['neighbourhood_list']; - control.push(this.createNeighbourhood()); - }; - PdQuestionNeighbourHoodPage.prototype.removeneighbourhood = function (i) { - var control = this.neighbourhoodForm.controls['neighbourhood_list']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionNeighbourHoodPage.prototype.submitData = function (answerData) { - var _this = this; - var neighbourhoodControl = this.neighbourhoodForm.controls['neighbourhood_list']; - var NbhdCtrlLength = neighbourhoodControl.controls.length; - // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]); - // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity(); - // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required]) - // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity(); - if (NbhdCtrlLength > 0) { - var Ncnt = 0; - while (Ncnt < NbhdCtrlLength) { - var nbhdChildCtrl = neighbourhoodControl.controls[Ncnt]; - // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]); - // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity(); - // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]); - // nbhdChildCtrl.controls['do_know'].updateValueAndValidity(); - if (nbhdChildCtrl.controls.do_know.value != '') { - // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value) - if (nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false) { - // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value) - // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]); - // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity(); - nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); - } - else if (nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true) { - // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value) - nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue(''); - // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators(); - nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity(); - nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue(''); - nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators(); - nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); - } - if (nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false) { - nbhdChildCtrl.controls['organisation_owner'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity(); - } - else if (nbhdChildCtrl.controls.did_not_know_the_owner.value == true) { - nbhdChildCtrl.controls['organisation_owner'].setValue(''); - nbhdChildCtrl.controls['organisation_owner'].clearValidators(); - nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity(); - } - } - Ncnt++; - } - this.neighbourhoodForm.controls.neighbourhood_status.setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity(); - } - if (this.neighbourhoodForm.invalid) { - // this.validateAllFormFields(this._neighbourhoodForm); - this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!'); - return; - } - var saveRecords = {}; - var referencecheck_list = []; - var neighbourhood_list = []; - // if(answerData.check_type==0){ - answerData.neighbourhood_list.forEach(function (element, key) { - neighbourhood_list.push({ - "neighbourhood_name": element.neighbourhood_name, - "do_know": element.do_know, - "how_long_do_know_in_year": element.how_long_do_know_in_year, - "how_long_do_know_in_month": element.how_long_do_know_in_month, - "is_applicant_owner": element.is_applicant_owner, - "organisation_owner": element.organisation_owner, - "other_organisation_owner": element.other_organisation_owner, - "did_not_know_the_business_operation": element.did_not_know_the_business_operation, - "did_not_know_the_owner": element.did_not_know_the_owner - }); - }); - saveRecords.neighbourhood_list = neighbourhood_list; - // } - // else{ - // this for referencecheck_list for selected - answerData.referencecheck_list.forEach(function (element, key) { - referencecheck_list.push({ - "reference_name": element.reference_name, - "mobile": element.mobile, - "landline": element.statecode + '-' + element.landline, - "location": element.location, - "relationship_with": element.relationship_with, - "others": element.others, - "year_relation_applicant": element.year_relation_applicant, - "months_relation_applicant": element.months_relation_applicant, - "business_volume_amount": element.business_volume_amount, - "business_volume_unit": element.business_volume_unit, - "others_unit": element.others_unit, - "reference_final_remarks": element.reference_final_remarks, - "specify_final_remark": element.specify_final_remark - }); - }); - saveRecords.referencecheck_list = referencecheck_list; - // } - saveRecords.parent_pdid = answerData.parent_pd_id; - saveRecords.pdid = answerData.pdid; - saveRecords.formid = answerData.formid; - // saveRecords.check_type=answerData.check_type; - saveRecords.fk_createdby = this.users; - saveRecords.neighbourhood_status = answerData.neighbourhood_status; - saveRecords.neighbour_reference_remark = answerData.neighbour_reference_remark; - this.qustCat.saveForm(saveRecords).subscribe(function (res) { - if (res['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this.neighbourhoodForm.reset(_this.neighbourhoodForm.value); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionNeighbourHoodPage.prototype.getneighbourhood = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - var control = this.neighbourhoodForm.controls['referencecheck_list']; - var neicontrol = this.neighbourhoodForm.controls['neighbourhood_list']; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var neighbourDetails = res['records']; - // neighbourDetails.neighbourhood_list.='' - // if(neighbourDetails.check_type==0) - // { - _this.neighbourhoodForm.controls['check_type'].setValue(0); //this one for mobile only - _this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark); - _this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status); - var neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function (key) { - return res['records'].neighbourhood_list[key]; - }); - console.log('neighbourhood_list', neighbourhood_list); - console.log('length', neighbourhood_list.length); - if (neighbourhood_list.length > 0) { - neighbourhood_list.forEach(function (element, index) { - _this.toggleVisibility(element.did_not_know_the_business_operation, index, 1); - _this.toggleVisibility(element.did_not_know_the_owner, index, 2); - neicontrol.push(_this.createNeighbourhood()); - _this.getOtherOrganisationOwner(element.organisation_owner, index); - }); - _this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list); - } - else { - _this.addneighbourhood(); - } - // if(neighbourDetails.check_type==1) - // { - var referencecheck_list_1 = Object.keys(res['records'].referencecheck_list).map(function (key) { - return res['records'].referencecheck_list[key]; - }); - console.log('referencecheck_list', referencecheck_list_1); - console.log('length', referencecheck_list_1.length); - if (referencecheck_list_1.length > 0) { - // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type); - _this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark); - referencecheck_list_1.forEach(function (val, index) { - var statecodesearch = val.landline.search("-"); - referencecheck_list_1[index].statecode = val.landline.substr(0, statecodesearch); - referencecheck_list_1[index].landline = val.landline.substr(+statecodesearch + 1, 8); - control.push(_this.createreferance()); - // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount); - }); - _this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list_1); - } - else { - _this.addreferance(); - } - } - else { - _this.addneighbourhood(); - _this.addreferance(); - } - }); - }; - /*Image SECTION*/ - PdQuestionNeighbourHoodPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionNeighbourHoodPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionNeighbourHoodPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionNeighbourHoodPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionNeighbourHoodPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionNeighbourHoodPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constant.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionNeighbourHoodPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - // this.imageDisplay.push(this.imageBucket) - // console.log("length",this.imageDisplay.length) - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionNeighbourHoodPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('other_organisation_owner').value; - value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name)); - }; - PdQuestionNeighbourHoodPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-neighbour-hood',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-neighbour-hood\pd-question-neighbour-hood.html"*/'\n\n\n\n \n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
Neighbour Details {{n+1}}

\n\n \n\n \n\n \n\n Neighbourhood Name is Required \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n Please Choose \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n Year is Required \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n {{app.name}}\n\n \n\n \n\n pick atleast one organisation owner \n\n \n\n \n\n \n\n organisation owner is required \n\n \n\n
\n\n \n\n


\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n Select\n\n Positive\n\n Negative\n\n Could not verify\n\n \n\n Status is Required\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
Reference Details #{{r+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number. \n\n \n\n \n\n \n\n

Enter valid Mobile Number

\n\n

Landline Number

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{relationship.relation_with_business_name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n

Period of Relationship

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{volume.name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{rem.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n Remarks is Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n\n\n
\n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-neighbour-hood\pd-question-neighbour-hood.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */]]) - ], PdQuestionNeighbourHoodPage); - return PdQuestionNeighbourHoodPage; -}()); - -//# sourceMappingURL=pd-question-neighbour-hood.js.map - -/***/ }), - -/***/ 399: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFinalRemarkPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -// import { t } from '@angular/core/src/render3'; - - - - - - -/** - * Generated class for the PdQuestionFinalRemarkPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFinalRemarkPage = (function () { - function PdQuestionFinalRemarkPage(navCtrl, navParams, fb, qustcat, aws, toast, cameraProvider, loading, constantProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustcat = qustcat; - this.aws = aws; - this.toast = toast; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.constantProvider = constantProvider; - this.m_remarkTypeCustomerBehaviour = []; - this.m_recommendationList = []; - this.imageDisplay = []; - this.imageBucket = []; - this.tab = '0'; - this.mode_of_transport_values = [{ 'id': 'two_wheeler', 'name': 'Two Wheeler' }, - { 'id': 'four_wheeler', 'name': 'Four Wheeler' }, - { 'id': 'public_transport', 'name': 'Public Transport' }, - { 'id': 'others', 'name': 'Others' }]; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.users = aws.getlocale(); - this.lender_short_name = this.pdDetails.lender_short_name; - this.product_abbr = this.pdDetails.product_abbr; - this._finalRemarkForm = this.fb.group({ - fk_createdby: [this.users], - parent_pdid: [this.pdDetails.parent_pd_id], - pdid: [this.pdid], - formid: [this.FormId.form_id], - final_custormer_remark_type: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - final_other_customer_behaviour: [null], - is_service_provided: [null], - final_form_remarks: [null], - pd_officers_recommendation: [null], - others_pd_officers_recommendation: [''], - // reason_for_positive:[''], - // reason_for_negative:[''], - // reason_for_refer_to_credit:[''], - recommendation_positive: this.fb.array([]), - recommendation_negative: this.fb.array([]), - recommendation_refer_to_credit: this.fb.array([]), - was_the_pd_address_ogl: [''], - mode_of_transport_during_visit: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - others_transport: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])] - }); - if (this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP') { - this._finalRemarkForm.addControl('outlet_location', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)); - this._finalRemarkForm.addControl('is_competition', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('')); - this._finalRemarkForm.addControl('sealing_activity', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('')); - this._finalRemarkForm.addControl('demolition_activity', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('')); - } - else { - this._finalRemarkForm.removeControl('outlet_location'); - this._finalRemarkForm.removeControl('is_competition'); - this._finalRemarkForm.removeControl('sealing_activity'); - this._finalRemarkForm.removeControl('demolition_activity'); - } - this.getDropDown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionFinalRemarkPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionFinalRemarkPage'); - this.getFinalRemark(); - this.getPDImages(); - }; - PdQuestionFinalRemarkPage.prototype.ionViewCanLeave = function () { - var _this = this; - console.log("dirty", this._finalRemarkForm.dirty); - if (this._finalRemarkForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - console.log("d", data); - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionFinalRemarkPage.prototype.getDropDown = function () { - var _this = this; - this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(function (res) { - _this.m_remarkTypeCustomerBehaviour = res['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(function (res) { - _this.m_recommendationList = res['records'].filter(function (val) { return val.pdofficer_recommendation_id != 1; }); - }); - }; - PdQuestionFinalRemarkPage.prototype.createRecomendationPositive = function (data) { - console.log("val", data); - return this.fb.group({ - reason_for_positive: data != null ? [data.reason_for_positive] : [''] - }); - }; - PdQuestionFinalRemarkPage.prototype.addRecomendationPositive = function () { - var control = this._finalRemarkForm.controls['recommendation_positive']; - control.push(this.createRecomendationPositive(null)); - }; - PdQuestionFinalRemarkPage.prototype.removeRecomendationPositive = function (index) { - var control = this._finalRemarkForm.controls['recommendation_positive']; - control.removeAt(index); - }; - PdQuestionFinalRemarkPage.prototype.createRecomendationNegative = function (data) { - return this.fb.group({ - reason_for_negative: data != null ? [data.reason_for_negative] : [''] - }); - }; - PdQuestionFinalRemarkPage.prototype.addRecomendationNegative = function () { - var control = this._finalRemarkForm.controls['recommendation_negative']; - control.push(this.createRecomendationNegative(null)); - }; - PdQuestionFinalRemarkPage.prototype.removeRecomendationNegative = function (index) { - var control = this._finalRemarkForm.controls['recommendation_negative']; - control.removeAt(index); - }; - PdQuestionFinalRemarkPage.prototype.createRecomendationCreditRefer = function (data) { - return this.fb.group({ - reason_for_refer_to_credit: data != null ? [data.reason_for_refer_to_credit] : [''] - }); - }; - PdQuestionFinalRemarkPage.prototype.addRecomendationCreditRefer = function () { - var control = this._finalRemarkForm.controls['recommendation_refer_to_credit']; - control.push(this.createRecomendationCreditRefer(null)); - }; - PdQuestionFinalRemarkPage.prototype.removeRecomendationCreditRefer = function (index) { - var control = this._finalRemarkForm.controls['recommendation_refer_to_credit']; - control.removeAt(index); - }; - PdQuestionFinalRemarkPage.prototype.RecommendationChange = function (e) { - // console.log('Event',e); - var recommendationPositiveCtrl = this._finalRemarkForm.get('recommendation_positive'); - var recommendationNegativeCtrl = this._finalRemarkForm.get('recommendation_negative'); - var recommendationReferToCredit = this._finalRemarkForm.get('recommendation_refer_to_credit'); - if (e == 1) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); - if (recommendationNegativeCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationNegativeCtrl.controls.length; i++) { - recommendationNegativeCtrl.removeAt(i + 1); - recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0]; - recommendationNegativeCtrl.controls['reason_for_negative'].setValue(''); - recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators(); - recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); - } - } - if (recommendationPositiveCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationPositiveCtrl.controls.length; i++) { - recommendationPositiveCtrl.removeAt(i + 1); - recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0]; - recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators(); - recommendationPositiveCtrl.controls['reason_for_positive'].setValue(''); - recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); - } - } - if (recommendationReferToCredit.controls.length > 0) { - var i = 0; - for (i; i < recommendationReferToCredit.controls.length; i++) { - recommendationReferToCredit.removeAt(i + 1); - recommendationReferToCredit = recommendationReferToCredit.controls[0]; - recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue(''); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators(); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); - } - } - } - if (e == 2) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); - if (recommendationReferToCredit.controls.length > 0) { - var i = 0; - for (i; i < recommendationReferToCredit.controls.length; i++) { - recommendationReferToCredit.removeAt(i + 1); - recommendationReferToCredit = recommendationReferToCredit.controls[0]; - recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue(''); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators(); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); - } - } - // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]); - if (recommendationPositiveCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationPositiveCtrl.controls.length; i++) { - recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i]; - recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); - } - } - if (recommendationNegativeCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationNegativeCtrl.controls.length; i++) { - recommendationNegativeCtrl.removeAt(i + 1); - recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0]; - recommendationNegativeCtrl.controls['reason_for_negative'].setValue(''); - recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators(); - recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); - } - } - } - if (e == 3) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); - if (recommendationReferToCredit.controls.length > 0) { - var i = 0; - for (i; i < recommendationReferToCredit.controls.length; i++) { - recommendationReferToCredit.removeAt(i + 1); - recommendationReferToCredit = recommendationReferToCredit.controls[0]; - recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue(''); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators(); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); - } - } - if (recommendationPositiveCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationPositiveCtrl.controls.length; i++) { - recommendationPositiveCtrl.removeAt(i + 1); - recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0]; - recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators(); - recommendationPositiveCtrl.controls['reason_for_positive'].setValue(''); - recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); - } - } - if (recommendationNegativeCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationNegativeCtrl.controls.length; i++) { - recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i]; - recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); - } - } - // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]); - } - if (e == 4) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); - if (recommendationReferToCredit.controls.length > 0) { - var i = 0; - for (i; i < recommendationReferToCredit.controls.length; i++) { - recommendationReferToCredit = recommendationReferToCredit.controls[i]; - recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); - } - } - if (recommendationNegativeCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationNegativeCtrl.controls.length; i++) { - recommendationNegativeCtrl.removeAt(i + 1); - recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0]; - recommendationNegativeCtrl.controls['reason_for_negative'].setValue(''); - recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators(); - recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); - } - } - if (recommendationPositiveCtrl.controls.length > 0) { - var i = 0; - for (i; i < recommendationPositiveCtrl.controls.length; i++) { - recommendationPositiveCtrl.removeAt(i + 1); - recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0]; - recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators(); - recommendationPositiveCtrl.controls['reason_for_positive'].setValue(''); - recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); - } - } - } - }; - PdQuestionFinalRemarkPage.prototype.getFinalRemark = function () { - var _this = this; - var saveRecords = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdid, 'pd_form_id': this.FormId.form_id }; - this.qustcat.retiverForm(saveRecords).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type); - _this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour); - _this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided); - _this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation); - _this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation); - _this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl); - _this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit); - _this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport); - _this.setValidation(); - // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive) - // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit); - // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative); - if (data['records'].recommendation_positive.length > 0) { - var recommendationPositiveCtrl_1 = _this._finalRemarkForm.get('recommendation_positive'); - data['records'].recommendation_positive.forEach(function (val, index) { - console.log("for", val); - if (val.reason_for_positive != null) { - var obj = { 'reason_for_positive': val.reason_for_positive }; - recommendationPositiveCtrl_1.push(_this.createRecomendationPositive(obj)); - } - }); - } - if (data['records'].recommendation_negative.length > 0) { - var recommendationNegativeCtrl_1 = _this._finalRemarkForm.get('recommendation_negative'); - data['records'].recommendation_negative.forEach(function (val, index) { - console.log("for", val); - var obj = { 'reason_for_negative': val.reason_for_negative }; - recommendationNegativeCtrl_1.push(_this.createRecomendationNegative(obj)); - }); - } - if (data['records'].recommendation_refer_to_credit.length > 0) { - var recommendationReferToCredit_1 = _this._finalRemarkForm.get('recommendation_refer_to_credit'); - data['records'].recommendation_refer_to_credit.forEach(function (val) { - var obj = { 'reason_for_refer_to_credit': val.reason_for_refer_to_credit }; - recommendationReferToCredit_1.push(_this.createRecomendationCreditRefer(obj)); - }); - } - _this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks); - if (_this.lender_short_name == 'CLIX' || _this.product_abbr == 'LAEP') { - _this._finalRemarkForm.controls.outlet_location.setValue(data['records'].outlet_location); - _this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition); - _this._finalRemarkForm.controls.sealing_activity.setValue(data['records'].sealing_activity); - _this._finalRemarkForm.controls.demolition_activity.setValue(data['records'].demolition_activity); - _this.clixChange(data['records'].is_competition, 1); - _this.clixChange(data['records'].sealing_activity, 2); - _this.clixChange(data['records'].demolition_activity, 3); - if (data['records'].is_competition == true) { - _this._finalRemarkForm.controls.appx_outlet_or_stores.setValue(data['records'].appx_outlet_or_stores); - } - if (data['records'].sealing_activity == true) { - _this._finalRemarkForm.controls.comment_of_demolition_activity.setValue(data['records'].comment_of_demolition_activity); - _this._finalRemarkForm.controls.demolition_activity_pic.setValue(data['records'].demolition_activity_pic); - } - if (data['records'].demolition_activity == true) { - _this._finalRemarkForm.controls.comment_of_sealing_activity.setValue(data['records'].comment_of_sealing_activity); - _this._finalRemarkForm.controls.sealing_activity_pic.setValue(data['records'].sealing_activity_pic); - } - } - } - else { - var recommendationPositiveCtrl = _this._finalRemarkForm.get('recommendation_positive'); - recommendationPositiveCtrl.push(_this.createRecomendationPositive(null)); - var recommendationNegativeCtrl = _this._finalRemarkForm.get('recommendation_negative'); - recommendationNegativeCtrl.push(_this.createRecomendationNegative(null)); - var recommendationReferToCredit = _this._finalRemarkForm.get('recommendation_refer_to_credit'); - recommendationReferToCredit.push(_this.createRecomendationCreditRefer(null)); - } - }); - }; - PdQuestionFinalRemarkPage.prototype.clixChange = function (e, flag) { - if (flag == 1) { - console.log(e, flag); - e == true ? this._finalRemarkForm.addControl('appx_outlet_or_stores', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : this._finalRemarkForm.removeControl('appx_outlet_or_stores'); - } - if (flag == 2) { - console.log(e, flag); - e == true ? this._finalRemarkForm.addControl('comment_of_demolition_activity', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : this._finalRemarkForm.removeControl('comment_of_demolition_activity'); - e == true ? this._finalRemarkForm.addControl('demolition_activity_pic', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('')) : this._finalRemarkForm.removeControl('demolition_activity_pic'); - } - if (flag == 3) { - console.log(e, flag); - e == true ? this._finalRemarkForm.addControl('comment_of_sealing_activity', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required)) : this._finalRemarkForm.removeControl('comment_of_sealing_activity'); - e == true ? this._finalRemarkForm.addControl('sealing_activity_pic', new __WEBPACK_IMPORTED_MODULE_2__angular_forms__["d" /* FormControl */]('')) : this._finalRemarkForm.removeControl('sealing_activity_pic'); - } - }; - PdQuestionFinalRemarkPage.prototype.saveFinalRemark = function () { - var _this = this; - if (this._finalRemarkForm.invalid) { - this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' "); - } - else { - var answerData = this._finalRemarkForm.value; - //To Remove The "Null" With Key also - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - this.qustcat.saveForm(answerData).subscribe(function (res) { - if (res['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this._finalRemarkForm.reset(_this._finalRemarkForm.value); - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); - } - }); - } - }; - PdQuestionFinalRemarkPage.prototype.ImageUpload = function (Flag) { - var _this = this; - if (Flag == 1) { - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this._finalRemarkForm.controls['demolition_activity_pic'].setValue(res); - } - else { - _this._finalRemarkForm.controls['demolition_activity_pic'].setValue(''); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - } - else if (Flag == 2) { - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this._finalRemarkForm.controls['sealing_activity_pic'].setValue(res); - } - else { - _this._finalRemarkForm.controls['sealing_activity_pic'].setValue(''); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - } - }; - PdQuestionFinalRemarkPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; - this.qustcat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionFinalRemarkPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFinalRemarkPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFinalRemarkPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionFinalRemarkPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionFinalRemarkPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionFinalRemarkPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId.form_id, - 'images': this.imageBucket, - 'company_id': '', - }; - console.log("records", JSON.stringify(records)); - this.qustcat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionFinalRemarkPage.prototype.setValidation = function () { - console.log("enter"); - if (this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others') { - this._finalRemarkForm.controls['others_transport'].setValue(''); - this._finalRemarkForm.controls['others_transport'].setValidators(__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])); - this._finalRemarkForm.controls['others_transport'].updateValueAndValidity(); - } - else { - this._finalRemarkForm.controls['others_transport'].setValue(''); - this._finalRemarkForm.controls['others_transport'].clearValidators(); - this._finalRemarkForm.controls['others_transport'].updateValueAndValidity(); - } - }; - PdQuestionFinalRemarkPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-final-remark',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-final-remark\pd-question-final-remark.html"*/'\n\n\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n Select\n\n {{pm.customer_behaviour_id == 1 ? \'Other Negative Behaviour\': pm.description }}\n\n \n\n Customer Behaviour\n\n is Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Location\n\n
\n\n \n\n \n\n Is the location of the business / profession suited to the nature of business / service provided?
\n\n \n\n Select \n\n \n\n Well Suited\n\n Fairly Suited\n\n Not Suited\n\n \n\n
\n\n \n\n \n\n Select \n\n {{ list.pdofficer_recommendation }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n Reason for Marking PD Status as Positive\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n Reasons for marking PD status as Negative\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n Reasons for marking PD status as Refer to Credit\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

\n\nWas the PD Address Outside Geographic Limit (OGL)\n\n \n\n
\n\n\n\n \n\n Select\n\n {{transport.name}}\n\n \n\n\n\n\n\n \n\n\n\n \n\n
\n\n
\n\n \n\n \n\n CLIX\n\n \n\n \n\n\n\n Heavy Footfall ( lots of customers in the locality / marketplace ).
\n\n Medium Footfall ( Medium no of customers in the locality / marketplace ).
\n\n Low Footfall ( Few customers seen in the locality / marketplace ).
\n\n \n\n

\n\n \n\n
\n\n \n\n Is there Competition to the applicant’s business in the location ( {{ _finalRemarkForm.value.is_competition ===true ? \'Yes\' : \'No\'}} )\n\n \n\n
\n\n \n\n \n\n Approximate Number is Required\n\n \n\n \n\n \n\n\n\n
\n\n \n\n Any demolition activity seen in the locality by PD officer ( {{ _finalRemarkForm.value.demolition_activity ===true ? \'Yes\' : \'No\'}} )\n\n
\n\n \n\n \n\n \n\n \n\n Comment Required\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n Any sealing activity observed in the locality by PD office ( {{ _finalRemarkForm.value.sealing_activity ===true ? \'Yes\' : \'No\'}} )\n\n
\n\n \n\n \n\n \n\n \n\n Comment Required\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Other Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-final-remark\pd-question-final-remark.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionFinalRemarkPage); - return PdQuestionFinalRemarkPage; -}()); - -//# sourceMappingURL=pd-question-final-remark.js.map - -/***/ }), - -/***/ 400: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessGroupPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(212); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(215); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(213); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(401); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(402); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(403); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(214); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(216); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_pd_question_pd_question_business_group_pd_question_future_plans_and_business_environment_pd_question_future_plans_and_business_environment__ = __webpack_require__(404); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - -/** - * Generated class for the PdQuestionBusinessGroupPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessGroupPage = (function () { - function PdQuestionBusinessGroupPage(navCtrl, navParams, qustCat) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.pdDetails = []; - this.existCompanyList = []; - this.forms_order = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - // this.getCompanyListForBusiness(); - } - PdQuestionBusinessGroupPage.prototype.ionViewCanEnter = function () { - this.getCompanyListForBusiness(); - //this.colorChange(); - }; - /** To Get General Form's Company List */ - PdQuestionBusinessGroupPage.prototype.getCompanyListForBusiness = function () { - var _this = this; - this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (data) { - if (data.dataStatus) { - _this.existCompanyList = data.records.filter(function (val) { return val.is_active; }); - // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){ - // return this.existCompanyList.form_status[key] - // }) - //console.log(forms) - // console.log(this.existCompanyList) - _this.existCompanyList.forEach(function (key, ele) { - _this.forms_order.push(key.form_status); - }); - console.log(_this.forms_order); - _this.forms_order = _this.forms_order.filter(function (val) { return val.isAnswerable == true; }); - console.log(_this.forms_order); - // this.existCompanyList.forEach(element=>{ - // console.log(element); - // }) - // this.existCompanyList.array.forEach(element => { - // console.log(element) - // }); - // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true) - if (_this.existCompanyList.length == 1) { - _this.count = 0; - } - _this.waitLoading = true; - } - else { - _this.waitLoading = false; - } - }); - }; - /** To Get Related Form Details */ - PdQuestionBusinessGroupPage.prototype.OnSelectBusinessGroupForms = function (details, company) { - this.pdDetails.company_id = company.company_order_id; - this.pdDetails.company_name = company.company_name; - this.pdDetails.business_entity_type = company.business_entity_type; - this.pdDetails.business_entity_type_other = company.business_entity_type_other; - this.pdDetails.business_years = company.business_years; - this.pdDetails.business_month = company.business_month; - console.log(details.form_id); - if (details.form_id == 1) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 2) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 11) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 13) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 14) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 15) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 21) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 22) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 16) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 23) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pages_pd_question_pd_question_business_group_pd_question_future_plans_and_business_environment_pd_question_future_plans_and_business_environment__["a" /* PdQuestionFuturePlansAndBusinessEnvironmentPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - }; - PdQuestionBusinessGroupPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-group',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-group.html"*/'\n\n\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n {{companyList.company_name}}\n\n \n\n \n\n
\n\n \n\n \n\n {{quesIndex+1}}\n\n {{quesIndex+1}}\n\n
\n\n

{{formButton.form_name }}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Related Information is Not Available.Please Check General Information

\n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-group.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], - __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) - ], PdQuestionBusinessGroupPage); - return PdQuestionBusinessGroupPage; -}()); - -//# sourceMappingURL=pd-question-business-group.js.map - -/***/ }), - -/***/ 401: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the PdQuestionBusinessInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessInfoPage = (function () { - function PdQuestionBusinessInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, cons, loading, cameraProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.fb = fb; - this.cons = cons; - this.loading = loading; - this.cameraProvider = cameraProvider; - this.stateList = []; - this.applicants = []; - this.businessEntityTypeList = { - business_entity_type_id: String, - business_entity_type_name: String, - sourcsection_labeleName: String - }; - this.relationData = []; - this.industryData = []; - this.activityData = []; - this.companyRelationShipList = []; - this.countryDataList = []; - this.filterCityList = []; - this.errorMessage = []; - this.titleData = []; - this.personsList = []; - this.ExportFlag = false; - this.bankList = []; - this.bankListValue = []; - this.temp_additiondetailofposmachine = []; - this.isreadonlyyear = []; - this.isreadonlymonth = []; - this.EntityTypeFlag = false; - this.yearErrorMessage = []; - this.monthErrorMessage = []; - this.errorMessageForExistTotalWorkExperience = []; - this.countryDataListValue = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); - this.filteredCity = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); - //public filterCity=new Rx.Subject() - this.filteredState = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); - this.filteredCountry = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); - this.cityData = []; - this.cityDataValue = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.ManufacturingCounterArray = []; - this.RetailCounterArray = []; - this.WholeSaleCounterArray = []; - this.ServiceCounterArray = []; - this.getStateCityDet(); - // console.log(typeof this.filteredCity) - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.formdetails = this.navParams.get('formDetails'); - this.FormId = this.formdetails.form_id; - this.users = this.aws.getlocale(); - this.applicants = this.pdDetails.applicat_details; - console.log("pd", this.pdDetails); - this.generalExistEntityType = this.pdDetails.business_entity_type; - this.generalExistEntityType_other = this.pdDetails.business_entity_type_other; - this.generalExistBusinessYear = this.pdDetails.business_years; - this.generalExistBusinessMonth = this.pdDetails.business_month; - this.lender_short_name = this.pdDetails.lender_short_name; - this.product_abbr = this.pdDetails.product_abbr; - this.step = 0; - // this.initBusinessForm(); - // this.getBuisnessDetails(); - this.businessForm = this.fb.group({ - fk_createdby: [this.users], - parent_pdid: [this.pdDetails.parent_pd_id], - pdid: [this.pdid], - formid: [this.FormId], - company_id: this.pdDetails.company_id, - partners: this.fb.array([]), - persons_with_relationships: this.fb.array([]), - select_business_activity_type: this.fb.array([]), - manufacturing_activity_details: this.fb.array([]), - retail_trading_activity_details: this.fb.array([]), - wholesale_trading_activity_details: this.fb.array([]), - service_provider_activity_details: this.fb.array([]), - // others_activity_details:this.fb.array([]), - export_sale_of_total_sales: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(100), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)])], - // applicant_use_mobile_wallets:[''], - // applicant_use_pos_machines:[''], - // no_of_pos_machines:[''], - seasonality: [''], - employees_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_appx_salary: [''], - was_the_company_name_board_sighted: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - shop_eat_act_cert: [''], - shop_eat_act_cert_pic: [''], - gst_Regn_cert: [''], - //export_import_cert: [''], - // factory_cert: [''], - //practice_cert: [''], - pf_regn: [''], - esic_regn: [''], - other_documents: [''], - documents: this.fb.array([]), - business_remarks: [''] - }); - this.getdropdown(); - // this.initBusinessForm(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionBusinessInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessInfoPage'); - this.getPDImages(); - }; - PdQuestionBusinessInfoPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { - data['records'].forEach(function (val) { - if (val.isactive == 1) { - _this.relationData.push(val); - } - }); - }); - this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(function (data) { - if (data['dataStatus'] == true) { - var filterList = data['records'].filter(function (val) { return val.business_entity_type_id == _this.generalExistEntityType; }); - console.log("Filter", filterList); - if (filterList.length > 0) { - _this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1; - _this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : _this.generalExistEntityType_other; - _this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : _this.generalExistEntityType_other; - if (_this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || _this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') { - _this.EntityTypeFlag = true; - } - } - } - }); - this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(function (data) { - data['records'].forEach(function (val) { - if (val.isactive == 1) { - _this.industryData.push(val); - } - }); - }); - this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(function (data) { - data['records'].forEach(function (val) { - if (val.isactive == 1 && val.type_of_activity_id != 1) { - _this.activityData.push(val); - } - }); - }); - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - _this.companyRelationShipList = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('COUNTRY').subscribe(function (data) { - _this.countryDataList = data['records'].filter(function (val) { return val.isactive == 1; }); - _this.filteredCountry.next(_this.countryDataList.slice()); - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (data) { - _this.titleData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getAllPersonsName(this.pdid).subscribe(function (data) { - if (data.dataStatus) { - _this.personsList = data['record'].filter(function (val) { return val.applicant_type == 1; }); - } - }); - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - _this.bankList = data['records'].filter(function (val) { return val.isactive == 1 && val.lender_type == 1; }); - _this.bankListValue = _this.bankList.slice(); - }); - }; - PdQuestionBusinessInfoPage.prototype.getStateCityDet = function () { - var _this = this; - this.qustCat.getStateCityDetails().subscribe(function (data) { - _this.stateList = data.records; - _this.filteredState.next(_this.stateList.slice()); - _this.getDetails(); - }); - }; - PdQuestionBusinessInfoPage.prototype.changeOfStartedBusiness = function (members, i, e) { - if (e == 'yes') { - members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear); - this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false; - members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth); - this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false; - } - else { - this.isreadonlyyear[i] = false; - this.isreadonlymonth[i] = false; - } - }; - PdQuestionBusinessInfoPage.prototype.getDetails = function () { - var _this = this; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdid; - params.pd_form_id = 13; - params.company_id = this.pdDetails.company_id; - this.qustCat.retiverForm(params).subscribe(function (data) { - console.log('data[records]', data['records']); - var businessVal = data['records']; - var constVal; - var Partnr = _this.businessForm.controls['partners']; - var control1 = _this.businessForm.controls['persons_with_relationships']; - var business_activity = _this.businessForm.controls['select_business_activity_type']; - var manufacture_details = _this.businessForm.controls['manufacturing_activity_details']; - var retailControl = _this.businessForm.controls['retail_trading_activity_details']; - var wholesaleControl = _this.businessForm.controls['wholesale_trading_activity_details']; - var serviceProviderControl = _this.businessForm.controls['service_provider_activity_details']; - // const othersControl:any=this.businessForm.controls['others_activity_details']; - var otherDoc = _this.businessForm.controls['documents']; - //retailControl.push(this.manufactureDetails()); - //manufacture_details.push(this.manufactureDetails()) - // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done; - //india_sales.push(this.indiaSalesDone()) - //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done; - // country_sale.push(this.createCountrySale()); - //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name; - //max_sale_state.push(this.maxSaleState()) - _this.product_abbr == 'LAEP' ? _this.businessForm.addControl('fire_noc', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('fire_noc'); - if (data['status'] == 200) { - var DocArray = void 0; - var PartnrArray = Object.keys(data['records'].partners).map(function (key) { - return data['records'].partners[key]; - }); - if (PartnrArray.length == 0) { - Partnr.push(_this.createPartners()); - } - else { - PartnrArray.forEach(function (datas, key) { - Partnr.push(_this.createPartners()); - if (datas.partner_name == 'Others') { - Partnr.controls[key].addControl('partner_other_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) { - Partnr.controls[key].addControl('total_business_previous_experience', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - Partnr.controls[key].removeControl('total_business_previous_experience'); - } - }); - } - if (data['records'].persons_with_relationships) { - var PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) { - return data['records'].persons_with_relationships[key]; - }); - if (PartnrArray1.length > 0) { - PartnrArray1.forEach(function (datas, key) { - control1.push(_this.createRelationShip()); - }); - businessVal.persons_with_relationships = PartnrArray1; - } - else { - //control1.push(this.createRelationShip()); - businessVal.persons_with_relationships = []; - } - } - else { - businessVal.persons_with_relationships = []; - } - if (data['records'].other_documents == 'yes') { - DocArray = Object.keys(data['records'].documents).map(function (key) { - return data['records'].documents[key]; - }); - DocArray.forEach(function (datas) { - otherDoc.push(_this.createDocument()); - }); - } - else { - DocArray = [{ document: '', document_pic: '' }]; - otherDoc.push(_this.createDocument()); - } - businessVal.parent_pdid = _this.pdDetails.parent_pd_id; - businessVal.pdid = _this.pdid; - businessVal.formid = 13; - businessVal.company_id = _this.pdDetails.company_id; - businessVal.fk_createdby = _this.users; - //businessVal.designation = DesgnArray; - businessVal.partners = PartnrArray; - // businessVal.persons_with_relationships=PartnrArray1 - businessVal.documents = DocArray; - if (businessVal.employees_appx_salary) { - _this.appxSalaryAmtInwords = _this.cons.convertNumberToWords(businessVal.employees_appx_salary); - } - // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd' - // this.businessForm.setValue(businessVal); - //this.businessForm.value.seasonality - var activityData_1 = _this.activityData.map(function (item) { return ({ name: item.name, type_of_activity_id: item.type_of_activity_id }); }); - var exist_activity_data_1 = []; - if (data['records'].select_business_activity_type) { - exist_activity_data_1 = Object.keys(data['records'].select_business_activity_type).map(function (key) { - return data['records'].select_business_activity_type[key].type_of_activity_id; - }); - } - var actual_businees_activity = activityData_1.map(function (item) { return item.type_of_activity_id; }); - var check_exist_businees_activity = actual_businees_activity.map(function (id, index) { - if (exist_activity_data_1.indexOf(id) < 0) { - activityData_1[index].exist_status = 0; - return activityData_1[index]; - } - else { - activityData_1[index].exist_status = 1; - return activityData_1[index]; - } - }).filter(function (item) { return item != undefined; }); - if (check_exist_businees_activity.length > 0) { - check_exist_businees_activity.forEach(function (val, index) { - business_activity.push(_this.createBusinessActivity(val)); - // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status - }); - businessVal.select_business_activity_type = check_exist_businees_activity; - } - // business_activity.push(this.createBusinessActivity()) - // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity) - if (data['records'].manufacturing_activity_details) { - var selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) { - return data['records'].manufacturing_activity_details[key]; - }); - if (selectedManufacturing.length > 0) { - selectedManufacturing.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); - selectedManufacturing.length > 0 ? _this.businessForm.addControl('factory_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('factory_cert'); - selectedManufacturing.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'MActivity', index); - manufacture_details.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - manufacture_details.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - manufacture_details.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - manufacture_details.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - manufacture_details.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - manufacture_details.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - manufacture_details.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - manufacture_details.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - manufacture_details.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.manufacturing_activity_details = selectedManufacturing; - } - else { - businessVal.manufacturing_activity_details = []; - } - } - else { - businessVal.manufacturing_activity_details = []; - } - if (data['records'].retail_trading_activity_details) { - var selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) { - return data['records'].retail_trading_activity_details[key]; - }); - if (selectedRetail.length > 0) { - selectedRetail.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); - selectedRetail.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); - selectedRetail.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); - selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); - selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); - selectedRetail.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'RActivity', index); - retailControl.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - retailControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - retailControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = retailControl.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = retailControl.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - retailControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - retailControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - retailControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = retailControl.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = retailControl.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - retailControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.retail_trading_activity_details = selectedRetail; - } - else { - businessVal.retail_trading_activity_details = []; - } - } - else { - businessVal.retail_trading_activity_details = []; - } - // update whole sale details - if (data['records'].wholesale_trading_activity_details) { - var selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) { - return data['records'].wholesale_trading_activity_details[key]; - }); - if (selectedWholesale.length > 0) { - selectedWholesale.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); - selectedWholesale.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); - selectedWholesale.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); - selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); - selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); - selectedWholesale.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'WActivity', index); - wholesaleControl.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - wholesaleControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - wholesaleControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - wholesaleControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - wholesaleControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - wholesaleControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - wholesaleControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.wholesale_trading_activity_details = selectedWholesale; - } - else { - businessVal.wholesale_trading_activity_details = []; - } - } - else { - businessVal.wholesale_trading_activity_details = []; - } - if (data['records'].service_provider_activity_details) { - var selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) { - return data['records'].service_provider_activity_details[key]; - }); - if (selectedService.length > 0) { - selectedService.length > 0 ? _this.businessForm.addControl('practice_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('practice_cert'); - selectedService.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); - selectedService.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); - selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); - selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); - selectedService.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'SPActivity', index); - serviceProviderControl.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - serviceProviderControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - serviceProviderControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - serviceProviderControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - serviceProviderControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - serviceProviderControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); - var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); - innerElement.stateSearch = ''; - innerElement.citySearch = ''; - innercontrol.push(_this.maxSaleState()); - }); - serviceProviderControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('countries_where_export_done'); - innerElement.countrySearch = ''; - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.service_provider_activity_details = selectedService; - } - else { - businessVal.service_provider_activity_details = []; - } - } - else { - businessVal.service_provider_activity_details = []; - } - // if(data['records'].others_activity_details){ - // // update others activity details - // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) { - // return data['records'].others_activity_details[key]; - // }); - // if(selectedOthers.length > 0) { - // selectedOthers.forEach((element,index)=>{ - // othersControl.push(this.createOthersActivity()); - // }); - // businessVal.others_activity_details=selectedOthers; - // } - // else{ - // businessVal.others_activity_details=[]; - // } - // } - // else { - // businessVal.others_activity_details=[]; - // } - // dynamically add form group control - if (data['dataStatus']) { - if (data['records'].seasonality.toUpperCase() == 'YES') { - _this.businessForm.addControl('peak_period_of_business', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - _this.businessForm.addControl('month_of_business_run', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - } - // this.businessForm.controls['partners'].setValue(PartnrArray); - //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1) - // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details) - if (businessVal.applicant_use_pos_machines == 'yes') { - //For Adding the bank search in data - businessVal.pos_machines_details.forEach(function (value) { - value.bankSearch = ''; - }); - //----------------------- - _this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines); - var posControl = _this.businessForm.controls['pos_machines_details']; - for (var i = 1; i <= businessVal.no_of_pos_machines; i++) { - posControl.push(_this.createPOSMachinesDetails(businessVal.pos_machines_details)); - } - } - console.log('businessVal', businessVal); - if (data['records'].gst_Regn_cert == 'yes') { - _this.businessForm.addControl('gst_Regn_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('gst_Regn_cert_pic'); - } - if (data['records'].factory_cert == 'yes') { - _this.businessForm.addControl('factory_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('factory_cert_pic'); - } - if (data['records'].practice_cert == 'yes') { - _this.businessForm.addControl('practice_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('practice_cert_pic'); - } - if (data['records'].shop_eat_act_cert == 'yes') { - _this.businessForm.addControl('shop_eat_act_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('shop_eat_act_cert_pic'); - } - if (data['records'].pf_regn == 'yes') { - _this.businessForm.addControl('pf_regn_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('pf_regn_pic'); - } - if (data['records'].esic_regn == 'yes') { - _this.businessForm.addControl('esic_regn_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('esic_regn_pic'); - } - if (data['records'].export_import_cert == 'yes') { - _this.businessForm.addControl('export_import_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('export_import_cert_pic'); - } - if (data['records'].fire_noc == 'yes') { - _this.businessForm.addControl('fire_noc_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); - } - else { - _this.businessForm.removeControl('fire_noc_pic'); - } - _this.businessForm.setValue(businessVal); - } - else { - console.log('console.log 2'); - Partnr.push(_this.createPartners()); - control1.push(_this.createRelationShip()); - //otherDoc.push(this.createDocument()); - // find business activity type businees activity type list - var activityData = _this.activityData.map(function (item) { return ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }); }); - if (activityData.length > 0) { - activityData.forEach(function (val) { - business_activity.push(_this.createBusinessActivity(val)); - }); - } - } - }); - // change business sessional - this.businessForm.controls['seasonality'].valueChanges.subscribe(function (val) { - val.toUpperCase() == 'YES' ? _this.businessForm.addControl('peak_period_of_business', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('peak_period_of_business'); - val.toUpperCase() == 'YES' ? _this.businessForm.addControl('month_of_business_run', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('month_of_business_run'); - }); - // if(this.businessForm.controls['gst_Regn_cert']){ - // this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic'); - // });} - // if(this.businessForm.controls['factory_cert']){ - // this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic'); - // });} - // if(this.businessForm.controls['practice_cert_cert']){ - // this.businessForm.controls['practice_cert_cert'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic'); - // });} - // if(this.businessForm.controls['shop_eat_act_cert']){ - // this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic'); - // });} - // if(this.businessForm.controls['pf_regn']){ - // this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic'); - // });} - // if(this.businessForm.controls['esic_regn']){ - // this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic'); - // });} - // if(this.businessForm.controls['export_import_cert']){ - // this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => { - // val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic'); - // }); - // } - }; - PdQuestionBusinessInfoPage.prototype.filterCity = function (datasource, filterid) { - // if(val){ - // console.log("val",val) - // return val - // } - if (filterid) { - console.log("val filter", filterid); - var filter = this.stateList.filter(function (x) { return x.state_id == filterid; }); - return filter.length > 0 ? filter[0].cities : []; - } - }; - PdQuestionBusinessInfoPage.prototype.filterCityData = function (datasource, filterid, index) { - console.log("test"); - console.log(filterid, index); - if (filterid) { - var filter = this.stateList.filter(function (x) { return x.state_id == filterid; }); - this.cityData[index] = filter.length > 0 ? filter[0].cities : []; - // this.filteredCity.next(this.cityData[index].slice()) - this.cityDataValue[index] = this.cityData[index].slice(); - console.log("filter ", this.cityDataValue[index]); - } - // console.log("City value",this.cityData[index]) - }; - // filter max sale options - PdQuestionBusinessInfoPage.prototype.filterMaxSaleState = function (datasource, filterValues) { - this.filterCityList = filterValues; - if (filterValues) { - var getOriginalStateList_1 = datasource.map(function (dval) { return dval.state_id; }); - var getStateValues = filterValues.filter(function (val) { return val.state_name; }).map(function (mapVal) { return mapVal.state_name; }); - var setStateFilter = []; - setStateFilter = getStateValues.map(function (x) { - var findIndex = getOriginalStateList_1.indexOf(x); - return datasource[findIndex]; - }); - return setStateFilter.length > 0 ? setStateFilter : []; - } - }; - PdQuestionBusinessInfoPage.prototype.filterMaxSaleCities = function (datasource, filterValues, selectedCites) { - if (filterValues) { - var setCityValues_1 = []; - var getOriginalStateList_2 = datasource.map(function (dval) { return dval.state_id; }); - filterValues.forEach(function (stateElement, statePos) { - selectedCites.forEach(function (existElement, existPos) { - if (stateElement == existElement.state_name && existElement.city_name.length > 0) { - var findIndex = getOriginalStateList_2.indexOf(stateElement); - findIndex = datasource[findIndex].cities; - var getAllCities = existElement.city_name.filter(function (cVal) { return cVal == "1"; }); - // this is for throuh out states city - if (getAllCities.length > 0) { - setCityValues_1 = setCityValues_1.concat.apply(setCityValues_1, findIndex); - // console.log("First",setCityValues) - } - else { - var check = findIndex.filter(function (fVal) { - return existElement.city_name.some(function (sVal) { - return fVal.city_id == sVal; - }); - }); - setCityValues_1 = setCityValues_1.concat.apply(setCityValues_1, check); - // console.log("second",setCityValues) - } - } - }); - }); - return setCityValues_1.length > 0 ? setCityValues_1.filter(function (fVal) { return fVal.city_id != "1"; }) : []; - } - else { - return []; - } - }; - // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { - // console.log(selectedCites) - // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name); - // console.log("selectd",existCities) - // existCities = [].concat.apply([], existCities); - // existCities.forEach(element=>{ - // if(element== 1){ - // } - // }) - // console.log("concat",existCities) - // if(filterValues){ - // let getOriginalStateList = datasource.map(dval => dval.state_id); - // console.log("Original map",getOriginalStateList) - // let setCityFilter = filterValues.map(x => { - // let findIndex = getOriginalStateList.indexOf(x); - // findIndex = datasource[findIndex].cities; - // return findIndex; - // }); - // console.log("findindex",setCityFilter) - // let merged = [].concat.apply([], setCityFilter); - // console.log("merge",merged) - // if(merged.length>0){ - // let check: any = merged.filter(function(fVal){ - // return existCities.some(function(sVal){ - // return fVal.city_id==sVal; - // }); - // }) - // console.log(check); - // return check; - // } - // else { - // return []; - // } - // } - // else { - // return []; - // } - // } - PdQuestionBusinessInfoPage.prototype.checkTotalEmployee = function (FormData) { - this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0)); - }; - // checkWithExistBusinessYear(e,i){ - // if(e > this.generalExistBusinessYear){ - // this.errorMessage[i] = "Higher than Business Vintage"; - // } - // else{ - // this.errorMessage[i] = ''; - // } - // } - PdQuestionBusinessInfoPage.prototype.checkWithExistBusinessYear = function (e, i, members) { - if (+e > this.generalExistBusinessYear) { - this.yearErrorMessage[i] = "Higher than Business Vintage"; - members.controls.current_business_experiance_year.setValue(''); - } - else { - this.yearErrorMessage[i] = ''; - } - }; - PdQuestionBusinessInfoPage.prototype.checkWithExistTotalWorkExperience = function (e, i, members) { - if (+members.value.current_business_experiance_year > +e) { - this.errorMessageForExistTotalWorkExperience[i] = "Total Experience is Lower Than Experience in The Current Company"; - members.controls.total_business_experiance.setValue(''); - } - else { - this.errorMessageForExistTotalWorkExperience[i] = ''; - } - }; - // businees activity type change event - PdQuestionBusinessInfoPage.prototype.changeBusinessActivity = function (event) { - if (event.value.exist_status == true && event.value.type_of_activity_id == 2) { - this.ManufacturingChecked = event.value.exist_status; - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - manufacturingControl.controls = []; - manufacturingControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) { - this.ManufacturingChecked = event.value.exist_status; - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - manufacturingControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 3) { - this.RetailedChecked = event.value.exist_status; - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - retailControl.controls = []; - retailControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) { - this.RetailedChecked = event.value.exist_status; - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - retailControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 4) { - this.WholeSalesChecked = event.value.exist_status; - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - wholesaleControl.controls = []; - wholesaleControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) { - this.WholeSalesChecked = event.value.exist_status; - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - wholesaleControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 5) { - this.ServiceChecked = event.value.exist_status; - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - serviceControl.controls = []; - serviceControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) { - this.ServiceChecked = event.value.exist_status; - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - serviceControl.push(this.manufactureDetails()); - } - // if(event.value.exist_status==true && event.value.type_of_activity_id==1){ - // let othersControl = this.businessForm.controls['others_activity_details']; - // othersControl.controls = []; - // othersControl.setValue([]); - // } - // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){ - // let othersControl = this.businessForm.controls['others_activity_details']; - // othersControl.push(this.createOthersActivity()); - // } - // check activity type for make dosument sighted filed dynamically - this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.export_import_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('export_import_cert'); - this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.factory_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('factory_cert'); - this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.practice_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('practice_cert'); - // check activity for extra question make dynamic - this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets'); - this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines'); - if (this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0) { - if (this.businessForm.controls['applicant_use_pos_machines'] && this.product_abbr == 'LAEP') { - this.businessForm.controls['applicant_use_pos_machines'].setValue('yes'); - } - this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines, 2); - } - if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) { - this.ExportFlag = false; - } - }; - PdQuestionBusinessInfoPage.prototype.changeManufacturingAreaSale = function (getDetails, getIndex) { - console.log('changeManufacturingAreaSale', getDetails.value.area_of_sale); - var control = this.businessForm.get('manufacturing_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - console.log('Within India', getDetails.value.area_of_sale); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - console.log('Export', getDetails.value.area_of_sale); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - console.log('Both', getDetails.value.area_of_sale); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - // change retail options - PdQuestionBusinessInfoPage.prototype.changeRetailAreaSale = function (getDetails, getIndex) { - var control = this.businessForm.get('retail_trading_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - // change whole options - PdQuestionBusinessInfoPage.prototype.changeWholesaleAreaSale = function (getDetails, getIndex) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - // change service provider - PdQuestionBusinessInfoPage.prototype.changeServiceArea = function (getDetails, getIndex) { - var control = this.businessForm.get('service_provider_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - PdQuestionBusinessInfoPage.prototype.changePanIndiaOptions = function (type, selectedIndex, value) { - if (type == 1) { - var control = this.businessForm.get('manufacturing_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - else if (type == 2) { - var control = this.businessForm.get('retail_trading_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - else if (type == 3) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - else if (type == 4) { - var control = this.businessForm.get('service_provider_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - }; - // update partner group other form control - PdQuestionBusinessInfoPage.prototype.changePartnerGroup = function (value, key) { - var control = this.businessForm.get('partners'); - value == 'Others' ? control.controls[key].addControl('partner_other_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[key].removeControl('partner_other_name'); - }; - PdQuestionBusinessInfoPage.prototype.createDesignation = function () { - return this.fb.group({ - sec_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - sec_designation: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionBusinessInfoPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionBusinessInfoPage.prototype.getWorkExperience = function (event, key) { - var current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year); - var total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance); - var control = this.businessForm.get('partners'); - if (total_experience > current_experience) { - control.controls[key].addControl('total_business_previous_experience', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else if (total_experience < current_experience) { - //control.controls[key].controls['total_business_experiance'].setValue(current_experience); - control.controls[key].removeControl('total_business_previous_experience'); - } - else { - control.controls[key].removeControl('total_business_previous_experience'); - } - // let total ; - // if(control.length > 0){ - // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0); - // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]); - // this.businessForm.controls.business_years.updateValueAndValidity(); - // } - }; - // Out of Total Export Sales what % of Sales is done in Albania? - PdQuestionBusinessInfoPage.prototype.getPlaceHolderName = function (id) { - var name = this.countryDataList.filter(function (value) { return value.country_id == id; }); - return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?'; - // return name[0].country_name +'?'; - }; - PdQuestionBusinessInfoPage.prototype.ConvertMonthintoYear = function (itemrow, e, i) { - console.log('datas', e, i); - var year = itemrow.controls.current_business_experiance_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month)); - // if (year > this.generalExistBusinessYear) { - // console.log('data') - // this.yearErrorMessage[i] = "Higher than Business Vintage"; - // itemrow.controls.current_business_experiance_year.setValue(''); - // itemrow.controls.current_business_experiance_month.setValue(''); - // } - // else { - // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { - // this.monthErrorMessage[i] = "Higher than Business Vintage"; - // itemrow.controls.current_business_experiance_year.setValue(''); - // itemrow.controls.current_business_experiance_month.setValue(''); - // } else { - // this.monthErrorMessage[i] = ''; - // this.yearErrorMessage[i] = ''; - // itemrow.controls.current_business_experiance_year.setValue(year); - // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month)); - // } - // } - }; - PdQuestionBusinessInfoPage.prototype.createPartners = function () { - return this.fb.group({ - partner_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - // partner_other_name:[''], - shareholding: [''], - started_business: [''], - current_business_experiance_year: [''], - current_business_experiance_month: [''], - total_business_experiance: [''], - }); - }; - PdQuestionBusinessInfoPage.prototype.createRelationShip = function () { - return this.fb.group({ - family_member_salutation: [''], - family_member_name: [''], - other_family_relationship_id: [''], - relation_to_id: [''], - relationship_with_company_id: [''], - started_business: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.createBusinessActivity = function (details) { - return this.fb.group({ - type_of_activity_id: [details.type_of_activity_id, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - name: [details.name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - exist_status: [details.exist_status == 1 ? true : false] - }); - }; - PdQuestionBusinessInfoPage.prototype.createServiceActivity = function () { - return this.fb.group({ - main_products: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - area_of_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - description: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.createOthersActivity = function () { - return this.fb.group({ - others_details: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])] - }); - }; - PdQuestionBusinessInfoPage.prototype.manufactureDetails = function () { - return this.fb.group({ - main_products: [''], - area_of_sale: [''], - description: [''] - // pan_india_options:[''], - // india_where_sale_done:this.fb.array([]), - //max_sale_state_name:this.fb.array([]), - //countries_where_export_done:this.fb.array([]) - }); - }; - PdQuestionBusinessInfoPage.prototype.indiaSalesDone = function () { - return this.fb.group({ - state_name: [''], - city_name: [''], - stateSearch: [''], - citySearch: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.maxSaleState = function () { - return this.fb.group({ - state_name: [''], - city_name: [''], - stateSearch: [''], - citySearch: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.createDocument = function () { - return this.fb.group({ - document: [''], - document_pic: [''], - }); - }; - PdQuestionBusinessInfoPage.prototype.addDesignation = function () { - var control = this.businessForm.controls['designation']; - control.push(this.createDesignation()); - }; - PdQuestionBusinessInfoPage.prototype.deleteDesignation = function (index) { - var control = this.businessForm.controls['designation']; - if (control.length == 1) { - this.businessForm.controls['designation'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionBusinessInfoPage.prototype.addPartnerDetails = function (event) { - var control = this.businessForm.controls['partners']; - event.stopPropagation(); - var length = control.length; - this.step = length; - control.push(this.createPartners()); - }; - PdQuestionBusinessInfoPage.prototype.addPersonRelationship = function (event) { - event.stopPropagation(); - var control = this.businessForm.controls['persons_with_relationships']; - var length = control.length; - this.step = length; - control.push(this.createRelationShip()); - }; - PdQuestionBusinessInfoPage.prototype.deletePersonRelationship = function (index) { - var control = this.businessForm.controls['persons_with_relationships']; - control.removeAt(index); - }; - PdQuestionBusinessInfoPage.prototype.deletePartnerDetails = function (index) { - var control = this.businessForm.controls['partners']; - if (control.length == 1) { - this.businessForm.controls['partners'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreManufacturing = function () { - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - manufacturingControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeManufacturing = function (index) { - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - if (manufacturingControl.length > 1) { - manufacturingControl.removeAt(index); - } - else { - manufacturingControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreRetail = function () { - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - retailControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeRetail = function (index) { - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - if (retailControl.length > 1) { - retailControl.removeAt(index); - } - else { - retailControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreWholesale = function () { - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - wholesaleControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeWholesale = function (index) { - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - if (wholesaleControl.length > 1) { - wholesaleControl.removeAt(index); - } - else { - wholesaleControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreServiceprovider = function () { - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - serviceControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeServiceProvider = function (index) { - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - if (serviceControl.length > 1) { - serviceControl.removeAt(index); - } - else { - serviceControl.reset(); - } - }; - // addMoreOthersActivity(){ - // let othersControl = this.businessForm.controls['others_activity_details']; - // othersControl.push(this.createOthersActivity()); - // } - PdQuestionBusinessInfoPage.prototype.createCountrySale = function () { - return this.fb.group({ - country_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - countrySearch: [''], - approx_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])] - }); - }; - PdQuestionBusinessInfoPage.prototype.addMoreState = function (mindex, type) { - if (type == 1) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - PdQuestionBusinessInfoPage.prototype.removeState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.removeAt(sindex); - } - }; - PdQuestionBusinessInfoPage.prototype.addRetailMoreState = function (rindex, type) { - if (type == 1) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[rindex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[rindex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - PdQuestionBusinessInfoPage.prototype.removeRetailState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.removeAt(sindex); - } - }; - // add more whole sale state - PdQuestionBusinessInfoPage.prototype.addWholesaleMoreState = function (windex, type) { - if (type == 1) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[windex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[windex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - // remove for whole sale - PdQuestionBusinessInfoPage.prototype.removeWholesaleState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.removeAt(sindex); - } - }; - // add more service provider - PdQuestionBusinessInfoPage.prototype.addServiceMoreState = function (sindex, type) { - if (type == 1) { - var control = this.businessForm.get('service_provider_activity_details'); - control = control.controls[sindex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('service_provider_activity_details'); - control = control.controls[sindex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - // remove service provider - PdQuestionBusinessInfoPage.prototype.removeServiceState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('service_provider_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control1 = this.businessForm.get('service_provider_activity_details'); - control1 = control1.controls[mindex].get('countries_where_export_done'); - control1.removeAt(sindex); - } - }; - PdQuestionBusinessInfoPage.prototype.addDocuments = function () { - var control = this.businessForm.controls['documents']; - control.push(this.createDocument()); - }; - PdQuestionBusinessInfoPage.prototype.deleteDocuments = function (index) { - var control = this.businessForm.controls['documents']; - if (control.length == 1) { - this.businessForm.controls['documents'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionBusinessInfoPage.prototype.UploadDocuments = function (index) { - var control = this.businessForm.controls['documents']; - var control_with_index = control.controls[index]; - this.cameraProvider.getpicture().then(function (res) { - control_with_index.controls['document_pic'].setValue(res != 'error' ? res : ''); - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - }; - PdQuestionBusinessInfoPage.prototype.relationChanged = function (event) { - var _this = this; - this.relativeNames = []; - event.value.forEach(function (option) { - _this.relativeNames.push({ member: option }); - }); - }; - PdQuestionBusinessInfoPage.prototype.createPOSMachinesDetails = function (data) { - if (data == null) { - return this.fb.group({ - pos_machines_financial_institution_name: [''], - bankSearch: [''], - tid_no_of_pos_machine: [''], - }); - } - else { - return this.fb.group({ - pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name], - bankSearch: [''], - tid_no_of_pos_machine: [data.tid_no_of_pos_machine], - }); - } - }; - PdQuestionBusinessInfoPage.prototype.initBusinessForm = function () { - this.businessForm = this.fb.group({ - parent_pdid: this.pdDetails.parent_pd_id, - pdid: this.pdDetails.pd_id, - formid: this.FormId, - fk_createdby: this.users, - profession_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - business_years: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - industry: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - type_of_activity: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - seasonality: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - designation: this.fb.array([]), - partners: this.fb.array([]), - employees_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - invested_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - working_capital: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - is_service_provided: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - ownership_setup: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - ownership_others: [''], - rent_paid: [''], - shop_eat_act_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - gst_Regn_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - export_import_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - factory_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - practice_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - pf_regn: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - esic_regn: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - other_documents: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - documents: this.fb.array([]), - business_remarks: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - who_started: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - main_person: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - other_main_person: [''], - family_members_involved: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - before_business: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - any_delays: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionBusinessInfoPage.prototype.submitDetails = function () { - var _this = this; - if (this.businessForm.controls['export_sale_of_total_sales'].invalid) { - this.toast.pdTriggerappmessage("Please enter a value between 0 and 100 in export sale as a % total sales"); - return; - } - // if(this.businessForm.controls['export_sale_of_total_sales']){ - // if(this.businessForm.controls['export_sale_of_total_sales'].value > 100 || this.businessForm.controls['export_sale_of_total_sales'].value < 0){ - // } - // } - if (this.EntityTypeFlag == true) { - var control_1 = this.businessForm.controls['partners']; - var control2 = control_1.controls[0]; - control2.controls['shareholding'].clearValidators(); - control2.controls['shareholding'].updateValueAndValidity(); - control2.controls['shareholding'].setValue('100'); - // control.controls[0].removeControl('shareholding'); - // control.controls[0].removeControl('started_business'); - // control.controls[0].removeControl('current_business_experiance_year'); - // control.controls[0].removeControl('current_business_experiance_month'); - // control.controls[0].removeControl('total_business_experiance'); - // control2.controls['started_business'].setValue(''); - // control2.controls['current_business_experiance_year'].clearValidators(); - // control2.controls['current_business_experiance_year'].updateValueAndValidity(); - // control2.controls['current_business_experiance_year'].setValue(''); - // control2.controls['current_business_experiance_month'].setValue(''); - // control2.controls['total_business_experiance'].clearValidators(); - // control2.controls['total_business_experiance'].updateValueAndValidity(); - // control2.controls['total_business_experiance'].setValue(''); - // if(control2.controls['total_business_previous_experience'].value !=undefined){ - // control2.controls['total_business_previous_experience'].clearValidators(); - // control2.controls['total_business_previous_experience'].updateValueAndValidity(); - // control2.controls['total_business_previous_experience'].setValue('0'); - // } - } - var control = this.businessForm.get('manufacturing_activity_details'); - console.log("manufacture", control); - // control.controls.forEach(element=>{ - // if(element.controls['india_where_sale_done']){ - // element.controls - // } - // }) - var family = []; - var design; - //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users}; - var records; - // records.pdid = this.pdDetails.pd_id; - // records.formid = this.FormId; - // records.fk_createdby = this.users; - records = this.businessForm.value; - //if(records.persons_with_relationships=='') - if (records.other_documents == 'no') { - delete records.documents; - } - if (records.rent_paid == '') { - delete records.rent_paid; - } - if (records.ownership_others == '') { - delete records.ownership_others; - } - // records.family_members_involved = this.relativeNames; - if (!this.EntityTypeFlag) { - var count_1 = 0; - if (records.partners.length > 0) { - records.partners.forEach(function (element) { - console.log(element); - count_1 += element.shareholding; - }); - } - if (count_1 >= 101) { - this.toast.pdTriggerappmessage("Share Holding is Greater than 100 %"); - // this.businessForm.get('shareholding').value.setFocus() - //this.businessForm.controls['partners'] - console.log(this.businessForm.controls); - // const control=this.businessForm.controls['partners'] as FormArray - this.share_focus.nativeElement.focus(); - //control.get('shareholding').Focus() - // this.businessForm.get('business_remarks').value.setFocus() - return; - } - } - var validationFlag = 0; - //type 1: Checking manufacturing_activity_details - if (records.manufacturing_activity_details.length > 0) { - records.manufacturing_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = ManufacturingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //type 3 checking wholesale_trading_activity_details - if (records.wholesale_trading_activity_details.length > 0) { - records.wholesale_trading_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = WholesaleTradingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //type 2 checking retail_trading_activity_details - if (records.retail_trading_activity_details.length > 0) { - records.retail_trading_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = RetailTradingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //type 4 checking service_provider_activity_details - if (records.service_provider_activity_details.length > 0) { - records.service_provider_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = ServiceProviderArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //validationFlag is greater then 0 means its display the notifer as warning - if (validationFlag > 0) { - this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"); - return; - } - records.select_business_activity_type = records.select_business_activity_type.filter(function (value) { return value.exist_status == 1; }); - if (records.pos_machines_details) { - records.pos_machines_details.forEach(function (value) { - delete value.bankSearch; - }); - } - // if(records.manufacturing_activity_details.length > 0){ - // records.manufacturing_activity_details.forEach((val,index) => { - // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray; - // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray; - // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray; - // if(val.area_of_sale != "Export"){ - // if(val.india_where_sale_done.length > 0){ - // val.india_where_sale_done.forEach((vals,inx) => { - // childCtrl1.controls[inx].removeControl('citySearch'); - // delete vals.citySearch; - // childCtrl1.controls[inx].removeControl('stateSearch'); - // delete vals.stateSearch; - // }); - // } - // if(val.max_sale_state_name.length > 0){ - // val.max_sale_state_name.forEach((vals,inx) => { - // childCtrl2.controls[inx].removeControl('citySearch'); - // childCtrl2.controls[inx].removeControl('stateSearch'); - // }); - // } - // } - // }); - // } - // console.log('records',records); - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.businessForm.markAsUntouched(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 3000); - } - }); - }; - PdQuestionBusinessInfoPage.prototype.getBuisnessDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId }; - this.qustCat.retiverForm(records).subscribe(function (data) { - var businessVal = data['records']; - var constVal; - var Desgn = _this.businessForm.controls['designation']; - var Partnr = _this.businessForm.controls['partners']; - var otherDoc = _this.businessForm.controls['documents']; - if (data['status'] == 200) { - var DocArray = void 0; - var DesgnArray = Object.keys(data['records'].designation).map(function (key) { - return data['records'].designation[key]; - }); - var PartnrArray = Object.keys(data['records'].partners).map(function (key) { - return data['records'].partners[key]; - }); - var selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) { - return data['records'].family_members_involved[key]; - }); - var enduse_1 = []; - var existRelative_1 = []; - selectedMembers.forEach(function (val) { - enduse_1.push(val.member); - existRelative_1.push(val); - }); - _this.relativeNames = existRelative_1; - if (DesgnArray.length == 0) { - Desgn.push(_this.createDesignation()); - } - else { - DesgnArray.forEach(function (datas) { - Desgn.push(_this.createDesignation()); - }); - } - if (PartnrArray.length == 0) { - Partnr.push(_this.createPartners()); - } - else { - PartnrArray.forEach(function (datas) { - Partnr.push(_this.createPartners()); - }); - } - if (data['records'].other_documents == 'yes') { - DocArray = Object.keys(data['records'].documents).map(function (key) { - return data['records'].documents[key]; - }); - DocArray.forEach(function (datas) { - otherDoc.push(_this.createDocument()); - }); - } - else { - DocArray = [{ document: '', document_pic: '' }]; - otherDoc.push(_this.createDocument()); - } - if (data['records'].ownership_setup != 'others') { - businessVal.ownership_others = ''; - } - if (data['records'].ownership_setup != 'rented') { - businessVal.rent_paid = ''; - } - businessVal.family_members_involved = enduse_1; - businessVal.parent_pdid = _this.pdDetails.parent_pd_id; - businessVal.pdid = _this.pdDetails.pd_id; - businessVal.formid = _this.FormId; - businessVal.fk_createdby = _this.users; - businessVal.designation = DesgnArray; - businessVal.partners = PartnrArray; - businessVal.documents = DocArray; - _this.businessForm.setValue(businessVal); - } - else { - Desgn.push(_this.createDesignation()); - Partnr.push(_this.createPartners()); - otherDoc.push(_this.createDocument()); - } - }); - }; - PdQuestionBusinessInfoPage.prototype.setStep = function (index) { - this.step = index; - }; - PdQuestionBusinessInfoPage.prototype.inWords = function (e, flag) { - switch (flag) { - case 1: - this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value); - break; - } - }; - PdQuestionBusinessInfoPage.prototype.CheckExport = function (value, stringFlag, index) { - //this.ExportFlag=false - var parentControl = this.businessForm.controls['select_business_activity_type']; - var childControl = parentControl.controls[0]; - // childControl.forEach((datas,index) => { - // // exist_status==true && event.value.type_of_activity_id - // }); - if (!this.ManufacturingChecked) { - // console.log("Manu") - if (stringFlag == 'MActivity' && value == "Both") { - this.ManufacturingCounterArray[index] = 1; - } - else if (stringFlag == 'MActivity' && value != "Both") { - this.ManufacturingCounterArray[index] = 0; - } - } - else if (this.ManufacturingChecked && stringFlag == 'MActivity') { - // console.log("manu"); - this.ManufacturingCounterArray[index] = 0; - } - if (!this.RetailedChecked) { - if (stringFlag == 'RActivity' && value == "Both") { - this.RetailCounterArray[index] = 1; - } - else if (stringFlag == 'RActivity' && value != "Both") { - this.RetailCounterArray[index] = 0; - } - } - else if (stringFlag == 'RActivity' && this.RetailedChecked) { - this.RetailCounterArray[index] = 0; - } - if (!this.WholeSalesChecked) { - if (stringFlag == 'WActivity' && value == "Both") { - this.WholeSaleCounterArray[index] = 1; - } - else if (stringFlag == 'WActivity' && value != "Both") { - this.WholeSaleCounterArray[index] = 0; - } - } - else if (stringFlag == 'WActivity' && this.WholeSalesChecked) { - this.WholeSaleCounterArray[index] = 0; - } - if (!this.ServiceChecked) { - if (stringFlag == 'SPActivity' && value == "Both") { - this.ServiceCounterArray[index] = 1; - } - else if (stringFlag == 'SPActivity' && value != "Both") { - this.ServiceCounterArray[index] = 0; - } - } - else if (stringFlag == 'SPActivity') { - this.ServiceCounterArray[index] = 0; - } - var SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var SumOfRetailCounter = this.RetailCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var SumOfServiceCounter = this.ServiceCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter; - this.ExportFlag = overallCounter > 0 ? true : false; - // console.log(this.ExportFlag); - //console.log(overallCounter) - }; - PdQuestionBusinessInfoPage.prototype.changePOSMachinesAvailablity = function (e, flag) { - e == 'yes' - ? this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) - : this.businessForm.removeControl('no_of_pos_machines'); - if (flag == 2) { - e == 'yes' - ? this.businessForm.controls.no_of_pos_machines.setValue('') - : this.businessForm.removeControl('no_of_pos_machines'); - } - }; - PdQuestionBusinessInfoPage.prototype.toGetPOSMachinesDetails = function (e, flag) { - if (flag == 1) { - this.businessForm.addControl('pos_machines_details', this.fb.array([])); - } - var control = this.businessForm.controls['pos_machines_details']; - while (control.length !== 0) { - control.removeAt(0); - } - if (e > 0) { - if (flag == 1) { - for (var i = 1; i <= e; i++) { - control.push(this.createPOSMachinesDetails(null)); - } - } - else if (flag == 2) { - for (var i = 1; i <= e; i++) { - control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine)); - } - } - } - }; - // searchCountriesList(control:any,i:number){ - // if(!this.countryDataList){ - // return - // } - // let searchVal=control.controls['countrySearch'].value - // if(!searchVal){ - // this.countryDataListValue=this.countryDataList.slice() - // return - // } - // else{ - // searchVal=searchVal.toLowerCase(); - // this.countryDataListValue=this.countryDataList.filter(val=>val.country_name.toLowerCase().indexOf(searchVal)>-1) - // } - // } - PdQuestionBusinessInfoPage.prototype.searchFun = function (control, i, option) { - var _this = this; - if (option == 'country') { - console.log('option', option, control); - control.controls['countrySearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchCountries(control.controls['countrySearch'].value); - }); - } - if (option == 'city') { - // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name) - control.controls['citySearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.SearchCity(control.controls['citySearch'].value, i); - }); - } - if (option == 'state') { - // console.log("state") - control.controls['stateSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.searchState(control.controls['stateSearch'].value); - }); - } - //For Pos bank search using constant provider - if (option == 'bank') { - console.log("bank", control.controls['bankSearch'].value); - control.controls['bankSearch'].valueChanges - .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) - .subscribe(function () { - _this.bankListValue = _this.cons.searchData(_this.bankList, control.controls['bankSearch'].value, option); - }); - } - }; - PdQuestionBusinessInfoPage.prototype.SearchCity = function (val, i) { - // let cityData= - // console.log(this.cityData[i]) - if (!this.cityData[i]) { - return; - } - var searchValue = val; - if (!searchValue) { - this.cityDataValue[i] = this.cityData[i].slice(); - return; - } - else { - searchValue = searchValue.toLowerCase(); - } - this.cityDataValue[i] = - this.cityData[i].filter(function (val) { return val.city_name.toLowerCase().indexOf(searchValue) > -1; }); - // console.log("City Data value",this.cityDataValue[i]) - // this.filterCity('',1,this.cityData[i]) - // this.filteredCity.next( - // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) - // ) - }; - PdQuestionBusinessInfoPage.prototype.searchState = function (val) { - console.log("statedata"); - if (!this.stateList) { - return; - } - var searchVal = val; - if (!searchVal) { - this.filteredState.next(this.stateList.slice()); - return; - } - else { - searchVal = searchVal.toLowerCase(); - } - this.filteredState.next(this.stateList.filter(function (res) { return res.state_name.toLowerCase().indexOf(searchVal) > -1; })); - }; - PdQuestionBusinessInfoPage.prototype.searchCountries = function (val) { - console.log("Countrydata"); - if (!this.countryDataList) { - return; - } - var searchVal = val; - if (!searchVal) { - this.filteredCountry.next(this.countryDataList.slice()); - return; - } - else { - searchVal = searchVal.toLowerCase(); - } - this.filteredCountry.next(this.countryDataList.filter(function (val) { return val.country_name.toLowerCase().indexOf(searchVal) > -1; })); - }; - /*IMAGE SECTION*/ - PdQuestionBusinessInfoPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionBusinessInfoPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBusinessInfoPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBusinessInfoPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionBusinessInfoPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionBusinessInfoPage.prototype.capture = function (value) { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - if (value != '') { - if (_this.imageBucket.length != 0) { - _this.imageBucket.forEach(function (res, index) { - if (res.Name == value) { - console.log("res[index]", res[index]); - delete res[index]; - } - _this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates }); - }); - } - _this.imageBucket.push({ 'image': res, 'Name': value, 'link': geoCoordinates }); - } - else { - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert_1 = _this.toast.setAlertForDocName(); - alert_1.present(); - alert_1.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - } // Else End - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionBusinessInfoPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("about business - Images bucket", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("about Business images ", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - console.log('response records', res, res['record']); - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionBusinessInfoPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('partner_other_name').value; - value.get('partner_other_name').setValue(this.cons.sentenceCase(name)); - }; - PdQuestionBusinessInfoPage.prototype.ImageUpload = function (Flag) { - var _this = this; - this.cameraProvider.getpicture().then(function (res) { - if (Flag == 1) { - _this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 2) { - _this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 3) { - _this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 4) { - _this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 5) { - _this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); - } // alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 6) { - _this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 7) { - _this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - if (Flag == 8) { - _this.businessForm.controls.fire_noc_pic.setValue(res != 'error' ? res : ''); - } //alert('Inside Mobile Upload Function' + Flag);} - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - }; - PdQuestionBusinessInfoPage.prototype.radioChange = function (event, Flag) { - if (Flag == 1) { - event.value == 'yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('shop_eat_act_cert_pic'); - } - if (Flag == 2) { - event.value == 'yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('gst_Regn_cert_pic'); - } - if (Flag == 4) { - event.value == 'yes' ? this.businessForm.addControl('factory_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('factory_cert_pic'); - } - if (Flag == 5) { - event.value == 'yes' ? this.businessForm.addControl('practice_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('practice_cert_pic'); - } - if (Flag == 6) { - event.value == 'yes' ? this.businessForm.addControl('pf_regn_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('pf_regn_pic'); - } - if (Flag == 7) { - event.value == 'yes' ? this.businessForm.addControl('esic_regn_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('esic_regn_pic'); - } - if (Flag == 3) { - event.value == 'yes' ? this.businessForm.addControl('export_import_cert_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('export_import_cert_pic'); - } - if (Flag == 8) { - event.value == 'yes' ? this.businessForm.addControl('fire_noc_pic', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : this.businessForm.removeControl('fire_noc_pic'); - } - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('shareholding'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionBusinessInfoPage.prototype, "share_focus", void 0); - PdQuestionBusinessInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-info\pd-question-business-info.html"*/'\n\n\n\n \n\n \n\n {{formdetails.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n
{{businessEntityTypeList.section_label }} # {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n {{app.applicant_name}}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n

No of Years in Current Business

\n\n \n\n \n\n {{yearErrorMessage[i]}}\n\n   \n\n \n\n \n\n {{monthErrorMessage[i]}}\n\n \n\n \n\n \n\n {{errorMessageForExistTotalWorkExperience[i]}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n
\n\n\n\n

\n\n
\n\n\n\n\n\n
\n\n\n\n
\n\n

Add Other Family Members Involved in Business

\n\n \n\n \n\n \n\n \n\n \n\n
Family Member #{{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n {{title.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{member.name\n\n + \' Of\' | titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{member.applicant_name\n\n | titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{comrelship.name\n\n | titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n

\n\n \n\n Type of Business Activity\n\n \n\n
\n\n\n\n {{entityType.controls.name.value\n\n | titlecase}}\n\n\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
\n\n
Manufacturing Details {{i+1}}
\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{Cl.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for\n\n {{manufacturing.value.main_products}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n
Within India
\n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n\n\n\n\n\n\n
\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for\n\n {{manufacturing.value.main_products}}\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n
\n\n\n\n \n\n Description of {{manufacturing.value.main_products}} Manufacturing Process\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n
Retail Trading Details {{r+1}}
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n\n\n \n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n\n\n \n\n Countries Where Export Is Being Done for\n\n {{retail.value.main_products}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n\n\n
\n\n
\n\n\n\n \n\n

Within India

\n\n\n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{retail.value.main_products}}\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for\n\n {{retail.value.main_products}}\n\n\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n\n\n\n\n\n\n
\n\n\n\n \n\n Description of {{retail.value.main_products}} Retailing\n\n process\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n\n\n
\n\n\n\n\n\n \n\n\n\n
\n\n
\n\n \n\n
Wholesale Trade Details {{w+1}}
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n\n\n \n\n Countries Where The Export Is Being Done for\n\n {{wholesale.value.main_products}}\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n\n\n
\n\n
\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n

Within India

\n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n\n\n\n\n \n\n

\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n Select\n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n\n\n Countries Where The Export Is Being Done for\n\n {{wholesale.value.main_products}}\n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n

\n\n \n\n
\n\n\n\n\n\n
\n\n\n\n
\n\n \n\n \n\n Description of {{wholesale.value.main_products}} Wholesale\n\n process \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n \n\n
\n\n
\n\n \n\n
Service Provider Details {{sp+1}}
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Revenue From Services for\n\n {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n Cities Where Max Revenue From Services for\n\n {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n\n\n \n\n Countries Where The Export Is Being Done for\n\n {{serviceprovider.value.main_products}}\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n
\n\n \n\n\n\n

Within India

\n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n\n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n States Where Max Revenue From Services for\n\n {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Revenue From Services for\n\n {{serviceprovider.value.main_products}}\n\n\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for\n\n {{serviceprovider.value.main_products}}\n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n\n\n \n\n \n\n Description of {{serviceprovider.value.main_products}} Service Process\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n \n\n\n\n \n\n \n\n Export Sale As a % Total Sales\n\n \n\n \n\n \n\n \n\n Please enter a value between 0 and 100\n\n Please enter a value between 0 and 100\n\n \n\n \n\n \n\n\n\n \n\n \n\n Digital Payments\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n Machine Details {{i+1}}\n\n \n\n \n\n \n\n Select \n\n \n\n \n\n \n\n \n\n Select\n\n {{b.lender_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n \n\n \n\n Seasonality\n\n \n\n \n\n
\n\n\n\n

Is The Business Seasonal

\n\n \n\n\n\n Yes\n\n No Major Changes In Sales\n\n\n\n\n\n \n\n \n\n Months in which sales/service is low?\n\n \n\n January\n\n February\n\n March\n\n April\n\n May\n\n June\n\n July\n\n August\n\n September\n\n October\n\n November\n\n December\n\n\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n\n\n \n\n
\n\n\n\n\n\n
\n\n
\n\n\n\n \n\n \n\n Employees As Per Applicant \n\n\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{appxSalaryAmtInwords}} Only\n\n\n\n \n\n \n\n \n\n \n\n \n\n No of Employees Sighted By PD Officer During His Visit \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n Documents Sighted \n\n \n\n \n\n \n\n \n\n \n\n

Shop and Est Act Cert

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n

GST Regn Cert

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n

Export / Import cert

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n

Factory Cert

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n\n\n \n\n \n\n

Cert of Practice

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n

PF Regn

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n

ESIC Regn

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n

Fire NOC

\n\n \n\n\n\n Yes\n\n No\n\n NA\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n

Do You Want to Add Other Documents?

\n\n \n\n\n\n Yes\n\n No\n\n\n\n\n\n\n\n \n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n\n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n
\n\n
\n\n\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-info\pd-question-business-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__["a" /* ConstantsProvider */], - __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */]]) - ], PdQuestionBusinessInfoPage); - return PdQuestionBusinessInfoPage; -}()); - -//# sourceMappingURL=pd-question-business-info.js.map - -/***/ }), - -/***/ 402: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessAssetsPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionBusinessAssetsPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessAssetsPage = (function () { - function PdQuestionBusinessAssetsPage(navCtrl, navParams, aws, fb, qustcat, cons, toast, loading, cameraProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustcat = qustcat; - this.cons = cons; - this.toast = toast; - this.loading = loading; - this.cameraProvider = cameraProvider; - this.currentYear = new Date().getFullYear(); - this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, - { 'value': "no", 'viewValue': "No" }, - { 'value': "nan", 'viewValue': "NA" }]; - this.AssetValueInwords = []; - this.appxMarketAmtInwords = []; - this.RentAmtInwords = []; - this.mergeCompanyApplicant = []; - this.existCompanyList = []; - this.yearErrorMessage = []; - this.monthErrorMessage = []; - this.addressLabel = []; - this.placeholderName = []; - this.m_address_type = []; - this.RentAmtInwordsForAddress = []; - this.appxMarketAmtInwordsForAddress = []; - this.isOtherOwnerForAddress = false; - this.isOtherOwner = false; - this.addressType = ''; - this.m_vehicle_type = []; - this.cityArr = []; - this.pinArr = []; - this.m_state_for_address = []; - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.addressList = []; - this.apiLoadFinish = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.company_id = this.pdDetails.company_id; - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.generalExistBusinessYear = this.pdDetails.business_years; - this.generalExistBusinessMonth = this.pdDetails.business_month; - this.pageTitle = this.pdDetails.company_name + ' - ' + this.pageTitle; - this.main_applicant = this.pdDetails.applicant_name; - this.lender_applicant_id = this.pdDetails.lender_applicant_id; - this.subproduct_abbr = this.pdDetails.subproduct_abbr; - this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; - this.getDropDown(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionBusinessAssetsPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessAssetsPage'); - this.getDetails(); - //this.getAddress() - this.getPDImages(); - }; - PdQuestionBusinessAssetsPage.prototype.chooseAddress = function () { - var _this = this; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = '5'; - this.qustcat.retiverForm(params).subscribe(function (data) { - var control = _this._businessAssetsQuesFrom.controls['business_assets_for_address']; - if (data['status'] == 200) { - if (data['records'].is_pd_done_on_initiated_address) { - console.log("kd", data['records']); - } - } - }); - }; - PdQuestionBusinessAssetsPage.prototype.getAddress = function (flag) { - var _this = this; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = '5'; - this.qustcat.retiverForm(params).subscribe(function (data) { - var control = _this._businessAssetsQuesFrom.controls['business_assets_for_address']; - if (data['status'] == 200) { - if (flag == 1) { - var initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true; - _this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' }); - if (initiated_address_check == false) { - _this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' }); - } - } - if (flag == 2) { - var dataOfAddress = data['records'].addresses.filter(function (item) { return item.isactive == 1; }); - _this.addressList.push({ key_name: 'initiate_address', value: data['records'].addresses[0].address, description: 'Initiated Address' }); - var initiated_address_check = data['records'].hasOwnProperty('is_pd_done_on_initiated_address') ? data['records'].is_pd_done_on_initiated_address : true; - if (initiated_address_check == true && data['records'].addresses.length > 0) - if (initiated_address_check == true && data['records'].addresses.length > 0) { - data['records'].addresses.forEach(function (data, inx) { - _this.addressLabel[inx] = ''; - console.log("address", data); - _this.qustcat.getStateWiseCities(data.state).subscribe(function (res) { - if (res.dataStatus == true) { - console.log("state", res); - _this.cityArr = res.records.cities; - _this.pinArr = res.records.pincode; - var selectedAddressType = _this.m_address_type.filter(function (element) { return element.address_type_id == data.address_type; })[0]; - var selectedState = _this.m_state_for_address.filter(function (element) { return element.state_id == data.state; })[0]; - var selectedCity = _this.cityArr.filter(function (element) { return element.city_id == data.city; })[0]; - var selectedPincode = _this.pinArr.filter(function (element) { return element.pincode_id == data.pincode; })[0]; - console.log(selectedCity); - if (selectedAddressType != '' && selectedAddressType != undefined) { - _this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; - } - else { - _this.addressType = ''; - } - var address = data.address + ' , ' + selectedCity.city_name + ',' + selectedState.name + '-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode); - // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0]; - // let address = data.address; - // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; - _this.placeholderName[inx] = 'Was any business activity seen at the ' + _this.addressType + ' during PD visit?'; - //console.log(this.placeholderName) - var addressLabel = " : " + address + ' / ' + _this.addressType; - console.log("dd", addressLabel); - var values = { - address_label: addressLabel, - business_years: '', - business_month: '', - business_address_availability: '', - business_is_pd_visited: '', - business_pd_visited_remark: '', - business_approximate_market_value: '', - business_ownership_type: '', - business_monthly_rented_amt: '', - business_name_of_the_owner: '', - business_name_of_the_other_owner: '', - business_vintage: '', - business_purchase_year: '', - business_emi: '' - }; - console.log('this.addressType', _this.addressType); - control.push(_this.initBusinessDetailsWithdata(values)); - } - }); - }); - } - else if (initiated_address_check == true && data['records'].alternative_addresses.length > 0) { - _this.addressList.push({ key_name: 'alternative_addresses', value: data['records'].alternative_addresses[0].alternative_address, description: 'Alternative Address' }); - data['records'].alternative_address.forEach(function (data, inx) { - _this.qustcat.getStateWiseCities(data.state).subscribe(function (res) { - if (data['status'] == 200) { - console.log("state", res); - _this.cityArr = res.records.cities; - _this.pinArr = res.records.pincode; - var selectedAddressType = _this.m_address_type.filter(function (element) { return element.address_type_id == data.address_type; })[0]; - var selectedState = _this.m_state_for_address.filter(function (element) { return element.state_id == data.state; })[0]; - var selectedCity = _this.cityArr.filter(function (element) { return element.city_id == data.city; })[0]; - var selectedPincode = _this.pinArr.filter(function (element) { return element.pincode_id == data.pincode; })[0]; - console.log(selectedCity); - if (selectedAddressType != '' && selectedAddressType != undefined) { - _this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; - } - else { - _this.addressType = ''; - } - var address = data.address + ' , ' + selectedCity.city_name + ',' + selectedState.name + '-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode); - // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0]; - // let address = data.address; - // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; - _this.placeholderName[inx] = 'Was any business activity seen at the ' + _this.addressType + ' during PD visit?'; - //console.log(this.placeholderName) - var addressLabel = " : " + address + ' / ' + _this.addressType; - console.log("dd", addressLabel); - var values = { - address_label: addressLabel, - business_years: '', - business_month: '', - business_address_availability: '', - business_is_pd_visited: '', - business_pd_visited_remark: '', - business_approximate_market_value: '', - business_ownership_type: '', - business_monthly_rented_amt: '', - business_name_of_the_owner: '', - business_name_of_the_other_owner: '', - business_vintage: '', - business_purchase_year: '', - business_emi: '' - }; - console.log('this.addressType', _this.addressType); - control.push(_this.initBusinessDetailsWithdata(values)); - } - }); - }); - } - else { - control.push(_this.initBusinessDetails()); - } - } - } - else { - control.push(_this.initBusinessDetails()); - } - }); - console.log("address List data", this.addressList); - }; - PdQuestionBusinessAssetsPage.prototype.AutoCompleteUpdateFun = function (property_id, event, i) { - if (event != '') { - var getList = this.addressList.map(function (dval) { return dval.value.replace(/\s/g, "").toLowerCase(); }); - var getkeyname = this.addressList.map(function (dval) { return dval.key_name; }); - var findName = this.m_address_type.find(function (x) { return x.address_type_id == property_id; }); - // console.log(getkeyname.indexOf(i)); - var evt = event.replace(/\s/g, "").toLowerCase(); - var keyexist = this.addressList.find(function (ob) { return ob['key_name'] === i; }); - if (keyexist === undefined || keyexist === null && !getList.includes(evt)) { - console.log('push on this'); - this.addressList.push({ key_name: i, value: event, description: findName.address_type + ' At Index ' + i }); - } - else { - var Index = getkeyname.indexOf(i); - this.addressList[Index] = { key_name: i, value: event, description: findName.address_type + ' At Index ' + i }; - console.log('update on this => Index', Index); - } - console.log('at Final add or update ', this.addressList); - } - }; - PdQuestionBusinessAssetsPage.prototype.removeOptionOnAutoComplete = function (index) { - var getkeyname = this.addressList.map(function (dval) { return dval.key_name; }); - var Index = getkeyname.indexOf(index); - if (Index !== -1) { - this.addressList.splice(Index, 1); - } - console.log('at Final remove', this.addressList); - }; - PdQuestionBusinessAssetsPage.prototype.getDropDown = function () { - var _this = this; - this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(function (data) { - _this.m_address_type = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustcat.getcommondrop('VEHICLETYPE').subscribe(function (data) { - _this.m_vehicle_type = data['records'].filter(function (data) { return data.is_active == 1; }); - }); - this.qustcat.getcommondrop('ASSETTYPE').subscribe(function (data) { - _this.m_assets_type = data['records'].filter(function (val) { return val.isactive == 1 && val.flag == 1; }); - }); - this.qustcat.getcommondrop('PROPERTIES').subscribe(function (data) { - _this.m_propertyType = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (data) { - if (data.dataStatus) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active == true; }); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - var modifyApplicantList = []; - if (_this.applicants.length > 0) { - modifyApplicantList = _this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - } - }); - this.qustcat.getcommondrop('STATE').subscribe(function (data) { - _this.m_state_for_address = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - }; - PdQuestionBusinessAssetsPage.prototype.getDetails = function () { - var _this = this; - var params = {}; - params.parent_pdid = this.pdDetails.parent_pd_id; - params.pd_id = this.pdDetails.pd_id; - params.company_id = this.company_id; - params.pd_form_id = 22; - this.qustcat.retiverForm(params).subscribe(function (res) { - if (res['dataStatus'] == true) { - //this.data_all=res['records'] - /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){ - return res['records'].business_assets_details[key] - }); - - //this.formLoadData(assestArray) - this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark); - if(assestArray.length>0){ - for(let val of assestArray){ - let formData={ - business_assets_mode: val.business_assets_mode, - business_approximate_market_value: val.business_approximate_market_value, - business_name_of_the_owner: val.business_name_of_the_owner, - business_name_of_the_other_owner: val.business_name_of_the_other_owner, - business_purchase_year: val. business_purchase_year, - business_vintage : val.business_vintage, - business_emi: val.business_emi, - }; - const control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.push(this.initBusinessDetailsWithdata(formData)); - this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1) - } - }*/ - _this.formLoadData(res['records']); - } - else { - _this.formLoadData(null); - } - _this.apiLoadFinish = true; - }); - //this.formLoadData(null); - }; - PdQuestionBusinessAssetsPage.prototype.formLoadData = function (data) { - if (data == null) { - this._businessAssetsQuesFrom = this.fb.group({ - parent_pdid: [this.pdDetails.parent_pd_id], - pdid: [this.pdDetails.pd_id], - /* formid: ['22'],*/ - formid: [this.formDetails.form_id], - company_id: [this.company_id], - fk_createdby: [this.users], - business_assets_for_address: this.fb.array([]), - //this.createBusinessAssetsForAddress(), - business_assets_details: this.fb.array([ - this.initBusinessDetails(), - ]), - business_assets_form_remark: [''] - }); - this.getAddress(2); - this.loadDetails = true; - } - else { - this.getAddress(1); - var value = data; - this._businessAssetsQuesFrom = this.fb.group({ - parent_pdid: [this.pdDetails.parent_pd_id], - pdid: [this.pdDetails.pd_id], - /* formid: ['22'],*/ - formid: [this.formDetails.form_id], - company_id: [this.company_id], - fk_createdby: [this.users], - // business_years:[value.business_years], - // business_month:[value.business_month], - // business_address_availability:[value.business_address_availability], - // business_is_pd_visited:[value.business_is_pd_visited], - // business_pd_visited_remark:[value.business_pd_visited_remark], - business_assets_for_address: this.fb.array([]), - business_assets_details: this.fb.array([]), - business_assets_form_remark: [value.business_assets_form_remark || ''] - }); - // if (value.business_assets_for_address.business_address_availability == 'yes') { - // this.addBusinessAssetsForAddress(value.business_assets_for_address); - // } - // else { - // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - // control.push(this.createBusinessAssetsForAddress()); - // } - // this.addBusinessAssetsDetailsWithData(value.business_assets_details); - this.addBusinessAssetsForAddress(value.business_assets_for_address); - this.addBusinessAssetsDetailsWithData(value.business_assets_details); - } - this.loadDetails = true; - }; - PdQuestionBusinessAssetsPage.prototype.initBusinessDetails = function () { - return this.fb.group({ - address_label: [''], - business_assets_mode: [''], - business_details: this.fb.array([]), - business_years: [''], - business_month: [''], - business_address_availability: [''], - business_is_pd_visited: [''], - business_pd_visited_remark: [''], - business_approximate_market_value: [''], - business_ownership_type: [''], - business_monthly_rented_amt: [''], - business_name_of_the_owner: [], - business_name_of_the_other_owner: [], - business_vintage: [''], - business_purchase_year: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - business_emi: [''], - }); - }; - PdQuestionBusinessAssetsPage.prototype.loadProperty = function () { - return this.fb.group({ - property_type: [''], - other_property_type: [''], - address_of_the_property: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.load_Four_Weeler = function () { - return this.fb.group({ - manufacturer_model_vehicle: [''], - vehicle_type: [''], - other_vehicle_type: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.loadEquipmentManufacturingDescription = function () { - return this.fb.group({ - equipment_manufacturing_description: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.otherBusinessAssetsDescription = function () { - return this.fb.group({ - any_other_assets: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - any_other_asset_value: [''], - any_other_asset_loan: [''], - }); - }; - /** Add More Asset using Flag Both "Other Asset" And "Business Asset" */ - PdQuestionBusinessAssetsPage.prototype.addAssetDetails = function (e) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.push(this.initBusinessDetails()); - }; - /** To remove The Added Asset using Flag Both "Other Asset" And "Business Asset" */ - PdQuestionBusinessAssetsPage.prototype.removeAssetsDetails = function (i) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.removeAt(i); - }; - PdQuestionBusinessAssetsPage.prototype.createBusinessAssetsForAddress = function () { - return this.fb.group({ - address_label: [''], - business_years: [''], - business_month: [''], - business_address_availability: [''], - business_is_pd_visited: [''], - business_pd_visited_remark: [''], - business_approximate_market_value: [''], - business_ownership_type: [''], - business_monthly_rented_amt: [''], - business_name_of_the_owner: [''], - business_name_of_the_other_owner: [''], - business_vintage: [''], - business_purchase_year: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - business_emi: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.selectedAssetsType = function (e, i) { - var val = i; - var arr = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - arr.controls.splice(0); - switch (e.value) { - case '1': { - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.push(this.otherBusinessAssetsDescription()); - break; - } - case '2': { - var val_1 = i; - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val_1).get('business_details'); - control.push(this.loadProperty()); - break; - } - case '3': { - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.push(this.load_Four_Weeler()); - break; - } - case '4': { - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.push(this.loadEquipmentManufacturingDescription()); - break; - } - default: { - break; - } - } - this.removeOptionOnAutoComplete(i); - }; - PdQuestionBusinessAssetsPage.prototype.loadPropertyWithData = function (data) { - return this.fb.group({ - property_type: [data.property_type], - other_property_type: [data.other_property_type], - address_of_the_property: [data.address_of_the_property], - }); - }; - PdQuestionBusinessAssetsPage.prototype.load_Four_WeelerWithData = function (data) { - return this.fb.group({ - manufacturer_model_vehicle: [data.manufacturer_model_vehicle], - vehicle_type: [data.vehicle_type], - other_vehicle_type: [data.other_vehicle_type] - }); - }; - PdQuestionBusinessAssetsPage.prototype.loadEquipmentManufacturingDescriptionWithData = function (data) { - return this.fb.group({ - equipment_manufacturing_description: [data.equipment_manufacturing_description] - }); - }; - PdQuestionBusinessAssetsPage.prototype.otherBusinessAssetsDescriptionWithData = function (data) { - return this.fb.group({ - any_other_assets: [data.any_other_assets], - any_other_asset_loan: [data.any_other_asset_loan], - }); - }; - PdQuestionBusinessAssetsPage.prototype.addBusinessAssetsForAddress = function (data) { - var _this = this; - console.log("add business"); - var result = Object.keys(data).map(function (key) { - return data[key]; - }); - if (result.length > 0) { - result.forEach(function (datas, index) { - //this.placeholderName[index]=datas.address_label.split('/') - // console.log(datas.address_label.split('/')) - // console.log(datas.address_label.split('/')[0]) - if (datas.address_label != null && datas.address_label != '') { - var splitted = datas.address_label.split('/')[1]; - _this.placeholderName[index] = 'Was any business activity seen at the ' + splitted + ' during PD visit?'; - _this.addressType = splitted; - } - _this.RentAmtInwordsForAddress[index] = _this.cons.convertNumberToWords(datas.business_monthly_rented_amt); - _this.appxMarketAmtInwordsForAddress[index] = _this.cons.convertNumberToWords(datas.business_approximate_market_value); - var Avaliablity = 1; - if (datas.business_name_of_the_owner.length > 0) { - datas.business_name_of_the_owner.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity = option.id; - } - }); - } - _this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false; - }); - for (var _i = 0, result_1 = result; _i < result_1.length; _i++) { - var val = result_1[_i]; - var vals = { - address_label: val.address_label, - business_years: val.business_years, - business_month: val.business_month, - business_address_availability: val.business_address_availability, - business_is_pd_visited: val.business_is_pd_visited, - business_pd_visited_remark: val.business_pd_visited_remark, - business_approximate_market_value: val.business_approximate_market_value, - business_ownership_type: val.business_ownership_type, - business_monthly_rented_amt: val.business_monthly_rented_amt, - business_name_of_the_owner: val.business_name_of_the_owner, - business_name_of_the_other_owner: val.business_name_of_the_other_owner, - business_vintage: val.business_vintage, - business_purchase_year: val.business_purchase_year, - business_emi: val.business_emi - }; - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - control.push(this.createBusinessAssetsForAddressWithData(vals)); - } - } - else { - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - control.push(this.createBusinessAssetsForAddress()); - } - }; - PdQuestionBusinessAssetsPage.prototype.addBusinessAssetsDetailsWithData = function (supp_data) { - var _this = this; - var result = Object.keys(supp_data).map(function (key) { - return supp_data[key]; - }); - if (result.length > 0) { - console.log("length >0"); - result.forEach(function (datas, index) { - _this.appxMarketAmtInwords[index] = _this.cons.convertNumberToWords(+datas.business_approximate_market_value); - _this.RentAmtInwords[index] = _this.cons.convertNumberToWords(+datas.business_monthly_rented_amt); - }); - for (var _i = 0, result_2 = result; _i < result_2.length; _i++) { - var val = result_2[_i]; - var formData = { - address_label: val.address_label, - business_assets_mode: val.business_assets_mode, - business_years: val.business_year, - business_month: val.business_month, - business_address_availability: val.business_address_availability, - business_is_pd_visited: val.business_is_pd_visited, - business_pd_visited_remark: val.business_pd_visited_remark, - business_approximate_market_value: val.business_approximate_market_value, - business_ownership_type: val.business_ownership_type, - business_monthly_rented_amt: val.business_monthly_rented_amt, - business_name_of_the_owner: val.business_name_of_the_owner, - business_name_of_the_other_owner: val.business_name_of_the_other_owner, - business_purchase_year: val.business_purchase_year, - business_vintage: val.business_vintage, - business_emi: val.business_emi, - }; - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.push(this.initBusinessDetailsWithdata(formData)); - this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1); - } - } - this.loadDetails = true; - }; - PdQuestionBusinessAssetsPage.prototype.createBusinessAssetsForAddressWithData = function (data) { - return this.fb.group({ - address_label: [data.address_label], - business_years: [data.business_years], - business_month: [data.business_month], - business_address_availability: [data.business_address_availability], - business_is_pd_visited: [data.business_is_pd_visited], - business_pd_visited_remark: [data.business_pd_visited_remark], - business_approximate_market_value: [data.business_approximate_market_value], - business_ownership_type: [data.business_ownership_type], - business_monthly_rented_amt: [data.business_monthly_rented_amt], - business_name_of_the_owner: [data.business_name_of_the_owner], - business_name_of_the_other_owner: [data.business_name_of_the_other_owner], - business_vintage: [data.business_vintage], - business_purchase_year: [data.business_purchase_year, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - business_emi: [data.business_emi] - }); - }; - PdQuestionBusinessAssetsPage.prototype.initBusinessDetailsWithdata = function (data) { - var formGroup = this.fb.group({ - address_label: [data.address_label], - business_assets_mode: [data.business_assets_mode], - business_years: [data.business_year], - business_month: [data.business_month], - business_address_availability: [data.business_address_availability], - business_is_pd_visited: [data.business_is_pd_visited], - business_pd_visited_remark: [data.business_pd_visited_remark], - business_details: this.fb.array([]), - business_approximate_market_value: [data.business_approximate_market_value], - business_ownership_type: [data.business_ownership_type], - business_monthly_rented_amt: [data.business_monthly_rented_amt], - business_name_of_the_owner: [data.business_name_of_the_owner], - business_name_of_the_other_owner: [data.business_name_of_the_other_owner || ''], - // relation: [data.relation || ''], - business_vintage: [data.business_vintage], - business_purchase_year: [data.business_purchase_year, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - // purchase_month: [data.purchase_month], - business_emi: [data.business_emi || ''], - }); - return formGroup; - }; - PdQuestionBusinessAssetsPage.prototype.setBusinessAssetsDetailsWithData = function (assets_details_mode, datas, i) { - var _this = this; - var val = i; - var data = datas; - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.controls.splice(0); - switch (assets_details_mode) { - case '2': { - var business_property_datas_1; - data.forEach(function (datas, i) { - business_property_datas_1 = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property }; - }); - var control_1 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_1.push(this.loadPropertyWithData(business_property_datas_1)); - break; - } - case '3': { - var business_Four_Weeler_datas_1; - data.forEach(function (datas, i) { - business_Four_Weeler_datas_1 = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type }; - }); - var control_2 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_2.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas_1)); - break; - } - case '4': { - var equipment_manufacturing_description_datas_1; - data.forEach(function (datas, i) { - equipment_manufacturing_description_datas_1 = { 'equipment_manufacturing_description': datas.equipment_manufacturing_description }; - }); - var control_3 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_3.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas_1)); - break; - } - case '1': { - var array_datas_1; - data.forEach(function (datas, i) { - _this.AssetValueInwords[i] = _this.cons.convertNumberToWords(+datas.any_other_asset_value); - array_datas_1 = { - 'any_other_assets': datas.any_other_assets, - // 'any_other_asset_value': datas.any_other_asset_value, - 'any_other_asset_loan': datas.any_other_asset_loan, - }; - }); - var control_4 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_4.push(this.otherBusinessAssetsDescriptionWithData(array_datas_1)); - break; - } - default: { - break; - } - } - }; - PdQuestionBusinessAssetsPage.prototype.selectedPM = function (e) { - this.paymentModeTextBox = e.value; - // this.f.supplier_details.controls.get('payment_mode_value'); - }; - PdQuestionBusinessAssetsPage.prototype.selectedFreqPurchase = function (e) { - this.freqPurchaseTextBox = e.value; - }; - PdQuestionBusinessAssetsPage.prototype.onSubmit = function () { - var _this = this; - //console.log("Remarks",this.focusRemark); - if (!this._businessAssetsQuesFrom.valid) { - this.toast.pdTriggerappmessage("Please Fill the Required Field"); - this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(function (element) { - console.log(element); - if (element.business_address_availability != 'no' && element.business_pd_visited_remark == '') { - _this.focusRemark.nativeElement.focus(); - } - }); - return; - } - var answerData = this._businessAssetsQuesFrom.value; - //To Remove The "Null" With Key also - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - this.qustcat.saveForm(answerData).subscribe(function (result) { - if (result['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! something went Wrong "); - } - }); - }; - // calculate vintage and purchase {} - PdQuestionBusinessAssetsPage.prototype.calculateVintagePurchase = function (value, controlKey, type) { - if (type == 1) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); - } - else if (type == 2) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue(''); - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue(''); - } - if (type == 3) { - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); - } - else if (type == 4) { - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue(''); - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue(''); - } - }; - PdQuestionBusinessAssetsPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - // // check others - PdQuestionBusinessAssetsPage.prototype.checkOthers = function (values) { - // if(values!=null) { - // return values.id==0 ? true : false; - // } - if (values.length > 0) { - // return values.id==0 ? true : false; - var Avaliablity_1 = 1; - values.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity_1 = option.id; - } - }); - return Avaliablity_1 == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionBusinessAssetsPage.prototype.setRequiredValidation = function (value, item, flag, i) { - if (flag == 11) { - if (value == 'yes') { - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators(); - } - else if (value == 'no') { - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - } - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity(); - } - if (flag == 1) { - if (value == 'yes') { - console.log("bu", this._businessAssetsQuesFrom.controls); - // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ; - } - else { - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators(); - // this._businessAssetsQuesFrom.controls.business_activity.clearValidators(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators(); - // this._businessAssetsQuesFrom.controls.business_activity.clearValidators(); - } - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity(); - // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity(); - // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity(); - } - // if(flag == 2){ - // value==1 - // ? item.controls.premises_type_others.setValidators([Validators.required]) - // : item.controls.premises_type_others.clearValidators(); - // item.controls.premises_type_others.updateValueAndValidity(); - // } - if (flag == 3) { - if (value == 'owned') { - item.controls.business_monthly_rented_amt.clearValidators(); - item.controls.business_name_of_the_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - } - else { - item.controls.business_monthly_rented_amt.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - item.controls.business_name_of_the_owner.clearValidators(); - } - item.controls.business_monthly_rented_amt.updateValueAndValidity(); - item.controls.business_name_of_the_owner.updateValueAndValidity(); - } - if (flag == 4) { - var Avaliablity_2 = 1; - value.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity_2 = option.id; - } - }); - if (Avaliablity_2 == 0) { - item.controls.business_name_of_the_other_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - this.isOtherOwner = true; - } - else { - item.controls.business_name_of_the_other_owner.setValue(''); - item.controls.business_name_of_the_other_owner.clearValidators(); - this.isOtherOwner = false; - } - item.controls.business_name_of_the_other_owner.updateValueAndValidity(); - // value == 0 - // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required]) - // : item.controls.business_name_of_the_other_owner.clearValidators(); - // item.controls.business_name_of_the_other_owner.updateValueAndValidity(); - } - if (flag == 5) { - value == 1 - ? item.controls.other_vehicle_type.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) - : item.controls.other_vehicle_type.clearValidators(); - item.controls.other_vehicle_type.updateValueAndValidity(); - } - if (flag == 6) { - value == 1 - ? item.controls.other_property_type.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) - : item.controls.other_property_type.clearValidators(); - item.controls.other_property_type.updateValueAndValidity(); - value != '' - ? item.controls.address_of_the_property.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) - : item.controls.address_of_the_property.clearValidators(); - item.controls.address_of_the_property.updateValueAndValidity(); - } - if (flag == 7) { - if (value == 'owned') { - item.controls.business_monthly_rented_amt.clearValidators(); - item.controls.business_name_of_the_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - } - else { - item.controls.business_monthly_rented_amt.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - item.controls.business_name_of_the_owner.clearValidators(); - } - item.controls.business_monthly_rented_amt.updateValueAndValidity(); - item.controls.business_name_of_the_owner.updateValueAndValidity(); - } - // if(flag == 8){ - // let Avaliablity = 1; - // value.forEach(option => { - // if(option.id == 0 && option.group_id == 2){ - // Avaliablity = option.id; - // } - // }); - // this.isOtherOwner = false; - // if(Avaliablity == 0){ - // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]); - // this.isOtherOwnerForAddress = true; - // }else{ - // item.controls.business_name_of_the_other_owner.setValue(''); - // item.controls.business_name_of_the_other_owner.clearValidators(); - // this.isOtherOwnerForAddress = false; - // } - // item.controls.business_name_of_the_other_owner.updateValueAndValidity(); - // } - }; - /** To Convert Month into Year */ - PdQuestionBusinessAssetsPage.prototype.ConvertMonthintoYear = function (e, ind) { - console.log(this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years); - var business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value; - var converted_month = e % 12; - var converted_year = e / 12; - var Year = +business_year + +Math.floor(converted_year); - if (Year > this.generalExistBusinessYear) { - this.yearErrorMessage[ind] = "Higher than Business Vintage"; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(''); - } - else { - if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { - this.monthErrorMessage[ind] = "Higher than Business Vintage"; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(''); - } - else { - this.monthErrorMessage[ind] = ''; - this.yearErrorMessage[ind] = ''; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year)); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month)); - } - } - }; - PdQuestionBusinessAssetsPage.prototype.checkWithExistBusinessYear = function (e, ind) { - if (+e > this.generalExistBusinessYear) { - this.yearErrorMessage[ind] = "Higher than Business Vintage"; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); - } - else { - this.yearErrorMessage[ind] = ''; - } - }; - PdQuestionBusinessAssetsPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.AssetValueInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 2: - this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 3: - this.RentAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 9: - this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 10: - this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - /*IMAGE SECTION*/ - PdQuestionBusinessAssetsPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; - this.qustcat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionBusinessAssetsPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBusinessAssetsPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBusinessAssetsPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionBusinessAssetsPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionBusinessAssetsPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionBusinessAssetsPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.formDetails.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustcat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionBusinessAssetsPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('business_name_of_the_other_owner').value; - value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name)); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('remarksFocus'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionBusinessAssetsPage.prototype, "focusRemark", void 0); - PdQuestionBusinessAssetsPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-assets',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-assets\pd-question-business-assets.html"*/'\n\n\n\n\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
Address Details {{ itemrow.get(\'address_label\').value | titlecase}}\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n

How long has business been operated from this premise?

\n\n \n\n \n\n {{yearErrorMessage[i]}}\n\n\n\n    \n\n \n\n \n\n {{monthErrorMessage[i]}}\n\n\n\n \n\n\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n Field Required \n\n \n\n\n\n\n\n \n\n \n\n \n\n Remark is Required \n\n \n\n\n\n
\n\n \n\n \n\n \n\n Select\n\n Owned\n\n Rented\n\n \n\n \n\n \n\n\n\n \n\n \n\n {{"₹"}}\n\n {{RentAmtInwordsForAddress[i]}} Only\n\n Monthly Rent Amount Required\n\n \n\n\n\n\n\n
\n\n \n\n\n\n \n\n \n\n \n\n {{"₹"}}\n\n {{appxMarketAmtInwordsForAddress[i]}} Only\n\n \n\n\n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n Asset Owned by Required\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n Age of Asset in Years\n\n \n\n \n\n \n\n\n\n \n\n Purchase Year\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n
\n\n

Is There a Loan Existing Against This Asset?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
Other Assets Used in Business # {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n Select\n\n \n\n {{asset.name | titlecase}}\n\n \n\n \n\n \n\n \n\n\n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n {{prop.address_type | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{address.value}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n Select\n\n \n\n {{vehicle.vehicle_type_name }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n Description is Required\n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{data.viewValue | titlecase}}\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n \n\n \n\n \n\n Owned\n\n Rented\n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n {{"₹"}} {{RentAmtInwords[i]}} Only\n\n Monthly Rent Amount Required\n\n \n\n\n\n
\n\n \n\n \n\n \n\n {{"₹"}}\n\n {{appxMarketAmtInwords[i]}} Only\n\n Approximate Market Value Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n Age of Asset in Years\n\n \n\n \n\n \n\n \n\n Purchase Year\n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n\n\n

Is There a Loan Existing Against This Asset?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

\n\n\n\n
\n\n\n\n
\n\n\n\n \n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-assets\pd-question-business-assets.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], - __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */]]) - ], PdQuestionBusinessAssetsPage); - return PdQuestionBusinessAssetsPage; -}()); - -//# sourceMappingURL=pd-question-business-assets.js.map - -/***/ }), - -/***/ 403: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessBankingPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__ = __webpack_require__(25); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - -// import { QueryState } from '@angular/core/src/render3/interfaces'; - - - - - -/** - * Generated class for the PdQuestionBusinessBankingPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessBankingPage = (function () { - function PdQuestionBusinessBankingPage(navCtrl, navParams, aws, fb, qustCat, cons, toast, loading, cameraProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustCat = qustCat; - this.cons = cons; - this.toast = toast; - this.loading = loading; - this.cameraProvider = cameraProvider; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.amtInwords = []; - this.emiAmtInwords = []; - this.limitCaseFlag = []; - this.yearErrorMessage = []; - this.monthErrorMessage = []; - this.m_btLenderListValue = []; - this._onDestroy = new __WEBPACK_IMPORTED_MODULE_7_rxjs__["Subject"](); - this.imageBucket = []; - this.tab = '0'; - this.complete_status = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase(); - this.pd_cus_segment = this.pd_cus_segment.substring(0, 3); - this.pdid = this.pdDetails.pd_id; - this.formDetails = this.navParams.get('formDetails'); - this.form_id = this.formDetails.form_id; - this.company_id = this.pdDetails.company_id; - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.generalExistBusinessMonth = this.pdDetails.business_month; - this.generalExistBusinessYear = this.pdDetails.business_years; - this.users = this.aws.getlocale(); - this.step = 0; - this.bankingForm = this.fb.group({ - itemRows: this.fb.array([]), - banking_form_remark: [''], - }); - this.salaryField = this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? false : true; - this.getdropdown(); - this.retiveBankDetails(); - //To checking Completed Status For CompleteList Menu - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - } - PdQuestionBusinessBankingPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessBankingPage'); - this.getPDImages(); - }; - PdQuestionBusinessBankingPage.prototype.searchFun = function (control) { - if (!this.m_btLenderListValue) { - return; - } - var searchVal = control.controls['filterCtrl'].value; - if (!searchVal) { - this.m_btLenderListValue = this.m_btLenderList.slice(); - return; - } - else { - searchVal = searchVal.toLowerCase(); - this.m_btLenderListValue = this.m_btLenderList.filter(function (val) { return val.lender_name.toLowerCase().indexOf(searchVal) > -1; }); - } - }; - PdQuestionBusinessBankingPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.accountType = res['records']; - } - }); - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1 && data.lender_type == 1; }); - _this.m_btLenderListValue = _this.m_btLenderList.slice(); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true; }); /*&& val.is_company_applicant===true*/ - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - }; - PdQuestionBusinessBankingPage.prototype.checkWithExistBusinessYear = function (itemrow, e, i) { - console.log(this.generalExistBusinessYear); - if (+e > this.generalExistBusinessYear) { - this.yearErrorMessage[i] = "Higher than Business Vintage"; - itemrow.controls.vintage_year.setValue(''); - } - else { - this.yearErrorMessage[i] = ''; - } - }; - PdQuestionBusinessBankingPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionBusinessBankingPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionBusinessBankingPage.prototype.selectedAccTypeChanges = function (event, i) { - if (event == 2 || event == 1) { - this.limitCaseFlag[i] = false; - // const control = this.bankingForm.controls['itemRows']; - // control.controls[0].get('limit').clearValidators(); - // control.controls[0].get('limit').updateValueAndValidity(); - } - else { - this.limitCaseFlag[i] = true; - } - }; - /** To Convert Month into Year */ - PdQuestionBusinessBankingPage.prototype.ConvertMonthintoYear = function (itemrow, e, i) { - console.log(this.generalExistBusinessMonth); - var year = itemrow.controls.vintage_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - var Year = +year + +Math.floor(converted_year); - if (Year > this.generalExistBusinessYear) { - this.yearErrorMessage[i] = "Higher than Business Vintage"; - itemrow.controls.vintage_year.setValue(''); - itemrow.controls.vintage_month.setValue(''); - } - else { - if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { - this.monthErrorMessage[i] = "Higher than Business Vintage"; - itemrow.controls.vintage_year.setValue(''); - itemrow.controls.vintage_month.setValue(''); - console.log(this.monthErrorMessage[i]); - } - else { - this.monthErrorMessage[i] = ''; - this.yearErrorMessage[i] = ''; - itemrow.controls.vintage_year.setValue(Year); - itemrow.controls.vintage_month.setValue(Math.floor(converted_month)); - } - } - }; - /** Amount InWords */ - PdQuestionBusinessBankingPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 2: - this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionBusinessBankingPage.prototype.setRequiredValidation = function (value, item, flag) { - if (flag == 1) { - value == 0 - ? item.controls.other_applicant.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]) - : item.controls.other_applicant.clearValidators(); - item.controls.other_applicant.updateValueAndValidity(); - } - if (flag == 2) { - value == 1 - ? item.controls.other_bank.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]) - : item.controls.other_bank.clearValidators(); - item.controls.other_bank.updateValueAndValidity(); - } - }; - PdQuestionBusinessBankingPage.prototype.createBankItem = function (name) { - return this.fb.group({ - applicant_name: [''], - bank_name: [''], - filterCtrl: [''], - account_type: [''], - salary: this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? [''] : [''], - limit: [''], - other_bank: [''], - other_applicant: [''], - is_main: [''], - vintage_year: [''], - vintage_month: [''], - }); - }; - PdQuestionBusinessBankingPage.prototype.addBankDetails = function (index, event) { - // if(this.pd.valid){ - // if(this.items.length !=0) - // { - // this.neighbourAccess = true; - // } - event.stopPropagation(); - var control = this.bankingForm.controls['itemRows']; - var length = control.length; - this.step = length; - control.push(this.createBankItem('')); - }; - PdQuestionBusinessBankingPage.prototype.addmoreBankDetils = function () { - this.itemRows = this.bankingForm.get('itemRows'); - this.itemRows.push(this.createBankItem('')); - }; - PdQuestionBusinessBankingPage.prototype.removebank = function (i) { - var control = this.bankingForm.controls['itemRows']; - if (control.length == 1) { - control.reset(); - } - else - control.removeAt(i); - }; - PdQuestionBusinessBankingPage.prototype.setStep = function (index) { - this.step = index; - }; - PdQuestionBusinessBankingPage.prototype.retiveBankDetails = function () { - var _this = this; - var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_id, 'company_id': this.company_id }; - var control = this.bankingForm.controls['itemRows']; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var result = Object.keys(res['records'].banking_details).map(function (key) { - return res['records'].banking_details[key]; - }); - _this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark); - if (result.length == 0) { - control.push(_this.createBankItem('')); - } - else { - result.forEach(function (datas, index) { - datas.filterCtrl = ''; - _this.selectedAccTypeChanges(datas.account_type, index); - if (datas.limit != '') { - _this.amtInwords[index] = _this.cons.convertNumberToWords(+datas.limit); - } - _this.selectedAccTypeChanges(datas.account_type, index); - control.push(_this.createBankItem('')); - }); - _this.bankingForm.controls['itemRows'].setValue(result); - } - } - else { - control.push(_this.createBankItem('')); - } - }); - }; - PdQuestionBusinessBankingPage.prototype.savepdBank = function (answerData) { - var _this = this; - answerData.itemRows.forEach(function (element) { - delete element.filterCtrl; - }); - console.log("logs", answerData); - var records = {}; - records.parent_pdid = this.pdDetails.parent_pd_id; - records.pdid = this.pdDetails.pd_id; - records.formid = this.form_id; - records.fk_createdby = this.users; - records.company_id = this.company_id; - records.banking_details = answerData.itemRows; - records.banking_form_remark = answerData.banking_form_remark; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.bankingForm.markAsUntouched(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); - } - }); - }; - /*IMAGE SECTION*/ - PdQuestionBusinessBankingPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; - this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - console.log(val['records']); - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - console.log("imageBuck", _this.imageDisplay); - } - } - }); - }; - PdQuestionBusinessBankingPage.prototype.changeName = function (value, index, img) { - console.log(value); - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBusinessBankingPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionBusinessBankingPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionBusinessBankingPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionBusinessBankingPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - console.log("Value", res); - if (res != 'error') { - _this.cons.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - console.log("alert value", value); - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionBusinessBankingPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - console.log("ll", JSON.stringify(this.imageBucket)); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.formDetails.form_id, - 'images': this.imageBucket, - 'company_id': this.pdDetails.company_id, - }; - console.log("records", JSON.stringify(records)); - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionBusinessBankingPage.prototype.changeSentence = function (value) { - console.log("val", value); - var name = value.get('other_applicant').value; - value.get('other_applicant').setValue(this.cons.sentenceCase(name)); - }; - PdQuestionBusinessBankingPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-banking',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-banking\pd-question-business-banking.html"*/'\n\n\n\n\n\n \n\n {{formDetails.form_name}}\n\n \n\n \n\n \n\n   \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Form\n\n \n\n \n\n Pictures\n\n \n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n No Documents Found. Press the camera button above to capture\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
Banking Details {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{val.name}} \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n {{bankacc.name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n Limit In case of OD / CC account, What is the Limit \n\n \n\n \n\n {{"₹"}} {{amtInwords[i]}} Only\n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n {{yearErrorMessage[i]}}\n\n \n\n \n\n \n\n {{monthErrorMessage[i]}}\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-banking\pd-question-business-banking.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__["a" /* LoadingProvider */], - __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__["a" /* CameraProvider */]]) - ], PdQuestionBusinessBankingPage); - return PdQuestionBusinessBankingPage; -}()); - -//# sourceMappingURL=pd-question-business-banking.js.map - -/***/ }), - -/***/ 404: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFuturePlansAndBusinessEnvironmentPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionFuturePlansAndBusinessEnvironmentPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFuturePlansAndBusinessEnvironmentPage = (function () { - function PdQuestionFuturePlansAndBusinessEnvironmentPage(navCtrl, navParams, fb, qustcat, aws, toast, cameraProvider, loading, constantProvider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustcat = qustcat; - this.aws = aws; - this.toast = toast; - this.cameraProvider = cameraProvider; - this.loading = loading; - this.constantProvider = constantProvider; - this.complete_status = false; - this.tab = '0'; - this.imageDisplay = []; - this.imageBucket = []; - this.formDetails = this.navParams.get('formDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.formDetails.form_id; - this.company_id = this.pdDetails.company_id; - this.users = aws.getlocale(); - this.lender_short_name = this.pdDetails.lender_short_name; - this.product_abbr = this.pdDetails.product_abbr; - this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; - this._futurePlansForm = this.fb.group({ - parent_pdid: [this.pdDetails.parent_pd_id], - pdid: [this.pdid], - formid: ['23'], - company_id: [this.company_id], - usp_of_the_business: [''], - future_plans_for_business_expansion: [''], - impact_of_gst_on_the_business: [''], - key_competitors: [''], - succession_plan: [''], - brief_of_other_group_concerns_or_businesses_run_by_the_applicants: [''], - remarks: [''], - fk_createdby: [this.users] - }); - } - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage'); - this.getFuturePlans(); - this.getPDImages(); - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.ionViewCanLeave = function () { - var _this = this; - if (this._futurePlansForm.dirty) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - reject(); - return true; - } - else { - //AFTER FORM DIRTY CHECK - if (_this.imageBucket.length > 0) { - return new Promise(function (resolve1, reject1) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - //reject1(); - reject(); - } - else { - resolve1(); - resolve(); - } - }); - }); - } - resolve(); - } - }); - }); - } - else { - //REGULAR CHECK FOR IMAGE IS CAPTURED - if (this.imageBucket.length > 0) { - return new Promise(function (resolve, reject) { - var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); - alert.present(); - alert.onDidDismiss(function (data) { - if (data == false) { - reject(); - } - else { - resolve(); - } - }); - }); - } - } - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.getFuturePlans = function () { - var _this = this; - var Records = { 'parent_pdid': this.pdDetails.parent_pd_id, - 'pd_id': this.pdid, - 'pd_form_id': this.FormId, - 'company_id': this.company_id }; - this.qustcat.retiverForm(Records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this._futurePlansForm.controls.usp_of_the_business.setValue(data['records'].usp_of_the_business); - _this._futurePlansForm.controls.future_plans_for_business_expansion.setValue(data['records'].future_plans_for_business_expansion); - _this._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(data['records'].impact_of_gst_on_the_business); - _this._futurePlansForm.controls.key_competitors.setValue(data['records'].key_competitors); - _this._futurePlansForm.controls.succession_plan.setValue(data['records'].succession_plan); - _this._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(data['records'].brief_of_other_group_concerns_or_businesses_run_by_the_applicants); - _this._futurePlansForm.controls.remarks.setValue(data['records'].remarks); - } - else { } - ; - }); - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.saveFuturePlan = function () { - var _this = this; - if (this._futurePlansForm.invalid) { - this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' "); - } - else { - var answerData = this._futurePlansForm.value; - //To Remove The "Null" With Key also - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - this.qustcat.saveForm(answerData).subscribe(function (res) { - if (res['dataStatus'] == true) { - //TO CHANGE THE FORM STATE - _this._futurePlansForm.reset(_this._futurePlansForm.value); - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); - } - }); - } - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.getPDImages = function () { - var _this = this; - //FOR RETRIEVING PICTURES - this.imageDisplay = []; - var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }; - this.qustcat.getPDImages(record_for_pic).subscribe(function (val) { - if (!val['msg']) { - if (val['records'].length > 0) { - val['records'].forEach(function (result) { - _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); - }); - } - } - }); - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.changeName = function (value, index, img) { - this.imageDisplay[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.changeNameForBucket = function (value, index, img) { - this.imageBucket[index] = { 'image': img, 'Name': value }; - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.removeImg = function (index) { - this.imageDisplay.splice(index, 1); - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.removeImgForBucket = function (index) { - this.imageBucket.splice(index, 1); - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.capture = function () { - var _this = this; - //FOR CAPTURING PICS - this.cameraProvider.getpicture().then(function (res) { - if (res != 'error') { - _this.constantProvider.getGeoTag().then(function (geoCoordinates) { - console.log("geo promise", geoCoordinates); - _this.imageBucket.push({ 'image': res, 'Name': '', 'link': geoCoordinates }); - //FOR GETTING THE DOC NAME FROM ALERT - var alert = _this.toast.setAlertForDocName(); - alert.present(); - alert.onDidDismiss(function (value) { - if (value) { - _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; - } - }); - }); - } - }, function (error) { - console.log("Camera Error ", JSON.stringify(error)); - }); - this.tab = '1'; - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage.prototype.sendImage = function () { - var _this = this; - this.loading.loaderForSendImage(); - var records = { - 'pd_id': this.pdDetails.pd_id, - 'formid': this.FormId, - 'images': this.imageBucket, - 'company_id': this.company_id, - }; - this.qustcat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Image Saved Successfully"); - _this.imageBucket = []; - _this.getPDImages(); - } - else { - _this.toast.pdTriggerappmessage('Fail'); - } - }); - }; - PdQuestionFuturePlansAndBusinessEnvironmentPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-future-plans-and-business-environment',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-future-plans-and-business-environment\pd-question-future-plans-and-business-environment.html"*/'\n\n \n \n {{formDetails.form_name}}\n \n \n \n \n \n   \n \n \n \n \n \n \n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n\n
\n \n\n \n No Documents Found. Press the\n camera button above to capture\n\n \n \n \n
\n \n\n \n \n
\n
\n
\n
\n
\n
\n\n\n\n \n
\n \n \n
\n \n\n \n \n
\n
\n
\n
\n
\n
\n\n \n
\n
\n \n \n \n \n USP of the\n business Required\n \n \n \n \n \n Future plans for business expansion Required\n \n \n \n \n Impact\n of GST on the business Required\n \n \n \n \n Key Competitors\n Required\n \n \n \n \n Succession plan\n Required\n \n \n \n \n \n Brief of Other Group Concerns / Businesses run by the applicants Required\n \n \n \n \n \n Other Remarks\n \n \n \n \n
\n\n
\n \n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-future-plans-and-business-environment\pd-question-future-plans-and-business-environment.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionFuturePlansAndBusinessEnvironmentPage); - return PdQuestionFuturePlansAndBusinessEnvironmentPage; -}()); - -//# sourceMappingURL=pd-question-future-plans-and-business-environment.js.map - -/***/ }), - -/***/ 405: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FormCompleteCheckModalPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -/** - * Generated class for the FormCompleteCheckModalPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -//@IonicPage() -var FormCompleteCheckModalPage = (function () { - function FormCompleteCheckModalPage(navCtrl, navParams) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.datas = this.navParams.get('values'); - console.log(this.datas); - } - FormCompleteCheckModalPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad FormCompleteCheckModalPage'); - }; - FormCompleteCheckModalPage.prototype.closeModal = function () { - this.navCtrl.pop(); - }; - FormCompleteCheckModalPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-form-complete-check-modal',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\form-complete-check-modal\form-complete-check-modal.html"*/'\n\n\n \n Complete Discussion\n \n \n\n\n\n\n\n\n

Please confirm you are completing the Discussion and forwarding for Quality Check ?

\n \n
\n

{{i+1}}  {{sec}}

\n
\n
\n
\n\n \n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\form-complete-check-modal\form-complete-check-modal.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */]]) - ], FormCompleteCheckModalPage); - return FormCompleteCheckModalPage; -}()); - -//# sourceMappingURL=form-complete-check-modal.js.map - -/***/ }), - -/***/ 406: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdGeneralImagesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - -/** - * Generated class for the PdGeneralImagesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdGeneralImagesPage = (function () { - function PdGeneralImagesPage(navCtrl, navParams, camera, qustCat, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.camera = camera; - this.qustCat = qustCat; - this.toast = toast; - this.cameraArr = []; - this.count = 0; - this.saveAccess = false; - this.FormId = ''; - this.applicatentDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - } - PdGeneralImagesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdGeneralImagesPage'); - }; - PdGeneralImagesPage.prototype.takePicture = function () { - var _this = this; - this.camera.getpicture().then(function (image) { - _this.count = _this.count + 1; - _this.cameraArr.push({ 'image': image, 'name': '' }); - }); - }; - PdGeneralImagesPage.prototype.removeimage = function (i) { - this.count = this.count - 1; - this.cameraArr.splice(i, 1); - }; - PdGeneralImagesPage.prototype.docnames = function (doc, i, img) { - this.cameraArr[i] = { 'image': img, 'Name': doc }; - // console.log(JSON.stringify(this.pddocdata)); - }; - PdGeneralImagesPage.prototype.savePDImages = function () { - var _this = this; - this.saveAccess = true; - var records = { 'pd_id': this.applicatentDetails.pd_id, 'formid': '' }; - records.images = this.cameraArr; - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.saveAccess = false; - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - }; - PdGeneralImagesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-general-images',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-general-images\pd-general-images.html"*/'\n\n \n\n \n\n {{applicatentDetails.lender_full_name}} - {{applicatentDetails.lender_applicant_id}}\n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n General Images\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n {{img.Name}}\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-general-images\pd-general-images.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdGeneralImagesPage); - return PdGeneralImagesPage; -}()); - -//# sourceMappingURL=pd-general-images.js.map - -/***/ }), - -/***/ 407: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BouncedRejectPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the BouncedRejectPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var BouncedRejectPage = (function () { - function BouncedRejectPage(navCtrl, navParams, viewCtrl, aws, pdservice, qustCat, fb, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.viewCtrl = viewCtrl; - this.aws = aws; - this.pdservice = pdservice; - this.qustCat = qustCat; - this.fb = fb; - this.toast = toast; - this.bounce_reason_others = ''; - // this.pdDetails = this.navParams.get('appdetails'); - // this.status = this.navParams.get('status'); - this.pdDetails = this.navParams.get('details'); - // console.log(this.pdDetails) - this.users = this.aws.getlocale(); - this.getDropdown(); - } - BouncedRejectPage.prototype.getDropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.bounseMaster = res['records'].filter(function (bouns) { return bouns.isactive == 1; }); - console.log(_this.bounseMaster); - } - }); - }; - BouncedRejectPage.prototype.updatePDStatus = function () { - var _this = this; - if (this.bounce_reason != null && this.bounce_reason != 1) { - var data = { 'pd_id': this.pdDetails.pd_id, 'pd_status': this.pdDetails.pd_status, 'fk_updatedby': this.users, 'bounce_reason': this.bounce_reason, 'bounce_reason_others': this.bounce_reason_others }; - // console.log(this.bounce_reason) - // console.log(this.bounce_reason_others); - console.log(data); - this.toast.pdTriggerappmessage("Thank You"); - this.pdservice.updatepdStatus(data).subscribe(function (res) { - // this.updateStatus = res; - if (res['dataStatus'] == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - } - else if (this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others != null) { - var data = { 'pd_id': this.pdDetails.pd_id, 'pd_status': this.pdDetails.pd_status, 'fk_updatedby': this.users, 'bounce_reason': this.bounce_reason, 'bounce_reason_others': this.bounce_reason_others }; - // console.log(this.bounce_reason) - // console.log(this.bounce_reason_others); - console.log(data); - this.toast.pdTriggerappmessage("Thank You"); - this.pdservice.updatepdStatus(data).subscribe(function (res) { - // this.updateStatus = res; - if (res['dataStatus'] == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - } - else { - this.toast.pdTriggerappmessage("Please Choose the Reason to Reject"); - } - }; - BouncedRejectPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-bounced-reject',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\input\bounced-reject\bounced-reject.html"*/'\n\n \n\n \n\n Bounced Reject Reason\n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n Reason to Reject
\n\n \n\n \n\n {{bouns.bounce_reason_name}}
\n\n

\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\input\bounced-reject\bounced-reject.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["A" /* ViewController */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], BouncedRejectPage); - return BouncedRejectPage; -}()); - -//# sourceMappingURL=bounced-reject.js.map - -/***/ }), - -/***/ 408: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MapAddressPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the MapAddressPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var MapAddressPage = (function () { - function MapAddressPage(navCtrl, navParams, qustCat, fb, aws, pdTrigger, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.fb = fb; - this.aws = aws; - this.pdTrigger = pdTrigger; - this.toast = toast; - this.cus_seg = []; - this.mobileDisable = false; - this.master = []; - this.addressData = []; - this.applicants = []; - this.pageTitle = "Choose customer segment For this PD address"; - this.master = this.navParams.get('master'); - this.addressData = this.navParams.get('address'); - this.applicants = this.navParams.get('applicants'); - console.log("d", this.master, 'kd', this.applicants, 'dks', this.applicants); - this.addressMapping = this.fb.group({ - fk_customer_segment: [''], - pd_co_applicant_id: [''], - mobile_no: [''] - }); - this.dropDown(); - } - MapAddressPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad MapAddressPage'); - }; - MapAddressPage.prototype.updateMobile = function (data) { - var mobile = this.applicants.filter(function (val) { return val.pd_co_applicant_id == data.pd_co_applicant_id; }).map(function (val) { return val.mobile_no; })[0]; - console.log(mobile); - if (mobile != '' && mobile != null) { - this.addressMapping.controls['mobile_no'].setValue(mobile); - this.addressMapping.controls['mobile_no'].clearValidators(); - this.addressMapping.controls['mobile_no'].updateValueAndValidity(); - this.mobileDisable = true; - } - else { - this.addressMapping.controls['mobile_no'].setValue(''); - this.addressMapping.controls['mobile_no'].setValidators(__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])); - this.addressMapping.controls['mobile_no'].updateValueAndValidity(); - this.mobileDisable = false; - } - }; - MapAddressPage.prototype.dropDown = function () { - var _this = this; - this.qustCat.getCustomersDetails().subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.cus_seg = res['records']; - } - }); - }; - MapAddressPage.prototype.cancel = function () { - this.navCtrl.pop(); - }; - MapAddressPage.prototype.submit = function (values) { - var _this = this; - if (this.addressMapping.invalid) { - this.toast.pdTriggerappmessage("Please Fill all the Fields"); - return; - } - var update_records = { "pd_id": null, "parent_pd_id": this.master.parent_pd_id, "fk_address_id": this.addressData.pd_address_id, "pd_status": "ACCEPTED", "fk_updatedby": this.aws.getlocale(), - "fk_customer_segment": values.fk_customer_segment, - "pd_co_applicant_id": values.pd_co_applicant_id, - "mobile_no": values.mobile_no - }; - console.log("update", update_records); - this.pdTrigger.updatepdStatus(update_records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Saved Successfully.."); - _this.navCtrl.pop(); - } - else { - _this.toast.pdTriggerappmessage("Something went wrong!!"); - } - }, function (err) { - console.log("Error", JSON.stringify(err)); - }); - }; - MapAddressPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-map-address',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\map-address\map-address.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n \n\n\n\n
\n\n {{pageTitle}}


\n\n \n\n \n\n Select\n\n {{data.abbr}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{data.applicant_name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\map-address\map-address.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], MapAddressPage); - return MapAddressPage; -}()); - -//# sourceMappingURL=map-address.js.map - -/***/ }), - -/***/ 411: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PasswordPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PasswordPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PasswordPage = (function () { - function PasswordPage(navCtrl, navParams, aws, toast, commonconstant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.commonconstant = commonconstant; - this.commonImage = this.commonconstant.commonimage; - this.Username = this.navParams.get('Username'); - this.Password = this.navParams.get('Password'); - } - PasswordPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PasswordPage'); - }; - PasswordPage.prototype.setNewPassword = function (newpass) { - var _this = this; - if (newpass != '' && newpass != null && newpass !== undefined) { - var auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass }; - console.log(auth); - this.aws.dologin(auth).subscribe(function (res) { - console.log(res); - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - // this.router.navigate(['/home']); - }, function (err) { - _this.toast.pdTriggerappmessage(err.message); - // alert(err.message); - }); - } - else { - this.toast.pdTriggerappmessage('Enter the new Password'); - } - }; - PasswordPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-password',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\password\password.html"*/'\n\n\n\n\n\n \n\n password\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

New Password

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\password\password.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PasswordPage); - return PasswordPage; -}()); - -//# sourceMappingURL=password.js.map - -/***/ }), - -/***/ 412: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_fingerprint_aio__ = __webpack_require__(413); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - -/** - * Generated class for the AuthPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var AuthPage = (function () { - function AuthPage(navCtrl, navParams, Menu, fb, shared, toast, faio, aws, loadingCtrl, commonconstant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.Menu = Menu; - this.fb = fb; - this.shared = shared; - this.toast = toast; - this.faio = faio; - this.aws = aws; - this.loadingCtrl = loadingCtrl; - this.commonconstant = commonconstant; - this.mpinaccess = false; - this.commonImage = this.commonconstant.commonimage; - this.shared.refresh(); - this.getuserDetails(); - } - AuthPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad AuthPage'); - }; - AuthPage.prototype.ionViewDidEnter = function () { - this.Menu.enable(false); - }; - AuthPage.prototype.ionViewWillLeave = function () { - this.Menu.enable(true); - }; - AuthPage.prototype.getuserDetails = function () { - var _this = this; - this.loadingCtrl.pdloader('loading...'); - var userid = this.aws.getlocale(); - this.aws.getuserprofile(userid).subscribe(function (res) { - _this.userDetails = res; - if (_this.userDetails.dataStatus == true) { - _this.loadingCtrl.loading.dismiss(); - _this.userDetails = _this.userDetails.records; - if (_this.userDetails[0].role_name == "PD Executive" || _this.userDetails[0].role_name == "PD Officer") { - //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0])); - if (_this.userDetails[0].mpin == null) { - _this.mpinaccess = true; - } - else { - _this.mpinaccess = false; - } - } - else { - _this.toast.pdTriggerappmessage('This App only for PD Officers'); - localStorage.clear(); - } - } - else { - _this.toast.pdTriggerappmessage(''); - } - //console.log(this.mpinaccess); - }); - }; - AuthPage.prototype.setnewpin = function (newpin) { - var _this = this; - console.log("set Pin"); - this.aws.userpinupdate(newpin).subscribe(function (res) { - _this.newpindetails = res; - if (_this.newpindetails.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - }; - /**Finger print */ - AuthPage.prototype.checkpin = function (pin) { - console.log("Check pin", pin); - if (pin != '' && pin != null) { - if (this.userDetails[0].mpin == pin) { - console.log("Entering List page"); - this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - } - else { - this.toast.pdTriggerappmessage('Enter The Correct PIN'); - } - } - else { - this.toast.pdTriggerappmessage('Enter The PIN'); - } - }; - AuthPage.prototype.checkfingerprint = function () { - var _this = this; - console.log("Check Finger"); - this.faio.show({ - clientId: 'Fingerprint-Demo', - clientSecret: 'password', - localizedFallbackTitle: 'Use Pin', - localizedReason: 'Please authenticate', - disableBackup: true, - }) - .then(function (result) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - }) - .catch(function (error) { - _this.toast.pdTriggerappmessage('err: ' + error); - }); - }; - AuthPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-auth',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\auth\auth.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

PIN

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

PIN

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\auth\auth.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["p" /* MenuController */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__ionic_native_fingerprint_aio__["a" /* FingerprintAIO */], __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], AuthPage); - return AuthPage; -}()); - -//# sourceMappingURL=auth.js.map - -/***/ }), - -/***/ 414: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CompleteListPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_database_database__ = __webpack_require__(217); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_android_permissions__ = __webpack_require__(104); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__input_input__ = __webpack_require__(207); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the CompleteListPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -//@IonicPage() -var CompleteListPage = (function () { - function CompleteListPage(navCtrl, navParams, awsservice, PdtriggerProvider, shared, db, androidPermissions) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.awsservice = awsservice; - this.PdtriggerProvider = PdtriggerProvider; - this.shared = shared; - this.db = db; - this.androidPermissions = androidPermissions; - this.pdlistdetails = []; - this.pdcomplete = []; - this.bgColorPast = []; - this.bgColor = []; - this.pdlist = "0"; - } - CompleteListPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad CompleteListPage'); - this.db.getuserDetails(); - }; - CompleteListPage.prototype.ionViewCanEnter = function () { - console.log("Pd list ionViewCanEnter"); - this.getpdTriggerdetails(); - }; - CompleteListPage.prototype.doRefresh = function (refresher) { - this.bgColor = []; - this.pdschduleDetails = []; - this.pdcomplete = []; - // this.pdlistaccess = true; - this.shared.refresh(); - this.getpdTriggerdetails(); - setTimeout(function () { - refresher.complete(); - }, 2000); - }; - CompleteListPage.prototype.getpdTriggerdetails = function () { - var _this = this; - var userid = this.awsservice.getlocale(); - //.log("User",userid) - // this.pdlistaccess = true; - this.PdtriggerProvider.getpddetails(userid).subscribe(function (res) { - console.log('res', res); - _this.pdlistdetails = res; - if (_this.pdlistdetails.dataStatus == true) { - _this.pdlistaccess = false; - // this.searchpast = this.pdschduleDetails; - _this.pdcomplete = _this.pdlistdetails.records.filter(function (complete) { return complete.pd_status == "COMPLETED"; }); - _this.searchcomplete = _this.pdcomplete; - _this.random_bg_color(); - _this.random_ng_past(); - } - else { - _this.pdlistaccess = false; - _this.pdlistdetails = "No Records Found"; - } - }); - }; - CompleteListPage.prototype.random_bg_color = function () { - for (var _i = 0, _a = this.pdcomplete; _i < _a.length; _i++) { - var id = _a[_i]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColor.push("rgb(" + x + "," + y + "," + z + ")"); - } - return this.bgColor; - }; - CompleteListPage.prototype.random_ng_past = function () { - for (var _i = 0, _a = this.pdschduleDetails; _i < _a.length; _i++) { - var id = _a[_i]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColorPast.push("rgb(" + x + "," + y + "," + z + ")"); - } - }; - CompleteListPage.prototype.PdAllocation = function (pddetails) { - if (pddetails.pd_status == 'COMPLETED') { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__input_input__["a" /* InputPage */], { 'pdDetails': pddetails }); - } - }; - CompleteListPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-complete-list',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\complete-list\complete-list.html"*/'\n\n \n\n \n\n Complete List\n\n \n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n

{{progess.pd_id}}

\n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.city_name}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.pd_status}}
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n

{{progess.pd_id}}

\n\n \n\n \n\n

Add On for {{progess.parent_pd_id}}

\n\n \n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.city_name}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.pd_status}}
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\complete-list\complete-list.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_database_database__["a" /* DatabaseProvider */], __WEBPACK_IMPORTED_MODULE_6__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) - ], CompleteListPage); - return CompleteListPage; -}()); - -//# sourceMappingURL=complete-list.js.map - -/***/ }), - -/***/ 418: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(419); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(548); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0); - - - -Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["_15" /* enableProdMode */])(); -Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]); -//# sourceMappingURL=main.js.map - -/***/ }), - -/***/ 548: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(45); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(587); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(195); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__ = __webpack_require__(344); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__ = __webpack_require__(692); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__ = __webpack_require__(410); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_database_database__ = __webpack_require__(217); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__ = __webpack_require__(104); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_map_address_map_address__ = __webpack_require__(408); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_form_complete_check_modal_form_complete_check_modal__ = __webpack_require__(405); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__angular_material__ = __webpack_require__(125); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_guard_auth_guard__ = __webpack_require__(694); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__providers_guard_token_interceptor__ = __webpack_require__(695); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__providers_constants_constants__ = __webpack_require__(11); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pages_auth_auth__ = __webpack_require__(412); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pages_login_login__ = __webpack_require__(345); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pages_pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pages_pd_question_category_pd_question_category__ = __webpack_require__(128); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pages_pd_question_pd_question__ = __webpack_require__(373); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pages_googleplaytab_googleplaytab__ = __webpack_require__(696); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pages_password_password__ = __webpack_require__(411); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__pages_pd_allocation_pd_allocation__ = __webpack_require__(697); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__pages_input_input__ = __webpack_require__(207); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__providers_common_provider_toast__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__ionic_native_fingerprint_aio__ = __webpack_require__(413); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__ionic_native_launch_navigator__ = __webpack_require__(369); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__pages_otp_otp__ = __webpack_require__(208); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__angular_forms__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35_ionic_img_viewer__ = __webpack_require__(698); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__providers_common_provider_camera__ = __webpack_require__(24); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__providers_common_provider_loading__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__ionic_native_camera__ = __webpack_require__(129); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_address_pd_question_address__ = __webpack_require__(374); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(380); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(378); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(376); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(375); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_family_pd_question_family__ = __webpack_require__(379); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(377); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(214); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__pages_pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(381); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(212); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__ionic_native_geolocation__ = __webpack_require__(124); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(383); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(213); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(215); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(401); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_rental_info_pd_question_rental_info__ = __webpack_require__(382); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(384); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(386); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(385); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(389); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(387); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(216); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(407); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(388); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(394); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(395); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(396); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(398); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(399); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_future_plans_and_business_environment_pd_question_future_plans_and_business_environment__ = __webpack_require__(404); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_pd_question_business__ = __webpack_require__(705); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__pages_pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(400); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(402); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(403); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__pipes_pd_pd__ = __webpack_require__(706); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__pipes_search_relation_search_relation__ = __webpack_require__(397); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_75__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(390); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_76__pages_pd_general_images_pd_general_images__ = __webpack_require__(406); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_77__pages_pd_question_pd_question_salary_info_pd_question_salary_info__ = __webpack_require__(707); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_78__ionic_native_location_accuracy__ = __webpack_require__(200); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_79__pages_pd_question_pd_question_assessed_summary_pd_question_assessed_summary__ = __webpack_require__(392); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_80_ngx_mat_select_search__ = __webpack_require__(708); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_81__netbasal_content_loader__ = __webpack_require__(709); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_82__pages_pd_question_pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__ = __webpack_require__(391); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_83__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(131); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_84__pages_pd_question_pd_question_assessed_images_pd_question_assessed_images__ = __webpack_require__(393); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_85__ionic_storage__ = __webpack_require__(210); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_86__providers_storage_storage__ = __webpack_require__(130); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_87__pages_pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__ = __webpack_require__(211); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_88_ionic_cache__ = __webpack_require__(209); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_89__pages_complete_list_complete_list__ = __webpack_require__(414); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_90__ionic_native_background_geolocation__ = __webpack_require__(409); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_91__app_modalanimations_enter__ = __webpack_require__(710); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_92__app_modalanimations_leave__ = __webpack_require__(711); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_93__ionic_native_push__ = __webpack_require__(415); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - -//import { FCM } from '@ionic-native/fcm/ngx'; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// import { DatePicker } from '@ionic-native/date-picker'; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// import {PipesModule} from '../pipes/pipes.module' - - - - - - - - - -var AppModule = (function () { - function AppModule(config) { - this.config = config; - this.setCustomTransitionsForModal(); - } - AppModule.prototype.setCustomTransitionsForModal = function () { - this.config.setTransition('modal-scale-up-leave', __WEBPACK_IMPORTED_MODULE_92__app_modalanimations_leave__["a" /* ModalScaleUpLeaveTransition */]); - this.config.setTransition('modal-scale-up-enter', __WEBPACK_IMPORTED_MODULE_91__app_modalanimations_enter__["a" /* ModalScaleUpEnterTransition */]); - }; - AppModule = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["J" /* NgModule */])({ - declarations: [ - __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], - __WEBPACK_IMPORTED_MODULE_19__pages_auth_auth__["a" /* AuthPage */], - __WEBPACK_IMPORTED_MODULE_20__pages_login_login__["a" /* LoginPage */], - __WEBPACK_IMPORTED_MODULE_21__pages_pd_list_pd_list__["a" /* PdListPage */], - __WEBPACK_IMPORTED_MODULE_89__pages_complete_list_complete_list__["a" /* CompleteListPage */], - __WEBPACK_IMPORTED_MODULE_22__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], - __WEBPACK_IMPORTED_MODULE_23__pages_pd_question_pd_question__["a" /* PdQuestionPage */], - __WEBPACK_IMPORTED_MODULE_24__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], - __WEBPACK_IMPORTED_MODULE_25__pages_password_password__["a" /* PasswordPage */], - __WEBPACK_IMPORTED_MODULE_26__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], - __WEBPACK_IMPORTED_MODULE_27__pages_input_input__["a" /* InputPage */], - __WEBPACK_IMPORTED_MODULE_32__pages_otp_otp__["a" /* OtpPage */], - __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], - __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], - __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], - __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], - __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], - __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], - __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], - __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], - __WEBPACK_IMPORTED_MODULE_47__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], - __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], - __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], - __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], - __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], - __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], - __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], - __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], - __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], - __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], - __WEBPACK_IMPORTED_MODULE_59__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], - __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], - __WEBPACK_IMPORTED_MODULE_61__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], - __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], - __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], - __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], - __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], - __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], - __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], - __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_future_plans_and_business_environment_pd_question_future_plans_and_business_environment__["a" /* PdQuestionFuturePlansAndBusinessEnvironmentPage */], - __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], - __WEBPACK_IMPORTED_MODULE_70__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], - __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], - __WEBPACK_IMPORTED_MODULE_72__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], - __WEBPACK_IMPORTED_MODULE_75__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], - __WEBPACK_IMPORTED_MODULE_76__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], - __WEBPACK_IMPORTED_MODULE_77__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], - __WEBPACK_IMPORTED_MODULE_79__pages_pd_question_pd_question_assessed_summary_pd_question_assessed_summary__["a" /* PdQuestionAssessedSummaryPage */], - __WEBPACK_IMPORTED_MODULE_82__pages_pd_question_pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], - __WEBPACK_IMPORTED_MODULE_84__pages_pd_question_pd_question_assessed_images_pd_question_assessed_images__["a" /* PdQuestionAssessedImagesPage */], - __WEBPACK_IMPORTED_MODULE_83__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */], __WEBPACK_IMPORTED_MODULE_74__pipes_search_relation_search_relation__["a" /* SearchRelationPipe */], - __WEBPACK_IMPORTED_MODULE_87__pages_pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], - __WEBPACK_IMPORTED_MODULE_10__pages_map_address_map_address__["a" /* MapAddressPage */], - __WEBPACK_IMPORTED_MODULE_11__pages_form_complete_check_modal_form_complete_check_modal__["a" /* FormCompleteCheckModalPage */] - // PipesModule - ], - imports: [ - __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */], __WEBPACK_IMPORTED_MODULE_34__angular_forms__["l" /* ReactiveFormsModule */], __WEBPACK_IMPORTED_MODULE_34__angular_forms__["g" /* FormsModule */], - __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["n" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, { - links: [] - }), - __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["a" /* MatAutocompleteModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["b" /* MatButtonModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["c" /* MatButtonToggleModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["d" /* MatCardModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["e" /* MatCheckboxModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["f" /* MatChipsModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["g" /* MatDatepickerModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["i" /* MatDialogModule */], __WEBPACK_IMPORTED_MODULE_12__angular_material__["n" /* MatListModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["j" /* MatExpansionModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["k" /* MatGridListModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["l" /* MatIconModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["m" /* MatInputModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["n" /* MatListModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["o" /* MatMenuModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["p" /* MatNativeDateModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["r" /* MatPaginatorModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["s" /* MatProgressBarModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["t" /* MatProgressSpinnerModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["u" /* MatRadioModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["v" /* MatRippleModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["x" /* MatSelectModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["y" /* MatSidenavModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["A" /* MatSliderModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["z" /* MatSlideToggleModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["B" /* MatSnackBarModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["C" /* MatSortModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["E" /* MatTableModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["F" /* MatTabsModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["G" /* MatToolbarModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["H" /* MatTooltipModule */], - __WEBPACK_IMPORTED_MODULE_12__angular_material__["D" /* MatStepperModule */], __WEBPACK_IMPORTED_MODULE_14__angular_common_http__["c" /* HttpClientModule */], __WEBPACK_IMPORTED_MODULE_35_ionic_img_viewer__["a" /* IonicImageViewerModule */], __WEBPACK_IMPORTED_MODULE_80_ngx_mat_select_search__["a" /* NgxMatSelectSearchModule */], - __WEBPACK_IMPORTED_MODULE_81__netbasal_content_loader__["a" /* ContentLoaderModule */], - __WEBPACK_IMPORTED_MODULE_85__ionic_storage__["a" /* IonicStorageModule */].forRoot(), - __WEBPACK_IMPORTED_MODULE_88_ionic_cache__["a" /* CacheModule */].forRoot() - ], - bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["l" /* IonicApp */]], - entryComponents: [ - __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], - __WEBPACK_IMPORTED_MODULE_19__pages_auth_auth__["a" /* AuthPage */], - __WEBPACK_IMPORTED_MODULE_20__pages_login_login__["a" /* LoginPage */], - __WEBPACK_IMPORTED_MODULE_21__pages_pd_list_pd_list__["a" /* PdListPage */], - __WEBPACK_IMPORTED_MODULE_22__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], - __WEBPACK_IMPORTED_MODULE_23__pages_pd_question_pd_question__["a" /* PdQuestionPage */], - __WEBPACK_IMPORTED_MODULE_24__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], - __WEBPACK_IMPORTED_MODULE_25__pages_password_password__["a" /* PasswordPage */], - __WEBPACK_IMPORTED_MODULE_89__pages_complete_list_complete_list__["a" /* CompleteListPage */], - __WEBPACK_IMPORTED_MODULE_26__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], - __WEBPACK_IMPORTED_MODULE_27__pages_input_input__["a" /* InputPage */], - __WEBPACK_IMPORTED_MODULE_32__pages_otp_otp__["a" /* OtpPage */], - __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], - __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], - __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], - __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], - __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], - __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], - __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], - __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], - __WEBPACK_IMPORTED_MODULE_47__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], - __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], - __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], - __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], - __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], - __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], - __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], - __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], - __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], - __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], - __WEBPACK_IMPORTED_MODULE_59__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], - __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], - __WEBPACK_IMPORTED_MODULE_61__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], - __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], - __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], - __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], - __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], - __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], - __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], - __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_future_plans_and_business_environment_pd_question_future_plans_and_business_environment__["a" /* PdQuestionFuturePlansAndBusinessEnvironmentPage */], - __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], - __WEBPACK_IMPORTED_MODULE_70__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], - __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], - __WEBPACK_IMPORTED_MODULE_72__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], - __WEBPACK_IMPORTED_MODULE_75__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], - __WEBPACK_IMPORTED_MODULE_76__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], - __WEBPACK_IMPORTED_MODULE_77__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], - __WEBPACK_IMPORTED_MODULE_79__pages_pd_question_pd_question_assessed_summary_pd_question_assessed_summary__["a" /* PdQuestionAssessedSummaryPage */], - __WEBPACK_IMPORTED_MODULE_82__pages_pd_question_pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], - __WEBPACK_IMPORTED_MODULE_84__pages_pd_question_pd_question_assessed_images_pd_question_assessed_images__["a" /* PdQuestionAssessedImagesPage */], - __WEBPACK_IMPORTED_MODULE_87__pages_pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], - __WEBPACK_IMPORTED_MODULE_10__pages_map_address_map_address__["a" /* MapAddressPage */], - __WEBPACK_IMPORTED_MODULE_11__pages_form_complete_check_modal_form_complete_check_modal__["a" /* FormCompleteCheckModalPage */] - ], - providers: [ - __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_13__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_15__providers_guard_auth_guard__["a" /* AuthGuard */], __WEBPACK_IMPORTED_MODULE_16__providers_guard_token_interceptor__["a" /* TokenInterceptor */], __WEBPACK_IMPORTED_MODULE_28__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_18__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_17__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_29__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_30__ionic_native_fingerprint_aio__["a" /* FingerprintAIO */], __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__["a" /* SQLite */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__["a" /* AndroidPermissions */], __WEBPACK_IMPORTED_MODULE_90__ionic_native_background_geolocation__["a" /* BackgroundGeolocation */], - __WEBPACK_IMPORTED_MODULE_93__ionic_native_push__["a" /* Push */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["h" /* Events */], - { - provide: __WEBPACK_IMPORTED_MODULE_14__angular_common_http__["a" /* HTTP_INTERCEPTORS */], - useClass: __WEBPACK_IMPORTED_MODULE_16__providers_guard_token_interceptor__["a" /* TokenInterceptor */], - multi: true - }, - { - provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["v" /* ErrorHandler */], - useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["m" /* IonicErrorHandler */] - }, __WEBPACK_IMPORTED_MODULE_31__ionic_native_launch_navigator__["a" /* LaunchNavigator */], - __WEBPACK_IMPORTED_MODULE_13__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_33__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_36__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_38__ionic_native_camera__["a" /* Camera */], - __WEBPACK_IMPORTED_MODULE_73__pipes_pd_pd__["a" /* PdPipe */], __WEBPACK_IMPORTED_MODULE_78__ionic_native_location_accuracy__["a" /* LocationAccuracy */], - __WEBPACK_IMPORTED_MODULE_37__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_49__ionic_native_geolocation__["a" /* Geolocation */], - __WEBPACK_IMPORTED_MODULE_8__providers_database_database__["a" /* DatabaseProvider */], - __WEBPACK_IMPORTED_MODULE_86__providers_storage_storage__["a" /* StorageProvider */] - ] - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["d" /* Config */]]) - ], AppModule); - return AppModule; -}()); - -//# sourceMappingURL=app.module.js.map - -/***/ }), - -/***/ 587: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(195); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(344); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_login_login__ = __webpack_require__(345); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__ = __webpack_require__(79); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__ = __webpack_require__(412); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_ionic_cache__ = __webpack_require__(209); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_complete_list_complete_list__ = __webpack_require__(414); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ionic_native_push__ = __webpack_require__(415); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__ = __webpack_require__(8); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -// import { AndroidPermissions } from '@ionic-native/android-permissions'; - - - -var MyApp = (function () { - function MyApp(platform, statusBar, splashScreen, aws, shared, AWS, alertCtrl, cache, push, event, toastProvider) { - var _this = this; - this.platform = platform; - this.statusBar = statusBar; - this.splashScreen = splashScreen; - this.aws = aws; - this.shared = shared; - this.AWS = AWS; - this.alertCtrl = alertCtrl; - this.push = push; - this.event = event; - this.toastProvider = toastProvider; - this.userAccess = false; - this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; - this.alertShown = false; - cache.setDefaultTTL(60 * 60); - this.initializeApp(); - // used for an example of ngFor and navigation - this.pages = [ - // { title: 'Home', component: HomePage, icon: 'home' }, - { title: 'Home', icon: 'home', method: function () { return _this.menulist(1); } }, - { title: 'Logout', icon: 'md-exit', method: function () { return _this.menulist(2); } }, - { title: 'Complete List', icon: 'checkmark-circle', method: function () { return _this.menulist(3); } } - ]; - } - MyApp.prototype.initializeApp = function () { - var _this = this; - this.platform.ready().then(function () { - // Okay, so the platform is ready and our plugins are available. - // Here you can do any higher level native things you might need. - _this.statusBar.styleDefault(); - if (_this.platform.is('android')) { - _this.statusBar.overlaysWebView(false); - _this.statusBar.backgroundColorByHexString('#db4437'); - } - _this.splashScreen.hide(); - _this.shared.getAccessToken().then(function () { - _this.getuserDetails(); - _this.rootPage = __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__["a" /* AuthPage */]; - _this.notification(); - }).catch(function () { - setTimeout(function () { - _this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; - _this.unregisterNotification(); - }, 1000); - }); - }); - this.platform.registerBackButtonAction(function () { - if (_this.nav.length() == 1) { - if (_this.alertShown == false) { - //this.presentConfirm(); - var alert_1 = _this.alertCtrl.create({ - title: 'Confirm Exit', - message: 'Do You Want Exit ?', - buttons: [ - { - text: 'Cancel', - role: 'cancel', - handler: function () { - console.log("Cancel clicked"); - _this.alertShown = false; - alert_1.dismiss; - } - }, - { - text: 'Yes', - handler: function () { - console.log("Exit"); - _this.platform.exitApp(); - } - } - ] - }); - alert_1.present(); - _this.alertShown = true; - } - } - else { - _this.nav.pop(); - } - }); - }; - MyApp.prototype.presentConfirm = function () { - var _this = this; - var alert = this.alertCtrl.create({ - title: 'Confirm Exit', - message: 'Do You Want Exit ?', - buttons: [ - { - text: 'Cancel', - role: 'cancel', - handler: function () { - console.log("Cancel clicked"); - // this.alertShown=false - alert.dismiss; - } - }, - { - text: 'Yes', - handler: function () { - console.log("Exit"); - _this.platform.exitApp(); - } - } - ] - }); - alert.present(); - // this.alertShown=true; - }; - MyApp.prototype.getuserDetails = function () { - var _this = this; - this.userDetails = ''; - var userid = this.aws.getlocale(); - this.aws.getuserprofile(userid).subscribe(function (res) { - _this.userDetails = res; - if (_this.userDetails.dataStatus == true) { - _this.userAccess = true; - _this.userDetails = _this.userDetails.records[0]; - } - }); - }; - MyApp.prototype.menulist = function (id) { - var _this = this; - //alert(); - switch (id) { - case 1: - this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__["a" /* PdListPage */]); - break; - case 2: - this.AWS.logout().subscribe(function () { - _this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]); - }); - break; - case 3: - this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_10__pages_complete_list_complete_list__["a" /* CompleteListPage */]); - break; - case 4: - break; - } - }; - MyApp.prototype.logout = function () { - // this.aws.logout(); - this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]); - }; - MyApp.prototype.notification = function () { - var _this = this; - // this.nav.setRoot(this.nav.getActive().component); - this.push.hasPermission().then(function (res) { - if (res.isEnabled) { - console.log('We have permission to send push notifications'); - } - else { - console.log('We do not have permission to send push notifications'); - } - }); - var option = { - android: { - senderID: '893175418100' - }, - ios: { - alert: 'true', - badge: true, - sound: 'false' - }, - windows: {}, - browser: { - pushServiceURL: 'http://push.api.phonegap.com/v1/push' - } - }; - var pushObject = this.push.init(option); - if (this.userAccess) { - pushObject.on('notification').subscribe(function (notification) { - console.log('Received a notification', notification); - if (notification.additionalData.foreground) { - _this.event.publish('alert', notification); - _this.toastProvider.setAlertwithButton(notification); - } - else { - _this.event.publish('notify', notification); - //this.nav.setRoot(PdListPage,{notify:'Via Notification'}); - _this.rootPage = __WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__["a" /* PdListPage */]; - } - }); - } - pushObject.on('registration').subscribe(function (registration) { return console.log('Device registered', registration); }); - pushObject.on('error').subscribe(function (error) { return console.error('Error with Push plugin', error); }); - }; - MyApp.prototype.unregisterNotification = function () { - // PushObject.unregister(()=>console.log("Notification is Unregistered")) - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* Nav */]), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* Nav */]) - ], MyApp.prototype, "nav", void 0); - MyApp = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"S:\pd_office\pd_officer\src\app\app.html"*/'\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\app\app.html"*/ - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["w" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_9_ionic_cache__["b" /* CacheService */], __WEBPACK_IMPORTED_MODULE_11__ionic_native_push__["a" /* Push */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* Events */], __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], MyApp); - return MyApp; -}()); - -//# sourceMappingURL=app.component.js.map - -/***/ }), - -/***/ 63: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CognitoServiceProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__ = __webpack_require__(346); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(13); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - -// import { CanActivateChild, Router } from '@angular/router'; - -// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular'; -// import { environment } from '../../environments/environment'; - -var sineedge_poolData = { - UserPoolId: "ap-south-1_y7dt3iEaX", - ClientId: "291qt4smn5pql6o8cc2hi201lj" // ClientName: SINEEDGE_DEV_WEB -}; -var sineedgedev_poolData = { - UserPoolId: "ap-south-1_qQ85yQZJO", - ClientId: "2o5c3cs9k3als16nqhp3irh8rs" // ClientName: SINEEDGE_DEV_WEB -}; -var lender_poolData = { - UserPoolId: "ap-south-1_hFiGyr1Gw", - ClientId: "38v9rpp1495v60e1gd14mj6rjr" // ClientName:LENDER_DEV_WEB -}; -var vendor_poolData = { - UserPoolId: "", - ClientId: "" -}; -var sineedgeUserPool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedge_poolData); -var lenderUserPool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](lender_poolData); -var sineedgedevUserpool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedgedev_poolData); -/** -* Identity PoolID -*/ -var sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; //"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; -var lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907"; -var vendorIdenttiy = ""; -// serviceProvider -var apiurl = "http://ssa.sineedge.com/sparqapi/api/"; -// const apiurl = "http://localhost/sparqapi/api/"; -var CognitoServiceProvider = (function () { - function CognitoServiceProvider() { - this.loggedIn = false; - // public static _REGION = environment.region; - // public static _IDENTITY_POOL_ID = environment.identityPoolId; - // public static _USER_POOL_ID = environment.UserPoolId; - // public static _CLIENT_ID = environment.ClientId; - // public static _POOL_DATA: any = { - // UserPoolId: CognitoService._USER_POOL_ID, - // ClientId: CognitoService._CLIENT_ID - // }; - // public cognitoCreds: AWS.CognitoIdentityCredentials; - this.isloggin = false; - } - CognitoServiceProvider.prototype.getCurrentUser = function () { - return sineedgedevUserpool.getCurrentUser(); - }; - Object.defineProperty(CognitoServiceProvider.prototype, "isLoggedIn", { - get: function () { - if (sineedgedevUserpool.getCurrentUser() != null) { - this.loggedIn = true; - } - else { - this.loggedIn = false; - } - return this.loggedIn; // {2} - }, - enumerable: true, - configurable: true - }); - CognitoServiceProvider.prototype.refresh = function () { - var tokenexp; - if (this.getCurrentUser() != null) { - this.getCurrentUser().getSession(function (err, session) { - if (err) { - console.log("CognitoUtil: Can't set the credentials:" + err); - } - else { - if (session.isValid()) { - tokenexp = session.isValid(); - Object(__WEBPACK_IMPORTED_MODULE_2_rxjs__["of"])(tokenexp); - console.log("CognitoUtil: refreshed successfully"); - } - else { - tokenexp = session.isValid(); - console.log("CognitoUtil: refreshed but session is still not valid"); - } - } - return tokenexp; - }); - } - else { - this.loggedIn = false; - } - }; - CognitoServiceProvider.prototype.getAccessToken = function () { - var _this = this; - this.refresh(); - return new Promise(function (resolve, reject) { - var jwttoken = ''; - if (_this.getCurrentUser() != null) { - //console.log(JSON.stringify(this.getCurrentUser())); - // console.log('76 if'); - _this.getCurrentUser().getSession(function (err, session) { - if (err) { - console.log("CognitoUtil: Can't set the credentials:" + err); - jwttoken = ''; - // console.log('81 if') - reject(err); - } - else { - if (session.isValid()) { - // console.log('85 else if'); - jwttoken = session; - resolve(); - } - else { - } - } - }); - } - else { - //console.log("else"); - reject(); - } - }); - }; - CognitoServiceProvider.prototype.getToken = function () { - var isloggin = false; - var jwttoken = ''; - if (this.getCurrentUser() != null) { - this.getCurrentUser().getSession(function (err, session) { - if (err) { - // console.log("CognitoUtil: Can't set the credentials:" + err); - isloggin = false; - //console.log('81 if') - } - else { - //alert('function else'); - if (session.isValid()) { - // console.log('85 else if'); - jwttoken = session; - isloggin = true; - } - else { - isloggin = false; - } - } - }); - } - else { - // console.log("else"); - isloggin = false; - } - return jwttoken; - }; - CognitoServiceProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", []) - ], CognitoServiceProvider); - return CognitoServiceProvider; -}()); - -//# sourceMappingURL=cognito.service.js.map - -/***/ }), - -/***/ 694: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthGuard; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - -var AuthGuard = (function () { - function AuthGuard() { - } - // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { - // // if (this.shared.getToken()) { - // alert("if"); - // // this.router.navigate(['']); - // return true - // } else { - // alert("else"); - // this.router.navigate(['/login']); - // return false; - // } - // } - AuthGuard.prototype.getlogin = function () { - // if (this.shared.getToken()) { - // // alert("if"); - // //alert(); - // return true; - // } else { - // // alert("else"); - // //this.myGlobalServiceNav.setRoot(LoginPage); - // this.shared.isloggin = false; - // return false; - // } - }; - AuthGuard = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", []) - ], AuthGuard); - return AuthGuard; -}()); - -//# sourceMappingURL=auth.guard.js.map - -/***/ }), - -/***/ 695: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TokenInterceptor; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(13); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operators__ = __webpack_require__(14); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__ = __webpack_require__(63); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -// import { AuthGuard } from './auth.guard'; - -// import { Router } from '@angular/router'; - - - -var TokenInterceptor = (function () { - function TokenInterceptor(shared) { - this.shared = shared; - } - TokenInterceptor.prototype.intercept = function (request, next) { - // request = request.clone({ - // setHeaders: { - // Authorization: `${this.auth.getToken()}` - // } - // }); - var token; - this.shared.refresh(); - token = this.shared.getToken() || null; - token = token.getIdToken().getJwtToken(); - //console.log(token); - var requests = request.clone({ - headers: new __WEBPACK_IMPORTED_MODULE_1__angular_common_http__["e" /* HttpHeaders */]({ - 'Authorization': 'sparqvenba2018', - 'Token': token, - 'From': '1', - }) - }); - return next.handle(requests).pipe(Object(__WEBPACK_IMPORTED_MODULE_3_rxjs_operators__["catchError"])(this.handleError('role', []))); - }; - TokenInterceptor.prototype.handleError = function (operation, result) { - if (operation === void 0) { operation = 'operation'; } - return function (error) { - if (error instanceof __WEBPACK_IMPORTED_MODULE_1__angular_common_http__["d" /* HttpErrorResponse */]) { - console.error("Error: " + error.status); - if (error.status == 401) { - localStorage.clear(); - // this.router.navigate(['/authentication/login']); - } - return Object(__WEBPACK_IMPORTED_MODULE_2_rxjs__["of"])(result); - } - }; - }; - TokenInterceptor = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__["a" /* CognitoServiceProvider */]]) - ], TokenInterceptor); - return TokenInterceptor; -}()); - -//# sourceMappingURL=token.interceptor.js.map - -/***/ }), - -/***/ 696: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoogleplaytabPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -/** - * Generated class for the GoogleplaytabPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var GoogleplaytabPage = (function () { - function GoogleplaytabPage(navCtrl, navParams, platform) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.SwipedTabsIndicator = null; - this.tabTitleWidthArray = []; - this.tabElementWidth_px = 50; - this.screenWidth_px = 0; - this.isRight = true; - this.isLeft = true; - this.tabs = []; - this.tabs = ["1", "2", "3", "4", "5", "6", "7", "9", "10", "11"]; - console.log('Width: ' + platform.width()); - this.screenWidth_px = platform.width(); - } - GoogleplaytabPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad GoogleplaytabPage'); - }; - GoogleplaytabPage.prototype.ionViewDidEnter = function () { - this.SwipedTabsIndicator = document.getElementById("indicator"); - for (var i in this.tabs) - this.tabTitleWidthArray.push(document.getElementById("tabTitle" + i).offsetWidth); - this.selectTab(0); - }; - GoogleplaytabPage.prototype.scrollIndicatiorTab = function () { - this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - this.screenWidth_px / 2, 0); - }; - GoogleplaytabPage.prototype.selectTab = function (index) { - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - this.SwipedTabsSlider.slideTo(index); - }; - GoogleplaytabPage.prototype.calculateDistanceToSpnd = function (index) { - var result = 0; - for (var _i = 0; _i < index; _i++) { - result = result + this.tabTitleWidthArray[_i]; - } - return result; - }; - GoogleplaytabPage.prototype.updateIndicatorPosition = function () { - var index = this.SwipedTabsSlider.getActiveIndex(); - if (this.SwipedTabsSlider.length() == index) - index = index - 1; - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - }; - GoogleplaytabPage.prototype.updateIndicatorPositionOnTouchEnd = function () { - var _this = this; - setTimeout(function () { _this.updateIndicatorPosition(); }, 200); - }; - GoogleplaytabPage.prototype.animateIndicator = function ($event) { - this.isLeft = false; - this.isRight = false; - var currentSliderCenterProgress = (1 / (this.SwipedTabsSlider.length() - 1)) * this.SwipedTabsSlider.getActiveIndex(); - if ($event.progress < currentSliderCenterProgress) { - this.isLeft = true; - this.isRight = false; - } - if ($event.progress > currentSliderCenterProgress) { - this.isLeft = false; - this.isRight = true; - } - if (this.SwipedTabsSlider.isEnd()) - this.isRight = false; - if (this.SwipedTabsSlider.isBeginning()) - this.isLeft = false; - if (this.isRight) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() + 1]) - + 'px,0,0)'; - if (this.isLeft) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() - 1]) - + 'px,0,0)'; - if (!this.isRight && !this.isLeft) - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()] + "px"; - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('SwipedTabsSlider'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["x" /* Slides */]) - ], GoogleplaytabPage.prototype, "SwipedTabsSlider", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('MultiItemsScrollingTabs'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], GoogleplaytabPage.prototype, "ItemsTitles", void 0); - GoogleplaytabPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-googleplaytab',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\googleplaytab\googleplaytab.html"*/'\n\n\n\n\n\n \n\n \n\n PD Listing\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tab}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n\n\n\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\googleplaytab\googleplaytab.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["w" /* Platform */]]) - ], GoogleplaytabPage); - return GoogleplaytabPage; -}()); - -//# sourceMappingURL=googleplaytab.js.map - -/***/ }), - -/***/ 697: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdAllocationPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -/** - * Generated class for the PdAllocationPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdAllocationPage = (function () { - function PdAllocationPage(navCtrl, navParams) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.pdFullDetails = []; - this.pdFullDetails = this.navParams.get('pdDetails'); - console.log(this.pdFullDetails); - } - PdAllocationPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdAllocationPage'); - }; - PdAllocationPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-allocation',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-allocation\pd-allocation.html"*/'\n\n \n\n \n\n PD Listing\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n

{{pdFullDetails.lender_full_name}}

\n\n
\n\n \n\n \n\n {{pdFullDetails.city_name}} / -{{pdFullDetails.pincode}}\n\n \n\n
\n\n
\n\n
\n\n \n\n

Product

\n\n

{{pdFullDetails.product_name}} / {{pdFullDetails.subproduct_name}}.

\n\n

{{pdFullDetails.pd_type_name}}

\n\n

{{pdFullDetails.pd_allocated_to}}

\n\n
{{pdFullDetails.pd_date_of_initiation}}
\n\n
\n\n

\n\n \n\n \n\n

{{pdFullDetails.pd_status_name}}

\n\n
\n\n \n\n

{{pdFullDetails.loan_amount}}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n

Applicants

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n   {{Mainapplicatent.applicant_name}} (Main)\n\n \n\n \n\n  {{Mainapplicatent.mobile_no}} \n\n \n\n \n\n \n\n \n\n   {{Mainapplicatent.applicant_name}}\n\n \n\n \n\n  {{Mainapplicatent.mobile_no}} \n\n \n\n \n\n \n\n
\n\n \n\n\n\n
\n\n\n\n \n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-allocation\pd-allocation.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */]]) - ], PdAllocationPage); - return PdAllocationPage; -}()); - -//# sourceMappingURL=pd-allocation.js.map - -/***/ }), - -/***/ 7: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwsServiceProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__ = __webpack_require__(346); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__ = __webpack_require__(41); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map__ = __webpack_require__(631); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -var sineedgedev_poolData = { - UserPoolId: "ap-south-1_qQ85yQZJO", - ClientId: "2o5c3cs9k3als16nqhp3irh8rs" // ClientName: SINEEDGE_DEV_WEB -}; -var lender_poolData = { - UserPoolId: "ap-south-1_hFiGyr1Gw", - ClientId: "38v9rpp1495v60e1gd14mj6rjr" // ClientName:LENDER_DEV_WEB -}; -var vendor_poolData = { - UserPoolId: "ap-south-1_K57yPaWxV", - ClientId: "" -}; -// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData); -var lenderUserPool = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["c" /* CognitoUserPool */](lender_poolData); -var sineedgedevUserpool = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedgedev_poolData); -/** -* Identity PoolID -*/ -var sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; //"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; -var lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907"; -var vendorIdenttiy = "ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874"; -var currentDate = new Date().toJSON().slice(0, 19).replace('T', ' '); -var AwsServiceProvider = (function () { - function AwsServiceProvider(http, shared, con) { - this.http = http; - this.shared = shared; - this.con = con; - this.apiurl = con.apiurl(); - } - AwsServiceProvider.prototype.dologin = function (authenticationData) { - // alert(); - //(authenticationData); - var authenticationDetails = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["a" /* AuthenticationDetails */](authenticationData); - var Newpassword = authenticationData.newpassword; - var attributesData = []; - var userData = { - Username: authenticationData.Username, - Pool: sineedgedevUserpool // user Pool ID - }; - var cognitoUser = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["b" /* CognitoUser */](userData); - return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observer) { - cognitoUser.authenticateUser(authenticationDetails, { - newPasswordRequired: function (userAttributes, requiredAttributes) { - cognitoUser.completeNewPasswordChallenge(Newpassword, attributesData, { - onSuccess: function (result) { - observer.next(result); - observer.complete(); - }, - onFailure: function (err) { - //(err); - observer.error(err); - //LoginComponent.prototype.open(); - } - }); - }, - onSuccess: function (result) { - // let accessToken = result.getAccessToken().getJwtToken(); - ////(result); - //window.localStorage.setItem('Currentuser', '1'); - observer.next(result); - observer.complete(); - this.shared.isloggin = true; - }, - onFailure: function (err) { - //alert(err.message); - observer.error(err); - } - }); - }); - }; - AwsServiceProvider.prototype.userforgotpass = function (auth) { - ////(auth); - var userData = { - Username: auth.Username, - Pool: sineedgedevUserpool - }; - var cognitoUser = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["b" /* CognitoUser */](userData); - return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observe) { - cognitoUser.forgotPassword({ - onSuccess: function (data) { - // successfully initiated reset password request - //('CodeDeliveryData from forgotPassword: ' + data); - observe.next(data); - }, - onFailure: function (err) { - alert(err.message || JSON.stringify(err)); - }, - //Optional automatic callback - inputVerificationCode: function (data) { - //('Code sent to: ' + data); - var verificationCode = prompt('Please input verification code ', ''); - var newPassword = prompt('Enter new password ', ''); - cognitoUser.confirmPassword(verificationCode, newPassword, { - onSuccess: function () { - //('Password confirmed!'); - }, - onFailure: function (err) { - //('Password not confirmed!'); - } - }); - } - }); - }); - }; - /** - * End of the function - */ - /** - * Logout function - */ - AwsServiceProvider.prototype.logout = function () { - var _this = this; - return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observe) { - _this.shared.getCurrentUser().signOut(); - observe.next(); - observe.complete(); - }); - }; - /** - * Config function - */ - // getconfig() { - // let session:any = this.shared.getAccessToken() || ""; - // let config = ""; - // config += AWS.config.region = "ap-south-1"; - // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({ - // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV - // Logins: { - // "cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO": session - // .getIdToken() - // .getJwtToken() - // } - // // NOTE: getSession must be called to authenticate user before calling getUserAttributes - // }); - // return config; - // } - AwsServiceProvider.prototype.getlocale = function () { - var session = this.shared.getToken() || null; - var userid = session.idToken.payload.locale; - return userid; - }; - AwsServiceProvider.prototype.getuserprofile = function (userid) { - // alert(); - //console.log(cogusers.idToken.payload.locale); - var roles = { 'userid': userid }; - // let request = new RequestOptions({headers:headers}); - return this.http.post(this.apiurl + 'getUsersDetails', roles); - }; - AwsServiceProvider.prototype.userpinupdate = function (pin) { - var userid = this.getlocale(); - var records = { 'mpin': pin, 'updatedon': currentDate, 'fk_updatedby': userid, 'userid': userid }; - var formdata = new FormData(); - formdata.append('records', JSON.stringify(records)); - return this.http.post(this.apiurl + 'updateExistUser', formdata); - }; - AwsServiceProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_5__cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__constants_constants__["a" /* ConstantsProvider */]]) - ], AwsServiceProvider); - return AwsServiceProvider; -}()); - -//# sourceMappingURL=aws-service.js.map - -/***/ }), - -/***/ 705: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - -/** - * Generated class for the PdQuestionBusinessPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessPage = (function () { - function PdQuestionBusinessPage(navCtrl, navParams, qustcat, aws) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustcat = qustcat; - this.aws = aws; - this.existCompanyList = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale; - this.getDropDown(); - } - PdQuestionBusinessPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessPage'); - }; - PdQuestionBusinessPage.prototype.getDropDown = function () { - var _this = this; - this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(function (res) { - _this.existCompanyList = res['records'].filter(function (data) { return data.is_active == true && data.is_company_applicant == true; }); - console.log(_this.existCompanyList); - }); - }; - PdQuestionBusinessPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business\pd-question-business.html"*/'\n\n\n\n\n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business\pd-question-business.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */]]) - ], PdQuestionBusinessPage); - return PdQuestionBusinessPage; -}()); - -//# sourceMappingURL=pd-question-business.js.map - -/***/ }), - -/***/ 706: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdPipe; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; - -/** - * Generated class for the PdPipe pipe. - * - * See https://angular.io/api/core/Pipe for more info on Angular Pipes. - */ -var PdPipe = (function () { - function PdPipe() { - } - /** - * Takes a value and makes it lowercase. - */ - PdPipe.prototype.transform = function (value, searchItem) { - var findExistIndex = searchItem.existRelationList.filter(function (sVal) { return sVal.relation_to == searchItem.currentApplicantID; }); - if (findExistIndex.length > 0) { - var check = value.filter(function (fVal) { - return !findExistIndex.some(function (sVal) { - return fVal.pd_co_applicant_id == searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id; - }); - }); - return check; - } - else { - return value.filter(function (fVal) { return fVal.pd_co_applicant_id != searchItem.currentApplicantID; }); - } - }; - PdPipe = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["T" /* Pipe */])({ - name: 'pdPipe', - }) - ], PdPipe); - return PdPipe; -}()); - -//# sourceMappingURL=pd.js.map - -/***/ }), - -/***/ 707: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionSalaryInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/** - * Generated class for the PdQuestionSalaryInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionSalaryInfoPage = (function () { - function PdQuestionSalaryInfoPage(navCtrl, navParams, fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.salaryDetails = this.fb.group({ - gross: [null], - netTakeHome: [null], - bounsIncentive: [null], - salaryDate: [null], - anydelays: [null], - }); - } - PdQuestionSalaryInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionSalaryInfoPage'); - }; - PdQuestionSalaryInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-salary-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-salary-info\pd-question-salary-info.html"*/'\n\n\n\n \n\n \n\n Salary Category\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n

Salary info

\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-salary-info\pd-question-salary-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionSalaryInfoPage); - return PdQuestionSalaryInfoPage; -}()); - -//# sourceMappingURL=pd-question-salary-info.js.map - -/***/ }), - -/***/ 710: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ModalScaleUpEnterTransition; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_ionic_angular__ = __webpack_require__(2); -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); - -var ModalScaleUpEnterTransition = (function (_super) { - __extends(ModalScaleUpEnterTransition, _super); - function ModalScaleUpEnterTransition() { - return _super !== null && _super.apply(this, arguments) || this; - } - ModalScaleUpEnterTransition.prototype.init = function () { - var ele = this.enteringView.pageRef().nativeElement; - var wrapper = new __WEBPACK_IMPORTED_MODULE_0_ionic_angular__["b" /* Animation */](this.plt, ele.querySelector('.modal-wrapper')); - wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 }); - wrapper.fromTo('transform', 'scale(0)', 'scale(1.0)'); - wrapper.fromTo('opacity', 1, 1); - this - .element(this.enteringView.pageRef()) - .duration(500) - .easing('cubic-bezier(.1, .7, .1, 1)') - .add(wrapper); - }; - return ModalScaleUpEnterTransition; -}(__WEBPACK_IMPORTED_MODULE_0_ionic_angular__["u" /* PageTransition */])); - -//# sourceMappingURL=enter.js.map - -/***/ }), - -/***/ 711: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ModalScaleUpLeaveTransition; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_ionic_angular__ = __webpack_require__(2); -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); - -var ModalScaleUpLeaveTransition = (function (_super) { - __extends(ModalScaleUpLeaveTransition, _super); - function ModalScaleUpLeaveTransition() { - return _super !== null && _super.apply(this, arguments) || this; - } - ModalScaleUpLeaveTransition.prototype.init = function () { - var ele = this.leavingView.pageRef().nativeElement; - var wrapper = new __WEBPACK_IMPORTED_MODULE_0_ionic_angular__["b" /* Animation */](this.plt, ele.querySelector('.modal-wrapper')); - var contentWrapper = new __WEBPACK_IMPORTED_MODULE_0_ionic_angular__["b" /* Animation */](this.plt, ele.querySelector('.wrapper')); - wrapper.beforeStyles({ 'transform': 'scale(0)', 'opacity': 1 }); - wrapper.fromTo('transform', 'scale(1)', 'scale(5.0)'); - wrapper.fromTo('opacity', 1, 1); - contentWrapper.fromTo('opacity', 1, 0); - this - .element(this.leavingView.pageRef()) - .duration(500) - .easing('cubic-bezier(.1, .7, .1, 1)') - .add(contentWrapper) - .add(wrapper); - }; - return ModalScaleUpLeaveTransition; -}(__WEBPACK_IMPORTED_MODULE_0_ionic_angular__["u" /* PageTransition */])); - -//# sourceMappingURL=leave.js.map - -/***/ }), - -/***/ 75: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdtriggerProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(11); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the PdtriggerProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/' -var PdtriggerProvider = (function () { - function PdtriggerProvider(http, constants) { - this.http = http; - this.constants = constants; - this.apiurl = constants.apiurl(); - console.log('Hello PdtriggerProvider Provider'); - } - /**get dropdonw list */ - /**Get list of PD Trigger */ - PdtriggerProvider.prototype.getpddetails = function (userid) { - console.log(userid); - return this.http.get(this.apiurl + 'listLessPDDetails/get?pdofficerid=' + userid); - }; - PdtriggerProvider.prototype.getFullPDdetails = function (pdid) { - return this.http.post(this.apiurl + 'getFullPDDetails', pdid); - }; - PdtriggerProvider.prototype.updatepdStatus = function (dataStatus) { - var records = { 'records': dataStatus }; - return this.http.post(this.apiurl + 'updatePDMaster', records); - }; - PdtriggerProvider.prototype.updateSchedule = function (updateData) { - return this.http.post(this.apiurl + "schdulePD", { "records": updateData }); - }; - PdtriggerProvider.prototype.saveCurrentLocation = function (data) { - var records = { 'records': data }; - return this.http.post(this.apiurl + 'savePDOfficerCurrentLocation', data); - }; - PdtriggerProvider.prototype.checkotp = function (otpDetails) { - var records = { 'records': otpDetails }; - return this.http.post(this.apiurl + 'checkOTP', records); - }; - PdtriggerProvider.prototype.getPDCompleteDetails = function (details) { - return this.http.post(this.apiurl + 'getPDCompleteDetails', { 'records': details }); - }; - PdtriggerProvider.prototype.pdFormsCompletenessCheck = function (pd_id) { - return this.http.post(this.apiurl + 'pdFormsCompletenessCheck', { 'pd_id': pd_id }); - }; - PdtriggerProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__constants_constants__["a" /* ConstantsProvider */]]) - ], PdtriggerProvider); - return PdtriggerProvider; -}()); - -//# sourceMappingURL=pdtrigger.js.map - -/***/ }), - -/***/ 79: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdListPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__input_input__ = __webpack_require__(207); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__ = __webpack_require__(63); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__otp_otp__ = __webpack_require__(208); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_database_database__ = __webpack_require__(217); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_android_permissions__ = __webpack_require__(104); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdListPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdListPage = (function () { - function PdListPage(navCtrl, navParams, aws, pdofficer, shared, db, androidPermissions, event) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.pdofficer = pdofficer; - this.shared = shared; - this.db = db; - this.androidPermissions = androidPermissions; - this.event = event; - this.bgColorPast = []; - this.bgColor = []; - this.pdinprogress = []; - this.pdlistdetails = []; - this.pdlist = "0"; - this.pdlistaccess = null; - this.notification = []; - //this.getlenderpddetails(); - // this.getpdTriggerdetails(); - this.event.subscribe('notify', function (res) { - _this.notification.push(res); - }); - this.from = this.navParams.get('notify'); - console.log("from", this.from); - console.log("notification via event", this.notification); - } - PdListPage.prototype.selectedTab = function (ind) { - this.slider.slideTo(ind); - }; - PdListPage.prototype.moveButton = function (event) { - this.pdlist = event._snapIndex.toString(); - }; - PdListPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdListPage'); - this.db.getuserDetails(); - this.setpermission(); - }; - PdListPage.prototype.ionViewCanEnter = function () { - console.log("Pd list ionViewCanEnter"); - this.getpdTriggerdetails(); - }; - PdListPage.prototype.filter = function (view) { - if (!view) { - this.viewchange = true; - } - else { - this.viewchange = false; - this.pdinprogress = this.pdinprogress; - this.pdschduleDetails = this.pdschduleDetails; - } - //alert(this.viewchange); - }; - PdListPage.prototype.pdlistsearch = function (searchbar) { - this.pdinprogress = this.searchinprogress; - this.pdschduleDetails = this.searchpast; - // reset countries list with initial call - //this.pdinprogress = this.countriesInitial; - // set q to the value of the searchbar - var q = searchbar.target.value; - // if the value is an empty string don't filter the items - if (this.pdlist == "inpro") { - if (q.trim() == '') { - return; - } - else { - this.pdinprogress = this.searchinprogress.filter(function (v) { - if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase()) > -1) { - return true; - } - return false; - }); - } - } - else { - if (q.trim() == '') { - return; - } - else { - this.pdschduleDetails = this.searchpast.filter(function (v) { - if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 - || v.pd_status.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.city_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase()) > -1) { - return true; - } - return false; - }); - } - } - }; - PdListPage.prototype.newpage = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__input_input__["a" /* InputPage */]); - }; - PdListPage.prototype.getpdTriggerdetails = function () { - var _this = this; - var userid = this.aws.getlocale(); - //.log("User",userid) - this.pdlistaccess = true; - this.pdofficer.getpddetails(userid).subscribe(function (res) { - _this.pdlistdetails = res; - if (_this.pdlistdetails.dataStatus == true) { - _this.pdlistaccess = false; - _this.pdschduleDetails = _this.pdlistdetails.records.filter(function (sch) { return sch.pd_status == "ACCEPTED" || sch.pd_status == "SCHEDULED" || sch.pd_status == "INITIATED" || sch.pd_status == "STARTED" || sch.pd_status == "INPROGRESS" || sch.pd_status == "ADD_ON_PENDING"; }); - _this.searchpast = _this.pdschduleDetails; - _this.pdinprogress = _this.pdlistdetails.records.filter(function (allocate) { return allocate.pd_status == "ALLOCATED"; }); - _this.searchinprogress = _this.pdinprogress; - console.log("allocated", _this.pdinprogress); - console.log("inpr", _this.pdschduleDetails); - _this.random_bg_color(); - _this.random_ng_past(); - } - else { - _this.pdlistaccess = false; - _this.pdlistdetails = "No Records Found"; - } - }); - }; - PdListPage.prototype.random_bg_color = function () { - for (var _i = 0, _a = this.pdinprogress; _i < _a.length; _i++) { - var id = _a[_i]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColor.push("rgb(" + x + "," + y + "," + z + ")"); - } - return this.bgColor; - }; - PdListPage.prototype.random_ng_past = function () { - for (var _i = 0, _a = this.pdschduleDetails; _i < _a.length; _i++) { - var id = _a[_i]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColorPast.push("rgb(" + x + "," + y + "," + z + ")"); - } - }; - PdListPage.prototype.doRefresh = function (refresher) { - this.bgColor = []; - this.pdschduleDetails = []; - this.pdinprogress = []; - // this.pdlistaccess = true; - this.shared.refresh(); - this.getpdTriggerdetails(); - setTimeout(function () { - refresher.complete(); - }, 2000); - }; - PdListPage.prototype.PdAllocation = function (pddetails) { - if (pddetails.pd_status == '') { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__otp_otp__["a" /* OtpPage */], { 'pdDetails': pddetails }); - // }else if(pddetails.pd_status == 'INPROGRESS'){ - // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails}); - } - else { - //FOR ASSIGNING THE PARENT PD ID - //pddetails.pd_id=pddetails.parent_pd_id - // pddetails.pd_id=pddetails.parent_pd_id - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__input_input__["a" /* InputPage */], { 'pdDetails': pddetails }); - } - }; - PdListPage.prototype.setpermission = function () { - // let permission = this.androidPermissions.PERMISSION; - // let premission_list = [ - // permission.ACCESS_LOCATION_EXTRA_COMMANDS, - // permission.CAMERA, - var _this = this; - // ]; - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('slider'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["x" /* Slides */]) - ], PdListPage.prototype, "slider", void 0); - PdListPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-list',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-list\pd-list.html"*/'\n\n \n\n \n\n PD Cases\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Allocated\n\n \n\n \n\n Scheduled\n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{progess.pd_id}}

\n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.city_name}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.pd_status}}
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n

{{progess.pd_id}}

\n\n \n\n \n\n

Add On for {{progess.parent_pd_id}}

\n\n \n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.city_name}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.pd_status}}
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{progess.pd_id}}

\n\n \n\n \n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.city_name}}
\n\n
\n\n
\n\n \n\n \n\n
{{progess.pd_status}}
\n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.scheduled_on}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n

{{progess.pd_id}}

\n\n \n\n \n\n \n\n \n\n

Add On for {{progess.parent_pd_id}}

\n\n
\n\n
\n\n \n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.city_name}}
\n\n
\n\n
\n\n \n\n \n\n
{{progess.pd_status}}
\n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.scheduled_on}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-list\pd-list.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["t" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_database_database__["a" /* DatabaseProvider */], __WEBPACK_IMPORTED_MODULE_8__ionic_native_android_permissions__["a" /* AndroidPermissions */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* Events */]]) - ], PdListPage); - return PdListPage; -}()); - -//# sourceMappingURL=pd-list.js.map - -/***/ }), - -/***/ 8: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ToastProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(42); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(2); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the ToastProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var ToastProvider = (function () { - function ToastProvider(http, toast, alertCtrl) { - this.http = http; - this.toast = toast; - this.alertCtrl = alertCtrl; - console.log('Hello ToastProvider Provider'); - } - ToastProvider.prototype.pdTriggerappmessage = function (mess) { - var valalert = this.toast.create({ - message: mess, - duration: 3000, - position: 'bottom', - dismissOnPageChange: true, - }); - valalert.present(); - }; - ToastProvider.prototype.setAlert = function (title_name, msg) { - var alert = this.alertCtrl.create({ - title: title_name, - message: msg, - cssClass: 'buttoncss', - buttons: [{ - text: 'No', - cssClass: 'btnNo', - handler: function () { - alert.dismiss(false); - return false; - } - }, { - text: 'Yes', - cssClass: 'btnYes', - handler: function () { - alert.dismiss('s'); - return false; - } - }, - ] - }); - //alert.present() - return alert; - }; - ToastProvider.prototype.setAlertForDocName = function () { - var alert = this.alertCtrl.create({ - title: 'Document Name', - message: 'Please Enter the Document Name', - cssClass: 'prompt_alert', - inputs: [ - { - name: 'Name', - //value:this.imageBucket[index].Name - placeholder: 'Document Name' - } - ], - buttons: [ - { - text: 'Submit', - handler: function (data) { - console.log(data.Name); - alert.dismiss(data.Name); - } - } - ] - }); - //alert.present(); - //this.inputFocus.setFocus(); - return alert; - }; - ToastProvider.prototype.setAlertForCompletePD = function () { - var alert = this.alertCtrl.create({ - title: 'Complete Discussion', - message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?', - cssClass: 'complete_alert', - buttons: [ - { - text: 'Yes / Allow Addon PD', - handler: function () { - alert.dismiss('addon'); - return false; - } - }, - { - text: 'Yes', - handler: function () { - alert.dismiss('yes'); - return false; - } - }, - { - text: 'No', - handler: function () { - alert.dismiss('no'); - return false; - } - } - ] - }); - //alert.present(); - //this.inputFocus.setFocus(); - return alert; - }; - ToastProvider.prototype.setAlertwithButton = function (data) { - var alert = this.alertCtrl.create({ - title: 'Notification', - subTitle: data.title, - message: data.message, - buttons: ['OK'] - }); - alert.present(); - }; - ToastProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["y" /* ToastController */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* AlertController */]]) - ], ToastProvider); - return ToastProvider; -}()); - -//# sourceMappingURL=toast.js.map - -/***/ }) - -},[418]); -//# sourceMappingURL=main.js.map \ No newline at end of file +webpackJsonp([2],{298:function(l,n){function e(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}e.keys=function(){return[]},e.resolve=e,l.exports=e,e.id=298},323:function(l,n){function e(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}e.keys=function(){return[]},e.resolve=e,l.exports=e,e.id=323},376:function(l,n,e){"use strict";function u(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,0,"img",[["class","user-avatar round"],["onerror","this.src='assets/img/avatar/girl-avatar.png'"],["style","height:111px;max-width:111px;"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),fP._40(6,null,[""," ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(9,null,["(",")"])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.userDetails.profilepic||e.placeholder);l(n,6,0,e.userDetails.user_first_name,e.userDetails.user_last_name);l(n,9,0,e.userDetails.role_name)})}function t(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,0,"img",[["class","user-avatar round"],["onerror","this.src='assets/img/avatar/girl-avatar.png'"],["style","height:111px;max-width:111px;"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Sineedge PD Officer"])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.chosenPicture||e.placeholder)})}function a(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"button",[["class","item item-block"],["detail-none",""],["ion-item",""],["menuClose","left"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,6).close()&&u}if("click"===n){u=!1!==l.context.$implicit.method()&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,4,{contentLabel:0}),fP._38(603979776,5,{_buttons:1}),fP._38(603979776,6,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),fP._17(6,16384,null,0,rA.a,[_A.a],{menuClose:[0,"menuClose"]},null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,0,1,"ion-icon",[["item-left",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(9,147456,[[6,4]],0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(10,2,["\n ","\n "]))],function(l,n){l(n,6,0,"left");l(n,9,0,n.context.$implicit.icon)},function(l,n){l(n,8,0,fP._32(n,9)._hidden);l(n,10,0,n.context.$implicit.title)})}function i(l){return fP._42(0,[fP._38(402653184,1,{nav:0}),(l()(),fP._18(1,0,null,null,24,"ion-menu",[["id","menu-material"],["role","navigation"]],null,null,null,sA.b,sA.a)),fP._37(6144,null,cA.a,null,[mA.a]),fP._17(3,245760,null,2,mA.a,[_A.a,fP.p,aA.a,pA.a,fP.O,fA.a,hA.l,gA.a,bA.a],{content:[0,"content"],id:[1,"id"]},null),fP._38(335544320,2,{menuContent:0}),fP._38(335544320,3,{menuNav:0}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(7,0,null,0,17,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(8,4374528,[[2,4]],0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,u)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,t)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,0,"div",[["class","hr"]],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,5,"ion-list",[["no-lines",""]],null,null,null,null,null)),fP._17(19,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,a)),fP._17(22,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"ion-nav",[["swipeBackEnabled","false"]],null,null,null,xA.b,xA.a)),fP._37(6144,null,cA.a,null,[kA.a]),fP._17(30,4374528,[[1,4],["content",4]],0,kA.a,[[2,CA.a],[2,wA.a],bA.a,aA.a,pA.a,fP.p,fP.H,fP.O,fP.l,hA.l,SA.a,[2,IA.a],gA.a,fP.r],{swipeBackEnabled:[0,"swipeBackEnabled"],root:[1,"root"]},null)],function(l,n){var e=n.component;l(n,3,0,fP._32(n,30),"menu-material");l(n,11,0,e.userAccess);l(n,14,0,!e.userAccess);l(n,22,0,e.pages);l(n,30,0,"false",e.rootPage)},function(l,n){l(n,7,0,fP._32(n,8).statusbarPadding,fP._32(n,8)._hasRefresher)})}function o(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(17,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(18,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(21,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(24,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["PIN"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(32,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(35,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,1,{_control:0}),fP._38(335544320,2,{_placeholderChild:0}),fP._38(335544320,3,{_labelChild:0}),fP._38(603979776,4,{_errorChildren:1}),fP._38(603979776,5,{_hintChildren:1}),fP._38(603979776,6,{_prefixChildren:1}),fP._38(603979776,7,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,[["newpassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","New PIN"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==fP._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,48)._onInput()&&u}return u},null,null)),fP._17(48,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[1,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(52,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(55,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,8,{_control:0}),fP._38(335544320,9,{_placeholderChild:0}),fP._38(335544320,10,{_labelChild:0}),fP._38(603979776,11,{_errorChildren:1}),fP._38(603979776,12,{_hintChildren:1}),fP._38(603979776,13,{_prefixChildren:1}),fP._38(603979776,14,{_suffixChildren:1}),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._18(64,0,[["confirmPassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","Confirm PIN"],["required",""],["style","width: 100%;"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==fP._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,65)._onInput()&&u}return u},null,null)),fP._17(65,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[8,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),fP._17(73,16384,null,0,AA.d,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(75,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(76,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.setnewpin(fP._32(l,47).value)&&u}return u},BA.b,BA.a)),fP._17(79,180224,null,0,RA.b,[fP.p,jP.a,UA.j],{color:[0,"color"]},null),fP._17(80,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["UNLOCK"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,48,0,"New PIN","","password");l(n,65,0,"Confirm PIN","");l(n,79,0,"primary")},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,0,fP._32(n,48)._isServer,fP._32(n,48).id,fP._32(n,48).placeholder,fP._32(n,48).disabled,fP._32(n,48).required,fP._32(n,48).readonly,fP._32(n,48)._ariaDescribedby||null,fP._32(n,48).errorState,fP._32(n,48).required.toString());l(n,54,1,[fP._32(n,55)._control.errorState,fP._32(n,55)._control.errorState,fP._32(n,55)._canLabelFloat,fP._32(n,55)._shouldLabelFloat(),fP._32(n,55)._hideControlPlaceholder(),fP._32(n,55)._control.disabled,fP._32(n,55)._control.focused,"primary"==fP._32(n,55).color,"accent"==fP._32(n,55).color,"warn"==fP._32(n,55).color,fP._32(n,55)._shouldForward("untouched"),fP._32(n,55)._shouldForward("touched"),fP._32(n,55)._shouldForward("pristine"),fP._32(n,55)._shouldForward("dirty"),fP._32(n,55)._shouldForward("valid"),fP._32(n,55)._shouldForward("invalid"),fP._32(n,55)._shouldForward("pending")]);l(n,64,0,fP._32(n,65)._isServer,fP._32(n,65).id,fP._32(n,65).placeholder,fP._32(n,65).disabled,fP._32(n,65).required,fP._32(n,65).readonly,fP._32(n,65)._ariaDescribedby||null,fP._32(n,65).errorState,fP._32(n,65).required.toString());l(n,75,0,"end"===fP._32(n,76).align);l(n,78,0,fP._32(n,79).disabled||null)})}function r(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,74,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(18,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(21,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(24,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["PIN"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(32,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(35,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,15,{_control:0}),fP._38(335544320,16,{_placeholderChild:0}),fP._38(335544320,17,{_labelChild:0}),fP._38(603979776,18,{_errorChildren:1}),fP._38(603979776,19,{_hintChildren:1}),fP._38(603979776,20,{_prefixChildren:1}),fP._38(603979776,21,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,[["pin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","PIN"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==fP._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,48)._onInput()&&u}return u},null,null)),fP._17(48,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[15,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(55,0,null,1,18,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),fP._17(56,16384,null,0,AA.d,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(59,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(61,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkpin(fP._32(l,47).value)&&u}return u},BA.b,BA.a)),fP._17(62,180224,null,0,RA.b,[fP.p,jP.a,UA.j],{color:[0,"color"]},null),fP._17(63,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["UNLOCK"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,5,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkfingerprint()&&u}return u},null,null)),fP._17(68,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(70,0,null,null,1,"ion-icon",[["name","finger-print"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(71,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,48,0,"PIN","","password");l(n,62,0,"primary");l(n,71,0,"finger-print")},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,0,fP._32(n,48)._isServer,fP._32(n,48).id,fP._32(n,48).placeholder,fP._32(n,48).disabled,fP._32(n,48).required,fP._32(n,48).readonly,fP._32(n,48)._ariaDescribedby||null,fP._32(n,48).errorState,fP._32(n,48).required.toString());l(n,58,0,"end"===fP._32(n,59).align);l(n,61,0,fP._32(n,62).disabled||null);l(n,67,0,"end"===fP._32(n,68).align);l(n,70,0,fP._32(n,71)._hidden)})}function _(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n\n\n\n"])),(l()(),fP._18(1,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(2,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,o)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._13(16777216,null,1,1,null,r)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,e.mpinaccess);l(n,8,0,!e.mpinaccess)},function(l,n){l(n,1,0,fP._32(n,2).statusbarPadding,fP._32(n,2)._hasRefresher)})}function d(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"a",[["class","mat-text-warn mb-0"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.forgotpassword()&&u}return u},null,null)),(l()(),fP._40(-1,null,["Forgot password?"]))],null,null)}function s(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(2,0,null,null,101,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(3,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(5,0,null,1,97,"div",[["class","relative"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,94,"div",[["class","form-bg"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,91,"div",[["class","pt-2"],["fxLayout","row"],["fxLayoutAlign","center start"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,88,"div",[["fxFlex.lg","40"],["fxFlex.md","50"],["fxFlex.sm","80"],["fxFlex.xl","40"],["fxFlex.xs","90"],["fxLayout","column"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,85,"div",[["class","login-session"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(15,0,null,null,4,"div",[["class","col-lg"],["style","text-align: center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,0,"img",[["alt","PD Genie"],["src","../../assets/img/pd_icon.png"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,1,"h3",[["class","label_name"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["PD Genie"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,73,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0,t=l.component;if("submit"===n){u=!1!==fP._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,26).onReset()&&u}if("ngSubmit"===n){u=!1!==t.login()&&u}return u},null,null)),fP._17(25,16384,null,0,EP.B,[],null,null),fP._17(26,4210688,[["form",4]],0,EP.u,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),fP._37(2048,null,EP.c,null,[EP.u]),fP._17(28,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,66,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,1,{_control:0}),fP._38(335544320,2,{_placeholderChild:0}),fP._38(335544320,3,{_labelChild:0}),fP._38(603979776,4,{_errorChildren:1}),fP._38(603979776,5,{_hintChildren:1}),fP._38(603979776,6,{_prefixChildren:1}),fP._38(603979776,7,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","email"],["placeholder","E-Mail"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,50)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.email=e)&&u}return u},null,null)),fP._17(43,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(44,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(47,671744,null,0,EP.v,[[2,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(49,16384,null,0,EP.s,[EP.r],null,null),fP._17(50,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[1,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(54,0,null,null,21,"mat-form-field",[["class","mb-1 mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(55,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,8,{_control:0}),fP._38(335544320,9,{_placeholderChild:0}),fP._38(335544320,10,{_labelChild:0}),fP._38(603979776,11,{_errorChildren:1}),fP._38(603979776,12,{_hintChildren:1}),fP._38(603979776,13,{_prefixChildren:1}),fP._38(603979776,14,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["minlength","8"],["name","password"],["placeholder","Password"],["required",""],["type","password"]],[[1,"required",0],[1,"minlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,65)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,73)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.password=e)&&u}return u},null,null)),fP._17(65,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._17(67,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.x,EP.o]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(70,671744,null,0,EP.v,[[2,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(72,16384,null,0,EP.s,[EP.r],null,null),fP._17(73,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[8,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(78,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,9,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(81,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(83,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],null,null,BA.b,BA.a)),fP._17(84,180224,null,0,RA.b,[fP.p,jP.a,UA.j],{color:[0,"color"]},null),fP._17(85,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["SIGN IN"])),(l()(),fP._18(87,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,d)),fP._17(94,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,44,0,"");l(n,47,0,"email",e.email);l(n,50,0,"E-Mail","","text");l(n,66,0,"");l(n,67,0,"8");l(n,70,0,"password",e.password);l(n,73,0,"Password","","password");l(n,84,0,"primary");l(n,94,0,e.email)},function(l,n){l(n,2,0,fP._32(n,3).statusbarPadding,fP._32(n,3)._hasRefresher);l(n,24,0,fP._32(n,28).ngClassUntouched,fP._32(n,28).ngClassTouched,fP._32(n,28).ngClassPristine,fP._32(n,28).ngClassDirty,fP._32(n,28).ngClassValid,fP._32(n,28).ngClassInvalid,fP._32(n,28).ngClassPending);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,44).required?"":null,fP._32(n,49).ngClassUntouched,fP._32(n,49).ngClassTouched,fP._32(n,49).ngClassPristine,fP._32(n,49).ngClassDirty,fP._32(n,49).ngClassValid,fP._32(n,49).ngClassInvalid,fP._32(n,49).ngClassPending,fP._32(n,50)._isServer,fP._32(n,50).id,fP._32(n,50).placeholder,fP._32(n,50).disabled,fP._32(n,50).required,fP._32(n,50).readonly,fP._32(n,50)._ariaDescribedby||null,fP._32(n,50).errorState,fP._32(n,50).required.toString()]);l(n,54,1,[fP._32(n,55)._control.errorState,fP._32(n,55)._control.errorState,fP._32(n,55)._canLabelFloat,fP._32(n,55)._shouldLabelFloat(),fP._32(n,55)._hideControlPlaceholder(),fP._32(n,55)._control.disabled,fP._32(n,55)._control.focused,"primary"==fP._32(n,55).color,"accent"==fP._32(n,55).color,"warn"==fP._32(n,55).color,fP._32(n,55)._shouldForward("untouched"),fP._32(n,55)._shouldForward("touched"),fP._32(n,55)._shouldForward("pristine"),fP._32(n,55)._shouldForward("dirty"),fP._32(n,55)._shouldForward("valid"),fP._32(n,55)._shouldForward("invalid"),fP._32(n,55)._shouldForward("pending")]);l(n,64,1,[fP._32(n,66).required?"":null,fP._32(n,67).minlength?fP._32(n,67).minlength:null,fP._32(n,72).ngClassUntouched,fP._32(n,72).ngClassTouched,fP._32(n,72).ngClassPristine,fP._32(n,72).ngClassDirty,fP._32(n,72).ngClassValid,fP._32(n,72).ngClassInvalid,fP._32(n,72).ngClassPending,fP._32(n,73)._isServer,fP._32(n,73).id,fP._32(n,73).placeholder,fP._32(n,73).disabled,fP._32(n,73).required,fP._32(n,73).readonly,fP._32(n,73)._ariaDescribedby||null,fP._32(n,73).errorState,fP._32(n,73).required.toString()]);l(n,83,0,fP._32(n,84).disabled||null)})}function c(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["PD Cases"]))],null,null)}function m(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,[" "])),(l()(),fP._18(3,0,null,0,5,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"input"],[null,"ionCancel"],[null,"ionclose"]],function(l,n,e){var u=!0,t=l.component;if("ngModelChange"===n){u=!1!==(t.searchitem=e)&&u}if("input"===n){u=!1!==t.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}if("ionclose"===n){u=!1!==t.pdlistsearch(e)&&u}return u},lV.b,lV.a)),fP._17(4,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(6,16384,null,0,EP.s,[EP.r],null,null),fP._17(7,1294336,null,0,nV.a,[aA.a,pA.a,fP.p,fP.O,[2,EP.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.searchitem);l(n,7,0,!0,!0)},function(l,n){l(n,3,1,[fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending,fP._32(n,7)._animated,fP._32(n,7)._value,fP._32(n,7)._isActive,fP._32(n,7)._showCancelButton,fP._32(n,7)._shouldAlignLeft,fP._32(n,7)._isFocus])})}function p(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function f(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function h(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,6,"content-loader",[],null,null,null,eV.b,eV.a)),fP._17(3,49152,null,0,LL.b,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,0,":svg:rect",[["height","70"],["rx","5"],["ry","5"],["width","300"],["x","80"],["y","40"]],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(7,0,null,0,0,":svg:circle",[["cx","40"],["cy","70"],["fill","red"],["r","30"],["stroke","3"],["stroke-width","3"]],null,null,null,null,null)),(l()(),fP._40(-1,0,[" \n \n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function g(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,2,null,h)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._33(4,5),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,l(n,4,0,1,2,3,4,5))},null)}function b(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""])),fP._36(5,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,fP._41(n,4,0,l(n,5,0,fP._32(n.parent.parent.parent.parent,0),n.parent.parent.context.$implicit.applicat_details[0].applicant_name)))})}function v(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,48,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.parent.context.$implicit)&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,5,{contentLabel:0}),fP._38(603979776,6,{_buttons:1}),fP._38(603979776,7,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),fP._40(9,null,["",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,2,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(12,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,b)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(18,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(23,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(26,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(31,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(32,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(35,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),fP._40(38,null,["",", ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(42,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(45,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "]))],function(l,n){l(n,15,0,0!=n.parent.context.$implicit.applicat_details.length&&1==n.parent.context.$implicit.applicat_details[0].applicant_type)},function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,23,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,26,0,n.parent.context.$implicit.city_name);l(n,38,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,45,0,n.parent.context.$implicit.pd_status)})}function y(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.parent.context.$implicit)&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,8,{contentLabel:0}),fP._38(603979776,9,{_buttons:1}),fP._38(603979776,10,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),fP._40(9,null,["",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,2,23,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(12,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,6,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),fP._17(15,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(18,null,["Add On for ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(28,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(31,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(36,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(37,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(40,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),fP._40(43,null,["",", ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(47,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(50,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "]))],null,function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,18,0,n.parent.context.$implicit.parent_pd_id);l(n,28,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,31,0,n.parent.context.$implicit.city_name);l(n,43,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,50,0,n.parent.context.$implicit.pd_status)})}function C(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,10,"ion-list",[],null,null,null,null,null)),fP._17(4,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,v)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,y)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,8,0,1!=n.context.$implicit.is_child);l(n,12,0,1==n.context.$implicit.is_child)},null)}function w(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,C)),fP._17(2,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,2,0,n.component.pdinprogress)},null)}function F(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,6,"content-loader",[],null,null,null,eV.b,eV.a)),fP._17(3,49152,null,0,LL.b,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,0,":svg:rect",[["height","70"],["rx","5"],["ry","5"],["width","300"],["x","80"],["y","40"]],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(7,0,null,0,0,":svg:circle",[["cx","40"],["cy","70"],["fill","red"],["r","30"],["stroke","3"],["stroke-width","3"]],null,null,null,null,null)),(l()(),fP._40(-1,0,[" \n \n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function x(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,2,null,F)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._33(4,5),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,l(n,4,0,1,2,3,4,5))},null)}function k(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""])),fP._36(5,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,fP._41(n,4,0,l(n,5,0,fP._32(n.parent.parent.parent.parent.parent,0),n.parent.parent.parent.context.$implicit.applicat_details[0].applicant_name)))})}function S(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,k)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,4,0,n.parent.parent.context.$implicit.applicat_details&&0!=n.parent.parent.context.$implicit.applicat_details.length&&1==n.parent.parent.context.$implicit.applicat_details[0].applicant_type)},null)}function I(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_date_of_initiation)})}function q(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.scheduled_on)})}function P(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,56,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.parent.context.$implicit)&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,11,{contentLabel:0}),fP._38(603979776,12,{_buttons:1}),fP._38(603979776,13,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n \n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),fP._40(9,null,["",""])),(l()(),fP._40(-1,2,["\n \n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._13(16777216,null,2,1,null,S)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(15,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(16,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(19,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),fP._40(22,null,["",", ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(25,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(26,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(29,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(33,0,null,2,22,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(34,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(40,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(44,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,I)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,q)),fP._17(52,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n \n "]))],function(l,n){l(n,13,0,n.parent.context.$implicit.applicat_details&&0!=n.parent.context.$implicit.applicat_details.length);l(n,49,0,null==n.parent.context.$implicit.scheduled_on);l(n,52,0,null!=n.parent.context.$implicit.scheduled_on)},function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,22,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,29,0,n.parent.context.$implicit.city_name);l(n,40,0,n.parent.context.$implicit.pd_status)})}function D(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_date_of_initiation)})}function T(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.scheduled_on)})}function O(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,64,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.parent.context.$implicit)&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,14,{contentLabel:0}),fP._38(603979776,15,{_buttons:1}),fP._38(603979776,16,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(7,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),fP._40(8,null,["",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(12,0,null,2,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(13,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(16,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(19,null,["Add On for ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n \n "])),(l()(),fP._18(23,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(24,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(27,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),fP._40(30,null,["",", ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(33,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(34,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(37,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(41,0,null,2,22,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(42,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(45,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(48,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(51,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(52,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,D)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,T)),fP._17(60,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n \n "]))],function(l,n){l(n,57,0,null==n.parent.context.$implicit.scheduled_on);l(n,60,0,null!=n.parent.context.$implicit.scheduled_on)},function(l,n){l(n,7,0,n.component.bgColorPast[n.parent.context.index]);l(n,8,0,n.parent.context.$implicit.pd_id);l(n,19,0,n.parent.context.$implicit.parent_pd_id);l(n,30,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,37,0,n.parent.context.$implicit.city_name);l(n,48,0,n.parent.context.$implicit.pd_status)})}function L(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._18(3,0,null,0,10,"ion-list",[],null,null,null,null,null)),fP._17(4,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,P)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,O)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "]))],function(l,n){l(n,8,0,"0"==n.context.$implicit.is_child);l(n,12,0,"1"==n.context.$implicit.is_child)},null)}function A(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,L)),fP._17(2,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,2,0,n.component.pdschduleDetails)},null)}function V(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"div",[["text-center",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function N(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._38(402653184,1,{slider:0}),(l()(),fP._18(2,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(3,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(6,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,10).toggle()&&u}return u},aV.b,aV.a)),fP._17(9,1097728,[[2,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(10,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(11,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(15,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,c)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._13(16777216,null,3,1,null,m)),fP._17(22,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(24,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(25,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,p)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,f)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.pdlist=e)&&u}return u},null,null)),fP._17(38,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(40,16384,null,0,EP.s,[EP.r],null,null),fP._17(41,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==fP._32(l,45).onClick()&&u}if("click"===n){t.selectedTab(0);u=!1!=(t.showButton=!t.showButton)&&u}return u},dV.b,dV.a)),fP._17(45,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Allocated\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==fP._32(l,49).onClick()&&u}if("click"===n){u=!1!==t.selectedTab(1)&&u}return u},dV.b,dV.a)),fP._17(49,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Scheduled\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(54,0,null,null,62,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(55,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),fP._17(58,212992,null,0,cV.a,[pA.a,yA.a,fP.H,hA.l],null,{ionRefresh:"ionRefresh"}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(60,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,mV.b,mV.a)),fP._17(61,114688,null,0,pV.a,[cV.a,aA.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(67,0,null,1,2,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(68,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(71,0,null,1,40,"ion-slides",[],null,[[null,"ionSlideWillChange"]],function(l,n,e){var u=!0;if("ionSlideWillChange"===n){u=!1!==l.component.moveButton(e)&&u}return u},fV.b,fV.a)),fP._17(72,1228800,[[1,4],["slider",4]],0,hV.a,[aA.a,pA.a,fP.H,[2,CA.a],fP.p,fP.O],null,{ionSlideWillChange:"ionSlideWillChange"}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(78,0,null,0,13,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(79,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(82,0,null,0,7,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),fP._17(83,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,g)),fP._17(86,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(0,[["allocateaccess",2]],null,0,null,w)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(95,0,null,0,14,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(96,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(99,0,null,0,8,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),fP._17(100,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,x)),fP._17(103,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(0,[["access",2]],null,0,null,A)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,V)),fP._17(115,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n \n \n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,22,0,e.viewchange);l(n,29,0,!e.viewchange);l(n,32,0,e.viewchange);l(n,38,0,e.pdlist);l(n,41,0,"optblue");l(n,45,0,"0");l(n,49,0,"1"),l(n,58,0);l(n,61,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,86,0,e.pdlistaccess,fP._32(n,88));l(n,103,0,e.pdlistaccess,fP._32(n,106));l(n,115,0,!e.pdlistaccess&&null!=e.pdlistaccess)},function(l,n){l(n,5,0,fP._32(n,6)._hidden,fP._32(n,6)._sbPadding);l(n,8,0,fP._32(n,10).isHidden);l(n,14,0,fP._32(n,15)._hidden);l(n,37,0,fP._32(n,40).ngClassUntouched,fP._32(n,40).ngClassTouched,fP._32(n,40).ngClassPristine,fP._32(n,40).ngClassDirty,fP._32(n,40).ngClassValid,fP._32(n,40).ngClassInvalid,fP._32(n,40).ngClassPending,fP._32(n,41)._disabled);l(n,44,0,fP._32(n,45)._disabled,fP._32(n,45).isActive,fP._32(n,45).isActive);l(n,48,0,fP._32(n,49)._disabled,fP._32(n,49).isActive,fP._32(n,49).isActive);l(n,54,0,fP._32(n,55).statusbarPadding,fP._32(n,55)._hasRefresher);l(n,57,0,"inactive"!==fP._32(n,58).state,fP._32(n,58)._top);l(n,60,0,fP._32(n,61).r.state)})}function W(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],null,function(l,n){var e=n.component;l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent,0),e.pageTitle)))})}function E(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,[" "])),(l()(),fP._18(3,0,null,0,5,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"input"],[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ngModelChange"===n){u=!1!==(t.searchitem=e)&&u}if("input"===n){u=!1!==t.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},lV.b,lV.a)),fP._17(4,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(6,16384,null,0,EP.s,[EP.r],null,null),fP._17(7,1294336,null,0,nV.a,[aA.a,pA.a,fP.p,fP.O,[2,EP.r]],{showCancelButton:[0,"showCancelButton"]},{ionCancel:"ionCancel"}),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.searchitem);l(n,7,0,!0)},function(l,n){l(n,3,1,[fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending,fP._32(n,7)._animated,fP._32(n,7)._value,fP._32(n,7)._isActive,fP._32(n,7)._showCancelButton,fP._32(n,7)._shouldAlignLeft,fP._32(n,7)._isFocus])})}function j(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function $(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function B(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(4,0,null,0,30,"ion-list",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.questionsTag(l.context.$implicit.fk_question_category_id)&&u}return u},null,null)),fP._17(5,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,26,"ion-item",[["class","item item-block"]],null,null,null,eA.b,eA.a)),fP._17(8,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,3,{contentLabel:0}),fP._38(603979776,4,{_buttons:1}),fP._38(603979776,5,{_icons:1}),fP._17(12,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(14,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),fP._17(15,147456,[[5,4]],0,dA.a,[aA.a,fP.p,fP.O],null,null),(l()(),fP._40(16,null,["",""])),fP._34(0,mD.t,[]),fP._36(18,1),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(20,0,null,2,12,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(21,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,8,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),fP._17(24,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(27,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(30,null,[""," / "," Questions"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(36,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,[" \n \n "]))],null,function(l,n){l(n,14,0,n.component.bgColorqustCat[n.context.index],fP._32(n,15)._hidden);l(n,16,0,fP._41(n,16,0,l(n,18,0,fP._32(n.parent.parent,1),fP._41(n,16,0,fP._32(n,17).transform(n.context.$implicit.category_name[0],0,1)))));l(n,27,0,n.context.$implicit.category_name);l(n,30,0,n.context.$implicit.answerd_count,n.context.$implicit.questions_count)})}function R(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,B)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.component.questionCate.question_answers)},null)}function U(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"ion-icon",[["name","md-checkmark-circle"],["role","img"],["style","color:green;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(1,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-checkmark-circle")},function(l,n){l(n,0,0,fP._32(n,1)._hidden)})}function M(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"ion-icon",[["name","md-close-circle"],["role","img"],["style","color:red;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(1,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-close-circle")},function(l,n){l(n,0,0,fP._32(n,1)._hidden)})}function K(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,39,"ion-list",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.tempQustionTag(l.context.$implicit.form_id)&&u}return u},null,null)),fP._17(4,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,35,"ion-item",[["class","item item-block"]],null,null,null,eA.b,eA.a)),fP._17(7,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,6,{contentLabel:0}),fP._38(603979776,7,{_buttons:1}),fP._38(603979776,8,{_icons:1}),fP._17(11,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),fP._17(14,147456,[[8,4]],0,dA.a,[aA.a,fP.p,fP.O],null,null),(l()(),fP._40(15,null,["",""])),fP._34(0,mD.t,[]),fP._36(17,1),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(19,0,null,2,21,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(20,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,8,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,1,"h2",[["style","font-size:20px;"]],null,null,null,null,null)),(l()(),fP._40(28,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(32,0,null,null,7,"ion-col",[["class","col"],["col-1",""],["offset-5",""]],null,null,null,null,null)),fP._17(33,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,U)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(0,[["notAnswer",2]],null,0,null,M)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(44,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,36,0,n.context.$implicit.isAnswered,fP._32(n,38))},function(l,n){l(n,13,0,n.component.bgColortempForm[n.context.index],fP._32(n,14)._hidden);l(n,15,0,fP._41(n,15,0,l(n,17,0,fP._32(n.parent.parent,1),fP._41(n,15,0,fP._32(n,16).transform(n.context.$implicit.form_name[0],0,1)))));l(n,28,0,n.context.$implicit.form_name)})}function H(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,K)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,3,0,n.component.dis_forms)},null)}function G(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[["text-center",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(3,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""])),(l()(),fP._40(-1,null,[" \n "]))],null,function(l,n){l(n,4,0,n.component.questionCate)})}function z(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdFormCompletnessCheck()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["\n Complete "]))],function(l,n){l(n,1,0,"primary","")},function(l,n){l(n,0,0,0==n.component.complete_btn)})}function Y(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._34(0,mD.v,[]),(l()(),fP._18(2,0,null,null,34,"ion-header",[],null,null,null,null,null)),fP._17(3,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(6,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,10).toggle()&&u}return u},aV.b,aV.a)),fP._17(9,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(10,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(11,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(15,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,W)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._13(16777216,null,3,1,null,E)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(26,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,j)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(38,0,null,null,29,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(39,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(41,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),fP._17(42,212992,null,0,cV.a,[pA.a,yA.a,fP.H,hA.l],null,{ionRefresh:"ionRefresh"}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,mV.b,mV.a)),fP._17(45,114688,null,0,pV.a,[cV.a,aA.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(50,0,null,1,13,"ion-list",[],null,null,null,null,null)),fP._17(51,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(53,0,null,null,9,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(54,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,R)),fP._17(58,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,H)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n\n \n \n "])),(l()(),fP._13(16777216,null,1,1,null,G)),fP._17(66,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(69,0,null,null,10,"ion-footer",[],null,null,null,null,null)),fP._17(70,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(72,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(73,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,z)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange),l(n,42,0);l(n,45,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,58,0,e.questionCateAccess);l(n,61,0,e.templateAccess);l(n,66,0,null!=e.questionCateAccess&&!e.questionCateAccess);l(n,77,0,!e.complete_status)},function(l,n){l(n,5,0,fP._32(n,6)._hidden,fP._32(n,6)._sbPadding);l(n,8,0,fP._32(n,10).isHidden);l(n,14,0,fP._32(n,15)._hidden);l(n,38,0,fP._32(n,39).statusbarPadding,fP._32(n,39)._hasRefresher);l(n,41,0,"inactive"!==fP._32(n,42).state,fP._32(n,42)._top);l(n,44,0,fP._32(n,45).r.state)})}function Q(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,[""," Category"]))],null,function(l,n){l(n,2,0,n.component.questionDetails.category_name)})}function J(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[24,"@itemState",0],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},lV.b,lV.a)),fP._17(4,1294336,null,0,nV.a,[aA.a,pA.a,fP.p,fP.O,[2,EP.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,fP._32(n,4)._animated,fP._32(n,4)._value,fP._32(n,4)._isActive,fP._32(n,4)._showCancelButton,fP._32(n,4)._shouldAlignLeft,fP._32(n,4)._isFocus)})}function X(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Z(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function ll(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","IngoreMe"]],[[8,"id",0],[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==fP._32(l,3).onClick()&&u}if("click"===n){u=!1!==t.selectTab(l.context.index)&&u}return u},dV.b,dV.a)),fP._17(1,278528,null,0,mD.i,[fP.B,fP.C,fP.p,fP.P],{ngClass:[0,"ngClass"]},null),fP._35(2,{"SwipedTabs-activeTab":0}),fP._17(3,114688,[[5,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,fP._32(n.parent,61)&&(fP._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&fP._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,fP._21(1,"tabTitle",n.context.index,""),fP._32(n,3)._disabled,fP._32(n,3).isActive,fP._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function nl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"mat-list-item",[["class","mat-list-item"]],null,[[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,1)._handleFocus()&&u}if("blur"===n){u=!1!==fP._32(l,1)._handleBlur()&&u}return u},SV.c,SV.b)),fP._17(1,1097728,null,2,IV.b,[fP.p,[2,IV.e]],null,null),fP._38(603979776,9,{_lines:1}),fP._38(335544320,10,{_hasAvatar:0}),(l()(),fP._40(-1,2,["\n\n "])),(l()(),fP._18(5,0,null,2,2,"mat-radio-button",[["class","mat-radio-button"],["name","answerDetails"],["radioGroup","rGroup"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,6)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(6,4440064,[[8,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{name:[0,"name"],checked:[1,"checked"],value:[2,"value"]},null),(l()(),fP._40(7,0,["",""])),(l()(),fP._40(-1,2,["\n\n\n "]))],function(l,n){l(n,6,0,"answerDetails",null!=n.context.$implicit.isactive||null!=n.context.$implicit.pd_detail_answer_id,n.context.$implicit)},function(l,n){l(n,5,0,fP._32(n,6).checked,fP._32(n,6).disabled,fP._32(n,6).id);l(n,7,0,n.context.$implicit.answer)})}function el(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","docName"],["placeholder","File Name"],["required",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0,t=l.component;if("blur"===n){u=!1!==fP._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==t.docnames(e.target.value,l.parent.parent.context.index,l.parent.parent.context.$implicit.pd_document_name,l.parent.parent.context.$implicit.questionId)&&u}return u},null,null)),fP._37(6144,null,EA.c,null,[$A.b]),fP._17(4,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,fP._32(n,4)._isServer,fP._32(n,4).id,fP._32(n,4).placeholder,fP._32(n,4).disabled,fP._32(n,4).required,fP._32(n,4).readonly,fP._32(n,4)._ariaDescribedby||null,fP._32(n,4).errorState,fP._32(n,4).required.toString())})}function ul(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),fP._40(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_document_title)})}function tl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeimage(l.parent.context.index)&&u}return u},null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,1,"img",[["class","img-responsive"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).onClick(e)&&u}return u},null,null)),fP._17(8,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,el)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ul)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"trash");l(n,8,0,"");l(n,11,0,""==n.parent.context.$implicit.pd_document_title);l(n,14,0,""!=n.parent.context.$implicit.pd_document_title)},function(l,n){l(n,3,0,fP._32(n,4)._hidden);l(n,7,0,fP._21(1,"",n.parent.context.$implicit.pd_document_name,""))})}function al(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tl)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.context.$implicit.questionId==n.parent.parent.context.$implicit.fk_question_id)},null)}function il(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,26,"mat-list",[["class","mat-list"]],null,null,null,SV.d,SV.a)),fP._17(7,49152,null,0,IV.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,22,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(10,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,[["rGroup",1]],0,10,"mat-radio-group",[["class","mat-radio-group"],["formControlName","answerDetails"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(13,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,8,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nl)),fP._17(21,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(25,0,null,0,5,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(26,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,al)),fP._17(29,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"answerDetails");l(n,21,0,n.parent.context.$implicit.answers);l(n,29,0,e.docArray)},function(l,n){l(n,12,0,fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending)})}function ol(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-list-item",[["class","mat-list-item"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,1).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,1).onReset()&&u}if("focus"===n){u=!1!==fP._32(l,4)._handleFocus()&&u}if("blur"===n){u=!1!==fP._32(l,4)._handleBlur()&&u}return u},SV.c,SV.b)),fP._17(1,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,1097728,null,2,IV.b,[fP.p,[2,IV.e]],null,null),fP._38(603979776,11,{_lines:1}),fP._38(335544320,12,{_hasAvatar:0}),(l()(),fP._40(-1,2,["\n\n "])),(l()(),fP._18(8,0,null,2,10,"small",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,6,"mat-checkbox",[["class","example-margin mat-checkbox"],["formControlName","checkbox"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LV.b,LV.a)),fP._17(12,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{id:[0,"id"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(17,0,["\n ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n\n "]))],function(l,n){l(n,1,0,n.context.$implicit);l(n,12,0,fP._21(1,"",n.context.$implicit.controls.pd_answer_id.value,""));l(n,14,0,"checkbox")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,11,1,[fP._32(n,12).id,fP._32(n,12).indeterminate,fP._32(n,12).checked,fP._32(n,12).disabled,"before"==fP._32(n,12).labelPosition,fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending]);l(n,17,0,n.context.$implicit.controls.pd_answer.value)})}function rl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,35,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,31,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(9,0,null,0,27,"mat-list",[["class","mat-list"]],null,null,null,SV.d,SV.a)),fP._17(10,49152,null,0,IV.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(12,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,14).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,14).onReset()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.B,[],null,null),fP._17(14,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(16,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,16,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(19,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(22,0,null,null,11,"div",[["class","text-xs-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(24,0,null,null,8,"mat-list",[["class","mat-list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,SV.d,SV.a)),fP._17(25,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(27,16384,null,0,EP.t,[EP.c],null,null),fP._17(28,49152,null,0,IV.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,ol)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,e.questionAnswer);l(n,25,0,"items");l(n,31,0,e.questionAnswer.controls.items.controls)},function(l,n){l(n,12,0,fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending);l(n,24,0,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending)})}function _l(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,33,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,29,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,11).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,11).onReset()&&u}return u},null,null)),fP._17(10,16384,null,0,EP.B,[],null,null),fP._17(11,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(13,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,18,"mat-form-field",[["class","example-full-width mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(16,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","answerDetails"],["matInput",""],["name","answerDetails"],["placeholder","Leave a comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,31)._onInput()&&u}return u},null,null)),fP._17(26,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(28,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),fP._17(31,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,11,0,n.component.questionAnswer);l(n,28,0,"answerDetails");l(n,31,0,"Leave a comment")},function(l,n){l(n,9,0,fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending);l(n,15,1,[fP._32(n,16)._control.errorState,fP._32(n,16)._control.errorState,fP._32(n,16)._canLabelFloat,fP._32(n,16)._shouldLabelFloat(),fP._32(n,16)._hideControlPlaceholder(),fP._32(n,16)._control.disabled,fP._32(n,16)._control.focused,"primary"==fP._32(n,16).color,"accent"==fP._32(n,16).color,"warn"==fP._32(n,16).color,fP._32(n,16)._shouldForward("untouched"),fP._32(n,16)._shouldForward("touched"),fP._32(n,16)._shouldForward("pristine"),fP._32(n,16)._shouldForward("dirty"),fP._32(n,16)._shouldForward("valid"),fP._32(n,16)._shouldForward("invalid"),fP._32(n,16)._shouldForward("pending")]);l(n,25,1,[fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending,fP._32(n,31)._isServer,fP._32(n,31).id,fP._32(n,31).placeholder,fP._32(n,31).disabled,fP._32(n,31).required,fP._32(n,31).readonly,fP._32(n,31)._ariaDescribedby||null,fP._32(n,31).errorState,fP._32(n,31).required.toString()])})}function dl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,110,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(1,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,11,"ion-fab",[["middle",""],["right",""]],null,null,null,VV.b,VV.a)),fP._17(4,1228800,null,2,NV.a,[pA.a],null,null),fP._38(335544320,6,{_mainButton:0}),fP._38(603979776,7,{_fabLists:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,5,"button",[["color","primary"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getDocUpload(l.context.$implicit.fk_question_id)&&u}return u},WV.b,WV.a)),fP._17(9,49152,[[6,4]],0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(11,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(12,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,93,"ion-scroll",[["scrollY","true"]],[[2,"scroll-x",null],[2,"scroll-y",null]],null,null,jV.b,jV.a)),fP._17(17,49152,null,0,$V.a,[],{scrollY:[0,"scrollY"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(19,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(20,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,9,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(26,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(28,0,null,0,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(29,null,["",""])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(34,0,null,0,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,36).onReset()&&u}return u},null,null)),fP._17(35,16384,null,0,EP.B,[],null,null),fP._17(36,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,il)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rl)),fP._17(44,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,_l)),fP._17(47,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,57)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.questionId=e)&&u}return u},null,null)),fP._37(6144,null,EA.c,null,[$A.b]),fP._17(51,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(53,671744,null,0,EP.v,[[2,EP.c],[8,null],[8,null],[2,EP.q]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),fP._35(54,{standalone:0}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(56,16384,null,0,EP.s,[EP.r],null,null),fP._17(57,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{type:[0,"type"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(60,0,null,0,48,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(61,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(63,0,null,null,44,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(64,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(66,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(67,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(72,0,null,0,33,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(73,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(75,0,null,null,29,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(76,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(78,0,null,null,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,80).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,80).onReset()&&u}return u},null,null)),fP._17(79,16384,null,0,EP.B,[],null,null),fP._17(80,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(82,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,18,"mat-form-field",[["class","example-full-width mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(85,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,20,{_control:0}),fP._38(335544320,21,{_placeholderChild:0}),fP._38(335544320,22,{_labelChild:0}),fP._38(603979776,23,{_errorChildren:1}),fP._38(603979776,24,{_hintChildren:1}),fP._38(603979776,25,{_prefixChildren:1}),fP._38(603979776,26,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(94,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","questionRemarks"],["matInput",""],["name","questionRemarks"],["placeholder","Leave a comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,95)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,95).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,95)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,95)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,100)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,100)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,100)._onInput()&&u}return u},null,null)),fP._17(95,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(97,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(99,16384,null,0,EP.s,[EP.r],null,null),fP._17(100,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[20,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"primary");l(n,12,0,"md-camera");l(n,17,0,"true");l(n,36,0,e.questionAnswer);l(n,41,0,"1"==n.context.$implicit.fk_question_answertype);l(n,44,0,"3"==n.context.$implicit.fk_question_answertype);l(n,47,0,"2"==n.context.$implicit.fk_question_answertype);l(n,53,0,e.questionId,l(n,54,0,!0));l(n,57,0,"text");l(n,80,0,e.questionanotherData);l(n,97,0,"questionRemarks");l(n,100,0,"Leave a comment")},function(l,n){l(n,11,0,fP._32(n,12)._hidden);l(n,16,0,fP._32(n,17).scrollX,fP._32(n,17).scrollY);l(n,29,0,n.context.$implicit.question);l(n,34,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending);l(n,49,1,[fP._32(n,56).ngClassUntouched,fP._32(n,56).ngClassTouched,fP._32(n,56).ngClassPristine,fP._32(n,56).ngClassDirty,fP._32(n,56).ngClassValid,fP._32(n,56).ngClassInvalid,fP._32(n,56).ngClassPending,fP._32(n,57)._isServer,fP._32(n,57).id,fP._32(n,57).placeholder,fP._32(n,57).disabled,fP._32(n,57).required,fP._32(n,57).readonly,fP._32(n,57)._ariaDescribedby||null,fP._32(n,57).errorState,fP._32(n,57).required.toString()]);l(n,78,0,fP._32(n,82).ngClassUntouched,fP._32(n,82).ngClassTouched,fP._32(n,82).ngClassPristine,fP._32(n,82).ngClassDirty,fP._32(n,82).ngClassValid,fP._32(n,82).ngClassInvalid,fP._32(n,82).ngClassPending);l(n,84,1,[fP._32(n,85)._control.errorState,fP._32(n,85)._control.errorState,fP._32(n,85)._canLabelFloat,fP._32(n,85)._shouldLabelFloat(),fP._32(n,85)._hideControlPlaceholder(),fP._32(n,85)._control.disabled,fP._32(n,85)._control.focused,"primary"==fP._32(n,85).color,"accent"==fP._32(n,85).color,"warn"==fP._32(n,85).color,fP._32(n,85)._shouldForward("untouched"),fP._32(n,85)._shouldForward("touched"),fP._32(n,85)._shouldForward("pristine"),fP._32(n,85)._shouldForward("dirty"),fP._32(n,85)._shouldForward("valid"),fP._32(n,85)._shouldForward("invalid"),fP._32(n,85)._shouldForward("pending")]);l(n,94,1,[fP._32(n,99).ngClassUntouched,fP._32(n,99).ngClassTouched,fP._32(n,99).ngClassPristine,fP._32(n,99).ngClassDirty,fP._32(n,99).ngClassValid,fP._32(n,99).ngClassInvalid,fP._32(n,99).ngClassPending,fP._32(n,100)._isServer,fP._32(n,100).id,fP._32(n,100).placeholder,fP._32(n,100).disabled,fP._32(n,100).required,fP._32(n,100).readonly,fP._32(n,100)._ariaDescribedby||null,fP._32(n,100).errorState,fP._32(n,100).required.toString()])})}function sl(l){return fP._42(0,[fP._38(402653184,1,{SwipedTabsSlider:0}),fP._38(402653184,2,{ItemsTitles:0}),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),fP._17(4,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(7,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,11).toggle()&&u}return u},aV.b,aV.a)),fP._17(10,1097728,[[3,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(11,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(12,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Q)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._13(16777216,null,3,1,null,J)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(26,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,X)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Z)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,BV.b,BV.a)),fP._17(38,49152,null,0,XA.a,[aA.a,fP.p,fP.O],null,null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),fP._17(44,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],null,null),fP._38(603979776,5,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ll)),fP._17(48,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(57,0,null,null,9,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(58,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(60,0,null,1,5,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,t=l.component;if("ionSlideDrag"===n){u=!1!==t.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==t.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==t.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==t.updateIndicatorPositionOnTouchEnd()&&u}return u},fV.b,fV.a)),fP._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,hV.a,[aA.a,pA.a,fP.H,[2,CA.a],fP.p,fP.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,dl)),fP._17(64,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n\n\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(68,0,null,null,30,"ion-footer",[],null,null,null,null,null)),fP._17(69,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,26,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(72,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),fP._17(75,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,5,"button",[["color","danger"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.prev(t.questionAnswer.value,t.questionanotherData.value,t.questionDetails)&&u}return u},aV.b,aV.a)),fP._17(79,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,1,"ion-icon",[["name","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(82,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,[" SAVE & PREVIOUS\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(86,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),fP._17(87,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(90,0,null,null,5,"button",[["color","secondary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveQuestionDetails(t.questionAnswer.value,t.questionanotherData.value,t.questionDetails)&&u}return u},aV.b,aV.a)),fP._17(91,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["Save & Next\n "])),(l()(),fP._18(93,0,null,0,1,"ion-icon",[["name","md-arrow-forward"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(94,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,48,0,e.tabs);l(n,61,0,!1);l(n,64,0,e.questionDetails.questions);l(n,79,0,"danger","");l(n,82,0,"md-arrow-back");l(n,91,0,"secondary","");l(n,94,0,"md-arrow-forward")},function(l,n){l(n,6,0,fP._32(n,7)._hidden,fP._32(n,7)._sbPadding);l(n,9,0,fP._32(n,11).isHidden);l(n,15,0,fP._32(n,16)._hidden);l(n,37,0,fP._32(n,38)._sbPadding);l(n,40,0,fP._32(n,41).statusbarPadding,fP._32(n,41)._hasRefresher);l(n,43,0,fP._32(n,44)._disabled);l(n,57,0,fP._32(n,58).statusbarPadding,fP._32(n,58)._hasRefresher);l(n,81,0,fP._32(n,82)._hidden);l(n,93,0,fP._32(n,94)._hidden)})}function cl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["PD Listing"]))],null,null)}function ml(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,[" "])),(l()(),fP._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[24,"@itemState",0],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},lV.b,lV.a)),fP._17(4,1294336,null,0,nV.a,[aA.a,pA.a,fP.p,fP.O,[2,EP.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,fP._32(n,4)._animated,fP._32(n,4)._value,fP._32(n,4)._isActive,fP._32(n,4)._showCancelButton,fP._32(n,4)._shouldAlignLeft,fP._32(n,4)._isFocus)})}function pl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function fl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function hl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","IngoreMe"]],[[8,"id",0],[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==fP._32(l,3).onClick()&&u}if("click"===n){u=!1!==t.selectTab(l.context.index)&&u}return u},dV.b,dV.a)),fP._17(1,278528,null,0,mD.i,[fP.B,fP.C,fP.p,fP.P],{ngClass:[0,"ngClass"]},null),fP._35(2,{"SwipedTabs-activeTab":0}),fP._17(3,114688,[[5,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,fP._32(n.parent,61)&&(fP._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&fP._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,fP._21(1,"tabTitle",n.context.index,""),fP._32(n,3)._disabled,fP._32(n,3).isActive,fP._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function gl(l){return fP._42(0,[fP._38(402653184,1,{SwipedTabsSlider:0}),fP._38(402653184,2,{ItemsTitles:0}),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),fP._17(4,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(7,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,11).toggle()&&u}return u},aV.b,aV.a)),fP._17(10,1097728,[[3,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(11,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(12,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,cl)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._13(16777216,null,3,1,null,ml)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(26,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pl)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fl)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,BV.b,BV.a)),fP._17(38,49152,null,0,XA.a,[aA.a,fP.p,fP.O],null,null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),fP._17(44,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],null,null),fP._38(603979776,5,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hl)),fP._17(48,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(57,0,null,null,576,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(58,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(60,0,null,1,572,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,t=l.component;if("ionSlideDrag"===n){u=!1!==t.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==t.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==t.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==t.updateIndicatorPositionOnTouchEnd()&&u}return u},fV.b,fV.a)),fP._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,hV.a,[aA.a,pA.a,fP.H,[2,CA.a],fP.p,fP.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(63,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(64,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._18(66,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(67,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(69,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(70,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(72,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(73,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(75,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(77,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(83,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(84,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(86,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(87,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(90,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(92,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(96,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(97,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(99,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(103,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(104,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(106,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(111,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(113,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(120,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(121,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(123,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(124,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(126,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(127,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(129,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(130,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(132,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(134,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(140,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(141,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(143,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(144,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(146,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(147,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(149,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(153,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(154,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(156,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(160,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(161,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(163,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(167,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(168,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(170,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(177,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(178,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(180,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(181,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(183,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(184,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(186,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(187,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(189,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(191,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(197,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(198,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(200,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(201,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(203,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(204,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(206,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(210,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(211,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(213,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(217,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(218,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(220,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(224,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(225,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(227,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(234,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(235,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(237,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(238,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(240,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(241,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(243,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(244,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(246,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(248,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(254,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(255,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(257,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(258,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(260,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(261,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(263,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(267,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(268,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(270,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(274,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(275,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(277,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(281,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(282,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(284,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(291,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(292,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(294,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(295,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(297,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(298,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(300,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(301,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(303,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(305,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(311,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(312,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(314,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(315,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(317,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(318,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(320,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(324,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(325,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(327,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(331,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(332,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(334,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(338,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(339,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(341,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(348,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(349,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(351,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(352,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(354,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(355,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(357,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(358,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(360,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(362,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(368,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(369,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(371,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(372,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(374,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(375,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(377,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(381,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(382,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(384,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(388,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(389,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(391,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(395,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(396,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(398,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(405,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(406,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(408,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(409,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(411,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(412,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(414,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(415,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(417,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(419,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(425,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(426,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(428,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(429,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(431,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(432,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(434,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(438,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(439,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(441,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(445,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(446,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(448,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(452,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(453,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(455,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(462,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(463,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(465,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(466,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(468,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(469,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(471,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(472,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(474,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(476,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(482,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(483,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(485,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(486,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(488,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(489,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(491,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(495,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(496,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(498,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(502,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(503,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(505,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(509,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(510,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(512,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(519,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(520,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(522,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(523,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(525,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(526,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(528,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(529,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(531,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(533,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(539,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(540,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(542,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(543,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(545,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(546,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(548,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(552,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(553,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(555,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(559,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(560,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(562,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(566,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(567,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(569,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(576,0,null,0,55,"ion-slide",[],null,null,null,gV.b,gV.a)),fP._17(577,180224,null,0,bV.a,[fP.p,fP.O,hV.a],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(579,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(580,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(582,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(583,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(585,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(586,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(588,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),fP._18(590,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["56+12*0.45-3=?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(596,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(597,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(599,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(600,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(602,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(603,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(605,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["1. 28.5"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(609,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(610,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(612,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["2. 47.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(616,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(617,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(619,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["3. 86.6"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(623,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,LA.d,LA.a)),fP._17(624,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(626,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["4. 58.4"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,0,["\n\n\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,48,0,e.tabs);l(n,61,0,!1)},function(l,n){l(n,6,0,fP._32(n,7)._hidden,fP._32(n,7)._sbPadding);l(n,9,0,fP._32(n,11).isHidden);l(n,15,0,fP._32(n,16)._hidden);l(n,37,0,fP._32(n,38)._sbPadding);l(n,40,0,fP._32(n,41).statusbarPadding,fP._32(n,41)._hasRefresher);l(n,43,0,fP._32(n,44)._disabled);l(n,57,0,fP._32(n,58).statusbarPadding,fP._32(n,58)._hasRefresher)})}function bl(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(8,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["password"])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(13,0,null,null,88,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(14,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(16,0,null,1,84,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(17,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(19,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(20,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(23,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(24,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(27,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(33,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(34,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(37,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(40,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["New Password"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(48,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(51,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(53,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(54,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,1,{_control:0}),fP._38(335544320,2,{_placeholderChild:0}),fP._38(335544320,3,{_labelChild:0}),fP._38(603979776,4,{_errorChildren:1}),fP._38(603979776,5,{_hintChildren:1}),fP._38(603979776,6,{_prefixChildren:1}),fP._38(603979776,7,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(63,0,[["newpassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","New Password"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==fP._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,64)._onInput()&&u}return u},null,null)),fP._17(64,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[1,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(68,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(70,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(71,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,8,{_control:0}),fP._38(335544320,9,{_placeholderChild:0}),fP._38(335544320,10,{_labelChild:0}),fP._38(603979776,11,{_errorChildren:1}),fP._38(603979776,12,{_hintChildren:1}),fP._38(603979776,13,{_prefixChildren:1}),fP._38(603979776,14,{_suffixChildren:1}),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._18(80,0,[["confirmPassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Confirm Password"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==fP._32(l,81)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,81)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,81)._onInput()&&u}return u},null,null)),fP._17(81,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[8,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(88,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),fP._17(89,16384,null,0,AA.d,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(91,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(92,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(94,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.setNewPassword(fP._32(l,63).value)&&u}return u},BA.b,BA.a)),fP._17(95,180224,null,0,RA.b,[fP.p,jP.a,UA.j],{color:[0,"color"]},null),fP._17(96,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["Set Password"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"]))],function(l,n){l(n,5,0,"optblue");l(n,64,0,"New Password","","password");l(n,81,0,"Confirm Password","","password");l(n,95,0,"primary")},function(l,n){var e=n.component;l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,13,0,fP._32(n,14).statusbarPadding,fP._32(n,14)._hasRefresher);l(n,29,0,e.commonImage||"../../assets/img/misc/avatar.jpg");l(n,53,1,[fP._32(n,54)._control.errorState,fP._32(n,54)._control.errorState,fP._32(n,54)._canLabelFloat,fP._32(n,54)._shouldLabelFloat(),fP._32(n,54)._hideControlPlaceholder(),fP._32(n,54)._control.disabled,fP._32(n,54)._control.focused,"primary"==fP._32(n,54).color,"accent"==fP._32(n,54).color,"warn"==fP._32(n,54).color,fP._32(n,54)._shouldForward("untouched"),fP._32(n,54)._shouldForward("touched"),fP._32(n,54)._shouldForward("pristine"),fP._32(n,54)._shouldForward("dirty"),fP._32(n,54)._shouldForward("valid"),fP._32(n,54)._shouldForward("invalid"),fP._32(n,54)._shouldForward("pending")]);l(n,63,0,fP._32(n,64)._isServer,fP._32(n,64).id,fP._32(n,64).placeholder,fP._32(n,64).disabled,fP._32(n,64).required,fP._32(n,64).readonly,fP._32(n,64)._ariaDescribedby||null,fP._32(n,64).errorState,fP._32(n,64).required.toString());l(n,70,1,[fP._32(n,71)._control.errorState,fP._32(n,71)._control.errorState,fP._32(n,71)._canLabelFloat,fP._32(n,71)._shouldLabelFloat(),fP._32(n,71)._hideControlPlaceholder(),fP._32(n,71)._control.disabled,fP._32(n,71)._control.focused,"primary"==fP._32(n,71).color,"accent"==fP._32(n,71).color,"warn"==fP._32(n,71).color,fP._32(n,71)._shouldForward("untouched"),fP._32(n,71)._shouldForward("touched"),fP._32(n,71)._shouldForward("pristine"),fP._32(n,71)._shouldForward("dirty"),fP._32(n,71)._shouldForward("valid"),fP._32(n,71)._shouldForward("invalid"),fP._32(n,71)._shouldForward("pending")]);l(n,80,0,fP._32(n,81)._isServer,fP._32(n,81).id,fP._32(n,81).placeholder,fP._32(n,81).disabled,fP._32(n,81).required,fP._32(n,81).readonly,fP._32(n,81)._ariaDescribedby||null,fP._32(n,81).errorState,fP._32(n,81).required.toString());l(n,91,0,"end"===fP._32(n,92).align);l(n,94,0,fP._32(n,95).disabled||null)})}function vl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""])),fP._36(5,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,fP._41(n,4,0,l(n,5,0,fP._32(n.parent.parent.parent,0),n.parent.parent.context.$implicit.applicat_details[0].applicant_name)))})}function yl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,48,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.parent.context.$implicit)&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,2,{contentLabel:0}),fP._38(603979776,3,{_buttons:1}),fP._38(603979776,4,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),fP._40(9,null,["",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,2,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(12,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vl)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(18,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(23,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(26,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(31,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(32,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(35,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),fP._40(38,null,["",", ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(42,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(45,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "]))],function(l,n){l(n,15,0,0!=n.parent.context.$implicit.applicat_details.length&&1==n.parent.context.$implicit.applicat_details[0].applicant_type)},function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,23,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,26,0,n.parent.context.$implicit.city_name);l(n,38,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,45,0,n.parent.context.$implicit.pd_status)})}function Cl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.parent.context.$implicit)&&u}return u},eA.b,eA.a)),fP._17(1,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,5,{contentLabel:0}),fP._38(603979776,6,{_buttons:1}),fP._38(603979776,7,{_icons:1}),fP._17(5,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),fP._40(9,null,["",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,2,23,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(12,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,6,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),fP._17(15,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(18,null,["Add On for ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(28,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(31,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "])),(l()(),fP._18(36,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(37,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(40,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),fP._40(43,null,["",", ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(47,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(50,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,2,[" \n "]))],null,function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,18,0,n.parent.context.$implicit.parent_pd_id);l(n,28,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,31,0,n.parent.context.$implicit.city_name);l(n,43,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,50,0,n.parent.context.$implicit.pd_status)})}function wl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,10,"ion-list",[],null,null,null,null,null)),fP._17(4,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yl)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cl)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n"]))],function(l,n){l(n,8,0,1!=n.context.$implicit.is_child);l(n,12,0,1==n.context.$implicit.is_child)},null)}function Fl(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,20,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(17,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(18,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Complete List"])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(23,0,null,null,10,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(24,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(26,0,null,1,6,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(27,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,[" \n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._13(16777216,null,null,1,null,wl)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,31,0,e.pdcomplete)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,23,0,fP._32(n,24).statusbarPadding,fP._32(n,24)._hasRefresher)})}function xl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["PD Listing"]))],null,null)}function kl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,[" "])),(l()(),fP._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},lV.b,lV.a)),fP._17(4,1294336,null,0,nV.a,[aA.a,pA.a,fP.p,fP.O,[2,EP.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,fP._32(n,4)._animated,fP._32(n,4)._value,fP._32(n,4)._isActive,fP._32(n,4)._showCancelButton,fP._32(n,4)._shouldAlignLeft,fP._32(n,4)._isFocus)})}function Sl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Il(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function ql(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),fP._40(8,null,["  "," (Main)"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),fP._40(16,null,[" "," "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.parent.context.$implicit.applicant_name);l(n,16,0,n.parent.context.$implicit.mobile_no)})}function Pl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),fP._40(8,null,["  ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),fP._40(16,null,[" "," "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.parent.context.$implicit.applicant_name);l(n,16,0,n.parent.context.$implicit.mobile_no)})}function Dl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(1,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ql)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pl)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"1"==n.context.$implicit.applicant_type);l(n,7,0,"0"==n.context.$implicit.applicant_type)},null)}function Tl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,xl)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._13(16777216,null,3,1,null,kl)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(22,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(23,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sl)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Il)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(35,0,null,null,113,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(36,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),fP._17(39,212992,null,0,cV.a,[pA.a,yA.a,fP.H,hA.l],null,{ionRefresh:"ionRefresh"}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,mV.b,mV.a)),fP._17(42,114688,null,0,pV.a,[cV.a,aA.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(46,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,99,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),fP._17(49,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(51,0,null,null,69,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,LA.d,LA.a)),fP._17(52,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(54,0,null,0,21,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(55,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(57,0,null,2,17,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),fP._17(60,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(62,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(63,null,["",""])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(66,0,null,null,7,"mat-card-subtitle",[["class","mat-card-subtitle mat-card-subtitle"]],null,null,null,null,null)),fP._17(67,16384,null,0,AA.g,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(69,0,null,null,0,"i",[["class","fa-1x fa fa-map-marker"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(72,null,[""," / -",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(77,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(79,0,null,0,40,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(80,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(82,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Product"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(86,null,[""," / ","."])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(89,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(91,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(92,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(94,0,null,null,1,"div",[["style","text-align:right;"]],null,null,null,null,null)),(l()(),fP._40(95,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(97,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(99,0,null,null,0,"h2",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(101,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(102,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(105,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(108,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(111,0,null,null,6,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),fP._17(112,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(114,0,null,null,2,"h2",[],null,null,null,null,null)),(l()(),fP._18(115,0,null,null,0,"i",[["class","fa-1x fa fa-rupee"]],null,null,null,null,null)),(l()(),fP._40(116,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(122,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(124,0,null,null,21,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,LA.d,LA.a)),fP._17(125,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(127,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(128,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(130,0,null,2,8,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(132,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),fP._17(133,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(135,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Applicants"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(141,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Dl)),fP._17(144,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,1,["\n\n \n\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,20,0,e.viewchange);l(n,27,0,!e.viewchange);l(n,30,0,e.viewchange),l(n,39,0);l(n,42,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,144,0,e.pdFullDetails.applicat_details)},function(l,n){var e=n.component;l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,35,0,fP._32(n,36).statusbarPadding,fP._32(n,36)._hasRefresher);l(n,38,0,"inactive"!==fP._32(n,39).state,fP._32(n,39)._top);l(n,41,0,fP._32(n,42).r.state);l(n,63,0,e.pdFullDetails.lender_full_name);l(n,72,0,e.pdFullDetails.city_name,e.pdFullDetails.pincode);l(n,86,0,e.pdFullDetails.product_name,e.pdFullDetails.subproduct_name);l(n,89,0,e.pdFullDetails.pd_type_name);l(n,92,0,e.pdFullDetails.pd_allocated_to);l(n,95,0,e.pdFullDetails.pd_date_of_initiation);l(n,108,0,e.pdFullDetails.pd_status_name);l(n,116,0,e.pdFullDetails.loan_amount)})}function Ol(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._18(5,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(7,null,["  ",""])),fP._36(8,1),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"contact")},function(l,n){var e=n.component;l(n,5,0,fP._32(n,6)._hidden);l(n,7,0,fP._41(n,7,0,l(n,8,0,fP._32(n.parent,0),e.mainApplicant.applicant_name)))})}function Ll(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[["class","cardinfo"]],null,null,null,null,null)),(l()(),fP._40(1,null,["/ ",""]))],null,function(l,n){l(n,1,0,n.component.applicatentDetails.subproduct_name)})}function Al(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"ion-icon",[["name","md-checkmark"],["role","img"],["style","color:green;font-size:21px;font-weight: bold"]],[[2,"hide",null]],null,null,null,null)),fP._17(1,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-checkmark")},function(l,n){l(n,0,0,fP._32(n,1)._hidden)})}function Vl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(2,0,null,null,3,"h6",[["class","status"]],null,null,null,null,null)),(l()(),fP._40(3,null,["","  "])),(l()(),fP._13(16777216,null,null,1,null,Al)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,5,0,"0"==n.context.$implicit.is_child)},function(l,n){l(n,3,0,n.context.$implicit.pd_status)})}function Nl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[["class","addressinfo"]],null,null,null,null,null)),(l()(),fP._40(1,null,["-",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.pincode)})}function Wl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[["class","addressinfo"]],null,null,null,null,null)),(l()(),fP._40(1,null,["-",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.other_pincode)})}function El(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,3,"button",[["class","inprogress_btn"],["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.mapAddress(l.parent.context.$implicit)&&u}return u},aV.b,aV.a)),fP._17(2,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(3,0,null,0,1,"i",[["class","material-icons"],["style","font-size:28px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["where_to_vote"]))],function(l,n){l(n,2,0,"optblue","")},null)}function jl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-label",[["style","font-size:12px;color:gray"]],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Scheduled On"]))],null,null)}function $l(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-icon",[["class","schdule_time"],["item-start",""],["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(1,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(2,null,[" ",""]))],function(l,n){l(n,1,0,"md-calendar")},function(l,n){l(n,0,0,fP._32(n,1)._hidden);l(n,2,0,n.parent.context.$implicit.scheduled_on)})}function Bl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"span",[["class","inprogress_btn"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(2,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.inprogress(t.applicatentDetails,l.parent.context.$implicit)&&u}return u},aV.b,aV.a)),fP._17(3,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(4,0,null,0,1,"ion-icon",[["name","md-chatbubbles"],["role","img"],["style","font-size:24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(5,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,3,0,"optblue","");l(n,5,0,"md-chatbubbles")},function(l,n){l(n,4,0,fP._32(n,5)._hidden)})}function Rl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jl)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(6,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$l)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,2,"ion-icon",[["class","addressinfo"],["float-right",""],["name","md-people"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(12,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(13,null,[" ",""])),(l()(),fP._18(14,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bl)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,null!=n.context.$implicit.scheduled_on);l(n,9,0,null!=n.context.$implicit.scheduled_on);l(n,12,0,"md-people");l(n,17,0,"COMPLETED"==n.context.$implicit.pd_status||"INPROGRESS"==n.context.$implicit.pd_status||"ADD_ON_PENDING"==n.context.$implicit.pd_status)},function(l,n){l(n,11,0,fP._32(n,12)._hidden);l(n,13,0,n.context.$implicit.customer_segment_abbr)})}function Ul(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[["style","font-size:12px;color:gray"]],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(4,null,["Address ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,5,"ion-row",[["class","row"],["float-right",""]],null,null,null,null,null)),fP._17(7,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vl)),fP._17(10,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,23,"a",[["style","text-decoration: none;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.locationnavicate(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(16,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(18,0,null,null,3,"ion-col",[["class","col"],["col-1",""],["top",""]],null,null,null,null,null)),fP._17(19,16384,null,0,NA.a,[],null,null),(l()(),fP._18(20,0,null,null,1,"ion-icon",[["name","pin"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(21,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,11,"ion-col",[["class","addressinfo col"]],null,null,null,null,null)),fP._17(24,16384,null,0,NA.a,[],null,null),(l()(),fP._40(25,null,["",""])),(l()(),fP._18(26,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(27,null,["\n ",""])),(l()(),fP._18(28,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(29,null,["\n ","\n "])),(l()(),fP._13(16777216,null,null,1,null,Nl)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wl)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,El)),fP._17(39,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rl)),fP._17(42,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,10,0,n.context.$implicit.addtional_pd_data);l(n,21,0,"pin");l(n,31,0,""!=n.context.$implicit.pincode&&null!=n.context.$implicit.pincode&&"Others"!=n.context.$implicit.pincode);l(n,34,0,""!=n.context.$implicit.pincode&&null!=n.context.$implicit.pincode&&"Others"==n.context.$implicit.pincode);l(n,39,0,0==n.context.$implicit.addtional_pd_data.length&&0==n.context.$implicit.is_primary&&""==e.address_pd_status);l(n,42,0,n.context.$implicit.addtional_pd_data)},function(l,n){l(n,4,0,n.context.index+1);l(n,20,0,fP._32(n,21)._hidden);l(n,25,0,n.context.$implicit.addressline1);l(n,27,0,n.context.$implicit.city_name);l(n,29,0,n.context.$implicit.state_name)})}function Ml(l){return fP._42(0,[(l()(),fP._18(0,0,[[2,0],["scroll",1]],null,24,"ion-row",[["class","schdul row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,18,"ion-item",[["class","item item-block"]],null,null,null,eA.b,eA.a)),fP._17(6,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,5,{contentLabel:0}),fP._38(603979776,6,{_buttons:1}),fP._38(603979776,7,{_icons:1}),fP._17(10,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,[" "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(13,0,null,1,2,"ion-label",[["color","primary"],["floating",""]],null,null,null,null,null)),fP._17(14,16384,[[5,4]],0,XV.a,[aA.a,fP.p,fP.O,[8,""],[8,null],[8,null],[8,null]],{color:[0,"color"]},null),(l()(),fP._40(-1,null,["Schedule Date"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(17,0,null,3,4,"ion-input",[["placeholder","Text Input"],["type","datetime-local"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"ngModelChange"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=t.datetime-(t.local=e.target.value)!==!1&&u}if("ngModelChange"===n){u=!1!==(t.scheduleDate=e)&&u}return u},ZV.b,ZV.a)),fP._17(18,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,5423104,[[1,4],["focusinp",4]],0,lN.a,[aA.a,pA.a,tA.a,bA.a,fP.p,fP.O,[2,yA.a],[2,uA.a],[2,EP.r],gA.a],{type:[0,"type"],placeholder:[1,"placeholder"],min:[2,"min"]},{input:"input"}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,14,0,"primary");l(n,18,0,e.scheduleDate);l(n,21,0,"datetime-local","Text Input",e.maxdate)},function(l,n){l(n,17,0,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending)})}function Kl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"ion-label",[],null,null,null,null,null)),fP._17(7,16384,null,0,XV.a,[aA.a,fP.p,fP.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),fP._40(-1,null,["Scheduled On"])),(l()(),fP._18(9,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._18(13,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(17,16384,null,0,NA.a,[],null,null),(l()(),fP._40(18,null,["  ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,14,0,"md-calendar")},function(l,n){var e=n.component;l(n,13,0,fP._32(n,14)._hidden);l(n,18,0,e.address_allocated_data.scheduled_on)})}function Hl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._18(5,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(9,16384,null,0,NA.a,[],null,null),(l()(),fP._40(10,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,6,"ion-col",[["class","col"],["col-2",""]],null,null,null,null,null)),fP._17(13,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),fP._18(16,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"call");l(n,17,0,"optblue","call")},function(l,n){l(n,5,0,fP._32(n,6)._hidden);l(n,10,0,n.parent.context.$implicit.mobile_no);l(n,15,0,fP._21(1,"tel:?",n.parent.context.$implicit.mobile_no,""));l(n,16,0,fP._32(n,17)._hidden)})}function Gl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(1,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(6,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._18(8,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(9,null,["Applicant ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(13,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,9,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(16,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(19,16384,null,0,NA.a,[],null,null),(l()(),fP._18(20,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(21,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(22,null,["  ",""])),fP._36(23,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Hl)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,21,0,"contact");l(n,28,0,""!=n.context.$implicit.mobile_no&&null!=n.context.$implicit.mobile_no)},function(l,n){l(n,9,0,n.context.index+1);l(n,20,0,fP._32(n,21)._hidden);l(n,22,0,fP._41(n,22,0,l(n,23,0,fP._32(n.parent,0),n.context.$implicit.applicant_name)))})}function zl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(4,null,[""," ",""])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,n.context.index+1,n.context.$implicit.add_requirement)})}function Yl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(6,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._18(8,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Additional Requirements"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(13,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zl)),fP._17(16,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,16,0,n.component.add_requirements)},null)}function Ql(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button Above to capture"]))],null,null)}function Jl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Xl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Zl(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function ln(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["class","doc-image-bucket"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jl)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Xl)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zl)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function nn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ln)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function en(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function un(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function tn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["class","doc-image-bucket"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,en)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,un)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function an(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tn)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function on(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function rn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(3,0,null,null,6,"ion-col",[["class","col"],["col-12",""],["style","padding:0px !important;"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdschedule(t.scheduleDate,t.applicatentDetails)&&u}return u},aV.b,aV.a)),fP._17(7,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["Schedule"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","")},null)}function _n(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"],["text-center",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdStatus("BOUNCED",t.applicatentDetails)&&u}return u},aV.b,aV.a)),fP._17(7,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["Reject"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px;"],["text-center",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green!important;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdStatus("ACCEPTED",t.applicatentDetails)&&u}return u},aV.b,aV.a)),fP._17(15,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["Accept"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,15,0,"primary","")},null)}function dn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green!important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdinitiated(t.applicatentDetails)&&u}return u},aV.b,aV.a)),fP._17(7,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["INITIATE"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),fP._17(13,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.pdreschedule()&&u}return u},aV.b,aV.a)),fP._17(16,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["Re Schedule"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,16,0,"primary","")},function(l,n){l(n,6,0,n.component.enableStartPD)})}function sn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.checkOTP(t.applicatentDetails)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["\n Start"])),(l()(),fP._40(-1,null,["\n \n \n "]))],function(l,n){l(n,4,0,"primary","")},null)}function cn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.startPdDiscussion()&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["\n Check OTP"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"primary","")},null)}function mn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"ion-footer",[],null,null,null,null,null)),fP._17(1,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,17,"mat-card",[["class","mat-card"],["style","padding:0px !important;"]],null,null,null,LA.d,LA.a)),fP._17(4,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,rn)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,_n)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n \n \n "])),(l()(),fP._13(16777216,null,0,1,null,dn)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,sn)),fP._17(16,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,cn)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,e.scheduleAccess);l(n,10,0,e.acceptedAccess);l(n,13,0,e.initiatedAccess);l(n,16,0,e.startedAccess);l(n,19,0,e.checkOtpAccess)},null)}function pn(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._38(671088640,1,{input_focus:0}),fP._38(671088640,2,{scrolltop:0}),(l()(),fP._18(3,0,null,null,0,"link",[["href","https://fonts.googleapis.com/icon?family=Material+Icons"],["rel","stylesheet"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(5,0,null,null,32,"ion-header",[],null,null,null,null,null)),fP._17(6,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,28,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(9,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(11,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,13).toggle()&&u}return u},aV.b,aV.a)),fP._17(12,1097728,[[3,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(13,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(14,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(17,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(18,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(21,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(22,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(23,0,[""," - ",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(25,0,null,2,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(26,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(32,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(33,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(39,0,null,null,201,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(40,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,88,"mat-card",[["class","mat-card"],["style"," border-radius: 10px;"]],null,null,null,LA.d,LA.a)),fP._17(45,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Ol)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(53,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(54,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(56,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(57,16384,null,0,NA.a,[],null,null),(l()(),fP._18(58,0,null,null,1,"ion-icon",[["name","md-people"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(59,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(61,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(62,16384,null,0,NA.a,[],null,null),(l()(),fP._40(63,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(66,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._18(69,0,null,0,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(70,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(72,0,null,null,3,"ion-col",[["class"," col"],["col-1",""]],null,null,null,null,null)),fP._17(73,16384,null,0,NA.a,[],null,null),(l()(),fP._18(74,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(75,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(78,16384,null,0,NA.a,[],null,null),(l()(),fP._40(79,null,[""," "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["color","optblue"]],null,null,null,null,null)),fP._17(82,16384,null,0,NA.a,[],null,null),(l()(),fP._18(83,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(86,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(89,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(91,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(92,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(94,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(95,16384,null,0,NA.a,[],null,null),(l()(),fP._18(96,0,null,null,1,"ion-icon",[["name","md-briefcase"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(97,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(99,0,null,null,4,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(100,16384,null,0,NA.a,[],null,null),(l()(),fP._40(101,null,["","\n "])),(l()(),fP._13(16777216,null,null,1,null,Ll)),fP._17(103,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(106,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(108,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(109,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(111,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(112,16384,null,0,NA.a,[],null,null),(l()(),fP._18(113,0,null,null,1,"ion-icon",[["name","md-cash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(114,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(116,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(117,16384,null,0,NA.a,[],null,null),(l()(),fP._40(118,null,[""," "," ( "," ) "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(121,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Ul)),fP._17(124,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Ml)),fP._17(127,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Kl)),fP._17(130,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,[" \n \n \n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(134,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(136,0,null,1,7,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,LA.d,LA.a)),fP._17(137,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(139,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Gl)),fP._17(142,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(144,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(146,0,null,1,52,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,LA.d,LA.a)),fP._17(147,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(149,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(151,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(152,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(154,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(155,16384,null,0,AA.h,[],null,null),(l()(),fP._18(156,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Lender Contact Details"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(160,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(161,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(163,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(164,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(166,0,null,null,8,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(167,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(169,0,null,null,4,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(170,16384,null,0,NA.a,[],null,null),(l()(),fP._18(171,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(172,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(173,null,["  ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(177,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(178,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(180,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(181,16384,null,0,NA.a,[],null,null),(l()(),fP._18(182,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(183,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(185,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),fP._17(186,16384,null,0,NA.a,[],null,null),(l()(),fP._40(187,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(189,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["color","optblue"]],null,null,null,null,null)),fP._17(190,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(192,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),fP._18(193,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(194,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(199,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._13(16777216,null,1,1,null,Yl)),fP._17(202,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(204,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(206,0,null,1,31,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,LA.d,LA.a)),fP._17(207,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(209,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(211,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(212,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(214,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(215,16384,null,0,AA.h,[],null,null),(l()(),fP._18(216,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["PD Photos"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(220,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(221,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ql)),fP._17(224,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,nn)),fP._17(227,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n\n "])),(l()(),fP._13(16777216,null,null,1,null,an)),fP._17(230,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(233,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,on)),fP._17(236,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(238,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._18(239,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mn)),fP._17(243,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null)],function(l,n){var e=n.component;l(n,9,0,"optblue");l(n,13,0,"");l(n,18,0,"menu");l(n,33,0,"md-camera");l(n,48,0,e.other_applicant[0]);l(n,59,0,"md-people");l(n,75,0,"call");l(n,86,0,"optblue","call");l(n,97,0,"md-briefcase");l(n,103,0,"Not Applicable"!=e.applicatentDetails.subproduct_name&&null!=e.applicatentDetails.subproduct_name);l(n,114,0,"md-cash");l(n,124,0,e.addresses);l(n,127,0,e.scheduleAccess);l(n,130,0,e.initiatedAccess||e.startedAccess);l(n,142,0,e.other_applicant);l(n,172,0,"contact");l(n,183,0,"call");l(n,194,0,"optblue","call");l(n,202,0,!e.requirement_hide);l(n,224,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,227,0,e.imageDisplay.length>0);l(n,230,0,e.imageBucket.length>0);l(n,236,0,e.imageBucket.length>0);l(n,243,0,null!=e.address_pd_id)},function(l,n){var e=n.component;l(n,8,0,fP._32(n,9)._hidden,fP._32(n,9)._sbPadding);l(n,11,0,fP._32(n,13).isHidden);l(n,17,0,fP._32(n,18)._hidden);l(n,23,0,e.pdMaster.lender_full_name,e.pdMaster.lender_applicant_id);l(n,32,0,fP._32(n,33)._hidden);l(n,39,0,fP._32(n,40).statusbarPadding,fP._32(n,40)._hasRefresher);l(n,58,0,fP._32(n,59)._hidden);l(n,63,0,e.pdMaster.customer_segment_name);l(n,74,0,fP._32(n,75)._hidden);l(n,79,0,e.mainApplicant.mobile_no);l(n,83,0,fP._21(1,"tel:?",e.mainApplicant.mobile_no,""));l(n,85,0,fP._32(n,86)._hidden);l(n,96,0,fP._32(n,97)._hidden);l(n,101,0,e.pdMaster.product_name);l(n,113,0,fP._32(n,114)._hidden);l(n,118,0,"₹",e.pdMaster.loan_amount,e.inWords(e.pdMaster.loan_amount));l(n,171,0,fP._32(n,172)._hidden);l(n,173,0,e.pdMaster.pd_contact_person);l(n,182,0,fP._32(n,183)._hidden);l(n,187,0,e.pdMaster.pd_contact_mobileno);l(n,192,0,fP._21(1,"tel:?",e.pdMaster.pd_contact_mobileno,""));l(n,193,0,fP._32(n,194)._hidden)})}function fn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["OTP Page"]))],null,null)}function hn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Reason Page"]))],null,null)}function gn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(7,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,7,0,n.component.balance_time)})}function bn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,70,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(18,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(21,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(24,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["OTP"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(32,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(35,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,2,{_control:0}),fP._38(335544320,3,{_placeholderChild:0}),fP._38(335544320,4,{_labelChild:0}),fP._38(603979776,5,{_errorChildren:1}),fP._38(603979776,6,{_hintChildren:1}),fP._38(603979776,7,{_prefixChildren:1}),fP._38(603979776,8,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,[["pin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","OTP"],["required",""],["style","width: 100%;"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==fP._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,48)._onInput()&&u}return u},null,null)),fP._17(48,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[2,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(55,0,null,1,14,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),fP._17(56,16384,null,0,AA.d,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(59,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(61,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkotp(fP._32(l,47).value)&&u}return u},BA.b,BA.a)),fP._17(62,180224,null,0,RA.b,[fP.p,jP.a,UA.j],{color:[0,"color"]},null),fP._17(63,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["Verify OTP"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,gn)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,48,0,"OTP","");l(n,62,0,"primary");l(n,68,0,e.timerOn)},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,0,fP._32(n,48)._isServer,fP._32(n,48).id,fP._32(n,48).placeholder,fP._32(n,48).disabled,fP._32(n,48).required,fP._32(n,48).readonly,fP._32(n,48)._ariaDescribedby||null,fP._32(n,48).errorState,fP._32(n,48).required.toString());l(n,58,0,"end"===fP._32(n,59).align);l(n,61,0,fP._32(n,62).disabled||null)})}function vn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[16,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.otp_rejection_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.rejection_reason)})}function yn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,19,{_control:0}),fP._38(335544320,20,{_placeholderChild:0}),fP._38(335544320,21,{_labelChild:0}),fP._38(603979776,22,{_errorChildren:1}),fP._38(603979776,23,{_hintChildren:1}),fP._38(603979776,24,{_prefixChildren:1}),fP._38(603979776,25,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_reason"],["matInput",""],["name","others_reason"],["placeholder","Other Reason"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[19,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_reason");l(n,16,0,"Other Reason","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Cn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(7,0,null,0,3,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,58,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(13,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(16,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(19,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["OTP Rejection Reason"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,43,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(27,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,39,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,31).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,31).onReset()&&u}return u},null,null)),fP._17(30,16384,null,0,EP.B,[],null,null),fP._17(31,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(33,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,31,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(39,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(40,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,9,{_control:0}),fP._38(335544320,10,{_placeholderChild:0}),fP._38(335544320,11,{_labelChild:0}),fP._38(603979776,12,{_errorChildren:1}),fP._38(603979776,13,{_hintChildren:1}),fP._38(603979776,14,{_prefixChildren:1}),fP._38(603979776,15,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","reason"],["placeholder","OTP Rejection Reason"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,54)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(51,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(53,16384,null,0,EP.s,[EP.r],null,null),fP._17(54,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,16,{options:1}),fP._38(603979776,17,{optionGroups:1}),fP._38(335544320,18,{customTrigger:0}),fP._37(2048,[[9,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,vn)),fP._17(61,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(64,null,["\n ","\n "])),(l()(),fP._13(16777216,null,null,1,null,yn)),fP._17(66,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),fP._17(73,16384,null,0,AA.d,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(75,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(76,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveotpreasno()&&u}return u},BA.b,BA.a)),fP._17(79,180224,null,0,RA.b,[fP.p,jP.a,UA.j],{color:[0,"color"]},null),fP._17(80,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["Process"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,31,0,e.reasonForm);l(n,51,0,"reason");l(n,54,0,"OTP Rejection Reason");l(n,61,0,e.reason_otp);l(n,66,0,1==e.reasonForm.get("reason").value);l(n,79,0,"primary")},function(l,n){var e=n.component;l(n,29,0,fP._32(n,33).ngClassUntouched,fP._32(n,33).ngClassTouched,fP._32(n,33).ngClassPristine,fP._32(n,33).ngClassDirty,fP._32(n,33).ngClassValid,fP._32(n,33).ngClassInvalid,fP._32(n,33).ngClassPending);l(n,39,1,[fP._32(n,40)._control.errorState,fP._32(n,40)._control.errorState,fP._32(n,40)._canLabelFloat,fP._32(n,40)._shouldLabelFloat(),fP._32(n,40)._hideControlPlaceholder(),fP._32(n,40)._control.disabled,fP._32(n,40)._control.focused,"primary"==fP._32(n,40).color,"accent"==fP._32(n,40).color,"warn"==fP._32(n,40).color,fP._32(n,40)._shouldForward("untouched"),fP._32(n,40)._shouldForward("touched"),fP._32(n,40)._shouldForward("pristine"),fP._32(n,40)._shouldForward("dirty"),fP._32(n,40)._shouldForward("valid"),fP._32(n,40)._shouldForward("invalid"),fP._32(n,40)._shouldForward("pending")]);l(n,49,1,[fP._32(n,53).ngClassUntouched,fP._32(n,53).ngClassTouched,fP._32(n,53).ngClassPristine,fP._32(n,53).ngClassDirty,fP._32(n,53).ngClassValid,fP._32(n,53).ngClassInvalid,fP._32(n,53).ngClassPending,fP._32(n,54).id,fP._32(n,54).tabIndex,fP._32(n,54)._ariaLabel,fP._32(n,54).ariaLabelledby,fP._32(n,54).required.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).errorState,fP._32(n,54).panelOpen?fP._32(n,54)._optionIds:null,fP._32(n,54).multiple,fP._32(n,54)._ariaDescribedby||null,fP._32(n,54)._getAriaActiveDescendant(),fP._32(n,54).disabled,fP._32(n,54).errorState,fP._32(n,54).required]);l(n,64,0,e.reason);l(n,75,0,"end"===fP._32(n,76).align);l(n,78,0,fP._32(n,79).disabled||null)})}function wn(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(1,0,null,null,22,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,18,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,fn)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,hn)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(25,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(26,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,bn)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Cn)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,e.otpStatusAccess);l(n,21,0,!e.otpStatusAccess);l(n,29,0,e.otpStatusAccess);l(n,32,0,!e.otpStatusAccess)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,25,0,fP._32(n,26).statusbarPadding,fP._32(n,26)._hasRefresher)})}function Fn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function xn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.imageMandatoryCheck()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function kn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Sn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function In(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Shown On Report"]))],null,null)}function qn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Pn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Dn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sn)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._13(16777216,null,null,1,null,In)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,qn)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pn)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,12,0,"0"!=n.context.$implicit.is_show_report);l(n,15,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,18,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Tn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Dn)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function On(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ln(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"small",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Showned on Report"]))],null,null)}function An(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Vn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,On)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._13(16777216,null,null,1,null,Ln)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,An)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,12,"mat-radio-group",[["aria-label","Select an option"],["class","mat-radio-group"],["role","radiogroup"]],null,[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.changeOptions(e.value,l.context.index)&&u}return u},null,null)),fP._37(5120,null,EP.q,function(l){return[l]},[PV.b]),fP._17(21,1064960,null,1,PV.b,[fP.i],null,{change:"change"}),fP._38(603979776,4,{_radios:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,25)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(25,4440064,[[4,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Shown On Report"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","0"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,29)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(29,4440064,[[4,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Hide On Report"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(33,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(34,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(35,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(36,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,12,0,1==n.context.$implicit.is_show_report);l(n,15,0,""==n.context.$implicit.Name);l(n,25,0,"1");l(n,29,0,"0");l(n,34,0,"optblue","");l(n,36,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,24,0,fP._32(n,25).checked,fP._32(n,25).disabled,fP._32(n,25).id);l(n,28,0,fP._32(n,29).checked,fP._32(n,29).disabled,fP._32(n,29).id);l(n,35,0,fP._32(n,36)._hidden)})}function Nn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vn)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Wn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function En(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,13,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kn)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Tn)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nn)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(18,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Wn)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,15,0,e.imageBucket.length>0);l(n,21,0,e.imageBucket.length>0)},null)}function jn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[19,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function $n(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[30,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Bn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[41,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function Rn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,45,{_control:0}),fP._38(335544320,46,{_placeholderChild:0}),fP._38(335544320,47,{_labelChild:0}),fP._38(603979776,48,{_errorChildren:1}),fP._38(603979776,49,{_hintChildren:1}),fP._38(603979776,50,{_prefixChildren:1}),fP._38(603979776,51,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","pincode_others"],["matInput",""],["placeholder","Specify Pincode "],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[45,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"pincode_others");l(n,17,0,"Specify Pincode ","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function Un(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,185,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(9,16384,null,0,AA.h,[],null,null),(l()(),fP._18(10,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(11,null,["Address Details # ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(17,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,5,{_control:0}),fP._38(335544320,6,{_placeholderChild:0}),fP._38(335544320,7,{_labelChild:0}),fP._38(603979776,8,{_errorChildren:1}),fP._38(603979776,9,{_hintChildren:1}),fP._38(603979776,10,{_prefixChildren:1}),fP._38(603979776,11,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(26,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["name","address"],["placeholder","Address at which PD was initiated"],["style","text-transform: uppercase;"],["type","text"]],[[8,"rows",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,27)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,27).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,27)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,27)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,32)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,32)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,32)._onInput()&&u}return u},null,null)),fP._17(27,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(29,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(31,16384,null,0,EP.s,[EP.r],null,null),fP._17(32,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[5,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(41,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,12,{_control:0}),fP._38(335544320,13,{_placeholderChild:0}),fP._38(335544320,14,{_labelChild:0}),fP._38(603979776,15,{_errorChildren:1}),fP._38(603979776,16,{_hintChildren:1}),fP._38(603979776,17,{_prefixChildren:1}),fP._38(603979776,18,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","state"],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,54)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCityAndPincodeDetails(e.value,l.context.index,1)&&u}return u},tN.b,tN.a)),fP._17(51,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(53,16384,null,0,EP.s,[EP.r],null,null),fP._17(54,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,19,{options:1}),fP._38(603979776,20,{optionGroups:1}),fP._38(335544320,21,{customTrigger:0}),fP._37(2048,[[12,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[19,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(64,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state","")&&u}return u},dN.b,dN.a)),fP._17(65,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,22,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(72,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(73,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(74,16384,[[22,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[19,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,jn)),fP._17(83,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(89,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,23,{_control:0}),fP._38(335544320,24,{_placeholderChild:0}),fP._38(335544320,25,{_labelChild:0}),fP._38(603979776,26,{_errorChildren:1}),fP._38(603979776,27,{_hintChildren:1}),fP._38(603979776,28,{_prefixChildren:1}),fP._38(603979776,29,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(98,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","city"],["placeholder","City"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,102)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,102)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,102)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(99,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(101,16384,null,0,EP.s,[EP.r],null,null),fP._17(102,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,30,{options:1}),fP._38(603979776,31,{optionGroups:1}),fP._38(335544320,32,{customTrigger:0}),fP._37(2048,[[23,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(109,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,110)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,110)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(110,8437760,[[30,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(112,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city",1)&&u}return u},dN.b,dN.a)),fP._17(113,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,33,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(116,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(118,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(120,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(121,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(122,16384,[[33,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(126,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,127)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,127)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(127,8437760,[[30,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,$n)),fP._17(131,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(135,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(136,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,34,{_control:0}),fP._38(335544320,35,{_placeholderChild:0}),fP._38(335544320,36,{_labelChild:0}),fP._38(603979776,37,{_errorChildren:1}),fP._38(603979776,38,{_hintChildren:1}),fP._38(603979776,39,{_prefixChildren:1}),fP._38(603979776,40,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(145,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","pincode"],["placeholder","Pincode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,149)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,149)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,149)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(146,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(148,16384,null,0,EP.s,[EP.r],null,null),fP._17(149,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,41,{options:1}),fP._38(603979776,42,{optionGroups:1}),fP._38(335544320,43,{customTrigger:0}),fP._37(2048,[[34,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(156,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,157)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,157)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(157,8437760,[[41,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(159,0,null,0,11,"ngx-mat-select-search",[["formControlName","pinSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"pin",1)&&u}return u},dN.b,dN.a)),fP._17(160,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,44,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(163,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(165,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(167,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(168,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(169,16384,[[44,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(173,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,174)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,174)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(174,8437760,[[41,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Bn)),fP._17(178,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rn)),fP._17(184,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,29,0,"address");l(n,32,0,"Address at which PD was initiated","text");l(n,51,0,"state");l(n,54,0,"State");l(n,65,0,"Find State","No Matching Result");l(n,68,0,"stateSearch");l(n,73,0,"md-close");l(n,83,0,fP._41(n,83,0,fP._32(n,84).transform(e.filteredState)));l(n,99,0,"city");l(n,102,0,"City");l(n,113,0,"Find City","No Matching Result");l(n,116,0,"citySearch");l(n,121,0,"md-close");l(n,131,0,e.cityDataValue[n.context.index]);l(n,146,0,"pincode");l(n,149,0,"Pincode");l(n,160,0,"Search Pincode","No Matching Result");l(n,163,0,"pinSearch");l(n,168,0,"md-close");l(n,178,0,e.pincodeDataValue[n.context.index]);l(n,184,0,1==n.context.$implicit.get("pincode").value)},function(l,n){var e=n.component;l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,11,0,n.context.index+1);l(n,16,1,[fP._32(n,17)._control.errorState,fP._32(n,17)._control.errorState,fP._32(n,17)._canLabelFloat,fP._32(n,17)._shouldLabelFloat(),fP._32(n,17)._hideControlPlaceholder(),fP._32(n,17)._control.disabled,fP._32(n,17)._control.focused,"primary"==fP._32(n,17).color,"accent"==fP._32(n,17).color,"warn"==fP._32(n,17).color,fP._32(n,17)._shouldForward("untouched"),fP._32(n,17)._shouldForward("touched"),fP._32(n,17)._shouldForward("pristine"),fP._32(n,17)._shouldForward("dirty"),fP._32(n,17)._shouldForward("valid"),fP._32(n,17)._shouldForward("invalid"),fP._32(n,17)._shouldForward("pending")]);l(n,26,1,[fP._21(1,"",e.countRowsForTextarea(n.context.$implicit.get("address").value),""),fP._32(n,31).ngClassUntouched,fP._32(n,31).ngClassTouched,fP._32(n,31).ngClassPristine,fP._32(n,31).ngClassDirty,fP._32(n,31).ngClassValid,fP._32(n,31).ngClassInvalid,fP._32(n,31).ngClassPending,fP._32(n,32)._isServer,fP._32(n,32).id,fP._32(n,32).placeholder,fP._32(n,32).disabled,fP._32(n,32).required,fP._32(n,32).readonly,fP._32(n,32)._ariaDescribedby||null,fP._32(n,32).errorState,fP._32(n,32).required.toString()]);l(n,40,1,[fP._32(n,41)._control.errorState,fP._32(n,41)._control.errorState,fP._32(n,41)._canLabelFloat,fP._32(n,41)._shouldLabelFloat(),fP._32(n,41)._hideControlPlaceholder(),fP._32(n,41)._control.disabled,fP._32(n,41)._control.focused,"primary"==fP._32(n,41).color,"accent"==fP._32(n,41).color,"warn"==fP._32(n,41).color,fP._32(n,41)._shouldForward("untouched"),fP._32(n,41)._shouldForward("touched"),fP._32(n,41)._shouldForward("pristine"),fP._32(n,41)._shouldForward("dirty"),fP._32(n,41)._shouldForward("valid"),fP._32(n,41)._shouldForward("invalid"),fP._32(n,41)._shouldForward("pending")]);l(n,50,1,[fP._32(n,53).ngClassUntouched,fP._32(n,53).ngClassTouched,fP._32(n,53).ngClassPristine,fP._32(n,53).ngClassDirty,fP._32(n,53).ngClassValid,fP._32(n,53).ngClassInvalid,fP._32(n,53).ngClassPending,fP._32(n,54).id,fP._32(n,54).tabIndex,fP._32(n,54)._ariaLabel,fP._32(n,54).ariaLabelledby,fP._32(n,54).required.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).errorState,fP._32(n,54).panelOpen?fP._32(n,54)._optionIds:null,fP._32(n,54).multiple,fP._32(n,54)._ariaDescribedby||null,fP._32(n,54)._getAriaActiveDescendant(),fP._32(n,54).disabled,fP._32(n,54).errorState,fP._32(n,54).required]);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,64,0,fP._32(n,65).isInsideMatOption,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending);l(n,72,0,fP._32(n,73)._hidden);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,88,1,[fP._32(n,89)._control.errorState,fP._32(n,89)._control.errorState,fP._32(n,89)._canLabelFloat,fP._32(n,89)._shouldLabelFloat(),fP._32(n,89)._hideControlPlaceholder(),fP._32(n,89)._control.disabled,fP._32(n,89)._control.focused,"primary"==fP._32(n,89).color,"accent"==fP._32(n,89).color,"warn"==fP._32(n,89).color,fP._32(n,89)._shouldForward("untouched"),fP._32(n,89)._shouldForward("touched"),fP._32(n,89)._shouldForward("pristine"),fP._32(n,89)._shouldForward("dirty"),fP._32(n,89)._shouldForward("valid"),fP._32(n,89)._shouldForward("invalid"),fP._32(n,89)._shouldForward("pending")]);l(n,98,1,[fP._32(n,101).ngClassUntouched,fP._32(n,101).ngClassTouched,fP._32(n,101).ngClassPristine,fP._32(n,101).ngClassDirty,fP._32(n,101).ngClassValid,fP._32(n,101).ngClassInvalid,fP._32(n,101).ngClassPending,fP._32(n,102).id,fP._32(n,102).tabIndex,fP._32(n,102)._ariaLabel,fP._32(n,102).ariaLabelledby,fP._32(n,102).required.toString(),fP._32(n,102).disabled.toString(),fP._32(n,102).errorState,fP._32(n,102).panelOpen?fP._32(n,102)._optionIds:null,fP._32(n,102).multiple,fP._32(n,102)._ariaDescribedby||null,fP._32(n,102)._getAriaActiveDescendant(),fP._32(n,102).disabled,fP._32(n,102).errorState,fP._32(n,102).required]);l(n,109,0,fP._32(n,110)._getTabIndex(),fP._32(n,110).selected,fP._32(n,110).multiple,fP._32(n,110).active,fP._32(n,110).id,fP._32(n,110).selected.toString(),fP._32(n,110).disabled.toString(),fP._32(n,110).disabled);l(n,112,0,fP._32(n,113).isInsideMatOption,fP._32(n,118).ngClassUntouched,fP._32(n,118).ngClassTouched,fP._32(n,118).ngClassPristine,fP._32(n,118).ngClassDirty,fP._32(n,118).ngClassValid,fP._32(n,118).ngClassInvalid,fP._32(n,118).ngClassPending);l(n,120,0,fP._32(n,121)._hidden);l(n,126,0,fP._32(n,127)._getTabIndex(),fP._32(n,127).selected,fP._32(n,127).multiple,fP._32(n,127).active,fP._32(n,127).id,fP._32(n,127).selected.toString(),fP._32(n,127).disabled.toString(),fP._32(n,127).disabled);l(n,135,1,[fP._32(n,136)._control.errorState,fP._32(n,136)._control.errorState,fP._32(n,136)._canLabelFloat,fP._32(n,136)._shouldLabelFloat(),fP._32(n,136)._hideControlPlaceholder(),fP._32(n,136)._control.disabled,fP._32(n,136)._control.focused,"primary"==fP._32(n,136).color,"accent"==fP._32(n,136).color,"warn"==fP._32(n,136).color,fP._32(n,136)._shouldForward("untouched"),fP._32(n,136)._shouldForward("touched"),fP._32(n,136)._shouldForward("pristine"),fP._32(n,136)._shouldForward("dirty"),fP._32(n,136)._shouldForward("valid"),fP._32(n,136)._shouldForward("invalid"),fP._32(n,136)._shouldForward("pending")]);l(n,145,1,[fP._32(n,148).ngClassUntouched,fP._32(n,148).ngClassTouched,fP._32(n,148).ngClassPristine,fP._32(n,148).ngClassDirty,fP._32(n,148).ngClassValid,fP._32(n,148).ngClassInvalid,fP._32(n,148).ngClassPending,fP._32(n,149).id,fP._32(n,149).tabIndex,fP._32(n,149)._ariaLabel,fP._32(n,149).ariaLabelledby,fP._32(n,149).required.toString(),fP._32(n,149).disabled.toString(),fP._32(n,149).errorState,fP._32(n,149).panelOpen?fP._32(n,149)._optionIds:null,fP._32(n,149).multiple,fP._32(n,149)._ariaDescribedby||null,fP._32(n,149)._getAriaActiveDescendant(),fP._32(n,149).disabled,fP._32(n,149).errorState,fP._32(n,149).required]);l(n,156,0,fP._32(n,157)._getTabIndex(),fP._32(n,157).selected,fP._32(n,157).multiple,fP._32(n,157).active,fP._32(n,157).id,fP._32(n,157).selected.toString(),fP._32(n,157).disabled.toString(),fP._32(n,157).disabled);l(n,159,0,fP._32(n,160).isInsideMatOption,fP._32(n,165).ngClassUntouched,fP._32(n,165).ngClassTouched,fP._32(n,165).ngClassPristine,fP._32(n,165).ngClassDirty,fP._32(n,165).ngClassValid,fP._32(n,165).ngClassInvalid,fP._32(n,165).ngClassPending);l(n,167,0,fP._32(n,168)._hidden);l(n,173,0,fP._32(n,174)._getTabIndex(),fP._32(n,174).selected,fP._32(n,174).multiple,fP._32(n,174).active,fP._32(n,174).id,fP._32(n,174).selected.toString(),fP._32(n,174).disabled.toString(),fP._32(n,174).disabled)})}function Mn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[55,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Alternative Address Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Kn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Gn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[88,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function zn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[95,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Pincode Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Yn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,92,{_control:0}),fP._38(335544320,93,{_placeholderChild:0}),fP._38(335544320,94,{_labelChild:0}),fP._38(603979776,95,{_errorChildren:1}),fP._38(603979776,96,{_hintChildren:1}),fP._38(603979776,97,{_prefixChildren:1}),fP._38(603979776,98,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,9,"input",[["OnlyNumber",""],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","alternative_pincode_others"],["matInput",""],["placeholder","Specify Pincode "],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[92,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,zn)),fP._17(22,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,12,0,"");l(n,15,0,"alternative_pincode_others");l(n,18,0,"Specify Pincode ","","text");l(n,22,0,n.parent.context.$implicit.controls.alternative_pincode_others.hasError("required"))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,12).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function Qn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[102,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Reason Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Jn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,200,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,52,{_control:0}),fP._38(335544320,53,{_placeholderChild:0}),fP._38(335544320,54,{_labelChild:0}),fP._38(603979776,55,{_errorChildren:1}),fP._38(603979776,56,{_hintChildren:1}),fP._38(603979776,57,{_prefixChildren:1}),fP._38(603979776,58,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","alternative_address"],["matInput",""],["placeholder","Enter actual PD address"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(16,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],value:[2,"value"]},null),fP._36(24,1),fP._37(2048,[[52,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Mn)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(32,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,59,{_control:0}),fP._38(335544320,60,{_placeholderChild:0}),fP._38(335544320,61,{_labelChild:0}),fP._38(603979776,62,{_errorChildren:1}),fP._38(603979776,63,{_hintChildren:1}),fP._38(603979776,64,{_prefixChildren:1}),fP._38(603979776,65,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(41,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","alternative_state"],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,45)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,45)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCityAndPincodeDetails(e.value,l.context.index,2)&&u}return u},tN.b,tN.a)),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),fP._17(45,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,66,{options:1}),fP._38(603979776,67,{optionGroups:1}),fP._38(335544320,68,{customTrigger:0}),fP._37(2048,[[59,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(52,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,53)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,53)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(53,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(55,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state","")&&u}return u},dN.b,dN.a)),fP._17(56,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,69,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(59,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(61,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(63,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(64,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(65,16384,[[69,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,70)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(70,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Kn)),fP._17(74,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","alternative_city"],["placeholder","City"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,77,{options:1}),fP._38(603979776,78,{optionGroups:1}),fP._38(335544320,79,{customTrigger:0}),fP._37(2048,[[70,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(103,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city",2)&&u}return u},dN.b,dN.a)),fP._17(104,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,80,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(107,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(109,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(111,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(112,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(113,16384,[[80,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(117,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,118)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,118)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(118,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,[" Select "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Hn)),fP._17(122,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(126,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(127,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,81,{_control:0}),fP._38(335544320,82,{_placeholderChild:0}),fP._38(335544320,83,{_labelChild:0}),fP._38(603979776,84,{_errorChildren:1}),fP._38(603979776,85,{_hintChildren:1}),fP._38(603979776,86,{_prefixChildren:1}),fP._38(603979776,87,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(136,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","alternative_pincode"],["placeholder","Pincode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,140)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,140)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,140)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(137,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(139,16384,null,0,EP.s,[EP.r],null,null),fP._17(140,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,88,{options:1}),fP._38(603979776,89,{optionGroups:1}),fP._38(335544320,90,{customTrigger:0}),fP._37(2048,[[81,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(147,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,148)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,148)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(148,8437760,[[88,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(150,0,null,0,11,"ngx-mat-select-search",[["formControlName","pinSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"pin",2)&&u}return u},dN.b,dN.a)),fP._17(151,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,91,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(154,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(156,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(158,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(159,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(160,16384,[[91,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(164,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,165)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,165)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(165,8437760,[[88,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Gn)),fP._17(169,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Yn)),fP._17(174,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n \n\n \n "])),(l()(),fP._18(176,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 96%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(177,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,99,{_control:0}),fP._38(335544320,100,{_placeholderChild:0}),fP._38(335544320,101,{_labelChild:0}),fP._38(603979776,102,{_errorChildren:1}),fP._38(603979776,103,{_hintChildren:1}),fP._38(603979776,104,{_prefixChildren:1}),fP._38(603979776,105,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(186,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_alternative_address"],["matInput",""],["placeholder","Reason for change in PD visit address ?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,187)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,187).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,187)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,187)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,194)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,194)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,194)._onInput()&&u}return u},null,null)),fP._17(187,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(188,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(191,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(193,16384,null,0,EP.s,[EP.r],null,null),fP._17(194,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[99,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Qn)),fP._17(198,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,20,0,"alternative_address");l(n,23,0,"Enter actual PD address","",fP._41(n,23,2,l(n,24,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.get("alternative_address").value)));l(n,28,0,n.context.$implicit.controls.alternative_address.hasError("required"));l(n,42,0,"alternative_state");l(n,45,0,"State");l(n,56,0,"Find State","No Matching Result");l(n,59,0,"stateSearch");l(n,64,0,"md-close");l(n,74,0,fP._41(n,74,0,fP._32(n,75).transform(e.filteredState)));l(n,90,0,"alternative_city");l(n,93,0,"City");l(n,104,0,"Find City","No Matching Result");l(n,107,0,"citySearch");l(n,112,0,"md-close");l(n,122,0,e.alertnativeCityData[n.context.index]);l(n,137,0,"alternative_pincode");l(n,140,0,"Pincode");l(n,151,0,"Search Pincode","No Matching Result");l(n,154,0,"pinSearch");l(n,159,0,"md-close");l(n,169,0,e.alertnativePincodeData[n.context.index]);l(n,174,0,1==n.context.$implicit.get("alternative_pincode").value);l(n,188,0,"");l(n,191,0,"reason_for_alternative_address");l(n,194,0,"Reason for change in PD visit address ?","");l(n,198,0,n.context.$implicit.controls.reason_for_alternative_address.hasError("required"))},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,31,1,[fP._32(n,32)._control.errorState,fP._32(n,32)._control.errorState,fP._32(n,32)._canLabelFloat,fP._32(n,32)._shouldLabelFloat(),fP._32(n,32)._hideControlPlaceholder(),fP._32(n,32)._control.disabled,fP._32(n,32)._control.focused,"primary"==fP._32(n,32).color,"accent"==fP._32(n,32).color,"warn"==fP._32(n,32).color,fP._32(n,32)._shouldForward("untouched"),fP._32(n,32)._shouldForward("touched"),fP._32(n,32)._shouldForward("pristine"),fP._32(n,32)._shouldForward("dirty"),fP._32(n,32)._shouldForward("valid"),fP._32(n,32)._shouldForward("invalid"),fP._32(n,32)._shouldForward("pending")]);l(n,41,1,[fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending,fP._32(n,45).id,fP._32(n,45).tabIndex,fP._32(n,45)._ariaLabel,fP._32(n,45).ariaLabelledby,fP._32(n,45).required.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).errorState,fP._32(n,45).panelOpen?fP._32(n,45)._optionIds:null,fP._32(n,45).multiple,fP._32(n,45)._ariaDescribedby||null,fP._32(n,45)._getAriaActiveDescendant(),fP._32(n,45).disabled,fP._32(n,45).errorState,fP._32(n,45).required]);l(n,52,0,fP._32(n,53)._getTabIndex(),fP._32(n,53).selected,fP._32(n,53).multiple,fP._32(n,53).active,fP._32(n,53).id,fP._32(n,53).selected.toString(),fP._32(n,53).disabled.toString(),fP._32(n,53).disabled);l(n,55,0,fP._32(n,56).isInsideMatOption,fP._32(n,61).ngClassUntouched,fP._32(n,61).ngClassTouched,fP._32(n,61).ngClassPristine,fP._32(n,61).ngClassDirty,fP._32(n,61).ngClassValid,fP._32(n,61).ngClassInvalid,fP._32(n,61).ngClassPending);l(n,63,0,fP._32(n,64)._hidden);l(n,69,0,fP._32(n,70)._getTabIndex(),fP._32(n,70).selected,fP._32(n,70).multiple,fP._32(n,70).active,fP._32(n,70).id,fP._32(n,70).selected.toString(),fP._32(n,70).disabled.toString(),fP._32(n,70).disabled);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,89,1,[fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,103,0,fP._32(n,104).isInsideMatOption,fP._32(n,109).ngClassUntouched,fP._32(n,109).ngClassTouched,fP._32(n,109).ngClassPristine,fP._32(n,109).ngClassDirty,fP._32(n,109).ngClassValid,fP._32(n,109).ngClassInvalid,fP._32(n,109).ngClassPending);l(n,111,0,fP._32(n,112)._hidden);l(n,117,0,fP._32(n,118)._getTabIndex(),fP._32(n,118).selected,fP._32(n,118).multiple,fP._32(n,118).active,fP._32(n,118).id,fP._32(n,118).selected.toString(),fP._32(n,118).disabled.toString(),fP._32(n,118).disabled);l(n,126,1,[fP._32(n,127)._control.errorState,fP._32(n,127)._control.errorState,fP._32(n,127)._canLabelFloat,fP._32(n,127)._shouldLabelFloat(),fP._32(n,127)._hideControlPlaceholder(),fP._32(n,127)._control.disabled,fP._32(n,127)._control.focused,"primary"==fP._32(n,127).color,"accent"==fP._32(n,127).color,"warn"==fP._32(n,127).color,fP._32(n,127)._shouldForward("untouched"),fP._32(n,127)._shouldForward("touched"),fP._32(n,127)._shouldForward("pristine"),fP._32(n,127)._shouldForward("dirty"),fP._32(n,127)._shouldForward("valid"),fP._32(n,127)._shouldForward("invalid"),fP._32(n,127)._shouldForward("pending")]);l(n,136,1,[fP._32(n,139).ngClassUntouched,fP._32(n,139).ngClassTouched,fP._32(n,139).ngClassPristine,fP._32(n,139).ngClassDirty,fP._32(n,139).ngClassValid,fP._32(n,139).ngClassInvalid,fP._32(n,139).ngClassPending,fP._32(n,140).id,fP._32(n,140).tabIndex,fP._32(n,140)._ariaLabel,fP._32(n,140).ariaLabelledby,fP._32(n,140).required.toString(),fP._32(n,140).disabled.toString(),fP._32(n,140).errorState,fP._32(n,140).panelOpen?fP._32(n,140)._optionIds:null,fP._32(n,140).multiple,fP._32(n,140)._ariaDescribedby||null,fP._32(n,140)._getAriaActiveDescendant(),fP._32(n,140).disabled,fP._32(n,140).errorState,fP._32(n,140).required]);l(n,147,0,fP._32(n,148)._getTabIndex(),fP._32(n,148).selected,fP._32(n,148).multiple,fP._32(n,148).active,fP._32(n,148).id,fP._32(n,148).selected.toString(),fP._32(n,148).disabled.toString(),fP._32(n,148).disabled);l(n,150,0,fP._32(n,151).isInsideMatOption,fP._32(n,156).ngClassUntouched,fP._32(n,156).ngClassTouched,fP._32(n,156).ngClassPristine,fP._32(n,156).ngClassDirty,fP._32(n,156).ngClassValid,fP._32(n,156).ngClassInvalid,fP._32(n,156).ngClassPending);l(n,158,0,fP._32(n,159)._hidden);l(n,164,0,fP._32(n,165)._getTabIndex(),fP._32(n,165).selected,fP._32(n,165).multiple,fP._32(n,165).active,fP._32(n,165).id,fP._32(n,165).selected.toString(),fP._32(n,165).disabled.toString(),fP._32(n,165).disabled);l(n,176,1,[fP._32(n,177)._control.errorState,fP._32(n,177)._control.errorState,fP._32(n,177)._canLabelFloat,fP._32(n,177)._shouldLabelFloat(),fP._32(n,177)._hideControlPlaceholder(),fP._32(n,177)._control.disabled,fP._32(n,177)._control.focused,"primary"==fP._32(n,177).color,"accent"==fP._32(n,177).color,"warn"==fP._32(n,177).color,fP._32(n,177)._shouldForward("untouched"),fP._32(n,177)._shouldForward("touched"),fP._32(n,177)._shouldForward("pristine"),fP._32(n,177)._shouldForward("dirty"),fP._32(n,177)._shouldForward("valid"),fP._32(n,177)._shouldForward("invalid"),fP._32(n,177)._shouldForward("pending")]);l(n,186,1,[fP._32(n,188).required?"":null,fP._32(n,193).ngClassUntouched,fP._32(n,193).ngClassTouched,fP._32(n,193).ngClassPristine,fP._32(n,193).ngClassDirty,fP._32(n,193).ngClassValid,fP._32(n,193).ngClassInvalid,fP._32(n,193).ngClassPending,fP._32(n,194)._isServer,fP._32(n,194).id,fP._32(n,194).placeholder,fP._32(n,194).disabled,fP._32(n,194).required,fP._32(n,194).readonly,fP._32(n,194)._ariaDescribedby||null,fP._32(n,194).errorState,fP._32(n,194).required.toString()])})}function Xn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(4,0,null,null,0,"hr",[["class","line"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,7,"div",[["formArrayName","alternative_addresses"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(7,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jn)),fP._17(12,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,0,"hr",[["class","line"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,"alternative_addresses");l(n,12,0,e.pdQuestionAddress.controls.alternative_addresses.controls)},function(l,n){l(n,6,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending)})}function Zn(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[113,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.address_type)})}function le(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[109,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Address Type is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function ne(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,116,{_control:0}),fP._38(335544320,117,{_placeholderChild:0}),fP._38(335544320,118,{_labelChild:0}),fP._38(603979776,119,{_errorChildren:1}),fP._38(603979776,120,{_hintChildren:1}),fP._38(603979776,121,{_prefixChildren:1}),fP._38(603979776,122,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_type_others"],["matInput",""],["name","address_type_others"],["placeholder","Specify Address Type"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}if("change"===n){u=!1!==t.selectedAddressType(e.target.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[116,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"address_type_others");l(n,18,0,"Specify Address Type","text")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function ee(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[130,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.locality_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.locality_name)})}function ue(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[126,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Locality is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function te(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,133,{_control:0}),fP._38(335544320,134,{_placeholderChild:0}),fP._38(335544320,135,{_labelChild:0}),fP._38(603979776,136,{_errorChildren:1}),fP._38(603979776,137,{_hintChildren:1}),fP._38(603979776,138,{_prefixChildren:1}),fP._38(603979776,139,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","locality_others"],["matInput",""],["name","locality_others"],["placeholder","Specify Locality"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[133,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"locality_others");l(n,16,0,"Specify Locality")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function ae(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[147,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.pd_location_approach_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.description)})}function ie(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[143,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["PD Location is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function oe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(2,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePhoto(2)&&u}return u},WV.b,WV.a)),fP._17(3,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(4,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(5,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,3,0,"optblue");l(n,5,0,"md-camera")},function(l,n){l(n,4,0,fP._32(n,5)._hidden)})}function re(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[157,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "])),fP._36(3,1)],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.comments_on_locality_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent,0),n.context.$implicit.rating)))})}function _e(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[153,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Comment on Locality is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function de(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,160,{_control:0}),fP._38(335544320,161,{_placeholderChild:0}),fP._38(335544320,162,{_labelChild:0}),fP._38(603979776,163,{_errorChildren:1}),fP._38(603979776,164,{_hintChildren:1}),fP._38(603979776,165,{_prefixChildren:1}),fP._38(603979776,166,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_comment_locality"],["matInput",""],["name","other_comment_locality"],["placeholder","Specify Comment on Locality"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[160,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"other_comment_locality");l(n,18,0,"Specify Comment on Locality")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function se(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[181,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ce(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,184,{_control:0}),fP._38(335544320,185,{_placeholderChild:0}),fP._38(335544320,186,{_labelChild:0}),fP._38(603979776,187,{_errorChildren:1}),fP._38(603979776,188,{_hintChildren:1}),fP._38(603979776,189,{_prefixChildren:1}),fP._38(603979776,190,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_others"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[184,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_others");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function me(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,292,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,261,"mat-card",[["class","box mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n"])),(l()(),fP._18(9,0,null,0,7,"div",[["formArrayName","addresses"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(10,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(12,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Un)),fP._17(15,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(19,0,null,0,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,3,"label",[["class","toggle_label"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Is This Address PD is being done ? "])),(l()(),fP._18(23,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(24,null,["( "," )"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","is_pd_done_on_initiated_address"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.alternativeAddress(e.checked)&&u}return u},sN.b,sN.a)),fP._17(27,1228800,null,0,cN.a,[fP.p,jP.a,UA.j,fP.i,[8,null]],{color:[0,"color"]},{change:"change"}),fP._37(1024,null,EP.q,function(l){return[l]},[cN.a]),fP._17(29,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(31,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Xn)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(37,0,null,0,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(40,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,106,{_control:0}),fP._38(335544320,107,{_placeholderChild:0}),fP._38(335544320,108,{_labelChild:0}),fP._38(603979776,109,{_errorChildren:1}),fP._38(603979776,110,{_hintChildren:1}),fP._38(603979776,111,{_prefixChildren:1}),fP._38(603979776,112,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","address_type"],["name","address_type"],["placeholder","Address Type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,55)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,55)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,55)._onBlur()&&u}if("selectionChange"===n){t.setOthers(e.value,"",3);u=!1!==t.selectedAddressType(e.source.triggerValue,t.i)&&u}return u},tN.b,tN.a)),fP._17(50,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(52,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(54,16384,null,0,EP.s,[EP.r],null,null),fP._17(55,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,113,{options:1}),fP._38(603979776,114,{optionGroups:1}),fP._38(335544320,115,{customTrigger:0}),fP._37(2048,[[106,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(62,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,63)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,63)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(63,8437760,[[113,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Zn)),fP._17(67,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,le)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,ne)),fP._17(76,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n \n "])),(l()(),fP._18(78,0,null,0,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(81,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,123,{_control:0}),fP._38(335544320,124,{_placeholderChild:0}),fP._38(335544320,125,{_labelChild:0}),fP._38(603979776,126,{_errorChildren:1}),fP._38(603979776,127,{_hintChildren:1}),fP._38(603979776,128,{_prefixChildren:1}),fP._38(603979776,129,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","locality"],["matInput",""],["name","locality"],["placeholder","Locality"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,96)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,96)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,96)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setOthers(e.value,"",4)&&u}return u},tN.b,tN.a)),fP._17(91,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(93,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(95,16384,null,0,EP.s,[EP.r],null,null),fP._17(96,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,130,{options:1}),fP._38(603979776,131,{optionGroups:1}),fP._38(335544320,132,{customTrigger:0}),fP._37(2048,[[123,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(103,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,104)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,104)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(104,8437760,[[130,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ee)),fP._17(108,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ue)),fP._17(112,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,te)),fP._17(117,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(123,0,null,0,40,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(124,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(126,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 85%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(127,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,140,{_control:0}),fP._38(335544320,141,{_placeholderChild:0}),fP._38(335544320,142,{_labelChild:0}),fP._38(603979776,143,{_errorChildren:1}),fP._38(603979776,144,{_hintChildren:1}),fP._38(603979776,145,{_prefixChildren:1}),fP._38(603979776,146,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(136,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_location"],["name","pd_location"],["placeholder","Approach to PD Location"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,142)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,142)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,142)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(137,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(139,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(141,16384,null,0,EP.s,[EP.r],null,null),fP._17(142,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,147,{options:1}),fP._38(603979776,148,{optionGroups:1}),fP._38(335544320,149,{customTrigger:0}),fP._37(2048,[[140,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(149,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,150)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,150)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(150,8437760,[[147,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ae)),fP._17(154,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ie)),fP._17(158,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,oe)),fP._17(162,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(166,0,null,0,2,"div",[["flex",""],["layout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n\n \n\n "])),(l()(),fP._40(-1,0,[" \n\n "])),(l()(),fP._18(170,0,null,0,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(172,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(173,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,150,{_control:0}),fP._38(335544320,151,{_placeholderChild:0}),fP._38(335544320,152,{_labelChild:0}),fP._38(603979776,153,{_errorChildren:1}),fP._38(603979776,154,{_hintChildren:1}),fP._38(603979776,155,{_prefixChildren:1}),fP._38(603979776,156,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(182,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","comment_locality"],["name","comment_locality"],["placeholder","Comment on Locality"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,188)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,188)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,188)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(183,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(185,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(187,16384,null,0,EP.s,[EP.r],null,null),fP._17(188,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,157,{options:1}),fP._38(603979776,158,{optionGroups:1}),fP._38(335544320,159,{customTrigger:0}),fP._37(2048,[[150,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(195,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,196)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,196)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(196,8437760,[[157,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,re)),fP._17(200,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,_e)),fP._17(204,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,de)),fP._17(209,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(211,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(212,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,167,{_control:0}),fP._38(335544320,168,{_placeholderChild:0}),fP._38(335544320,169,{_labelChild:0}),fP._38(603979776,170,{_errorChildren:1}),fP._38(603979776,171,{_hintChildren:1}),fP._38(603979776,172,{_prefixChildren:1}),fP._38(603979776,173,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(221,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_area"],["matInput",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,222)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,222).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,222)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,222)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,223).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,223).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,223).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,228)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,228)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,228)._onInput()&&u}return u},null,null)),fP._17(222,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(223,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(225,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(227,16384,null,0,EP.s,[EP.r],null,null),fP._17(228,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[167,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(232,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(233,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,174,{_control:0}),fP._38(335544320,175,{_placeholderChild:0}),fP._38(335544320,176,{_labelChild:0}),fP._38(603979776,177,{_errorChildren:1}),fP._38(603979776,178,{_hintChildren:1}),fP._38(603979776,179,{_prefixChildren:1}),fP._38(603979776,180,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(242,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","uom"],["placeholder","Unit of Measurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,246)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,246)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,246)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setOthers(e.value,"",5)&&u}return u},tN.b,tN.a)),fP._17(243,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(245,16384,null,0,EP.s,[EP.r],null,null),fP._17(246,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,181,{options:1}),fP._38(603979776,182,{optionGroups:1}),fP._38(335544320,183,{customTrigger:0}),fP._37(2048,[[174,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(253,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,254)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,254)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(254,8437760,[[181,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,se)),fP._17(258,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,ce)),fP._17(263,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._40(-1,0,["\n\n\n\n"])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,null,[" \n\n "])),(l()(),fP._18(269,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(270,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(272,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(273,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,191,{_control:0}),fP._38(335544320,192,{_placeholderChild:0}),fP._38(335544320,193,{_labelChild:0}),fP._38(603979776,194,{_errorChildren:1}),fP._38(603979776,195,{_hintChildren:1}),fP._38(603979776,196,{_prefixChildren:1}),fP._38(603979776,197,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(282,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,283)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,283).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,283)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,283)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,288)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,288)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,288)._onInput()&&u}return u},null,null)),fP._17(283,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(285,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(287,16384,null,0,EP.s,[EP.r],null,null),fP._17(288,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[191,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,2,0,e.pdQuestionAddress);l(n,10,0,"addresses");l(n,15,0,e.pdQuestionAddress.controls.addresses.controls);l(n,27,0,"primary");l(n,29,0,"is_pd_done_on_initiated_address");l(n,35,0,!1===e.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value);l(n,50,0,"");l(n,52,0,"address_type");l(n,55,0,"Address Type","");l(n,67,0,e.addressTypes);l(n,71,0,(null==e.pdQuestionAddress.controls.address_type.errors?null:e.pdQuestionAddress.controls.address_type.errors.required)||e.pdQuestionAddress.controls.address_type.touched);l(n,76,0,1==e.pdQuestionAddress.get("address_type").value);l(n,91,0,"");l(n,93,0,"locality");l(n,96,0,"Locality","");l(n,108,0,e.locality);l(n,112,0,(null==e.pdQuestionAddress.controls.locality.errors?null:e.pdQuestionAddress.controls.locality.errors.required)||e.pdQuestionAddress.controls.locality.touched);l(n,117,0,1==e.pdQuestionAddress.get("locality").value);l(n,137,0,"");l(n,139,0,"pd_location");l(n,142,0,"Approach to PD Location","");l(n,154,0,e.pdlocation);l(n,158,0,(null==e.pdQuestionAddress.controls.pd_location.errors?null:e.pdQuestionAddress.controls.pd_location.errors.required)||e.pdQuestionAddress.controls.pd_location.touched);l(n,162,0,""!=e.pdQuestionAddress.get("pd_location").value);l(n,183,0,"");l(n,185,0,"comment_locality");l(n,188,0,"Comment on Locality","");l(n,200,0,e.cmtlocality);l(n,204,0,(null==e.pdQuestionAddress.controls.comment_locality.errors?null:e.pdQuestionAddress.controls.comment_locality.errors.required)||e.pdQuestionAddress.controls.comment_locality.touched);l(n,209,0,1==e.pdQuestionAddress.get("comment_locality").value);l(n,225,0,"estimated_area");l(n,228,0,e.placeholderName[e.i]?e.placeholderName[e.i]:"Estimated area of the (Address Type)","number");l(n,243,0,"uom");l(n,246,0,"Unit of Measurement");l(n,258,0,e.uomData);l(n,263,0,1==e.pdQuestionAddress.get("uom").value);l(n,285,0,"address_form_remark");l(n,288,0,"Remarks")},function(l,n){var e=n.component;l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,9,0,fP._32(n,12).ngClassUntouched,fP._32(n,12).ngClassTouched,fP._32(n,12).ngClassPristine,fP._32(n,12).ngClassDirty,fP._32(n,12).ngClassValid,fP._32(n,12).ngClassInvalid,fP._32(n,12).ngClassPending);l(n,24,0,!0===e.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value?"Yes":"No");l(n,26,1,[fP._32(n,27).id,fP._32(n,27).checked,fP._32(n,27).disabled,"before"==fP._32(n,27).labelPosition,fP._32(n,31).ngClassUntouched,fP._32(n,31).ngClassTouched,fP._32(n,31).ngClassPristine,fP._32(n,31).ngClassDirty,fP._32(n,31).ngClassValid,fP._32(n,31).ngClassInvalid,fP._32(n,31).ngClassPending]);l(n,39,1,[fP._32(n,40)._control.errorState,fP._32(n,40)._control.errorState,fP._32(n,40)._canLabelFloat,fP._32(n,40)._shouldLabelFloat(),fP._32(n,40)._hideControlPlaceholder(),fP._32(n,40)._control.disabled,fP._32(n,40)._control.focused,"primary"==fP._32(n,40).color,"accent"==fP._32(n,40).color,"warn"==fP._32(n,40).color,fP._32(n,40)._shouldForward("untouched"),fP._32(n,40)._shouldForward("touched"),fP._32(n,40)._shouldForward("pristine"),fP._32(n,40)._shouldForward("dirty"),fP._32(n,40)._shouldForward("valid"),fP._32(n,40)._shouldForward("invalid"),fP._32(n,40)._shouldForward("pending")]);l(n,49,1,[fP._32(n,50).required?"":null,fP._32(n,54).ngClassUntouched,fP._32(n,54).ngClassTouched,fP._32(n,54).ngClassPristine,fP._32(n,54).ngClassDirty,fP._32(n,54).ngClassValid,fP._32(n,54).ngClassInvalid,fP._32(n,54).ngClassPending,fP._32(n,55).id,fP._32(n,55).tabIndex,fP._32(n,55)._ariaLabel,fP._32(n,55).ariaLabelledby,fP._32(n,55).required.toString(),fP._32(n,55).disabled.toString(),fP._32(n,55).errorState,fP._32(n,55).panelOpen?fP._32(n,55)._optionIds:null,fP._32(n,55).multiple,fP._32(n,55)._ariaDescribedby||null,fP._32(n,55)._getAriaActiveDescendant(),fP._32(n,55).disabled,fP._32(n,55).errorState,fP._32(n,55).required]);l(n,62,0,fP._32(n,63)._getTabIndex(),fP._32(n,63).selected,fP._32(n,63).multiple,fP._32(n,63).active,fP._32(n,63).id,fP._32(n,63).selected.toString(),fP._32(n,63).disabled.toString(),fP._32(n,63).disabled);l(n,80,1,[fP._32(n,81)._control.errorState,fP._32(n,81)._control.errorState,fP._32(n,81)._canLabelFloat,fP._32(n,81)._shouldLabelFloat(),fP._32(n,81)._hideControlPlaceholder(),fP._32(n,81)._control.disabled,fP._32(n,81)._control.focused,"primary"==fP._32(n,81).color,"accent"==fP._32(n,81).color,"warn"==fP._32(n,81).color,fP._32(n,81)._shouldForward("untouched"),fP._32(n,81)._shouldForward("touched"),fP._32(n,81)._shouldForward("pristine"),fP._32(n,81)._shouldForward("dirty"),fP._32(n,81)._shouldForward("valid"),fP._32(n,81)._shouldForward("invalid"),fP._32(n,81)._shouldForward("pending")]);l(n,90,1,[fP._32(n,91).required?"":null,fP._32(n,95).ngClassUntouched,fP._32(n,95).ngClassTouched,fP._32(n,95).ngClassPristine,fP._32(n,95).ngClassDirty,fP._32(n,95).ngClassValid,fP._32(n,95).ngClassInvalid,fP._32(n,95).ngClassPending,fP._32(n,96).id,fP._32(n,96).tabIndex,fP._32(n,96)._ariaLabel,fP._32(n,96).ariaLabelledby,fP._32(n,96).required.toString(),fP._32(n,96).disabled.toString(),fP._32(n,96).errorState,fP._32(n,96).panelOpen?fP._32(n,96)._optionIds:null,fP._32(n,96).multiple,fP._32(n,96)._ariaDescribedby||null,fP._32(n,96)._getAriaActiveDescendant(),fP._32(n,96).disabled,fP._32(n,96).errorState,fP._32(n,96).required]);l(n,103,0,fP._32(n,104)._getTabIndex(),fP._32(n,104).selected,fP._32(n,104).multiple,fP._32(n,104).active,fP._32(n,104).id,fP._32(n,104).selected.toString(),fP._32(n,104).disabled.toString(),fP._32(n,104).disabled);l(n,126,1,[fP._32(n,127)._control.errorState,fP._32(n,127)._control.errorState,fP._32(n,127)._canLabelFloat,fP._32(n,127)._shouldLabelFloat(),fP._32(n,127)._hideControlPlaceholder(),fP._32(n,127)._control.disabled,fP._32(n,127)._control.focused,"primary"==fP._32(n,127).color,"accent"==fP._32(n,127).color,"warn"==fP._32(n,127).color,fP._32(n,127)._shouldForward("untouched"),fP._32(n,127)._shouldForward("touched"),fP._32(n,127)._shouldForward("pristine"),fP._32(n,127)._shouldForward("dirty"),fP._32(n,127)._shouldForward("valid"),fP._32(n,127)._shouldForward("invalid"),fP._32(n,127)._shouldForward("pending")]);l(n,136,1,[fP._32(n,137).required?"":null,fP._32(n,141).ngClassUntouched,fP._32(n,141).ngClassTouched,fP._32(n,141).ngClassPristine,fP._32(n,141).ngClassDirty,fP._32(n,141).ngClassValid,fP._32(n,141).ngClassInvalid,fP._32(n,141).ngClassPending,fP._32(n,142).id,fP._32(n,142).tabIndex,fP._32(n,142)._ariaLabel,fP._32(n,142).ariaLabelledby,fP._32(n,142).required.toString(),fP._32(n,142).disabled.toString(),fP._32(n,142).errorState,fP._32(n,142).panelOpen?fP._32(n,142)._optionIds:null,fP._32(n,142).multiple,fP._32(n,142)._ariaDescribedby||null,fP._32(n,142)._getAriaActiveDescendant(),fP._32(n,142).disabled,fP._32(n,142).errorState,fP._32(n,142).required]);l(n,149,0,fP._32(n,150)._getTabIndex(),fP._32(n,150).selected,fP._32(n,150).multiple,fP._32(n,150).active,fP._32(n,150).id,fP._32(n,150).selected.toString(),fP._32(n,150).disabled.toString(),fP._32(n,150).disabled);l(n,172,1,[fP._32(n,173)._control.errorState,fP._32(n,173)._control.errorState,fP._32(n,173)._canLabelFloat,fP._32(n,173)._shouldLabelFloat(),fP._32(n,173)._hideControlPlaceholder(),fP._32(n,173)._control.disabled,fP._32(n,173)._control.focused,"primary"==fP._32(n,173).color,"accent"==fP._32(n,173).color,"warn"==fP._32(n,173).color,fP._32(n,173)._shouldForward("untouched"),fP._32(n,173)._shouldForward("touched"),fP._32(n,173)._shouldForward("pristine"),fP._32(n,173)._shouldForward("dirty"),fP._32(n,173)._shouldForward("valid"),fP._32(n,173)._shouldForward("invalid"),fP._32(n,173)._shouldForward("pending")]);l(n,182,1,[fP._32(n,183).required?"":null,fP._32(n,187).ngClassUntouched,fP._32(n,187).ngClassTouched,fP._32(n,187).ngClassPristine,fP._32(n,187).ngClassDirty,fP._32(n,187).ngClassValid,fP._32(n,187).ngClassInvalid,fP._32(n,187).ngClassPending,fP._32(n,188).id,fP._32(n,188).tabIndex,fP._32(n,188)._ariaLabel,fP._32(n,188).ariaLabelledby,fP._32(n,188).required.toString(),fP._32(n,188).disabled.toString(),fP._32(n,188).errorState,fP._32(n,188).panelOpen?fP._32(n,188)._optionIds:null,fP._32(n,188).multiple,fP._32(n,188)._ariaDescribedby||null,fP._32(n,188)._getAriaActiveDescendant(),fP._32(n,188).disabled,fP._32(n,188).errorState,fP._32(n,188).required]);l(n,195,0,fP._32(n,196)._getTabIndex(),fP._32(n,196).selected,fP._32(n,196).multiple,fP._32(n,196).active,fP._32(n,196).id,fP._32(n,196).selected.toString(),fP._32(n,196).disabled.toString(),fP._32(n,196).disabled);l(n,211,1,[fP._32(n,212)._control.errorState,fP._32(n,212)._control.errorState,fP._32(n,212)._canLabelFloat,fP._32(n,212)._shouldLabelFloat(),fP._32(n,212)._hideControlPlaceholder(),fP._32(n,212)._control.disabled,fP._32(n,212)._control.focused,"primary"==fP._32(n,212).color,"accent"==fP._32(n,212).color,"warn"==fP._32(n,212).color,fP._32(n,212)._shouldForward("untouched"),fP._32(n,212)._shouldForward("touched"),fP._32(n,212)._shouldForward("pristine"),fP._32(n,212)._shouldForward("dirty"),fP._32(n,212)._shouldForward("valid"),fP._32(n,212)._shouldForward("invalid"),fP._32(n,212)._shouldForward("pending")]);l(n,221,1,[fP._32(n,227).ngClassUntouched,fP._32(n,227).ngClassTouched,fP._32(n,227).ngClassPristine,fP._32(n,227).ngClassDirty,fP._32(n,227).ngClassValid,fP._32(n,227).ngClassInvalid,fP._32(n,227).ngClassPending,fP._32(n,228)._isServer,fP._32(n,228).id,fP._32(n,228).placeholder,fP._32(n,228).disabled,fP._32(n,228).required,fP._32(n,228).readonly,fP._32(n,228)._ariaDescribedby||null,fP._32(n,228).errorState,fP._32(n,228).required.toString()]);l(n,232,1,[fP._32(n,233)._control.errorState,fP._32(n,233)._control.errorState,fP._32(n,233)._canLabelFloat,fP._32(n,233)._shouldLabelFloat(),fP._32(n,233)._hideControlPlaceholder(),fP._32(n,233)._control.disabled,fP._32(n,233)._control.focused,"primary"==fP._32(n,233).color,"accent"==fP._32(n,233).color,"warn"==fP._32(n,233).color,fP._32(n,233)._shouldForward("untouched"),fP._32(n,233)._shouldForward("touched"),fP._32(n,233)._shouldForward("pristine"),fP._32(n,233)._shouldForward("dirty"),fP._32(n,233)._shouldForward("valid"),fP._32(n,233)._shouldForward("invalid"),fP._32(n,233)._shouldForward("pending")]);l(n,242,1,[fP._32(n,245).ngClassUntouched,fP._32(n,245).ngClassTouched,fP._32(n,245).ngClassPristine,fP._32(n,245).ngClassDirty,fP._32(n,245).ngClassValid,fP._32(n,245).ngClassInvalid,fP._32(n,245).ngClassPending,fP._32(n,246).id,fP._32(n,246).tabIndex,fP._32(n,246)._ariaLabel,fP._32(n,246).ariaLabelledby,fP._32(n,246).required.toString(),fP._32(n,246).disabled.toString(),fP._32(n,246).errorState,fP._32(n,246).panelOpen?fP._32(n,246)._optionIds:null,fP._32(n,246).multiple,fP._32(n,246)._ariaDescribedby||null,fP._32(n,246)._getAriaActiveDescendant(),fP._32(n,246).disabled,fP._32(n,246).errorState,fP._32(n,246).required]);l(n,253,0,fP._32(n,254)._getTabIndex(),fP._32(n,254).selected,fP._32(n,254).multiple,fP._32(n,254).active,fP._32(n,254).id,fP._32(n,254).selected.toString(),fP._32(n,254).disabled.toString(),fP._32(n,254).disabled);l(n,272,1,[fP._32(n,273)._control.errorState,fP._32(n,273)._control.errorState,fP._32(n,273)._canLabelFloat,fP._32(n,273)._shouldLabelFloat(),fP._32(n,273)._hideControlPlaceholder(),fP._32(n,273)._control.disabled,fP._32(n,273)._control.focused,"primary"==fP._32(n,273).color,"accent"==fP._32(n,273).color,"warn"==fP._32(n,273).color,fP._32(n,273)._shouldForward("untouched"),fP._32(n,273)._shouldForward("touched"),fP._32(n,273)._shouldForward("pristine"),fP._32(n,273)._shouldForward("dirty"),fP._32(n,273)._shouldForward("valid"),fP._32(n,273)._shouldForward("invalid"),fP._32(n,273)._shouldForward("pending")]);l(n,282,1,[fP._32(n,287).ngClassUntouched,fP._32(n,287).ngClassTouched,fP._32(n,287).ngClassPristine,fP._32(n,287).ngClassDirty,fP._32(n,287).ngClassValid,fP._32(n,287).ngClassInvalid,fP._32(n,287).ngClassPending,fP._32(n,288)._isServer,fP._32(n,288).id,fP._32(n,288).placeholder,fP._32(n,288).disabled,fP._32(n,288).required,fP._32(n,288).readonly,fP._32(n,288)._ariaDescribedby||null,fP._32(n,288).errorState,fP._32(n,288).required.toString()])})}function pe(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,55,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,35,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Fn)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._18(21,0,null,2,15,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(22,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,6,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePhoto(1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(29,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(30,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,xn)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n \n \n "])),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(42,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),fP._17(45,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49).onClick()&&u}return u},dV.b,dV.a)),fP._17(49,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(52,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,53).onClick()&&u}return u},dV.b,dV.a)),fP._17(53,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(58,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(59,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(62,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,En)),fP._17(65,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,me)),fP._17(68,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n\n \n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(73,0,null,null,4,"ion-footer",[],null,null,null,null,null)),fP._17(74,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n \n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n \n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,19,0,!e.viewchange);l(n,30,0,"md-camera");l(n,34,0,!e.complete_status);l(n,42,0,e.tab);l(n,45,0,"optblue");l(n,49,0,"0");l(n,53,0,"1");l(n,62,0,e.tab);l(n,65,0,"1");l(n,68,0,"0")},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,29,0,fP._32(n,30)._hidden);l(n,41,0,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending,fP._32(n,45)._disabled);l(n,48,0,fP._32(n,49)._disabled,fP._32(n,49).isActive,fP._32(n,49).isActive);l(n,52,0,fP._32(n,53)._disabled,fP._32(n,53).isActive,fP._32(n,53).isActive);l(n,58,0,fP._32(n,59).statusbarPadding,fP._32(n,59)._hasRefresher)})}function fe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function he(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAssetDetails(t.AssetsDetailsForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function ge(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found"]))],null,null)}function be(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ve(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ye(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Ce(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,be)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ve)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ye)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function we(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ce)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Fe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function xe(l){return fP._42(0,[(l()(),fP._18(0,0,[[1,0],["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ke(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fe)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,xe)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function Se(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ke)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Ie(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[[1,4],["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function qe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[[2,4],["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,16,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ge)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,we)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Se)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(21,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Ie)),fP._17(24,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,18,0,e.imageBucket.length>0);l(n,24,0,e.imageBucket.length>0)},null)}function Pe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[13,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function De(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,16,{_control:0}),fP._38(335544320,17,{_placeholderChild:0}),fP._38(335544320,18,{_labelChild:0}),fP._38(603979776,19,{_errorChildren:1}),fP._38(603979776,20,{_hintChildren:1}),fP._38(603979776,21,{_prefixChildren:1}),fP._38(603979776,22,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_assets"],["matInput",""],["placeholder","Description of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[16,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"any_other_assets");l(n,25,0,"Description of the Assets")},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()])})}function Te(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,De)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function Oe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[30,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Le(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,33,{_control:0}),fP._38(335544320,34,{_placeholderChild:0}),fP._38(335544320,35,{_labelChild:0}),fP._38(603979776,36,{_errorChildren:1}),fP._38(603979776,37,{_hintChildren:1}),fP._38(603979776,38,{_prefixChildren:1}),fP._38(603979776,39,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_property_type"],["matInput",""],["placeholder","Other Property Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[33,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_property_type");l(n,16,0,"Other Property Type")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ae(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,40,{_control:0}),fP._38(335544320,41,{_placeholderChild:0}),fP._38(335544320,42,{_labelChild:0}),fP._38(603979776,43,{_errorChildren:1}),fP._38(603979776,44,{_hintChildren:1}),fP._38(603979776,45,{_prefixChildren:1}),fP._38(603979776,46,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_of_the_property"],["matInput",""],["placeholder","Address of the Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[40,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"address_of_the_property");l(n,16,0,"Address of the Property")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ve(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,47,{_control:0}),fP._38(335544320,48,{_placeholderChild:0}),fP._38(335544320,49,{_labelChild:0}),fP._38(603979776,50,{_errorChildren:1}),fP._38(603979776,51,{_hintChildren:1}),fP._38(603979776,52,{_prefixChildren:1}),fP._38(603979776,53,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","describe_of_the_property_asset"],["matInput",""],["placeholder","Description of the Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[47,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"describe_of_the_property_asset");l(n,16,0,"Description of the Property")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ne(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[68,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function We(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,71,{_control:0}),fP._38(335544320,72,{_placeholderChild:0}),fP._38(335544320,73,{_labelChild:0}),fP._38(603979776,74,{_errorChildren:1}),fP._38(603979776,75,{_hintChildren:1}),fP._38(603979776,76,{_prefixChildren:1}),fP._38(603979776,77,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_uom"],["matInput",""],["placeholder","Specify Unit of Measurement"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[71,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_uom");l(n,16,0,"Specify Unit of Measurement")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ee(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,103,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,100,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,94,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,23,{_control:0}),fP._38(335544320,24,{_placeholderChild:0}),fP._38(335544320,25,{_labelChild:0}),fP._38(603979776,26,{_errorChildren:1}),fP._38(603979776,27,{_hintChildren:1}),fP._38(603979776,28,{_prefixChildren:1}),fP._38(603979776,29,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Property Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,30,{options:1}),fP._38(603979776,31,{optionGroups:1}),fP._38(335544320,32,{customTrigger:0}),fP._37(2048,[[23,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[30,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Oe)),fP._17(35,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Le)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ae)),fP._17(43,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ve)),fP._17(46,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(48,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(49,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,54,{_control:0}),fP._38(335544320,55,{_placeholderChild:0}),fP._38(335544320,56,{_labelChild:0}),fP._38(603979776,57,{_errorChildren:1}),fP._38(603979776,58,{_hintChildren:1}),fP._38(603979776,59,{_prefixChildren:1}),fP._38(603979776,60,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(58,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","area_covered_by_this_property"],["matInput",""],["placeholder","Area Covered"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,59)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,59).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,59)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,59)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,60).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,60).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,60).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,65)._onInput()&&u}return u},null,null)),fP._17(59,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(60,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(62,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(64,16384,null,0,EP.s,[EP.r],null,null),fP._17(65,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[54,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(69,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(70,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,61,{_control:0}),fP._38(335544320,62,{_placeholderChild:0}),fP._38(335544320,63,{_labelChild:0}),fP._38(603979776,64,{_errorChildren:1}),fP._38(603979776,65,{_hintChildren:1}),fP._38(603979776,66,{_prefixChildren:1}),fP._38(603979776,67,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(79,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","uom_of_the_property"],["placeholder","Unit of Measurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,83)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,83)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,83)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.context.$implicit,6)&&u}return u},tN.b,tN.a)),fP._17(80,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(82,16384,null,0,EP.s,[EP.r],null,null),fP._17(83,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,68,{options:1}),fP._38(603979776,69,{optionGroups:1}),fP._38(335544320,70,{customTrigger:0}),fP._37(2048,[[61,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,91)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,91)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(91,8437760,[[68,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ne)),fP._17(95,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,We)),fP._17(100,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"property_type");l(n,23,0,"Property Type");l(n,35,0,e.m_propertyType);l(n,40,0,1==n.context.$implicit.get("property_type").value);l(n,43,0,""!=n.context.$implicit.get("property_type").value);l(n,46,0,""!=n.context.$implicit.get("property_type").value);l(n,62,0,"area_covered_by_this_property");l(n,65,0,"Area Covered","number");l(n,80,0,"uom_of_the_property");l(n,83,0,"Unit of Measurement");l(n,95,0,e.m_uom_type);l(n,100,0,1==n.context.$implicit.get("uom_of_the_property").value)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,48,1,[fP._32(n,49)._control.errorState,fP._32(n,49)._control.errorState,fP._32(n,49)._canLabelFloat,fP._32(n,49)._shouldLabelFloat(),fP._32(n,49)._hideControlPlaceholder(),fP._32(n,49)._control.disabled,fP._32(n,49)._control.focused,"primary"==fP._32(n,49).color,"accent"==fP._32(n,49).color,"warn"==fP._32(n,49).color,fP._32(n,49)._shouldForward("untouched"),fP._32(n,49)._shouldForward("touched"),fP._32(n,49)._shouldForward("pristine"),fP._32(n,49)._shouldForward("dirty"),fP._32(n,49)._shouldForward("valid"),fP._32(n,49)._shouldForward("invalid"),fP._32(n,49)._shouldForward("pending")]);l(n,58,1,[fP._32(n,64).ngClassUntouched,fP._32(n,64).ngClassTouched,fP._32(n,64).ngClassPristine,fP._32(n,64).ngClassDirty,fP._32(n,64).ngClassValid,fP._32(n,64).ngClassInvalid,fP._32(n,64).ngClassPending,fP._32(n,65)._isServer,fP._32(n,65).id,fP._32(n,65).placeholder,fP._32(n,65).disabled,fP._32(n,65).required,fP._32(n,65).readonly,fP._32(n,65)._ariaDescribedby||null,fP._32(n,65).errorState,fP._32(n,65).required.toString()]);l(n,69,1,[fP._32(n,70)._control.errorState,fP._32(n,70)._control.errorState,fP._32(n,70)._canLabelFloat,fP._32(n,70)._shouldLabelFloat(),fP._32(n,70)._hideControlPlaceholder(),fP._32(n,70)._control.disabled,fP._32(n,70)._control.focused,"primary"==fP._32(n,70).color,"accent"==fP._32(n,70).color,"warn"==fP._32(n,70).color,fP._32(n,70)._shouldForward("untouched"),fP._32(n,70)._shouldForward("touched"),fP._32(n,70)._shouldForward("pristine"),fP._32(n,70)._shouldForward("dirty"),fP._32(n,70)._shouldForward("valid"),fP._32(n,70)._shouldForward("invalid"),fP._32(n,70)._shouldForward("pending")]);l(n,79,1,[fP._32(n,82).ngClassUntouched,fP._32(n,82).ngClassTouched,fP._32(n,82).ngClassPristine,fP._32(n,82).ngClassDirty,fP._32(n,82).ngClassValid,fP._32(n,82).ngClassInvalid,fP._32(n,82).ngClassPending,fP._32(n,83).id,fP._32(n,83).tabIndex,fP._32(n,83)._ariaLabel,fP._32(n,83).ariaLabelledby,fP._32(n,83).required.toString(),fP._32(n,83).disabled.toString(),fP._32(n,83).errorState,fP._32(n,83).panelOpen?fP._32(n,83)._optionIds:null,fP._32(n,83).multiple,fP._32(n,83)._ariaDescribedby||null,fP._32(n,83)._getAriaActiveDescendant(),fP._32(n,83).disabled,fP._32(n,83).errorState,fP._32(n,83).required]);l(n,90,0,fP._32(n,91)._getTabIndex(),fP._32(n,91).selected,fP._32(n,91).multiple,fP._32(n,91).active,fP._32(n,91).id,fP._32(n,91).selected.toString(),fP._32(n,91).disabled.toString(),fP._32(n,91).disabled)})}function je(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ee)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function $e(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function Be(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,88,{_control:0}),fP._38(335544320,89,{_placeholderChild:0}),fP._38(335544320,90,{_labelChild:0}),fP._38(603979776,91,{_errorChildren:1}),fP._38(603979776,92,{_hintChildren:1}),fP._38(603979776,93,{_prefixChildren:1}),fP._38(603979776,94,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_vehicle_type"],["matInput",""],["placeholder"," Specify Vehicle"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[88,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_vehicle_type");l(n,16,0," Specify Vehicle")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Re(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,64,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,61,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,55,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,78,{_control:0}),fP._38(335544320,79,{_placeholderChild:0}),fP._38(335544320,80,{_labelChild:0}),fP._38(603979776,81,{_errorChildren:1}),fP._38(603979776,82,{_hintChildren:1}),fP._38(603979776,83,{_prefixChildren:1}),fP._38(603979776,84,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","vehicle_type"],["placeholder","Type of Vehicle"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,85,{options:1}),fP._38(603979776,86,{optionGroups:1}),fP._38(335544320,87,{customTrigger:0}),fP._37(2048,[[78,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,$e)),fP._17(36,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Be)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(44,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,95,{_control:0}),fP._38(335544320,96,{_placeholderChild:0}),fP._38(335544320,97,{_labelChild:0}),fP._38(603979776,98,{_errorChildren:1}),fP._38(603979776,99,{_hintChildren:1}),fP._38(603979776,100,{_prefixChildren:1}),fP._38(603979776,101,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Description of Vehicle (example -Toyota Altis)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,59)._onInput()&&u}return u},null,null)),fP._17(54,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(56,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(58,16384,null,0,EP.s,[EP.r],null,null),fP._17(59,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[95,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"vehicle_type");l(n,23,0,"Type of Vehicle");l(n,36,0,e.m_vehicle_type);l(n,41,0,1==n.context.$implicit.get("vehicle_type").value);l(n,56,0,"manufacturer_model_vehicle");l(n,59,0,"Description of Vehicle (example -Toyota Altis)")},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,43,1,[fP._32(n,44)._control.errorState,fP._32(n,44)._control.errorState,fP._32(n,44)._canLabelFloat,fP._32(n,44)._shouldLabelFloat(),fP._32(n,44)._hideControlPlaceholder(),fP._32(n,44)._control.disabled,fP._32(n,44)._control.focused,"primary"==fP._32(n,44).color,"accent"==fP._32(n,44).color,"warn"==fP._32(n,44).color,fP._32(n,44)._shouldForward("untouched"),fP._32(n,44)._shouldForward("touched"),fP._32(n,44)._shouldForward("pristine"),fP._32(n,44)._shouldForward("dirty"),fP._32(n,44)._shouldForward("valid"),fP._32(n,44)._shouldForward("invalid"),fP._32(n,44)._shouldForward("pending")]);l(n,53,1,[fP._32(n,58).ngClassUntouched,fP._32(n,58).ngClassTouched,fP._32(n,58).ngClassPristine,fP._32(n,58).ngClassDirty,fP._32(n,58).ngClassValid,fP._32(n,58).ngClassInvalid,fP._32(n,58).ngClassPending,fP._32(n,59)._isServer,fP._32(n,59).id,fP._32(n,59).placeholder,fP._32(n,59).disabled,fP._32(n,59).required,fP._32(n,59).readonly,fP._32(n,59)._ariaDescribedby||null,fP._32(n,59).errorState,fP._32(n,59).required.toString()])})}function Ue(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Re)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function Me(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,21,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,102,{_control:0}),fP._38(335544320,103,{_placeholderChild:0}),fP._38(335544320,104,{_labelChild:0}),fP._38(603979776,105,{_errorChildren:1}),fP._38(603979776,106,{_hintChildren:1}),fP._38(603979776,107,{_prefixChildren:1}),fP._38(603979776,108,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","equipment_manufacturing_description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[102,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"equipment_manufacturing_description");l(n,25,0,"Description")},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()])})}function Ke(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Me)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function He(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[113,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.PremiumPaidInwords[n.parent.context.index])})}function Ge(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[123,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ze(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,126,{_control:0}),fP._38(335544320,127,{_placeholderChild:0}),fP._38(335544320,128,{_labelChild:0}),fP._38(603979776,129,{_errorChildren:1}),fP._38(603979776,130,{_hintChildren:1}),fP._38(603979776,131,{_prefixChildren:1}),fP._38(603979776,132,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequency_mode"],["matInput",""],["placeholder","Specify Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[126,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequency_mode");l(n,16,0,"Specify Frequency")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ye(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[137,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.SumAssuredInwords[n.parent.context.index])})}function Qe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,127,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,124,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,66,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(9,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,109,{_control:0}),fP._38(335544320,110,{_placeholderChild:0}),fP._38(335544320,111,{_labelChild:0}),fP._38(603979776,112,{_errorChildren:1}),fP._38(603979776,113,{_hintChildren:1}),fP._38(603979776,114,{_prefixChildren:1}),fP._38(603979776,115,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","premium_paid"],["matInput",""],["placeholder","Premium Paid"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,22)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,22)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,22)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,27)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),fP._17(22,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(24,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(26,16384,null,0,EP.s,[EP.r],null,null),fP._17(27,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[109,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,He)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,31,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,116,{_control:0}),fP._38(335544320,117,{_placeholderChild:0}),fP._38(335544320,118,{_labelChild:0}),fP._38(603979776,119,{_errorChildren:1}),fP._38(603979776,120,{_hintChildren:1}),fP._38(603979776,121,{_prefixChildren:1}),fP._38(603979776,122,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","frequency_mode"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,51)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,51)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,51)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(48,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(50,16384,null,0,EP.s,[EP.r],null,null),fP._17(51,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,123,{options:1}),fP._38(603979776,124,{optionGroups:1}),fP._38(335544320,125,{customTrigger:0}),fP._37(2048,[[116,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,59)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(59,8437760,[[123,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ge)),fP._17(63,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(68,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ze)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(75,0,null,null,50,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,133,{_control:0}),fP._38(335544320,134,{_placeholderChild:0}),fP._38(335544320,135,{_labelChild:0}),fP._38(603979776,136,{_errorChildren:1}),fP._38(603979776,137,{_hintChildren:1}),fP._38(603979776,138,{_prefixChildren:1}),fP._38(603979776,139,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sum_assured"],["matInput",""],["placeholder","Sum Assured"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,90)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,90).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,90)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,90)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,95)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,2)&&u}return u},null,null)),fP._17(90,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(92,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(94,16384,null,0,EP.s,[EP.r],null,null),fP._17(95,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[133,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Ye)),fP._17(99,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(103,0,null,null,21,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(105,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(106,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,140,{_control:0}),fP._38(335544320,141,{_placeholderChild:0}),fP._38(335544320,142,{_labelChild:0}),fP._38(603979776,143,{_errorChildren:1}),fP._38(603979776,144,{_hintChildren:1}),fP._38(603979776,145,{_prefixChildren:1}),fP._38(603979776,146,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(115,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","members_coverd"],["matInput",""],["placeholder","Members Covered"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,116)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,116).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,116)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,116)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,121)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,121)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,121)._onInput()&&u}return u},null,null)),fP._17(116,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(118,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(120,16384,null,0,EP.s,[EP.r],null,null),fP._17(121,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[140,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,24,0,"premium_paid");l(n,27,0,"Premium Paid");l(n,31,0,""!=n.context.$implicit.get("premium_paid").value);l(n,48,0,"frequency_mode");l(n,51,0,"Frequency");l(n,63,0,e.m_freqOfPurchase);l(n,71,0,1==n.context.$implicit.get("frequency_mode").value);l(n,92,0,"sum_assured");l(n,95,0,"Sum Assured");l(n,99,0,""!=n.context.$implicit.get("sum_assured").value);l(n,118,0,"members_coverd");l(n,121,0,"Members Covered")},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending,fP._32(n,27)._isServer,fP._32(n,27).id,fP._32(n,27).placeholder,fP._32(n,27).disabled,fP._32(n,27).required,fP._32(n,27).readonly,fP._32(n,27)._ariaDescribedby||null,fP._32(n,27).errorState,fP._32(n,27).required.toString()]);l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,1,[fP._32(n,50).ngClassUntouched,fP._32(n,50).ngClassTouched,fP._32(n,50).ngClassPristine,fP._32(n,50).ngClassDirty,fP._32(n,50).ngClassValid,fP._32(n,50).ngClassInvalid,fP._32(n,50).ngClassPending,fP._32(n,51).id,fP._32(n,51).tabIndex,fP._32(n,51)._ariaLabel,fP._32(n,51).ariaLabelledby,fP._32(n,51).required.toString(),fP._32(n,51).disabled.toString(),fP._32(n,51).errorState,fP._32(n,51).panelOpen?fP._32(n,51)._optionIds:null,fP._32(n,51).multiple,fP._32(n,51)._ariaDescribedby||null,fP._32(n,51)._getAriaActiveDescendant(),fP._32(n,51).disabled,fP._32(n,51).errorState,fP._32(n,51).required]);l(n,58,0,fP._32(n,59)._getTabIndex(),fP._32(n,59).selected,fP._32(n,59).multiple,fP._32(n,59).active,fP._32(n,59).id,fP._32(n,59).selected.toString(),fP._32(n,59).disabled.toString(),fP._32(n,59).disabled);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,89,1,[fP._32(n,94).ngClassUntouched,fP._32(n,94).ngClassTouched,fP._32(n,94).ngClassPristine,fP._32(n,94).ngClassDirty,fP._32(n,94).ngClassValid,fP._32(n,94).ngClassInvalid,fP._32(n,94).ngClassPending,fP._32(n,95)._isServer,fP._32(n,95).id,fP._32(n,95).placeholder,fP._32(n,95).disabled,fP._32(n,95).required,fP._32(n,95).readonly,fP._32(n,95)._ariaDescribedby||null,fP._32(n,95).errorState,fP._32(n,95).required.toString()]);l(n,105,1,[fP._32(n,106)._control.errorState,fP._32(n,106)._control.errorState,fP._32(n,106)._canLabelFloat,fP._32(n,106)._shouldLabelFloat(),fP._32(n,106)._hideControlPlaceholder(),fP._32(n,106)._control.disabled,fP._32(n,106)._control.focused,"primary"==fP._32(n,106).color,"accent"==fP._32(n,106).color,"warn"==fP._32(n,106).color,fP._32(n,106)._shouldForward("untouched"),fP._32(n,106)._shouldForward("touched"),fP._32(n,106)._shouldForward("pristine"),fP._32(n,106)._shouldForward("dirty"),fP._32(n,106)._shouldForward("valid"),fP._32(n,106)._shouldForward("invalid"),fP._32(n,106)._shouldForward("pending")]);l(n,115,1,[fP._32(n,120).ngClassUntouched,fP._32(n,120).ngClassTouched,fP._32(n,120).ngClassPristine,fP._32(n,120).ngClassDirty,fP._32(n,120).ngClassValid,fP._32(n,120).ngClassInvalid,fP._32(n,120).ngClassPending,fP._32(n,121)._isServer,fP._32(n,121).id,fP._32(n,121).placeholder,fP._32(n,121).disabled,fP._32(n,121).required,fP._32(n,121).readonly,fP._32(n,121)._ariaDescribedby||null,fP._32(n,121).errorState,fP._32(n,121).required.toString()])})}function Je(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"div",[["fxFill",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qe)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function Xe(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[154,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ze(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,157,{_control:0}),fP._38(335544320,158,{_placeholderChild:0}),fP._38(335544320,159,{_labelChild:0}),fP._38(603979776,160,{_errorChildren:1}),fP._38(603979776,161,{_hintChildren:1}),fP._38(603979776,162,{_prefixChildren:1}),fP._38(603979776,163,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_investments_type"],["matInput",""],["placeholder","Specify Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[157,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_investments_type");l(n,16,0,"Specify Type")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function lu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,164,{_control:0}),fP._38(335544320,165,{_placeholderChild:0}),fP._38(335544320,166,{_labelChild:0}),fP._38(603979776,167,{_errorChildren:1}),fP._38(603979776,168,{_hintChildren:1}),fP._38(603979776,169,{_prefixChildren:1}),fP._38(603979776,170,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","in_which_organisation"],["matInput",""],["placeholder","Name of organisation in which investment done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[164,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"in_which_organisation");l(n,16,0,"Name of organisation in which investment done")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function nu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[175,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AmtInvestInwords[n.parent.context.index])})}function eu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,178,{_control:0}),fP._38(335544320,179,{_placeholderChild:0}),fP._38(335544320,180,{_labelChild:0}),fP._38(603979776,181,{_errorChildren:1}),fP._38(603979776,182,{_hintChildren:1}),fP._38(603979776,183,{_prefixChildren:1}),fP._38(603979776,184,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bank_name"],["matInput",""],["placeholder","Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[178,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"bank_name");l(n,16,0,"Bank Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function uu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,81,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,78,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,72,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,34,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,147,{_control:0}),fP._38(335544320,148,{_placeholderChild:0}),fP._38(335544320,149,{_labelChild:0}),fP._38(603979776,150,{_errorChildren:1}),fP._38(603979776,151,{_hintChildren:1}),fP._38(603979776,152,{_prefixChildren:1}),fP._38(603979776,153,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","investments_type"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,25)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,154,{options:1}),fP._38(603979776,155,{optionGroups:1}),fP._38(335544320,156,{customTrigger:0}),fP._37(2048,[[147,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[154,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Xe)),fP._17(37,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ze)),fP._17(42,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lu)),fP._17(46,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(51,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,171,{_control:0}),fP._38(335544320,172,{_placeholderChild:0}),fP._38(335544320,173,{_labelChild:0}),fP._38(603979776,174,{_errorChildren:1}),fP._38(603979776,175,{_hintChildren:1}),fP._38(603979776,176,{_prefixChildren:1}),fP._38(603979776,177,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(60,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_of_invest"],["matInput",""],["placeholder","Current Market Value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,66)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,3)&&u}return u},null,null)),fP._17(61,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(63,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(65,16384,null,0,EP.s,[EP.r],null,null),fP._17(66,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[171,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,nu)),fP._17(70,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eu)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,22,0,"investments_type");l(n,25,0,"Type");l(n,37,0,e.m_investmentType);l(n,42,0,1==n.context.$implicit.get("investments_type").value);l(n,46,0,6==n.context.$implicit.get("investments_type").value||5==n.context.$implicit.get("investments_type").value||4==n.context.$implicit.get("investments_type").value);l(n,63,0,"amount_of_invest");l(n,66,0,"Current Market Value");l(n,70,0,""!=n.context.$implicit.get("amount_of_invest").value);l(n,77,0,1==n.context.$implicit.get("investments_type").value||2==n.context.$implicit.get("investments_type").value||3==n.context.$implicit.get("investments_type").value)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25).id,fP._32(n,25).tabIndex,fP._32(n,25)._ariaLabel,fP._32(n,25).ariaLabelledby,fP._32(n,25).required.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).errorState,fP._32(n,25).panelOpen?fP._32(n,25)._optionIds:null,fP._32(n,25).multiple,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25)._getAriaActiveDescendant(),fP._32(n,25).disabled,fP._32(n,25).errorState,fP._32(n,25).required]);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,50,1,[fP._32(n,51)._control.errorState,fP._32(n,51)._control.errorState,fP._32(n,51)._canLabelFloat,fP._32(n,51)._shouldLabelFloat(),fP._32(n,51)._hideControlPlaceholder(),fP._32(n,51)._control.disabled,fP._32(n,51)._control.focused,"primary"==fP._32(n,51).color,"accent"==fP._32(n,51).color,"warn"==fP._32(n,51).color,fP._32(n,51)._shouldForward("untouched"),fP._32(n,51)._shouldForward("touched"),fP._32(n,51)._shouldForward("pristine"),fP._32(n,51)._shouldForward("dirty"),fP._32(n,51)._shouldForward("valid"),fP._32(n,51)._shouldForward("invalid"),fP._32(n,51)._shouldForward("pending")]);l(n,60,1,[fP._32(n,65).ngClassUntouched,fP._32(n,65).ngClassTouched,fP._32(n,65).ngClassPristine,fP._32(n,65).ngClassDirty,fP._32(n,65).ngClassValid,fP._32(n,65).ngClassInvalid,fP._32(n,65).ngClassPending,fP._32(n,66)._isServer,fP._32(n,66).id,fP._32(n,66).placeholder,fP._32(n,66).disabled,fP._32(n,66).required,fP._32(n,66).readonly,fP._32(n,66)._ariaDescribedby||null,fP._32(n,66).errorState,fP._32(n,66).required.toString()])})}function tu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,uu)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function au(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[189,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.ApproxInwords[n.parent.parent.context.index])})}function iu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,25,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(5,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,185,{_control:0}),fP._38(335544320,186,{_placeholderChild:0}),fP._38(335544320,187,{_labelChild:0}),fP._38(603979776,188,{_errorChildren:1}),fP._38(603979776,189,{_hintChildren:1}),fP._38(603979776,190,{_prefixChildren:1}),fP._38(603979776,191,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,4)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[185,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,au)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,18,0,"approximate_market_value");l(n,21,0,"Approximate Market Value","number");l(n,25,0,""!=n.parent.context.$implicit.get("approximate_market_value").value)},function(l,n){l(n,4,1,[fP._32(n,5)._control.errorState,fP._32(n,5)._control.errorState,fP._32(n,5)._canLabelFloat,fP._32(n,5)._shouldLabelFloat(),fP._32(n,5)._hideControlPlaceholder(),fP._32(n,5)._control.disabled,fP._32(n,5)._control.focused,"primary"==fP._32(n,5).color,"accent"==fP._32(n,5).color,"warn"==fP._32(n,5).color,fP._32(n,5)._shouldForward("untouched"),fP._32(n,5)._shouldForward("touched"),fP._32(n,5)._shouldForward("pristine"),fP._32(n,5)._shouldForward("dirty"),fP._32(n,5)._shouldForward("valid"),fP._32(n,5)._shouldForward("invalid"),fP._32(n,5)._shouldForward("pending")]);l(n,14,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function ou(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[199,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function ru(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[200,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,ou)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function _u(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,192,{_control:0}),fP._38(335544320,193,{_placeholderChild:0}),fP._38(335544320,194,{_labelChild:0}),fP._38(603979776,195,{_errorChildren:1}),fP._38(603979776,196,{_hintChildren:1}),fP._38(603979776,197,{_prefixChildren:1}),fP._38(603979776,198,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","name_of_the_owner"],["multiple",""],["placeholder","Name of the Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,15)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.index,"",4)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(12,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(14,16384,null,0,EP.s,[EP.r],null,null),fP._17(15,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,199,{options:1}),fP._38(603979776,200,{optionGroups:1}),fP._38(335544320,201,{customTrigger:0}),fP._37(2048,[[192,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ru)),fP._17(22,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"name_of_the_owner");l(n,15,0,"Name of the Owner","",e.compareObjects);l(n,22,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending,fP._32(n,15).id,fP._32(n,15).tabIndex,fP._32(n,15)._ariaLabel,fP._32(n,15).ariaLabelledby,fP._32(n,15).required.toString(),fP._32(n,15).disabled.toString(),fP._32(n,15).errorState,fP._32(n,15).panelOpen?fP._32(n,15)._optionIds:null,fP._32(n,15).multiple,fP._32(n,15)._ariaDescribedby||null,fP._32(n,15)._getAriaActiveDescendant(),fP._32(n,15).disabled,fP._32(n,15).errorState,fP._32(n,15).required])})}function du(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,202,{_control:0}),fP._38(335544320,203,{_placeholderChild:0}),fP._38(335544320,204,{_labelChild:0}),fP._38(603979776,205,{_errorChildren:1}),fP._38(603979776,206,{_hintChildren:1}),fP._38(603979776,207,{_prefixChildren:1}),fP._38(603979776,208,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","applicant_free_text mat-input-element mat-form-field-autofill-control"],["formControlName","other_owner"],["matInput",""],["placeholder","Specify Owner Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[202,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_owner");l(n,16,0,"Specify Owner Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function su(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,209,{_control:0}),fP._38(335544320,210,{_placeholderChild:0}),fP._38(335544320,211,{_labelChild:0}),fP._38(603979776,212,{_errorChildren:1}),fP._38(603979776,213,{_hintChildren:1}),fP._38(603979776,214,{_prefixChildren:1}),fP._38(603979776,215,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(13,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(14,16384,[[211,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Age of Asset in Years"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_personal"],["matInput",""],["maxlength","2"],["minlength","1"],["placeholder","eg.99"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,26)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,26)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,26)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,3)&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(19,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(20,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(23,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(25,16384,null,0,EP.s,[EP.r],null,null),fP._17(26,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[209,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(31,0,null,null,25,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(33,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(34,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,216,{_control:0}),fP._38(335544320,217,{_placeholderChild:0}),fP._38(335544320,218,{_labelChild:0}),fP._38(603979776,219,{_errorChildren:1}),fP._38(603979776,220,{_hintChildren:1}),fP._38(603979776,221,{_prefixChildren:1}),fP._38(603979776,222,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(44,16384,[[218,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Purchase Year"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_year"],["matInput",""],["placeholder","YYYY eg.2018"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,53)._onInput()&&u}return u},null,null)),fP._17(48,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(50,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(52,16384,null,0,EP.s,[EP.r],null,null),fP._17(53,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[216,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,19,0,"1");l(n,20,0,"2");l(n,23,0,"vintage_personal");l(n,26,0,"eg.99","tel");l(n,50,0,"purchase_year");l(n,53,0,"YYYY eg.2018")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,17,1,[fP._32(n,19).minlength?fP._32(n,19).minlength:null,fP._32(n,20).maxlength?fP._32(n,20).maxlength:null,fP._32(n,25).ngClassUntouched,fP._32(n,25).ngClassTouched,fP._32(n,25).ngClassPristine,fP._32(n,25).ngClassDirty,fP._32(n,25).ngClassValid,fP._32(n,25).ngClassInvalid,fP._32(n,25).ngClassPending,fP._32(n,26)._isServer,fP._32(n,26).id,fP._32(n,26).placeholder,fP._32(n,26).disabled,fP._32(n,26).required,fP._32(n,26).readonly,fP._32(n,26)._ariaDescribedby||null,fP._32(n,26).errorState,fP._32(n,26).required.toString()]);l(n,33,1,[fP._32(n,34)._control.errorState,fP._32(n,34)._control.errorState,fP._32(n,34)._canLabelFloat,fP._32(n,34)._shouldLabelFloat(),fP._32(n,34)._hideControlPlaceholder(),fP._32(n,34)._control.disabled,fP._32(n,34)._control.focused,"primary"==fP._32(n,34).color,"accent"==fP._32(n,34).color,"warn"==fP._32(n,34).color,fP._32(n,34)._shouldForward("untouched"),fP._32(n,34)._shouldForward("touched"),fP._32(n,34)._shouldForward("pristine"),fP._32(n,34)._shouldForward("dirty"),fP._32(n,34)._shouldForward("valid"),fP._32(n,34)._shouldForward("invalid"),fP._32(n,34)._shouldForward("pending")]);l(n,47,1,[fP._32(n,52).ngClassUntouched,fP._32(n,52).ngClassTouched,fP._32(n,52).ngClassPristine,fP._32(n,52).ngClassDirty,fP._32(n,52).ngClassValid,fP._32(n,52).ngClassInvalid,fP._32(n,52).ngClassPending,fP._32(n,53)._isServer,fP._32(n,53).id,fP._32(n,53).placeholder,fP._32(n,53).disabled,fP._32(n,53).required,fP._32(n,53).readonly,fP._32(n,53)._ariaDescribedby||null,fP._32(n,53).errorState,fP._32(n,53).required.toString()])})}function cu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addAsset(1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function mu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,154,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,151,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Asset Details # ",""])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,144,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(9,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,140,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(12,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(14,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,31,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","5px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(19,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,6,{_control:0}),fP._38(335544320,7,{_placeholderChild:0}),fP._38(335544320,8,{_labelChild:0}),fP._38(603979776,9,{_errorChildren:1}),fP._38(603979776,10,{_hintChildren:1}),fP._38(603979776,11,{_prefixChildren:1}),fP._38(603979776,12,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","assets_mode"],["placeholder","Assets Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,32)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,32)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAssetsType(e,l.context.index,1)&&u}return u},tN.b,tN.a)),fP._17(29,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(31,16384,null,0,EP.s,[EP.r],null,null),fP._17(32,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,13,{options:1}),fP._38(603979776,14,{optionGroups:1}),fP._38(335544320,15,{customTrigger:0}),fP._37(2048,[[6,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(40,8437760,[[13,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Pe)),fP._17(44,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,28,"div",[["formArrayName","details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(51,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(53,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Te)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,je)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ue)),fP._17(65,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ke)),fP._17(69,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Je)),fP._17(73,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tu)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n \n "])),(l()(),fP._18(81,0,null,null,5,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,iu)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,_u)),fP._17(91,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,du)),fP._17(94,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,su)),fP._17(100,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n \n "])),(l()(),fP._40(-1,null,[" \n \n \n "])),(l()(),fP._18(103,0,null,null,22,"mat-list",[["class","mat-list"]],null,null,null,SV.d,SV.a)),fP._17(104,49152,null,0,IV.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(106,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Is there a Loan Existing Against this Assets?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(109,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(110,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,223,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(113,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(115,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(117,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,118)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(118,4440064,[[223,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["YES"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(121,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,122)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(122,4440064,[[223,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NO"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(127,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(130,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(131,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,224,{_buttons:1}),(l()(),fP._40(-1,null,[" \n \n "])),(l()(),fP._18(134,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(135,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(137,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteAsset(l.context.index,1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(139,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(140,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(144,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(145,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cu)),fP._17(148,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,n.context.index);l(n,29,0,"assets_mode");l(n,32,0,"Assets Type");l(n,44,0,e.m_assets_type);l(n,51,0,"details");l(n,57,0,1==n.context.$implicit.get("assets_mode").value);l(n,61,0,2==n.context.$implicit.get("assets_mode").value);l(n,65,0,3==n.context.$implicit.get("assets_mode").value);l(n,69,0,4==n.context.$implicit.get("assets_mode").value);l(n,73,0,6==n.context.$implicit.get("assets_mode").value);l(n,77,0,7==n.context.$implicit.get("assets_mode").value);l(n,85,0,1==n.context.$implicit.get("assets_mode").value||2==n.context.$implicit.get("assets_mode").value||3==n.context.$implicit.get("assets_mode").value||4==n.context.$implicit.get("assets_mode").value||5==n.context.$implicit.get("assets_mode").value);l(n,91,0,""!=n.context.$implicit.get("assets_mode").value);l(n,94,0,e.isOtherOwner[n.context.index]);l(n,100,0,1==n.context.$implicit.get("assets_mode").value||2==n.context.$implicit.get("assets_mode").value||3==n.context.$implicit.get("assets_mode").value);l(n,113,0,"emi");l(n,118,0,"yes");l(n,122,0,"no");l(n,140,0,"optblue","md-trash");l(n,148,0,n.context.last)},function(l,n){l(n,6,0,n.context.index+1);l(n,11,0,fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending);l(n,18,1,[fP._32(n,19)._control.errorState,fP._32(n,19)._control.errorState,fP._32(n,19)._canLabelFloat,fP._32(n,19)._shouldLabelFloat(),fP._32(n,19)._hideControlPlaceholder(),fP._32(n,19)._control.disabled,fP._32(n,19)._control.focused,"primary"==fP._32(n,19).color,"accent"==fP._32(n,19).color,"warn"==fP._32(n,19).color,fP._32(n,19)._shouldForward("untouched"),fP._32(n,19)._shouldForward("touched"),fP._32(n,19)._shouldForward("pristine"),fP._32(n,19)._shouldForward("dirty"),fP._32(n,19)._shouldForward("valid"),fP._32(n,19)._shouldForward("invalid"),fP._32(n,19)._shouldForward("pending")]);l(n,28,1,[fP._32(n,31).ngClassUntouched,fP._32(n,31).ngClassTouched,fP._32(n,31).ngClassPristine,fP._32(n,31).ngClassDirty,fP._32(n,31).ngClassValid,fP._32(n,31).ngClassInvalid,fP._32(n,31).ngClassPending,fP._32(n,32).id,fP._32(n,32).tabIndex,fP._32(n,32)._ariaLabel,fP._32(n,32).ariaLabelledby,fP._32(n,32).required.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).errorState,fP._32(n,32).panelOpen?fP._32(n,32)._optionIds:null,fP._32(n,32).multiple,fP._32(n,32)._ariaDescribedby||null,fP._32(n,32)._getAriaActiveDescendant(),fP._32(n,32).disabled,fP._32(n,32).errorState,fP._32(n,32).required]);l(n,39,0,fP._32(n,40)._getTabIndex(),fP._32(n,40).selected,fP._32(n,40).multiple,fP._32(n,40).active,fP._32(n,40).id,fP._32(n,40).selected.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).disabled);l(n,50,0,fP._32(n,53).ngClassUntouched,fP._32(n,53).ngClassTouched,fP._32(n,53).ngClassPristine,fP._32(n,53).ngClassDirty,fP._32(n,53).ngClassValid,fP._32(n,53).ngClassInvalid,fP._32(n,53).ngClassPending);l(n,109,0,fP._32(n,115).ngClassUntouched,fP._32(n,115).ngClassTouched,fP._32(n,115).ngClassPristine,fP._32(n,115).ngClassDirty,fP._32(n,115).ngClassValid,fP._32(n,115).ngClassInvalid,fP._32(n,115).ngClassPending);l(n,117,0,fP._32(n,118).checked,fP._32(n,118).disabled,fP._32(n,118).id);l(n,121,0,fP._32(n,122).checked,fP._32(n,122).disabled,fP._32(n,122).id);l(n,139,0,fP._32(n,140)._hidden)})}function pu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,10,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,7,"div",[["formArrayName","assets_details"],["fxFill",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(11,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(13,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mu)),fP._17(16,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(21,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(23,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,225,{_control:0}),fP._38(335544320,226,{_placeholderChild:0}),fP._38(335544320,227,{_labelChild:0}),fP._38(603979776,228,{_errorChildren:1}),fP._38(603979776,229,{_hintChildren:1}),fP._38(603979776,230,{_prefixChildren:1}),fP._38(603979776,231,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(34,16384,[[227,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","assets_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[225,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(49,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.AssetsDetailsForm);l(n,11,0,"assets_details");l(n,16,0,e.AssetsDetailsForm.controls.assets_details.controls);l(n,40,0,"assets_form_remark");l(n,43,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,10,0,fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,37,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()])})}function fu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function hu(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._38(671088640,1,{inputFocus:0}),fP._38(671088640,2,{content:0}),(l()(),fP._18(3,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(4,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(7,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,11).toggle()&&u}return u},aV.b,aV.a)),fP._17(10,1097728,[[3,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(11,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(12,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,fe)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(22,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(23,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePhoto()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(29,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(30,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,he)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(39,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,5,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,46).onClick()&&u}return u},dV.b,dV.a)),fP._17(46,114688,[[5,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,50).onClick()&&u}return u},dV.b,dV.a)),fP._17(50,114688,[[5,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(55,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(56,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(58,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(59,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qe)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,pu)),fP._17(65,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(70,0,null,null,5,"ion-footer",[],null,null,null,null,null)),fP._17(71,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fu)),fP._17(74,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,30,0,"md-camera");l(n,34,0,!e.complete_status);l(n,39,0,e.tab);l(n,42,0,"optblue");l(n,46,0,"0");l(n,50,0,"1");l(n,59,0,e.tab);l(n,62,0,"1");l(n,65,0,"0");l(n,74,0,!e.complete_status)},function(l,n){l(n,6,0,fP._32(n,7)._hidden,fP._32(n,7)._sbPadding);l(n,9,0,fP._32(n,11).isHidden);l(n,15,0,fP._32(n,16)._hidden);l(n,29,0,fP._32(n,30)._hidden);l(n,38,0,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._disabled);l(n,45,0,fP._32(n,46)._disabled,fP._32(n,46).isActive,fP._32(n,46).isActive);l(n,49,0,fP._32(n,50)._disabled,fP._32(n,50).isActive,fP._32(n,50).isActive);l(n,55,0,fP._32(n,56).statusbarPadding,fP._32(n,56)._hasRefresher)})}function gu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function bu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdBank(t.bankDetails.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function vu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function yu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Cu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function wu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Fu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yu)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Cu)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wu)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function xu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fu)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function ku(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Su(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Iu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ku)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Su)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function qu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Iu)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Pu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Du(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vu)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,xu)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,qu)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Pu)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Tu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,[""," "])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Ou(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[12,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Tu)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Lu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,14,{_control:0}),fP._38(335544320,15,{_placeholderChild:0}),fP._38(335544320,16,{_labelChild:0}),fP._38(603979776,17,{_errorChildren:1}),fP._38(603979776,18,{_hintChildren:1}),fP._38(603979776,19,{_prefixChildren:1}),fP._38(603979776,20,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_applicant"],["matInput",""],["name","other_applicant"],["placeholder","Specify Account Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[14,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Specify Account Name","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Au(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Vu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,32,{_control:0}),fP._38(335544320,33,{_placeholderChild:0}),fP._38(335544320,34,{_labelChild:0}),fP._38(603979776,35,{_errorChildren:1}),fP._38(603979776,36,{_hintChildren:1}),fP._38(603979776,37,{_prefixChildren:1}),fP._38(603979776,38,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bank"],["matInput",""],["placeholder","Specify Other Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[32,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bank");l(n,16,0,"Specify Other Bank Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Nu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[46,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,49,{_control:0}),fP._38(335544320,50,{_placeholderChild:0}),fP._38(335544320,51,{_labelChild:0}),fP._38(603979776,52,{_errorChildren:1}),fP._38(603979776,53,{_hintChildren:1}),fP._38(603979776,54,{_prefixChildren:1}),fP._38(603979776,55,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(10,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","salary"],["placeholder","Salary Credited in this account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,56,{options:1}),fP._38(603979776,57,{optionGroups:1}),fP._38(335544320,58,{customTrigger:0}),fP._37(2048,[[49,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","NA"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,34)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(34,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,26,0,"Yes");l(n,30,0,"No");l(n,34,0,"NA")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled);l(n,33,0,fP._32(n,34)._getTabIndex(),fP._32(n,34).selected,fP._32(n,34).multiple,fP._32(n,34).active,fP._32(n,34).id,fP._32(n,34).selected.toString(),fP._32(n,34).disabled.toString(),fP._32(n,34).disabled)})}function Eu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[63,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function ju(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(4,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["In case of OD / CC account, What is the Limit"])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(7,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(8,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,59,{_control:0}),fP._38(335544320,60,{_placeholderChild:0}),fP._38(335544320,61,{_labelChild:0}),fP._38(603979776,62,{_errorChildren:1}),fP._38(603979776,63,{_hintChildren:1}),fP._38(603979776,64,{_prefixChildren:1}),fP._38(603979776,65,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","limit"],["matInput",""],["name","limit"],["placeholder",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,19).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,19).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,19).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,24)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(19,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[59,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Eu)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,21,0,"limit");l(n,24,0,"","number");l(n,28,0,""!=n.parent.context.$implicit.get("limit").value)},function(l,n){l(n,7,1,[fP._32(n,8)._control.errorState,fP._32(n,8)._control.errorState,fP._32(n,8)._canLabelFloat,fP._32(n,8)._shouldLabelFloat(),fP._32(n,8)._hideControlPlaceholder(),fP._32(n,8)._control.disabled,fP._32(n,8)._control.focused,"primary"==fP._32(n,8).color,"accent"==fP._32(n,8).color,"warn"==fP._32(n,8).color,fP._32(n,8)._shouldForward("untouched"),fP._32(n,8)._shouldForward("touched"),fP._32(n,8)._shouldForward("pristine"),fP._32(n,8)._shouldForward("dirty"),fP._32(n,8)._shouldForward("valid"),fP._32(n,8)._shouldForward("invalid"),fP._32(n,8)._shouldForward("pending")]);l(n,17,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24)._isServer,fP._32(n,24).id,fP._32(n,24).placeholder,fP._32(n,24).disabled,fP._32(n,24).required,fP._32(n,24).readonly,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24).errorState,fP._32(n,24).required.toString()])})}function $u(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addmoreBankDetils()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Bu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,236,"div",[["formArrayName","bankitems"],["fxLayout","row"],["fxLayoutWrap","wrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,230,"div",[["class","column"],["fxFlex.lg","100"],["fxFlex.md","100"],["fxFlex.sm","100"],["fxFlex.xl","100"],["fxFlex.xs","100"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(7,0,null,null,227,"mat-card",[["class","box mat-card"]],null,null,null,LA.d,LA.a)),fP._17(8,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(10,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(14,null,["Banking Details ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,3,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),fP._17(17,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(22,0,null,0,211,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(23,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(25,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Account Holder's Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,44)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),fP._38(603979776,11,{options:1}),fP._38(603979776,12,{optionGroups:1}),fP._38(335544320,13,{customTrigger:0}),fP._37(2048,[[4,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ou)),fP._17(51,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lu)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,49,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(61,0,null,null,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(62,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(71,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","bank_name"],["placeholder","Bank Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,75)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,28,{options:1}),fP._38(603979776,29,{optionGroups:1}),fP._38(335544320,30,{customTrigger:0}),fP._37(2048,[[21,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(82,0,null,1,16,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,83)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,83)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(83,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(85,0,null,0,12,"ngx-mat-select-search",[["formControlName","filterCtrl"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit)&&u}return u},dN.b,dN.a)),fP._17(86,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,31,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(89,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(91,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(93,0,null,0,3,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(94,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(95,16384,[[31,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Au)),fP._17(105,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vu)),fP._17(111,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(113,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(115,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(116,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(125,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","Account Type "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,129)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,129)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,129)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(126,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(128,16384,null,0,EP.s,[EP.r],null,null),fP._17(129,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,46,{options:1}),fP._38(603979776,47,{optionGroups:1}),fP._38(335544320,48,{customTrigger:0}),fP._37(2048,[[39,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(136,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,137)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(137,8437760,[[46,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Nu)),fP._17(141,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n \n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(146,0,null,null,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wu)),fP._17(149,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ju)),fP._17(153,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(164,0,null,null,47,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(167,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Number of Years / Months since account was started"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(170,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(171,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,66,{_control:0}),fP._38(335544320,67,{_placeholderChild:0}),fP._38(335544320,68,{_labelChild:0}),fP._38(603979776,69,{_errorChildren:1}),fP._38(603979776,70,{_hintChildren:1}),fP._38(603979776,71,{_prefixChildren:1}),fP._38(603979776,72,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(180,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_year"],["matInput",""],["name","vintage"],["placeholder"," No of Years"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,181)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,181).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,181)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,181)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,182).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,182).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,182).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,187)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,187)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,187)._onInput()&&u}return u},null,null)),fP._17(181,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(182,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(184,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(186,16384,null,0,EP.s,[EP.r],null,null),fP._17(187,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[66,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["   \n "])),(l()(),fP._18(191,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(192,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,73,{_control:0}),fP._38(335544320,74,{_placeholderChild:0}),fP._38(335544320,75,{_labelChild:0}),fP._38(603979776,76,{_errorChildren:1}),fP._38(603979776,77,{_hintChildren:1}),fP._38(603979776,78,{_prefixChildren:1}),fP._38(603979776,79,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(201,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_month"],["matInput",""],["name","vintage"],["placeholder","No of Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,202)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,202).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,202)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,202)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,203).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,203).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,203).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,208)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,208)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,208)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),fP._17(202,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(203,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(205,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(207,16384,null,0,EP.s,[EP.r],null,null),fP._17(208,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[73,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(213,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(214,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,80,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(217,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(218,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(220,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removebank(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(222,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(223,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(226,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(227,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$u)),fP._17(230,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"bankitems");l(n,23,0,n.context.index);l(n,41,0,"applicant_name");l(n,44,0,"Account Holder's Name",e.compareObjects);l(n,51,0,e.mergeCompanyApplicant);l(n,57,0,1==e.checkOthers(n.context.$implicit.get("applicant_name").value));l(n,72,0,"bank_name");l(n,75,0,"Bank Name");l(n,86,0,"Search Bank by Name","No Matching Result");l(n,89,0,"filterCtrl");l(n,94,0,"md-close");l(n,105,0,e.m_btLenderListValue);l(n,111,0,1==n.context.$implicit.get("bank_name").value);l(n,126,0,"account_type");l(n,129,0,"Account Type ");l(n,141,0,e.accountType);l(n,149,0,e.salaryField);l(n,153,0,e.limitCaseFlag[n.context.index]);l(n,184,0,"vintage_year");l(n,187,0," No of Years","number");l(n,205,0,"vintage_month");l(n,208,0,"No of Months","number");l(n,223,0,"optblue","md-trash");l(n,230,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,14,0,n.context.index+1);l(n,22,0,fP._32(n,25).ngClassUntouched,fP._32(n,25).ngClassTouched,fP._32(n,25).ngClassPristine,fP._32(n,25).ngClassDirty,fP._32(n,25).ngClassValid,fP._32(n,25).ngClassInvalid,fP._32(n,25).ngClassPending);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44).id,fP._32(n,44).tabIndex,fP._32(n,44)._ariaLabel,fP._32(n,44).ariaLabelledby,fP._32(n,44).required.toString(),fP._32(n,44).disabled.toString(),fP._32(n,44).errorState,fP._32(n,44).panelOpen?fP._32(n,44)._optionIds:null,fP._32(n,44).multiple,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44)._getAriaActiveDescendant(),fP._32(n,44).disabled,fP._32(n,44).errorState,fP._32(n,44).required]);l(n,61,1,[fP._32(n,62)._control.errorState,fP._32(n,62)._control.errorState,fP._32(n,62)._canLabelFloat,fP._32(n,62)._shouldLabelFloat(),fP._32(n,62)._hideControlPlaceholder(),fP._32(n,62)._control.disabled,fP._32(n,62)._control.focused,"primary"==fP._32(n,62).color,"accent"==fP._32(n,62).color,"warn"==fP._32(n,62).color,fP._32(n,62)._shouldForward("untouched"),fP._32(n,62)._shouldForward("touched"),fP._32(n,62)._shouldForward("pristine"),fP._32(n,62)._shouldForward("dirty"),fP._32(n,62)._shouldForward("valid"),fP._32(n,62)._shouldForward("invalid"),fP._32(n,62)._shouldForward("pending")]);l(n,71,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75).id,fP._32(n,75).tabIndex,fP._32(n,75)._ariaLabel,fP._32(n,75).ariaLabelledby,fP._32(n,75).required.toString(),fP._32(n,75).disabled.toString(),fP._32(n,75).errorState,fP._32(n,75).panelOpen?fP._32(n,75)._optionIds:null,fP._32(n,75).multiple,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75)._getAriaActiveDescendant(),fP._32(n,75).disabled,fP._32(n,75).errorState,fP._32(n,75).required]);l(n,82,0,fP._32(n,83)._getTabIndex(),fP._32(n,83).selected,fP._32(n,83).multiple,fP._32(n,83).active,fP._32(n,83).id,fP._32(n,83).selected.toString(),fP._32(n,83).disabled.toString(),fP._32(n,83).disabled);l(n,85,0,fP._32(n,86).isInsideMatOption,fP._32(n,91).ngClassUntouched,fP._32(n,91).ngClassTouched,fP._32(n,91).ngClassPristine,fP._32(n,91).ngClassDirty,fP._32(n,91).ngClassValid,fP._32(n,91).ngClassInvalid,fP._32(n,91).ngClassPending);l(n,93,0,fP._32(n,94)._hidden);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,115,1,[fP._32(n,116)._control.errorState,fP._32(n,116)._control.errorState,fP._32(n,116)._canLabelFloat,fP._32(n,116)._shouldLabelFloat(),fP._32(n,116)._hideControlPlaceholder(),fP._32(n,116)._control.disabled,fP._32(n,116)._control.focused,"primary"==fP._32(n,116).color,"accent"==fP._32(n,116).color,"warn"==fP._32(n,116).color,fP._32(n,116)._shouldForward("untouched"),fP._32(n,116)._shouldForward("touched"),fP._32(n,116)._shouldForward("pristine"),fP._32(n,116)._shouldForward("dirty"),fP._32(n,116)._shouldForward("valid"),fP._32(n,116)._shouldForward("invalid"),fP._32(n,116)._shouldForward("pending")]);l(n,125,1,[fP._32(n,128).ngClassUntouched,fP._32(n,128).ngClassTouched,fP._32(n,128).ngClassPristine,fP._32(n,128).ngClassDirty,fP._32(n,128).ngClassValid,fP._32(n,128).ngClassInvalid,fP._32(n,128).ngClassPending,fP._32(n,129).id,fP._32(n,129).tabIndex,fP._32(n,129)._ariaLabel,fP._32(n,129).ariaLabelledby,fP._32(n,129).required.toString(),fP._32(n,129).disabled.toString(),fP._32(n,129).errorState,fP._32(n,129).panelOpen?fP._32(n,129)._optionIds:null,fP._32(n,129).multiple,fP._32(n,129)._ariaDescribedby||null,fP._32(n,129)._getAriaActiveDescendant(),fP._32(n,129).disabled,fP._32(n,129).errorState,fP._32(n,129).required]);l(n,136,0,fP._32(n,137)._getTabIndex(),fP._32(n,137).selected,fP._32(n,137).multiple,fP._32(n,137).active,fP._32(n,137).id,fP._32(n,137).selected.toString(),fP._32(n,137).disabled.toString(),fP._32(n,137).disabled);l(n,170,1,[fP._32(n,171)._control.errorState,fP._32(n,171)._control.errorState,fP._32(n,171)._canLabelFloat,fP._32(n,171)._shouldLabelFloat(),fP._32(n,171)._hideControlPlaceholder(),fP._32(n,171)._control.disabled,fP._32(n,171)._control.focused,"primary"==fP._32(n,171).color,"accent"==fP._32(n,171).color,"warn"==fP._32(n,171).color,fP._32(n,171)._shouldForward("untouched"),fP._32(n,171)._shouldForward("touched"),fP._32(n,171)._shouldForward("pristine"),fP._32(n,171)._shouldForward("dirty"),fP._32(n,171)._shouldForward("valid"),fP._32(n,171)._shouldForward("invalid"),fP._32(n,171)._shouldForward("pending")]);l(n,180,1,[fP._32(n,186).ngClassUntouched,fP._32(n,186).ngClassTouched,fP._32(n,186).ngClassPristine,fP._32(n,186).ngClassDirty,fP._32(n,186).ngClassValid,fP._32(n,186).ngClassInvalid,fP._32(n,186).ngClassPending,fP._32(n,187)._isServer,fP._32(n,187).id,fP._32(n,187).placeholder,fP._32(n,187).disabled,fP._32(n,187).required,fP._32(n,187).readonly,fP._32(n,187)._ariaDescribedby||null,fP._32(n,187).errorState,fP._32(n,187).required.toString()]);l(n,191,1,[fP._32(n,192)._control.errorState,fP._32(n,192)._control.errorState,fP._32(n,192)._canLabelFloat,fP._32(n,192)._shouldLabelFloat(),fP._32(n,192)._hideControlPlaceholder(),fP._32(n,192)._control.disabled,fP._32(n,192)._control.focused,"primary"==fP._32(n,192).color,"accent"==fP._32(n,192).color,"warn"==fP._32(n,192).color,fP._32(n,192)._shouldForward("untouched"),fP._32(n,192)._shouldForward("touched"),fP._32(n,192)._shouldForward("pristine"),fP._32(n,192)._shouldForward("dirty"),fP._32(n,192)._shouldForward("valid"),fP._32(n,192)._shouldForward("invalid"),fP._32(n,192)._shouldForward("pending")]);l(n,201,1,[fP._32(n,207).ngClassUntouched,fP._32(n,207).ngClassTouched,fP._32(n,207).ngClassPristine,fP._32(n,207).ngClassDirty,fP._32(n,207).ngClassValid,fP._32(n,207).ngClassInvalid,fP._32(n,207).ngClassPending,fP._32(n,208)._isServer,fP._32(n,208).id,fP._32(n,208).placeholder,fP._32(n,208).disabled,fP._32(n,208).required,fP._32(n,208).readonly,fP._32(n,208)._ariaDescribedby||null,fP._32(n,208).errorState,fP._32(n,208).required.toString()]);l(n,222,0,fP._32(n,223)._hidden)})}function Ru(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,38,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bu)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(10,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,81,{_control:0}),fP._38(335544320,82,{_placeholderChild:0}),fP._38(335544320,83,{_labelChild:0}),fP._38(603979776,84,{_errorChildren:1}),fP._38(603979776,85,{_hintChildren:1}),fP._38(603979776,86,{_prefixChildren:1}),fP._38(603979776,87,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[81,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(33,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(34,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.bankDetails);l(n,7,0,e.bankDetails.get("bankitems").controls);l(n,25,0,"banking_form_remark");l(n,28,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()])})}function Uu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],null,null)}function Mu(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,51,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,31,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,gu)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(21,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(22,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(28,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(29,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,bu)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(38,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(40,16384,null,0,EP.s,[EP.r],null,null),fP._17(41,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,45).onClick()&&u}return u},dV.b,dV.a)),fP._17(45,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49).onClick()&&u}return u},dV.b,dV.a)),fP._17(49,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(54,0,null,null,14,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(55,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,9,"div",[],null,null,null,null,null)),fP._17(58,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Du)),fP._17(61,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ru)),fP._17(65,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(70,0,null,null,5,"ion-footer",[],null,null,null,null,null)),fP._17(71,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._13(16777216,null,null,1,null,Uu)),fP._17(74,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,29,0,"md-camera");l(n,33,0,!e.complete_status);l(n,38,0,e.tab);l(n,41,0,"optblue");l(n,45,0,"0");l(n,49,0,"1");l(n,58,0,e.tab);l(n,61,0,"1");l(n,65,0,"0");l(n,74,0,!e.complete_status)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,28,0,fP._32(n,29)._hidden);l(n,37,0,fP._32(n,40).ngClassUntouched,fP._32(n,40).ngClassTouched,fP._32(n,40).ngClassPristine,fP._32(n,40).ngClassDirty,fP._32(n,40).ngClassValid,fP._32(n,40).ngClassInvalid,fP._32(n,40).ngClassPending,fP._32(n,41)._disabled);l(n,44,0,fP._32(n,45)._disabled,fP._32(n,45).isActive,fP._32(n,45).isActive);l(n,48,0,fP._32(n,49)._disabled,fP._32(n,49).isActive,fP._32(n,49).isActive);l(n,54,0,fP._32(n,55).statusbarPadding,fP._32(n,55)._hasRefresher)})}function Ku(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Hu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Gu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function zu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Yu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Qu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gu)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,zu)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yu)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Ju(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qu)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Xu(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Zu(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function lt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xu)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Zu)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function nt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lt)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function et(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function ut(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Hu)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ju)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,nt)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,et)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function tt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[25,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.existing_loan_type_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.loan_type_name)})}function at(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_loan_type"],["matInput",""],["placeholder","Specify Other Loan Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[28,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_loan_type");l(n,16,0,"Specify Other Loan Type")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function it(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[39,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.context.index])})}function ot(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[49,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function rt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_lender"],["matInput",""],["placeholder","Specify Lender"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[53,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_lender");l(n,16,0,"Specify Lender")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function _t(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[67,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function dt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[68,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,_t)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function st(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_loan_taken"],["matInput",""],["placeholder","Specify Borrower"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[70,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_loan_taken");l(n,16,0,"Specify Borrower")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function ct(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[84,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function mt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,87,{_control:0}),fP._38(335544320,88,{_placeholderChild:0}),fP._38(335544320,89,{_labelChild:0}),fP._38(603979776,90,{_errorChildren:1}),fP._38(603979776,91,{_hintChildren:1}),fP._38(603979776,92,{_prefixChildren:1}),fP._38(603979776,93,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequency"],["matInput",""],["placeholder","Specify Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[87,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequency");l(n,16,0,"Specify Frequency")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function pt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[98,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInwords[n.parent.parent.context.index])})}function ft(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,94,{_control:0}),fP._38(335544320,95,{_placeholderChild:0}),fP._38(335544320,96,{_labelChild:0}),fP._38(603979776,97,{_errorChildren:1}),fP._38(603979776,98,{_hintChildren:1}),fP._38(603979776,99,{_prefixChildren:1}),fP._38(603979776,100,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi"],["matInput",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,2)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(13,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[94,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,pt)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,16,0,"emi");l(n,19,0,""!=e.placeholderName[n.parent.context.index]?e.placeholderName[n.parent.context.index]:"Instalment Amount","","number");l(n,23,0,""!=n.parent.context.$implicit.get("emi").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).required?"":null,fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function ht(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[111,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Oringinal Tenure Less than Current Balance Tenure"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function gt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[118,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Oringinal Tenure Less than Elapsed Tenure"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function bt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addLoanDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function vt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,278,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Loan Details #"," ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,269,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(9,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,18,{_control:0}),fP._38(335544320,19,{_placeholderChild:0}),fP._38(335544320,20,{_labelChild:0}),fP._38(603979776,21,{_errorChildren:1}),fP._38(603979776,22,{_hintChildren:1}),fP._38(603979776,23,{_prefixChildren:1}),fP._38(603979776,24,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","loan_type"],["placeholder","Loan Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,25)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,25,{options:1}),fP._38(603979776,26,{optionGroups:1}),fP._38(335544320,27,{customTrigger:0}),fP._37(2048,[[18,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[25,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,tt)),fP._17(37,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,at)),fP._17(42,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(45,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,35,{_control:0}),fP._38(335544320,36,{_placeholderChild:0}),fP._38(335544320,37,{_labelChild:0}),fP._38(603979776,38,{_errorChildren:1}),fP._38(603979776,39,{_hintChildren:1}),fP._38(603979776,40,{_prefixChildren:1}),fP._38(603979776,41,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,61)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,1)&&u}return u},null,null)),fP._17(55,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(56,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(58,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(60,16384,null,0,EP.s,[EP.r],null,null),fP._17(61,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[35,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,it)),fP._17(65,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(68,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(69,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,42,{_control:0}),fP._38(335544320,43,{_placeholderChild:0}),fP._38(335544320,44,{_labelChild:0}),fP._38(603979776,45,{_errorChildren:1}),fP._38(603979776,46,{_hintChildren:1}),fP._38(603979776,47,{_prefixChildren:1}),fP._38(603979776,48,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","lender"],["placeholder","Lender"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,82)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,82)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,82)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(79,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(81,16384,null,0,EP.s,[EP.r],null,null),fP._17(82,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,49,{options:1}),fP._38(603979776,50,{optionGroups:1}),fP._38(335544320,51,{customTrigger:0}),fP._37(2048,[[42,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,90)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,90)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(90,8437760,[[49,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(93,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,94)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,94)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(94,8437760,[[49,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(96,0,null,0,11,"ngx-mat-select-search",[["formControlName","bankSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit)&&u}return u},dN.b,dN.a)),fP._17(97,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,52,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(100,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(102,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(105,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(106,16384,[[52,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(110,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,111)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,111)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(111,8437760,[[49,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ot)),fP._17(115,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rt)),fP._17(120,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(122,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(123,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,60,{_control:0}),fP._38(335544320,61,{_placeholderChild:0}),fP._38(335544320,62,{_labelChild:0}),fP._38(603979776,63,{_errorChildren:1}),fP._38(603979776,64,{_hintChildren:1}),fP._38(603979776,65,{_prefixChildren:1}),fP._38(603979776,66,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(132,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","loan_taken_by"],["multiple",""],["placeholder","Loan Taken By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,137)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,137)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,137)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkOthers(l.context.$implicit.get("loan_taken_by").value)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(134,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(136,16384,null,0,EP.s,[EP.r],null,null),fP._17(137,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,67,{options:1}),fP._38(603979776,68,{optionGroups:1}),fP._38(335544320,69,{customTrigger:0}),fP._37(2048,[[60,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,dt)),fP._17(144,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,st)),fP._17(149,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(151,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(152,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,77,{_control:0}),fP._38(335544320,78,{_placeholderChild:0}),fP._38(335544320,79,{_labelChild:0}),fP._38(603979776,80,{_errorChildren:1}),fP._38(603979776,81,{_hintChildren:1}),fP._38(603979776,82,{_prefixChildren:1}),fP._38(603979776,83,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(161,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Instalment Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,165)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,165)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,165)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedfrequency(e.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(162,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(164,16384,null,0,EP.s,[EP.r],null,null),fP._17(165,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,84,{options:1}),fP._38(603979776,85,{optionGroups:1}),fP._38(335544320,86,{customTrigger:0}),fP._37(2048,[[77,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(172,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,173)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,173)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(173,8437760,[[84,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ct)),fP._17(177,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mt)),fP._17(182,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ft)),fP._17(185,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n \n \n "])),(l()(),fP._18(188,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(189,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,101,{_control:0}),fP._38(335544320,102,{_placeholderChild:0}),fP._38(335544320,103,{_labelChild:0}),fP._38(603979776,104,{_errorChildren:1}),fP._38(603979776,105,{_hintChildren:1}),fP._38(603979776,106,{_prefixChildren:1}),fP._38(603979776,107,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(198,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","original_tenure"],["matInput",""],["placeholder","Original Tenure in Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,199)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,199).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,199)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,199)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,200).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,200).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,200).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,205)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,205)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,205)._onInput()&&u}if("change"===n){t.checkTenure(l.context.$implicit);u=!1!==t.calculateTenure(l.context.$implicit,1)&&u}return u},null,null)),fP._17(199,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(200,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(202,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(204,16384,null,0,EP.s,[EP.r],null,null),fP._17(205,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[101,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(209,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(210,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,108,{_control:0}),fP._38(335544320,109,{_placeholderChild:0}),fP._38(335544320,110,{_labelChild:0}),fP._38(603979776,111,{_errorChildren:1}),fP._38(603979776,112,{_hintChildren:1}),fP._38(603979776,113,{_prefixChildren:1}),fP._38(603979776,114,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(219,0,[[1,0],["balanceTenure",1]],1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_balance_tenure"],["matInput",""],["placeholder","Current Balance Tenure in Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,220)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,220).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,220)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,220)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,221).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,221).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,221).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,226)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,226)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,226)._onInput()&&u}if("change"===n){u=!1!==t.calculateTenure(l.context.$implicit,1)&&u}return u},null,null)),fP._17(220,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(221,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(223,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(225,16384,null,0,EP.s,[EP.r],null,null),fP._17(226,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[108,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._13(16777216,null,5,1,null,ht)),fP._17(230,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(233,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(234,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,115,{_control:0}),fP._38(335544320,116,{_placeholderChild:0}),fP._38(335544320,117,{_labelChild:0}),fP._38(603979776,118,{_errorChildren:1}),fP._38(603979776,119,{_hintChildren:1}),fP._38(603979776,120,{_prefixChildren:1}),fP._38(603979776,121,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(243,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","elapsed_tenure"],["matInput",""],["placeholder","Elapsed Tenure in Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,244)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,244).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,244)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,244)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,245).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,245).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,245).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,250)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,250)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,250)._onInput()&&u}if("change"===n){u=!1!==t.calculateTenure(l.context.$implicit,2)&&u}return u},null,null)),fP._17(244,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(245,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(247,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(249,16384,null,0,EP.s,[EP.r],null,null),fP._17(250,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[115,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,gt)),fP._17(254,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(257,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(258,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,122,{_buttons:1}),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(261,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(262,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(264,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteLoanDetails(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(266,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(267,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(270,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(271,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bt)),fP._17(274,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"loan_type");l(n,25,0,"Loan Type");l(n,37,0,e.loanTypeData);l(n,42,0,1==n.context.$implicit.get("loan_type").value);l(n,58,0,"loan_amount");l(n,61,0,"Loan Amount","number");l(n,65,0,""!=n.context.$implicit.get("loan_amount").value);l(n,79,0,"lender");l(n,82,0,"Lender");l(n,97,0,"Search Unit","No Matching Result");l(n,100,0,"bankSearch");l(n,105,0,"md-close");l(n,115,0,e.lenderDataValue);l(n,120,0,3==n.context.$implicit.get("lender").value);l(n,134,0,"loan_taken_by");l(n,137,0,"Loan Taken By","",e.compareObjects);l(n,144,0,e.mergeCompanyApplicant);l(n,149,0,e.others_loanAccess);l(n,162,0,"frequency");l(n,165,0,"Instalment Frequency");l(n,177,0,e.frequencyData);l(n,182,0,1==n.context.$implicit.get("frequency").value);l(n,185,0,""!=n.context.$implicit.get("frequency").value);l(n,202,0,"original_tenure");l(n,205,0,"Original Tenure in Months","number");l(n,223,0,"current_balance_tenure");l(n,226,0,"Current Balance Tenure in Months","number");l(n,230,0,e.tentureErrorFlag||n.context.$implicit.controls.current_balance_tenure.hasError("max"));l(n,247,0,"elapsed_tenure");l(n,250,0,"Elapsed Tenure in Months","number");l(n,254,0,e.tentureErrorFlag);l(n,267,0,"optblue","md-trash");l(n,274,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,n.context.index+1,n.context.$implicit.get("label").value);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25).id,fP._32(n,25).tabIndex,fP._32(n,25)._ariaLabel,fP._32(n,25).ariaLabelledby,fP._32(n,25).required.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).errorState,fP._32(n,25).panelOpen?fP._32(n,25)._optionIds:null,fP._32(n,25).multiple,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25)._getAriaActiveDescendant(),fP._32(n,25).disabled,fP._32(n,25).errorState,fP._32(n,25).required]);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,44,1,[fP._32(n,45)._control.errorState,fP._32(n,45)._control.errorState,fP._32(n,45)._canLabelFloat,fP._32(n,45)._shouldLabelFloat(),fP._32(n,45)._hideControlPlaceholder(),fP._32(n,45)._control.disabled,fP._32(n,45)._control.focused,"primary"==fP._32(n,45).color,"accent"==fP._32(n,45).color,"warn"==fP._32(n,45).color,fP._32(n,45)._shouldForward("untouched"),fP._32(n,45)._shouldForward("touched"),fP._32(n,45)._shouldForward("pristine"),fP._32(n,45)._shouldForward("dirty"),fP._32(n,45)._shouldForward("valid"),fP._32(n,45)._shouldForward("invalid"),fP._32(n,45)._shouldForward("pending")]);l(n,54,1,[fP._32(n,60).ngClassUntouched,fP._32(n,60).ngClassTouched,fP._32(n,60).ngClassPristine,fP._32(n,60).ngClassDirty,fP._32(n,60).ngClassValid,fP._32(n,60).ngClassInvalid,fP._32(n,60).ngClassPending,fP._32(n,61)._isServer,fP._32(n,61).id,fP._32(n,61).placeholder,fP._32(n,61).disabled,fP._32(n,61).required,fP._32(n,61).readonly,fP._32(n,61)._ariaDescribedby||null,fP._32(n,61).errorState,fP._32(n,61).required.toString()]);l(n,68,1,[fP._32(n,69)._control.errorState,fP._32(n,69)._control.errorState,fP._32(n,69)._canLabelFloat,fP._32(n,69)._shouldLabelFloat(),fP._32(n,69)._hideControlPlaceholder(),fP._32(n,69)._control.disabled,fP._32(n,69)._control.focused,"primary"==fP._32(n,69).color,"accent"==fP._32(n,69).color,"warn"==fP._32(n,69).color,fP._32(n,69)._shouldForward("untouched"),fP._32(n,69)._shouldForward("touched"),fP._32(n,69)._shouldForward("pristine"),fP._32(n,69)._shouldForward("dirty"),fP._32(n,69)._shouldForward("valid"),fP._32(n,69)._shouldForward("invalid"),fP._32(n,69)._shouldForward("pending")]);l(n,78,1,[fP._32(n,81).ngClassUntouched,fP._32(n,81).ngClassTouched,fP._32(n,81).ngClassPristine,fP._32(n,81).ngClassDirty,fP._32(n,81).ngClassValid,fP._32(n,81).ngClassInvalid,fP._32(n,81).ngClassPending,fP._32(n,82).id,fP._32(n,82).tabIndex,fP._32(n,82)._ariaLabel,fP._32(n,82).ariaLabelledby,fP._32(n,82).required.toString(),fP._32(n,82).disabled.toString(),fP._32(n,82).errorState,fP._32(n,82).panelOpen?fP._32(n,82)._optionIds:null,fP._32(n,82).multiple,fP._32(n,82)._ariaDescribedby||null,fP._32(n,82)._getAriaActiveDescendant(),fP._32(n,82).disabled,fP._32(n,82).errorState,fP._32(n,82).required]);l(n,89,0,fP._32(n,90)._getTabIndex(),fP._32(n,90).selected,fP._32(n,90).multiple,fP._32(n,90).active,fP._32(n,90).id,fP._32(n,90).selected.toString(),fP._32(n,90).disabled.toString(),fP._32(n,90).disabled);l(n,93,0,fP._32(n,94)._getTabIndex(),fP._32(n,94).selected,fP._32(n,94).multiple,fP._32(n,94).active,fP._32(n,94).id,fP._32(n,94).selected.toString(),fP._32(n,94).disabled.toString(),fP._32(n,94).disabled);l(n,96,0,fP._32(n,97).isInsideMatOption,fP._32(n,102).ngClassUntouched,fP._32(n,102).ngClassTouched,fP._32(n,102).ngClassPristine,fP._32(n,102).ngClassDirty,fP._32(n,102).ngClassValid,fP._32(n,102).ngClassInvalid,fP._32(n,102).ngClassPending);l(n,104,0,fP._32(n,105)._hidden);l(n,110,0,fP._32(n,111)._getTabIndex(),fP._32(n,111).selected,fP._32(n,111).multiple,fP._32(n,111).active,fP._32(n,111).id,fP._32(n,111).selected.toString(),fP._32(n,111).disabled.toString(),fP._32(n,111).disabled);l(n,122,1,[fP._32(n,123)._control.errorState,fP._32(n,123)._control.errorState,fP._32(n,123)._canLabelFloat,fP._32(n,123)._shouldLabelFloat(),fP._32(n,123)._hideControlPlaceholder(),fP._32(n,123)._control.disabled,fP._32(n,123)._control.focused,"primary"==fP._32(n,123).color,"accent"==fP._32(n,123).color,"warn"==fP._32(n,123).color,fP._32(n,123)._shouldForward("untouched"),fP._32(n,123)._shouldForward("touched"),fP._32(n,123)._shouldForward("pristine"),fP._32(n,123)._shouldForward("dirty"),fP._32(n,123)._shouldForward("valid"),fP._32(n,123)._shouldForward("invalid"),fP._32(n,123)._shouldForward("pending")]);l(n,132,1,[fP._32(n,136).ngClassUntouched,fP._32(n,136).ngClassTouched,fP._32(n,136).ngClassPristine,fP._32(n,136).ngClassDirty,fP._32(n,136).ngClassValid,fP._32(n,136).ngClassInvalid,fP._32(n,136).ngClassPending,fP._32(n,137).id,fP._32(n,137).tabIndex,fP._32(n,137)._ariaLabel,fP._32(n,137).ariaLabelledby,fP._32(n,137).required.toString(),fP._32(n,137).disabled.toString(),fP._32(n,137).errorState,fP._32(n,137).panelOpen?fP._32(n,137)._optionIds:null,fP._32(n,137).multiple,fP._32(n,137)._ariaDescribedby||null,fP._32(n,137)._getAriaActiveDescendant(),fP._32(n,137).disabled,fP._32(n,137).errorState,fP._32(n,137).required]);l(n,151,1,[fP._32(n,152)._control.errorState,fP._32(n,152)._control.errorState,fP._32(n,152)._canLabelFloat,fP._32(n,152)._shouldLabelFloat(),fP._32(n,152)._hideControlPlaceholder(),fP._32(n,152)._control.disabled,fP._32(n,152)._control.focused,"primary"==fP._32(n,152).color,"accent"==fP._32(n,152).color,"warn"==fP._32(n,152).color,fP._32(n,152)._shouldForward("untouched"),fP._32(n,152)._shouldForward("touched"),fP._32(n,152)._shouldForward("pristine"),fP._32(n,152)._shouldForward("dirty"),fP._32(n,152)._shouldForward("valid"),fP._32(n,152)._shouldForward("invalid"),fP._32(n,152)._shouldForward("pending")]);l(n,161,1,[fP._32(n,164).ngClassUntouched,fP._32(n,164).ngClassTouched,fP._32(n,164).ngClassPristine,fP._32(n,164).ngClassDirty,fP._32(n,164).ngClassValid,fP._32(n,164).ngClassInvalid,fP._32(n,164).ngClassPending,fP._32(n,165).id,fP._32(n,165).tabIndex,fP._32(n,165)._ariaLabel,fP._32(n,165).ariaLabelledby,fP._32(n,165).required.toString(),fP._32(n,165).disabled.toString(),fP._32(n,165).errorState,fP._32(n,165).panelOpen?fP._32(n,165)._optionIds:null,fP._32(n,165).multiple,fP._32(n,165)._ariaDescribedby||null,fP._32(n,165)._getAriaActiveDescendant(),fP._32(n,165).disabled,fP._32(n,165).errorState,fP._32(n,165).required]);l(n,172,0,fP._32(n,173)._getTabIndex(),fP._32(n,173).selected,fP._32(n,173).multiple,fP._32(n,173).active,fP._32(n,173).id,fP._32(n,173).selected.toString(),fP._32(n,173).disabled.toString(),fP._32(n,173).disabled);l(n,188,1,[fP._32(n,189)._control.errorState,fP._32(n,189)._control.errorState,fP._32(n,189)._canLabelFloat,fP._32(n,189)._shouldLabelFloat(),fP._32(n,189)._hideControlPlaceholder(),fP._32(n,189)._control.disabled,fP._32(n,189)._control.focused,"primary"==fP._32(n,189).color,"accent"==fP._32(n,189).color,"warn"==fP._32(n,189).color,fP._32(n,189)._shouldForward("untouched"),fP._32(n,189)._shouldForward("touched"),fP._32(n,189)._shouldForward("pristine"),fP._32(n,189)._shouldForward("dirty"),fP._32(n,189)._shouldForward("valid"),fP._32(n,189)._shouldForward("invalid"),fP._32(n,189)._shouldForward("pending")]);l(n,198,1,[fP._32(n,204).ngClassUntouched,fP._32(n,204).ngClassTouched,fP._32(n,204).ngClassPristine,fP._32(n,204).ngClassDirty,fP._32(n,204).ngClassValid,fP._32(n,204).ngClassInvalid,fP._32(n,204).ngClassPending,fP._32(n,205)._isServer,fP._32(n,205).id,fP._32(n,205).placeholder,fP._32(n,205).disabled,fP._32(n,205).required,fP._32(n,205).readonly,fP._32(n,205)._ariaDescribedby||null,fP._32(n,205).errorState,fP._32(n,205).required.toString()]);l(n,209,1,[fP._32(n,210)._control.errorState,fP._32(n,210)._control.errorState,fP._32(n,210)._canLabelFloat,fP._32(n,210)._shouldLabelFloat(),fP._32(n,210)._hideControlPlaceholder(),fP._32(n,210)._control.disabled,fP._32(n,210)._control.focused,"primary"==fP._32(n,210).color,"accent"==fP._32(n,210).color,"warn"==fP._32(n,210).color,fP._32(n,210)._shouldForward("untouched"),fP._32(n,210)._shouldForward("touched"),fP._32(n,210)._shouldForward("pristine"),fP._32(n,210)._shouldForward("dirty"),fP._32(n,210)._shouldForward("valid"),fP._32(n,210)._shouldForward("invalid"),fP._32(n,210)._shouldForward("pending")]);l(n,219,1,[fP._32(n,225).ngClassUntouched,fP._32(n,225).ngClassTouched,fP._32(n,225).ngClassPristine,fP._32(n,225).ngClassDirty,fP._32(n,225).ngClassValid,fP._32(n,225).ngClassInvalid,fP._32(n,225).ngClassPending,fP._32(n,226)._isServer,fP._32(n,226).id,fP._32(n,226).placeholder,fP._32(n,226).disabled,fP._32(n,226).required,fP._32(n,226).readonly,fP._32(n,226)._ariaDescribedby||null,fP._32(n,226).errorState,fP._32(n,226).required.toString()]);l(n,233,1,[fP._32(n,234)._control.errorState,fP._32(n,234)._control.errorState,fP._32(n,234)._canLabelFloat,fP._32(n,234)._shouldLabelFloat(),fP._32(n,234)._hideControlPlaceholder(),fP._32(n,234)._control.disabled,fP._32(n,234)._control.focused,"primary"==fP._32(n,234).color,"accent"==fP._32(n,234).color,"warn"==fP._32(n,234).color,fP._32(n,234)._shouldForward("untouched"),fP._32(n,234)._shouldForward("touched"),fP._32(n,234)._shouldForward("pristine"),fP._32(n,234)._shouldForward("dirty"),fP._32(n,234)._shouldForward("valid"),fP._32(n,234)._shouldForward("invalid"),fP._32(n,234)._shouldForward("pending")]);l(n,243,1,[fP._32(n,249).ngClassUntouched,fP._32(n,249).ngClassTouched,fP._32(n,249).ngClassPristine,fP._32(n,249).ngClassDirty,fP._32(n,249).ngClassValid,fP._32(n,249).ngClassInvalid,fP._32(n,249).ngClassPending,fP._32(n,250)._isServer,fP._32(n,250).id,fP._32(n,250).placeholder,fP._32(n,250).disabled,fP._32(n,250).required,fP._32(n,250).readonly,fP._32(n,250)._ariaDescribedby||null,fP._32(n,250).errorState,fP._32(n,250).required.toString()]);l(n,266,0,fP._32(n,267)._hidden)})}function yt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","loan_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vt)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"loan_details");l(n,8,0,e.currentLoans.get("loan_details").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function Ct(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,81,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,44,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,8,{_control:0}),fP._38(335544320,9,{_placeholderChild:0}),fP._38(335544320,10,{_labelChild:0}),fP._38(603979776,11,{_errorChildren:1}),fP._38(603979776,12,{_hintChildren:1}),fP._38(603979776,13,{_prefixChildren:1}),fP._38(603979776,14,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(20,16384,[[10,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Do you have any other Existing Loans"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","existing_loan"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,27)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,27)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,27)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.exitsCheck(e.value)&&u}return u},tN.b,tN.a)),fP._17(24,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(26,16384,null,0,EP.s,[EP.r],null,null),fP._17(27,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],null,{selectionChange:"selectionChange"}),fP._38(603979776,15,{options:1}),fP._38(603979776,16,{optionGroups:1}),fP._38(335544320,17,{customTrigger:0}),fP._37(2048,[[8,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,35)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(35,8437760,[[15,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(39,8437760,[[15,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,43)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(43,8437760,[[15,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,yt)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(52,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(53,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(55,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,123,{_control:0}),fP._38(335544320,124,{_placeholderChild:0}),fP._38(335544320,125,{_labelChild:0}),fP._38(603979776,126,{_errorChildren:1}),fP._38(603979776,127,{_hintChildren:1}),fP._38(603979776,128,{_prefixChildren:1}),fP._38(603979776,129,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","currentloan_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,71)._onInput()&&u}return u},null,null)),fP._17(66,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[123,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(76,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(77,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.currentLoans);l(n,24,0,"existing_loan"),l(n,27,0);l(n,39,0,"Yes");l(n,43,0,"No");l(n,49,0,"Yes"==e.currentLoans.controls.existing_loan.value);l(n,68,0,"currentloan_remarks");l(n,71,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,23,1,[fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending,fP._32(n,27).id,fP._32(n,27).tabIndex,fP._32(n,27)._ariaLabel,fP._32(n,27).ariaLabelledby,fP._32(n,27).required.toString(),fP._32(n,27).disabled.toString(),fP._32(n,27).errorState,fP._32(n,27).panelOpen?fP._32(n,27)._optionIds:null,fP._32(n,27).multiple,fP._32(n,27)._ariaDescribedby||null,fP._32(n,27)._getAriaActiveDescendant(),fP._32(n,27).disabled,fP._32(n,27).errorState,fP._32(n,27).required]);l(n,34,0,fP._32(n,35)._getTabIndex(),fP._32(n,35).selected,fP._32(n,35).multiple,fP._32(n,35).active,fP._32(n,35).id,fP._32(n,35).selected.toString(),fP._32(n,35).disabled.toString(),fP._32(n,35).disabled);l(n,38,0,fP._32(n,39)._getTabIndex(),fP._32(n,39).selected,fP._32(n,39).multiple,fP._32(n,39).active,fP._32(n,39).id,fP._32(n,39).selected.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).disabled);l(n,42,0,fP._32(n,43)._getTabIndex(),fP._32(n,43).selected,fP._32(n,43).multiple,fP._32(n,43).active,fP._32(n,43).id,fP._32(n,43).selected.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).disabled);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71)._isServer,fP._32(n,71).id,fP._32(n,71).placeholder,fP._32(n,71).disabled,fP._32(n,71).required,fP._32(n,71).readonly,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71).errorState,fP._32(n,71).required.toString()])})}function wt(l){return fP._42(0,[fP._38(671088640,1,{TenureFocus:0}),(l()(),fP._18(1,0,null,null,41,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,21,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[2,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Ku)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,4,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(28,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),fP._17(31,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,35).onClick()&&u}return u},dV.b,dV.a)),fP._17(35,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,39).onClick()&&u}return u},dV.b,dV.a)),fP._17(39,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(44,0,null,null,52,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],[[null,"tap"]],function(l,n,e){var u=!0;if("tap"===n){u=!1!==l.component.tapEvent(e)&&u}return u},vA.b,vA.a)),fP._17(45,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,0,36,"ion-fab",[["bottom",""],["right",""]],null,null,null,VV.b,VV.a)),fP._17(49,1228800,null,2,NV.a,[pA.a],null,null),fP._38(335544320,5,{_mainButton:0}),fP._38(603979776,6,{_fabLists:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(53,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""]],null,null,null,WV.b,WV.a)),fP._17(54,49152,[[5,4]],0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(55,0,null,0,1,"ion-icon",[["name","arrow-dropup"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(56,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(58,0,null,0,25,"ion-fab-list",[["side","top"]],null,null,null,null,null)),fP._17(59,16384,[[6,4]],1,vN.a,[fP.p,fP.O,aA.a,pA.a],null,null),fP._38(603979776,7,{_setbuttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,9,"button",[["class","fab_exp"],["ion-fab",""]],null,null,null,WV.b,WV.a)),fP._17(63,49152,[[7,4],[5,4]],0,EV.a,[aA.a,fP.p,fP.O],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(65,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(66,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(68,0,null,0,2,"ion-label",[],null,null,null,null,null)),fP._17(69,16384,null,0,XV.a,[aA.a,fP.p,fP.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),fP._40(-1,null,["Capture"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(73,0,null,null,9,"button",[["class","fab_exp"],["ion-fab",""]],null,null,null,WV.b,WV.a)),fP._17(74,49152,[[7,4],[5,4]],0,EV.a,[aA.a,fP.p,fP.O],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(76,0,null,0,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(77,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(79,0,null,0,2,"ion-label",[],null,null,null,null,null)),fP._17(80,16384,null,0,XV.a,[aA.a,fP.p,fP.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),fP._40(-1,null,["Save"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(86,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(87,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ut)),fP._17(90,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ct)),fP._17(93,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,28,0,e.tab);l(n,31,0,"optblue");l(n,35,0,"0");l(n,39,0,"1");l(n,54,0,"optblue");l(n,56,0,"arrow-dropup");l(n,66,0,"md-camera");l(n,77,0,"fn-save");l(n,87,0,e.tab);l(n,90,0,"1");l(n,93,0,"0")},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,27,0,fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending,fP._32(n,31)._disabled);l(n,34,0,fP._32(n,35)._disabled,fP._32(n,35).isActive,fP._32(n,35).isActive);l(n,38,0,fP._32(n,39)._disabled,fP._32(n,39).isActive,fP._32(n,39).isActive);l(n,44,0,fP._32(n,45).statusbarPadding,fP._32(n,45)._hasRefresher);l(n,55,0,fP._32(n,56)._hidden);l(n,65,0,fP._32(n,66)._hidden);l(n,76,0,fP._32(n,77)._hidden)})}function Ft(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function xt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveEmpInfo()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function kt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function St(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function It(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function qt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Pt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,St)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,It)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qt)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Dt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pt)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Tt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ot(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Lt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Tt)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ot)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function At(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lt)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Vt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Nt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kt)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Dt)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,At)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Vt)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Wt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[14,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.company_order_id+"-"+n.context.$implicit.company_name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.company_name)})}function Et(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["required",""],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,17,{_control:0}),fP._38(335544320,18,{_placeholderChild:0}),fP._38(335544320,19,{_labelChild:0}),fP._38(603979776,20,{_errorChildren:1}),fP._38(603979776,21,{_hintChildren:1}),fP._38(603979776,22,{_prefixChildren:1}),fP._38(603979776,23,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employer_in_brief"],["matInput",""],["placeholder","Company Profile in brief"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[17,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"employer_in_brief");l(n,18,0,"Company Profile in brief")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function jt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[27,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Higher than business vintage"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function $t(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[34,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Higher than business vintage"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Bt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[41,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Total working Experience is Lower"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Rt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,45,{_control:0}),fP._38(335544320,46,{_placeholderChild:0}),fP._38(335544320,47,{_labelChild:0}),fP._38(603979776,48,{_errorChildren:1}),fP._38(603979776,49,{_hintChildren:1}),fP._38(603979776,50,{_prefixChildren:1}),fP._38(603979776,51,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_previous_experience"],["matInput",""],["placeholder","Previous Work Experience Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}if("change"===n){u=!1!==t.checkWorkingExperiences()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[45,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"total_business_previous_experience");l(n,18,0,"Previous Work Experience Details")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function Ut(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function Mt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","name_person_met"],["placeholder","Name of Person Met"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,18)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,18)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,18)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filtercompanyrelationship(t.employmentForm.controls.employer_name.value,e.value)&&u}return u},tN.b,tN.a)),fP._17(13,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,60,{options:1}),fP._38(603979776,61,{optionGroups:1}),fP._38(335544320,62,{customTrigger:0}),fP._37(2048,[[53,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ut)),fP._17(30,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,15,0,"name_person_met");l(n,18,0,"Name of Person Met","");l(n,30,0,e.person_met_list)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,13).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18).id,fP._32(n,18).tabIndex,fP._32(n,18)._ariaLabel,fP._32(n,18).ariaLabelledby,fP._32(n,18).required.toString(),fP._32(n,18).disabled.toString(),fP._32(n,18).errorState,fP._32(n,18).panelOpen?fP._32(n,18)._optionIds:null,fP._32(n,18).multiple,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18)._getAriaActiveDescendant(),fP._32(n,18).disabled,fP._32(n,18).errorState,fP._32(n,18).required]);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled)})}function Kt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,63,{_control:0}),fP._38(335544320,64,{_placeholderChild:0}),fP._38(335544320,65,{_labelChild:0}),fP._38(603979776,66,{_errorChildren:1}),fP._38(603979776,67,{_hintChildren:1}),fP._38(603979776,68,{_prefixChildren:1}),fP._38(603979776,69,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","designation_person_met"],["matInput",""],["placeholder","Designation of Person Met"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,20)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[63,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,14,0,"");l(n,17,0,"designation_person_met");l(n,20,0,"Designation of Person Met","")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,14).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20)._isServer,fP._32(n,20).id,fP._32(n,20).placeholder,fP._32(n,20).disabled,fP._32(n,20).required,fP._32(n,20).readonly,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20).errorState,fP._32(n,20).required.toString()])})}function Ht(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mt)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Kt)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,6,0,"SAL-CHQ"!=e.pd_cus_segment)},null)}function Gt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,26,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Was the Employer Met"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,16,"mat-radio-group",[["class","mat-radio-group"],["formControlName","was_met"],["name","was_met"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,1064960,null,1,PV.b,[fP.i],{name:[0,"name"]},null),fP._38(603979776,52,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(9,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(11,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,15)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(15,4440064,[[52,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["YES"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,19)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(19,4440064,[[52,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NO"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ht)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,"was_met");l(n,9,0,"was_met");l(n,15,0,"yes");l(n,19,0,"no");l(n,25,0,"yes"==e.employmentForm.controls.was_met.value)},function(l,n){l(n,5,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending);l(n,14,0,fP._32(n,15).checked,fP._32(n,15).disabled,fP._32(n,15).id);l(n,18,0,fP._32(n,19).checked,fP._32(n,19).disabled,fP._32(n,19).id)})}function zt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[75,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.mthlySlryAmtInWords)})}function Yt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,25,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(5,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,71,{_control:0}),fP._38(335544320,72,{_placeholderChild:0}),fP._38(335544320,73,{_labelChild:0}),fP._38(603979776,74,{_errorChildren:1}),fP._38(603979776,75,{_hintChildren:1}),fP._38(603979776,76,{_prefixChildren:1}),fP._38(603979776,77,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","confirm_salary_amount"],["matInput",""],["placeholder","What is the salary amount confirmed?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,1)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[71,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,zt)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,18,0,"confirm_salary_amount");l(n,21,0,"What is the salary amount confirmed?","number");l(n,25,0,""!=e.employmentForm.controls.confirm_salary_amount.value&&""!=e.mthlySlryAmtInWords)},function(l,n){l(n,4,1,[fP._32(n,5)._control.errorState,fP._32(n,5)._control.errorState,fP._32(n,5)._canLabelFloat,fP._32(n,5)._shouldLabelFloat(),fP._32(n,5)._hideControlPlaceholder(),fP._32(n,5)._control.disabled,fP._32(n,5)._control.focused,"primary"==fP._32(n,5).color,"accent"==fP._32(n,5).color,"warn"==fP._32(n,5).color,fP._32(n,5)._shouldForward("untouched"),fP._32(n,5)._shouldForward("touched"),fP._32(n,5)._shouldForward("pristine"),fP._32(n,5)._shouldForward("dirty"),fP._32(n,5)._shouldForward("valid"),fP._32(n,5)._shouldForward("invalid"),fP._32(n,5)._shouldForward("pending")]);l(n,14,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function Qt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Salary amount confirmed ?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","confirm_salary"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,70,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(9,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(11,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,14)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(14,4440064,[[70,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["YES"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,18)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(18,4440064,[[70,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NO"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Yt)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"confirm_salary");l(n,14,0,"yes");l(n,18,0,"no");l(n,23,0,"yes"==e.employmentForm.controls.confirm_salary.value)},function(l,n){l(n,5,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending);l(n,13,0,fP._32(n,14).checked,fP._32(n,14).disabled,fP._32(n,14).id);l(n,17,0,fP._32(n,18).checked,fP._32(n,18).disabled,fP._32(n,18).id)})}function Jt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Attendance register seen ?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","attendance_seen"],["name","attendance_seen"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,1064960,null,1,PV.b,[fP.i],{name:[0,"name"]},null),fP._38(603979776,78,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(9,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(11,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,14)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(14,4440064,[[78,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["YES"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,18)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(18,4440064,[[78,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NO"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"attendance_seen");l(n,9,0,"attendance_seen");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending);l(n,13,0,fP._32(n,14).checked,fP._32(n,14).disabled,fP._32(n,14).id);l(n,17,0,fP._32(n,18).checked,fP._32(n,18).disabled,fP._32(n,18).id)})}function Xt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"P",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Salary register seen ?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","sal_reg_seen"],["name","sal_reg_seen"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,1064960,null,1,PV.b,[fP.i],{name:[0,"name"]},null),fP._38(603979776,79,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(9,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(11,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,14)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(14,4440064,[[79,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["YES"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,18)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(18,4440064,[[79,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NO"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"sal_reg_seen");l(n,9,0,"sal_reg_seen");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending);l(n,13,0,fP._32(n,14).checked,fP._32(n,14).disabled,fP._32(n,14).id);l(n,17,0,fP._32(n,18).checked,fP._32(n,18).disabled,fP._32(n,18).id)})}function Zt(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[87,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.date,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.date)})}function la(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[97,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.date,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.date)})}function na(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[104,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.grossMthlySlryAmtInWords)})}function ea(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[111,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.netMthlySlryAmtInWords)})}function ua(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[118,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.cashAmtInWords)})}function ta(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[117,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value is Maximum of Net Salary"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function aa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[125,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.bankAmtInWords)})}function ia(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[124,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value is Maximum of Net Salary"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function oa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,128,{_control:0}),fP._38(335544320,129,{_placeholderChild:0}),fP._38(335544320,130,{_labelChild:0}),fP._38(603979776,131,{_errorChildren:1}),fP._38(603979776,132,{_hintChildren:1}),fP._38(603979776,133,{_prefixChildren:1}),fP._38(603979776,134,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","check_validated"],["placeholder","Is the Amount is Validated or Not"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,135,{options:1}),fP._38(603979776,136,{optionGroups:1}),fP._38(335544320,137,{customTrigger:0}),fP._37(2048,[[128,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","validated"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Validated"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","not validated"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Not Validated"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,13,0,"check_validated");l(n,16,0,"Is the Amount is Validated or Not");l(n,28,0,"validated");l(n,32,0,"not validated")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function ra(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,138,{_control:0}),fP._38(335544320,139,{_placeholderChild:0}),fP._38(335544320,140,{_labelChild:0}),fP._38(603979776,141,{_errorChildren:1}),fP._38(603979776,142,{_hintChildren:1}),fP._38(603979776,143,{_prefixChildren:1}),fP._38(603979776,144,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_was_it_validated"],["matInput",""],["placeholder","How was it Validated"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[138,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"how_was_it_validated");l(n,18,0,"How was it Validated")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function _a(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,145,{_control:0}),fP._38(335544320,146,{_placeholderChild:0}),fP._38(335544320,147,{_labelChild:0}),fP._38(603979776,148,{_errorChildren:1}),fP._38(603979776,149,{_hintChildren:1}),fP._38(603979776,150,{_prefixChildren:1}),fP._38(603979776,151,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","why_was_it_not_validated"],["matInput",""],["placeholder","Why was it not Validated"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[145,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"why_was_it_not_validated");l(n,18,0,"Why was it not Validated")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function da(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[156,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.bonusIncentiveAmtInWords)})}function sa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[166,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ca(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,159,{_control:0}),fP._38(335544320,160,{_placeholderChild:0}),fP._38(335544320,161,{_labelChild:0}),fP._38(603979776,162,{_errorChildren:1}),fP._38(603979776,163,{_hintChildren:1}),fP._38(603979776,164,{_prefixChildren:1}),fP._38(603979776,165,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","bonus_frequency"],["placeholder","Bonus Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,166,{options:1}),fP._38(603979776,167,{optionGroups:1}),fP._38(335544320,168,{customTrigger:0}),fP._37(2048,[[159,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[166,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,sa)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"bonus_frequency");l(n,16,0,"Bonus Frequency");l(n,28,0,e.frequency_data)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled)})}function ma(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,40,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,169,{_control:0}),fP._38(335544320,170,{_placeholderChild:0}),fP._38(335544320,171,{_labelChild:0}),fP._38(603979776,172,{_errorChildren:1}),fP._38(603979776,173,{_hintChildren:1}),fP._38(603979776,174,{_prefixChildren:1}),fP._38(603979776,175,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","bonus_type"],["placeholder","Type of Bonus"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,176,{options:1}),fP._38(603979776,177,{optionGroups:1}),fP._38(335544320,178,{customTrigger:0}),fP._37(2048,[[169,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[176,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fixed"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[176,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Fixed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","variable depending on performance"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[176,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Variable\n depending on performance"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[176,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Others"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,13,0,"bonus_type");l(n,16,0,"Type of Bonus");l(n,28,0,"fixed");l(n,32,0,"variable depending on performance");l(n,36,0,"others")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled)})}function pa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,179,{_control:0}),fP._38(335544320,180,{_placeholderChild:0}),fP._38(335544320,181,{_labelChild:0}),fP._38(603979776,182,{_errorChildren:1}),fP._38(603979776,183,{_hintChildren:1}),fP._38(603979776,184,{_prefixChildren:1}),fP._38(603979776,185,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bonus_type_other"],["matInput",""],["placeholder","Bonus Type Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[179,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"bonus_type_other");l(n,18,0,"Bonus Type Others")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function fa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,441,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,134,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(9,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,7,{_control:0}),fP._38(335544320,8,{_placeholderChild:0}),fP._38(335544320,9,{_labelChild:0}),fP._38(603979776,10,{_errorChildren:1}),fP._38(603979776,11,{_hintChildren:1}),fP._38(603979776,12,{_prefixChildren:1}),fP._38(603979776,13,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","employer_name"],["placeholder","Name of Employer"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,26)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkWithExistYear(e.value)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(23,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(25,16384,null,0,EP.s,[EP.r],null,null),fP._17(26,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,14,{options:1}),fP._38(603979776,15,{optionGroups:1}),fP._38(335544320,16,{customTrigger:0}),fP._37(2048,[[7,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Wt)),fP._17(33,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,Et)),fP._17(39,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n\n "])),(l()(),fP._18(41,0,null,0,2,"mat-label",[],null,null,null,null,null)),fP._17(42,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Since how long working with this employer?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(45,0,null,0,49,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 45%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(48,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,24,{_control:0}),fP._38(335544320,25,{_placeholderChild:0}),fP._38(335544320,26,{_labelChild:0}),fP._38(603979776,27,{_errorChildren:1}),fP._38(603979776,28,{_hintChildren:1}),fP._38(603979776,29,{_prefixChildren:1}),fP._38(603979776,30,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,[[3,0],["yearFocus",1]],1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_year"],["matInput",""],["min","0"],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,58)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,58).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,58)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,58)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,59).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,59).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,59).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,64)._onInput()&&u}return u},null,null)),fP._17(58,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(59,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(61,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(63,16384,null,0,EP.s,[EP.r],null,null),fP._17(64,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[24,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,jt)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n    \n "])),(l()(),fP._18(71,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 45%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(72,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,31,{_control:0}),fP._38(335544320,32,{_placeholderChild:0}),fP._38(335544320,33,{_labelChild:0}),fP._38(603979776,34,{_errorChildren:1}),fP._38(603979776,35,{_hintChildren:1}),fP._38(603979776,36,{_prefixChildren:1}),fP._38(603979776,37,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(81,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_month"],["matInput",""],["min","0"],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,82)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,82).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,82)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,82)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,83).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,83).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,83).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,88)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,88)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,88)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(e.target.value)&&u}return u},null,null)),fP._17(82,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(83,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),fP._17(88,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[31,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,$t)),fP._17(92,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(96,0,null,0,28,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(98,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(99,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,38,{_control:0}),fP._38(335544320,39,{_placeholderChild:0}),fP._38(335544320,40,{_labelChild:0}),fP._38(603979776,41,{_errorChildren:1}),fP._38(603979776,42,{_hintChildren:1}),fP._38(603979776,43,{_prefixChildren:1}),fP._38(603979776,44,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(108,0,[[1,0],["workExp",1]],1,8,"input",[["OnlyNumber",""],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_experience"],["matInput",""],["placeholder","Total Work Experience"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,109)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,109).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,109)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,109)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,110).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,110).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,110).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,115)._onInput()&&u}if("change"===n){u=!1!==t.checkWorkingExperiences()&&u}return u},null,null)),fP._17(109,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(110,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(112,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(114,16384,null,0,EP.s,[EP.r],null,null),fP._17(115,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[38,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Bt)),fP._17(122,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Rt)),fP._17(127,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,Gt)),fP._17(130,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,Qt)),fP._17(133,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,Jt)),fP._17(136,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,Xt)),fP._17(139,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(142,0,null,null,260,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(143,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(145,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Salary Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(148,0,null,0,253,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(149,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(151,0,null,null,64,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(153,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Date of Salary"])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(156,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 35%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(157,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,80,{_control:0}),fP._38(335544320,81,{_placeholderChild:0}),fP._38(335544320,82,{_labelChild:0}),fP._38(603979776,83,{_errorChildren:1}),fP._38(603979776,84,{_hintChildren:1}),fP._38(603979776,85,{_prefixChildren:1}),fP._38(603979776,86,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(166,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","from_date_the_salary_is_rcv"],["placeholder","From"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,170)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,170)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,170)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.formDate(e.value)&&u}return u},tN.b,tN.a)),fP._17(167,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(169,16384,null,0,EP.s,[EP.r],null,null),fP._17(170,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,87,{options:1}),fP._38(603979776,88,{optionGroups:1}),fP._38(335544320,89,{customTrigger:0}),fP._37(2048,[[80,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(177,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,178)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,178)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(178,8437760,[[87,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Zt)),fP._17(182,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n    \n "])),(l()(),fP._18(186,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 35%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(187,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,90,{_control:0}),fP._38(335544320,91,{_placeholderChild:0}),fP._38(335544320,92,{_labelChild:0}),fP._38(603979776,93,{_errorChildren:1}),fP._38(603979776,94,{_hintChildren:1}),fP._38(603979776,95,{_prefixChildren:1}),fP._38(603979776,96,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(196,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","to_date_the_salary_is_rcv"],["placeholder","To"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,200)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,200)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,200)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(197,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(199,16384,null,0,EP.s,[EP.r],null,null),fP._17(200,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,97,{options:1}),fP._38(603979776,98,{optionGroups:1}),fP._38(335544320,99,{customTrigger:0}),fP._37(2048,[[90,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(207,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,208)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,208)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(208,8437760,[[97,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,la)),fP._17(212,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(217,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(219,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(220,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,100,{_control:0}),fP._38(335544320,101,{_placeholderChild:0}),fP._38(335544320,102,{_labelChild:0}),fP._38(603979776,103,{_errorChildren:1}),fP._38(603979776,104,{_hintChildren:1}),fP._38(603979776,105,{_prefixChildren:1}),fP._38(603979776,106,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(229,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","gross_monthly_salary"],["matInput",""],["placeholder","Gross Monthly Salary"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,230)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,230).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,230)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,230)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,231).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,231).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,231).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,238)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,238)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,238)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,2)&&u}return u},null,null)),fP._17(230,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(231,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(232,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(235,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(237,16384,null,0,EP.s,[EP.r],null,null),fP._17(238,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[100,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,na)),fP._17(242,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(246,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(248,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(249,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,107,{_control:0}),fP._38(335544320,108,{_placeholderChild:0}),fP._38(335544320,109,{_labelChild:0}),fP._38(603979776,110,{_errorChildren:1}),fP._38(603979776,111,{_hintChildren:1}),fP._38(603979776,112,{_prefixChildren:1}),fP._38(603979776,113,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(258,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","net_monthly_salary"],["matInput",""],["placeholder","Net Monthly Salary"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,259)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,259).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,259)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,259)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,260).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,260).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,260).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,267)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,267)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,267)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,3)&&u}return u},null,null)),fP._17(259,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(260,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(261,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(264,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(266,16384,null,0,EP.s,[EP.r],null,null),fP._17(267,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[107,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ea)),fP._17(271,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(275,0,null,null,28,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(277,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(278,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,114,{_control:0}),fP._38(335544320,115,{_placeholderChild:0}),fP._38(335544320,116,{_labelChild:0}),fP._38(603979776,117,{_errorChildren:1}),fP._38(603979776,118,{_hintChildren:1}),fP._38(603979776,119,{_prefixChildren:1}),fP._38(603979776,120,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(287,0,[[2,0],["cashPaidFocus",1]],1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_paid_in_cash"],["matInput",""],["placeholder","Amount paid in Cash"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,288)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,288).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,288)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,288)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,289).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,289).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,289).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,294)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,294)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,294)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,6)&&u}if("change"===n){u=!1!==t.ValidateNetSalary()&&u}return u},null,null)),fP._17(288,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(289,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(291,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(293,16384,null,0,EP.s,[EP.r],null,null),fP._17(294,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[114,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ua)),fP._17(298,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ta)),fP._17(301,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(305,0,null,null,28,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(307,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(308,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,121,{_control:0}),fP._38(335544320,122,{_placeholderChild:0}),fP._38(335544320,123,{_labelChild:0}),fP._38(603979776,124,{_errorChildren:1}),fP._38(603979776,125,{_hintChildren:1}),fP._38(603979776,126,{_prefixChildren:1}),fP._38(603979776,127,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(317,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_paid_through_bank"],["matInput",""],["placeholder","Amount paid through Bank"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,318)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,318).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,318)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,318)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,319).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,319).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,319).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,324)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,324)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,324)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,5)&&u}if("change"===n){u=!1!==t.ValidateNetSalary()&&u}return u},null,null)),fP._17(318,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(319,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(321,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(323,16384,null,0,EP.s,[EP.r],null,null),fP._17(324,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[121,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,aa)),fP._17(328,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ia)),fP._17(331,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,oa)),fP._17(336,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ra)),fP._17(339,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,_a)),fP._17(342,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._18(344,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(346,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(347,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,152,{_control:0}),fP._38(335544320,153,{_placeholderChild:0}),fP._38(335544320,154,{_labelChild:0}),fP._38(603979776,155,{_errorChildren:1}),fP._38(603979776,156,{_hintChildren:1}),fP._38(603979776,157,{_prefixChildren:1}),fP._38(603979776,158,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(356,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bonus_incentive"],["matInput",""],["placeholder","Bonus or Incentive"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,357)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,357).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,357)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,357)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,358).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,358).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,358).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,365)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,365)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,365)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,4)&&u}return u},null,null)),fP._17(357,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(358,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(359,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(362,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(364,16384,null,0,EP.s,[EP.r],null,null),fP._17(365,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[152,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,da)),fP._17(369,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ca)),fP._17(374,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ma)),fP._17(377,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,pa)),fP._17(380,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(382,0,null,null,1,"P",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Is there any delay in receiving the salary"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(385,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","any_delays"],["name","any_delays"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(386,1064960,null,1,PV.b,[fP.i],{name:[0,"name"]},null),fP._38(603979776,186,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(389,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(391,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(393,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,394)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(394,4440064,[[186,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["YES"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(397,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,398)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(398,4440064,[[186,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NO"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(404,0,null,null,32,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(405,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(407,0,null,0,28,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(409,0,null,null,25,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(411,0,null,null,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(412,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,187,{_control:0}),fP._38(335544320,188,{_placeholderChild:0}),fP._38(335544320,189,{_labelChild:0}),fP._38(603979776,190,{_errorChildren:1}),fP._38(603979776,191,{_hintChildren:1}),fP._38(603979776,192,{_prefixChildren:1}),fP._38(603979776,193,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(421,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(422,16384,[[189,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(425,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employment_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,426)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,426).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,426)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,426)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,431)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,431)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,431)._onInput()&&u}return u},null,null)),fP._17(426,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(428,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(430,16384,null,0,EP.s,[EP.r],null,null),fP._17(431,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[187,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(438,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(439,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,2,0,e.employmentForm);l(n,23,0,"employer_name");l(n,26,0,"Name of Employer");l(n,33,0,e.company_list);l(n,39,0,""!=e.employmentForm.controls.employer_name.value);l(n,61,0,"how_long_year");l(n,64,0,"Year","number");l(n,68,0,e.employmentForm.controls.how_long_year.hasError("max"));l(n,85,0,"how_long_month");l(n,88,0,"Month","number");l(n,92,0,e.employmentForm.controls.how_long_month.hasError("max"));l(n,112,0,"total_business_experience");l(n,115,0,"Total Work Experience","number");l(n,122,0,e.employmentForm.controls.total_business_experience.hasError("min"));l(n,127,0,e.workExperienceFlag);l(n,130,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,133,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,136,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,139,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,167,0,"from_date_the_salary_is_rcv");l(n,170,0,"From");l(n,182,0,e.dateonly);l(n,197,0,"to_date_the_salary_is_rcv");l(n,200,0,"To");l(n,212,0,e.todate);l(n,232,0,"");l(n,235,0,"gross_monthly_salary");l(n,238,0,"Gross Monthly Salary","","number");l(n,242,0,""!=e.employmentForm.controls.gross_monthly_salary.value&&""!=e.grossMthlySlryAmtInWords);l(n,261,0,"");l(n,264,0,"net_monthly_salary");l(n,267,0,"Net Monthly Salary","","number");l(n,271,0,""!=e.employmentForm.value.net_monthly_salary&&""!=e.netMthlySlryAmtInWords);l(n,291,0,"amount_paid_in_cash");l(n,294,0,"Amount paid in Cash","number");l(n,298,0,""!=e.employmentForm.controls.amount_paid_in_cash.value&&""!=e.cashAmtInWords);l(n,301,0,e.employmentForm.controls.amount_paid_in_cash.hasError("max"));l(n,321,0,"amount_paid_through_bank");l(n,324,0,"Amount paid through Bank","number");l(n,328,0,""!=e.employmentForm.controls.amount_paid_through_bank.value&&""!=e.bankAmtInWords);l(n,331,0,e.employmentForm.controls.amount_paid_through_bank.hasError("max"));l(n,336,0,""!=e.employmentForm.controls.amount_paid_in_cash.value&&0!=e.employmentForm.controls.amount_paid_in_cash.value);l(n,339,0,"validated"==e.employmentForm.controls.check_validated.value);l(n,342,0,"not validated"==e.employmentForm.controls.check_validated.value);l(n,359,0,"");l(n,362,0,"bonus_incentive");l(n,365,0,"Bonus or Incentive","","number");l(n,369,0,""!=e.employmentForm.controls.bonus_incentive.value&&""!=e.bonusIncentiveAmtInWords);l(n,374,0,""!=e.employmentForm.controls.bonus_incentive.value&&"0"!=e.employmentForm.controls.bonus_incentive.value);l(n,377,0,""!=e.employmentForm.controls.bonus_incentive.value&&"0"!=e.employmentForm.controls.bonus_incentive.value);l(n,380,0,"others"==e.employmentForm.controls.bonus_type.value);l(n,386,0,"any_delays");l(n,389,0,"any_delays");l(n,394,0,"yes");l(n,398,0,"no");l(n,428,0,"employment_remarks");l(n,431,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,25).ngClassUntouched,fP._32(n,25).ngClassTouched,fP._32(n,25).ngClassPristine,fP._32(n,25).ngClassDirty,fP._32(n,25).ngClassValid,fP._32(n,25).ngClassInvalid,fP._32(n,25).ngClassPending,fP._32(n,26).id,fP._32(n,26).tabIndex,fP._32(n,26)._ariaLabel,fP._32(n,26).ariaLabelledby,fP._32(n,26).required.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).errorState,fP._32(n,26).panelOpen?fP._32(n,26)._optionIds:null,fP._32(n,26).multiple,fP._32(n,26)._ariaDescribedby||null,fP._32(n,26)._getAriaActiveDescendant(),fP._32(n,26).disabled,fP._32(n,26).errorState,fP._32(n,26).required]);l(n,47,1,[fP._32(n,48)._control.errorState,fP._32(n,48)._control.errorState,fP._32(n,48)._canLabelFloat,fP._32(n,48)._shouldLabelFloat(),fP._32(n,48)._hideControlPlaceholder(),fP._32(n,48)._control.disabled,fP._32(n,48)._control.focused,"primary"==fP._32(n,48).color,"accent"==fP._32(n,48).color,"warn"==fP._32(n,48).color,fP._32(n,48)._shouldForward("untouched"),fP._32(n,48)._shouldForward("touched"),fP._32(n,48)._shouldForward("pristine"),fP._32(n,48)._shouldForward("dirty"),fP._32(n,48)._shouldForward("valid"),fP._32(n,48)._shouldForward("invalid"),fP._32(n,48)._shouldForward("pending")]);l(n,57,1,[fP._32(n,63).ngClassUntouched,fP._32(n,63).ngClassTouched,fP._32(n,63).ngClassPristine,fP._32(n,63).ngClassDirty,fP._32(n,63).ngClassValid,fP._32(n,63).ngClassInvalid,fP._32(n,63).ngClassPending,fP._32(n,64)._isServer,fP._32(n,64).id,fP._32(n,64).placeholder,fP._32(n,64).disabled,fP._32(n,64).required,fP._32(n,64).readonly,fP._32(n,64)._ariaDescribedby||null,fP._32(n,64).errorState,fP._32(n,64).required.toString()]);l(n,71,1,[fP._32(n,72)._control.errorState,fP._32(n,72)._control.errorState,fP._32(n,72)._canLabelFloat,fP._32(n,72)._shouldLabelFloat(),fP._32(n,72)._hideControlPlaceholder(),fP._32(n,72)._control.disabled,fP._32(n,72)._control.focused,"primary"==fP._32(n,72).color,"accent"==fP._32(n,72).color,"warn"==fP._32(n,72).color,fP._32(n,72)._shouldForward("untouched"),fP._32(n,72)._shouldForward("touched"),fP._32(n,72)._shouldForward("pristine"),fP._32(n,72)._shouldForward("dirty"),fP._32(n,72)._shouldForward("valid"),fP._32(n,72)._shouldForward("invalid"),fP._32(n,72)._shouldForward("pending")]);l(n,81,1,[fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending,fP._32(n,88)._isServer,fP._32(n,88).id,fP._32(n,88).placeholder,fP._32(n,88).disabled,fP._32(n,88).required,fP._32(n,88).readonly,fP._32(n,88)._ariaDescribedby||null,fP._32(n,88).errorState,fP._32(n,88).required.toString()]);l(n,98,1,[fP._32(n,99)._control.errorState,fP._32(n,99)._control.errorState,fP._32(n,99)._canLabelFloat,fP._32(n,99)._shouldLabelFloat(),fP._32(n,99)._hideControlPlaceholder(),fP._32(n,99)._control.disabled,fP._32(n,99)._control.focused,"primary"==fP._32(n,99).color,"accent"==fP._32(n,99).color,"warn"==fP._32(n,99).color,fP._32(n,99)._shouldForward("untouched"),fP._32(n,99)._shouldForward("touched"),fP._32(n,99)._shouldForward("pristine"),fP._32(n,99)._shouldForward("dirty"),fP._32(n,99)._shouldForward("valid"),fP._32(n,99)._shouldForward("invalid"),fP._32(n,99)._shouldForward("pending")]);l(n,108,1,[fP._32(n,114).ngClassUntouched,fP._32(n,114).ngClassTouched,fP._32(n,114).ngClassPristine,fP._32(n,114).ngClassDirty,fP._32(n,114).ngClassValid,fP._32(n,114).ngClassInvalid,fP._32(n,114).ngClassPending,fP._32(n,115)._isServer,fP._32(n,115).id,fP._32(n,115).placeholder,fP._32(n,115).disabled,fP._32(n,115).required,fP._32(n,115).readonly,fP._32(n,115)._ariaDescribedby||null,fP._32(n,115).errorState,fP._32(n,115).required.toString()]);l(n,156,1,[fP._32(n,157)._control.errorState,fP._32(n,157)._control.errorState,fP._32(n,157)._canLabelFloat,fP._32(n,157)._shouldLabelFloat(),fP._32(n,157)._hideControlPlaceholder(),fP._32(n,157)._control.disabled,fP._32(n,157)._control.focused,"primary"==fP._32(n,157).color,"accent"==fP._32(n,157).color,"warn"==fP._32(n,157).color,fP._32(n,157)._shouldForward("untouched"),fP._32(n,157)._shouldForward("touched"),fP._32(n,157)._shouldForward("pristine"),fP._32(n,157)._shouldForward("dirty"),fP._32(n,157)._shouldForward("valid"),fP._32(n,157)._shouldForward("invalid"),fP._32(n,157)._shouldForward("pending")]);l(n,166,1,[fP._32(n,169).ngClassUntouched,fP._32(n,169).ngClassTouched,fP._32(n,169).ngClassPristine,fP._32(n,169).ngClassDirty,fP._32(n,169).ngClassValid,fP._32(n,169).ngClassInvalid,fP._32(n,169).ngClassPending,fP._32(n,170).id,fP._32(n,170).tabIndex,fP._32(n,170)._ariaLabel,fP._32(n,170).ariaLabelledby,fP._32(n,170).required.toString(),fP._32(n,170).disabled.toString(),fP._32(n,170).errorState,fP._32(n,170).panelOpen?fP._32(n,170)._optionIds:null,fP._32(n,170).multiple,fP._32(n,170)._ariaDescribedby||null,fP._32(n,170)._getAriaActiveDescendant(),fP._32(n,170).disabled,fP._32(n,170).errorState,fP._32(n,170).required]);l(n,177,0,fP._32(n,178)._getTabIndex(),fP._32(n,178).selected,fP._32(n,178).multiple,fP._32(n,178).active,fP._32(n,178).id,fP._32(n,178).selected.toString(),fP._32(n,178).disabled.toString(),fP._32(n,178).disabled);l(n,186,1,[fP._32(n,187)._control.errorState,fP._32(n,187)._control.errorState,fP._32(n,187)._canLabelFloat,fP._32(n,187)._shouldLabelFloat(),fP._32(n,187)._hideControlPlaceholder(),fP._32(n,187)._control.disabled,fP._32(n,187)._control.focused,"primary"==fP._32(n,187).color,"accent"==fP._32(n,187).color,"warn"==fP._32(n,187).color,fP._32(n,187)._shouldForward("untouched"),fP._32(n,187)._shouldForward("touched"),fP._32(n,187)._shouldForward("pristine"),fP._32(n,187)._shouldForward("dirty"),fP._32(n,187)._shouldForward("valid"),fP._32(n,187)._shouldForward("invalid"),fP._32(n,187)._shouldForward("pending")]);l(n,196,1,[fP._32(n,199).ngClassUntouched,fP._32(n,199).ngClassTouched,fP._32(n,199).ngClassPristine,fP._32(n,199).ngClassDirty,fP._32(n,199).ngClassValid,fP._32(n,199).ngClassInvalid,fP._32(n,199).ngClassPending,fP._32(n,200).id,fP._32(n,200).tabIndex,fP._32(n,200)._ariaLabel,fP._32(n,200).ariaLabelledby,fP._32(n,200).required.toString(),fP._32(n,200).disabled.toString(),fP._32(n,200).errorState,fP._32(n,200).panelOpen?fP._32(n,200)._optionIds:null,fP._32(n,200).multiple,fP._32(n,200)._ariaDescribedby||null,fP._32(n,200)._getAriaActiveDescendant(),fP._32(n,200).disabled,fP._32(n,200).errorState,fP._32(n,200).required]);l(n,207,0,fP._32(n,208)._getTabIndex(),fP._32(n,208).selected,fP._32(n,208).multiple,fP._32(n,208).active,fP._32(n,208).id,fP._32(n,208).selected.toString(),fP._32(n,208).disabled.toString(),fP._32(n,208).disabled);l(n,219,1,[fP._32(n,220)._control.errorState,fP._32(n,220)._control.errorState,fP._32(n,220)._canLabelFloat,fP._32(n,220)._shouldLabelFloat(),fP._32(n,220)._hideControlPlaceholder(),fP._32(n,220)._control.disabled,fP._32(n,220)._control.focused,"primary"==fP._32(n,220).color,"accent"==fP._32(n,220).color,"warn"==fP._32(n,220).color,fP._32(n,220)._shouldForward("untouched"),fP._32(n,220)._shouldForward("touched"),fP._32(n,220)._shouldForward("pristine"),fP._32(n,220)._shouldForward("dirty"),fP._32(n,220)._shouldForward("valid"),fP._32(n,220)._shouldForward("invalid"),fP._32(n,220)._shouldForward("pending")]);l(n,229,1,[fP._32(n,232).required?"":null,fP._32(n,237).ngClassUntouched,fP._32(n,237).ngClassTouched,fP._32(n,237).ngClassPristine,fP._32(n,237).ngClassDirty,fP._32(n,237).ngClassValid,fP._32(n,237).ngClassInvalid,fP._32(n,237).ngClassPending,fP._32(n,238)._isServer,fP._32(n,238).id,fP._32(n,238).placeholder,fP._32(n,238).disabled,fP._32(n,238).required,fP._32(n,238).readonly,fP._32(n,238)._ariaDescribedby||null,fP._32(n,238).errorState,fP._32(n,238).required.toString()]);l(n,248,1,[fP._32(n,249)._control.errorState,fP._32(n,249)._control.errorState,fP._32(n,249)._canLabelFloat,fP._32(n,249)._shouldLabelFloat(),fP._32(n,249)._hideControlPlaceholder(),fP._32(n,249)._control.disabled,fP._32(n,249)._control.focused,"primary"==fP._32(n,249).color,"accent"==fP._32(n,249).color,"warn"==fP._32(n,249).color,fP._32(n,249)._shouldForward("untouched"),fP._32(n,249)._shouldForward("touched"),fP._32(n,249)._shouldForward("pristine"),fP._32(n,249)._shouldForward("dirty"),fP._32(n,249)._shouldForward("valid"),fP._32(n,249)._shouldForward("invalid"),fP._32(n,249)._shouldForward("pending")]);l(n,258,1,[fP._32(n,261).required?"":null,fP._32(n,266).ngClassUntouched,fP._32(n,266).ngClassTouched,fP._32(n,266).ngClassPristine,fP._32(n,266).ngClassDirty,fP._32(n,266).ngClassValid,fP._32(n,266).ngClassInvalid,fP._32(n,266).ngClassPending,fP._32(n,267)._isServer,fP._32(n,267).id,fP._32(n,267).placeholder,fP._32(n,267).disabled,fP._32(n,267).required,fP._32(n,267).readonly,fP._32(n,267)._ariaDescribedby||null,fP._32(n,267).errorState,fP._32(n,267).required.toString()]);l(n,277,1,[fP._32(n,278)._control.errorState,fP._32(n,278)._control.errorState,fP._32(n,278)._canLabelFloat,fP._32(n,278)._shouldLabelFloat(),fP._32(n,278)._hideControlPlaceholder(),fP._32(n,278)._control.disabled,fP._32(n,278)._control.focused,"primary"==fP._32(n,278).color,"accent"==fP._32(n,278).color,"warn"==fP._32(n,278).color,fP._32(n,278)._shouldForward("untouched"),fP._32(n,278)._shouldForward("touched"),fP._32(n,278)._shouldForward("pristine"),fP._32(n,278)._shouldForward("dirty"),fP._32(n,278)._shouldForward("valid"),fP._32(n,278)._shouldForward("invalid"),fP._32(n,278)._shouldForward("pending")]);l(n,287,1,[fP._32(n,293).ngClassUntouched,fP._32(n,293).ngClassTouched,fP._32(n,293).ngClassPristine,fP._32(n,293).ngClassDirty,fP._32(n,293).ngClassValid,fP._32(n,293).ngClassInvalid,fP._32(n,293).ngClassPending,fP._32(n,294)._isServer,fP._32(n,294).id,fP._32(n,294).placeholder,fP._32(n,294).disabled,fP._32(n,294).required,fP._32(n,294).readonly,fP._32(n,294)._ariaDescribedby||null,fP._32(n,294).errorState,fP._32(n,294).required.toString()]);l(n,307,1,[fP._32(n,308)._control.errorState,fP._32(n,308)._control.errorState,fP._32(n,308)._canLabelFloat,fP._32(n,308)._shouldLabelFloat(),fP._32(n,308)._hideControlPlaceholder(),fP._32(n,308)._control.disabled,fP._32(n,308)._control.focused,"primary"==fP._32(n,308).color,"accent"==fP._32(n,308).color,"warn"==fP._32(n,308).color,fP._32(n,308)._shouldForward("untouched"),fP._32(n,308)._shouldForward("touched"),fP._32(n,308)._shouldForward("pristine"),fP._32(n,308)._shouldForward("dirty"),fP._32(n,308)._shouldForward("valid"),fP._32(n,308)._shouldForward("invalid"),fP._32(n,308)._shouldForward("pending")]);l(n,317,1,[fP._32(n,323).ngClassUntouched,fP._32(n,323).ngClassTouched,fP._32(n,323).ngClassPristine,fP._32(n,323).ngClassDirty,fP._32(n,323).ngClassValid,fP._32(n,323).ngClassInvalid,fP._32(n,323).ngClassPending,fP._32(n,324)._isServer,fP._32(n,324).id,fP._32(n,324).placeholder,fP._32(n,324).disabled,fP._32(n,324).required,fP._32(n,324).readonly,fP._32(n,324)._ariaDescribedby||null,fP._32(n,324).errorState,fP._32(n,324).required.toString()]);l(n,346,1,[fP._32(n,347)._control.errorState,fP._32(n,347)._control.errorState,fP._32(n,347)._canLabelFloat,fP._32(n,347)._shouldLabelFloat(),fP._32(n,347)._hideControlPlaceholder(),fP._32(n,347)._control.disabled,fP._32(n,347)._control.focused,"primary"==fP._32(n,347).color,"accent"==fP._32(n,347).color,"warn"==fP._32(n,347).color,fP._32(n,347)._shouldForward("untouched"),fP._32(n,347)._shouldForward("touched"),fP._32(n,347)._shouldForward("pristine"),fP._32(n,347)._shouldForward("dirty"),fP._32(n,347)._shouldForward("valid"),fP._32(n,347)._shouldForward("invalid"),fP._32(n,347)._shouldForward("pending")]);l(n,356,1,[fP._32(n,359).required?"":null,fP._32(n,364).ngClassUntouched,fP._32(n,364).ngClassTouched,fP._32(n,364).ngClassPristine,fP._32(n,364).ngClassDirty,fP._32(n,364).ngClassValid,fP._32(n,364).ngClassInvalid,fP._32(n,364).ngClassPending,fP._32(n,365)._isServer,fP._32(n,365).id,fP._32(n,365).placeholder,fP._32(n,365).disabled,fP._32(n,365).required,fP._32(n,365).readonly,fP._32(n,365)._ariaDescribedby||null,fP._32(n,365).errorState,fP._32(n,365).required.toString()]);l(n,385,0,fP._32(n,391).ngClassUntouched,fP._32(n,391).ngClassTouched,fP._32(n,391).ngClassPristine,fP._32(n,391).ngClassDirty,fP._32(n,391).ngClassValid,fP._32(n,391).ngClassInvalid,fP._32(n,391).ngClassPending);l(n,393,0,fP._32(n,394).checked,fP._32(n,394).disabled,fP._32(n,394).id);l(n,397,0,fP._32(n,398).checked,fP._32(n,398).disabled,fP._32(n,398).id);l(n,411,1,[fP._32(n,412)._control.errorState,fP._32(n,412)._control.errorState,fP._32(n,412)._canLabelFloat,fP._32(n,412)._shouldLabelFloat(),fP._32(n,412)._hideControlPlaceholder(),fP._32(n,412)._control.disabled,fP._32(n,412)._control.focused,"primary"==fP._32(n,412).color,"accent"==fP._32(n,412).color,"warn"==fP._32(n,412).color,fP._32(n,412)._shouldForward("untouched"),fP._32(n,412)._shouldForward("touched"),fP._32(n,412)._shouldForward("pristine"),fP._32(n,412)._shouldForward("dirty"),fP._32(n,412)._shouldForward("valid"),fP._32(n,412)._shouldForward("invalid"),fP._32(n,412)._shouldForward("pending")]);l(n,425,1,[fP._32(n,430).ngClassUntouched,fP._32(n,430).ngClassTouched,fP._32(n,430).ngClassPristine,fP._32(n,430).ngClassDirty,fP._32(n,430).ngClassValid,fP._32(n,430).ngClassInvalid,fP._32(n,430).ngClassPending,fP._32(n,431)._isServer,fP._32(n,431).id,fP._32(n,431).placeholder,fP._32(n,431).disabled,fP._32(n,431).required,fP._32(n,431).readonly,fP._32(n,431)._ariaDescribedby||null,fP._32(n,431).errorState,fP._32(n,431).required.toString()])})}function ha(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._38(671088640,1,{expFocus:0}),fP._38(671088640,2,{inputCashPaidFocus:0}),fP._38(671088640,3,{inputYearFocus:0}),(l()(),fP._18(4,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(5,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(8,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(10,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,12).toggle()&&u}return u},aV.b,aV.a)),fP._17(11,1097728,[[4,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(12,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(13,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Ft)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(23,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(24,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,5,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(30,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(31,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,xt)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(40,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,6,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47).onClick()&&u}return u},dV.b,dV.a)),fP._17(47,114688,[[6,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51).onClick()&&u}return u},dV.b,dV.a)),fP._17(51,114688,[[6,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(56,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(57,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(60,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nt)),fP._17(63,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fa)),fP._17(66,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,8,0,"optblue");l(n,12,0,"");l(n,17,0,"menu");l(n,21,0,!e.viewchange);l(n,31,0,"md-camera");l(n,35,0,!e.complete_status);l(n,40,0,e.tab);l(n,43,0,"optblue");l(n,47,0,"0");l(n,51,0,"1");l(n,60,0,e.tab);l(n,63,0,"1");l(n,66,0,"0")},function(l,n){l(n,7,0,fP._32(n,8)._hidden,fP._32(n,8)._sbPadding);l(n,10,0,fP._32(n,12).isHidden);l(n,16,0,fP._32(n,17)._hidden);l(n,30,0,fP._32(n,31)._hidden);l(n,39,0,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._disabled);l(n,46,0,fP._32(n,47)._disabled,fP._32(n,47).isActive,fP._32(n,47).isActive);l(n,50,0,fP._32(n,51)._disabled,fP._32(n,51).isActive,fP._32(n,51).isActive);l(n,56,0,fP._32(n,57).statusbarPadding,fP._32(n,57)._hasRefresher)})}function ga(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function ba(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdfamily(t.familyForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function va(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function ya(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ca(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function wa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Fa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ya)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ca)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wa)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function xa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fa)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function ka(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Sa(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Ia(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ka)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Sa)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function qa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ia)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Pa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Da(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,va)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,xa)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,qa)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Pa)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Ta(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.pd_co_applicant_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function Oa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[7,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Applicant\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function La(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[21,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Aa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[32,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Va(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[50,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function Na(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,54,{_control:0}),fP._38(335544320,55,{_placeholderChild:0}),fP._38(335544320,56,{_labelChild:0}),fP._38(603979776,57,{_errorChildren:1}),fP._38(603979776,58,{_hintChildren:1}),fP._38(603979776,59,{_prefixChildren:1}),fP._38(603979776,60,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_other_pincode"],["matInput",""],["placeholder","Specify Pincode"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[54,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"residence_other_pincode");l(n,17,0,"Specify Pincode","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function Wa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[75,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ea(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[82,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.RentAmount[n.parent.parent.context.index])})}function ja(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,78,{_control:0}),fP._38(335544320,79,{_placeholderChild:0}),fP._38(335544320,80,{_labelChild:0}),fP._38(603979776,81,{_errorChildren:1}),fP._38(603979776,82,{_hintChildren:1}),fP._38(603979776,83,{_prefixChildren:1}),fP._38(603979776,84,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent"],["matInput",""],["placeholder","Monthly Rent Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[78,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Ea)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n"]))],function(l,n){l(n,14,0,"rent");l(n,17,0,"Monthly Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("rent").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function $a(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,85,{_control:0}),fP._38(335544320,86,{_placeholderChild:0}),fP._38(335544320,87,{_labelChild:0}),fP._38(603979776,88,{_errorChildren:1}),fP._38(603979776,89,{_hintChildren:1}),fP._38(603979776,90,{_prefixChildren:1}),fP._38(603979776,91,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ownershipOther"],["matInput",""],["placeholder"," Specify Ownership"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[85,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"ownershipOther");l(n,16,0," Specify Ownership","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ba(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[100,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ra(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[117,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.relationship_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ua(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.type)})}function Ma(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[145,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.earning_member_status_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.earning_member_status)})}function Ka(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,148,{_control:0}),fP._38(335544320,149,{_placeholderChild:0}),fP._38(335544320,150,{_labelChild:0}),fP._38(603979776,151,{_errorChildren:1}),fP._38(603979776,152,{_hintChildren:1}),fP._38(603979776,153,{_prefixChildren:1}),fP._38(603979776,154,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_if_others_segment"],["matInput",""],["placeholder","Specify Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[148,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"earning_if_others_segment");l(n,16,0,"Specify Others")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ha(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[159,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.IncomePerMonth[n.parent.parent.context.index])})}function Ga(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,102,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Earning Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,138,{_control:0}),fP._38(335544320,139,{_placeholderChild:0}),fP._38(335544320,140,{_labelChild:0}),fP._38(603979776,141,{_errorChildren:1}),fP._38(603979776,142,{_hintChildren:1}),fP._38(603979776,143,{_prefixChildren:1}),fP._38(603979776,144,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","earning_segment"],["placeholder","Segment"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,145,{options:1}),fP._38(603979776,146,{optionGroups:1}),fP._38(335544320,147,{customTrigger:0}),fP._37(2048,[[138,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,27)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(27,8437760,[[145,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ma)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ka)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(39,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,155,{_control:0}),fP._38(335544320,156,{_placeholderChild:0}),fP._38(335544320,157,{_labelChild:0}),fP._38(603979776,158,{_errorChildren:1}),fP._38(603979776,159,{_hintChildren:1}),fP._38(603979776,160,{_prefixChildren:1}),fP._38(603979776,161,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_gross_income_per_month"],["matInput",""],["placeholder","Income Per Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,49)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,49).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,49)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,49)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,50).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,50).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,55)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),fP._17(49,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(50,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(52,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(54,16384,null,0,EP.s,[EP.r],null,null),fP._17(55,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[155,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Ha)),fP._17(59,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(63,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,162,{_control:0}),fP._38(335544320,163,{_placeholderChild:0}),fP._38(335544320,164,{_labelChild:0}),fP._38(603979776,165,{_errorChildren:1}),fP._38(603979776,166,{_hintChildren:1}),fP._38(603979776,167,{_prefixChildren:1}),fP._38(603979776,168,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(72,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_name_of_the_employer_or_business"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,78)._onInput()&&u}return u},null,null)),fP._17(73,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(75,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(77,16384,null,0,EP.s,[EP.r],null,null),fP._17(78,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[162,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(82,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(83,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,169,{_control:0}),fP._38(335544320,170,{_placeholderChild:0}),fP._38(335544320,171,{_labelChild:0}),fP._38(603979776,172,{_errorChildren:1}),fP._38(603979776,173,{_hintChildren:1}),fP._38(603979776,174,{_prefixChildren:1}),fP._38(603979776,175,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(92,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_number_of_years_in_employment_or_business"],["matInput",""],["placeholder","No. of years in Employer/Business"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,93)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,93).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,93)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,93)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,94).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,94).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,94).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,99)._onInput()&&u}return u},null,null)),fP._17(93,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(94,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(96,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(98,16384,null,0,EP.s,[EP.r],null,null),fP._17(99,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[169,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,16,0,"earning_segment");l(n,19,0,"Segment");l(n,31,0,e.cusSeg);l(n,36,0,1==n.parent.context.$implicit.get("earning_segment").value);l(n,52,0,"earning_gross_income_per_month");l(n,55,0,"Income Per Month","number");l(n,59,0,""!=n.parent.context.$implicit.get("earning_gross_income_per_month").value);l(n,75,0,"earning_name_of_the_employer_or_business");l(n,78,0,5!=n.parent.context.$implicit.get("earning_segment").value?"Name of the Employer/Business":"Pension Received From");l(n,96,0,"earning_number_of_years_in_employment_or_business");l(n,99,0,"No. of years in Employer/Business","number")},function(l,n){l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required]);l(n,26,0,fP._32(n,27)._getTabIndex(),fP._32(n,27).selected,fP._32(n,27).multiple,fP._32(n,27).active,fP._32(n,27).id,fP._32(n,27).selected.toString(),fP._32(n,27).disabled.toString(),fP._32(n,27).disabled);l(n,38,1,[fP._32(n,39)._control.errorState,fP._32(n,39)._control.errorState,fP._32(n,39)._canLabelFloat,fP._32(n,39)._shouldLabelFloat(),fP._32(n,39)._hideControlPlaceholder(),fP._32(n,39)._control.disabled,fP._32(n,39)._control.focused,"primary"==fP._32(n,39).color,"accent"==fP._32(n,39).color,"warn"==fP._32(n,39).color,fP._32(n,39)._shouldForward("untouched"),fP._32(n,39)._shouldForward("touched"),fP._32(n,39)._shouldForward("pristine"),fP._32(n,39)._shouldForward("dirty"),fP._32(n,39)._shouldForward("valid"),fP._32(n,39)._shouldForward("invalid"),fP._32(n,39)._shouldForward("pending")]);l(n,48,1,[fP._32(n,54).ngClassUntouched,fP._32(n,54).ngClassTouched,fP._32(n,54).ngClassPristine,fP._32(n,54).ngClassDirty,fP._32(n,54).ngClassValid,fP._32(n,54).ngClassInvalid,fP._32(n,54).ngClassPending,fP._32(n,55)._isServer,fP._32(n,55).id,fP._32(n,55).placeholder,fP._32(n,55).disabled,fP._32(n,55).required,fP._32(n,55).readonly,fP._32(n,55)._ariaDescribedby||null,fP._32(n,55).errorState,fP._32(n,55).required.toString()]);l(n,62,1,[fP._32(n,63)._control.errorState,fP._32(n,63)._control.errorState,fP._32(n,63)._canLabelFloat,fP._32(n,63)._shouldLabelFloat(),fP._32(n,63)._hideControlPlaceholder(),fP._32(n,63)._control.disabled,fP._32(n,63)._control.focused,"primary"==fP._32(n,63).color,"accent"==fP._32(n,63).color,"warn"==fP._32(n,63).color,fP._32(n,63)._shouldForward("untouched"),fP._32(n,63)._shouldForward("touched"),fP._32(n,63)._shouldForward("pristine"),fP._32(n,63)._shouldForward("dirty"),fP._32(n,63)._shouldForward("valid"),fP._32(n,63)._shouldForward("invalid"),fP._32(n,63)._shouldForward("pending")]);l(n,72,1,[fP._32(n,77).ngClassUntouched,fP._32(n,77).ngClassTouched,fP._32(n,77).ngClassPristine,fP._32(n,77).ngClassDirty,fP._32(n,77).ngClassValid,fP._32(n,77).ngClassInvalid,fP._32(n,77).ngClassPending,fP._32(n,78)._isServer,fP._32(n,78).id,fP._32(n,78).placeholder,fP._32(n,78).disabled,fP._32(n,78).required,fP._32(n,78).readonly,fP._32(n,78)._ariaDescribedby||null,fP._32(n,78).errorState,fP._32(n,78).required.toString()]);l(n,82,1,[fP._32(n,83)._control.errorState,fP._32(n,83)._control.errorState,fP._32(n,83)._canLabelFloat,fP._32(n,83)._shouldLabelFloat(),fP._32(n,83)._hideControlPlaceholder(),fP._32(n,83)._control.disabled,fP._32(n,83)._control.focused,"primary"==fP._32(n,83).color,"accent"==fP._32(n,83).color,"warn"==fP._32(n,83).color,fP._32(n,83)._shouldForward("untouched"),fP._32(n,83)._shouldForward("touched"),fP._32(n,83)._shouldForward("pristine"),fP._32(n,83)._shouldForward("dirty"),fP._32(n,83)._shouldForward("valid"),fP._32(n,83)._shouldForward("invalid"),fP._32(n,83)._shouldForward("pending")]);l(n,92,1,[fP._32(n,98).ngClassUntouched,fP._32(n,98).ngClassTouched,fP._32(n,98).ngClassPristine,fP._32(n,98).ngClassDirty,fP._32(n,98).ngClassValid,fP._32(n,98).ngClassInvalid,fP._32(n,98).ngClassPending,fP._32(n,99)._isServer,fP._32(n,99).id,fP._32(n,99).placeholder,fP._32(n,99).disabled,fP._32(n,99).required,fP._32(n,99).readonly,fP._32(n,99)._ariaDescribedby||null,fP._32(n,99).errorState,fP._32(n,99).required.toString()])})}function za(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[183,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.occupation_non_earning_member_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ya(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[179,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Non Earning Occupation\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Qa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,186,{_control:0}),fP._38(335544320,187,{_placeholderChild:0}),fP._38(335544320,188,{_labelChild:0}),fP._38(603979776,189,{_errorChildren:1}),fP._38(603979776,190,{_hintChildren:1}),fP._38(603979776,191,{_prefixChildren:1}),fP._38(603979776,192,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_others"],["matInput",""],["placeholder","Specify Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[186,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_others");l(n,16,0,"Specify Others")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ja(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,193,{_control:0}),fP._38(335544320,194,{_placeholderChild:0}),fP._38(335544320,195,{_labelChild:0}),fP._38(603979776,196,{_errorChildren:1}),fP._38(603979776,197,{_hintChildren:1}),fP._38(603979776,198,{_prefixChildren:1}),fP._38(603979776,199,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_schoolorcollege"],["matInput",""],["placeholder","Specify School/College Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[193,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_schoolorcollege");l(n,16,0,"Specify School/College Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Xa(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,200,{_control:0}),fP._38(335544320,201,{_placeholderChild:0}),fP._38(335544320,202,{_labelChild:0}),fP._38(603979776,203,{_errorChildren:1}),fP._38(603979776,204,{_hintChildren:1}),fP._38(603979776,205,{_prefixChildren:1}),fP._38(603979776,206,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_retired_from"],["matInput",""],["placeholder","Retired From"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[200,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_retired_from");l(n,16,0,"Retired From","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Za(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,176,{_control:0}),fP._38(335544320,177,{_placeholderChild:0}),fP._38(335544320,178,{_labelChild:0}),fP._38(603979776,179,{_errorChildren:1}),fP._38(603979776,180,{_hintChildren:1}),fP._38(603979776,181,{_prefixChildren:1}),fP._38(603979776,182,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","non_earning_occupation"],["placeholder","Occupation"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,18)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,18)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,18)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(13,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,183,{options:1}),fP._38(603979776,184,{optionGroups:1}),fP._38(335544320,185,{customTrigger:0}),fP._37(2048,[[176,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[183,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,za)),fP._17(30,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Ya)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qa)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ja)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xa)),fP._17(44,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,15,0,"non_earning_occupation");l(n,18,0,"Occupation","");l(n,30,0,e.occupationData);l(n,34,0,null==n.parent.context.$implicit.controls.non_earning_occupation.errors?null:n.parent.context.$implicit.controls.non_earning_occupation.errors.required);l(n,38,0,1==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,41,0,2==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,44,0,3==n.parent.context.$implicit.get("non_earning_occupation").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,13).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18).id,fP._32(n,18).tabIndex,fP._32(n,18)._ariaLabel,fP._32(n,18).ariaLabelledby,fP._32(n,18).required.toString(),fP._32(n,18).disabled.toString(),fP._32(n,18).errorState,fP._32(n,18).panelOpen?fP._32(n,18)._optionIds:null,fP._32(n,18).multiple,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18)._getAriaActiveDescendant(),fP._32(n,18).disabled,fP._32(n,18).errorState,fP._32(n,18).required]);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled)})}function li(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMemberDet(l.parent.parent.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function ni(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,187,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,[" \n \n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-header",[["appearence","outline"],["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(7,2,["Family Details # "," Of ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,93,{_control:0}),fP._38(335544320,94,{_placeholderChild:0}),fP._38(335544320,95,{_labelChild:0}),fP._38(603979776,96,{_errorChildren:1}),fP._38(603979776,97,{_hintChildren:1}),fP._38(603979776,98,{_prefixChildren:1}),fP._38(603979776,99,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","family_member_salutation"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,100,{options:1}),fP._38(603979776,101,{optionGroups:1}),fP._38(335544320,102,{customTrigger:0}),fP._37(2048,[[93,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[100,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ba)),fP._17(35,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(40,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,103,{_control:0}),fP._38(335544320,104,{_placeholderChild:0}),fP._38(335544320,105,{_labelChild:0}),fP._38(603979776,106,{_errorChildren:1}),fP._38(603979776,107,{_hintChildren:1}),fP._38(603979776,108,{_prefixChildren:1}),fP._38(603979776,109,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,55)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.context.$implicit)&&u}return u},null,null)),fP._17(50,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(52,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(54,16384,null,0,EP.s,[EP.r],null,null),fP._17(55,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[103,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(60,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,110,{_control:0}),fP._38(335544320,111,{_placeholderChild:0}),fP._38(335544320,112,{_labelChild:0}),fP._38(603979776,113,{_errorChildren:1}),fP._38(603979776,114,{_hintChildren:1}),fP._38(603979776,115,{_prefixChildren:1}),fP._38(603979776,116,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","family_member_relationship"],["placeholder","Relationship *"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,73)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,73)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,73)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(70,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(72,16384,null,0,EP.s,[EP.r],null,null),fP._17(73,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,117,{options:1}),fP._38(603979776,118,{optionGroups:1}),fP._38(335544320,119,{customTrigger:0}),fP._37(2048,[[110,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(80,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,81)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,81)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(81,8437760,[[117,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(84,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,85)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,85)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(85,8437760,[[117,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(87,0,null,0,11,"ngx-mat-select-search",[["formControlName","relationSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchRelation(l.context.$implicit)&&u}return u},dN.b,dN.a)),fP._17(88,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,120,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(95,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(96,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(97,16384,[[120,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,102)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(102,8437760,[[117,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ra)),fP._17(106,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(111,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,121,{_control:0}),fP._38(335544320,122,{_placeholderChild:0}),fP._38(335544320,123,{_labelChild:0}),fP._38(603979776,124,{_errorChildren:1}),fP._38(603979776,125,{_hintChildren:1}),fP._38(603979776,126,{_prefixChildren:1}),fP._38(603979776,127,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(120,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_age"],["matInput",""],["placeholder","Age"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,121)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,121).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,121)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,121)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,122).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,122).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,122).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,127)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,127)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,127)._onInput()&&u}return u},null,null)),fP._17(121,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(122,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(124,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(126,16384,null,0,EP.s,[EP.r],null,null),fP._17(127,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[121,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(131,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(132,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,128,{_control:0}),fP._38(335544320,129,{_placeholderChild:0}),fP._38(335544320,130,{_labelChild:0}),fP._38(603979776,131,{_errorChildren:1}),fP._38(603979776,132,{_hintChildren:1}),fP._38(603979776,133,{_prefixChildren:1}),fP._38(603979776,134,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(141,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","family_member_earning_status"],["placeholder","Earning Status *"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,145)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,145)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,145)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setValidation(l.context.$implicit)&&u}return u},tN.b,tN.a)),fP._17(142,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(144,16384,null,0,EP.s,[EP.r],null,null),fP._17(145,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,135,{options:1}),fP._38(603979776,136,{optionGroups:1}),fP._38(335544320,137,{customTrigger:0}),fP._37(2048,[[128,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(152,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,153)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,153)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(153,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ua)),fP._17(157,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ga)),fP._17(162,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Za)),fP._17(165,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(167,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(168,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,207,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(171,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(172,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(174,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeMemberDet(l.context.index,l.parent.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(175,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(176,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(177,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(180,0,null,null,5,"ion-col",[["class","col"],["col-1",""],["offset-1",""]],null,null,null,null,null)),fP._17(181,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,li)),fP._17(184,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"family_member_salutation");l(n,23,0,"Title");l(n,35,0,e.titleList);l(n,52,0,"family_member_name");l(n,55,0,"Name","text");l(n,70,0,"family_member_relationship");l(n,73,0,"Relationship *");l(n,88,0,"Search Relation","No Records Found");l(n,91,0,"relationSearch");l(n,96,0,"md-close");l(n,106,0,e.relationDataValue);l(n,124,0,"family_member_age");l(n,127,0,"Age","number");l(n,142,0,"family_member_earning_status");l(n,145,0,"Earning Status *");l(n,157,0,e.earningStatus);l(n,162,0,1==n.context.$implicit.get("family_member_earning_status").value);l(n,165,0,2==n.context.$implicit.get("family_member_earning_status").value);l(n,175,0,"optblue","");l(n,177,0,"md-trash");l(n,184,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1,e.FamilyMemberAsLabel[n.parent.parent.context.index]);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,39,1,[fP._32(n,40)._control.errorState,fP._32(n,40)._control.errorState,fP._32(n,40)._canLabelFloat,fP._32(n,40)._shouldLabelFloat(),fP._32(n,40)._hideControlPlaceholder(),fP._32(n,40)._control.disabled,fP._32(n,40)._control.focused,"primary"==fP._32(n,40).color,"accent"==fP._32(n,40).color,"warn"==fP._32(n,40).color,fP._32(n,40)._shouldForward("untouched"),fP._32(n,40)._shouldForward("touched"),fP._32(n,40)._shouldForward("pristine"),fP._32(n,40)._shouldForward("dirty"),fP._32(n,40)._shouldForward("valid"),fP._32(n,40)._shouldForward("invalid"),fP._32(n,40)._shouldForward("pending")]);l(n,49,1,[fP._32(n,54).ngClassUntouched,fP._32(n,54).ngClassTouched,fP._32(n,54).ngClassPristine,fP._32(n,54).ngClassDirty,fP._32(n,54).ngClassValid,fP._32(n,54).ngClassInvalid,fP._32(n,54).ngClassPending,fP._32(n,55)._isServer,fP._32(n,55).id,fP._32(n,55).placeholder,fP._32(n,55).disabled,fP._32(n,55).required,fP._32(n,55).readonly,fP._32(n,55)._ariaDescribedby||null,fP._32(n,55).errorState,fP._32(n,55).required.toString()]);l(n,59,1,[fP._32(n,60)._control.errorState,fP._32(n,60)._control.errorState,fP._32(n,60)._canLabelFloat,fP._32(n,60)._shouldLabelFloat(),fP._32(n,60)._hideControlPlaceholder(),fP._32(n,60)._control.disabled,fP._32(n,60)._control.focused,"primary"==fP._32(n,60).color,"accent"==fP._32(n,60).color,"warn"==fP._32(n,60).color,fP._32(n,60)._shouldForward("untouched"),fP._32(n,60)._shouldForward("touched"),fP._32(n,60)._shouldForward("pristine"),fP._32(n,60)._shouldForward("dirty"),fP._32(n,60)._shouldForward("valid"),fP._32(n,60)._shouldForward("invalid"),fP._32(n,60)._shouldForward("pending")]);l(n,69,1,[fP._32(n,72).ngClassUntouched,fP._32(n,72).ngClassTouched,fP._32(n,72).ngClassPristine,fP._32(n,72).ngClassDirty,fP._32(n,72).ngClassValid,fP._32(n,72).ngClassInvalid,fP._32(n,72).ngClassPending,fP._32(n,73).id,fP._32(n,73).tabIndex,fP._32(n,73)._ariaLabel,fP._32(n,73).ariaLabelledby,fP._32(n,73).required.toString(),fP._32(n,73).disabled.toString(),fP._32(n,73).errorState,fP._32(n,73).panelOpen?fP._32(n,73)._optionIds:null,fP._32(n,73).multiple,fP._32(n,73)._ariaDescribedby||null,fP._32(n,73)._getAriaActiveDescendant(),fP._32(n,73).disabled,fP._32(n,73).errorState,fP._32(n,73).required]);l(n,80,0,fP._32(n,81)._getTabIndex(),fP._32(n,81).selected,fP._32(n,81).multiple,fP._32(n,81).active,fP._32(n,81).id,fP._32(n,81).selected.toString(),fP._32(n,81).disabled.toString(),fP._32(n,81).disabled);l(n,84,0,fP._32(n,85)._getTabIndex(),fP._32(n,85).selected,fP._32(n,85).multiple,fP._32(n,85).active,fP._32(n,85).id,fP._32(n,85).selected.toString(),fP._32(n,85).disabled.toString(),fP._32(n,85).disabled);l(n,87,0,fP._32(n,88).isInsideMatOption,fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending);l(n,95,0,fP._32(n,96)._hidden);l(n,101,0,fP._32(n,102)._getTabIndex(),fP._32(n,102).selected,fP._32(n,102).multiple,fP._32(n,102).active,fP._32(n,102).id,fP._32(n,102).selected.toString(),fP._32(n,102).disabled.toString(),fP._32(n,102).disabled);l(n,110,1,[fP._32(n,111)._control.errorState,fP._32(n,111)._control.errorState,fP._32(n,111)._canLabelFloat,fP._32(n,111)._shouldLabelFloat(),fP._32(n,111)._hideControlPlaceholder(),fP._32(n,111)._control.disabled,fP._32(n,111)._control.focused,"primary"==fP._32(n,111).color,"accent"==fP._32(n,111).color,"warn"==fP._32(n,111).color,fP._32(n,111)._shouldForward("untouched"),fP._32(n,111)._shouldForward("touched"),fP._32(n,111)._shouldForward("pristine"),fP._32(n,111)._shouldForward("dirty"),fP._32(n,111)._shouldForward("valid"),fP._32(n,111)._shouldForward("invalid"),fP._32(n,111)._shouldForward("pending")]);l(n,120,1,[fP._32(n,126).ngClassUntouched,fP._32(n,126).ngClassTouched,fP._32(n,126).ngClassPristine,fP._32(n,126).ngClassDirty,fP._32(n,126).ngClassValid,fP._32(n,126).ngClassInvalid,fP._32(n,126).ngClassPending,fP._32(n,127)._isServer,fP._32(n,127).id,fP._32(n,127).placeholder,fP._32(n,127).disabled,fP._32(n,127).required,fP._32(n,127).readonly,fP._32(n,127)._ariaDescribedby||null,fP._32(n,127).errorState,fP._32(n,127).required.toString()]);l(n,131,1,[fP._32(n,132)._control.errorState,fP._32(n,132)._control.errorState,fP._32(n,132)._canLabelFloat,fP._32(n,132)._shouldLabelFloat(),fP._32(n,132)._hideControlPlaceholder(),fP._32(n,132)._control.disabled,fP._32(n,132)._control.focused,"primary"==fP._32(n,132).color,"accent"==fP._32(n,132).color,"warn"==fP._32(n,132).color,fP._32(n,132)._shouldForward("untouched"),fP._32(n,132)._shouldForward("touched"),fP._32(n,132)._shouldForward("pristine"),fP._32(n,132)._shouldForward("dirty"),fP._32(n,132)._shouldForward("valid"),fP._32(n,132)._shouldForward("invalid"),fP._32(n,132)._shouldForward("pending")]);l(n,141,1,[fP._32(n,144).ngClassUntouched,fP._32(n,144).ngClassTouched,fP._32(n,144).ngClassPristine,fP._32(n,144).ngClassDirty,fP._32(n,144).ngClassValid,fP._32(n,144).ngClassInvalid,fP._32(n,144).ngClassPending,fP._32(n,145).id,fP._32(n,145).tabIndex,fP._32(n,145)._ariaLabel,fP._32(n,145).ariaLabelledby,fP._32(n,145).required.toString(),fP._32(n,145).disabled.toString(),fP._32(n,145).errorState,fP._32(n,145).panelOpen?fP._32(n,145)._optionIds:null,fP._32(n,145).multiple,fP._32(n,145)._ariaDescribedby||null,fP._32(n,145)._getAriaActiveDescendant(),fP._32(n,145).disabled,fP._32(n,145).errorState,fP._32(n,145).required]);l(n,152,0,fP._32(n,153)._getTabIndex(),fP._32(n,153).selected,fP._32(n,153).multiple,fP._32(n,153).active,fP._32(n,153).id,fP._32(n,153).selected.toString(),fP._32(n,153).disabled.toString(),fP._32(n,153).disabled);l(n,176,0,fP._32(n,177)._hidden)})}function ei(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._18(3,0,null,0,7,"div",[["formArrayName","family_members_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ni)),fP._17(9,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n \n"])),(l()(),fP._40(-1,0,["\n"]))],function(l,n){l(n,4,0,"family_members_details");l(n,9,0,n.parent.context.$implicit.controls.family_members_details.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function ui(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,316,"section",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,45,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._18(8,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(9,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(12,null,["Family Details ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,[" \n \n "])),(l()(),fP._18(16,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(17,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(26,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","selected_person"],["placeholder","Applicants"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,32)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,32)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPerson(e.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(27,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(29,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(31,16384,null,0,EP.s,[EP.r],null,null),fP._17(32,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,11,{options:1}),fP._38(603979776,12,{optionGroups:1}),fP._38(335544320,13,{customTrigger:0}),fP._37(2048,[[4,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(40,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ta)),fP._17(44,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Oa)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(52,0,null,null,260,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(53,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(57,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(58,null,["Residence Details of ",""])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(60,0,null,0,49,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(61,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,14,{_control:0}),fP._38(335544320,15,{_placeholderChild:0}),fP._38(335544320,16,{_labelChild:0}),fP._38(603979776,17,{_errorChildren:1}),fP._38(603979776,18,{_hintChildren:1}),fP._38(603979776,19,{_prefixChildren:1}),fP._38(603979776,20,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(70,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","residence_state"],["matInput",""],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,74)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,74)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,74)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCity(e.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(71,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(73,16384,null,0,EP.s,[EP.r],null,null),fP._17(74,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,21,{options:1}),fP._38(603979776,22,{optionGroups:1}),fP._38(335544320,23,{customTrigger:0}),fP._37(2048,[[14,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(81,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,82)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,82)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(82,8437760,[[21,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(85,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,86)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,86)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(86,8437760,[[21,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(88,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(89,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,24,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(92,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(94,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(96,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(97,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(98,16384,[[24,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(102,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,103)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,103)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(103,8437760,[[21,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,La)),fP._17(107,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(111,0,null,0,49,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(112,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,25,{_control:0}),fP._38(335544320,26,{_placeholderChild:0}),fP._38(335544320,27,{_labelChild:0}),fP._38(603979776,28,{_errorChildren:1}),fP._38(603979776,29,{_hintChildren:1}),fP._38(603979776,30,{_prefixChildren:1}),fP._38(603979776,31,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(121,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","residence_city"],["matInput",""],["placeholder","City"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,125)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,125)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,125)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(122,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(124,16384,null,0,EP.s,[EP.r],null,null),fP._17(125,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,32,{options:1}),fP._38(603979776,33,{optionGroups:1}),fP._38(335544320,34,{customTrigger:0}),fP._37(2048,[[25,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(132,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,133)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,133)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(133,8437760,[[32,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(136,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,137)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(137,8437760,[[32,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(139,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(140,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,35,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(143,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(145,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(147,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(148,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(149,16384,[[35,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(153,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,154)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,154)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(154,8437760,[[32,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Aa)),fP._17(158,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(162,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(163,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,36,{_control:0}),fP._38(335544320,37,{_placeholderChild:0}),fP._38(335544320,38,{_labelChild:0}),fP._38(603979776,39,{_errorChildren:1}),fP._38(603979776,40,{_hintChildren:1}),fP._38(603979776,41,{_prefixChildren:1}),fP._38(603979776,42,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(172,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_place"],["matInput",""],["placeholder","Place "]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,173)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,173).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,173)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,173)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,178)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,178)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,178)._onInput()&&u}return u},null,null)),fP._17(173,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(175,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(177,16384,null,0,EP.s,[EP.r],null,null),fP._17(178,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[36,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(182,0,null,0,49,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(183,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,43,{_control:0}),fP._38(335544320,44,{_placeholderChild:0}),fP._38(335544320,45,{_labelChild:0}),fP._38(603979776,46,{_errorChildren:1}),fP._38(603979776,47,{_hintChildren:1}),fP._38(603979776,48,{_prefixChildren:1}),fP._38(603979776,49,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(192,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","residence_pin"],["matInput",""],["placeholder","Pin"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,196)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,196)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,196)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(193,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(195,16384,null,0,EP.s,[EP.r],null,null),fP._17(196,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,50,{options:1}),fP._38(603979776,51,{optionGroups:1}),fP._38(335544320,52,{customTrigger:0}),fP._37(2048,[[43,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(203,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,204)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,204)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(204,8437760,[[50,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(207,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,208)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,208)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(208,8437760,[[50,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(210,0,null,0,11,"ngx-mat-select-search",[["formControlName","pinSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"pin")&&u}return u},dN.b,dN.a)),fP._17(211,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,53,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(214,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(216,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(218,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(219,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(220,16384,[[53,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(224,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,225)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,225)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(225,8437760,[[50,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Va)),fP._17(229,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Na)),fP._17(234,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(236,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(237,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,61,{_control:0}),fP._38(335544320,62,{_placeholderChild:0}),fP._38(335544320,63,{_labelChild:0}),fP._38(603979776,64,{_errorChildren:1}),fP._38(603979776,65,{_hintChildren:1}),fP._38(603979776,66,{_prefixChildren:1}),fP._38(603979776,67,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(246,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_No_of_years"],["matInput",""],["placeholder","No of years in current residence"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,247)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,247).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,247)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,247)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,248).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,248).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,248).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,253)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,253)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,253)._onInput()&&u}return u},null,null)),fP._17(247,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(248,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(250,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(252,16384,null,0,EP.s,[EP.r],null,null),fP._17(253,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[61,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(257,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(258,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,68,{_control:0}),fP._38(335544320,69,{_placeholderChild:0}),fP._38(335544320,70,{_labelChild:0}),fP._38(603979776,71,{_errorChildren:1}),fP._38(603979776,72,{_hintChildren:1}),fP._38(603979776,73,{_prefixChildren:1}),fP._38(603979776,74,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(267,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","residence_ownership"],["placeholder","Ownership "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,271)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,271)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,271)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(268,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(270,16384,null,0,EP.s,[EP.r],null,null),fP._17(271,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,75,{options:1}),fP._38(603979776,76,{optionGroups:1}),fP._38(335544320,77,{customTrigger:0}),fP._37(2048,[[68,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(278,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,279)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,279)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(279,8437760,[[75,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Wa)),fP._17(283,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,0,["\n"])),(l()(),fP._13(16777216,null,0,1,null,ja)),fP._17(288,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n"])),(l()(),fP._13(16777216,null,0,1,null,$a)),fP._17(291,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(294,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._18(295,0,null,0,16,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(296,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,92,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(299,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(300,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(302,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(303,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(305,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.remove_family_details(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(306,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(307,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(308,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ei)),fP._17(315,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,27,0,"");l(n,29,0,"selected_person");l(n,32,0,"Applicants","");l(n,44,0,e.pdDetails.applicat_details);l(n,48,0,null==n.context.$implicit.controls.selected_person.errors?null:n.context.$implicit.controls.selected_person.errors.required);l(n,71,0,"residence_state");l(n,74,0,"State");l(n,89,0,"Find State","No Matching Result");l(n,92,0,"stateSearch");l(n,97,0,"md-close");l(n,107,0,e.stateDataValue);l(n,122,0,"residence_city");l(n,125,0,"City");l(n,140,0,"Find City","No Matching Result");l(n,143,0,"citySearch");l(n,148,0,"md-close");l(n,158,0,e.cityDataValue[n.context.index]);l(n,175,0,"residence_place");l(n,178,0,"Place ");l(n,193,0,"residence_pin");l(n,196,0,"Pin");l(n,211,0,"Search Pincode","No Matching Result");l(n,214,0,"pinSearch");l(n,219,0,"md-close");l(n,229,0,e.pincodeDataValue[n.context.index]);l(n,234,0,1==n.context.$implicit.get("residence_pin").value);l(n,250,0,"residence_No_of_years");l(n,253,0,"No of years in current residence","number");l(n,268,0,"residence_ownership");l(n,271,0,"Ownership ");l(n,283,0,e.ownerShip);l(n,288,0,3==n.context.$implicit.get("residence_ownership").value);l(n,291,0,1==n.context.$implicit.get("residence_ownership").value);l(n,306,0,"optblue","");l(n,308,0,"md-trash");l(n,315,0,""!=n.context.$implicit.get("selected_person").value)},function(l,n){var e=n.component;l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,16,1,[fP._32(n,17)._control.errorState,fP._32(n,17)._control.errorState,fP._32(n,17)._canLabelFloat,fP._32(n,17)._shouldLabelFloat(),fP._32(n,17)._hideControlPlaceholder(),fP._32(n,17)._control.disabled,fP._32(n,17)._control.focused,"primary"==fP._32(n,17).color,"accent"==fP._32(n,17).color,"warn"==fP._32(n,17).color,fP._32(n,17)._shouldForward("untouched"),fP._32(n,17)._shouldForward("touched"),fP._32(n,17)._shouldForward("pristine"),fP._32(n,17)._shouldForward("dirty"),fP._32(n,17)._shouldForward("valid"),fP._32(n,17)._shouldForward("invalid"),fP._32(n,17)._shouldForward("pending")]);l(n,26,1,[fP._32(n,27).required?"":null,fP._32(n,31).ngClassUntouched,fP._32(n,31).ngClassTouched,fP._32(n,31).ngClassPristine,fP._32(n,31).ngClassDirty,fP._32(n,31).ngClassValid,fP._32(n,31).ngClassInvalid,fP._32(n,31).ngClassPending,fP._32(n,32).id,fP._32(n,32).tabIndex,fP._32(n,32)._ariaLabel,fP._32(n,32).ariaLabelledby,fP._32(n,32).required.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).errorState,fP._32(n,32).panelOpen?fP._32(n,32)._optionIds:null,fP._32(n,32).multiple,fP._32(n,32)._ariaDescribedby||null,fP._32(n,32)._getAriaActiveDescendant(),fP._32(n,32).disabled,fP._32(n,32).errorState,fP._32(n,32).required]);l(n,39,0,fP._32(n,40)._getTabIndex(),fP._32(n,40).selected,fP._32(n,40).multiple,fP._32(n,40).active,fP._32(n,40).id,fP._32(n,40).selected.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).disabled);l(n,58,0,e.FamilyMemberAsLabel[n.context.index]);l(n,60,1,[fP._32(n,61)._control.errorState,fP._32(n,61)._control.errorState,fP._32(n,61)._canLabelFloat,fP._32(n,61)._shouldLabelFloat(),fP._32(n,61)._hideControlPlaceholder(),fP._32(n,61)._control.disabled,fP._32(n,61)._control.focused,"primary"==fP._32(n,61).color,"accent"==fP._32(n,61).color,"warn"==fP._32(n,61).color,fP._32(n,61)._shouldForward("untouched"),fP._32(n,61)._shouldForward("touched"),fP._32(n,61)._shouldForward("pristine"),fP._32(n,61)._shouldForward("dirty"),fP._32(n,61)._shouldForward("valid"),fP._32(n,61)._shouldForward("invalid"),fP._32(n,61)._shouldForward("pending")]);l(n,70,1,[fP._32(n,73).ngClassUntouched,fP._32(n,73).ngClassTouched,fP._32(n,73).ngClassPristine,fP._32(n,73).ngClassDirty,fP._32(n,73).ngClassValid,fP._32(n,73).ngClassInvalid,fP._32(n,73).ngClassPending,fP._32(n,74).id,fP._32(n,74).tabIndex,fP._32(n,74)._ariaLabel,fP._32(n,74).ariaLabelledby,fP._32(n,74).required.toString(),fP._32(n,74).disabled.toString(),fP._32(n,74).errorState,fP._32(n,74).panelOpen?fP._32(n,74)._optionIds:null,fP._32(n,74).multiple,fP._32(n,74)._ariaDescribedby||null,fP._32(n,74)._getAriaActiveDescendant(),fP._32(n,74).disabled,fP._32(n,74).errorState,fP._32(n,74).required]);l(n,81,0,fP._32(n,82)._getTabIndex(),fP._32(n,82).selected,fP._32(n,82).multiple,fP._32(n,82).active,fP._32(n,82).id,fP._32(n,82).selected.toString(),fP._32(n,82).disabled.toString(),fP._32(n,82).disabled);l(n,85,0,fP._32(n,86)._getTabIndex(),fP._32(n,86).selected,fP._32(n,86).multiple,fP._32(n,86).active,fP._32(n,86).id,fP._32(n,86).selected.toString(),fP._32(n,86).disabled.toString(),fP._32(n,86).disabled);l(n,88,0,fP._32(n,89).isInsideMatOption,fP._32(n,94).ngClassUntouched,fP._32(n,94).ngClassTouched,fP._32(n,94).ngClassPristine,fP._32(n,94).ngClassDirty,fP._32(n,94).ngClassValid,fP._32(n,94).ngClassInvalid,fP._32(n,94).ngClassPending);l(n,96,0,fP._32(n,97)._hidden);l(n,102,0,fP._32(n,103)._getTabIndex(),fP._32(n,103).selected,fP._32(n,103).multiple,fP._32(n,103).active,fP._32(n,103).id,fP._32(n,103).selected.toString(),fP._32(n,103).disabled.toString(),fP._32(n,103).disabled);l(n,111,1,[fP._32(n,112)._control.errorState,fP._32(n,112)._control.errorState,fP._32(n,112)._canLabelFloat,fP._32(n,112)._shouldLabelFloat(),fP._32(n,112)._hideControlPlaceholder(),fP._32(n,112)._control.disabled,fP._32(n,112)._control.focused,"primary"==fP._32(n,112).color,"accent"==fP._32(n,112).color,"warn"==fP._32(n,112).color,fP._32(n,112)._shouldForward("untouched"),fP._32(n,112)._shouldForward("touched"),fP._32(n,112)._shouldForward("pristine"),fP._32(n,112)._shouldForward("dirty"),fP._32(n,112)._shouldForward("valid"),fP._32(n,112)._shouldForward("invalid"),fP._32(n,112)._shouldForward("pending")]);l(n,121,1,[fP._32(n,124).ngClassUntouched,fP._32(n,124).ngClassTouched,fP._32(n,124).ngClassPristine,fP._32(n,124).ngClassDirty,fP._32(n,124).ngClassValid,fP._32(n,124).ngClassInvalid,fP._32(n,124).ngClassPending,fP._32(n,125).id,fP._32(n,125).tabIndex,fP._32(n,125)._ariaLabel,fP._32(n,125).ariaLabelledby,fP._32(n,125).required.toString(),fP._32(n,125).disabled.toString(),fP._32(n,125).errorState,fP._32(n,125).panelOpen?fP._32(n,125)._optionIds:null,fP._32(n,125).multiple,fP._32(n,125)._ariaDescribedby||null,fP._32(n,125)._getAriaActiveDescendant(),fP._32(n,125).disabled,fP._32(n,125).errorState,fP._32(n,125).required]);l(n,132,0,fP._32(n,133)._getTabIndex(),fP._32(n,133).selected,fP._32(n,133).multiple,fP._32(n,133).active,fP._32(n,133).id,fP._32(n,133).selected.toString(),fP._32(n,133).disabled.toString(),fP._32(n,133).disabled);l(n,136,0,fP._32(n,137)._getTabIndex(),fP._32(n,137).selected,fP._32(n,137).multiple,fP._32(n,137).active,fP._32(n,137).id,fP._32(n,137).selected.toString(),fP._32(n,137).disabled.toString(),fP._32(n,137).disabled);l(n,139,0,fP._32(n,140).isInsideMatOption,fP._32(n,145).ngClassUntouched,fP._32(n,145).ngClassTouched,fP._32(n,145).ngClassPristine,fP._32(n,145).ngClassDirty,fP._32(n,145).ngClassValid,fP._32(n,145).ngClassInvalid,fP._32(n,145).ngClassPending);l(n,147,0,fP._32(n,148)._hidden);l(n,153,0,fP._32(n,154)._getTabIndex(),fP._32(n,154).selected,fP._32(n,154).multiple,fP._32(n,154).active,fP._32(n,154).id,fP._32(n,154).selected.toString(),fP._32(n,154).disabled.toString(),fP._32(n,154).disabled);l(n,162,1,[fP._32(n,163)._control.errorState,fP._32(n,163)._control.errorState,fP._32(n,163)._canLabelFloat,fP._32(n,163)._shouldLabelFloat(),fP._32(n,163)._hideControlPlaceholder(),fP._32(n,163)._control.disabled,fP._32(n,163)._control.focused,"primary"==fP._32(n,163).color,"accent"==fP._32(n,163).color,"warn"==fP._32(n,163).color,fP._32(n,163)._shouldForward("untouched"),fP._32(n,163)._shouldForward("touched"),fP._32(n,163)._shouldForward("pristine"),fP._32(n,163)._shouldForward("dirty"),fP._32(n,163)._shouldForward("valid"),fP._32(n,163)._shouldForward("invalid"),fP._32(n,163)._shouldForward("pending")]);l(n,172,1,[fP._32(n,177).ngClassUntouched,fP._32(n,177).ngClassTouched,fP._32(n,177).ngClassPristine,fP._32(n,177).ngClassDirty,fP._32(n,177).ngClassValid,fP._32(n,177).ngClassInvalid,fP._32(n,177).ngClassPending,fP._32(n,178)._isServer,fP._32(n,178).id,fP._32(n,178).placeholder,fP._32(n,178).disabled,fP._32(n,178).required,fP._32(n,178).readonly,fP._32(n,178)._ariaDescribedby||null,fP._32(n,178).errorState,fP._32(n,178).required.toString()]);l(n,182,1,[fP._32(n,183)._control.errorState,fP._32(n,183)._control.errorState,fP._32(n,183)._canLabelFloat,fP._32(n,183)._shouldLabelFloat(),fP._32(n,183)._hideControlPlaceholder(),fP._32(n,183)._control.disabled,fP._32(n,183)._control.focused,"primary"==fP._32(n,183).color,"accent"==fP._32(n,183).color,"warn"==fP._32(n,183).color,fP._32(n,183)._shouldForward("untouched"),fP._32(n,183)._shouldForward("touched"),fP._32(n,183)._shouldForward("pristine"),fP._32(n,183)._shouldForward("dirty"),fP._32(n,183)._shouldForward("valid"),fP._32(n,183)._shouldForward("invalid"),fP._32(n,183)._shouldForward("pending")]);l(n,192,1,[fP._32(n,195).ngClassUntouched,fP._32(n,195).ngClassTouched,fP._32(n,195).ngClassPristine,fP._32(n,195).ngClassDirty,fP._32(n,195).ngClassValid,fP._32(n,195).ngClassInvalid,fP._32(n,195).ngClassPending,fP._32(n,196).id,fP._32(n,196).tabIndex,fP._32(n,196)._ariaLabel,fP._32(n,196).ariaLabelledby,fP._32(n,196).required.toString(),fP._32(n,196).disabled.toString(),fP._32(n,196).errorState,fP._32(n,196).panelOpen?fP._32(n,196)._optionIds:null,fP._32(n,196).multiple,fP._32(n,196)._ariaDescribedby||null,fP._32(n,196)._getAriaActiveDescendant(),fP._32(n,196).disabled,fP._32(n,196).errorState,fP._32(n,196).required]);l(n,203,0,fP._32(n,204)._getTabIndex(),fP._32(n,204).selected,fP._32(n,204).multiple,fP._32(n,204).active,fP._32(n,204).id,fP._32(n,204).selected.toString(),fP._32(n,204).disabled.toString(),fP._32(n,204).disabled);l(n,207,0,fP._32(n,208)._getTabIndex(),fP._32(n,208).selected,fP._32(n,208).multiple,fP._32(n,208).active,fP._32(n,208).id,fP._32(n,208).selected.toString(),fP._32(n,208).disabled.toString(),fP._32(n,208).disabled);l(n,210,0,fP._32(n,211).isInsideMatOption,fP._32(n,216).ngClassUntouched,fP._32(n,216).ngClassTouched,fP._32(n,216).ngClassPristine,fP._32(n,216).ngClassDirty,fP._32(n,216).ngClassValid,fP._32(n,216).ngClassInvalid,fP._32(n,216).ngClassPending);l(n,218,0,fP._32(n,219)._hidden);l(n,224,0,fP._32(n,225)._getTabIndex(),fP._32(n,225).selected,fP._32(n,225).multiple,fP._32(n,225).active,fP._32(n,225).id,fP._32(n,225).selected.toString(),fP._32(n,225).disabled.toString(),fP._32(n,225).disabled);l(n,236,1,[fP._32(n,237)._control.errorState,fP._32(n,237)._control.errorState,fP._32(n,237)._canLabelFloat,fP._32(n,237)._shouldLabelFloat(),fP._32(n,237)._hideControlPlaceholder(),fP._32(n,237)._control.disabled,fP._32(n,237)._control.focused,"primary"==fP._32(n,237).color,"accent"==fP._32(n,237).color,"warn"==fP._32(n,237).color,fP._32(n,237)._shouldForward("untouched"),fP._32(n,237)._shouldForward("touched"),fP._32(n,237)._shouldForward("pristine"),fP._32(n,237)._shouldForward("dirty"),fP._32(n,237)._shouldForward("valid"),fP._32(n,237)._shouldForward("invalid"),fP._32(n,237)._shouldForward("pending")]);l(n,246,1,[fP._32(n,252).ngClassUntouched,fP._32(n,252).ngClassTouched,fP._32(n,252).ngClassPristine,fP._32(n,252).ngClassDirty,fP._32(n,252).ngClassValid,fP._32(n,252).ngClassInvalid,fP._32(n,252).ngClassPending,fP._32(n,253)._isServer,fP._32(n,253).id,fP._32(n,253).placeholder,fP._32(n,253).disabled,fP._32(n,253).required,fP._32(n,253).readonly,fP._32(n,253)._ariaDescribedby||null,fP._32(n,253).errorState,fP._32(n,253).required.toString()]);l(n,257,1,[fP._32(n,258)._control.errorState,fP._32(n,258)._control.errorState,fP._32(n,258)._canLabelFloat,fP._32(n,258)._shouldLabelFloat(),fP._32(n,258)._hideControlPlaceholder(),fP._32(n,258)._control.disabled,fP._32(n,258)._control.focused,"primary"==fP._32(n,258).color,"accent"==fP._32(n,258).color,"warn"==fP._32(n,258).color,fP._32(n,258)._shouldForward("untouched"),fP._32(n,258)._shouldForward("touched"),fP._32(n,258)._shouldForward("pristine"),fP._32(n,258)._shouldForward("dirty"),fP._32(n,258)._shouldForward("valid"),fP._32(n,258)._shouldForward("invalid"),fP._32(n,258)._shouldForward("pending")]);l(n,267,1,[fP._32(n,270).ngClassUntouched,fP._32(n,270).ngClassTouched,fP._32(n,270).ngClassPristine,fP._32(n,270).ngClassDirty,fP._32(n,270).ngClassValid,fP._32(n,270).ngClassInvalid,fP._32(n,270).ngClassPending,fP._32(n,271).id,fP._32(n,271).tabIndex,fP._32(n,271)._ariaLabel,fP._32(n,271).ariaLabelledby,fP._32(n,271).required.toString(),fP._32(n,271).disabled.toString(),fP._32(n,271).errorState,fP._32(n,271).panelOpen?fP._32(n,271)._optionIds:null,fP._32(n,271).multiple,fP._32(n,271)._ariaDescribedby||null,fP._32(n,271)._getAriaActiveDescendant(),fP._32(n,271).disabled,fP._32(n,271).errorState,fP._32(n,271).required]);l(n,278,0,fP._32(n,279)._getTabIndex(),fP._32(n,279).selected,fP._32(n,279).multiple,fP._32(n,279).active,fP._32(n,279).id,fP._32(n,279).selected.toString(),fP._32(n,279).disabled.toString(),fP._32(n,279).disabled);l(n,307,0,fP._32(n,308)._hidden)})}function ti(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,58,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,7,"div",[["formArrayName","family_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(7,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ui)),fP._17(12,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n \n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,4,"button",[["color","primary"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.add()&&u}return u},aV.b,aV.a)),fP._17(19,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),fP._18(20,0,null,0,1,"ion-icon",[["name","person-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(21,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["   Other Applicant"])),(l()(),fP._18(23,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(26,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(28,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(29,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,208,{_control:0}),fP._38(335544320,209,{_placeholderChild:0}),fP._38(335544320,210,{_labelChild:0}),fP._38(603979776,211,{_errorChildren:1}),fP._38(603979776,212,{_hintChildren:1}),fP._38(603979776,213,{_prefixChildren:1}),fP._38(603979776,214,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_details_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(39,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[208,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(50,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(52,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(53,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e.familyForm);l(n,7,0,"family_details");l(n,12,0,e.familyForm.controls.family_details.controls);l(n,19,0,"primary","","");l(n,21,0,"person-add");l(n,41,0,"family_details_form_remark");l(n,44,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,6,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending);l(n,20,0,fP._32(n,21)._hidden);l(n,28,1,[fP._32(n,29)._control.errorState,fP._32(n,29)._control.errorState,fP._32(n,29)._canLabelFloat,fP._32(n,29)._shouldLabelFloat(),fP._32(n,29)._hideControlPlaceholder(),fP._32(n,29)._control.disabled,fP._32(n,29)._control.focused,"primary"==fP._32(n,29).color,"accent"==fP._32(n,29).color,"warn"==fP._32(n,29).color,fP._32(n,29)._shouldForward("untouched"),fP._32(n,29)._shouldForward("touched"),fP._32(n,29)._shouldForward("pristine"),fP._32(n,29)._shouldForward("dirty"),fP._32(n,29)._shouldForward("valid"),fP._32(n,29)._shouldForward("invalid"),fP._32(n,29)._shouldForward("pending")]);l(n,38,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function ai(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,ga)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(27,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(28,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,ba)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(37,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,44).onClick()&&u}return u},dV.b,dV.a)),fP._17(44,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,48).onClick()&&u}return u},dV.b,dV.a)),fP._17(48,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(53,0,null,null,14,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(54,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(56,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(57,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Da)),fP._17(60,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ti)),fP._17(63,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n \n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,28,0,"md-camera");l(n,32,0,!e.complete_status);l(n,37,0,e.tab);l(n,40,0,"optblue");l(n,44,0,"0");l(n,48,0,"1");l(n,57,0,e.tab);l(n,60,0,"1");l(n,63,0,"0")},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,27,0,fP._32(n,28)._hidden);l(n,36,0,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._disabled);l(n,43,0,fP._32(n,44)._disabled,fP._32(n,44).isActive,fP._32(n,44).isActive);l(n,47,0,fP._32(n,48)._disabled,fP._32(n,48).isActive,fP._32(n,48).isActive);l(n,53,0,fP._32(n,54).statusbarPadding,fP._32(n,54)._hasRefresher)})}function ii(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formdetails.form_name)})}function oi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(5,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"fn-save")},function(l,n){l(n,4,0,fP._32(n,5)._hidden)})}function ri(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press\n the camera button above to capture"]))],null,null)}function _i(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function di(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function si(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function ci(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,_i)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,di)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,si)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function mi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ci)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function pi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function fi(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function hi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pi)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fi)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,5,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,17,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,16,0,fP._32(n,17)._hidden)})}function gi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hi)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function bi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function vi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ri)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,mi)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,gi)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,bi)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function yi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[13,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.applicant_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function Ci(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,16,{_control:0}),fP._38(335544320,17,{_placeholderChild:0}),fP._38(335544320,18,{_labelChild:0}),fP._38(603979776,19,{_errorChildren:1}),fP._38(603979776,20,{_hintChildren:1}),fP._38(603979776,21,{_prefixChildren:1}),fP._38(603979776,22,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","partner_other_name"],["matInput",""],["placeholder","Specify Others(Name)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[16,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"partner_other_name");l(n,16,0,"Specify Others(Name)")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function wi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,23,{_control:0}),fP._38(335544320,24,{_placeholderChild:0}),fP._38(335544320,25,{_labelChild:0}),fP._38(603979776,26,{_errorChildren:1}),fP._38(603979776,27,{_hintChildren:1}),fP._38(603979776,28,{_prefixChildren:1}),fP._38(603979776,29,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,[[1,0],["shareholding",1]],1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","shareholding"],["matInput",""],["placeholder","Share of Profit / Shareholding (%)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[23,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"shareholding");l(n,17,0,"Share of Profit / Shareholding (%)","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function Fi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wi)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,!e.EntityTypeFlag&&"4"!=e.generalExistEntityType&&"9"!=e.generalExistEntityType&&""!=e.generalExistEntityType.value)},null)}function xi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,61,{_control:0}),fP._38(335544320,62,{_placeholderChild:0}),fP._38(335544320,63,{_labelChild:0}),fP._38(603979776,64,{_errorChildren:1}),fP._38(603979776,65,{_hintChildren:1}),fP._38(603979776,66,{_prefixChildren:1}),fP._38(603979776,67,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_previous_experience"],["matInput",""],["placeholder","Previous Work Experience Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[61,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"total_business_previous_experience");l(n,16,0,"Previous Work Experience Details")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function ki(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPartnerDetails(e)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"");l(n,4,0,"optblue","add-circle")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Si(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(1,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,68,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(5,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePartnerDetails(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(8,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(10,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(15,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(16,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ki)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,8,0,"");l(n,11,0,"optblue","md-trash");l(n,19,0,n.parent.context.last)},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function Ii(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,187,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,16777216,null,null,180,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(8,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],{expanded:[0,"expanded"]},null),fP._38(335544320,5,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(11,0,null,0,11,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,12)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(12,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(13,{collapsedHeight:0,expandedHeight:1}),fP._35(14,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(16,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(17,16384,null,0,SN.f,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(20,null,[""," # "," "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(24,0,null,1,158,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,6,{_control:0}),fP._38(335544320,7,{_placeholderChild:0}),fP._38(335544320,8,{_labelChild:0}),fP._38(603979776,9,{_errorChildren:1}),fP._38(603979776,10,{_hintChildren:1}),fP._38(603979776,11,{_prefixChildren:1}),fP._38(603979776,12,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","partner_name"],["placeholder","Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,41)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,41)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,41)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePartnerGroup(l.context.$implicit.value.partner_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(38,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(40,16384,null,0,EP.s,[EP.r],null,null),fP._17(41,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,13,{options:1}),fP._38(603979776,14,{optionGroups:1}),fP._38(335544320,15,{customTrigger:0}),fP._37(2048,[[6,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[13,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,yi)),fP._17(53,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,56)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(56,8437760,[[13,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Others"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ci)),fP._17(62,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fi)),fP._17(65,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(68,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,30,{_control:0}),fP._38(335544320,31,{_placeholderChild:0}),fP._38(335544320,32,{_labelChild:0}),fP._38(603979776,33,{_errorChildren:1}),fP._38(603979776,34,{_hintChildren:1}),fP._38(603979776,35,{_prefixChildren:1}),fP._38(603979776,36,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(77,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","started_business"],["placeholder","Started Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,81)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,81)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,81)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changeOfStartedBusiness(l.context.$implicit,l.context.index,e.value)&&u}return u},tN.b,tN.a)),fP._17(78,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(80,16384,null,0,EP.s,[EP.r],null,null),fP._17(81,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,37,{options:1}),fP._38(603979776,38,{optionGroups:1}),fP._38(335544320,39,{customTrigger:0}),fP._37(2048,[[30,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(88,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,89)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,89)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(89,8437760,[[37,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(92,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,93)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(93,8437760,[[37,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(96,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,97)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,97)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(97,8437760,[[37,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(102,0,null,null,1,"p",[["style","margin-left: 2% !important"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["No of Years in Current Business"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(105,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 45%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(106,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,40,{_control:0}),fP._38(335544320,41,{_placeholderChild:0}),fP._38(335544320,42,{_labelChild:0}),fP._38(603979776,43,{_errorChildren:1}),fP._38(603979776,44,{_hintChildren:1}),fP._38(603979776,45,{_prefixChildren:1}),fP._38(603979776,46,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(115,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_business_experiance_year"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,116)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,116).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,116)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,116)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,117).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,117).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,117).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,122)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,122)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,122)._onInput()&&u}if("keyup"===n){u=!1!==t.getWorkExperience(l.context.$implicit.value,l.context.index)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(e.target.value,l.context.index,l.context.$implicit)&&u}return u},null,null)),fP._17(116,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(117,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(119,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(121,16384,null,0,EP.s,[EP.r],null,null),fP._17(122,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[40,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(125,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(126,16384,[[44,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(127,null,["\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._18(130,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 45%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(131,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,47,{_control:0}),fP._38(335544320,48,{_placeholderChild:0}),fP._38(335544320,49,{_labelChild:0}),fP._38(603979776,50,{_errorChildren:1}),fP._38(603979776,51,{_hintChildren:1}),fP._38(603979776,52,{_prefixChildren:1}),fP._38(603979776,53,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(140,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_business_experiance_month"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,141)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,141).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,141)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,141)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,142).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,142).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,142).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,147)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,l.context.index)&&u}return u},null,null)),fP._17(141,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(142,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(144,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(146,16384,null,0,EP.s,[EP.r],null,null),fP._17(147,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[47,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(150,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(151,16384,[[51,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(152,null,["\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(155,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(156,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,54,{_control:0}),fP._38(335544320,55,{_placeholderChild:0}),fP._38(335544320,56,{_labelChild:0}),fP._38(603979776,57,{_errorChildren:1}),fP._38(603979776,58,{_hintChildren:1}),fP._38(603979776,59,{_prefixChildren:1}),fP._38(603979776,60,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(165,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_experiance"],["matInput",""],["placeholder","Total Work Experience (in years)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,166)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,166).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,166)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,166)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,167).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,167).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,167).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,172)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,172)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,172)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.getWorkExperience(l.context.$implicit.value,l.context.index)&&u}if("change"===n){u=!1!==t.checkWithExistTotalWorkExperience(e.target.value,l.context.index,l.context.$implicit)&&u}return u},null,null)),fP._17(166,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(167,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(169,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(171,16384,null,0,EP.s,[EP.r],null,null),fP._17(172,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[54,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(175,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(176,16384,[[58,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(177,null,["\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,xi)),fP._17(181,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Si)),fP._17(185,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,38,0,"partner_name");l(n,41,0,"Name");l(n,53,0,e.personsList);l(n,56,0,"Others");l(n,62,0,"Others"==n.context.$implicit.value.partner_name);l(n,65,0,""!=e.generalExistEntityType.value);l(n,78,0,"started_business");l(n,81,0,"Started Business");l(n,93,0,"yes");l(n,97,0,"no");l(n,119,0,"current_business_experiance_year");l(n,122,0,"Year","number",e.isreadonlyyear[n.context.index]);l(n,126,0,"start");l(n,144,0,"current_business_experiance_month");l(n,147,0,"Month","number",e.isreadonlymonth[n.context.index]);l(n,151,0,"start");l(n,169,0,"total_business_experiance");l(n,172,0,"Total Work Experience (in years)","number");l(n,176,0,"start");l(n,181,0,void 0!=n.context.$implicit.value.total_business_previous_experience);l(n,185,0,!e.EntityTypeFlag)},function(l,n){var e=n.component;l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,fP._32(n,8).expanded,fP._32(n,8)._hasSpacing());l(n,11,0,fP._32(n,12).panel._headerId,fP._32(n,12).panel.disabled?-1:0,fP._32(n,12)._getPanelId(),fP._32(n,12)._isExpanded(),fP._32(n,12).panel.disabled,fP._32(n,12)._isExpanded(),l(n,14,0,fP._32(n,12)._getExpandedState(),l(n,13,0,fP._32(n,12).collapsedHeight,fP._32(n,12).expandedHeight)));l(n,20,0,e.businessEntityTypeList.section_label,n.context.index+1);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,40).ngClassUntouched,fP._32(n,40).ngClassTouched,fP._32(n,40).ngClassPristine,fP._32(n,40).ngClassDirty,fP._32(n,40).ngClassValid,fP._32(n,40).ngClassInvalid,fP._32(n,40).ngClassPending,fP._32(n,41).id,fP._32(n,41).tabIndex,fP._32(n,41)._ariaLabel,fP._32(n,41).ariaLabelledby,fP._32(n,41).required.toString(),fP._32(n,41).disabled.toString(),fP._32(n,41).errorState,fP._32(n,41).panelOpen?fP._32(n,41)._optionIds:null,fP._32(n,41).multiple,fP._32(n,41)._ariaDescribedby||null,fP._32(n,41)._getAriaActiveDescendant(),fP._32(n,41).disabled,fP._32(n,41).errorState,fP._32(n,41).required]);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,55,0,fP._32(n,56)._getTabIndex(),fP._32(n,56).selected,fP._32(n,56).multiple,fP._32(n,56).active,fP._32(n,56).id,fP._32(n,56).selected.toString(),fP._32(n,56).disabled.toString(),fP._32(n,56).disabled);l(n,67,1,[fP._32(n,68)._control.errorState,fP._32(n,68)._control.errorState,fP._32(n,68)._canLabelFloat,fP._32(n,68)._shouldLabelFloat(),fP._32(n,68)._hideControlPlaceholder(),fP._32(n,68)._control.disabled,fP._32(n,68)._control.focused,"primary"==fP._32(n,68).color,"accent"==fP._32(n,68).color,"warn"==fP._32(n,68).color,fP._32(n,68)._shouldForward("untouched"),fP._32(n,68)._shouldForward("touched"),fP._32(n,68)._shouldForward("pristine"),fP._32(n,68)._shouldForward("dirty"),fP._32(n,68)._shouldForward("valid"),fP._32(n,68)._shouldForward("invalid"),fP._32(n,68)._shouldForward("pending")]);l(n,77,1,[fP._32(n,80).ngClassUntouched,fP._32(n,80).ngClassTouched,fP._32(n,80).ngClassPristine,fP._32(n,80).ngClassDirty,fP._32(n,80).ngClassValid,fP._32(n,80).ngClassInvalid,fP._32(n,80).ngClassPending,fP._32(n,81).id,fP._32(n,81).tabIndex,fP._32(n,81)._ariaLabel,fP._32(n,81).ariaLabelledby,fP._32(n,81).required.toString(),fP._32(n,81).disabled.toString(),fP._32(n,81).errorState,fP._32(n,81).panelOpen?fP._32(n,81)._optionIds:null,fP._32(n,81).multiple,fP._32(n,81)._ariaDescribedby||null,fP._32(n,81)._getAriaActiveDescendant(),fP._32(n,81).disabled,fP._32(n,81).errorState,fP._32(n,81).required]);l(n,88,0,fP._32(n,89)._getTabIndex(),fP._32(n,89).selected,fP._32(n,89).multiple,fP._32(n,89).active,fP._32(n,89).id,fP._32(n,89).selected.toString(),fP._32(n,89).disabled.toString(),fP._32(n,89).disabled);l(n,92,0,fP._32(n,93)._getTabIndex(),fP._32(n,93).selected,fP._32(n,93).multiple,fP._32(n,93).active,fP._32(n,93).id,fP._32(n,93).selected.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).disabled);l(n,96,0,fP._32(n,97)._getTabIndex(),fP._32(n,97).selected,fP._32(n,97).multiple,fP._32(n,97).active,fP._32(n,97).id,fP._32(n,97).selected.toString(),fP._32(n,97).disabled.toString(),fP._32(n,97).disabled);l(n,105,1,[fP._32(n,106)._control.errorState,fP._32(n,106)._control.errorState,fP._32(n,106)._canLabelFloat,fP._32(n,106)._shouldLabelFloat(),fP._32(n,106)._hideControlPlaceholder(),fP._32(n,106)._control.disabled,fP._32(n,106)._control.focused,"primary"==fP._32(n,106).color,"accent"==fP._32(n,106).color,"warn"==fP._32(n,106).color,fP._32(n,106)._shouldForward("untouched"),fP._32(n,106)._shouldForward("touched"),fP._32(n,106)._shouldForward("pristine"),fP._32(n,106)._shouldForward("dirty"),fP._32(n,106)._shouldForward("valid"),fP._32(n,106)._shouldForward("invalid"),fP._32(n,106)._shouldForward("pending")]);l(n,115,1,[fP._32(n,121).ngClassUntouched,fP._32(n,121).ngClassTouched,fP._32(n,121).ngClassPristine,fP._32(n,121).ngClassDirty,fP._32(n,121).ngClassValid,fP._32(n,121).ngClassInvalid,fP._32(n,121).ngClassPending,fP._32(n,122)._isServer,fP._32(n,122).id,fP._32(n,122).placeholder,fP._32(n,122).disabled,fP._32(n,122).required,fP._32(n,122).readonly,fP._32(n,122)._ariaDescribedby||null,fP._32(n,122).errorState,fP._32(n,122).required.toString()]);l(n,125,0,"end"==fP._32(n,126).align,fP._32(n,126).id,null);l(n,127,0,e.yearErrorMessage[n.context.index]);l(n,130,1,[fP._32(n,131)._control.errorState,fP._32(n,131)._control.errorState,fP._32(n,131)._canLabelFloat,fP._32(n,131)._shouldLabelFloat(),fP._32(n,131)._hideControlPlaceholder(),fP._32(n,131)._control.disabled,fP._32(n,131)._control.focused,"primary"==fP._32(n,131).color,"accent"==fP._32(n,131).color,"warn"==fP._32(n,131).color,fP._32(n,131)._shouldForward("untouched"),fP._32(n,131)._shouldForward("touched"),fP._32(n,131)._shouldForward("pristine"),fP._32(n,131)._shouldForward("dirty"),fP._32(n,131)._shouldForward("valid"),fP._32(n,131)._shouldForward("invalid"),fP._32(n,131)._shouldForward("pending")]);l(n,140,1,[fP._32(n,146).ngClassUntouched,fP._32(n,146).ngClassTouched,fP._32(n,146).ngClassPristine,fP._32(n,146).ngClassDirty,fP._32(n,146).ngClassValid,fP._32(n,146).ngClassInvalid,fP._32(n,146).ngClassPending,fP._32(n,147)._isServer,fP._32(n,147).id,fP._32(n,147).placeholder,fP._32(n,147).disabled,fP._32(n,147).required,fP._32(n,147).readonly,fP._32(n,147)._ariaDescribedby||null,fP._32(n,147).errorState,fP._32(n,147).required.toString()]);l(n,150,0,"end"==fP._32(n,151).align,fP._32(n,151).id,null);l(n,152,0,e.monthErrorMessage[n.context.index]);l(n,155,1,[fP._32(n,156)._control.errorState,fP._32(n,156)._control.errorState,fP._32(n,156)._canLabelFloat,fP._32(n,156)._shouldLabelFloat(),fP._32(n,156)._hideControlPlaceholder(),fP._32(n,156)._control.disabled,fP._32(n,156)._control.focused,"primary"==fP._32(n,156).color,"accent"==fP._32(n,156).color,"warn"==fP._32(n,156).color,fP._32(n,156)._shouldForward("untouched"),fP._32(n,156)._shouldForward("touched"),fP._32(n,156)._shouldForward("pristine"),fP._32(n,156)._shouldForward("dirty"),fP._32(n,156)._shouldForward("valid"),fP._32(n,156)._shouldForward("invalid"),fP._32(n,156)._shouldForward("pending")]);l(n,165,1,[fP._32(n,171).ngClassUntouched,fP._32(n,171).ngClassTouched,fP._32(n,171).ngClassPristine,fP._32(n,171).ngClassDirty,fP._32(n,171).ngClassValid,fP._32(n,171).ngClassInvalid,fP._32(n,171).ngClassPending,fP._32(n,172)._isServer,fP._32(n,172).id,fP._32(n,172).placeholder,fP._32(n,172).disabled,fP._32(n,172).required,fP._32(n,172).readonly,fP._32(n,172)._ariaDescribedby||null,fP._32(n,172).errorState,fP._32(n,172).required.toString()]);l(n,175,0,"end"==fP._32(n,176).align,fP._32(n,176).id,null);l(n,177,0,e.errorMessageForExistTotalWorkExperience[n.context.index])})}function qi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Pi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[94,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.name+" Of")))})}function Di(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[104,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function Ti(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[114,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function Oi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,220,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,16777216,null,null,213,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(8,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],{expanded:[0,"expanded"]},null),fP._38(335544320,69,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(11,0,null,0,12,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,12)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(12,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(13,{collapsedHeight:0,expandedHeight:1}),fP._35(14,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(17,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(18,16384,null,0,SN.f,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(21,null,["Family Member #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,177,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(26,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(29,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","family_member_salutation"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,42)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,77,{options:1}),fP._38(603979776,78,{optionGroups:1}),fP._38(335544320,79,{customTrigger:0}),fP._37(2048,[[70,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,50)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(50,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,qi)),fP._17(54,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,80,{_control:0}),fP._38(335544320,81,{_placeholderChild:0}),fP._38(335544320,82,{_labelChild:0}),fP._38(603979776,83,{_errorChildren:1}),fP._38(603979776,84,{_hintChildren:1}),fP._38(603979776,85,{_prefixChildren:1}),fP._38(603979776,86,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,74)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(71,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(73,16384,null,0,EP.s,[EP.r],null,null),fP._17(74,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[80,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(79,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,87,{_control:0}),fP._38(335544320,88,{_placeholderChild:0}),fP._38(335544320,89,{_labelChild:0}),fP._38(603979776,90,{_errorChildren:1}),fP._38(603979776,91,{_hintChildren:1}),fP._38(603979776,92,{_prefixChildren:1}),fP._38(603979776,93,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(88,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","other_family_relationship_id"],["placeholder","Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,92)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,92)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,92)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(89,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(91,16384,null,0,EP.s,[EP.r],null,null),fP._17(92,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,94,{options:1}),fP._38(603979776,95,{optionGroups:1}),fP._38(335544320,96,{customTrigger:0}),fP._37(2048,[[87,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(99,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,100)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,100)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(100,8437760,[[94,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Pi)),fP._17(104,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(108,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(109,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,97,{_control:0}),fP._38(335544320,98,{_placeholderChild:0}),fP._38(335544320,99,{_labelChild:0}),fP._38(603979776,100,{_errorChildren:1}),fP._38(603979776,101,{_hintChildren:1}),fP._38(603979776,102,{_prefixChildren:1}),fP._38(603979776,103,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(118,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","relation_to_id"],["placeholder","Relation To"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,122)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,122)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,122)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(119,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(121,16384,null,0,EP.s,[EP.r],null,null),fP._17(122,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,104,{options:1}),fP._38(603979776,105,{optionGroups:1}),fP._38(335544320,106,{customTrigger:0}),fP._37(2048,[[97,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(129,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,130)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,130)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(130,8437760,[[104,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Di)),fP._17(134,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(138,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(139,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,107,{_control:0}),fP._38(335544320,108,{_placeholderChild:0}),fP._38(335544320,109,{_labelChild:0}),fP._38(603979776,110,{_errorChildren:1}),fP._38(603979776,111,{_hintChildren:1}),fP._38(603979776,112,{_prefixChildren:1}),fP._38(603979776,113,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(148,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","relationship_with_company_id"],["placeholder","Relation With Company"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,152)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,152)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,152)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(149,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(151,16384,null,0,EP.s,[EP.r],null,null),fP._17(152,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,114,{options:1}),fP._38(603979776,115,{optionGroups:1}),fP._38(335544320,116,{customTrigger:0}),fP._37(2048,[[107,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(159,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,160)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,160)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(160,8437760,[[114,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ti)),fP._17(164,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(168,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(169,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,117,{_control:0}),fP._38(335544320,118,{_placeholderChild:0}),fP._38(335544320,119,{_labelChild:0}),fP._38(603979776,120,{_errorChildren:1}),fP._38(603979776,121,{_hintChildren:1}),fP._38(603979776,122,{_prefixChildren:1}),fP._38(603979776,123,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(178,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","started_business"],["placeholder","Started Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,182)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,182)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,182)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(179,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(181,16384,null,0,EP.s,[EP.r],null,null),fP._17(182,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,124,{options:1}),fP._38(603979776,125,{optionGroups:1}),fP._38(335544320,126,{customTrigger:0}),fP._37(2048,[[117,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(189,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,190)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,190)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(190,8437760,[[124,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(193,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,194)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,194)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(194,8437760,[[124,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(197,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,198)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,198)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(198,8437760,[[124,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(204,0,null,1,14,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(205,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,127,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(208,0,null,null,9,"ion-col",[["class","col"],["col-6",""],["offset-3",""]],null,null,null,null,null)),fP._17(209,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(211,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePersonRelationship(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(212,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(214,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(215,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,39,0,"family_member_salutation");l(n,42,0,"Title");l(n,54,0,e.titleData);l(n,71,0,"family_member_name");l(n,74,0,"Name");l(n,89,0,"other_family_relationship_id");l(n,92,0,"Relation");l(n,104,0,e.relationData);l(n,119,0,"relation_to_id");l(n,122,0,"Relation To");l(n,134,0,e.applicants);l(n,149,0,"relationship_with_company_id");l(n,152,0,"Relation With Company");l(n,164,0,e.companyRelationShipList);l(n,179,0,"started_business");l(n,182,0,"Started Business");l(n,190,0,"");l(n,194,0,"yes");l(n,198,0,"no");l(n,212,0,"");l(n,215,0,"optblue","md-trash")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,fP._32(n,8).expanded,fP._32(n,8)._hasSpacing());l(n,11,0,fP._32(n,12).panel._headerId,fP._32(n,12).panel.disabled?-1:0,fP._32(n,12)._getPanelId(),fP._32(n,12)._isExpanded(),fP._32(n,12).panel.disabled,fP._32(n,12)._isExpanded(),l(n,14,0,fP._32(n,12)._getExpandedState(),l(n,13,0,fP._32(n,12).collapsedHeight,fP._32(n,12).expandedHeight)));l(n,21,0,n.context.index+1);l(n,28,1,[fP._32(n,29)._control.errorState,fP._32(n,29)._control.errorState,fP._32(n,29)._canLabelFloat,fP._32(n,29)._shouldLabelFloat(),fP._32(n,29)._hideControlPlaceholder(),fP._32(n,29)._control.disabled,fP._32(n,29)._control.focused,"primary"==fP._32(n,29).color,"accent"==fP._32(n,29).color,"warn"==fP._32(n,29).color,fP._32(n,29)._shouldForward("untouched"),fP._32(n,29)._shouldForward("touched"),fP._32(n,29)._shouldForward("pristine"),fP._32(n,29)._shouldForward("dirty"),fP._32(n,29)._shouldForward("valid"),fP._32(n,29)._shouldForward("invalid"),fP._32(n,29)._shouldForward("pending")]);l(n,38,1,[fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42).id,fP._32(n,42).tabIndex,fP._32(n,42)._ariaLabel,fP._32(n,42).ariaLabelledby,fP._32(n,42).required.toString(),fP._32(n,42).disabled.toString(),fP._32(n,42).errorState,fP._32(n,42).panelOpen?fP._32(n,42)._optionIds:null,fP._32(n,42).multiple,fP._32(n,42)._ariaDescribedby||null,fP._32(n,42)._getAriaActiveDescendant(),fP._32(n,42).disabled,fP._32(n,42).errorState,fP._32(n,42).required]);l(n,49,0,fP._32(n,50)._getTabIndex(),fP._32(n,50).selected,fP._32(n,50).multiple,fP._32(n,50).active,fP._32(n,50).id,fP._32(n,50).selected.toString(),fP._32(n,50).disabled.toString(),fP._32(n,50).disabled);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,73).ngClassUntouched,fP._32(n,73).ngClassTouched,fP._32(n,73).ngClassPristine,fP._32(n,73).ngClassDirty,fP._32(n,73).ngClassValid,fP._32(n,73).ngClassInvalid,fP._32(n,73).ngClassPending,fP._32(n,74)._isServer,fP._32(n,74).id,fP._32(n,74).placeholder,fP._32(n,74).disabled,fP._32(n,74).required,fP._32(n,74).readonly,fP._32(n,74)._ariaDescribedby||null,fP._32(n,74).errorState,fP._32(n,74).required.toString()]);l(n,78,1,[fP._32(n,79)._control.errorState,fP._32(n,79)._control.errorState,fP._32(n,79)._canLabelFloat,fP._32(n,79)._shouldLabelFloat(),fP._32(n,79)._hideControlPlaceholder(),fP._32(n,79)._control.disabled,fP._32(n,79)._control.focused,"primary"==fP._32(n,79).color,"accent"==fP._32(n,79).color,"warn"==fP._32(n,79).color,fP._32(n,79)._shouldForward("untouched"),fP._32(n,79)._shouldForward("touched"),fP._32(n,79)._shouldForward("pristine"),fP._32(n,79)._shouldForward("dirty"),fP._32(n,79)._shouldForward("valid"),fP._32(n,79)._shouldForward("invalid"),fP._32(n,79)._shouldForward("pending")]);l(n,88,1,[fP._32(n,91).ngClassUntouched,fP._32(n,91).ngClassTouched,fP._32(n,91).ngClassPristine,fP._32(n,91).ngClassDirty,fP._32(n,91).ngClassValid,fP._32(n,91).ngClassInvalid,fP._32(n,91).ngClassPending,fP._32(n,92).id,fP._32(n,92).tabIndex,fP._32(n,92)._ariaLabel,fP._32(n,92).ariaLabelledby,fP._32(n,92).required.toString(),fP._32(n,92).disabled.toString(),fP._32(n,92).errorState,fP._32(n,92).panelOpen?fP._32(n,92)._optionIds:null,fP._32(n,92).multiple,fP._32(n,92)._ariaDescribedby||null,fP._32(n,92)._getAriaActiveDescendant(),fP._32(n,92).disabled,fP._32(n,92).errorState,fP._32(n,92).required]);l(n,99,0,fP._32(n,100)._getTabIndex(),fP._32(n,100).selected,fP._32(n,100).multiple,fP._32(n,100).active,fP._32(n,100).id,fP._32(n,100).selected.toString(),fP._32(n,100).disabled.toString(),fP._32(n,100).disabled);l(n,108,1,[fP._32(n,109)._control.errorState,fP._32(n,109)._control.errorState,fP._32(n,109)._canLabelFloat,fP._32(n,109)._shouldLabelFloat(),fP._32(n,109)._hideControlPlaceholder(),fP._32(n,109)._control.disabled,fP._32(n,109)._control.focused,"primary"==fP._32(n,109).color,"accent"==fP._32(n,109).color,"warn"==fP._32(n,109).color,fP._32(n,109)._shouldForward("untouched"),fP._32(n,109)._shouldForward("touched"),fP._32(n,109)._shouldForward("pristine"),fP._32(n,109)._shouldForward("dirty"),fP._32(n,109)._shouldForward("valid"),fP._32(n,109)._shouldForward("invalid"),fP._32(n,109)._shouldForward("pending")]);l(n,118,1,[fP._32(n,121).ngClassUntouched,fP._32(n,121).ngClassTouched,fP._32(n,121).ngClassPristine,fP._32(n,121).ngClassDirty,fP._32(n,121).ngClassValid,fP._32(n,121).ngClassInvalid,fP._32(n,121).ngClassPending,fP._32(n,122).id,fP._32(n,122).tabIndex,fP._32(n,122)._ariaLabel,fP._32(n,122).ariaLabelledby,fP._32(n,122).required.toString(),fP._32(n,122).disabled.toString(),fP._32(n,122).errorState,fP._32(n,122).panelOpen?fP._32(n,122)._optionIds:null,fP._32(n,122).multiple,fP._32(n,122)._ariaDescribedby||null,fP._32(n,122)._getAriaActiveDescendant(),fP._32(n,122).disabled,fP._32(n,122).errorState,fP._32(n,122).required]);l(n,129,0,fP._32(n,130)._getTabIndex(),fP._32(n,130).selected,fP._32(n,130).multiple,fP._32(n,130).active,fP._32(n,130).id,fP._32(n,130).selected.toString(),fP._32(n,130).disabled.toString(),fP._32(n,130).disabled);l(n,138,1,[fP._32(n,139)._control.errorState,fP._32(n,139)._control.errorState,fP._32(n,139)._canLabelFloat,fP._32(n,139)._shouldLabelFloat(),fP._32(n,139)._hideControlPlaceholder(),fP._32(n,139)._control.disabled,fP._32(n,139)._control.focused,"primary"==fP._32(n,139).color,"accent"==fP._32(n,139).color,"warn"==fP._32(n,139).color,fP._32(n,139)._shouldForward("untouched"),fP._32(n,139)._shouldForward("touched"),fP._32(n,139)._shouldForward("pristine"),fP._32(n,139)._shouldForward("dirty"),fP._32(n,139)._shouldForward("valid"),fP._32(n,139)._shouldForward("invalid"),fP._32(n,139)._shouldForward("pending")]);l(n,148,1,[fP._32(n,151).ngClassUntouched,fP._32(n,151).ngClassTouched,fP._32(n,151).ngClassPristine,fP._32(n,151).ngClassDirty,fP._32(n,151).ngClassValid,fP._32(n,151).ngClassInvalid,fP._32(n,151).ngClassPending,fP._32(n,152).id,fP._32(n,152).tabIndex,fP._32(n,152)._ariaLabel,fP._32(n,152).ariaLabelledby,fP._32(n,152).required.toString(),fP._32(n,152).disabled.toString(),fP._32(n,152).errorState,fP._32(n,152).panelOpen?fP._32(n,152)._optionIds:null,fP._32(n,152).multiple,fP._32(n,152)._ariaDescribedby||null,fP._32(n,152)._getAriaActiveDescendant(),fP._32(n,152).disabled,fP._32(n,152).errorState,fP._32(n,152).required]);l(n,159,0,fP._32(n,160)._getTabIndex(),fP._32(n,160).selected,fP._32(n,160).multiple,fP._32(n,160).active,fP._32(n,160).id,fP._32(n,160).selected.toString(),fP._32(n,160).disabled.toString(),fP._32(n,160).disabled);l(n,168,1,[fP._32(n,169)._control.errorState,fP._32(n,169)._control.errorState,fP._32(n,169)._canLabelFloat,fP._32(n,169)._shouldLabelFloat(),fP._32(n,169)._hideControlPlaceholder(),fP._32(n,169)._control.disabled,fP._32(n,169)._control.focused,"primary"==fP._32(n,169).color,"accent"==fP._32(n,169).color,"warn"==fP._32(n,169).color,fP._32(n,169)._shouldForward("untouched"),fP._32(n,169)._shouldForward("touched"),fP._32(n,169)._shouldForward("pristine"),fP._32(n,169)._shouldForward("dirty"),fP._32(n,169)._shouldForward("valid"),fP._32(n,169)._shouldForward("invalid"),fP._32(n,169)._shouldForward("pending")]);l(n,178,1,[fP._32(n,181).ngClassUntouched,fP._32(n,181).ngClassTouched,fP._32(n,181).ngClassPristine,fP._32(n,181).ngClassDirty,fP._32(n,181).ngClassValid,fP._32(n,181).ngClassInvalid,fP._32(n,181).ngClassPending,fP._32(n,182).id,fP._32(n,182).tabIndex,fP._32(n,182)._ariaLabel,fP._32(n,182).ariaLabelledby,fP._32(n,182).required.toString(),fP._32(n,182).disabled.toString(),fP._32(n,182).errorState,fP._32(n,182).panelOpen?fP._32(n,182)._optionIds:null,fP._32(n,182).multiple,fP._32(n,182)._ariaDescribedby||null,fP._32(n,182)._getAriaActiveDescendant(),fP._32(n,182).disabled,fP._32(n,182).errorState,fP._32(n,182).required]);l(n,189,0,fP._32(n,190)._getTabIndex(),fP._32(n,190).selected,fP._32(n,190).multiple,fP._32(n,190).active,fP._32(n,190).id,fP._32(n,190).selected.toString(),fP._32(n,190).disabled.toString(),fP._32(n,190).disabled);l(n,193,0,fP._32(n,194)._getTabIndex(),fP._32(n,194).selected,fP._32(n,194).multiple,fP._32(n,194).active,fP._32(n,194).id,fP._32(n,194).selected.toString(),fP._32(n,194).disabled.toString(),fP._32(n,194).disabled);l(n,197,0,fP._32(n,198)._getTabIndex(),fP._32(n,198).selected,fP._32(n,198).multiple,fP._32(n,198).active,fP._32(n,198).id,fP._32(n,198).selected.toString(),fP._32(n,198).disabled.toString(),fP._32(n,198).disabled);l(n,214,0,fP._32(n,215)._hidden)})}function Li(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[["class","checkbo"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","exist_status"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.changeBusinessActivity(l.context.$implicit)&&u}return u},LV.b,LV.a)),fP._17(6,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(8,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(10,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(11,0,["",""])),fP._36(12,1),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"primary");l(n,8,0,"exist_status")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6).id,fP._32(n,6).indeterminate,fP._32(n,6).checked,fP._32(n,6).disabled,"before"==fP._32(n,6).labelPosition,fP._32(n,10).ngClassUntouched,fP._32(n,10).ngClassTouched,fP._32(n,10).ngClassPristine,fP._32(n,10).ngClassDirty,fP._32(n,10).ngClassValid,fP._32(n,10).ngClassInvalid,fP._32(n,10).ngClassPending]);l(n,11,0,fP._41(n,11,0,l(n,12,0,fP._32(n.parent.parent,0),n.context.$implicit.controls.name.value)))})}function Ai(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,145,{_control:0}),fP._38(335544320,146,{_placeholderChild:0}),fP._38(335544320,147,{_labelChild:0}),fP._38(603979776,148,{_errorChildren:1}),fP._38(603979776,149,{_hintChildren:1}),fP._38(603979776,150,{_prefixChildren:1}),fP._38(603979776,151,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(1,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,152,{options:1}),fP._38(603979776,153,{optionGroups:1}),fP._38(335544320,154,{customTrigger:0}),fP._37(2048,[[145,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"pan_india_options");l(n,14,0,"Is PAN India");l(n,26,0,"Yes");l(n,30,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled)})}function Vi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[162,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ni(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Wi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,6,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.parent.context.index,l.parent.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,2,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,7,0,"optblue","md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function Ei(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.parent.parent.context.index,1)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More\n State"]))],function(l,n){l(n,1,0,"optblue","")},null)}function ji(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ei)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"No"==n.parent.parent.parent.parent.context.$implicit.value.pan_india_options)},null)}function $i(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,103,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,155,{_control:0}),fP._38(335544320,156,{_placeholderChild:0}),fP._38(335544320,157,{_labelChild:0}),fP._38(603979776,158,{_errorChildren:1}),fP._38(603979776,159,{_hintChildren:1}),fP._38(603979776,160,{_prefixChildren:1}),fP._38(603979776,161,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,31,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.parent.context.$implicit.value.state_name,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,162,{options:1}),fP._38(603979776,163,{optionGroups:1}),fP._38(335544320,164,{customTrigger:0}),fP._37(2048,[[155,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[162,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(26,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.parent.context.$implicit,l.parent.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(27,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,165,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(30,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(32,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(35,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(36,16384,[[165,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Vi)),fP._17(41,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(47,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,166,{_control:0}),fP._38(335544320,167,{_placeholderChild:0}),fP._38(335544320,168,{_labelChild:0}),fP._38(603979776,169,{_errorChildren:1}),fP._38(603979776,170,{_hintChildren:1}),fP._38(603979776,171,{_prefixChildren:1}),fP._38(603979776,172,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(56,0,null,1,33,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,62)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(57,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(59,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(61,16384,null,0,EP.s,[EP.r],null,null),fP._17(62,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,173,{options:1}),fP._38(603979776,174,{optionGroups:1}),fP._38(335544320,175,{customTrigger:0}),fP._37(2048,[[166,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,70)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(70,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(72,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.parent.context.$implicit,l.parent.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(73,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,176,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(76,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(78,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(81,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(82,16384,[[176,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ni)),fP._17(88,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(92,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(93,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,177,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wi)),fP._17(97,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(98,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ji)),fP._17(101,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"state_name");l(n,16,0,"State");l(n,27,0,"Find State","No Matching Result");l(n,30,0,"stateSearch");l(n,35,0,"md-close");l(n,41,0,fP._41(n,41,0,fP._32(n,42).transform(e.filteredState)));l(n,57,0,"");l(n,59,0,"city_name");l(n,62,0,"City","","");l(n,73,0,"Find City","No Matching Result");l(n,76,0,"citySearch");l(n,81,0,"md-close");l(n,88,0,e.cityDataValue[n.parent.context.index]);l(n,97,0,n.parent.context.index>0);l(n,101,0,n.parent.context.last)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,26,0,fP._32(n,27).isInsideMatOption,fP._32(n,32).ngClassUntouched,fP._32(n,32).ngClassTouched,fP._32(n,32).ngClassPristine,fP._32(n,32).ngClassDirty,fP._32(n,32).ngClassValid,fP._32(n,32).ngClassInvalid,fP._32(n,32).ngClassPending);l(n,34,0,fP._32(n,35)._hidden);l(n,46,1,[fP._32(n,47)._control.errorState,fP._32(n,47)._control.errorState,fP._32(n,47)._canLabelFloat,fP._32(n,47)._shouldLabelFloat(),fP._32(n,47)._hideControlPlaceholder(),fP._32(n,47)._control.disabled,fP._32(n,47)._control.focused,"primary"==fP._32(n,47).color,"accent"==fP._32(n,47).color,"warn"==fP._32(n,47).color,fP._32(n,47)._shouldForward("untouched"),fP._32(n,47)._shouldForward("touched"),fP._32(n,47)._shouldForward("pristine"),fP._32(n,47)._shouldForward("dirty"),fP._32(n,47)._shouldForward("valid"),fP._32(n,47)._shouldForward("invalid"),fP._32(n,47)._shouldForward("pending")]);l(n,56,1,[fP._32(n,57).required?"":null,fP._32(n,61).ngClassUntouched,fP._32(n,61).ngClassTouched,fP._32(n,61).ngClassPristine,fP._32(n,61).ngClassDirty,fP._32(n,61).ngClassValid,fP._32(n,61).ngClassInvalid,fP._32(n,61).ngClassPending,fP._32(n,62).id,fP._32(n,62).tabIndex,fP._32(n,62)._ariaLabel,fP._32(n,62).ariaLabelledby,fP._32(n,62).required.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).errorState,fP._32(n,62).panelOpen?fP._32(n,62)._optionIds:null,fP._32(n,62).multiple,fP._32(n,62)._ariaDescribedby||null,fP._32(n,62)._getAriaActiveDescendant(),fP._32(n,62).disabled,fP._32(n,62).errorState,fP._32(n,62).required]);l(n,69,0,fP._32(n,70)._getTabIndex(),fP._32(n,70).selected,fP._32(n,70).multiple,fP._32(n,70).active,fP._32(n,70).id,fP._32(n,70).selected.toString(),fP._32(n,70).disabled.toString(),fP._32(n,70).disabled);l(n,72,0,fP._32(n,73).isInsideMatOption,fP._32(n,78).ngClassUntouched,fP._32(n,78).ngClassTouched,fP._32(n,78).ngClassPristine,fP._32(n,78).ngClassDirty,fP._32(n,78).ngClassValid,fP._32(n,78).ngClassInvalid,fP._32(n,78).ngClassPending);l(n,80,0,fP._32(n,81)._hidden)})}function Bi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$i)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Ri(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[185,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ui(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,2,null,Ri)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,fP._41(n,3,0,fP._32(n,4).transform(e.filteredState)))},null)}function Mi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[185,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ki(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mi)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.filterMaxSaleState(e.stateList,n.parent.parent.parent.parent.context.$implicit.value.india_where_sale_done))},null)}function Hi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[196,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Gi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,189,{_control:0}),fP._38(335544320,190,{_placeholderChild:0}),fP._38(335544320,191,{_labelChild:0}),fP._38(603979776,192,{_errorChildren:1}),fP._38(603979776,193,{_hintChildren:1}),fP._38(603979776,194,{_prefixChildren:1}),fP._38(603979776,195,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[191,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,196,{options:1}),fP._38(603979776,197,{optionGroups:1}),fP._38(335544320,198,{customTrigger:0}),fP._37(2048,[[189,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Hi)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function zi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,58,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,178,{_control:0}),fP._38(335544320,179,{_placeholderChild:0}),fP._38(335544320,180,{_labelChild:0}),fP._38(603979776,181,{_errorChildren:1}),fP._38(603979776,182,{_hintChildren:1}),fP._38(603979776,183,{_prefixChildren:1}),fP._38(603979776,184,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[180,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,185,{options:1}),fP._38(603979776,186,{optionGroups:1}),fP._38(335544320,187,{customTrigger:0}),fP._37(2048,[[178,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[185,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(33,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(34,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,188,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(42,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(43,16384,[[188,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ui)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ki)),fP._17(52,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gi)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,20,0,"state_name");l(n,23,0,"States","");l(n,34,0,"Find City","No Matching Result");l(n,37,0,"stateSearch");l(n,42,0,"md-close");l(n,49,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,52,0,"Yes"!=n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,57,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,33,0,fP._32(n,34).isInsideMatOption,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending);l(n,41,0,fP._32(n,42)._hidden)})}function Yi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zi)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Qi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bi)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yi)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,12,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function Ji(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[206,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Xi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,2,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"");l(n,4,0,"optblue","md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Zi(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.context.index,2)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add\n More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function lo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,92,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,47,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,199,{_control:0}),fP._38(335544320,200,{_placeholderChild:0}),fP._38(335544320,201,{_labelChild:0}),fP._38(603979776,202,{_errorChildren:1}),fP._38(603979776,203,{_hintChildren:1}),fP._38(603979776,204,{_prefixChildren:1}),fP._38(603979776,205,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[201,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,31,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,206,{options:1}),fP._38(603979776,207,{optionGroups:1}),fP._38(335544320,208,{customTrigger:0}),fP._37(2048,[[199,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[206,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(34,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(35,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,209,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(38,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(40,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(43,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(44,16384,[[209,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Ji)),fP._17(49,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(55,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,210,{_control:0}),fP._38(335544320,211,{_placeholderChild:0}),fP._38(335544320,212,{_labelChild:0}),fP._38(603979776,213,{_errorChildren:1}),fP._38(603979776,214,{_hintChildren:1}),fP._38(603979776,215,{_prefixChildren:1}),fP._38(603979776,216,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,65)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,66).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,66).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,73)._onInput()&&u}return u},null,null)),fP._17(65,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(66,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(67,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(70,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(72,16384,null,0,EP.s,[EP.r],null,null),fP._17(73,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[210,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,14,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(78,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,217,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(81,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(82,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xi)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(87,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zi)),fP._17(90,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,35,0,"Find Countries","No Matching Result");l(n,38,0,"countrySearch");l(n,43,0,"md-close");l(n,49,0,fP._41(n,49,0,fP._32(n,50).transform(e.filteredCountry)));l(n,67,0,"");l(n,70,0,"approx_sale");l(n,73,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"","number");l(n,85,0,n.context.index>0);l(n,90,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,34,0,fP._32(n,35).isInsideMatOption,fP._32(n,40).ngClassUntouched,fP._32(n,40).ngClassTouched,fP._32(n,40).ngClassPristine,fP._32(n,40).ngClassDirty,fP._32(n,40).ngClassValid,fP._32(n,40).ngClassInvalid,fP._32(n,40).ngClassPending);l(n,42,0,fP._32(n,43)._hidden);l(n,54,1,[fP._32(n,55)._control.errorState,fP._32(n,55)._control.errorState,fP._32(n,55)._canLabelFloat,fP._32(n,55)._shouldLabelFloat(),fP._32(n,55)._hideControlPlaceholder(),fP._32(n,55)._control.disabled,fP._32(n,55)._control.focused,"primary"==fP._32(n,55).color,"accent"==fP._32(n,55).color,"warn"==fP._32(n,55).color,fP._32(n,55)._shouldForward("untouched"),fP._32(n,55)._shouldForward("touched"),fP._32(n,55)._shouldForward("pristine"),fP._32(n,55)._shouldForward("dirty"),fP._32(n,55)._shouldForward("valid"),fP._32(n,55)._shouldForward("invalid"),fP._32(n,55)._shouldForward("pending")]);l(n,64,1,[fP._32(n,67).required?"":null,fP._32(n,72).ngClassUntouched,fP._32(n,72).ngClassTouched,fP._32(n,72).ngClassPristine,fP._32(n,72).ngClassDirty,fP._32(n,72).ngClassValid,fP._32(n,72).ngClassInvalid,fP._32(n,72).ngClassPending,fP._32(n,73)._isServer,fP._32(n,73).id,fP._32(n,73).placeholder,fP._32(n,73).disabled,fP._32(n,73).required,fP._32(n,73).readonly,fP._32(n,73)._ariaDescribedby||null,fP._32(n,73).errorState,fP._32(n,73).required.toString()])})}function no(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lo)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function eo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,218,{_control:0}),fP._38(335544320,219,{_placeholderChild:0}),fP._38(335544320,220,{_labelChild:0}),fP._38(603979776,221,{_errorChildren:1}),fP._38(603979776,222,{_hintChildren:1}),fP._38(603979776,223,{_prefixChildren:1}),fP._38(603979776,224,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(1,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,225,{options:1}),fP._38(603979776,226,{optionGroups:1}),fP._38(335544320,227,{customTrigger:0}),fP._37(2048,[[218,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[225,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[225,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[225,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function uo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[235,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function to(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[246,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ao(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,6,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,2,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,7,0,"optblue","md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function io(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.parent.context.index,1)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More\n State"]))],function(l,n){l(n,1,0,"optblue","")},null)}function oo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,io)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value.length>0)},null)}function ro(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,108,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:34%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,228,{_control:0}),fP._38(335544320,229,{_placeholderChild:0}),fP._38(335544320,230,{_labelChild:0}),fP._38(603979776,231,{_errorChildren:1}),fP._38(603979776,232,{_hintChildren:1}),fP._38(603979776,233,{_prefixChildren:1}),fP._38(603979776,234,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,33,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,235,{options:1}),fP._38(603979776,236,{optionGroups:1}),fP._38(335544320,237,{customTrigger:0}),fP._37(2048,[[228,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[235,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(32,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,238,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(35,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(37,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(40,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(41,16384,[[238,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,uo)),fP._17(46,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(51,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:45%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(52,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,239,{_control:0}),fP._38(335544320,240,{_placeholderChild:0}),fP._38(335544320,241,{_labelChild:0}),fP._38(603979776,242,{_errorChildren:1}),fP._38(603979776,243,{_hintChildren:1}),fP._38(603979776,244,{_prefixChildren:1}),fP._38(603979776,245,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,33,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,67)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(62,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(64,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(66,16384,null,0,EP.s,[EP.r],null,null),fP._17(67,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,246,{options:1}),fP._38(603979776,247,{optionGroups:1}),fP._38(335544320,248,{customTrigger:0}),fP._37(2048,[[239,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(74,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,75)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(75,8437760,[[246,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(78,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,249,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(81,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(83,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(86,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(87,16384,[[249,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,to)),fP._17(93,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(97,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(98,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,250,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ao)),fP._17(102,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(103,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,oo)),fP._17(106,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,32,0,"Find State","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,fP._41(n,46,0,fP._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,93,0,e.cityDataValue[n.context.index]);l(n,102,0,n.context.index>0);l(n,106,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,31,0,fP._32(n,32).isInsideMatOption,fP._32(n,37).ngClassUntouched,fP._32(n,37).ngClassTouched,fP._32(n,37).ngClassPristine,fP._32(n,37).ngClassDirty,fP._32(n,37).ngClassValid,fP._32(n,37).ngClassInvalid,fP._32(n,37).ngClassPending);l(n,39,0,fP._32(n,40)._hidden);l(n,51,1,[fP._32(n,52)._control.errorState,fP._32(n,52)._control.errorState,fP._32(n,52)._canLabelFloat,fP._32(n,52)._shouldLabelFloat(),fP._32(n,52)._hideControlPlaceholder(),fP._32(n,52)._control.disabled,fP._32(n,52)._control.focused,"primary"==fP._32(n,52).color,"accent"==fP._32(n,52).color,"warn"==fP._32(n,52).color,fP._32(n,52)._shouldForward("untouched"),fP._32(n,52)._shouldForward("touched"),fP._32(n,52)._shouldForward("pristine"),fP._32(n,52)._shouldForward("dirty"),fP._32(n,52)._shouldForward("valid"),fP._32(n,52)._shouldForward("invalid"),fP._32(n,52)._shouldForward("pending")]);l(n,61,1,[fP._32(n,62).required?"":null,fP._32(n,66).ngClassUntouched,fP._32(n,66).ngClassTouched,fP._32(n,66).ngClassPristine,fP._32(n,66).ngClassDirty,fP._32(n,66).ngClassValid,fP._32(n,66).ngClassInvalid,fP._32(n,66).ngClassPending,fP._32(n,67).id,fP._32(n,67).tabIndex,fP._32(n,67)._ariaLabel,fP._32(n,67).ariaLabelledby,fP._32(n,67).required.toString(),fP._32(n,67).disabled.toString(),fP._32(n,67).errorState,fP._32(n,67).panelOpen?fP._32(n,67)._optionIds:null,fP._32(n,67).multiple,fP._32(n,67)._ariaDescribedby||null,fP._32(n,67)._getAriaActiveDescendant(),fP._32(n,67).disabled,fP._32(n,67).errorState,fP._32(n,67).required]);l(n,74,0,fP._32(n,75)._getTabIndex(),fP._32(n,75).selected,fP._32(n,75).multiple,fP._32(n,75).active,fP._32(n,75).id,fP._32(n,75).selected.toString(),fP._32(n,75).disabled.toString(),fP._32(n,75).disabled);l(n,77,0,fP._32(n,78).isInsideMatOption,fP._32(n,83).ngClassUntouched,fP._32(n,83).ngClassTouched,fP._32(n,83).ngClassPristine,fP._32(n,83).ngClassDirty,fP._32(n,83).ngClassValid,fP._32(n,83).ngClassInvalid,fP._32(n,83).ngClassPending);l(n,85,0,fP._32(n,86)._hidden)})}function _o(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[258,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function so(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[268,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function co(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,261,{_control:0}),fP._38(335544320,262,{_placeholderChild:0}),fP._38(335544320,263,{_labelChild:0}),fP._38(603979776,264,{_errorChildren:1}),fP._38(603979776,265,{_hintChildren:1}),fP._38(603979776,266,{_prefixChildren:1}),fP._38(603979776,267,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[263,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,268,{options:1}),fP._38(603979776,269,{optionGroups:1}),fP._38(335544320,270,{customTrigger:0}),fP._37(2048,[[261,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,so)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function mo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,251,{_control:0}),fP._38(335544320,252,{_placeholderChild:0}),fP._38(335544320,253,{_labelChild:0}),fP._38(603979776,254,{_errorChildren:1}),fP._38(603979776,255,{_hintChildren:1}),fP._38(603979776,256,{_prefixChildren:1}),fP._38(603979776,257,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[253,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,258,{options:1}),fP._38(603979776,259,{optionGroups:1}),fP._38(335544320,260,{customTrigger:0}),fP._37(2048,[[251,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,_o)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,co)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required])})}function po(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[278,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function fo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,6,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.removeState(l.parent.parent.parent.context.index,t.mx,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,2,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,7,0,"optblue","md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function ho(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.context.index,2)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add\n More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function go(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,91,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,51,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,271,{_control:0}),fP._38(335544320,272,{_placeholderChild:0}),fP._38(335544320,273,{_labelChild:0}),fP._38(603979776,274,{_errorChildren:1}),fP._38(603979776,275,{_hintChildren:1}),fP._38(603979776,276,{_prefixChildren:1}),fP._38(603979776,277,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[273,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,278,{options:1}),fP._38(603979776,279,{optionGroups:1}),fP._38(335544320,280,{customTrigger:0}),fP._37(2048,[[271,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[278,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[278,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(38,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(39,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,281,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(47,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(48,16384,[[281,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,po)),fP._17(53,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,282,{_control:0}),fP._38(335544320,283,{_placeholderChild:0}),fP._38(335544320,284,{_labelChild:0}),fP._38(603979776,285,{_errorChildren:1}),fP._38(603979776,286,{_hintChildren:1}),fP._38(603979776,287,{_prefixChildren:1}),fP._38(603979776,288,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[282,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(81,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,289,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fo)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(86,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ho)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,39,0,"Find Countries","No Matching Result");l(n,42,0,"countrySearch");l(n,47,0,"md-close");l(n,53,0,fP._41(n,53,0,fP._32(n,54).transform(e.filteredCountry)));l(n,70,0,"");l(n,73,0,"approx_sale");l(n,76,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,85,0,n.context.index>0);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,38,0,fP._32(n,39).isInsideMatOption,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending);l(n,46,0,fP._32(n,47)._hidden);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,70).required?"":null,fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()])})}function bo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,41,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Within India"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eo)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,7,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(12,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(14,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ro)),fP._17(17,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n\n\n\n\n "])),(l()(),fP._18(20,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(21,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(23,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mo)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Export"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(33,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(35,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,go)),fP._17(38,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,21,0,"max_sale_state_name");l(n,26,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,33,0,"countries_where_export_done");l(n,38,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,11,0,fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending);l(n,20,0,fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending);l(n,32,0,fP._32(n,35).ngClassUntouched,fP._32(n,35).ngClassTouched,fP._32(n,35).ngClassPristine,fP._32(n,35).ngClassDirty,fP._32(n,35).ngClassValid,fP._32(n,35).ngClassInvalid,fP._32(n,35).ngClassPending)})}function vo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreManufacturing()&&u}return u},aV.b,aV.a)),fP._17(5,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),fP._40(-1,0,["Add More\n Product"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function yo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,122,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Manufacturing Details ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,128,{_control:0}),fP._38(335544320,129,{_placeholderChild:0}),fP._38(335544320,130,{_labelChild:0}),fP._38(603979776,131,{_errorChildren:1}),fP._38(603979776,132,{_hintChildren:1}),fP._38(603979776,133,{_prefixChildren:1}),fP._38(603979776,134,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,24)._onInput()&&u}return u},null,null)),fP._17(19,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[128,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(29,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,135,{_control:0}),fP._38(335544320,136,{_placeholderChild:0}),fP._38(335544320,137,{_labelChild:0}),fP._38(603979776,138,{_errorChildren:1}),fP._38(603979776,139,{_hintChildren:1}),fP._38(603979776,140,{_prefixChildren:1}),fP._38(603979776,141,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,42)._onBlur()&&u}if("selectionChange"===n){t.changeManufacturingAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"MActivity",l.context.index)&&u}return u},tN.b,tN.a)),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,142,{options:1}),fP._38(603979776,143,{optionGroups:1}),fP._38(335544320,144,{customTrigger:0}),fP._37(2048,[[135,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,50)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(50,8437760,[[142,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(54,8437760,[[142,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Within India"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[142,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Export"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[142,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Both"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ai)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qi)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,no)),fP._17(74,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bo)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(79,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,290,{_control:0}),fP._38(335544320,291,{_placeholderChild:0}),fP._38(335544320,292,{_labelChild:0}),fP._38(603979776,293,{_errorChildren:1}),fP._38(603979776,294,{_hintChildren:1}),fP._38(603979776,295,{_prefixChildren:1}),fP._38(603979776,296,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(90,16384,[[292,4]],0,EA.f,[],null,null),(l()(),fP._40(91,null,["Description of "," Manufacturing Process\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(93,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,94)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,94).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,94)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,94)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,99)._onInput()&&u}return u},null,null)),fP._17(94,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(96,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(98,16384,null,0,EP.s,[EP.r],null,null),fP._17(99,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[290,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(103,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(104,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,297,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(108,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeManufacturing(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(111,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(113,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(114,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(117,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vo)),fP._17(120,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,21,0,"main_products");l(n,24,0,"Main Product");l(n,39,0,"area_of_sale");l(n,42,0,"Area of Sale");l(n,54,0,"Within India");l(n,58,0,"Export");l(n,62,0,"Both");l(n,68,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,71,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,74,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0==n.context.$implicit.value.india_where_sale_done);l(n,77,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,96,0,"description");l(n,99,0,"Description");l(n,111,0,"optblue","");l(n,114,0,"md-trash");l(n,120,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24)._isServer,fP._32(n,24).id,fP._32(n,24).placeholder,fP._32(n,24).disabled,fP._32(n,24).required,fP._32(n,24).readonly,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24).errorState,fP._32(n,24).required.toString()]);l(n,28,1,[fP._32(n,29)._control.errorState,fP._32(n,29)._control.errorState,fP._32(n,29)._canLabelFloat,fP._32(n,29)._shouldLabelFloat(),fP._32(n,29)._hideControlPlaceholder(),fP._32(n,29)._control.disabled,fP._32(n,29)._control.focused,"primary"==fP._32(n,29).color,"accent"==fP._32(n,29).color,"warn"==fP._32(n,29).color,fP._32(n,29)._shouldForward("untouched"),fP._32(n,29)._shouldForward("touched"),fP._32(n,29)._shouldForward("pristine"),fP._32(n,29)._shouldForward("dirty"),fP._32(n,29)._shouldForward("valid"),fP._32(n,29)._shouldForward("invalid"),fP._32(n,29)._shouldForward("pending")]);l(n,38,1,[fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42).id,fP._32(n,42).tabIndex,fP._32(n,42)._ariaLabel,fP._32(n,42).ariaLabelledby,fP._32(n,42).required.toString(),fP._32(n,42).disabled.toString(),fP._32(n,42).errorState,fP._32(n,42).panelOpen?fP._32(n,42)._optionIds:null,fP._32(n,42).multiple,fP._32(n,42)._ariaDescribedby||null,fP._32(n,42)._getAriaActiveDescendant(),fP._32(n,42).disabled,fP._32(n,42).errorState,fP._32(n,42).required]);l(n,49,0,fP._32(n,50)._getTabIndex(),fP._32(n,50).selected,fP._32(n,50).multiple,fP._32(n,50).active,fP._32(n,50).id,fP._32(n,50).selected.toString(),fP._32(n,50).disabled.toString(),fP._32(n,50).disabled);l(n,53,0,fP._32(n,54)._getTabIndex(),fP._32(n,54).selected,fP._32(n,54).multiple,fP._32(n,54).active,fP._32(n,54).id,fP._32(n,54).selected.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).disabled);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,91,0,n.context.$implicit.value.main_products);l(n,93,1,[fP._32(n,98).ngClassUntouched,fP._32(n,98).ngClassTouched,fP._32(n,98).ngClassPristine,fP._32(n,98).ngClassDirty,fP._32(n,98).ngClassValid,fP._32(n,98).ngClassInvalid,fP._32(n,98).ngClassPending,fP._32(n,99)._isServer,fP._32(n,99).id,fP._32(n,99).placeholder,fP._32(n,99).disabled,fP._32(n,99).required,fP._32(n,99).readonly,fP._32(n,99)._ariaDescribedby||null,fP._32(n,99).errorState,fP._32(n,99).required.toString()]);l(n,113,0,fP._32(n,114)._hidden)})}function Co(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","manufacturing_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),fP._17(7,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yo)),fP._17(10,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n\n "]))],function(l,n){var e=n.component;l(n,4,0,"manufacturing_activity_details");l(n,10,0,e.businessForm.controls.manufacturing_activity_details.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function wo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,315,{_control:0}),fP._38(335544320,316,{_placeholderChild:0}),fP._38(335544320,317,{_labelChild:0}),fP._38(603979776,318,{_errorChildren:1}),fP._38(603979776,319,{_hintChildren:1}),fP._38(603979776,320,{_prefixChildren:1}),fP._38(603979776,321,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(2,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,322,{options:1}),fP._38(603979776,323,{optionGroups:1}),fP._38(335544320,324,{customTrigger:0}),fP._37(2048,[[315,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[322,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[322,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[322,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function Fo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[332,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function xo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[343,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ko(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function So(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More State"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Io(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,111,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,325,{_control:0}),fP._38(335544320,326,{_placeholderChild:0}),fP._38(335544320,327,{_labelChild:0}),fP._38(603979776,328,{_errorChildren:1}),fP._38(603979776,329,{_hintChildren:1}),fP._38(603979776,330,{_prefixChildren:1}),fP._38(603979776,331,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,37,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,332,{options:1}),fP._38(603979776,333,{optionGroups:1}),fP._38(335544320,334,{customTrigger:0}),fP._37(2048,[[325,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[332,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[332,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,335,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[335,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._13(16777216,null,1,2,null,Fo)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,336,{_control:0}),fP._38(335544320,337,{_placeholderChild:0}),fP._38(335544320,338,{_labelChild:0}),fP._38(603979776,339,{_errorChildren:1}),fP._38(603979776,340,{_hintChildren:1}),fP._38(603979776,341,{_prefixChildren:1}),fP._38(603979776,342,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,32,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,343,{options:1}),fP._38(603979776,344,{optionGroups:1}),fP._38(335544320,345,{customTrigger:0}),fP._37(2048,[[336,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[343,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,346,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[346,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,xo)),fP._17(96,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(100,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(101,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,347,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ko)),fP._17(105,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(106,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,So)),fP._17(109,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,36,0,"Find state","No Matching Result");l(n,39,0,"stateSearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredState)));l(n,66,0,"");l(n,68,0,"city_name");l(n,71,0,"City","","");l(n,82,0,"Find City","No Matching Result");l(n,85,0,"citySearch");l(n,90,0,"md-close");l(n,96,0,e.cityDataValue[n.context.index]);l(n,105,0,n.context.index>0);l(n,109,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options&&n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden)})}function qo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[355,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Po(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,2,null,qo)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,fP._41(n,3,0,fP._32(n,4).transform(e.filteredState)))},null)}function Do(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[355,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function To(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Do)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.filterMaxSaleState(e.stateList,n.parent.parent.parent.parent.context.$implicit.value.india_where_sale_done))},null)}function Oo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[366,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Lo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,359,{_control:0}),fP._38(335544320,360,{_placeholderChild:0}),fP._38(335544320,361,{_labelChild:0}),fP._38(603979776,362,{_errorChildren:1}),fP._38(603979776,363,{_hintChildren:1}),fP._38(603979776,364,{_prefixChildren:1}),fP._38(603979776,365,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[361,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,366,{options:1}),fP._38(603979776,367,{optionGroups:1}),fP._38(335544320,368,{customTrigger:0}),fP._37(2048,[[359,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Oo)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function Ao(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,57,"div",[["class","tab_class"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,348,{_control:0}),fP._38(335544320,349,{_placeholderChild:0}),fP._38(335544320,350,{_labelChild:0}),fP._38(603979776,351,{_errorChildren:1}),fP._38(603979776,352,{_hintChildren:1}),fP._38(603979776,353,{_prefixChildren:1}),fP._38(603979776,354,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[350,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(19,0,null,1,33,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,355,{options:1}),fP._38(603979776,356,{optionGroups:1}),fP._38(335544320,357,{customTrigger:0}),fP._37(2048,[[348,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[355,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(33,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(34,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,358,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(42,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(43,16384,[[358,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Po)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,To)),fP._17(51,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lo)),fP._17(56,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,20,0,"state_name");l(n,23,0,"States","");l(n,34,0,"Find State","No matching records");l(n,37,0,"stateSearch");l(n,42,0,"md-close");l(n,48,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,51,0,"Yes"!=n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,56,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,33,0,fP._32(n,34).isInsideMatOption,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending);l(n,41,0,fP._32(n,42)._hidden)})}function Vo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ao)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function No(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Io)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vo)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,13,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function Wo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[376,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Eo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function jo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function $o(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,88,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,369,{_control:0}),fP._38(335544320,370,{_placeholderChild:0}),fP._38(335544320,371,{_labelChild:0}),fP._38(603979776,372,{_errorChildren:1}),fP._38(603979776,373,{_hintChildren:1}),fP._38(603979776,374,{_prefixChildren:1}),fP._38(603979776,375,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[371,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,31,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries Where The Export Is Being Done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,25)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,376,{options:1}),fP._38(603979776,377,{optionGroups:1}),fP._38(335544320,378,{customTrigger:0}),fP._37(2048,[[369,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[376,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,379,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[379,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Wo)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,380,{_control:0}),fP._38(335544320,381,{_placeholderChild:0}),fP._38(335544320,382,{_labelChild:0}),fP._38(603979776,383,{_errorChildren:1}),fP._38(603979776,384,{_hintChildren:1}),fP._38(603979776,385,{_prefixChildren:1}),fP._38(603979776,386,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,73)._onInput()&&u}return u},null,null)),fP._17(66,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(67,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(70,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(72,16384,null,0,EP.s,[EP.r],null,null),fP._17(73,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[380,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(78,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,387,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Eo)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(83,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jo)),fP._17(86,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"country_name");l(n,25,0,"Countries Where The Export Is Being Done");l(n,36,0,"Find Countries","No Matching Result");l(n,39,0,"countrySearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredCountry)));l(n,67,0,"");l(n,70,0,"approx_sale");l(n,73,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,82,0,n.context.index>0);l(n,86,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,21,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25).id,fP._32(n,25).tabIndex,fP._32(n,25)._ariaLabel,fP._32(n,25).ariaLabelledby,fP._32(n,25).required.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).errorState,fP._32(n,25).panelOpen?fP._32(n,25)._optionIds:null,fP._32(n,25).multiple,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25)._getAriaActiveDescendant(),fP._32(n,25).disabled,fP._32(n,25).errorState,fP._32(n,25).required]);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,67).required?"":null,fP._32(n,72).ngClassUntouched,fP._32(n,72).ngClassTouched,fP._32(n,72).ngClassPristine,fP._32(n,72).ngClassDirty,fP._32(n,72).ngClassValid,fP._32(n,72).ngClassInvalid,fP._32(n,72).ngClassPending,fP._32(n,73)._isServer,fP._32(n,73).id,fP._32(n,73).placeholder,fP._32(n,73).disabled,fP._32(n,73).required,fP._32(n,73).readonly,fP._32(n,73)._ariaDescribedby||null,fP._32(n,73).errorState,fP._32(n,73).required.toString()])})}function Bo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$o)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function Ro(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,388,{_control:0}),fP._38(335544320,389,{_placeholderChild:0}),fP._38(335544320,390,{_labelChild:0}),fP._38(603979776,391,{_errorChildren:1}),fP._38(603979776,392,{_hintChildren:1}),fP._38(603979776,393,{_prefixChildren:1}),fP._38(603979776,394,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(2,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,395,{options:1}),fP._38(603979776,396,{optionGroups:1}),fP._38(335544320,397,{customTrigger:0}),fP._37(2048,[[388,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[395,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[395,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[395,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function Uo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[405,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Mo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[416,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ko(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function Ho(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More State"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Go(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,111,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,398,{_control:0}),fP._38(335544320,399,{_placeholderChild:0}),fP._38(335544320,400,{_labelChild:0}),fP._38(603979776,401,{_errorChildren:1}),fP._38(603979776,402,{_hintChildren:1}),fP._38(603979776,403,{_prefixChildren:1}),fP._38(603979776,404,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,37,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,405,{options:1}),fP._38(603979776,406,{optionGroups:1}),fP._38(335544320,407,{customTrigger:0}),fP._37(2048,[[398,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[405,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[405,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,408,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[408,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Uo)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,409,{_control:0}),fP._38(335544320,410,{_placeholderChild:0}),fP._38(335544320,411,{_labelChild:0}),fP._38(603979776,412,{_errorChildren:1}),fP._38(603979776,413,{_hintChildren:1}),fP._38(603979776,414,{_prefixChildren:1}),fP._38(603979776,415,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,32,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,416,{options:1}),fP._38(603979776,417,{optionGroups:1}),fP._38(335544320,418,{customTrigger:0}),fP._37(2048,[[409,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[416,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(81,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,419,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[419,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Mo)),fP._17(96,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(100,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(101,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,420,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ko)),fP._17(105,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(106,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ho)),fP._17(109,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,36,0,"Find City","No Matching Result");l(n,39,0,"stateSearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredState)));l(n,66,0,"");l(n,68,0,"city_name");l(n,71,0,"City","","");l(n,82,0,"Find City","No Matching Result");l(n,85,0,"citySearch");l(n,90,0,"md-close");l(n,96,0,e.cityDataValue[n.context.index]);l(n,105,0,n.context.index>0);l(n,109,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden)})}function zo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "]))],null,null)}function Yo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[428,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Qo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[438,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Jo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,431,{_control:0}),fP._38(335544320,432,{_placeholderChild:0}),fP._38(335544320,433,{_labelChild:0}),fP._38(603979776,434,{_errorChildren:1}),fP._38(603979776,435,{_hintChildren:1}),fP._38(603979776,436,{_prefixChildren:1}),fP._38(603979776,437,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[433,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,438,{options:1}),fP._38(603979776,439,{optionGroups:1}),fP._38(335544320,440,{customTrigger:0}),fP._37(2048,[[431,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._13(16777216,null,1,1,null,Qo)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function Xo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,421,{_control:0}),fP._38(335544320,422,{_placeholderChild:0}),fP._38(335544320,423,{_labelChild:0}),fP._38(603979776,424,{_errorChildren:1}),fP._38(603979776,425,{_hintChildren:1}),fP._38(603979776,426,{_prefixChildren:1}),fP._38(603979776,427,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[423,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,428,{options:1}),fP._38(603979776,429,{optionGroups:1}),fP._38(335544320,430,{customTrigger:0}),fP._37(2048,[[421,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._13(16777216,null,1,1,null,Yo)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jo)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required])})}function Zo(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[448,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function lr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function nr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function er(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,91,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,51,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,441,{_control:0}),fP._38(335544320,442,{_placeholderChild:0}),fP._38(335544320,443,{_labelChild:0}),fP._38(603979776,444,{_errorChildren:1}),fP._38(603979776,445,{_hintChildren:1}),fP._38(603979776,446,{_prefixChildren:1}),fP._38(603979776,447,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[443,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries Where The Export Is Being Done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,448,{options:1}),fP._38(603979776,449,{optionGroups:1}),fP._38(335544320,450,{customTrigger:0}),fP._37(2048,[[441,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[448,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[448,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(38,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(39,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,451,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(47,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(48,16384,[[451,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Zo)),fP._17(53,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,452,{_control:0}),fP._38(335544320,453,{_placeholderChild:0}),fP._38(335544320,454,{_labelChild:0}),fP._38(603979776,455,{_errorChildren:1}),fP._38(603979776,456,{_hintChildren:1}),fP._38(603979776,457,{_prefixChildren:1}),fP._38(603979776,458,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[452,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(81,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,459,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lr)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(86,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nr)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries Where The Export Is Being Done");l(n,39,0,"Find Countries","No Matching Result");l(n,42,0,"countrySearch");l(n,47,0,"md-close");l(n,53,0,fP._41(n,53,0,fP._32(n,54).transform(e.filteredCountry)));l(n,70,0,"");l(n,73,0,"approx_sale");l(n,76,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,85,0,n.context.index>0);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,38,0,fP._32(n,39).isInsideMatOption,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending);l(n,46,0,fP._32(n,47)._hidden);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,70).required?"":null,fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()])})}function ur(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,43,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Within India"])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,4,"div",[["class","tab_class state-margin"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ro)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(12,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(14,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Go)),fP._17(17,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zo)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(24,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(26,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xo)),fP._17(29,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Export"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(36,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,er)),fP._17(41,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n\n\n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,11,0,fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending);l(n,23,0,fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending);l(n,35,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending)})}function tr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreRetail()&&u}return u},aV.b,aV.a)),fP._17(5,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),fP._40(-1,0,["Add More\n Product"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function ar(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,130,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(9,null,["Retail Trading Details ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,298,{_control:0}),fP._38(335544320,299,{_placeholderChild:0}),fP._38(335544320,300,{_labelChild:0}),fP._38(603979776,301,{_errorChildren:1}),fP._38(603979776,302,{_hintChildren:1}),fP._38(603979776,303,{_prefixChildren:1}),fP._38(603979776,304,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,30)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(24,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(27,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(29,16384,null,0,EP.s,[EP.r],null,null),fP._17(30,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[298,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(35,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,305,{_control:0}),fP._38(335544320,306,{_placeholderChild:0}),fP._38(335544320,307,{_labelChild:0}),fP._38(603979776,308,{_errorChildren:1}),fP._38(603979776,309,{_hintChildren:1}),fP._38(603979776,310,{_prefixChildren:1}),fP._38(603979776,311,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,50)._onBlur()&&u}if("selectionChange"===n){t.changeRetailAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"RActivity",l.context.index)&&u}return u},tN.b,tN.a)),fP._17(45,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(47,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(49,16384,null,0,EP.s,[EP.r],null,null),fP._17(50,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,312,{options:1}),fP._38(603979776,313,{optionGroups:1}),fP._38(335544320,314,{customTrigger:0}),fP._37(2048,[[305,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[312,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[312,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Within India"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[312,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Export"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,70)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(70,8437760,[[312,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Both"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wo)),fP._17(76,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,No)),fP._17(79,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bo)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ur)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(87,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(88,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,460,{_control:0}),fP._38(335544320,461,{_placeholderChild:0}),fP._38(335544320,462,{_labelChild:0}),fP._38(603979776,463,{_errorChildren:1}),fP._38(603979776,464,{_hintChildren:1}),fP._38(603979776,465,{_prefixChildren:1}),fP._38(603979776,466,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(97,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(98,16384,[[462,4]],0,EA.f,[],null,null),(l()(),fP._40(99,null,["Description of "," Retailing\n process"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(101,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,102)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,102).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,102)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,102)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,107)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,107)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,107)._onInput()&&u}return u},null,null)),fP._17(102,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(104,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(106,16384,null,0,EP.s,[EP.r],null,null),fP._17(107,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[460,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(111,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(112,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,467,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(115,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(116,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(118,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetail(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(119,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(121,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(122,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(125,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tr)),fP._17(128,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,24,0,"");l(n,27,0,"main_products");l(n,30,0,"Main Product","","text");l(n,45,0,"");l(n,47,0,"area_of_sale");l(n,50,0,"Area of Sale","");l(n,62,0,"Within India");l(n,66,0,"Export");l(n,70,0,"Both");l(n,76,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,79,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,82,0,void 0==n.context.$implicit.value.india_where_sale_done&&void 0!=n.context.$implicit.value.countries_where_export_done);l(n,85,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,104,0,"description");l(n,107,0,"Description");l(n,119,0,"optblue","");l(n,122,0,"md-trash");l(n,128,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,24).required?"":null,fP._32(n,29).ngClassUntouched,fP._32(n,29).ngClassTouched,fP._32(n,29).ngClassPristine,fP._32(n,29).ngClassDirty,fP._32(n,29).ngClassValid,fP._32(n,29).ngClassInvalid,fP._32(n,29).ngClassPending,fP._32(n,30)._isServer,fP._32(n,30).id,fP._32(n,30).placeholder,fP._32(n,30).disabled,fP._32(n,30).required,fP._32(n,30).readonly,fP._32(n,30)._ariaDescribedby||null,fP._32(n,30).errorState,fP._32(n,30).required.toString()]);l(n,34,1,[fP._32(n,35)._control.errorState,fP._32(n,35)._control.errorState,fP._32(n,35)._canLabelFloat,fP._32(n,35)._shouldLabelFloat(),fP._32(n,35)._hideControlPlaceholder(),fP._32(n,35)._control.disabled,fP._32(n,35)._control.focused,"primary"==fP._32(n,35).color,"accent"==fP._32(n,35).color,"warn"==fP._32(n,35).color,fP._32(n,35)._shouldForward("untouched"),fP._32(n,35)._shouldForward("touched"),fP._32(n,35)._shouldForward("pristine"),fP._32(n,35)._shouldForward("dirty"),fP._32(n,35)._shouldForward("valid"),fP._32(n,35)._shouldForward("invalid"),fP._32(n,35)._shouldForward("pending")]);l(n,44,1,[fP._32(n,45).required?"":null,fP._32(n,49).ngClassUntouched,fP._32(n,49).ngClassTouched,fP._32(n,49).ngClassPristine,fP._32(n,49).ngClassDirty,fP._32(n,49).ngClassValid,fP._32(n,49).ngClassInvalid,fP._32(n,49).ngClassPending,fP._32(n,50).id,fP._32(n,50).tabIndex,fP._32(n,50)._ariaLabel,fP._32(n,50).ariaLabelledby,fP._32(n,50).required.toString(),fP._32(n,50).disabled.toString(),fP._32(n,50).errorState,fP._32(n,50).panelOpen?fP._32(n,50)._optionIds:null,fP._32(n,50).multiple,fP._32(n,50)._ariaDescribedby||null,fP._32(n,50)._getAriaActiveDescendant(),fP._32(n,50).disabled,fP._32(n,50).errorState,fP._32(n,50).required]);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,69,0,fP._32(n,70)._getTabIndex(),fP._32(n,70).selected,fP._32(n,70).multiple,fP._32(n,70).active,fP._32(n,70).id,fP._32(n,70).selected.toString(),fP._32(n,70).disabled.toString(),fP._32(n,70).disabled);l(n,87,1,[fP._32(n,88)._control.errorState,fP._32(n,88)._control.errorState,fP._32(n,88)._canLabelFloat,fP._32(n,88)._shouldLabelFloat(),fP._32(n,88)._hideControlPlaceholder(),fP._32(n,88)._control.disabled,fP._32(n,88)._control.focused,"primary"==fP._32(n,88).color,"accent"==fP._32(n,88).color,"warn"==fP._32(n,88).color,fP._32(n,88)._shouldForward("untouched"),fP._32(n,88)._shouldForward("touched"),fP._32(n,88)._shouldForward("pristine"),fP._32(n,88)._shouldForward("dirty"),fP._32(n,88)._shouldForward("valid"),fP._32(n,88)._shouldForward("invalid"),fP._32(n,88)._shouldForward("pending")]);l(n,99,0,n.context.$implicit.value.main_products);l(n,101,1,[fP._32(n,106).ngClassUntouched,fP._32(n,106).ngClassTouched,fP._32(n,106).ngClassPristine,fP._32(n,106).ngClassDirty,fP._32(n,106).ngClassValid,fP._32(n,106).ngClassInvalid,fP._32(n,106).ngClassPending,fP._32(n,107)._isServer,fP._32(n,107).id,fP._32(n,107).placeholder,fP._32(n,107).disabled,fP._32(n,107).required,fP._32(n,107).readonly,fP._32(n,107)._ariaDescribedby||null,fP._32(n,107).errorState,fP._32(n,107).required.toString()]);l(n,121,0,fP._32(n,122)._hidden)})}function ir(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","retail_trading_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),fP._17(7,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ar)),fP._17(10,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n\n\n "]))],function(l,n){var e=n.component;l(n,4,0,"retail_trading_activity_details");l(n,10,0,e.businessForm.controls.retail_trading_activity_details.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function or(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,485,{_control:0}),fP._38(335544320,486,{_placeholderChild:0}),fP._38(335544320,487,{_labelChild:0}),fP._38(603979776,488,{_errorChildren:1}),fP._38(603979776,489,{_hintChildren:1}),fP._38(603979776,490,{_prefixChildren:1}),fP._38(603979776,491,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(3,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,492,{options:1}),fP._38(603979776,493,{optionGroups:1}),fP._38(335544320,494,{customTrigger:0}),fP._37(2048,[[485,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[492,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[492,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[492,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function rr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[502,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function _r(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[513,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function dr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function sr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More State"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function cr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,111,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,495,{_control:0}),fP._38(335544320,496,{_placeholderChild:0}),fP._38(335544320,497,{_labelChild:0}),fP._38(603979776,498,{_errorChildren:1}),fP._38(603979776,499,{_hintChildren:1}),fP._38(603979776,500,{_prefixChildren:1}),fP._38(603979776,501,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,37,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,502,{options:1}),fP._38(603979776,503,{optionGroups:1}),fP._38(335544320,504,{customTrigger:0}),fP._37(2048,[[495,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[502,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[502,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,505,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[505,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,rr)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,506,{_control:0}),fP._38(335544320,507,{_placeholderChild:0}),fP._38(335544320,508,{_labelChild:0}),fP._38(603979776,509,{_errorChildren:1}),fP._38(603979776,510,{_hintChildren:1}),fP._38(603979776,511,{_prefixChildren:1}),fP._38(603979776,512,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,32,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,513,{options:1}),fP._38(603979776,514,{optionGroups:1}),fP._38(335544320,515,{customTrigger:0}),fP._37(2048,[[506,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(78,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[513,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,516,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[516,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,_r)),fP._17(96,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(100,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(101,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,517,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dr)),fP._17(105,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(106,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sr)),fP._17(109,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,36,0,"Find City","No Matching Result");l(n,39,0,"stateSearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredState)));l(n,66,0,"");l(n,68,0,"city_name");l(n,71,0,"City","","");l(n,82,0,"Find City","No Matching Result");l(n,85,0,"citySearch");l(n,90,0,"md-close");l(n,96,0,e.cityDataValue[n.context.index]);l(n,105,0,n.context.index>0);l(n,109,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden)})}function mr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "]))],null,null)}function pr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[525,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function fr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,2,null,pr)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,fP._41(n,3,0,fP._32(n,4).transform(e.filteredState)))},null)}function hr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[525,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function gr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hr)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.filterMaxSaleState(e.stateList,n.parent.parent.parent.parent.context.$implicit.value.india_where_sale_done))},null)}function br(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[536,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function vr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,529,{_control:0}),fP._38(335544320,530,{_placeholderChild:0}),fP._38(335544320,531,{_labelChild:0}),fP._38(603979776,532,{_errorChildren:1}),fP._38(603979776,533,{_hintChildren:1}),fP._38(603979776,534,{_prefixChildren:1}),fP._38(603979776,535,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[531,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,536,{options:1}),fP._38(603979776,537,{optionGroups:1}),fP._38(335544320,538,{customTrigger:0}),fP._37(2048,[[529,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,br)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function yr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,58,"div",[["class","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,518,{_control:0}),fP._38(335544320,519,{_placeholderChild:0}),fP._38(335544320,520,{_labelChild:0}),fP._38(603979776,521,{_errorChildren:1}),fP._38(603979776,522,{_hintChildren:1}),fP._38(603979776,523,{_prefixChildren:1}),fP._38(603979776,524,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[520,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(19,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,525,{options:1}),fP._38(603979776,526,{optionGroups:1}),fP._38(335544320,527,{customTrigger:0}),fP._37(2048,[[518,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,16,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[525,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(33,0,null,0,12,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(34,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,528,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,0,3,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(42,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(43,16384,[[528,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,fr)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,gr)),fP._17(52,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vr)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,20,0,"state_name");l(n,23,0,"States","");l(n,34,0,"Find State","No matches");l(n,37,0,"stateSearch");l(n,42,0,"md-close");l(n,49,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,52,0,"Yes"!=n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,57,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,33,0,fP._32(n,34).isInsideMatOption,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending);l(n,41,0,fP._32(n,42)._hidden)})}function Cr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yr)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function wr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cr)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mr)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cr)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function Fr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[546,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function xr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function kr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Sr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,91,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,51,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,539,{_control:0}),fP._38(335544320,540,{_placeholderChild:0}),fP._38(335544320,541,{_labelChild:0}),fP._38(603979776,542,{_errorChildren:1}),fP._38(603979776,543,{_hintChildren:1}),fP._38(603979776,544,{_prefixChildren:1}),fP._38(603979776,545,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[541,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,546,{options:1}),fP._38(603979776,547,{optionGroups:1}),fP._38(335544320,548,{customTrigger:0}),fP._37(2048,[[539,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[546,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[546,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(38,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(39,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,549,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(47,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(48,16384,[[549,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Fr)),fP._17(53,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,550,{_control:0}),fP._38(335544320,551,{_placeholderChild:0}),fP._38(335544320,552,{_labelChild:0}),fP._38(603979776,553,{_errorChildren:1}),fP._38(603979776,554,{_hintChildren:1}),fP._38(603979776,555,{_prefixChildren:1}),fP._38(603979776,556,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[550,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(81,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,557,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xr)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(86,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kr)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,39,0,"Find Countries","No Matching Result");l(n,42,0,"countrySearch");l(n,47,0,"md-close");l(n,53,0,fP._41(n,53,0,fP._32(n,54).transform(e.filteredCountry)));l(n,70,0,"");l(n,73,0,"approx_sale");l(n,76,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,85,0,n.context.index>0);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,38,0,fP._32(n,39).isInsideMatOption,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending);l(n,46,0,fP._32(n,47)._hidden);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,70).required?"":null,fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()])})}function Ir(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sr)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function qr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,558,{_control:0}),fP._38(335544320,559,{_placeholderChild:0}),fP._38(335544320,560,{_labelChild:0}),fP._38(603979776,561,{_errorChildren:1}),fP._38(603979776,562,{_hintChildren:1}),fP._38(603979776,563,{_prefixChildren:1}),fP._38(603979776,564,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(3,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,565,{options:1}),fP._38(603979776,566,{optionGroups:1}),fP._38(335544320,567,{customTrigger:0}),fP._37(2048,[[558,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[565,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[565,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[565,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function Pr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[575,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Dr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[586,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Tr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Or(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,102,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,568,{_control:0}),fP._38(335544320,569,{_placeholderChild:0}),fP._38(335544320,570,{_labelChild:0}),fP._38(603979776,571,{_errorChildren:1}),fP._38(603979776,572,{_hintChildren:1}),fP._38(603979776,573,{_prefixChildren:1}),fP._38(603979776,574,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,37,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,575,{options:1}),fP._38(603979776,576,{optionGroups:1}),fP._38(335544320,577,{customTrigger:0}),fP._37(2048,[[568,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[575,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[575,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,578,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[578,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Pr)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:85%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,579,{_control:0}),fP._38(335544320,580,{_placeholderChild:0}),fP._38(335544320,581,{_labelChild:0}),fP._38(603979776,582,{_errorChildren:1}),fP._38(603979776,583,{_hintChildren:1}),fP._38(603979776,584,{_prefixChildren:1}),fP._38(603979776,585,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,32,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,586,{options:1}),fP._38(603979776,587,{optionGroups:1}),fP._38(335544320,588,{customTrigger:0}),fP._37(2048,[[579,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(78,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[586,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,589,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[589,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Dr)),fP._17(96,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Tr)),fP._17(101,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,36,0,"Find State","No Matching Result");l(n,39,0,"stateSearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredState)));l(n,66,0,"");l(n,68,0,"city_name");l(n,71,0,"City","","");l(n,82,0,"Find City","No Matching Result");l(n,85,0,"citySearch");l(n,90,0,"md-close");l(n,96,0,e.cityDataValue[n.context.index]);l(n,101,0,n.context.index>0)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden)})}function Lr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(3,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More State"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Ar(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[597,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Vr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[607,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Nr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,600,{_control:0}),fP._38(335544320,601,{_placeholderChild:0}),fP._38(335544320,602,{_labelChild:0}),fP._38(603979776,603,{_errorChildren:1}),fP._38(603979776,604,{_hintChildren:1}),fP._38(603979776,605,{_prefixChildren:1}),fP._38(603979776,606,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[602,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(14,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,18)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,18)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,18)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,607,{options:1}),fP._38(603979776,608,{optionGroups:1}),fP._38(335544320,609,{customTrigger:0}),fP._37(2048,[[600,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[607,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Vr)),fP._17(30,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"city_name");l(n,18,0,"Cities","");l(n,30,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18).id,fP._32(n,18).tabIndex,fP._32(n,18)._ariaLabel,fP._32(n,18).ariaLabelledby,fP._32(n,18).required.toString(),fP._32(n,18).disabled.toString(),fP._32(n,18).errorState,fP._32(n,18).panelOpen?fP._32(n,18)._optionIds:null,fP._32(n,18).multiple,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18)._getAriaActiveDescendant(),fP._32(n,18).disabled,fP._32(n,18).errorState,fP._32(n,18).required]);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled)})}function Wr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,590,{_control:0}),fP._38(335544320,591,{_placeholderChild:0}),fP._38(335544320,592,{_labelChild:0}),fP._38(603979776,593,{_errorChildren:1}),fP._38(603979776,594,{_hintChildren:1}),fP._38(603979776,595,{_prefixChildren:1}),fP._38(603979776,596,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[592,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,597,{options:1}),fP._38(603979776,598,{optionGroups:1}),fP._38(335544320,599,{customTrigger:0}),fP._37(2048,[[590,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._13(16777216,null,1,1,null,Ar)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nr)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required])})}function Er(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[617,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function jr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function $r(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,86,"div",[["class","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,55,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,610,{_control:0}),fP._38(335544320,611,{_placeholderChild:0}),fP._38(335544320,612,{_labelChild:0}),fP._38(603979776,613,{_errorChildren:1}),fP._38(603979776,614,{_hintChildren:1}),fP._38(603979776,615,{_prefixChildren:1}),fP._38(603979776,616,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[612,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Cities Where Max Sales Done for ","\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(19,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(20,16384,[[612,4]],0,EA.f,[],null,null),(l()(),fP._40(21,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(24,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,28)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,28)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,617,{options:1}),fP._38(603979776,618,{optionGroups:1}),fP._38(335544320,619,{customTrigger:0}),fP._37(2048,[[610,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[617,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(40,8437760,[[617,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(42,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(43,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,620,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(46,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(48,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(51,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(52,16384,[[620,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Er)),fP._17(57,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(63,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,621,{_control:0}),fP._38(335544320,622,{_placeholderChild:0}),fP._38(335544320,623,{_labelChild:0}),fP._38(603979776,624,{_errorChildren:1}),fP._38(603979776,625,{_hintChildren:1}),fP._38(603979776,626,{_prefixChildren:1}),fP._38(603979776,627,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(72,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,80)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,80)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,80)._onInput()&&u}return u},null,null)),fP._17(73,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(74,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(77,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(79,16384,null,0,EP.s,[EP.r],null,null),fP._17(80,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[621,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,jr)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,25,0,"country_name");l(n,28,0,"Countries");l(n,43,0,"Find Countries","No Matching Result");l(n,46,0,"countrySearch");l(n,51,0,"md-close");l(n,57,0,fP._41(n,57,0,fP._32(n,58).transform(e.filteredCountry)));l(n,74,0,"");l(n,77,0,"approx_sale");l(n,80,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,85,0,n.context.index>0)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,21,0,n.parent.parent.context.$implicit.value.main_products);l(n,24,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28).id,fP._32(n,28).tabIndex,fP._32(n,28)._ariaLabel,fP._32(n,28).ariaLabelledby,fP._32(n,28).required.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).errorState,fP._32(n,28).panelOpen?fP._32(n,28)._optionIds:null,fP._32(n,28).multiple,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28)._getAriaActiveDescendant(),fP._32(n,28).disabled,fP._32(n,28).errorState,fP._32(n,28).required]);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,39,0,fP._32(n,40)._getTabIndex(),fP._32(n,40).selected,fP._32(n,40).multiple,fP._32(n,40).active,fP._32(n,40).id,fP._32(n,40).selected.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).disabled);l(n,42,0,fP._32(n,43).isInsideMatOption,fP._32(n,48).ngClassUntouched,fP._32(n,48).ngClassTouched,fP._32(n,48).ngClassPristine,fP._32(n,48).ngClassDirty,fP._32(n,48).ngClassValid,fP._32(n,48).ngClassInvalid,fP._32(n,48).ngClassPending);l(n,50,0,fP._32(n,51)._hidden);l(n,62,1,[fP._32(n,63)._control.errorState,fP._32(n,63)._control.errorState,fP._32(n,63)._canLabelFloat,fP._32(n,63)._shouldLabelFloat(),fP._32(n,63)._hideControlPlaceholder(),fP._32(n,63)._control.disabled,fP._32(n,63)._control.focused,"primary"==fP._32(n,63).color,"accent"==fP._32(n,63).color,"warn"==fP._32(n,63).color,fP._32(n,63)._shouldForward("untouched"),fP._32(n,63)._shouldForward("touched"),fP._32(n,63)._shouldForward("pristine"),fP._32(n,63)._shouldForward("dirty"),fP._32(n,63)._shouldForward("valid"),fP._32(n,63)._shouldForward("invalid"),fP._32(n,63)._shouldForward("pending")]);l(n,72,1,[fP._32(n,74).required?"":null,fP._32(n,79).ngClassUntouched,fP._32(n,79).ngClassTouched,fP._32(n,79).ngClassPristine,fP._32(n,79).ngClassDirty,fP._32(n,79).ngClassValid,fP._32(n,79).ngClassInvalid,fP._32(n,79).ngClassPending,fP._32(n,80)._isServer,fP._32(n,80).id,fP._32(n,80).placeholder,fP._32(n,80).disabled,fP._32(n,80).required,fP._32(n,80).readonly,fP._32(n,80)._ariaDescribedby||null,fP._32(n,80).errorState,fP._32(n,80).required.toString()])})}function Br(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,49,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Within India"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qr)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,11,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(12,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(14,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Or)),fP._17(17,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lr)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(25,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(27,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wr)),fP._17(30,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(33,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Export"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,12,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(37,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(39,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$r)),fP._17(42,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._18(43,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(46,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More Countries"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,21,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,25,0,"max_sale_state_name");l(n,30,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,37,0,"countries_where_export_done");l(n,42,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,46,0,"optblue","")},function(l,n){l(n,11,0,fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending);l(n,24,0,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending);l(n,36,0,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending)})}function Rr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreWholesale()&&u}return u},aV.b,aV.a)),fP._17(5,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),fP._40(-1,0,["Add More\n Product"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function Ur(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,135,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(9,null,["Wholesale Trade Details ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(13,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(16,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,468,{_control:0}),fP._38(335544320,469,{_placeholderChild:0}),fP._38(335544320,470,{_labelChild:0}),fP._38(603979776,471,{_errorChildren:1}),fP._38(603979776,472,{_hintChildren:1}),fP._38(603979776,473,{_prefixChildren:1}),fP._38(603979776,474,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,33)._onInput()&&u}return u},null,null)),fP._17(26,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(27,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(30,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(32,16384,null,0,EP.s,[EP.r],null,null),fP._17(33,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[468,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,475,{_control:0}),fP._38(335544320,476,{_placeholderChild:0}),fP._38(335544320,477,{_labelChild:0}),fP._38(603979776,478,{_errorChildren:1}),fP._38(603979776,479,{_hintChildren:1}),fP._38(603979776,480,{_prefixChildren:1}),fP._38(603979776,481,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,53)._onBlur()&&u}if("selectionChange"===n){t.changeWholesaleAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"WActivity",l.context.index)&&u}return u},tN.b,tN.a)),fP._17(48,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(50,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(52,16384,null,0,EP.s,[EP.r],null,null),fP._17(53,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,482,{options:1}),fP._38(603979776,483,{optionGroups:1}),fP._38(335544320,484,{customTrigger:0}),fP._37(2048,[[475,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,61)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(61,8437760,[[482,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Within India"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,65)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(65,8437760,[[482,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Export"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,69)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(69,8437760,[[482,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Both"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,or)),fP._17(76,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wr)),fP._17(79,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ir)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Br)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(89,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(91,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(92,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,628,{_control:0}),fP._38(335544320,629,{_placeholderChild:0}),fP._38(335544320,630,{_labelChild:0}),fP._38(603979776,631,{_errorChildren:1}),fP._38(603979776,632,{_hintChildren:1}),fP._38(603979776,633,{_prefixChildren:1}),fP._38(603979776,634,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(102,16384,[[630,4]],0,EA.f,[],null,null),(l()(),fP._40(103,null,["Description of "," Wholesale\n process "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(105,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,111)._onInput()&&u}return u},null,null)),fP._17(106,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(108,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(110,16384,null,0,EP.s,[EP.r],null,null),fP._17(111,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[628,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(116,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(117,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,635,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(120,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(121,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(123,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesale(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(124,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(126,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(127,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(130,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rr)),fP._17(133,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"main_products");l(n,33,0,"Main Product","","text");l(n,48,0,"");l(n,50,0,"area_of_sale");l(n,53,0,"Area of Sale","");l(n,61,0,"Within India");l(n,65,0,"Export");l(n,69,0,"Both");l(n,76,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,79,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,82,0,void 0==n.context.$implicit.value.india_where_sale_done&&void 0!=n.context.$implicit.value.countries_where_export_done);l(n,85,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,108,0,"description");l(n,111,0,"Description");l(n,124,0,"optblue","");l(n,127,0,"md-trash");l(n,133,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[fP._32(n,16)._control.errorState,fP._32(n,16)._control.errorState,fP._32(n,16)._canLabelFloat,fP._32(n,16)._shouldLabelFloat(),fP._32(n,16)._hideControlPlaceholder(),fP._32(n,16)._control.disabled,fP._32(n,16)._control.focused,"primary"==fP._32(n,16).color,"accent"==fP._32(n,16).color,"warn"==fP._32(n,16).color,fP._32(n,16)._shouldForward("untouched"),fP._32(n,16)._shouldForward("touched"),fP._32(n,16)._shouldForward("pristine"),fP._32(n,16)._shouldForward("dirty"),fP._32(n,16)._shouldForward("valid"),fP._32(n,16)._shouldForward("invalid"),fP._32(n,16)._shouldForward("pending")]);l(n,25,1,[fP._32(n,27).required?"":null,fP._32(n,32).ngClassUntouched,fP._32(n,32).ngClassTouched,fP._32(n,32).ngClassPristine,fP._32(n,32).ngClassDirty,fP._32(n,32).ngClassValid,fP._32(n,32).ngClassInvalid,fP._32(n,32).ngClassPending,fP._32(n,33)._isServer,fP._32(n,33).id,fP._32(n,33).placeholder,fP._32(n,33).disabled,fP._32(n,33).required,fP._32(n,33).readonly,fP._32(n,33)._ariaDescribedby||null,fP._32(n,33).errorState,fP._32(n,33).required.toString()]);l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,1,[fP._32(n,48).required?"":null,fP._32(n,52).ngClassUntouched,fP._32(n,52).ngClassTouched,fP._32(n,52).ngClassPristine,fP._32(n,52).ngClassDirty,fP._32(n,52).ngClassValid,fP._32(n,52).ngClassInvalid,fP._32(n,52).ngClassPending,fP._32(n,53).id,fP._32(n,53).tabIndex,fP._32(n,53)._ariaLabel,fP._32(n,53).ariaLabelledby,fP._32(n,53).required.toString(),fP._32(n,53).disabled.toString(),fP._32(n,53).errorState,fP._32(n,53).panelOpen?fP._32(n,53)._optionIds:null,fP._32(n,53).multiple,fP._32(n,53)._ariaDescribedby||null,fP._32(n,53)._getAriaActiveDescendant(),fP._32(n,53).disabled,fP._32(n,53).errorState,fP._32(n,53).required]);l(n,60,0,fP._32(n,61)._getTabIndex(),fP._32(n,61).selected,fP._32(n,61).multiple,fP._32(n,61).active,fP._32(n,61).id,fP._32(n,61).selected.toString(),fP._32(n,61).disabled.toString(),fP._32(n,61).disabled);l(n,64,0,fP._32(n,65)._getTabIndex(),fP._32(n,65).selected,fP._32(n,65).multiple,fP._32(n,65).active,fP._32(n,65).id,fP._32(n,65).selected.toString(),fP._32(n,65).disabled.toString(),fP._32(n,65).disabled);l(n,68,0,fP._32(n,69)._getTabIndex(),fP._32(n,69).selected,fP._32(n,69).multiple,fP._32(n,69).active,fP._32(n,69).id,fP._32(n,69).selected.toString(),fP._32(n,69).disabled.toString(),fP._32(n,69).disabled);l(n,88,0,"end"===fP._32(n,89).align);l(n,91,1,[fP._32(n,92)._control.errorState,fP._32(n,92)._control.errorState,fP._32(n,92)._canLabelFloat,fP._32(n,92)._shouldLabelFloat(),fP._32(n,92)._hideControlPlaceholder(),fP._32(n,92)._control.disabled,fP._32(n,92)._control.focused,"primary"==fP._32(n,92).color,"accent"==fP._32(n,92).color,"warn"==fP._32(n,92).color,fP._32(n,92)._shouldForward("untouched"),fP._32(n,92)._shouldForward("touched"),fP._32(n,92)._shouldForward("pristine"),fP._32(n,92)._shouldForward("dirty"),fP._32(n,92)._shouldForward("valid"),fP._32(n,92)._shouldForward("invalid"),fP._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[fP._32(n,110).ngClassUntouched,fP._32(n,110).ngClassTouched,fP._32(n,110).ngClassPristine,fP._32(n,110).ngClassDirty,fP._32(n,110).ngClassValid,fP._32(n,110).ngClassInvalid,fP._32(n,110).ngClassPending,fP._32(n,111)._isServer,fP._32(n,111).id,fP._32(n,111).placeholder,fP._32(n,111).disabled,fP._32(n,111).required,fP._32(n,111).readonly,fP._32(n,111)._ariaDescribedby||null,fP._32(n,111).errorState,fP._32(n,111).required.toString()]);l(n,126,0,fP._32(n,127)._hidden)})}function Mr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(3,0,null,0,7,"div",[["formArrayName","wholesale_trading_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ur)),fP._17(9,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n\n "]))],function(l,n){var e=n.component;l(n,4,0,"wholesale_trading_activity_details");l(n,9,0,e.businessForm.controls.wholesale_trading_activity_details.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function Kr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,653,{_control:0}),fP._38(335544320,654,{_placeholderChild:0}),fP._38(335544320,655,{_labelChild:0}),fP._38(603979776,656,{_errorChildren:1}),fP._38(603979776,657,{_hintChildren:1}),fP._38(603979776,658,{_prefixChildren:1}),fP._38(603979776,659,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(4,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,660,{options:1}),fP._38(603979776,661,{optionGroups:1}),fP._38(335544320,662,{customTrigger:0}),fP._37(2048,[[653,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[660,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[660,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[660,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function Hr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[670,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Gr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[681,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function zr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function Yr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,1)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More State"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Qr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,111,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,663,{_control:0}),fP._38(335544320,664,{_placeholderChild:0}),fP._38(335544320,665,{_labelChild:0}),fP._38(603979776,666,{_errorChildren:1}),fP._38(603979776,667,{_hintChildren:1}),fP._38(603979776,668,{_prefixChildren:1}),fP._38(603979776,669,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,37,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","Where, In India, Is The Service Provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,670,{options:1}),fP._38(603979776,671,{optionGroups:1}),fP._38(335544320,672,{customTrigger:0}),fP._37(2048,[[663,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[670,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[670,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,673,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[673,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,Hr)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,674,{_control:0}),fP._38(335544320,675,{_placeholderChild:0}),fP._38(335544320,676,{_labelChild:0}),fP._38(603979776,677,{_errorChildren:1}),fP._38(603979776,678,{_hintChildren:1}),fP._38(603979776,679,{_prefixChildren:1}),fP._38(603979776,680,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,32,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,681,{options:1}),fP._38(603979776,682,{optionGroups:1}),fP._38(335544320,683,{customTrigger:0}),fP._37(2048,[[674,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(78,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[681,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,684,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[684,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Gr)),fP._17(96,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(100,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(101,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,685,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zr)),fP._17(105,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(106,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yr)),fP._17(109,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"Where, In India, Is The Service Provided","");l(n,36,0,"Find State","No Matching Result");l(n,39,0,"stateSearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredState)));l(n,66,0,"");l(n,68,0,"city_name");l(n,71,0,"City","","");l(n,82,0,"Find City","No Matching Result");l(n,85,0,"citySearch");l(n,90,0,"md-close");l(n,96,0,e.cityDataValue[n.context.index]);l(n,105,0,n.context.index>0);l(n,109,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options&&n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden)})}function Jr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[693,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Xr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,2,null,Jr)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,fP._41(n,3,0,fP._32(n,4).transform(e.filteredState)))},null)}function Zr(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[693,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function l_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zr)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.filterMaxSaleState(e.stateList,n.parent.parent.parent.parent.context.$implicit.value.india_where_sale_done))},null)}function n_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[704,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function e_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,697,{_control:0}),fP._38(335544320,698,{_placeholderChild:0}),fP._38(335544320,699,{_labelChild:0}),fP._38(603979776,700,{_errorChildren:1}),fP._38(603979776,701,{_hintChildren:1}),fP._38(603979776,702,{_prefixChildren:1}),fP._38(603979776,703,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[699,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Revenue From Services for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,704,{options:1}),fP._38(603979776,705,{optionGroups:1}),fP._38(335544320,706,{customTrigger:0}),fP._37(2048,[[697,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,n_)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function u_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,57,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,686,{_control:0}),fP._38(335544320,687,{_placeholderChild:0}),fP._38(335544320,688,{_labelChild:0}),fP._38(603979776,689,{_errorChildren:1}),fP._38(603979776,690,{_hintChildren:1}),fP._38(603979776,691,{_prefixChildren:1}),fP._38(603979776,692,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[688,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Revenue From Services for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(19,0,null,1,33,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,693,{options:1}),fP._38(603979776,694,{optionGroups:1}),fP._38(335544320,695,{customTrigger:0}),fP._37(2048,[[686,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[693,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(33,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(34,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,696,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(42,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(43,16384,[[696,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Xr)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,l_)),fP._17(51,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,e_)),fP._17(56,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,20,0,"state_name");l(n,23,0,"States","");l(n,34,0,"Find City","No Matching Result");l(n,37,0,"stateSearch");l(n,42,0,"md-close");l(n,48,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,51,0,"Yes"!=n.parent.parent.parent.context.$implicit.value.pan_india_options);l(n,56,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,33,0,fP._32(n,34).isInsideMatOption,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending);l(n,41,0,fP._32(n,42)._hidden)})}function t_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,u_)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function a_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qr)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,t_)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function i_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[714,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function o_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function r_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function __(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,91,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,51,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,707,{_control:0}),fP._38(335544320,708,{_placeholderChild:0}),fP._38(335544320,709,{_labelChild:0}),fP._38(603979776,710,{_errorChildren:1}),fP._38(603979776,711,{_hintChildren:1}),fP._38(603979776,712,{_prefixChildren:1}),fP._38(603979776,713,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[709,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,714,{options:1}),fP._38(603979776,715,{optionGroups:1}),fP._38(335544320,716,{customTrigger:0}),fP._37(2048,[[707,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[714,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[714,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(38,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(39,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,717,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(47,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(48,16384,[[717,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,i_)),fP._17(53,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,718,{_control:0}),fP._38(335544320,719,{_placeholderChild:0}),fP._38(335544320,720,{_labelChild:0}),fP._38(603979776,721,{_errorChildren:1}),fP._38(603979776,722,{_hintChildren:1}),fP._38(603979776,723,{_prefixChildren:1}),fP._38(603979776,724,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[718,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(81,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,725,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,o_)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(86,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,r_)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,39,0,"Find Countries","No Matching Result");l(n,42,0,"countrySearch");l(n,47,0,"md-close");l(n,53,0,fP._41(n,53,0,fP._32(n,54).transform(e.filteredCountry)));l(n,70,0,"");l(n,73,0,"approx_sale");l(n,76,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,85,0,n.context.index>0);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,38,0,fP._32(n,39).isInsideMatOption,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending);l(n,46,0,fP._32(n,47)._hidden);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,70).required?"":null,fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()])})}function d_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,__)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,1,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function s_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,726,{_control:0}),fP._38(335544320,727,{_placeholderChild:0}),fP._38(335544320,728,{_labelChild:0}),fP._38(603979776,729,{_errorChildren:1}),fP._38(603979776,730,{_hintChildren:1}),fP._38(603979776,731,{_prefixChildren:1}),fP._38(603979776,732,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(4,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},tN.b,tN.a)),fP._17(11,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,733,{options:1}),fP._38(603979776,734,{optionGroups:1}),fP._38(335544320,735,{customTrigger:0}),fP._37(2048,[[726,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[733,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[733,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[733,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,28,0,"Yes");l(n,32,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,11).required?"":null,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled)})}function c_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[743,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function m_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[754,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function p_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function f_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More State"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function h_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,111,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,736,{_control:0}),fP._38(335544320,737,{_placeholderChild:0}),fP._38(335544320,738,{_labelChild:0}),fP._38(603979776,739,{_errorChildren:1}),fP._38(603979776,740,{_hintChildren:1}),fP._38(603979776,741,{_prefixChildren:1}),fP._38(603979776,742,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,37,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","Where, In India, Is The Service Provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,743,{options:1}),fP._38(603979776,744,{optionGroups:1}),fP._38(335544320,745,{customTrigger:0}),fP._37(2048,[[736,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[743,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[743,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},dN.b,dN.a)),fP._17(36,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,746,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(45,16384,[[746,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,c_)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,747,{_control:0}),fP._38(335544320,748,{_placeholderChild:0}),fP._38(335544320,749,{_labelChild:0}),fP._38(603979776,750,{_errorChildren:1}),fP._38(603979776,751,{_hintChildren:1}),fP._38(603979776,752,{_prefixChildren:1}),fP._38(603979776,753,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,32,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),fP._38(603979776,754,{options:1}),fP._38(603979776,755,{optionGroups:1}),fP._38(335544320,756,{customTrigger:0}),fP._37(2048,[[747,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[754,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,757,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[757,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,m_)),fP._17(96,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(100,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(101,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,758,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,p_)),fP._17(105,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(106,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,f_)),fP._17(109,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"Where, In India, Is The Service Provided","");l(n,36,0,"Find State","No Matching Result");l(n,39,0,"stateSearch");l(n,44,0,"md-close");l(n,50,0,fP._41(n,50,0,fP._32(n,51).transform(e.filteredState)));l(n,66,0,"");l(n,68,0,"city_name");l(n,71,0,"City","","");l(n,82,0,"Find City","No Matching Result");l(n,85,0,"citySearch");l(n,90,0,"md-close");l(n,96,0,e.cityDataValue[n.context.index]);l(n,105,0,n.context.index>0);l(n,109,0,n.parent.parent.context.$implicit.get("india_where_sale_done").value.length>0&&n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,35,0,fP._32(n,36).isInsideMatOption,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending);l(n,43,0,fP._32(n,44)._hidden);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden)})}function g_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[766,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function b_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[776,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function v_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,769,{_control:0}),fP._38(335544320,770,{_placeholderChild:0}),fP._38(335544320,771,{_labelChild:0}),fP._38(603979776,772,{_errorChildren:1}),fP._38(603979776,773,{_hintChildren:1}),fP._38(603979776,774,{_prefixChildren:1}),fP._38(603979776,775,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[771,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Cities Where Max Revenue From Services for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,776,{options:1}),fP._38(603979776,777,{optionGroups:1}),fP._38(335544320,778,{customTrigger:0}),fP._37(2048,[[769,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,b_)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required])})}function y_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"div",[["clas","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,759,{_control:0}),fP._38(335544320,760,{_placeholderChild:0}),fP._38(335544320,761,{_labelChild:0}),fP._38(603979776,762,{_errorChildren:1}),fP._38(603979776,763,{_hintChildren:1}),fP._38(603979776,764,{_prefixChildren:1}),fP._38(603979776,765,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[761,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["States Where Max Revenue From Services for\n ",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),fP._38(603979776,766,{options:1}),fP._38(603979776,767,{optionGroups:1}),fP._38(335544320,768,{customTrigger:0}),fP._37(2048,[[759,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,g_)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,v_)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required])})}function C_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[786,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function w_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function F_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Add More Countries"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function x_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,92,"div",[["class","tab_class state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,51,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,779,{_control:0}),fP._38(335544320,780,{_placeholderChild:0}),fP._38(335544320,781,{_labelChild:0}),fP._38(603979776,782,{_errorChildren:1}),fP._38(603979776,783,{_hintChildren:1}),fP._38(603979776,784,{_prefixChildren:1}),fP._38(603979776,785,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),fP._17(16,16384,[[781,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,786,{options:1}),fP._38(603979776,787,{optionGroups:1}),fP._38(335544320,788,{customTrigger:0}),fP._37(2048,[[779,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[786,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[786,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(38,0,null,0,11,"ngx-mat-select-search",[["formControlName","countrySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"country")&&u}return u},dN.b,dN.a)),fP._17(39,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,789,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(47,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(48,16384,[[789,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,C_)),fP._17(53,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,790,{_control:0}),fP._38(335544320,791,{_placeholderChild:0}),fP._38(335544320,792,{_labelChild:0}),fP._38(603979776,793,{_errorChildren:1}),fP._38(603979776,794,{_hintChildren:1}),fP._38(603979776,795,{_prefixChildren:1}),fP._38(603979776,796,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[790,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(80,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(81,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,797,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,w_)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(86,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,F_)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,39,0,"Find Countries","No Matching Result");l(n,42,0,"countrySearch");l(n,47,0,"md-close");l(n,53,0,fP._41(n,53,0,fP._32(n,54).transform(e.filteredCountry)));l(n,70,0,"");l(n,73,0,"approx_sale");l(n,76,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,85,0,n.context.index>0);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,38,0,fP._32(n,39).isInsideMatOption,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending);l(n,46,0,fP._32(n,47)._hidden);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,70).required?"":null,fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()])})}function k_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,43,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Within India"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,s_)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(12,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(14,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,h_)),fP._17(17,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,1,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(24,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(26,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,y_)),fP._17(29,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Export"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(36,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,x_)),fP._17(41,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,11,0,fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending);l(n,23,0,fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending);l(n,35,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending)})}function S_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreServiceprovider()&&u}return u},aV.b,aV.a)),fP._17(5,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),fP._40(-1,0,["Add More\n Services"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function I_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,139,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(9,null,["Service Provider Details ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,69,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(13,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(16,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,636,{_control:0}),fP._38(335544320,637,{_placeholderChild:0}),fP._38(335544320,638,{_labelChild:0}),fP._38(603979776,639,{_errorChildren:1}),fP._38(603979776,640,{_hintChildren:1}),fP._38(603979776,641,{_prefixChildren:1}),fP._38(603979776,642,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Services Provided"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,33)._onInput()&&u}return u},null,null)),fP._17(26,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(27,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(30,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(32,16384,null,0,EP.s,[EP.r],null,null),fP._17(33,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[636,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,643,{_control:0}),fP._38(335544320,644,{_placeholderChild:0}),fP._38(335544320,645,{_labelChild:0}),fP._38(603979776,646,{_errorChildren:1}),fP._38(603979776,647,{_hintChildren:1}),fP._38(603979776,648,{_prefixChildren:1}),fP._38(603979776,649,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Service"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,53)._onBlur()&&u}if("selectionChange"===n){t.changeServiceArea(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"SPActivity",l.context.index)&&u}return u},tN.b,tN.a)),fP._17(48,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(50,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(52,16384,null,0,EP.s,[EP.r],null,null),fP._17(53,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,650,{options:1}),fP._38(603979776,651,{optionGroups:1}),fP._38(335544320,652,{customTrigger:0}),fP._37(2048,[[643,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,61)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(61,8437760,[[650,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,65)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(65,8437760,[[650,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Within India"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,69)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(69,8437760,[[650,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Export"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(72,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,73)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,73)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(73,8437760,[[650,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Both"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kr)),fP._17(80,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,a_)),fP._17(84,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,d_)),fP._17(87,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,k_)),fP._17(90,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._18(92,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(93,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(95,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(96,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,798,{_control:0}),fP._38(335544320,799,{_placeholderChild:0}),fP._38(335544320,800,{_labelChild:0}),fP._38(603979776,801,{_errorChildren:1}),fP._38(603979776,802,{_hintChildren:1}),fP._38(603979776,803,{_prefixChildren:1}),fP._38(603979776,804,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(105,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(106,16384,[[800,4]],0,EA.f,[],null,null),(l()(),fP._40(107,null,["Description of "," Service Process\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(109,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,110)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,110).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,110)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,110)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,115)._onInput()&&u}return u},null,null)),fP._17(110,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(112,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(114,16384,null,0,EP.s,[EP.r],null,null),fP._17(115,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[798,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(120,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(121,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,805,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(124,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(125,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(127,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProvider(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(128,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(130,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(131,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(134,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,S_)),fP._17(137,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"main_products");l(n,33,0,"Services Provided","","text");l(n,48,0,"");l(n,50,0,"area_of_sale");l(n,53,0,"Area of Service","");l(n,65,0,"Within India");l(n,69,0,"Export");l(n,73,0,"Both");l(n,80,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,84,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,87,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0==n.context.$implicit.value.india_where_sale_done);l(n,90,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,112,0,"description");l(n,115,0,"Description");l(n,128,0,"optblue","");l(n,131,0,"md-trash");l(n,137,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[fP._32(n,16)._control.errorState,fP._32(n,16)._control.errorState,fP._32(n,16)._canLabelFloat,fP._32(n,16)._shouldLabelFloat(),fP._32(n,16)._hideControlPlaceholder(),fP._32(n,16)._control.disabled,fP._32(n,16)._control.focused,"primary"==fP._32(n,16).color,"accent"==fP._32(n,16).color,"warn"==fP._32(n,16).color,fP._32(n,16)._shouldForward("untouched"),fP._32(n,16)._shouldForward("touched"),fP._32(n,16)._shouldForward("pristine"),fP._32(n,16)._shouldForward("dirty"),fP._32(n,16)._shouldForward("valid"),fP._32(n,16)._shouldForward("invalid"),fP._32(n,16)._shouldForward("pending")]);l(n,25,1,[fP._32(n,27).required?"":null,fP._32(n,32).ngClassUntouched,fP._32(n,32).ngClassTouched,fP._32(n,32).ngClassPristine,fP._32(n,32).ngClassDirty,fP._32(n,32).ngClassValid,fP._32(n,32).ngClassInvalid,fP._32(n,32).ngClassPending,fP._32(n,33)._isServer,fP._32(n,33).id,fP._32(n,33).placeholder,fP._32(n,33).disabled,fP._32(n,33).required,fP._32(n,33).readonly,fP._32(n,33)._ariaDescribedby||null,fP._32(n,33).errorState,fP._32(n,33).required.toString()]);l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,1,[fP._32(n,48).required?"":null,fP._32(n,52).ngClassUntouched,fP._32(n,52).ngClassTouched,fP._32(n,52).ngClassPristine,fP._32(n,52).ngClassDirty,fP._32(n,52).ngClassValid,fP._32(n,52).ngClassInvalid,fP._32(n,52).ngClassPending,fP._32(n,53).id,fP._32(n,53).tabIndex,fP._32(n,53)._ariaLabel,fP._32(n,53).ariaLabelledby,fP._32(n,53).required.toString(),fP._32(n,53).disabled.toString(),fP._32(n,53).errorState,fP._32(n,53).panelOpen?fP._32(n,53)._optionIds:null,fP._32(n,53).multiple,fP._32(n,53)._ariaDescribedby||null,fP._32(n,53)._getAriaActiveDescendant(),fP._32(n,53).disabled,fP._32(n,53).errorState,fP._32(n,53).required]);l(n,60,0,fP._32(n,61)._getTabIndex(),fP._32(n,61).selected,fP._32(n,61).multiple,fP._32(n,61).active,fP._32(n,61).id,fP._32(n,61).selected.toString(),fP._32(n,61).disabled.toString(),fP._32(n,61).disabled);l(n,64,0,fP._32(n,65)._getTabIndex(),fP._32(n,65).selected,fP._32(n,65).multiple,fP._32(n,65).active,fP._32(n,65).id,fP._32(n,65).selected.toString(),fP._32(n,65).disabled.toString(),fP._32(n,65).disabled);l(n,68,0,fP._32(n,69)._getTabIndex(),fP._32(n,69).selected,fP._32(n,69).multiple,fP._32(n,69).active,fP._32(n,69).id,fP._32(n,69).selected.toString(),fP._32(n,69).disabled.toString(),fP._32(n,69).disabled);l(n,72,0,fP._32(n,73)._getTabIndex(),fP._32(n,73).selected,fP._32(n,73).multiple,fP._32(n,73).active,fP._32(n,73).id,fP._32(n,73).selected.toString(),fP._32(n,73).disabled.toString(),fP._32(n,73).disabled);l(n,92,0,"end"===fP._32(n,93).align);l(n,95,1,[fP._32(n,96)._control.errorState,fP._32(n,96)._control.errorState,fP._32(n,96)._canLabelFloat,fP._32(n,96)._shouldLabelFloat(),fP._32(n,96)._hideControlPlaceholder(),fP._32(n,96)._control.disabled,fP._32(n,96)._control.focused,"primary"==fP._32(n,96).color,"accent"==fP._32(n,96).color,"warn"==fP._32(n,96).color,fP._32(n,96)._shouldForward("untouched"),fP._32(n,96)._shouldForward("touched"),fP._32(n,96)._shouldForward("pristine"),fP._32(n,96)._shouldForward("dirty"),fP._32(n,96)._shouldForward("valid"),fP._32(n,96)._shouldForward("invalid"),fP._32(n,96)._shouldForward("pending")]);l(n,107,0,n.context.$implicit.value.main_products);l(n,109,1,[fP._32(n,114).ngClassUntouched,fP._32(n,114).ngClassTouched,fP._32(n,114).ngClassPristine,fP._32(n,114).ngClassDirty,fP._32(n,114).ngClassValid,fP._32(n,114).ngClassInvalid,fP._32(n,114).ngClassPending,fP._32(n,115)._isServer,fP._32(n,115).id,fP._32(n,115).placeholder,fP._32(n,115).disabled,fP._32(n,115).required,fP._32(n,115).readonly,fP._32(n,115)._ariaDescribedby||null,fP._32(n,115).errorState,fP._32(n,115).required.toString()]);l(n,130,0,fP._32(n,131)._hidden)})}function q_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,7,"div",[["formArrayName","service_provider_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,I_)),fP._17(9,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n\n "]))],function(l,n){var e=n.component;l(n,4,0,"service_provider_activity_details");l(n,9,0,e.businessForm.controls.service_provider_activity_details.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function P_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[809,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Please\n enter a value between 0 and 100"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function D_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[809,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Please\n enter a value between 0 and 100"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function T_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,41,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Export Sale As a % Total Sales"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(11,0,null,0,29,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(12,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(15,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,806,{_control:0}),fP._38(335544320,807,{_placeholderChild:0}),fP._38(335544320,808,{_labelChild:0}),fP._38(603979776,809,{_errorChildren:1}),fP._38(603979776,810,{_hintChildren:1}),fP._38(603979776,811,{_prefixChildren:1}),fP._38(603979776,812,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(24,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","export_sale_of_total_sales"],["matInput",""],["max","100"],["min","0"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,25)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,26).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,26).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,26).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,31)._onInput()&&u}return u},null,null)),fP._17(25,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(26,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(28,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),fP._17(31,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{type:[0,"type"]},null),fP._37(2048,[[806,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,P_)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,D_)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,28,0,"export_sale_of_total_sales");l(n,31,0,"number");l(n,35,0,e.businessForm.controls.export_sale_of_total_sales.hasError("min"));l(n,38,0,e.businessForm.controls.export_sale_of_total_sales.hasError("max"))},function(l,n){l(n,14,1,[fP._32(n,15)._control.errorState,fP._32(n,15)._control.errorState,fP._32(n,15)._canLabelFloat,fP._32(n,15)._shouldLabelFloat(),fP._32(n,15)._hideControlPlaceholder(),fP._32(n,15)._control.disabled,fP._32(n,15)._control.focused,"primary"==fP._32(n,15).color,"accent"==fP._32(n,15).color,"warn"==fP._32(n,15).color,fP._32(n,15)._shouldForward("untouched"),fP._32(n,15)._shouldForward("touched"),fP._32(n,15)._shouldForward("pristine"),fP._32(n,15)._shouldForward("dirty"),fP._32(n,15)._shouldForward("valid"),fP._32(n,15)._shouldForward("invalid"),fP._32(n,15)._shouldForward("pending")]);l(n,24,1,[fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending,fP._32(n,31)._isServer,fP._32(n,31).id,fP._32(n,31).placeholder,fP._32(n,31).disabled,fP._32(n,31).required,fP._32(n,31).readonly,fP._32(n,31)._ariaDescribedby||null,fP._32(n,31).errorState,fP._32(n,31).required.toString()])})}function O_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,813,{_control:0}),fP._38(335544320,814,{_placeholderChild:0}),fP._38(335544320,815,{_labelChild:0}),fP._38(603979776,816,{_errorChildren:1}),fP._38(603979776,817,{_hintChildren:1}),fP._38(603979776,818,{_prefixChildren:1}),fP._38(603979776,819,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","applicant_use_mobile_wallets"],["placeholder","Does the Applicant Use Mobile Wallets / UPI Apps"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,820,{options:1}),fP._38(603979776,821,{optionGroups:1}),fP._38(335544320,822,{customTrigger:0}),fP._37(2048,[[813,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[820,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[820,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[820,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"applicant_use_mobile_wallets");l(n,14,0,"Does the Applicant Use Mobile Wallets / UPI Apps");l(n,26,0,"yes");l(n,30,0,"no")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled)})}function L_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,823,{_control:0}),fP._38(335544320,824,{_placeholderChild:0}),fP._38(335544320,825,{_labelChild:0}),fP._38(603979776,826,{_errorChildren:1}),fP._38(603979776,827,{_hintChildren:1}),fP._38(603979776,828,{_prefixChildren:1}),fP._38(603979776,829,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","applicant_use_pos_machines"],["placeholder","Does the Applicant Use POS Machines in His Business / Profession"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePOSMachinesAvailablity(e.value,1)&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,830,{options:1}),fP._38(603979776,831,{optionGroups:1}),fP._38(335544320,832,{customTrigger:0}),fP._37(2048,[[823,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[830,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[830,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[830,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"applicant_use_pos_machines");l(n,14,0,"Does the Applicant Use POS Machines in His Business / Profession");l(n,26,0,"yes");l(n,30,0,"no")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled)})}function A_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[847,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function V_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,79,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"],["style","font-weight: bold"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.g,[],null,null),(l()(),fP._40(7,null,["\n Machine Details ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,840,{_control:0}),fP._38(335544320,841,{_placeholderChild:0}),fP._38(335544320,842,{_labelChild:0}),fP._38(603979776,843,{_errorChildren:1}),fP._38(603979776,844,{_hintChildren:1}),fP._38(603979776,845,{_prefixChildren:1}),fP._38(603979776,846,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","pos_machines_financial_institution_name"],["placeholder","Name of the Financial Institution whose POS machines are installed"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,847,{options:1}),fP._38(603979776,848,{optionGroups:1}),fP._38(335544320,849,{customTrigger:0}),fP._37(2048,[[840,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[847,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,35)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(35,8437760,[[847,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(37,0,null,0,11,"ngx-mat-select-search",[["formControlName","bankSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit,l.context.index,"bank")&&u}return u},dN.b,dN.a)),fP._17(38,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,850,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(46,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(47,16384,[[850,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,52)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(52,8437760,[[847,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,A_)),fP._17(56,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(60,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(61,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,851,{_control:0}),fP._38(335544320,852,{_placeholderChild:0}),fP._38(335544320,853,{_labelChild:0}),fP._38(603979776,854,{_errorChildren:1}),fP._38(603979776,855,{_hintChildren:1}),fP._38(603979776,856,{_prefixChildren:1}),fP._38(603979776,857,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tid_no_of_pos_machine"],["matInput",""],["placeholder","TID No Of the POS Machine?"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,71)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,71).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,71)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,71)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(71,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[851,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"pos_machines_financial_institution_name");l(n,23,0,"Name of the Financial Institution whose POS machines are installed");l(n,38,0,"search Lender","No Records Found");l(n,41,0,"bankSearch");l(n,46,0,"md-close");l(n,56,0,e.bankListValue);l(n,73,0,"tid_no_of_pos_machine");l(n,76,0,"TID No Of the POS Machine?","text")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,34,0,fP._32(n,35)._getTabIndex(),fP._32(n,35).selected,fP._32(n,35).multiple,fP._32(n,35).active,fP._32(n,35).id,fP._32(n,35).selected.toString(),fP._32(n,35).disabled.toString(),fP._32(n,35).disabled);l(n,37,0,fP._32(n,38).isInsideMatOption,fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending);l(n,45,0,fP._32(n,46)._hidden);l(n,51,0,fP._32(n,52)._getTabIndex(),fP._32(n,52).selected,fP._32(n,52).multiple,fP._32(n,52).active,fP._32(n,52).id,fP._32(n,52).selected.toString(),fP._32(n,52).disabled.toString(),fP._32(n,52).disabled);l(n,60,1,[fP._32(n,61)._control.errorState,fP._32(n,61)._control.errorState,fP._32(n,61)._canLabelFloat,fP._32(n,61)._shouldLabelFloat(),fP._32(n,61)._hideControlPlaceholder(),fP._32(n,61)._control.disabled,fP._32(n,61)._control.focused,"primary"==fP._32(n,61).color,"accent"==fP._32(n,61).color,"warn"==fP._32(n,61).color,fP._32(n,61)._shouldForward("untouched"),fP._32(n,61)._shouldForward("touched"),fP._32(n,61)._shouldForward("pristine"),fP._32(n,61)._shouldForward("dirty"),fP._32(n,61)._shouldForward("valid"),fP._32(n,61)._shouldForward("invalid"),fP._32(n,61)._shouldForward("pending")]);l(n,70,1,[fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()])})}function N_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","pos_machines_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,V_)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"pos_machines_details");l(n,8,0,e.businessForm.controls.pos_machines_details.controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function W_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,833,{_control:0}),fP._38(335544320,834,{_placeholderChild:0}),fP._38(335544320,835,{_labelChild:0}),fP._38(603979776,836,{_errorChildren:1}),fP._38(603979776,837,{_hintChildren:1}),fP._38(603979776,838,{_prefixChildren:1}),fP._38(603979776,839,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_of_pos_machines"],["matInput",""],["placeholder","Number of POS machines?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.toGetPOSMachinesDetails(e.target.value,1)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[833,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,N_)),fP._17(24,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"no_of_pos_machines");l(n,19,0,"Number of POS machines?","number");l(n,24,0,e.businessForm.controls.pos_machines_details)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function E_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Digital Payments"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(11,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(12,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,O_)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,L_)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,W_)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n\n "]))],function(l,n){var e=n.component;l(n,15,0,e.businessForm.controls.applicant_use_mobile_wallets);l(n,18,0,e.businessForm.controls.applicant_use_pos_machines);l(n,21,0,"yes"==e.businessForm.controls.applicant_use_pos_machines.value)},null)}function j_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,75,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","margin-top:10px;width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,859,{_control:0}),fP._38(335544320,860,{_placeholderChild:0}),fP._38(335544320,861,{_labelChild:0}),fP._38(603979776,862,{_errorChildren:1}),fP._38(603979776,863,{_hintChildren:1}),fP._38(603979776,864,{_prefixChildren:1}),fP._38(603979776,865,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(11,16384,[[860,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Months in which sales/service is low?"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,60,"mat-select",[["class","mat-select"],["formControlName","peak_period_of_business"],["multiple",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{required:[0,"required"],multiple:[1,"multiple"]},null),fP._38(603979776,866,{options:1}),fP._38(603979776,867,{optionGroups:1}),fP._38(335544320,868,{customTrigger:0}),fP._37(2048,[[859,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["January"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["February"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","3"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["March"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","4"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(40,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["April"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","5"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,44)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,44)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(44,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["May"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","6"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,48)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,48)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(48,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["June"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","7"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,52)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(52,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["July"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","8"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,56)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(56,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["August"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","9"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,60)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(60,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["September"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(63,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","10"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,64)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,64)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(64,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["October"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(67,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","11"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,68)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,68)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(68,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["November"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(71,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","12"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,72)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,72)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(72,8437760,[[866,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["December"])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"peak_period_of_business");l(n,20,0,"","");l(n,28,0,"1");l(n,32,0,"2");l(n,36,0,"3");l(n,40,0,"4");l(n,44,0,"5");l(n,48,0,"6");l(n,52,0,"7");l(n,56,0,"8");l(n,60,0,"9");l(n,64,0,"10");l(n,68,0,"11");l(n,72,0,"12")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled);l(n,39,0,fP._32(n,40)._getTabIndex(),fP._32(n,40).selected,fP._32(n,40).multiple,fP._32(n,40).active,fP._32(n,40).id,fP._32(n,40).selected.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).disabled);l(n,43,0,fP._32(n,44)._getTabIndex(),fP._32(n,44).selected,fP._32(n,44).multiple,fP._32(n,44).active,fP._32(n,44).id,fP._32(n,44).selected.toString(),fP._32(n,44).disabled.toString(),fP._32(n,44).disabled);l(n,47,0,fP._32(n,48)._getTabIndex(),fP._32(n,48).selected,fP._32(n,48).multiple,fP._32(n,48).active,fP._32(n,48).id,fP._32(n,48).selected.toString(),fP._32(n,48).disabled.toString(),fP._32(n,48).disabled);l(n,51,0,fP._32(n,52)._getTabIndex(),fP._32(n,52).selected,fP._32(n,52).multiple,fP._32(n,52).active,fP._32(n,52).id,fP._32(n,52).selected.toString(),fP._32(n,52).disabled.toString(),fP._32(n,52).disabled);l(n,55,0,fP._32(n,56)._getTabIndex(),fP._32(n,56).selected,fP._32(n,56).multiple,fP._32(n,56).active,fP._32(n,56).id,fP._32(n,56).selected.toString(),fP._32(n,56).disabled.toString(),fP._32(n,56).disabled);l(n,59,0,fP._32(n,60)._getTabIndex(),fP._32(n,60).selected,fP._32(n,60).multiple,fP._32(n,60).active,fP._32(n,60).id,fP._32(n,60).selected.toString(),fP._32(n,60).disabled.toString(),fP._32(n,60).disabled);l(n,63,0,fP._32(n,64)._getTabIndex(),fP._32(n,64).selected,fP._32(n,64).multiple,fP._32(n,64).active,fP._32(n,64).id,fP._32(n,64).selected.toString(),fP._32(n,64).disabled.toString(),fP._32(n,64).disabled);l(n,67,0,fP._32(n,68)._getTabIndex(),fP._32(n,68).selected,fP._32(n,68).multiple,fP._32(n,68).active,fP._32(n,68).id,fP._32(n,68).selected.toString(),fP._32(n,68).disabled.toString(),fP._32(n,68).disabled);l(n,71,0,fP._32(n,72)._getTabIndex(),fP._32(n,72).selected,fP._32(n,72).multiple,fP._32(n,72).active,fP._32(n,72).id,fP._32(n,72).selected.toString(),fP._32(n,72).disabled.toString(),fP._32(n,72).disabled)})}function $_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,869,{_control:0}),fP._38(335544320,870,{_placeholderChild:0}),fP._38(335544320,871,{_labelChild:0}),fP._38(603979776,872,{_errorChildren:1}),fP._38(603979776,873,{_hintChildren:1}),fP._38(603979776,874,{_prefixChildren:1}),fP._38(603979776,875,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","month_of_business_run"],["matInput",""],["placeholder","Comments"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,20)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[869,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,14,0,"");l(n,17,0,"month_of_business_run");l(n,20,0,"Comments","")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,14).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20)._isServer,fP._32(n,20).id,fP._32(n,20).placeholder,fP._32(n,20).disabled,fP._32(n,20).required,fP._32(n,20).readonly,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20).errorState,fP._32(n,20).required.toString()])})}function B_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[901,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.appxSalaryAmtInwords)})}function R_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Shop and Est Act Cert\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function U_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.shop_eat_act_cert_pic.value,""))})}function M_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Shop and Est\n Act Cert\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function K_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,U_)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,M_)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Shop and Est Act Cert Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(1)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.shop_eat_act_cert_pic.value);l(n,6,0,""===e.businessForm.controls.shop_eat_act_cert_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function H_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,K_)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.shop_eat_act_cert_pic)},null)}function G_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["GST Regn Cert\n is Required\n "]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function z_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.gst_Regn_cert_pic.value,""))})}function Y_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" GST Regn Cert\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function Q_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,z_)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Y_)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(2)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.gst_Regn_cert_pic.value);l(n,6,0,""===e.businessForm.controls.gst_Regn_cert_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function J_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Q_)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.gst_Regn_cert_pic)},null)}function X_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Export / Import cert\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Z_(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.export_import_cert_pic.value,""))})}function ld(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Export /\n Import cert\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function nd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Z_)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ld)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(3)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.export_import_cert_pic.value);l(n,6,0,""===e.businessForm.controls.export_import_cert_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function ed(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nd)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.export_import_cert_pic)},null)}function ud(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Export / Import cert"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","export_import_cert"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,3)&&u}return u},null,null)),fP._17(10,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(12,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,923,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(19,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,20)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(20,4440064,[[923,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,24)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(24,4440064,[[923,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,28)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(28,4440064,[[923,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,X_)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ed)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"");l(n,12,0,"");l(n,15,0,"export_import_cert");l(n,20,0,"yes");l(n,24,0,"no");l(n,28,0,"not applicable");l(n,33,0,null==e.businessForm.controls.export_import_cert.errors?null:e.businessForm.controls.export_import_cert.errors.required);l(n,40,0,"yes"==e.businessForm.controls.export_import_cert.value)},function(l,n){l(n,9,0,fP._32(n,10).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending);l(n,19,0,fP._32(n,20).checked,fP._32(n,20).disabled,fP._32(n,20).id);l(n,23,0,fP._32(n,24).checked,fP._32(n,24).disabled,fP._32(n,24).id);l(n,27,0,fP._32(n,28).checked,fP._32(n,28).disabled,fP._32(n,28).id)})}function td(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Factory Cert\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function ad(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.factory_cert_pic.value,""))})}function id(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Factory Cert\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function od(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ad)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,id)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(4)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.factory_cert_pic.value);l(n,6,0,""===e.businessForm.controls.factory_cert_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function rd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,od)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.factory_cert_pic)},null)}function _d(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(6,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Factory Cert"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","factory_cert"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,4)&&u}return u},null,null)),fP._17(10,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(12,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,924,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(19,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,20)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(20,4440064,[[924,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,24)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(24,4440064,[[924,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,28)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(28,4440064,[[924,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,td)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rd)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"");l(n,12,0,"");l(n,15,0,"factory_cert");l(n,20,0,"yes");l(n,24,0,"no");l(n,28,0,"not applicable");l(n,33,0,null==e.businessForm.controls.factory_cert.errors?null:e.businessForm.controls.factory_cert.errors.required);l(n,40,0,"yes"==e.businessForm.controls.factory_cert.value)},function(l,n){l(n,9,0,fP._32(n,10).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending);l(n,19,0,fP._32(n,20).checked,fP._32(n,20).disabled,fP._32(n,20).id);l(n,23,0,fP._32(n,24).checked,fP._32(n,24).disabled,fP._32(n,24).id);l(n,27,0,fP._32(n,28).checked,fP._32(n,28).disabled,fP._32(n,28).id)})}function dd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Practice Cert\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function sd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.practice_cert_pic.value,""))})}function cd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Cert of\n Practice\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function md(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sd)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cd)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(5)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.practice_cert_pic.value);l(n,6,0,""===e.businessForm.controls.practice_cert_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function pd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,md)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.practice_cert_pic)},null)}function fd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Cert of Practice"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","practice_cert"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,5)&&u}return u},null,null)),fP._17(10,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(12,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,925,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(19,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,20)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(20,4440064,[[925,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,24)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(24,4440064,[[925,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,28)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(28,4440064,[[925,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dd)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pd)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"");l(n,12,0,"");l(n,15,0,"practice_cert");l(n,20,0,"yes");l(n,24,0,"no");l(n,28,0,"not applicable");l(n,33,0,null==e.businessForm.controls.practice_cert.errors?null:e.businessForm.controls.practice_cert.errors.required);l(n,40,0,"yes"==e.businessForm.controls.practice_cert.value)},function(l,n){l(n,9,0,fP._32(n,10).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending);l(n,19,0,fP._32(n,20).checked,fP._32(n,20).disabled,fP._32(n,20).id);l(n,23,0,fP._32(n,24).checked,fP._32(n,24).disabled,fP._32(n,24).id);l(n,27,0,fP._32(n,28).checked,fP._32(n,28).disabled,fP._32(n,28).id)})}function hd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["PF Regn\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function gd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.pf_regn_pic.value,""))})}function bd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" PF Regn\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function vd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gd)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bd)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(6)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.pf_regn_pic.value);l(n,6,0,""===e.businessForm.controls.pf_regn_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function yd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vd)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.pf_regn_pic)},null)}function Cd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["ESIC Regn\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function wd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.esic_regn_pic.value,""))})}function Fd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" ESIC Regn\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function xd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wd)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fd)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(7)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.esic_regn_pic.value);l(n,6,0,""===e.businessForm.controls.esic_regn_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function kd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xd)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.esic_regn_pic)},null)}function Sd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,null,0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Fire NOC\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Id(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component.businessForm.controls.fire_noc_pic.value,""))})}function qd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Fire NOC\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function Pd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Id)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qd)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Fire NOC Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(8)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e.businessForm.controls.fire_noc_pic.value);l(n,6,0,""===e.businessForm.controls.fire_noc_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function Dd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pd)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component.businessForm.controls.fire_noc_pic)},null)}function Td(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Fire NOC"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","fire_noc"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,8)&&u}return u},null,null)),fP._17(10,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(12,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,928,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(19,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,20)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(20,4440064,[[928,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,24)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(24,4440064,[[928,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,28)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(28,4440064,[[928,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sd)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Dd)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"");l(n,12,0,"");l(n,15,0,"fire_noc");l(n,20,0,"yes");l(n,24,0,"no");l(n,28,0,"not applicable");l(n,33,0,null==e.businessForm.controls.fir_noc.errors?null:e.businessForm.controls.fir_noc.errors.required);l(n,40,0,"yes"==e.businessForm.controls.fire_noc.value)},function(l,n){l(n,9,0,fP._32(n,10).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending);l(n,19,0,fP._32(n,20).checked,fP._32(n,20).disabled,fP._32(n,20).id);l(n,23,0,fP._32(n,24).checked,fP._32(n,24).disabled,fP._32(n,24).id);l(n,27,0,fP._32(n,28).checked,fP._32(n,28).disabled,fP._32(n,28).id)})}function Od(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.parent.context.$implicit.value.document_pic,""))})}function Ld(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Documents\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function Ad(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteDocuments(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Vd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,51,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,22,"ion-col",[["class","col"],["style","width:110%"]],null,null,null,null,null)),fP._17(9,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,930,{_control:0}),fP._38(335544320,931,{_placeholderChild:0}),fP._38(335544320,932,{_labelChild:0}),fP._38(603979776,933,{_errorChildren:1}),fP._38(603979776,934,{_hintChildren:1}),fP._38(603979776,935,{_prefixChildren:1}),fP._38(603979776,936,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","document"],["matInput",""],["placeholder","Specify Document Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,22)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,22)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,22)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,27)._onInput()&&u}return u},null,null)),fP._17(22,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(24,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(26,16384,null,0,EP.s,[EP.r],null,null),fP._17(27,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[930,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,14,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(33,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Od)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ld)),fP._17(39,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._18(41,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here Documents Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.UploadDocuments(l.context.index)&&u}return u},null,null)),fP._17(44,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ad)),fP._17(50,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,24,0,"document");l(n,27,0,"Specify Document Details");l(n,36,0,""!==n.context.$implicit.value.document_pic);l(n,39,0,""===n.context.$implicit.value.document_pic);l(n,44,0,"md-camera");l(n,50,0,n.context.index>0)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending,fP._32(n,27)._isServer,fP._32(n,27).id,fP._32(n,27).placeholder,fP._32(n,27).disabled,fP._32(n,27).required,fP._32(n,27).readonly,fP._32(n,27)._ariaDescribedby||null,fP._32(n,27).errorState,fP._32(n,27).required.toString()]);l(n,43,0,fP._32(n,44)._hidden)})}function Nd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"div",[["formArrayName","documents"],["style","margin-top:10px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vd)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,6,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addDocuments()&&u}return u},aV.b,aV.a)),fP._17(11,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Add\n Documents"])),(l()(),fP._18(13,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,"documents");l(n,6,0,e.businessForm.controls.documents.controls);l(n,11,0,"optblue")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Wd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,575,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,8,"div",[["formArrayName","partners"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(7,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ii)),fP._17(12,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._18(13,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._18(16,0,null,null,17,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(18,0,null,null,10,"div",[["formArrayName","persons_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(19,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(21,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Add Other Family Members Involved in Business"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Oi)),fP._17(27,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["round",""],["style","font-size: 13px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPersonRelationship(e)&&u}return u},aV.b,aV.a)),fP._17(31,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"]},null),(l()(),fP._40(-1,0,["Add\n More Relationship"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(37,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(39,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(40,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["Type of Business Activity"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(43,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","select_business_activity_type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(44,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(46,16384,null,0,EP.t,[EP.c],null,null),fP._17(47,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Li)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Co)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ir)),fP._17(58,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Mr)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,q_)),fP._17(64,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,T_)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,E_)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(73,0,null,null,43,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(74,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(76,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(77,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(79,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(80,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Seasonality"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(84,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(85,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(87,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(89,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Is The Business Seasonal"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(92,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","seasonality"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(93,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,858,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(96,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(98,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(100,0,null,null,2,"mat-radio-button",[["class","ses mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,101)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(101,4440064,[[858,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,null,2,"mat-radio-button",[["class","ses mat-radio-button"],["value","no major changes in sales"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,105)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(105,4440064,[[858,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No Major Changes In Sales\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,j_)),fP._17(110,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$_)),fP._17(114,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(118,0,null,null,106,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(119,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(121,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(122,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(124,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(125,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Employees As Per Applicant "])),(l()(),fP._40(-1,2,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(129,0,null,0,94,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(130,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(132,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(133,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,876,{_control:0}),fP._38(335544320,877,{_placeholderChild:0}),fP._38(335544320,878,{_labelChild:0}),fP._38(603979776,879,{_errorChildren:1}),fP._38(603979776,880,{_hintChildren:1}),fP._38(603979776,881,{_prefixChildren:1}),fP._38(603979776,882,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(142,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_permanent"],["matInput",""],["placeholder","Permanent"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,143)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,143).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,143)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,143)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,144).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,144).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,144).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,151)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,151)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,151)._onInput()&&u}if("change"===n){u=!1!==t.checkTotalEmployee(t.businessForm)&&u}return u},null,null)),fP._17(143,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(144,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(145,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(148,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(150,16384,null,0,EP.s,[EP.r],null,null),fP._17(151,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[876,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(155,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(156,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,883,{_control:0}),fP._38(335544320,884,{_placeholderChild:0}),fP._38(335544320,885,{_labelChild:0}),fP._38(603979776,886,{_errorChildren:1}),fP._38(603979776,887,{_hintChildren:1}),fP._38(603979776,888,{_prefixChildren:1}),fP._38(603979776,889,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(165,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_temporary"],["matInput",""],["placeholder","Temporary"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,166)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,166).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,166)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,166)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,167).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,167).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,167).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,174)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,174)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,174)._onInput()&&u}if("change"===n){u=!1!==t.checkTotalEmployee(t.businessForm)&&u}return u},null,null)),fP._17(166,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(167,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(168,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(171,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(173,16384,null,0,EP.s,[EP.r],null,null),fP._17(174,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[883,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(178,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(179,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,890,{_control:0}),fP._38(335544320,891,{_placeholderChild:0}),fP._38(335544320,892,{_labelChild:0}),fP._38(603979776,893,{_errorChildren:1}),fP._38(603979776,894,{_hintChildren:1}),fP._38(603979776,895,{_prefixChildren:1}),fP._38(603979776,896,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(188,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_total"],["matInput",""],["placeholder","Total"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,189)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,189).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,189)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,189)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,194)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,194)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,194)._onInput()&&u}return u},null,null)),fP._17(189,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(191,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(193,16384,null,0,EP.s,[EP.r],null,null),fP._17(194,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[890,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(198,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(199,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,897,{_control:0}),fP._38(335544320,898,{_placeholderChild:0}),fP._38(335544320,899,{_labelChild:0}),fP._38(603979776,900,{_errorChildren:1}),fP._38(603979776,901,{_hintChildren:1}),fP._38(603979776,902,{_prefixChildren:1}),fP._38(603979776,903,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(208,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_appx_salary"],["matInput",""],["placeholder","Approximate total monthly salary paid to employees"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,209)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,209).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,209)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,209)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,210).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,210).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,210).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,217)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,217)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,217)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,1)&&u}return u},null,null)),fP._17(209,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(210,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(211,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(214,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(216,16384,null,0,EP.s,[EP.r],null,null),fP._17(217,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[897,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,B_)),fP._17(221,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(226,0,null,null,85,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(227,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(229,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(230,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(232,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(233,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["No of Employees Sighted By PD Officer During His Visit "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(237,0,null,0,73,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(238,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(240,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(241,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,904,{_control:0}),fP._38(335544320,905,{_placeholderChild:0}),fP._38(335544320,906,{_labelChild:0}),fP._38(603979776,907,{_errorChildren:1}),fP._38(603979776,908,{_hintChildren:1}),fP._38(603979776,909,{_prefixChildren:1}),fP._38(603979776,910,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(250,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","officer_total"],["matInput",""],["placeholder","Total"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,251)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,251).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,251)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,251)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,252).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,252).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,252).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,259)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,259)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,259)._onInput()&&u}return u},null,null)),fP._17(251,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(252,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(253,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(256,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(258,16384,null,0,EP.s,[EP.r],null,null),fP._17(259,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[904,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(265,0,null,null,36,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:85%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(266,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,911,{_control:0}),fP._38(335544320,912,{_placeholderChild:0}),fP._38(335544320,913,{_labelChild:0}),fP._38(603979776,914,{_errorChildren:1}),fP._38(603979776,915,{_hintChildren:1}),fP._38(603979776,916,{_prefixChildren:1}),fP._38(603979776,917,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(275,0,null,1,25,"mat-select",[["class","mat-select"],["formControlName","was_the_company_name_board_sighted"],["placeholder","Was the Company name board sighted ?"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,281)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,281)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,281)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(276,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(278,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(280,16384,null,0,EP.s,[EP.r],null,null),fP._17(281,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,918,{options:1}),fP._38(603979776,919,{optionGroups:1}),fP._38(335544320,920,{customTrigger:0}),fP._37(2048,[[911,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(288,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,289)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,289)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(289,8437760,[[918,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(292,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,293)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,293)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(293,8437760,[[918,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(296,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,297)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,297)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(297,8437760,[[918,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(303,0,null,null,4,"span",[["class","name_board_camera"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(305,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture("Name Board Seen")&&u}return u},null,null)),fP._17(306,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(313,0,null,null,229,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(314,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(316,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(317,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(319,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(320,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Documents Sighted "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(324,0,null,0,217,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(325,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(327,0,null,null,190,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(328,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(330,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(331,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(333,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(334,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(336,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Shop and Est Act Cert"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(339,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","shop_eat_act_cert"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,1)&&u}return u},null,null)),fP._17(340,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(342,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,921,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(345,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(347,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(349,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,350)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(350,4440064,[[921,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(353,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,354)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(354,4440064,[[921,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(357,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,358)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(358,4440064,[[921,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,R_)),fP._17(363,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(366,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(367,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,H_)),fP._17(370,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(374,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(375,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(377,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(378,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(380,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["GST Regn Cert"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(383,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","gst_Regn_cert"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,2)&&u}return u},null,null)),fP._17(384,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(386,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,922,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(389,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(391,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(393,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,394)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(394,4440064,[[922,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(397,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,398)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(398,4440064,[[922,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(401,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,402)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(402,4440064,[[922,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,G_)),fP._17(407,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(410,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(411,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,J_)),fP._17(414,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ud)),fP._17(419,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,_d)),fP._17(422,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fd)),fP._17(425,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(427,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(428,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(430,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(431,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(433,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["PF Regn"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(436,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","pf_regn"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,6)&&u}return u},null,null)),fP._17(437,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(439,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,926,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(442,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(444,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(446,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,447)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(447,4440064,[[926,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(450,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,451)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(451,4440064,[[926,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(454,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,455)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(455,4440064,[[926,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hd)),fP._17(460,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(463,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(464,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yd)),fP._17(467,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(471,0,null,null,42,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(472,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(474,0,null,null,31,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(475,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(477,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["ESIC Regn"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(480,0,null,null,21,"mat-radio-group",[["class","mat-radio-group"],["formControlName","esic_regn"],["required",""],["role","radiogroup"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.radioChange(e,7)&&u}return u},null,null)),fP._17(481,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(483,1064960,null,1,PV.b,[fP.i],{required:[0,"required"]},{change:"change"}),fP._38(603979776,927,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(486,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(488,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(490,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,491)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(491,4440064,[[927,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(494,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,495)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(495,4440064,[[927,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(498,0,null,null,2,"mat-radio-button",[["class","na mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,499)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(499,4440064,[[927,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cd)),fP._17(504,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(507,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(508,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kd)),fP._17(511,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Td)),fP._17(516,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(519,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Do You Want to Add Other Documents?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(522,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","other_documents"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(523,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,929,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(526,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(528,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(530,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,531)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(531,4440064,[[929,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(534,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,535)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(535,4440064,[[929,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Nd)),fP._17(540,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(544,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(545,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(547,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(548,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,937,{_control:0}),fP._38(335544320,938,{_placeholderChild:0}),fP._38(335544320,939,{_labelChild:0}),fP._38(603979776,940,{_errorChildren:1}),fP._38(603979776,941,{_hintChildren:1}),fP._38(603979776,942,{_prefixChildren:1}),fP._38(603979776,943,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(557,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(558,16384,[[939,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(561,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_remarks"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,562)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,562).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,562)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,562)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,567)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,567)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,567)._onInput()&&u}return u},null,null)),fP._17(562,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(564,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(566,16384,null,0,EP.s,[EP.r],null,null),fP._17(567,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],null,null),fP._37(2048,[[937,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(572,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(573,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,2,0,e.businessForm);l(n,7,0,"partners");l(n,12,0,e.businessForm.controls.partners.controls);l(n,19,0,"persons_with_relationships");l(n,27,0,e.businessForm.controls.persons_with_relationships.controls);l(n,31,0,"optblue","","");l(n,44,0,"select_business_activity_type");l(n,50,0,e.businessForm.controls.select_business_activity_type.controls);l(n,55,0,e.businessForm.controls.manufacturing_activity_details.controls.length>0);l(n,58,0,e.businessForm.controls.retail_trading_activity_details.controls.length>0);l(n,61,0,e.businessForm.controls.wholesale_trading_activity_details.controls.length>0);l(n,64,0,e.businessForm.controls.service_provider_activity_details.controls.length>0);l(n,68,0,e.ExportFlag);l(n,71,0,e.businessForm.controls.applicant_use_mobile_wallets||e.businessForm.controls.applicant_use_pos_machines);l(n,96,0,"seasonality");l(n,101,0,"yes");l(n,105,0,"no major changes in sales");l(n,110,0,"yes"==e.businessForm.controls.seasonality.value);l(n,114,0,"yes"==e.businessForm.controls.seasonality.value);l(n,145,0,"");l(n,148,0,"employees_permanent");l(n,151,0,"Permanent","","number");l(n,168,0,"");l(n,171,0,"employees_temporary");l(n,174,0,"Temporary","","number");l(n,191,0,"employees_total");l(n,194,0,"Total","");l(n,211,0,"");l(n,214,0,"employees_appx_salary");l(n,217,0,"Approximate total monthly salary paid to employees","","number");l(n,221,0,""!=e.businessForm.controls.employees_appx_salary.value);l(n,253,0,"");l(n,256,0,"officer_total");l(n,259,0,"Total","","number");l(n,276,0,"");l(n,278,0,"was_the_company_name_board_sighted");l(n,281,0,"Was the Company name board sighted ?","");l(n,293,0,"yes");l(n,297,0,"no");l(n,306,0,"md-camera");l(n,340,0,"");l(n,342,0,"");l(n,345,0,"shop_eat_act_cert");l(n,350,0,"yes");l(n,354,0,"no");l(n,358,0,"not applicable");l(n,363,0,null==e.businessForm.controls.shop_eat_act_cert.errors?null:e.businessForm.controls.shop_eat_act_cert.errors.required);l(n,370,0,"yes"==e.businessForm.controls.shop_eat_act_cert.value);l(n,384,0,"");l(n,386,0,"");l(n,389,0,"gst_Regn_cert");l(n,394,0,"yes");l(n,398,0,"no");l(n,402,0,"not applicable");l(n,407,0,null==e.businessForm.controls.gst_Regn_cert.errors?null:e.businessForm.controls.gst_Regn_cert.errors.required);l(n,414,0,"yes"==e.businessForm.controls.gst_Regn_cert.value);l(n,419,0,e.businessForm.controls.export_import_cert);l(n,422,0,e.businessForm.controls.factory_cert);l(n,425,0,e.businessForm.controls.practice_cert);l(n,437,0,"");l(n,439,0,"");l(n,442,0,"pf_regn");l(n,447,0,"yes");l(n,451,0,"no");l(n,455,0,"not applicable");l(n,460,0,null==e.businessForm.controls.pf_regn.errors?null:e.businessForm.controls.pf_regn.errors.required);l(n,467,0,"yes"==e.businessForm.controls.pf_regn.value);l(n,481,0,"");l(n,483,0,"");l(n,486,0,"esic_regn");l(n,491,0,"yes");l(n,495,0,"no");l(n,499,0,"not applicable");l(n,504,0,null==e.businessForm.controls.esic_regn.errors?null:e.businessForm.controls.esic_regn.errors.required);l(n,511,0,"yes"==e.businessForm.controls.esic_regn.value);l(n,516,0,e.businessForm.controls.fire_noc);l(n,526,0,"other_documents");l(n,531,0,"yes");l(n,535,0,"no");l(n,540,0,"yes"==e.businessForm.controls.other_documents.value);l(n,564,0,"business_remarks"),l(n,567,0)},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,6,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending);l(n,18,0,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending);l(n,43,0,fP._32(n,46).ngClassUntouched,fP._32(n,46).ngClassTouched,fP._32(n,46).ngClassPristine,fP._32(n,46).ngClassDirty,fP._32(n,46).ngClassValid,fP._32(n,46).ngClassInvalid,fP._32(n,46).ngClassPending);l(n,92,0,fP._32(n,98).ngClassUntouched,fP._32(n,98).ngClassTouched,fP._32(n,98).ngClassPristine,fP._32(n,98).ngClassDirty,fP._32(n,98).ngClassValid,fP._32(n,98).ngClassInvalid,fP._32(n,98).ngClassPending);l(n,100,0,fP._32(n,101).checked,fP._32(n,101).disabled,fP._32(n,101).id);l(n,104,0,fP._32(n,105).checked,fP._32(n,105).disabled,fP._32(n,105).id);l(n,132,1,[fP._32(n,133)._control.errorState,fP._32(n,133)._control.errorState,fP._32(n,133)._canLabelFloat,fP._32(n,133)._shouldLabelFloat(),fP._32(n,133)._hideControlPlaceholder(),fP._32(n,133)._control.disabled,fP._32(n,133)._control.focused,"primary"==fP._32(n,133).color,"accent"==fP._32(n,133).color,"warn"==fP._32(n,133).color,fP._32(n,133)._shouldForward("untouched"),fP._32(n,133)._shouldForward("touched"),fP._32(n,133)._shouldForward("pristine"),fP._32(n,133)._shouldForward("dirty"),fP._32(n,133)._shouldForward("valid"),fP._32(n,133)._shouldForward("invalid"),fP._32(n,133)._shouldForward("pending")]);l(n,142,1,[fP._32(n,145).required?"":null,fP._32(n,150).ngClassUntouched,fP._32(n,150).ngClassTouched,fP._32(n,150).ngClassPristine,fP._32(n,150).ngClassDirty,fP._32(n,150).ngClassValid,fP._32(n,150).ngClassInvalid,fP._32(n,150).ngClassPending,fP._32(n,151)._isServer,fP._32(n,151).id,fP._32(n,151).placeholder,fP._32(n,151).disabled,fP._32(n,151).required,fP._32(n,151).readonly,fP._32(n,151)._ariaDescribedby||null,fP._32(n,151).errorState,fP._32(n,151).required.toString()]);l(n,155,1,[fP._32(n,156)._control.errorState,fP._32(n,156)._control.errorState,fP._32(n,156)._canLabelFloat,fP._32(n,156)._shouldLabelFloat(),fP._32(n,156)._hideControlPlaceholder(),fP._32(n,156)._control.disabled,fP._32(n,156)._control.focused,"primary"==fP._32(n,156).color,"accent"==fP._32(n,156).color,"warn"==fP._32(n,156).color,fP._32(n,156)._shouldForward("untouched"),fP._32(n,156)._shouldForward("touched"),fP._32(n,156)._shouldForward("pristine"),fP._32(n,156)._shouldForward("dirty"),fP._32(n,156)._shouldForward("valid"),fP._32(n,156)._shouldForward("invalid"),fP._32(n,156)._shouldForward("pending")]);l(n,165,1,[fP._32(n,168).required?"":null,fP._32(n,173).ngClassUntouched,fP._32(n,173).ngClassTouched,fP._32(n,173).ngClassPristine,fP._32(n,173).ngClassDirty,fP._32(n,173).ngClassValid,fP._32(n,173).ngClassInvalid,fP._32(n,173).ngClassPending,fP._32(n,174)._isServer,fP._32(n,174).id,fP._32(n,174).placeholder,fP._32(n,174).disabled,fP._32(n,174).required,fP._32(n,174).readonly,fP._32(n,174)._ariaDescribedby||null,fP._32(n,174).errorState,fP._32(n,174).required.toString()]);l(n,178,1,[fP._32(n,179)._control.errorState,fP._32(n,179)._control.errorState,fP._32(n,179)._canLabelFloat,fP._32(n,179)._shouldLabelFloat(),fP._32(n,179)._hideControlPlaceholder(),fP._32(n,179)._control.disabled,fP._32(n,179)._control.focused,"primary"==fP._32(n,179).color,"accent"==fP._32(n,179).color,"warn"==fP._32(n,179).color,fP._32(n,179)._shouldForward("untouched"),fP._32(n,179)._shouldForward("touched"),fP._32(n,179)._shouldForward("pristine"),fP._32(n,179)._shouldForward("dirty"),fP._32(n,179)._shouldForward("valid"),fP._32(n,179)._shouldForward("invalid"),fP._32(n,179)._shouldForward("pending")]);l(n,188,1,[fP._32(n,193).ngClassUntouched,fP._32(n,193).ngClassTouched,fP._32(n,193).ngClassPristine,fP._32(n,193).ngClassDirty,fP._32(n,193).ngClassValid,fP._32(n,193).ngClassInvalid,fP._32(n,193).ngClassPending,fP._32(n,194)._isServer,fP._32(n,194).id,fP._32(n,194).placeholder,fP._32(n,194).disabled,fP._32(n,194).required,fP._32(n,194).readonly,fP._32(n,194)._ariaDescribedby||null,fP._32(n,194).errorState,fP._32(n,194).required.toString()]);l(n,198,1,[fP._32(n,199)._control.errorState,fP._32(n,199)._control.errorState,fP._32(n,199)._canLabelFloat,fP._32(n,199)._shouldLabelFloat(),fP._32(n,199)._hideControlPlaceholder(),fP._32(n,199)._control.disabled,fP._32(n,199)._control.focused,"primary"==fP._32(n,199).color,"accent"==fP._32(n,199).color,"warn"==fP._32(n,199).color,fP._32(n,199)._shouldForward("untouched"),fP._32(n,199)._shouldForward("touched"),fP._32(n,199)._shouldForward("pristine"),fP._32(n,199)._shouldForward("dirty"),fP._32(n,199)._shouldForward("valid"),fP._32(n,199)._shouldForward("invalid"),fP._32(n,199)._shouldForward("pending")]);l(n,208,1,[fP._32(n,211).required?"":null,fP._32(n,216).ngClassUntouched,fP._32(n,216).ngClassTouched,fP._32(n,216).ngClassPristine,fP._32(n,216).ngClassDirty,fP._32(n,216).ngClassValid,fP._32(n,216).ngClassInvalid,fP._32(n,216).ngClassPending,fP._32(n,217)._isServer,fP._32(n,217).id,fP._32(n,217).placeholder,fP._32(n,217).disabled,fP._32(n,217).required,fP._32(n,217).readonly,fP._32(n,217)._ariaDescribedby||null,fP._32(n,217).errorState,fP._32(n,217).required.toString()]);l(n,240,1,[fP._32(n,241)._control.errorState,fP._32(n,241)._control.errorState,fP._32(n,241)._canLabelFloat,fP._32(n,241)._shouldLabelFloat(),fP._32(n,241)._hideControlPlaceholder(),fP._32(n,241)._control.disabled,fP._32(n,241)._control.focused,"primary"==fP._32(n,241).color,"accent"==fP._32(n,241).color,"warn"==fP._32(n,241).color,fP._32(n,241)._shouldForward("untouched"),fP._32(n,241)._shouldForward("touched"),fP._32(n,241)._shouldForward("pristine"),fP._32(n,241)._shouldForward("dirty"),fP._32(n,241)._shouldForward("valid"),fP._32(n,241)._shouldForward("invalid"),fP._32(n,241)._shouldForward("pending")]);l(n,250,1,[fP._32(n,253).required?"":null,fP._32(n,258).ngClassUntouched,fP._32(n,258).ngClassTouched,fP._32(n,258).ngClassPristine,fP._32(n,258).ngClassDirty,fP._32(n,258).ngClassValid,fP._32(n,258).ngClassInvalid,fP._32(n,258).ngClassPending,fP._32(n,259)._isServer,fP._32(n,259).id,fP._32(n,259).placeholder,fP._32(n,259).disabled,fP._32(n,259).required,fP._32(n,259).readonly,fP._32(n,259)._ariaDescribedby||null,fP._32(n,259).errorState,fP._32(n,259).required.toString()]);l(n,265,1,[fP._32(n,266)._control.errorState,fP._32(n,266)._control.errorState,fP._32(n,266)._canLabelFloat,fP._32(n,266)._shouldLabelFloat(),fP._32(n,266)._hideControlPlaceholder(),fP._32(n,266)._control.disabled,fP._32(n,266)._control.focused,"primary"==fP._32(n,266).color,"accent"==fP._32(n,266).color,"warn"==fP._32(n,266).color,fP._32(n,266)._shouldForward("untouched"),fP._32(n,266)._shouldForward("touched"),fP._32(n,266)._shouldForward("pristine"),fP._32(n,266)._shouldForward("dirty"),fP._32(n,266)._shouldForward("valid"),fP._32(n,266)._shouldForward("invalid"),fP._32(n,266)._shouldForward("pending")]);l(n,275,1,[fP._32(n,276).required?"":null,fP._32(n,280).ngClassUntouched,fP._32(n,280).ngClassTouched,fP._32(n,280).ngClassPristine,fP._32(n,280).ngClassDirty,fP._32(n,280).ngClassValid,fP._32(n,280).ngClassInvalid,fP._32(n,280).ngClassPending,fP._32(n,281).id,fP._32(n,281).tabIndex,fP._32(n,281)._ariaLabel,fP._32(n,281).ariaLabelledby,fP._32(n,281).required.toString(),fP._32(n,281).disabled.toString(),fP._32(n,281).errorState,fP._32(n,281).panelOpen?fP._32(n,281)._optionIds:null,fP._32(n,281).multiple,fP._32(n,281)._ariaDescribedby||null,fP._32(n,281)._getAriaActiveDescendant(),fP._32(n,281).disabled,fP._32(n,281).errorState,fP._32(n,281).required]);l(n,288,0,fP._32(n,289)._getTabIndex(),fP._32(n,289).selected,fP._32(n,289).multiple,fP._32(n,289).active,fP._32(n,289).id,fP._32(n,289).selected.toString(),fP._32(n,289).disabled.toString(),fP._32(n,289).disabled);l(n,292,0,fP._32(n,293)._getTabIndex(),fP._32(n,293).selected,fP._32(n,293).multiple,fP._32(n,293).active,fP._32(n,293).id,fP._32(n,293).selected.toString(),fP._32(n,293).disabled.toString(),fP._32(n,293).disabled);l(n,296,0,fP._32(n,297)._getTabIndex(),fP._32(n,297).selected,fP._32(n,297).multiple,fP._32(n,297).active,fP._32(n,297).id,fP._32(n,297).selected.toString(),fP._32(n,297).disabled.toString(),fP._32(n,297).disabled);l(n,305,0,fP._32(n,306)._hidden);l(n,339,0,fP._32(n,340).required?"":null,fP._32(n,347).ngClassUntouched,fP._32(n,347).ngClassTouched,fP._32(n,347).ngClassPristine,fP._32(n,347).ngClassDirty,fP._32(n,347).ngClassValid,fP._32(n,347).ngClassInvalid,fP._32(n,347).ngClassPending);l(n,349,0,fP._32(n,350).checked,fP._32(n,350).disabled,fP._32(n,350).id);l(n,353,0,fP._32(n,354).checked,fP._32(n,354).disabled,fP._32(n,354).id);l(n,357,0,fP._32(n,358).checked,fP._32(n,358).disabled,fP._32(n,358).id);l(n,383,0,fP._32(n,384).required?"":null,fP._32(n,391).ngClassUntouched,fP._32(n,391).ngClassTouched,fP._32(n,391).ngClassPristine,fP._32(n,391).ngClassDirty,fP._32(n,391).ngClassValid,fP._32(n,391).ngClassInvalid,fP._32(n,391).ngClassPending);l(n,393,0,fP._32(n,394).checked,fP._32(n,394).disabled,fP._32(n,394).id);l(n,397,0,fP._32(n,398).checked,fP._32(n,398).disabled,fP._32(n,398).id);l(n,401,0,fP._32(n,402).checked,fP._32(n,402).disabled,fP._32(n,402).id);l(n,436,0,fP._32(n,437).required?"":null,fP._32(n,444).ngClassUntouched,fP._32(n,444).ngClassTouched,fP._32(n,444).ngClassPristine,fP._32(n,444).ngClassDirty,fP._32(n,444).ngClassValid,fP._32(n,444).ngClassInvalid,fP._32(n,444).ngClassPending);l(n,446,0,fP._32(n,447).checked,fP._32(n,447).disabled,fP._32(n,447).id);l(n,450,0,fP._32(n,451).checked,fP._32(n,451).disabled,fP._32(n,451).id);l(n,454,0,fP._32(n,455).checked,fP._32(n,455).disabled,fP._32(n,455).id);l(n,480,0,fP._32(n,481).required?"":null,fP._32(n,488).ngClassUntouched,fP._32(n,488).ngClassTouched,fP._32(n,488).ngClassPristine,fP._32(n,488).ngClassDirty,fP._32(n,488).ngClassValid,fP._32(n,488).ngClassInvalid,fP._32(n,488).ngClassPending);l(n,490,0,fP._32(n,491).checked,fP._32(n,491).disabled,fP._32(n,491).id);l(n,494,0,fP._32(n,495).checked,fP._32(n,495).disabled,fP._32(n,495).id);l(n,498,0,fP._32(n,499).checked,fP._32(n,499).disabled,fP._32(n,499).id);l(n,522,0,fP._32(n,528).ngClassUntouched,fP._32(n,528).ngClassTouched,fP._32(n,528).ngClassPristine,fP._32(n,528).ngClassDirty,fP._32(n,528).ngClassValid,fP._32(n,528).ngClassInvalid,fP._32(n,528).ngClassPending);l(n,530,0,fP._32(n,531).checked,fP._32(n,531).disabled,fP._32(n,531).id);l(n,534,0,fP._32(n,535).checked,fP._32(n,535).disabled,fP._32(n,535).id);l(n,547,1,[fP._32(n,548)._control.errorState,fP._32(n,548)._control.errorState,fP._32(n,548)._canLabelFloat,fP._32(n,548)._shouldLabelFloat(),fP._32(n,548)._hideControlPlaceholder(),fP._32(n,548)._control.disabled,fP._32(n,548)._control.focused,"primary"==fP._32(n,548).color,"accent"==fP._32(n,548).color,"warn"==fP._32(n,548).color,fP._32(n,548)._shouldForward("untouched"),fP._32(n,548)._shouldForward("touched"),fP._32(n,548)._shouldForward("pristine"),fP._32(n,548)._shouldForward("dirty"),fP._32(n,548)._shouldForward("valid"),fP._32(n,548)._shouldForward("invalid"),fP._32(n,548)._shouldForward("pending")]);l(n,561,1,[fP._32(n,566).ngClassUntouched,fP._32(n,566).ngClassTouched,fP._32(n,566).ngClassPristine,fP._32(n,566).ngClassDirty,fP._32(n,566).ngClassValid,fP._32(n,566).ngClassInvalid,fP._32(n,566).ngClassPending,fP._32(n,567)._isServer,fP._32(n,567).id,fP._32(n,567).placeholder,fP._32(n,567).disabled,fP._32(n,567).required,fP._32(n,567).readonly,fP._32(n,567)._ariaDescribedby||null,fP._32(n,567).errorState,fP._32(n,567).required.toString()])})}function Ed(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._38(671088640,1,{share_focus:0}),(l()(),fP._18(2,0,null,null,52,"ion-header",[],null,null,null,null,null)),fP._17(3,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,32,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(6,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,10).toggle()&&u}return u},aV.b,aV.a)),fP._17(9,1097728,[[2,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(10,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(11,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(15,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,ii)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(21,0,null,2,15,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(22,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,7,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,4,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(30,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,oi)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(40,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47).onClick()&&u}return u},dV.b,dV.a)),fP._17(47,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51).onClick()&&u}return u},dV.b,dV.a)),fP._17(51,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(56,0,null,null,14,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(57,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(60,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vi)),fP._17(63,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Wd)),fP._17(66,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,30,0,"md-camera");l(n,35,0,!e.complete_status);l(n,40,0,e.tab);l(n,43,0,"optblue");l(n,47,0,"0");l(n,51,0,"1");l(n,60,0,e.tab);l(n,63,0,"1");l(n,66,0,"0")},function(l,n){l(n,5,0,fP._32(n,6)._hidden,fP._32(n,6)._sbPadding);l(n,8,0,fP._32(n,10).isHidden);l(n,14,0,fP._32(n,15)._hidden);l(n,29,0,fP._32(n,30)._hidden);l(n,39,0,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._disabled);l(n,46,0,fP._32(n,47)._disabled,fP._32(n,47).isActive,fP._32(n,47).isActive);l(n,50,0,fP._32(n,51)._disabled,fP._32(n,51).isActive,fP._32(n,51).isActive);l(n,56,0,fP._32(n,57).statusbarPadding,fP._32(n,57)._hasRefresher)})}function jd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function $d(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitLoanDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Bd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Rd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ud(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Md(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Kd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rd)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ud)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Md)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Hd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kd)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Gd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function zd(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Yd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gd)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,zd)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function Qd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yd)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Jd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Xd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bd)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Hd)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,Qd)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Jd)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Zd(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[8,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.loanAmtInWords)})}function ls(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[25,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,[""," ( "," )"]))],function(l,n){l(n,1,0,n.context.$implicit.subproduct_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name,n.context.$implicit.abbr)})}function ns(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.enduse_of_loan_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.enduse_of_loan)})}function es(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,38,{_control:0}),fP._38(335544320,39,{_placeholderChild:0}),fP._38(335544320,40,{_labelChild:0}),fP._38(603979776,41,{_errorChildren:1}),fP._38(603979776,42,{_hintChildren:1}),fP._38(603979776,43,{_prefixChildren:1}),fP._38(603979776,44,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","end_use_other"],["matInput",""],["placeholder","Specify End Use"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[38,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"end_use_other");l(n,16,0,"Specify End Use")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function us(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,45,{_control:0}),fP._38(335544320,46,{_placeholderChild:0}),fP._38(335544320,47,{_labelChild:0}),fP._38(603979776,48,{_errorChildren:1}),fP._38(603979776,49,{_hintChildren:1}),fP._38(603979776,50,{_prefixChildren:1}),fP._38(603979776,51,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","is_there_total_fund"],["placeholder","Total fund requirement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,52,{options:1}),fP._38(603979776,53,{optionGroups:1}),fP._38(335544320,54,{customTrigger:0}),fP._37(2048,[[45,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[52,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes disclose"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[52,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Disclosed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no not disclosed"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[52,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Not Disclosed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"is_there_total_fund");l(n,14,0,"Total fund requirement");l(n,26,0,"yes disclose");l(n,30,0,"no not disclosed")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled)})}function ts(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[59,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.fundAmtInWords)})}function as(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,55,{_control:0}),fP._38(335544320,56,{_placeholderChild:0}),fP._38(335544320,57,{_labelChild:0}),fP._38(603979776,58,{_errorChildren:1}),fP._38(603979776,59,{_hintChildren:1}),fP._38(603979776,60,{_prefixChildren:1}),fP._38(603979776,61,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fund_amt"],["matInput",""],["placeholder","Total Fund Required for the End use mentioned? "],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,8)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[55,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ts)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"fund_amt");l(n,19,0,"Total Fund Required for the End use mentioned? ","number");l(n,23,0,""!=e.loanDetailsForm.controls.fund_amt.value&&""!=e.fundAmtInWords)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function is(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[76,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.balTxrfAmtInWords)})}function os(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,72,{_control:0}),fP._38(335544320,73,{_placeholderChild:0}),fP._38(335544320,74,{_labelChild:0}),fP._38(603979776,75,{_errorChildren:1}),fP._38(603979776,76,{_hintChildren:1}),fP._38(603979776,77,{_prefixChildren:1}),fP._38(603979776,78,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","balance_transfer_amount"],["matInput",""],["placeholder","What is the amount required for Balance Transfer ? "],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("blur"===n){u=!1!==t.loanCalc()&&u}if("keyup"===n){u=!1!==t.inWords(e,2)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[72,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,is)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"balance_transfer_amount");l(n,17,0,"What is the amount required for Balance Transfer ? ","number");l(n,21,0,""!=e.loanDetailsForm.controls.loan_amount.value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function rs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[86,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function _s(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,79,{_control:0}),fP._38(335544320,80,{_placeholderChild:0}),fP._38(335544320,81,{_labelChild:0}),fP._38(603979776,82,{_errorChildren:1}),fP._38(603979776,83,{_hintChildren:1}),fP._38(603979776,84,{_prefixChildren:1}),fP._38(603979776,85,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,31,"mat-select",[["class","mat-select"],["formControlName","lender"],["placeholder","Lender from where balance transfer done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,86,{options:1}),fP._38(603979776,87,{optionGroups:1}),fP._38(335544320,88,{customTrigger:0}),fP._37(2048,[[79,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[86,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(24,0,null,0,11,"ngx-mat-select-search",[["formControlName","filterCtrl"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,dN.b,dN.a)),fP._17(25,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,89,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(28,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(33,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(34,16384,[[89,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,2,null,rs)),fP._17(39,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._34(131072,mD.b,[fP.i]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"lender");l(n,14,0,"Lender from where balance transfer done");l(n,25,0,"Find Lender by Name...","No Matching Result");l(n,28,0,"filterCtrl");l(n,33,0,"md-close");l(n,39,0,fP._41(n,39,0,fP._32(n,40).transform(e.filteredBanks)))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,24,0,fP._32(n,25).isInsideMatOption,fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending);l(n,32,0,fP._32(n,33)._hidden)})}function ds(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,90,{_control:0}),fP._38(335544320,91,{_placeholderChild:0}),fP._38(335544320,92,{_labelChild:0}),fP._38(603979776,93,{_errorChildren:1}),fP._38(603979776,94,{_hintChildren:1}),fP._38(603979776,95,{_prefixChildren:1}),fP._38(603979776,96,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bt_lender"],["matInput",""],["placeholder","Specify Others Lender"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[90,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bt_lender");l(n,16,0,"Specify Others Lender")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function ss(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[101,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.topUpAmtInWords)})}function cs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,97,{_control:0}),fP._38(335544320,98,{_placeholderChild:0}),fP._38(335544320,99,{_labelChild:0}),fP._38(603979776,100,{_errorChildren:1}),fP._38(603979776,101,{_hintChildren:1}),fP._38(603979776,102,{_prefixChildren:1}),fP._38(603979776,103,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","topup_amount"],["matInput",""],["placeholder","Top Up Amt"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,5)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[97,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ss)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"topup_amount");l(n,17,0,"Top Up Amt","number");l(n,21,0,""!=e.loanDetailsForm.controls.topup_amount.value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function ms(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[111,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.end_use_of_topup_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.end_use_of_topup)})}function ps(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,104,{_control:0}),fP._38(335544320,105,{_placeholderChild:0}),fP._38(335544320,106,{_labelChild:0}),fP._38(603979776,107,{_errorChildren:1}),fP._38(603979776,108,{_hintChildren:1}),fP._38(603979776,109,{_prefixChildren:1}),fP._38(603979776,110,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","end_use_topup"],["placeholder","What is the End Use of the Top Up?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,111,{options:1}),fP._38(603979776,112,{optionGroups:1}),fP._38(335544320,113,{customTrigger:0}),fP._37(2048,[[104,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[111,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ms)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"end_use_topup");l(n,14,0,"What is the End Use of the Top Up?");l(n,26,0,e.m_endUseOFTopUpList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled)})}function fs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,114,{_control:0}),fP._38(335544320,115,{_placeholderChild:0}),fP._38(335544320,116,{_labelChild:0}),fP._38(603979776,117,{_errorChildren:1}),fP._38(603979776,118,{_hintChildren:1}),fP._38(603979776,119,{_prefixChildren:1}),fP._38(603979776,120,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_end_use_topup"],["matInput",""],["placeholder","Specify End Use of Top Up"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[114,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_end_use_topup");l(n,16,0,"Specify End Use of Top Up")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function hs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[125,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.ownContributionInWords)})}function gs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function bs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,138,{_control:0}),fP._38(335544320,139,{_placeholderChild:0}),fP._38(335544320,140,{_labelChild:0}),fP._38(603979776,141,{_errorChildren:1}),fP._38(603979776,142,{_hintChildren:1}),fP._38(603979776,143,{_prefixChildren:1}),fP._38(603979776,144,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_source"],["matInput",""],["placeholder","Specify Other Sources"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[138,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_source");l(n,16,0,"Specify Other Sources")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function vs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,60,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,121,{_control:0}),fP._38(335544320,122,{_placeholderChild:0}),fP._38(335544320,123,{_labelChild:0}),fP._38(603979776,124,{_errorChildren:1}),fP._38(603979776,125,{_hintChildren:1}),fP._38(603979776,126,{_prefixChildren:1}),fP._38(603979776,127,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","own_contribution"],["matInput",""],["placeholder","Amount of Own Contribution"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,4)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[121,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,hs)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(28,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(29,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,128,{_control:0}),fP._38(335544320,129,{_placeholderChild:0}),fP._38(335544320,130,{_labelChild:0}),fP._38(603979776,131,{_errorChildren:1}),fP._38(603979776,132,{_hintChildren:1}),fP._38(603979776,133,{_prefixChildren:1}),fP._38(603979776,134,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","source"],["multiple",""],["placeholder","Source of Own Contribution"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,43)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.sourceChange(e.value)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},{selectionChange:"selectionChange"}),fP._38(603979776,135,{options:1}),fP._38(603979776,136,{optionGroups:1}),fP._38(335544320,137,{customTrigger:0}),fP._37(2048,[[128,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,gs)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,bs)),fP._17(59,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,18,0,"own_contribution");l(n,21,0,"Amount of Own Contribution","","number");l(n,25,0,""!=e.loanDetailsForm.controls.own_contribution.value);l(n,40,0,"source");l(n,43,0,"Source of Own Contribution","");l(n,50,0,e.m_sourceofamount);l(n,59,0,e.isOtherSource)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()]);l(n,28,1,[fP._32(n,29)._control.errorState,fP._32(n,29)._control.errorState,fP._32(n,29)._canLabelFloat,fP._32(n,29)._shouldLabelFloat(),fP._32(n,29)._hideControlPlaceholder(),fP._32(n,29)._control.disabled,fP._32(n,29)._control.focused,"primary"==fP._32(n,29).color,"accent"==fP._32(n,29).color,"warn"==fP._32(n,29).color,fP._32(n,29)._shouldForward("untouched"),fP._32(n,29)._shouldForward("touched"),fP._32(n,29)._shouldForward("pristine"),fP._32(n,29)._shouldForward("dirty"),fP._32(n,29)._shouldForward("valid"),fP._32(n,29)._shouldForward("invalid"),fP._32(n,29)._shouldForward("pending")]);l(n,38,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43).id,fP._32(n,43).tabIndex,fP._32(n,43)._ariaLabel,fP._32(n,43).ariaLabelledby,fP._32(n,43).required.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).errorState,fP._32(n,43).panelOpen?fP._32(n,43)._optionIds:null,fP._32(n,43).multiple,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43)._getAriaActiveDescendant(),fP._32(n,43).disabled,fP._32(n,43).errorState,fP._32(n,43).required])})}function ys(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[149,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInWords)})}function Cs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[159,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.mortage_property_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.property_name)})}function ws(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,162,{_control:0}),fP._38(335544320,163,{_placeholderChild:0}),fP._38(335544320,164,{_labelChild:0}),fP._38(603979776,165,{_errorChildren:1}),fP._38(603979776,166,{_hintChildren:1}),fP._38(603979776,167,{_prefixChildren:1}),fP._38(603979776,168,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_type_others"],["matInput",""],["placeholder","Specify Type of Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[162,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"property_type_others");l(n,16,0,"Specify Type of Property")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Fs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[176,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function xs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[177,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Fs)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function ks(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[186,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ss(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[193,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.emvAmtInWords)})}function Is(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,139,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,136,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Details of Property being Mortgaged\n "])),(l()(),fP._18(10,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,124,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(14,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(17,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,152,{_control:0}),fP._38(335544320,153,{_placeholderChild:0}),fP._38(335544320,154,{_labelChild:0}),fP._38(603979776,155,{_errorChildren:1}),fP._38(603979776,156,{_hintChildren:1}),fP._38(603979776,157,{_prefixChildren:1}),fP._38(603979776,158,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(26,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Type of Property"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,32)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,32)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.mortage_type(e.value)&&u}return u},tN.b,tN.a)),fP._17(27,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(29,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(31,16384,null,0,EP.s,[EP.r],null,null),fP._17(32,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,159,{options:1}),fP._38(603979776,160,{optionGroups:1}),fP._38(335544320,161,{customTrigger:0}),fP._37(2048,[[152,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(40,8437760,[[159,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Cs)),fP._17(44,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,ws)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(51,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(52,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,169,{_control:0}),fP._38(335544320,170,{_placeholderChild:0}),fP._38(335544320,171,{_labelChild:0}),fP._38(603979776,172,{_errorChildren:1}),fP._38(603979776,173,{_hintChildren:1}),fP._38(603979776,174,{_prefixChildren:1}),fP._38(603979776,175,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","owner_name"],["multiple",""],["placeholder","Name of Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,66)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,66)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(63,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(65,16384,null,0,EP.s,[EP.r],null,null),fP._17(66,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},null),fP._38(603979776,176,{options:1}),fP._38(603979776,177,{optionGroups:1}),fP._38(335544320,178,{customTrigger:0}),fP._37(2048,[[169,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,xs)),fP._17(73,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(77,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(78,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,179,{_control:0}),fP._38(335544320,180,{_placeholderChild:0}),fP._38(335544320,181,{_labelChild:0}),fP._38(603979776,182,{_errorChildren:1}),fP._38(603979776,183,{_hintChildren:1}),fP._38(603979776,184,{_prefixChildren:1}),fP._38(603979776,185,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(87,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","construction_status"],["placeholder","Status of Construction"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(88,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,186,{options:1}),fP._38(603979776,187,{optionGroups:1}),fP._38(335544320,188,{customTrigger:0}),fP._37(2048,[[179,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[186,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ks)),fP._17(105,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(111,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(112,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,189,{_control:0}),fP._38(335544320,190,{_placeholderChild:0}),fP._38(335544320,191,{_labelChild:0}),fP._38(603979776,192,{_errorChildren:1}),fP._38(603979776,193,{_hintChildren:1}),fP._38(603979776,194,{_prefixChildren:1}),fP._38(603979776,195,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(121,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emv_per_customer"],["matInput",""],["placeholder","Estimate Market Value as Per Customer"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,122)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,122).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,122)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,122)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,123).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,123).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,123).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,130)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,130)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,130)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,7)&&u}return u},null,null)),fP._17(122,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(123,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(124,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(127,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(129,16384,null,0,EP.s,[EP.r],null,null),fP._17(130,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[189,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Ss)),fP._17(134,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,27,0,"");l(n,29,0,"property_type");l(n,32,0,"Type of Property","");l(n,44,0,e.m_mortageTypeProperty);l(n,49,0,e.mortageAccess);l(n,63,0,"owner_name");l(n,66,0,"Name of Owner","",e.compareObjects);l(n,73,0,e.mergeCompanyApplicant);l(n,88,0,"");l(n,90,0,"construction_status");l(n,93,0,"Status of Construction","");l(n,105,0,e.m_statusofCunstruction);l(n,124,0,"");l(n,127,0,"emv_per_customer");l(n,130,0,"Estimate Market Value as Per Customer","","number");l(n,134,0,""!=e.loanDetailsForm.controls.emv_per_customer.value)},function(l,n){l(n,16,1,[fP._32(n,17)._control.errorState,fP._32(n,17)._control.errorState,fP._32(n,17)._canLabelFloat,fP._32(n,17)._shouldLabelFloat(),fP._32(n,17)._hideControlPlaceholder(),fP._32(n,17)._control.disabled,fP._32(n,17)._control.focused,"primary"==fP._32(n,17).color,"accent"==fP._32(n,17).color,"warn"==fP._32(n,17).color,fP._32(n,17)._shouldForward("untouched"),fP._32(n,17)._shouldForward("touched"),fP._32(n,17)._shouldForward("pristine"),fP._32(n,17)._shouldForward("dirty"),fP._32(n,17)._shouldForward("valid"),fP._32(n,17)._shouldForward("invalid"),fP._32(n,17)._shouldForward("pending")]);l(n,26,1,[fP._32(n,27).required?"":null,fP._32(n,31).ngClassUntouched,fP._32(n,31).ngClassTouched,fP._32(n,31).ngClassPristine,fP._32(n,31).ngClassDirty,fP._32(n,31).ngClassValid,fP._32(n,31).ngClassInvalid,fP._32(n,31).ngClassPending,fP._32(n,32).id,fP._32(n,32).tabIndex,fP._32(n,32)._ariaLabel,fP._32(n,32).ariaLabelledby,fP._32(n,32).required.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).errorState,fP._32(n,32).panelOpen?fP._32(n,32)._optionIds:null,fP._32(n,32).multiple,fP._32(n,32)._ariaDescribedby||null,fP._32(n,32)._getAriaActiveDescendant(),fP._32(n,32).disabled,fP._32(n,32).errorState,fP._32(n,32).required]);l(n,39,0,fP._32(n,40)._getTabIndex(),fP._32(n,40).selected,fP._32(n,40).multiple,fP._32(n,40).active,fP._32(n,40).id,fP._32(n,40).selected.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).disabled);l(n,51,1,[fP._32(n,52)._control.errorState,fP._32(n,52)._control.errorState,fP._32(n,52)._canLabelFloat,fP._32(n,52)._shouldLabelFloat(),fP._32(n,52)._hideControlPlaceholder(),fP._32(n,52)._control.disabled,fP._32(n,52)._control.focused,"primary"==fP._32(n,52).color,"accent"==fP._32(n,52).color,"warn"==fP._32(n,52).color,fP._32(n,52)._shouldForward("untouched"),fP._32(n,52)._shouldForward("touched"),fP._32(n,52)._shouldForward("pristine"),fP._32(n,52)._shouldForward("dirty"),fP._32(n,52)._shouldForward("valid"),fP._32(n,52)._shouldForward("invalid"),fP._32(n,52)._shouldForward("pending")]);l(n,61,1,[fP._32(n,65).ngClassUntouched,fP._32(n,65).ngClassTouched,fP._32(n,65).ngClassPristine,fP._32(n,65).ngClassDirty,fP._32(n,65).ngClassValid,fP._32(n,65).ngClassInvalid,fP._32(n,65).ngClassPending,fP._32(n,66).id,fP._32(n,66).tabIndex,fP._32(n,66)._ariaLabel,fP._32(n,66).ariaLabelledby,fP._32(n,66).required.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).errorState,fP._32(n,66).panelOpen?fP._32(n,66)._optionIds:null,fP._32(n,66).multiple,fP._32(n,66)._ariaDescribedby||null,fP._32(n,66)._getAriaActiveDescendant(),fP._32(n,66).disabled,fP._32(n,66).errorState,fP._32(n,66).required]);l(n,77,1,[fP._32(n,78)._control.errorState,fP._32(n,78)._control.errorState,fP._32(n,78)._canLabelFloat,fP._32(n,78)._shouldLabelFloat(),fP._32(n,78)._hideControlPlaceholder(),fP._32(n,78)._control.disabled,fP._32(n,78)._control.focused,"primary"==fP._32(n,78).color,"accent"==fP._32(n,78).color,"warn"==fP._32(n,78).color,fP._32(n,78)._shouldForward("untouched"),fP._32(n,78)._shouldForward("touched"),fP._32(n,78)._shouldForward("pristine"),fP._32(n,78)._shouldForward("dirty"),fP._32(n,78)._shouldForward("valid"),fP._32(n,78)._shouldForward("invalid"),fP._32(n,78)._shouldForward("pending")]);l(n,87,1,[fP._32(n,88).required?"":null,fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,111,1,[fP._32(n,112)._control.errorState,fP._32(n,112)._control.errorState,fP._32(n,112)._canLabelFloat,fP._32(n,112)._shouldLabelFloat(),fP._32(n,112)._hideControlPlaceholder(),fP._32(n,112)._control.disabled,fP._32(n,112)._control.focused,"primary"==fP._32(n,112).color,"accent"==fP._32(n,112).color,"warn"==fP._32(n,112).color,fP._32(n,112)._shouldForward("untouched"),fP._32(n,112)._shouldForward("touched"),fP._32(n,112)._shouldForward("pristine"),fP._32(n,112)._shouldForward("dirty"),fP._32(n,112)._shouldForward("valid"),fP._32(n,112)._shouldForward("invalid"),fP._32(n,112)._shouldForward("pending")]);l(n,121,1,[fP._32(n,124).required?"":null,fP._32(n,129).ngClassUntouched,fP._32(n,129).ngClassTouched,fP._32(n,129).ngClassPristine,fP._32(n,129).ngClassDirty,fP._32(n,129).ngClassValid,fP._32(n,129).ngClassInvalid,fP._32(n,129).ngClassPending,fP._32(n,130)._isServer,fP._32(n,130).id,fP._32(n,130).placeholder,fP._32(n,130).disabled,fP._32(n,130).required,fP._32(n,130).readonly,fP._32(n,130)._ariaDescribedby||null,fP._32(n,130).errorState,fP._32(n,130).required.toString()])})}function qs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,258,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,206,"mat-card",[["class","mat-card"],["style","padding: 12px;"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(9,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount Applied for ? "],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,1)&&u}if("blur"===n){u=!1!==t.loanCalc()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(21,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(22,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[4,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Zd)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(35,0,null,0,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(36,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(46,16384,[[13,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Loan Tenure applied for?"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_tenure"],["matInput",""],["placeholder","No of Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,50)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,51).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,51).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,56)._onInput()&&u}return u},null,null)),fP._17(50,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(51,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(53,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(55,16384,null,0,EP.s,[EP.r],null,null),fP._17(56,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[11,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(60,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(61,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,18,{_control:0}),fP._38(335544320,19,{_placeholderChild:0}),fP._38(335544320,20,{_labelChild:0}),fP._38(603979776,21,{_errorChildren:1}),fP._38(603979776,22,{_hintChildren:1}),fP._38(603979776,23,{_prefixChildren:1}),fP._38(603979776,24,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(70,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","sub_product"],["placeholder","Sub Product"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,74)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,74)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,74)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.onChangeSubProduct(e.value)&&u}return u},tN.b,tN.a)),fP._17(71,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(73,16384,null,0,EP.s,[EP.r],null,null),fP._17(74,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,25,{options:1}),fP._38(603979776,26,{optionGroups:1}),fP._38(335544320,27,{customTrigger:0}),fP._37(2048,[[18,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(81,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,82)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,82)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(82,8437760,[[25,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ls)),fP._17(86,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(90,0,null,0,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(91,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","end_use"],["multiple",""],["placeholder","What is the end use"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,107)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,107)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,107)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.endUserChange(e.value)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(102,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(104,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(106,16384,null,0,EP.s,[EP.r],null,null),fP._17(107,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},{selectionChange:"selectionChange"}),fP._38(603979776,35,{options:1}),fP._38(603979776,36,{optionGroups:1}),fP._38(335544320,37,{customTrigger:0}),fP._37(2048,[[28,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._13(16777216,null,1,1,null,ns)),fP._17(114,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,es)),fP._17(120,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,us)),fP._17(123,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,as)),fP._17(126,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(128,0,null,0,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(129,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,62,{_control:0}),fP._38(335544320,63,{_placeholderChild:0}),fP._38(335544320,64,{_labelChild:0}),fP._38(603979776,65,{_errorChildren:1}),fP._38(603979776,66,{_hintChildren:1}),fP._38(603979776,67,{_prefixChildren:1}),fP._38(603979776,68,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(138,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","is_transfer"],["placeholder","Is there a balance transfer ? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,144)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,144)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,144)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedBalancesTransferChanges(e.value)&&u}return u},tN.b,tN.a)),fP._17(139,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(141,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(143,16384,null,0,EP.s,[EP.r],null,null),fP._17(144,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,69,{options:1}),fP._38(603979776,70,{optionGroups:1}),fP._38(335544320,71,{customTrigger:0}),fP._37(2048,[[62,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(151,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,152)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,152)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(152,8437760,[[69,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(155,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,156)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,156)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(156,8437760,[[69,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(159,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,160)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,160)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(160,8437760,[[69,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,os)),fP._17(166,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,_s)),fP._17(170,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,ds)),fP._17(173,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,cs)),fP._17(176,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,ps)),fP._17(179,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,fs)),fP._17(182,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,vs)),fP._17(185,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(187,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(188,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,145,{_control:0}),fP._38(335544320,146,{_placeholderChild:0}),fP._38(335544320,147,{_labelChild:0}),fP._38(603979776,148,{_errorChildren:1}),fP._38(603979776,149,{_hintChildren:1}),fP._38(603979776,150,{_prefixChildren:1}),fP._38(603979776,151,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(197,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi_level"],["matInput",""],["placeholder","EMI Amount Comfortable Paying"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,198)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,198).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,198)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,198)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,199).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,199).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,199).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,206)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,206)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,206)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,6)&&u}return u},null,null)),fP._17(198,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(199,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(200,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(203,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(205,16384,null,0,EP.s,[EP.r],null,null),fP._17(206,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[145,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ys)),fP._17(210,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Is)),fP._17(215,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(217,0,null,null,34,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(218,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(220,0,null,0,30,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(222,0,null,null,27,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(224,0,null,null,24,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(225,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,196,{_control:0}),fP._38(335544320,197,{_placeholderChild:0}),fP._38(335544320,198,{_labelChild:0}),fP._38(603979776,199,{_errorChildren:1}),fP._38(603979776,200,{_hintChildren:1}),fP._38(603979776,201,{_prefixChildren:1}),fP._38(603979776,202,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(234,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(235,16384,[[198,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(238,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loandetails_remarks"],["matInput",""],["placeholder","Remarks"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,239)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,239).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,239)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,239)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,246)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,246)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,246)._onInput()&&u}return u},null,null)),fP._17(239,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(240,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(243,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(245,16384,null,0,EP.s,[EP.r],null,null),fP._17(246,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[196,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(253,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(254,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.loanDetailsForm);l(n,22,0,"");l(n,25,0,"loan_amount");l(n,28,0,"Loan Amount Applied for ? ","","number");l(n,32,0,""!=e.loanDetailsForm.controls.loan_amount.value&&""!=e.loanAmtInWords);l(n,53,0,"loan_tenure");l(n,56,0,"No of Months","number");l(n,71,0,"sub_product");l(n,74,0,"Sub Product");l(n,86,0,e.m_endUseofLoad);l(n,102,0,"");l(n,104,0,"end_use");l(n,107,0,"What is the end use","","");l(n,114,0,e.m_endUseForLoan);l(n,120,0,e.isOtherPurpose);l(n,123,0,"CLIX"==e.lender_short_name);l(n,126,0,"yes disclose"==e.loanDetailsForm.controls.is_there_total_fund.value);l(n,139,0,"");l(n,141,0,"is_transfer");l(n,144,0,"Is there a balance transfer ? ","");l(n,156,0,"yes");l(n,160,0,"no");l(n,166,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,170,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,173,0,3==e.loanDetailsForm.controls.lender.value);l(n,176,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,179,0,e.loanDetailsForm.controls.topup_amount.value>0&&"CLIX"!=e.lender_short_name);l(n,182,0,1==e.loanDetailsForm.controls.end_use_topup.value);l(n,185,0,"yes"!=e.loanDetailsForm.controls.is_transfer.value&&""!=e.loanDetailsForm.controls.is_transfer.value&&!e.isContribution);l(n,200,0,"");l(n,203,0,"emi_level");l(n,206,0,"EMI Amount Comfortable Paying","","number");l(n,210,0,""!=e.loanDetailsForm.controls.emi_level.value);l(n,215,0,e.mortageCardAccess);l(n,240,0,"");l(n,243,0,"loandetails_remarks");l(n,246,0,"Remarks","")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).required?"":null,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,35,1,[fP._32(n,36)._control.errorState,fP._32(n,36)._control.errorState,fP._32(n,36)._canLabelFloat,fP._32(n,36)._shouldLabelFloat(),fP._32(n,36)._hideControlPlaceholder(),fP._32(n,36)._control.disabled,fP._32(n,36)._control.focused,"primary"==fP._32(n,36).color,"accent"==fP._32(n,36).color,"warn"==fP._32(n,36).color,fP._32(n,36)._shouldForward("untouched"),fP._32(n,36)._shouldForward("touched"),fP._32(n,36)._shouldForward("pristine"),fP._32(n,36)._shouldForward("dirty"),fP._32(n,36)._shouldForward("valid"),fP._32(n,36)._shouldForward("invalid"),fP._32(n,36)._shouldForward("pending")]);l(n,49,1,[fP._32(n,55).ngClassUntouched,fP._32(n,55).ngClassTouched,fP._32(n,55).ngClassPristine,fP._32(n,55).ngClassDirty,fP._32(n,55).ngClassValid,fP._32(n,55).ngClassInvalid,fP._32(n,55).ngClassPending,fP._32(n,56)._isServer,fP._32(n,56).id,fP._32(n,56).placeholder,fP._32(n,56).disabled,fP._32(n,56).required,fP._32(n,56).readonly,fP._32(n,56)._ariaDescribedby||null,fP._32(n,56).errorState,fP._32(n,56).required.toString()]);l(n,60,1,[fP._32(n,61)._control.errorState,fP._32(n,61)._control.errorState,fP._32(n,61)._canLabelFloat,fP._32(n,61)._shouldLabelFloat(),fP._32(n,61)._hideControlPlaceholder(),fP._32(n,61)._control.disabled,fP._32(n,61)._control.focused,"primary"==fP._32(n,61).color,"accent"==fP._32(n,61).color,"warn"==fP._32(n,61).color,fP._32(n,61)._shouldForward("untouched"),fP._32(n,61)._shouldForward("touched"),fP._32(n,61)._shouldForward("pristine"),fP._32(n,61)._shouldForward("dirty"),fP._32(n,61)._shouldForward("valid"),fP._32(n,61)._shouldForward("invalid"),fP._32(n,61)._shouldForward("pending")]);l(n,70,1,[fP._32(n,73).ngClassUntouched,fP._32(n,73).ngClassTouched,fP._32(n,73).ngClassPristine,fP._32(n,73).ngClassDirty,fP._32(n,73).ngClassValid,fP._32(n,73).ngClassInvalid,fP._32(n,73).ngClassPending,fP._32(n,74).id,fP._32(n,74).tabIndex,fP._32(n,74)._ariaLabel,fP._32(n,74).ariaLabelledby,fP._32(n,74).required.toString(),fP._32(n,74).disabled.toString(),fP._32(n,74).errorState,fP._32(n,74).panelOpen?fP._32(n,74)._optionIds:null,fP._32(n,74).multiple,fP._32(n,74)._ariaDescribedby||null,fP._32(n,74)._getAriaActiveDescendant(),fP._32(n,74).disabled,fP._32(n,74).errorState,fP._32(n,74).required]);l(n,81,0,fP._32(n,82)._getTabIndex(),fP._32(n,82).selected,fP._32(n,82).multiple,fP._32(n,82).active,fP._32(n,82).id,fP._32(n,82).selected.toString(),fP._32(n,82).disabled.toString(),fP._32(n,82).disabled);l(n,90,1,[fP._32(n,91)._control.errorState,fP._32(n,91)._control.errorState,fP._32(n,91)._canLabelFloat,fP._32(n,91)._shouldLabelFloat(),fP._32(n,91)._hideControlPlaceholder(),fP._32(n,91)._control.disabled,fP._32(n,91)._control.focused,"primary"==fP._32(n,91).color,"accent"==fP._32(n,91).color,"warn"==fP._32(n,91).color,fP._32(n,91)._shouldForward("untouched"),fP._32(n,91)._shouldForward("touched"),fP._32(n,91)._shouldForward("pristine"),fP._32(n,91)._shouldForward("dirty"),fP._32(n,91)._shouldForward("valid"),fP._32(n,91)._shouldForward("invalid"),fP._32(n,91)._shouldForward("pending")]);l(n,100,1,[fP._32(n,102).required?"":null,fP._32(n,106).ngClassUntouched,fP._32(n,106).ngClassTouched,fP._32(n,106).ngClassPristine,fP._32(n,106).ngClassDirty,fP._32(n,106).ngClassValid,fP._32(n,106).ngClassInvalid,fP._32(n,106).ngClassPending,fP._32(n,107).id,fP._32(n,107).tabIndex,fP._32(n,107)._ariaLabel,fP._32(n,107).ariaLabelledby,fP._32(n,107).required.toString(),fP._32(n,107).disabled.toString(),fP._32(n,107).errorState,fP._32(n,107).panelOpen?fP._32(n,107)._optionIds:null,fP._32(n,107).multiple,fP._32(n,107)._ariaDescribedby||null,fP._32(n,107)._getAriaActiveDescendant(),fP._32(n,107).disabled,fP._32(n,107).errorState,fP._32(n,107).required]);l(n,128,1,[fP._32(n,129)._control.errorState,fP._32(n,129)._control.errorState,fP._32(n,129)._canLabelFloat,fP._32(n,129)._shouldLabelFloat(),fP._32(n,129)._hideControlPlaceholder(),fP._32(n,129)._control.disabled,fP._32(n,129)._control.focused,"primary"==fP._32(n,129).color,"accent"==fP._32(n,129).color,"warn"==fP._32(n,129).color,fP._32(n,129)._shouldForward("untouched"),fP._32(n,129)._shouldForward("touched"),fP._32(n,129)._shouldForward("pristine"),fP._32(n,129)._shouldForward("dirty"),fP._32(n,129)._shouldForward("valid"),fP._32(n,129)._shouldForward("invalid"),fP._32(n,129)._shouldForward("pending")]);l(n,138,1,[fP._32(n,139).required?"":null,fP._32(n,143).ngClassUntouched,fP._32(n,143).ngClassTouched,fP._32(n,143).ngClassPristine,fP._32(n,143).ngClassDirty,fP._32(n,143).ngClassValid,fP._32(n,143).ngClassInvalid,fP._32(n,143).ngClassPending,fP._32(n,144).id,fP._32(n,144).tabIndex,fP._32(n,144)._ariaLabel,fP._32(n,144).ariaLabelledby,fP._32(n,144).required.toString(),fP._32(n,144).disabled.toString(),fP._32(n,144).errorState,fP._32(n,144).panelOpen?fP._32(n,144)._optionIds:null,fP._32(n,144).multiple,fP._32(n,144)._ariaDescribedby||null,fP._32(n,144)._getAriaActiveDescendant(),fP._32(n,144).disabled,fP._32(n,144).errorState,fP._32(n,144).required]);l(n,151,0,fP._32(n,152)._getTabIndex(),fP._32(n,152).selected,fP._32(n,152).multiple,fP._32(n,152).active,fP._32(n,152).id,fP._32(n,152).selected.toString(),fP._32(n,152).disabled.toString(),fP._32(n,152).disabled);l(n,155,0,fP._32(n,156)._getTabIndex(),fP._32(n,156).selected,fP._32(n,156).multiple,fP._32(n,156).active,fP._32(n,156).id,fP._32(n,156).selected.toString(),fP._32(n,156).disabled.toString(),fP._32(n,156).disabled);l(n,159,0,fP._32(n,160)._getTabIndex(),fP._32(n,160).selected,fP._32(n,160).multiple,fP._32(n,160).active,fP._32(n,160).id,fP._32(n,160).selected.toString(),fP._32(n,160).disabled.toString(),fP._32(n,160).disabled);l(n,187,1,[fP._32(n,188)._control.errorState,fP._32(n,188)._control.errorState,fP._32(n,188)._canLabelFloat,fP._32(n,188)._shouldLabelFloat(),fP._32(n,188)._hideControlPlaceholder(),fP._32(n,188)._control.disabled,fP._32(n,188)._control.focused,"primary"==fP._32(n,188).color,"accent"==fP._32(n,188).color,"warn"==fP._32(n,188).color,fP._32(n,188)._shouldForward("untouched"),fP._32(n,188)._shouldForward("touched"),fP._32(n,188)._shouldForward("pristine"),fP._32(n,188)._shouldForward("dirty"),fP._32(n,188)._shouldForward("valid"),fP._32(n,188)._shouldForward("invalid"),fP._32(n,188)._shouldForward("pending")]);l(n,197,1,[fP._32(n,200).required?"":null,fP._32(n,205).ngClassUntouched,fP._32(n,205).ngClassTouched,fP._32(n,205).ngClassPristine,fP._32(n,205).ngClassDirty,fP._32(n,205).ngClassValid,fP._32(n,205).ngClassInvalid,fP._32(n,205).ngClassPending,fP._32(n,206)._isServer,fP._32(n,206).id,fP._32(n,206).placeholder,fP._32(n,206).disabled,fP._32(n,206).required,fP._32(n,206).readonly,fP._32(n,206)._ariaDescribedby||null,fP._32(n,206).errorState,fP._32(n,206).required.toString()]);l(n,224,1,[fP._32(n,225)._control.errorState,fP._32(n,225)._control.errorState,fP._32(n,225)._canLabelFloat,fP._32(n,225)._shouldLabelFloat(),fP._32(n,225)._hideControlPlaceholder(),fP._32(n,225)._control.disabled,fP._32(n,225)._control.focused,"primary"==fP._32(n,225).color,"accent"==fP._32(n,225).color,"warn"==fP._32(n,225).color,fP._32(n,225)._shouldForward("untouched"),fP._32(n,225)._shouldForward("touched"),fP._32(n,225)._shouldForward("pristine"),fP._32(n,225)._shouldForward("dirty"),fP._32(n,225)._shouldForward("valid"),fP._32(n,225)._shouldForward("invalid"),fP._32(n,225)._shouldForward("pending")]);l(n,238,1,[fP._32(n,240).required?"":null,fP._32(n,245).ngClassUntouched,fP._32(n,245).ngClassTouched,fP._32(n,245).ngClassPristine,fP._32(n,245).ngClassDirty,fP._32(n,245).ngClassValid,fP._32(n,245).ngClassInvalid,fP._32(n,245).ngClassPending,fP._32(n,246)._isServer,fP._32(n,246).id,fP._32(n,246).placeholder,fP._32(n,246).disabled,fP._32(n,246).required,fP._32(n,246).readonly,fP._32(n,246)._ariaDescribedby||null,fP._32(n,246).errorState,fP._32(n,246).required.toString()])})}function Ps(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,jd)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(19,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(26,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(27,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,$d)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(36,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,43).onClick()&&u}return u},dV.b,dV.a)),fP._17(43,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47).onClick()&&u}return u},dV.b,dV.a)),fP._17(47,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(52,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(53,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(56,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xd)),fP._17(59,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,qs)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,27,0,"md-camera");l(n,31,0,!e.complete_status);l(n,36,0,e.tab);l(n,39,0,"optblue");l(n,43,0,"0");l(n,47,0,"1");l(n,56,0,e.tab);l(n,59,0,"1");l(n,62,0,"0")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,26,0,fP._32(n,27)._hidden);l(n,35,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39)._disabled);l(n,42,0,fP._32(n,43)._disabled,fP._32(n,43).isActive,fP._32(n,43).isActive);l(n,46,0,fP._32(n,47)._disabled,fP._32(n,47).isActive,fP._32(n,47).isActive);l(n,52,0,fP._32(n,53).statusbarPadding,fP._32(n,53)._hasRefresher)})}function Ds(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Ts(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Os(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ls(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function As(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Vs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Os)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ls)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,As)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Ns(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vs)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Ws(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Es(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function js(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ws)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Es)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function $s(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,js)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Bs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Rs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ts)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ns)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,$s)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Bs)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Us(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,3,2,"mat-label",[["style","font-size: 16px"]],null,null,null,null,null)),fP._17(13,16384,[[15,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Enter year from Which Financials Provided"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,10,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","financial_starting_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}if("change"===n){u=!1!==t.dynamicalFinYear(e)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(19,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,5,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(29,16384,[[16,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,[" Invalid year format"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(33,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(34,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,20,{_control:0}),fP._38(335544320,21,{_placeholderChild:0}),fP._38(335544320,22,{_labelChild:0}),fP._38(603979776,23,{_errorChildren:1}),fP._38(603979776,24,{_hintChildren:1}),fP._38(603979776,25,{_prefixChildren:1}),fP._38(603979776,26,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_no_of_year"],["matInput",""],["placeholder","Number of Financial Years"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,44)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,45).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,45).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,45).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,50)._onInput()&&u}if("change"===n){u=!1!==t.dynamicalFinYear(e)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(44,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(45,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(47,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(49,16384,null,0,EP.s,[EP.r],null,null),fP._17(50,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[20,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,18,0,"4");l(n,19,0,"4");l(n,22,0,"financial_starting_year");l(n,25,0,"YYYY eg.2018","tel");l(n,47,0,"financial_no_of_year");l(n,50,0,"Number of Financial Years","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,16,1,[fP._32(n,18).minlength?fP._32(n,18).minlength:null,fP._32(n,19).maxlength?fP._32(n,19).maxlength:null,fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()]);l(n,28,0,fP._32(n,29).id);l(n,33,1,[fP._32(n,34)._control.errorState,fP._32(n,34)._control.errorState,fP._32(n,34)._canLabelFloat,fP._32(n,34)._shouldLabelFloat(),fP._32(n,34)._hideControlPlaceholder(),fP._32(n,34)._control.disabled,fP._32(n,34)._control.focused,"primary"==fP._32(n,34).color,"accent"==fP._32(n,34).color,"warn"==fP._32(n,34).color,fP._32(n,34)._shouldForward("untouched"),fP._32(n,34)._shouldForward("touched"),fP._32(n,34)._shouldForward("pristine"),fP._32(n,34)._shouldForward("dirty"),fP._32(n,34)._shouldForward("valid"),fP._32(n,34)._shouldForward("invalid"),fP._32(n,34)._shouldForward("pending")]);l(n,43,1,[fP._32(n,49).ngClassUntouched,fP._32(n,49).ngClassTouched,fP._32(n,49).ngClassPristine,fP._32(n,49).ngClassDirty,fP._32(n,49).ngClassValid,fP._32(n,49).ngClassInvalid,fP._32(n,49).ngClassPending,fP._32(n,50)._isServer,fP._32(n,50).id,fP._32(n,50).placeholder,fP._32(n,50).disabled,fP._32(n,50).required,fP._32(n,50).readonly,fP._32(n,50)._ariaDescribedby||null,fP._32(n,50).errorState,fP._32(n,50).required.toString()])})}function Ms(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[31,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.FY_annualSalesInwords[n.parent.context.index])})}function Ks(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n No difference in Sales in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Sales in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function Hs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n Increase in Sales in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Sales in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(9,null,[" "," % "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_annualsales_variation").value)})}function Gs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n Decrease in Sales in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Sales in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[""," "])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(9,null,[" "," % "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_annualsales_variation").value.replace("-",""))})}function zs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"p",[["class","info"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ks)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Hs)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gs)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,0==n.parent.parent.context.$implicit.get("financial_annualsales_variation").value);l(n,6,0,n.parent.parent.context.$implicit.get("financial_annualsales_variation").value>0);l(n,9,0,n.parent.parent.context.$implicit.get("financial_annualsales_variation").value<0)},null)}function Ys(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,26,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(4,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,34,{_control:0}),fP._38(335544320,35,{_placeholderChild:0}),fP._38(335544320,36,{_labelChild:0}),fP._38(603979776,37,{_errorChildren:1}),fP._38(603979776,38,{_hintChildren:1}),fP._38(603979776,39,{_prefixChildren:1}),fP._38(603979776,40,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(13,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annualsales_variation"],["matInput",""],["placeholder","Sale Variation from Previous Year in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,20)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(14,278528,null,0,mD.i,[fP.B,fP.C,fP.p,fP.P],{ngClass:[0,"ngClass"]},null),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[34,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zs)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,14,0,n.parent.context.$implicit.get("financial_annualsales_variation").value>0?"greenhighlight":"highlight");l(n,17,0,"financial_annualsales_variation");l(n,20,0,"Sale Variation from Previous Year in %","");l(n,25,0,""!=n.parent.context.$implicit.get("financial_annualsales_variation").value)},function(l,n){l(n,3,1,[fP._32(n,4)._control.errorState,fP._32(n,4)._control.errorState,fP._32(n,4)._canLabelFloat,fP._32(n,4)._shouldLabelFloat(),fP._32(n,4)._hideControlPlaceholder(),fP._32(n,4)._control.disabled,fP._32(n,4)._control.focused,"primary"==fP._32(n,4).color,"accent"==fP._32(n,4).color,"warn"==fP._32(n,4).color,fP._32(n,4)._shouldForward("untouched"),fP._32(n,4)._shouldForward("touched"),fP._32(n,4)._shouldForward("pristine"),fP._32(n,4)._shouldForward("dirty"),fP._32(n,4)._shouldForward("valid"),fP._32(n,4)._shouldForward("invalid"),fP._32(n,4)._shouldForward("pending")]);l(n,13,1,[fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20)._isServer,fP._32(n,20).id,fP._32(n,20).placeholder,fP._32(n,20).disabled,fP._32(n,20).required,fP._32(n,20).readonly,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20).errorState,fP._32(n,20).required.toString()])})}function Qs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[55,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.FY_netProfitAmtInwords[n.parent.parent.context.index])})}function Js(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,51,{_control:0}),fP._38(335544320,52,{_placeholderChild:0}),fP._38(335544320,53,{_labelChild:0}),fP._38(603979776,54,{_errorChildren:1}),fP._38(603979776,55,{_hintChildren:1}),fP._38(603979776,56,{_prefixChildren:1}),fP._38(603979776,57,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_profit"],["matInput",""],["placeholder","Net Profit Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,2)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[51,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Qs)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,58,{_control:0}),fP._38(335544320,59,{_placeholderChild:0}),fP._38(335544320,60,{_labelChild:0}),fP._38(603979776,61,{_errorChildren:1}),fP._38(603979776,62,{_hintChildren:1}),fP._38(603979776,63,{_prefixChildren:1}),fP._38(603979776,64,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_margin_of_profit"],["matInput",""],["placeholder","Net Profit to Sales in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,42)._onInput()&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[58,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_net_profit");l(n,19,0,"Net Profit Amount","number");l(n,23,0,""!=n.parent.context.$implicit.get("financial_net_profit").value);l(n,39,0,"financial_margin_of_profit");l(n,42,0,"Net Profit to Sales in %","")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._isServer,fP._32(n,42).id,fP._32(n,42).placeholder,fP._32(n,42).disabled,fP._32(n,42).required,fP._32(n,42).readonly,fP._32(n,42)._ariaDescribedby||null,fP._32(n,42).errorState,fP._32(n,42).required.toString()])})}function Xs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[69,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["",""," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.FY_netLossAmtInwords[n.parent.parent.context.index])})}function Zs(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,65,{_control:0}),fP._38(335544320,66,{_placeholderChild:0}),fP._38(335544320,67,{_labelChild:0}),fP._38(603979776,68,{_errorChildren:1}),fP._38(603979776,69,{_hintChildren:1}),fP._38(603979776,70,{_prefixChildren:1}),fP._38(603979776,71,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_loss"],["matInput",""],["placeholder","Net Loss Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[65,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Xs)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,72,{_control:0}),fP._38(335544320,73,{_placeholderChild:0}),fP._38(335544320,74,{_labelChild:0}),fP._38(603979776,75,{_errorChildren:1}),fP._38(603979776,76,{_hintChildren:1}),fP._38(603979776,77,{_prefixChildren:1}),fP._38(603979776,78,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_margin_of_loss"],["matInput",""],["placeholder","Net Loss to Sale in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,42)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[72,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_net_loss");l(n,19,0,"Net Loss Amount","number");l(n,23,0,""!=n.parent.context.$implicit.get("financial_net_loss").value);l(n,39,0,"financial_margin_of_loss");l(n,42,0,"Net Loss to Sale in %","")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._isServer,fP._32(n,42).id,fP._32(n,42).placeholder,fP._32(n,42).disabled,fP._32(n,42).required,fP._32(n,42).readonly,fP._32(n,42)._ariaDescribedby||null,fP._32(n,42).errorState,fP._32(n,42).required.toString()])})}function lc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n No difference in Profit in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Profit in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function nc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n Increase in Profit in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Profit in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(9,null,[" "," % "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_variation").value)})}function ec(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n Decrease in Profit in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Profit in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(9,null,[" "," % "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_variation").value.replace("-",""))})}function uc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"p",[["class","info"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lc)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nc)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ec)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,0==n.parent.parent.context.$implicit.get("financial_variation").value);l(n,6,0,n.parent.parent.context.$implicit.get("financial_variation").value>0);l(n,9,0,n.parent.parent.context.$implicit.get("financial_variation").value<0)},null)}function tc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n No difference in Profit/Loss to sales % in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Profit/Loss to sales % in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function ac(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n Increase in Profit/Loss to sales % in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Profit/Loss to sales % in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(9,null,[" "," % "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value)})}function ic(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n Decrease in Profit/Loss to sales % in FY "])),(l()(),fP._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,[" over Profit/Loss to sales % in FY "])),(l()(),fP._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(6,null,[" "," "])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(9,null,[" "," % "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value.replace("-",""))})}function oc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"p",[["class","info"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tc)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ac)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ic)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,0==n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value);l(n,6,0,n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value>0);l(n,9,0,n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value<0)},null)}function rc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,50,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,79,{_control:0}),fP._38(335544320,80,{_placeholderChild:0}),fP._38(335544320,81,{_labelChild:0}),fP._38(603979776,82,{_errorChildren:1}),fP._38(603979776,83,{_hintChildren:1}),fP._38(603979776,84,{_prefixChildren:1}),fP._38(603979776,85,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_variation"],["matInput",""],["placeholder","Profit Variation from Previous Year in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,14)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,14)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,14)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(13,278528,null,0,mD.i,[fP.B,fP.C,fP.p,fP.P],{ngClass:[0,"ngClass"]},null),fP._17(14,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[79,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,uc)),fP._17(24,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,86,{_control:0}),fP._38(335544320,87,{_placeholderChild:0}),fP._38(335544320,88,{_labelChild:0}),fP._38(603979776,89,{_errorChildren:1}),fP._38(603979776,90,{_hintChildren:1}),fP._38(603979776,91,{_prefixChildren:1}),fP._38(603979776,92,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_profit_to_sale_variation"],["matInput",""],["placeholder","Variation of Profit/Loss to Sales % from Previous Year"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(38,278528,null,0,mD.i,[fP.B,fP.C,fP.p,fP.P],{ngClass:[0,"ngClass"]},null),fP._17(39,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[86,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,oc)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,13,0,n.parent.context.$implicit.get("financial_variation").value>0?"greenhighlight":"highlight");l(n,16,0,"financial_variation");l(n,19,0,"Profit Variation from Previous Year in %","");l(n,24,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_variation").value);l(n,38,0,n.parent.context.$implicit.get("financial_profit_to_sale_variation").value>0?"greenhighlight":"highlight");l(n,41,0,"financial_profit_to_sale_variation");l(n,44,0,"Variation of Profit/Loss to Sales % from Previous Year","");l(n,49,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_profit_to_sale_variation").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function _c(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,84,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,78,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,2,"mat-label",[["style","color:blue"]],null,null,null,null,null)),fP._17(9,16384,null,0,EA.f,[],null,null),(l()(),fP._40(10,null,["Financial Year : ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._18(13,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(14,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,27,{_control:0}),fP._38(335544320,28,{_placeholderChild:0}),fP._38(335544320,29,{_labelChild:0}),fP._38(603979776,30,{_errorChildren:1}),fP._38(603979776,31,{_hintChildren:1}),fP._38(603979776,32,{_prefixChildren:1}),fP._38(603979776,33,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annual_sale"],["matInput",""],["placeholder","Annual Sale"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,24)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,24).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,24)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,24)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,25).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,25).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,30)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,1)&&u}return u},null,null)),fP._17(24,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(25,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(27,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(29,16384,null,0,EP.s,[EP.r],null,null),fP._17(30,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[27,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Ms)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ys)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(41,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,41,{_control:0}),fP._38(335544320,42,{_placeholderChild:0}),fP._38(335544320,43,{_labelChild:0}),fP._38(603979776,44,{_errorChildren:1}),fP._38(603979776,45,{_hintChildren:1}),fP._38(603979776,46,{_prefixChildren:1}),fP._38(603979776,47,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","finanical_profit_or_loss"],["placeholder","Is there Net Profit or Net Loss?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,54)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedProfitOrLossType(e,l.context.$implicit)&&u}return u},tN.b,tN.a)),fP._17(51,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(53,16384,null,0,EP.s,[EP.r],null,null),fP._17(54,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,48,{options:1}),fP._38(603979776,49,{optionGroups:1}),fP._38(335544320,50,{customTrigger:0}),fP._37(2048,[[41,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[48,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[48,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Net Profit"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,70)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(70,8437760,[[48,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Net Loss"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Js)),fP._17(76,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zs)),fP._17(79,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rc)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"financial_annual_sale");l(n,30,0,"Annual Sale","number");l(n,34,0,""!=n.context.$implicit.get("financial_annual_sale").value);l(n,38,0,n.context.index>0);l(n,51,0,"finanical_profit_or_loss");l(n,54,0,"Is there Net Profit or Net Loss?");l(n,66,0,"1");l(n,70,0,"2");l(n,76,0,1==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,79,0,2==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,82,0,n.context.index>0)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,10,0,n.context.$implicit.get("financial_year").value);l(n,13,1,[fP._32(n,14)._control.errorState,fP._32(n,14)._control.errorState,fP._32(n,14)._canLabelFloat,fP._32(n,14)._shouldLabelFloat(),fP._32(n,14)._hideControlPlaceholder(),fP._32(n,14)._control.disabled,fP._32(n,14)._control.focused,"primary"==fP._32(n,14).color,"accent"==fP._32(n,14).color,"warn"==fP._32(n,14).color,fP._32(n,14)._shouldForward("untouched"),fP._32(n,14)._shouldForward("touched"),fP._32(n,14)._shouldForward("pristine"),fP._32(n,14)._shouldForward("dirty"),fP._32(n,14)._shouldForward("valid"),fP._32(n,14)._shouldForward("invalid"),fP._32(n,14)._shouldForward("pending")]);l(n,23,1,[fP._32(n,29).ngClassUntouched,fP._32(n,29).ngClassTouched,fP._32(n,29).ngClassPristine,fP._32(n,29).ngClassDirty,fP._32(n,29).ngClassValid,fP._32(n,29).ngClassInvalid,fP._32(n,29).ngClassPending,fP._32(n,30)._isServer,fP._32(n,30).id,fP._32(n,30).placeholder,fP._32(n,30).disabled,fP._32(n,30).required,fP._32(n,30).readonly,fP._32(n,30)._ariaDescribedby||null,fP._32(n,30).errorState,fP._32(n,30).required.toString()]);l(n,40,1,[fP._32(n,41)._control.errorState,fP._32(n,41)._control.errorState,fP._32(n,41)._canLabelFloat,fP._32(n,41)._shouldLabelFloat(),fP._32(n,41)._hideControlPlaceholder(),fP._32(n,41)._control.disabled,fP._32(n,41)._control.focused,"primary"==fP._32(n,41).color,"accent"==fP._32(n,41).color,"warn"==fP._32(n,41).color,fP._32(n,41)._shouldForward("untouched"),fP._32(n,41)._shouldForward("touched"),fP._32(n,41)._shouldForward("pristine"),fP._32(n,41)._shouldForward("dirty"),fP._32(n,41)._shouldForward("valid"),fP._32(n,41)._shouldForward("invalid"),fP._32(n,41)._shouldForward("pending")]);l(n,50,1,[fP._32(n,53).ngClassUntouched,fP._32(n,53).ngClassTouched,fP._32(n,53).ngClassPristine,fP._32(n,53).ngClassDirty,fP._32(n,53).ngClassValid,fP._32(n,53).ngClassInvalid,fP._32(n,53).ngClassPending,fP._32(n,54).id,fP._32(n,54).tabIndex,fP._32(n,54)._ariaLabel,fP._32(n,54).ariaLabelledby,fP._32(n,54).required.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).errorState,fP._32(n,54).panelOpen?fP._32(n,54)._optionIds:null,fP._32(n,54).multiple,fP._32(n,54)._ariaDescribedby||null,fP._32(n,54)._getAriaActiveDescendant(),fP._32(n,54).disabled,fP._32(n,54).errorState,fP._32(n,54).required]);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,69,0,fP._32(n,70)._getTabIndex(),fP._32(n,70).selected,fP._32(n,70).multiple,fP._32(n,70).active,fP._32(n,70).id,fP._32(n,70).selected.toString(),fP._32(n,70).disabled.toString(),fP._32(n,70).disabled)})}function dc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","date_per_financial"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,_c)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"date_per_financial");l(n,6,0,e.financialForm.controls.date_per_financial.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function sc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,93,{_control:0}),fP._38(335544320,94,{_placeholderChild:0}),fP._38(335544320,95,{_labelChild:0}),fP._38(603979776,96,{_errorChildren:1}),fP._38(603979776,97,{_hintChildren:1}),fP._38(603979776,98,{_prefixChildren:1}),fP._38(603979776,99,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_reason"],["matInput",""],["placeholder","Comments on Financials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[93,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"financial_reason");l(n,16,0,"Comments on Financials")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function cc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sc)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!=e.financial_no_of_year&&e.customerCommentsFlag)},null)}function mc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[114,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesFrmInwords[n.parent.context.index])})}function pc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[121,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesToInwords[n.parent.context.index])})}function fc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[128,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesInwords[n.parent.context.index])})}function hc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[176,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[" "," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginProfitAmtInwords[n.parent.parent.context.index])})}function gc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,88,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,151,{_control:0}),fP._38(335544320,152,{_placeholderChild:0}),fP._38(335544320,153,{_labelChild:0}),fP._38(603979776,154,{_errorChildren:1}),fP._38(603979776,155,{_hintChildren:1}),fP._38(603979776,156,{_prefixChildren:1}),fP._38(603979776,157,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_range_from"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Profit % From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[151,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,158,{_control:0}),fP._38(335544320,159,{_placeholderChild:0}),fP._38(335544320,160,{_labelChild:0}),fP._38(603979776,161,{_errorChildren:1}),fP._38(603979776,162,{_hintChildren:1}),fP._38(603979776,163,{_prefixChildren:1}),fP._38(603979776,164,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_range_to"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Profit % To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,40)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),fP._17(34,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(35,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[158,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(45,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,165,{_control:0}),fP._38(335544320,166,{_placeholderChild:0}),fP._38(335544320,167,{_labelChild:0}),fP._38(603979776,168,{_errorChildren:1}),fP._38(603979776,169,{_hintChildren:1}),fP._38(603979776,170,{_prefixChildren:1}),fP._38(603979776,171,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_margin_percent"],["matInput",""],["placeholder","Net Profit % Considered"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,61)._onInput()&&u}return u},null,null)),fP._17(55,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(56,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(58,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(60,16384,null,0,EP.s,[EP.r],null,null),fP._17(61,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[165,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(66,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(67,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,172,{_control:0}),fP._38(335544320,173,{_placeholderChild:0}),fP._38(335544320,174,{_labelChild:0}),fP._38(603979776,175,{_errorChildren:1}),fP._38(603979776,176,{_hintChildren:1}),fP._38(603979776,177,{_prefixChildren:1}),fP._38(603979776,178,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_margin"],["matInput",""],["placeholder","Net Profit Amount Considered"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,77)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,77).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,77)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,77)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,82)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,82)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,82)._onInput()&&u}return u},null,null)),fP._17(77,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(79,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(81,16384,null,0,EP.s,[EP.r],null,null),fP._17(82,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[172,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,hc)),fP._17(86,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_profit_range_from");l(n,19,0,"Net Profit % From","number");l(n,37,0,"estimate_profit_range_to");l(n,40,0,"Net Profit % To","number");l(n,58,0,"estimate_profit_margin_percent");l(n,61,0,"Net Profit % Considered","number","");l(n,79,0,"estimate_profit_margin");l(n,82,0,"Net Profit Amount Considered","");l(n,86,0,""!=n.parent.context.$implicit.get("estimate_profit_margin").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._isServer,fP._32(n,40).id,fP._32(n,40).placeholder,fP._32(n,40).disabled,fP._32(n,40).required,fP._32(n,40).readonly,fP._32(n,40)._ariaDescribedby||null,fP._32(n,40).errorState,fP._32(n,40).required.toString()]);l(n,44,1,[fP._32(n,45)._control.errorState,fP._32(n,45)._control.errorState,fP._32(n,45)._canLabelFloat,fP._32(n,45)._shouldLabelFloat(),fP._32(n,45)._hideControlPlaceholder(),fP._32(n,45)._control.disabled,fP._32(n,45)._control.focused,"primary"==fP._32(n,45).color,"accent"==fP._32(n,45).color,"warn"==fP._32(n,45).color,fP._32(n,45)._shouldForward("untouched"),fP._32(n,45)._shouldForward("touched"),fP._32(n,45)._shouldForward("pristine"),fP._32(n,45)._shouldForward("dirty"),fP._32(n,45)._shouldForward("valid"),fP._32(n,45)._shouldForward("invalid"),fP._32(n,45)._shouldForward("pending")]);l(n,54,1,[fP._32(n,60).ngClassUntouched,fP._32(n,60).ngClassTouched,fP._32(n,60).ngClassPristine,fP._32(n,60).ngClassDirty,fP._32(n,60).ngClassValid,fP._32(n,60).ngClassInvalid,fP._32(n,60).ngClassPending,fP._32(n,61)._isServer,fP._32(n,61).id,fP._32(n,61).placeholder,fP._32(n,61).disabled,fP._32(n,61).required,fP._32(n,61).readonly,fP._32(n,61)._ariaDescribedby||null,fP._32(n,61).errorState,fP._32(n,61).required.toString()]);l(n,66,1,[fP._32(n,67)._control.errorState,fP._32(n,67)._control.errorState,fP._32(n,67)._canLabelFloat,fP._32(n,67)._shouldLabelFloat(),fP._32(n,67)._hideControlPlaceholder(),fP._32(n,67)._control.disabled,fP._32(n,67)._control.focused,"primary"==fP._32(n,67).color,"accent"==fP._32(n,67).color,"warn"==fP._32(n,67).color,fP._32(n,67)._shouldForward("untouched"),fP._32(n,67)._shouldForward("touched"),fP._32(n,67)._shouldForward("pristine"),fP._32(n,67)._shouldForward("dirty"),fP._32(n,67)._shouldForward("valid"),fP._32(n,67)._shouldForward("invalid"),fP._32(n,67)._shouldForward("pending")]);l(n,76,1,[fP._32(n,81).ngClassUntouched,fP._32(n,81).ngClassTouched,fP._32(n,81).ngClassPristine,fP._32(n,81).ngClassDirty,fP._32(n,81).ngClassValid,fP._32(n,81).ngClassInvalid,fP._32(n,81).ngClassPending,fP._32(n,82)._isServer,fP._32(n,82).id,fP._32(n,82).placeholder,fP._32(n,82).disabled,fP._32(n,82).required,fP._32(n,82).readonly,fP._32(n,82)._ariaDescribedby||null,fP._32(n,82).errorState,fP._32(n,82).required.toString()])})}function bc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[183,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtFrmInwords[n.parent.parent.context.index])})}function vc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[190,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtToInwords[n.parent.parent.context.index])})}function yc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[204,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtInwords[n.parent.parent.context.index])})}function Cc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[211,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_CCAnnualSalesAmtInwords[n.parent.parent.parent.context.index])})}function wc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,207,{_control:0}),fP._38(335544320,208,{_placeholderChild:0}),fP._38(335544320,209,{_labelChild:0}),fP._38(603979776,210,{_errorChildren:1}),fP._38(603979776,211,{_hintChildren:1}),fP._38(603979776,212,{_prefixChildren:1}),fP._38(603979776,213,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_posmachine_or_cc_annual_sales"],["matInput",""],["placeholder","Annual Sales through Credit Card / POS machines"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.context.index,13)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[207,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Cc)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"estimate_posmachine_or_cc_annual_sales");l(n,17,0,"Annual Sales through Credit Card / POS machines","number");l(n,21,0,""!=n.parent.parent.context.$implicit.get("estimate_posmachine_or_cc_annual_sales").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function Fc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,97,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,179,{_control:0}),fP._38(335544320,180,{_placeholderChild:0}),fP._38(335544320,181,{_labelChild:0}),fP._38(603979776,182,{_errorChildren:1}),fP._38(603979776,183,{_hintChildren:1}),fP._38(603979776,184,{_prefixChildren:1}),fP._38(603979776,185,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_from"],["matInput",""],["placeholder","Net Profit Amount From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,7)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[179,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,bc)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,186,{_control:0}),fP._38(335544320,187,{_placeholderChild:0}),fP._38(335544320,188,{_labelChild:0}),fP._38(603979776,189,{_errorChildren:1}),fP._38(603979776,190,{_hintChildren:1}),fP._38(603979776,191,{_prefixChildren:1}),fP._38(603979776,192,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_to"],["matInput",""],["placeholder","Net Profit Amount To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}if("change"===n){u=!1!==t.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,8)&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(38,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[186,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,vc)),fP._17(47,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(51,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,193,{_control:0}),fP._38(335544320,194,{_placeholderChild:0}),fP._38(335544320,195,{_labelChild:0}),fP._38(603979776,196,{_errorChildren:1}),fP._38(603979776,197,{_hintChildren:1}),fP._38(603979776,198,{_prefixChildren:1}),fP._38(603979776,199,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(60,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_percent"],["matInput",""],["placeholder","Considered Net Profit"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,66)._onInput()&&u}return u},null,null)),fP._17(61,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(63,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(65,16384,null,0,EP.s,[EP.r],null,null),fP._17(66,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[193,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(70,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(71,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,200,{_control:0}),fP._38(335544320,201,{_placeholderChild:0}),fP._38(335544320,202,{_labelChild:0}),fP._38(603979776,203,{_errorChildren:1}),fP._38(603979776,204,{_hintChildren:1}),fP._38(603979776,205,{_prefixChildren:1}),fP._38(603979776,206,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(80,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit"],["matInput",""],["placeholder","Considered Profit Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,87)._onInput()&&u}return u},null,null)),fP._17(81,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(82,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(84,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(86,16384,null,0,EP.s,[EP.r],null,null),fP._17(87,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[200,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,yc)),fP._17(91,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,wc)),fP._17(96,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"estimate_net_profit_from");l(n,19,0,"Net Profit Amount From","number");l(n,23,0,""!=n.parent.context.$implicit.get("estimate_net_profit_from").value);l(n,40,0,"estimate_net_profit_to");l(n,43,0,"Net Profit Amount To","number");l(n,47,0,""!=n.parent.context.$implicit.get("estimate_net_profit_to").value);l(n,63,0,"estimate_net_profit_percent");l(n,66,0,"Considered Net Profit","");l(n,84,0,"estimate_net_profit");l(n,87,0,"Considered Profit Amount","number","");l(n,91,0,""!=n.parent.context.$implicit.get("estimate_net_profit").value);l(n,96,0,"LAEP"==e.product_abbr)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()]);l(n,50,1,[fP._32(n,51)._control.errorState,fP._32(n,51)._control.errorState,fP._32(n,51)._canLabelFloat,fP._32(n,51)._shouldLabelFloat(),fP._32(n,51)._hideControlPlaceholder(),fP._32(n,51)._control.disabled,fP._32(n,51)._control.focused,"primary"==fP._32(n,51).color,"accent"==fP._32(n,51).color,"warn"==fP._32(n,51).color,fP._32(n,51)._shouldForward("untouched"),fP._32(n,51)._shouldForward("touched"),fP._32(n,51)._shouldForward("pristine"),fP._32(n,51)._shouldForward("dirty"),fP._32(n,51)._shouldForward("valid"),fP._32(n,51)._shouldForward("invalid"),fP._32(n,51)._shouldForward("pending")]);l(n,60,1,[fP._32(n,65).ngClassUntouched,fP._32(n,65).ngClassTouched,fP._32(n,65).ngClassPristine,fP._32(n,65).ngClassDirty,fP._32(n,65).ngClassValid,fP._32(n,65).ngClassInvalid,fP._32(n,65).ngClassPending,fP._32(n,66)._isServer,fP._32(n,66).id,fP._32(n,66).placeholder,fP._32(n,66).disabled,fP._32(n,66).required,fP._32(n,66).readonly,fP._32(n,66)._ariaDescribedby||null,fP._32(n,66).errorState,fP._32(n,66).required.toString()]);l(n,70,1,[fP._32(n,71)._control.errorState,fP._32(n,71)._control.errorState,fP._32(n,71)._canLabelFloat,fP._32(n,71)._shouldLabelFloat(),fP._32(n,71)._hideControlPlaceholder(),fP._32(n,71)._control.disabled,fP._32(n,71)._control.focused,"primary"==fP._32(n,71).color,"accent"==fP._32(n,71).color,"warn"==fP._32(n,71).color,fP._32(n,71)._shouldForward("untouched"),fP._32(n,71)._shouldForward("touched"),fP._32(n,71)._shouldForward("pristine"),fP._32(n,71)._shouldForward("dirty"),fP._32(n,71)._shouldForward("valid"),fP._32(n,71)._shouldForward("invalid"),fP._32(n,71)._shouldForward("pending")]);l(n,80,1,[fP._32(n,86).ngClassUntouched,fP._32(n,86).ngClassTouched,fP._32(n,86).ngClassPristine,fP._32(n,86).ngClassDirty,fP._32(n,86).ngClassValid,fP._32(n,86).ngClassInvalid,fP._32(n,86).ngClassPending,fP._32(n,87)._isServer,fP._32(n,87).id,fP._32(n,87).placeholder,fP._32(n,87).disabled,fP._32(n,87).required,fP._32(n,87).readonly,fP._32(n,87)._ariaDescribedby||null,fP._32(n,87).errorState,fP._32(n,87).required.toString()])})}function xc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[239,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginLossAmtInwords[n.parent.parent.context.index])})}function kc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,89,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,214,{_control:0}),fP._38(335544320,215,{_placeholderChild:0}),fP._38(335544320,216,{_labelChild:0}),fP._38(603979776,217,{_errorChildren:1}),fP._38(603979776,218,{_hintChildren:1}),fP._38(603979776,219,{_prefixChildren:1}),fP._38(603979776,220,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_range_from"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Loss % From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[214,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,221,{_control:0}),fP._38(335544320,222,{_placeholderChild:0}),fP._38(335544320,223,{_labelChild:0}),fP._38(603979776,224,{_errorChildren:1}),fP._38(603979776,225,{_hintChildren:1}),fP._38(603979776,226,{_prefixChildren:1}),fP._38(603979776,227,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_range_to"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Loss % To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,40)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),fP._17(34,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(35,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[221,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(44,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(45,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,228,{_control:0}),fP._38(335544320,229,{_placeholderChild:0}),fP._38(335544320,230,{_labelChild:0}),fP._38(603979776,231,{_errorChildren:1}),fP._38(603979776,232,{_hintChildren:1}),fP._38(603979776,233,{_prefixChildren:1}),fP._38(603979776,234,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_margin_percent"],["matInput",""],["placeholder","Net Profit % Considered"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,61)._onInput()&&u}return u},null,null)),fP._17(55,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(56,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(58,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(60,16384,null,0,EP.s,[EP.r],null,null),fP._17(61,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[228,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(68,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,235,{_control:0}),fP._38(335544320,236,{_placeholderChild:0}),fP._38(335544320,237,{_labelChild:0}),fP._38(603979776,238,{_errorChildren:1}),fP._38(603979776,239,{_hintChildren:1}),fP._38(603979776,240,{_prefixChildren:1}),fP._38(603979776,241,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(77,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_margin"],["matInput",""],["placeholder","Net Loss Amount Considered"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,78)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,78).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,78)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,78)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,83)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,83)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,83)._onInput()&&u}return u},null,null)),fP._17(78,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(80,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(82,16384,null,0,EP.s,[EP.r],null,null),fP._17(83,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[235,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,xc)),fP._17(87,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_loss_range_from");l(n,19,0,"Net Loss % From","number");l(n,37,0,"estimate_loss_range_to");l(n,40,0,"Net Loss % To","number");l(n,58,0,"estimate_loss_margin_percent");l(n,61,0,"Net Profit % Considered","number","");l(n,80,0,"estimate_loss_margin");l(n,83,0,"Net Loss Amount Considered","");l(n,87,0,""!=n.parent.context.$implicit.get("estimate_loss_margin").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._isServer,fP._32(n,40).id,fP._32(n,40).placeholder,fP._32(n,40).disabled,fP._32(n,40).required,fP._32(n,40).readonly,fP._32(n,40)._ariaDescribedby||null,fP._32(n,40).errorState,fP._32(n,40).required.toString()]);l(n,44,1,[fP._32(n,45)._control.errorState,fP._32(n,45)._control.errorState,fP._32(n,45)._canLabelFloat,fP._32(n,45)._shouldLabelFloat(),fP._32(n,45)._hideControlPlaceholder(),fP._32(n,45)._control.disabled,fP._32(n,45)._control.focused,"primary"==fP._32(n,45).color,"accent"==fP._32(n,45).color,"warn"==fP._32(n,45).color,fP._32(n,45)._shouldForward("untouched"),fP._32(n,45)._shouldForward("touched"),fP._32(n,45)._shouldForward("pristine"),fP._32(n,45)._shouldForward("dirty"),fP._32(n,45)._shouldForward("valid"),fP._32(n,45)._shouldForward("invalid"),fP._32(n,45)._shouldForward("pending")]);l(n,54,1,[fP._32(n,60).ngClassUntouched,fP._32(n,60).ngClassTouched,fP._32(n,60).ngClassPristine,fP._32(n,60).ngClassDirty,fP._32(n,60).ngClassValid,fP._32(n,60).ngClassInvalid,fP._32(n,60).ngClassPending,fP._32(n,61)._isServer,fP._32(n,61).id,fP._32(n,61).placeholder,fP._32(n,61).disabled,fP._32(n,61).required,fP._32(n,61).readonly,fP._32(n,61)._ariaDescribedby||null,fP._32(n,61).errorState,fP._32(n,61).required.toString()]);l(n,67,1,[fP._32(n,68)._control.errorState,fP._32(n,68)._control.errorState,fP._32(n,68)._canLabelFloat,fP._32(n,68)._shouldLabelFloat(),fP._32(n,68)._hideControlPlaceholder(),fP._32(n,68)._control.disabled,fP._32(n,68)._control.focused,"primary"==fP._32(n,68).color,"accent"==fP._32(n,68).color,"warn"==fP._32(n,68).color,fP._32(n,68)._shouldForward("untouched"),fP._32(n,68)._shouldForward("touched"),fP._32(n,68)._shouldForward("pristine"),fP._32(n,68)._shouldForward("dirty"),fP._32(n,68)._shouldForward("valid"),fP._32(n,68)._shouldForward("invalid"),fP._32(n,68)._shouldForward("pending")]);l(n,77,1,[fP._32(n,82).ngClassUntouched,fP._32(n,82).ngClassTouched,fP._32(n,82).ngClassPristine,fP._32(n,82).ngClassDirty,fP._32(n,82).ngClassValid,fP._32(n,82).ngClassInvalid,fP._32(n,82).ngClassPending,fP._32(n,83)._isServer,fP._32(n,83).id,fP._32(n,83).placeholder,fP._32(n,83).disabled,fP._32(n,83).required,fP._32(n,83).readonly,fP._32(n,83)._ariaDescribedby||null,fP._32(n,83).errorState,fP._32(n,83).required.toString()])})}function Sc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[246,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtFrmInwords[n.parent.parent.context.index])})}function Ic(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[253,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtToInwords[n.parent.parent.context.index])})}function qc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[267,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtInwords[n.parent.parent.context.index])})}function Pc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,242,{_control:0}),fP._38(335544320,243,{_placeholderChild:0}),fP._38(335544320,244,{_labelChild:0}),fP._38(603979776,245,{_errorChildren:1}),fP._38(603979776,246,{_hintChildren:1}),fP._38(603979776,247,{_prefixChildren:1}),fP._38(603979776,248,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_from"],["matInput",""],["placeholder","Net Loss Amount From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,9)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[242,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Sc)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,249,{_control:0}),fP._38(335544320,250,{_placeholderChild:0}),fP._38(335544320,251,{_labelChild:0}),fP._38(603979776,252,{_errorChildren:1}),fP._38(603979776,253,{_hintChildren:1}),fP._38(603979776,254,{_prefixChildren:1}),fP._38(603979776,255,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_to"],["matInput",""],["placeholder","Net Loss Amount To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}if("change"===n){u=!1!==t.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,10)&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(38,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[249,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Ic)),fP._17(47,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(51,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,256,{_control:0}),fP._38(335544320,257,{_placeholderChild:0}),fP._38(335544320,258,{_labelChild:0}),fP._38(603979776,259,{_errorChildren:1}),fP._38(603979776,260,{_hintChildren:1}),fP._38(603979776,261,{_prefixChildren:1}),fP._38(603979776,262,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(60,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_percent"],["matInput",""],["placeholder","Considered Net Loss"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,66)._onInput()&&u}return u},null,null)),fP._17(61,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(63,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(65,16384,null,0,EP.s,[EP.r],null,null),fP._17(66,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[256,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(70,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(71,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,263,{_control:0}),fP._38(335544320,264,{_placeholderChild:0}),fP._38(335544320,265,{_labelChild:0}),fP._38(603979776,266,{_errorChildren:1}),fP._38(603979776,267,{_hintChildren:1}),fP._38(603979776,268,{_prefixChildren:1}),fP._38(603979776,269,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(80,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss"],["matInput",""],["placeholder","Considered Loss Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,87)._onInput()&&u}return u},null,null)),fP._17(81,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(82,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(84,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(86,16384,null,0,EP.s,[EP.r],null,null),fP._17(87,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[263,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,qc)),fP._17(91,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_net_loss_from");l(n,19,0,"Net Loss Amount From","number");l(n,23,0,""!=n.parent.context.$implicit.get("estimate_net_loss_from").value);l(n,40,0,"estimate_net_loss_to");l(n,43,0,"Net Loss Amount To","number");l(n,47,0,""!=n.parent.context.$implicit.get("estimate_net_loss_to").value);l(n,63,0,"estimate_net_loss_percent");l(n,66,0,"Considered Net Loss","");l(n,84,0,"estimate_net_loss");l(n,87,0,"Considered Loss Amount","number","");l(n,91,0,""!=n.parent.context.$implicit.get("estimate_net_loss").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()]);l(n,50,1,[fP._32(n,51)._control.errorState,fP._32(n,51)._control.errorState,fP._32(n,51)._canLabelFloat,fP._32(n,51)._shouldLabelFloat(),fP._32(n,51)._hideControlPlaceholder(),fP._32(n,51)._control.disabled,fP._32(n,51)._control.focused,"primary"==fP._32(n,51).color,"accent"==fP._32(n,51).color,"warn"==fP._32(n,51).color,fP._32(n,51)._shouldForward("untouched"),fP._32(n,51)._shouldForward("touched"),fP._32(n,51)._shouldForward("pristine"),fP._32(n,51)._shouldForward("dirty"),fP._32(n,51)._shouldForward("valid"),fP._32(n,51)._shouldForward("invalid"),fP._32(n,51)._shouldForward("pending")]);l(n,60,1,[fP._32(n,65).ngClassUntouched,fP._32(n,65).ngClassTouched,fP._32(n,65).ngClassPristine,fP._32(n,65).ngClassDirty,fP._32(n,65).ngClassValid,fP._32(n,65).ngClassInvalid,fP._32(n,65).ngClassPending,fP._32(n,66)._isServer,fP._32(n,66).id,fP._32(n,66).placeholder,fP._32(n,66).disabled,fP._32(n,66).required,fP._32(n,66).readonly,fP._32(n,66)._ariaDescribedby||null,fP._32(n,66).errorState,fP._32(n,66).required.toString()]);l(n,70,1,[fP._32(n,71)._control.errorState,fP._32(n,71)._control.errorState,fP._32(n,71)._canLabelFloat,fP._32(n,71)._shouldLabelFloat(),fP._32(n,71)._hideControlPlaceholder(),fP._32(n,71)._control.disabled,fP._32(n,71)._control.focused,"primary"==fP._32(n,71).color,"accent"==fP._32(n,71).color,"warn"==fP._32(n,71).color,fP._32(n,71)._shouldForward("untouched"),fP._32(n,71)._shouldForward("touched"),fP._32(n,71)._shouldForward("pristine"),fP._32(n,71)._shouldForward("dirty"),fP._32(n,71)._shouldForward("valid"),fP._32(n,71)._shouldForward("invalid"),fP._32(n,71)._shouldForward("pending")]);l(n,80,1,[fP._32(n,86).ngClassUntouched,fP._32(n,86).ngClassTouched,fP._32(n,86).ngClassPristine,fP._32(n,86).ngClassDirty,fP._32(n,86).ngClassValid,fP._32(n,86).ngClassInvalid,fP._32(n,86).ngClassPending,fP._32(n,87)._isServer,fP._32(n,87).id,fP._32(n,87).placeholder,fP._32(n,87).disabled,fP._32(n,87).required,fP._32(n,87).readonly,fP._32(n,87)._ariaDescribedby||null,fP._32(n,87).errorState,fP._32(n,87).required.toString()])})}function Dc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,270,{_control:0}),fP._38(335544320,271,{_placeholderChild:0}),fP._38(335544320,272,{_labelChild:0}),fP._38(603979776,273,{_errorChildren:1}),fP._38(603979776,274,{_hintChildren:1}),fP._38(603979776,275,{_prefixChildren:1}),fP._38(603979776,276,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_reason_for_loss"],["matInput",""],["placeholder","What is the reason for the Loss?"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[270,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"estimate_reason_for_loss");l(n,18,0,"What is the reason for the Loss?")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function Tc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,168,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,162,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,110,{_control:0}),fP._38(335544320,111,{_placeholderChild:0}),fP._38(335544320,112,{_labelChild:0}),fP._38(603979776,113,{_errorChildren:1}),fP._38(603979776,114,{_hintChildren:1}),fP._38(603979776,115,{_prefixChildren:1}),fP._38(603979776,116,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_from"],["matInput",""],["placeholder","Annual Sales From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,19)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,20).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,20).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}if("change"===n){t.calculateSalesAverage(l.context.index,l.context.$implicit);u=!1!==t.AllCalculation(l.context.$implicit,l.context.index)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,11)&&u}return u},null,null)),fP._17(19,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(20,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[110,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,mc)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,117,{_control:0}),fP._38(335544320,118,{_placeholderChild:0}),fP._38(335544320,119,{_labelChild:0}),fP._38(603979776,120,{_errorChildren:1}),fP._38(603979776,121,{_hintChildren:1}),fP._38(603979776,122,{_prefixChildren:1}),fP._38(603979776,123,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_to"],["matInput",""],["placeholder","Annual Sales To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,49)._onInput()&&u}if("change"===n){t.confirmAlert(l.context.index,l.context.$implicit);u=!1!==t.AllCalculation(l.context.$implicit,l.context.index)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,12)&&u}return u},null,null)),fP._17(43,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(44,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(46,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(48,16384,null,0,EP.s,[EP.r],null,null),fP._17(49,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[117,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,pc)),fP._17(53,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(56,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(57,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,124,{_control:0}),fP._38(335544320,125,{_placeholderChild:0}),fP._38(335544320,126,{_labelChild:0}),fP._38(603979776,127,{_errorChildren:1}),fP._38(603979776,128,{_hintChildren:1}),fP._38(603979776,129,{_prefixChildren:1}),fP._38(603979776,130,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_average"],["matInput",""],["placeholder","Consider Sales Average"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,67)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,68).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,68).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,68).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,73)._onInput()&&u}return u},null,null)),fP._17(67,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(68,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(70,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(72,16384,null,0,EP.s,[EP.r],null,null),fP._17(73,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[124,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,fc)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(80,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(81,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,131,{_control:0}),fP._38(335544320,132,{_placeholderChild:0}),fP._38(335544320,133,{_labelChild:0}),fP._38(603979776,134,{_errorChildren:1}),fP._38(603979776,135,{_hintChildren:1}),fP._38(603979776,136,{_prefixChildren:1}),fP._38(603979776,137,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","estimate_profit_or_loss"],["placeholder","Was there Net Profit or Net Loss?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,94)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,94)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,94)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,138,{options:1}),fP._38(603979776,139,{optionGroups:1}),fP._38(335544320,140,{customTrigger:0}),fP._37(2048,[[131,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,102)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(102,8437760,[[138,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(105,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,106)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,106)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(106,8437760,[[138,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Net Profit"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(109,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,110)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,110)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(110,8437760,[[138,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Net Loss"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(115,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(116,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,141,{_control:0}),fP._38(335544320,142,{_placeholderChild:0}),fP._38(335544320,143,{_labelChild:0}),fP._38(603979776,144,{_errorChildren:1}),fP._38(603979776,145,{_hintChildren:1}),fP._38(603979776,146,{_prefixChildren:1}),fP._38(603979776,147,{_suffixChildren:1}),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._18(125,0,null,1,22,"mat-select",[["class","select_large mat-select"],["formControlName","estimate_net_margin_availablity"],["placeholder","Is there Net Margin information Available?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,129)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,129)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,129)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(126,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(128,16384,null,0,EP.s,[EP.r],null,null),fP._17(129,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,148,{options:1}),fP._38(603979776,149,{optionGroups:1}),fP._38(335544320,150,{customTrigger:0}),fP._37(2048,[[141,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(136,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,137)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(137,8437760,[[148,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(140,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,141)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,141)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(141,8437760,[[148,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(144,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,145)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,145)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(145,8437760,[[148,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gc)),fP._17(151,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Fc)),fP._17(154,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kc)),fP._17(160,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pc)),fP._17(163,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Dc)),fP._17(166,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"estimate_sales_from");l(n,25,0,"Annual Sales From","number");l(n,29,0,""!=n.context.$implicit.get("estimate_sales_from").value);l(n,46,0,"estimate_sales_to");l(n,49,0,"Annual Sales To","number");l(n,53,0,""!=n.context.$implicit.get("estimate_sales_to").value);l(n,70,0,"estimate_sales_average");l(n,73,0,"Consider Sales Average","number","");l(n,77,0,""!=n.context.$implicit.get("estimate_sales_average").value);l(n,91,0,"estimate_profit_or_loss");l(n,94,0,"Was there Net Profit or Net Loss?");l(n,106,0,"1");l(n,110,0,"2");l(n,126,0,"estimate_net_margin_availablity");l(n,129,0,"Is there Net Margin information Available?");l(n,141,0,"yes");l(n,145,0,"no");l(n,151,0,1==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,154,0,1==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,160,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,163,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,166,0,2==n.context.$implicit.get("estimate_profit_or_loss").value)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,48).ngClassUntouched,fP._32(n,48).ngClassTouched,fP._32(n,48).ngClassPristine,fP._32(n,48).ngClassDirty,fP._32(n,48).ngClassValid,fP._32(n,48).ngClassInvalid,fP._32(n,48).ngClassPending,fP._32(n,49)._isServer,fP._32(n,49).id,fP._32(n,49).placeholder,fP._32(n,49).disabled,fP._32(n,49).required,fP._32(n,49).readonly,fP._32(n,49)._ariaDescribedby||null,fP._32(n,49).errorState,fP._32(n,49).required.toString()]);l(n,56,1,[fP._32(n,57)._control.errorState,fP._32(n,57)._control.errorState,fP._32(n,57)._canLabelFloat,fP._32(n,57)._shouldLabelFloat(),fP._32(n,57)._hideControlPlaceholder(),fP._32(n,57)._control.disabled,fP._32(n,57)._control.focused,"primary"==fP._32(n,57).color,"accent"==fP._32(n,57).color,"warn"==fP._32(n,57).color,fP._32(n,57)._shouldForward("untouched"),fP._32(n,57)._shouldForward("touched"),fP._32(n,57)._shouldForward("pristine"),fP._32(n,57)._shouldForward("dirty"),fP._32(n,57)._shouldForward("valid"),fP._32(n,57)._shouldForward("invalid"),fP._32(n,57)._shouldForward("pending")]);l(n,66,1,[fP._32(n,72).ngClassUntouched,fP._32(n,72).ngClassTouched,fP._32(n,72).ngClassPristine,fP._32(n,72).ngClassDirty,fP._32(n,72).ngClassValid,fP._32(n,72).ngClassInvalid,fP._32(n,72).ngClassPending,fP._32(n,73)._isServer,fP._32(n,73).id,fP._32(n,73).placeholder,fP._32(n,73).disabled,fP._32(n,73).required,fP._32(n,73).readonly,fP._32(n,73)._ariaDescribedby||null,fP._32(n,73).errorState,fP._32(n,73).required.toString()]);l(n,80,1,[fP._32(n,81)._control.errorState,fP._32(n,81)._control.errorState,fP._32(n,81)._canLabelFloat,fP._32(n,81)._shouldLabelFloat(),fP._32(n,81)._hideControlPlaceholder(),fP._32(n,81)._control.disabled,fP._32(n,81)._control.focused,"primary"==fP._32(n,81).color,"accent"==fP._32(n,81).color,"warn"==fP._32(n,81).color,fP._32(n,81)._shouldForward("untouched"),fP._32(n,81)._shouldForward("touched"),fP._32(n,81)._shouldForward("pristine"),fP._32(n,81)._shouldForward("dirty"),fP._32(n,81)._shouldForward("valid"),fP._32(n,81)._shouldForward("invalid"),fP._32(n,81)._shouldForward("pending")]);l(n,90,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94).id,fP._32(n,94).tabIndex,fP._32(n,94)._ariaLabel,fP._32(n,94).ariaLabelledby,fP._32(n,94).required.toString(),fP._32(n,94).disabled.toString(),fP._32(n,94).errorState,fP._32(n,94).panelOpen?fP._32(n,94)._optionIds:null,fP._32(n,94).multiple,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94)._getAriaActiveDescendant(),fP._32(n,94).disabled,fP._32(n,94).errorState,fP._32(n,94).required]);l(n,101,0,fP._32(n,102)._getTabIndex(),fP._32(n,102).selected,fP._32(n,102).multiple,fP._32(n,102).active,fP._32(n,102).id,fP._32(n,102).selected.toString(),fP._32(n,102).disabled.toString(),fP._32(n,102).disabled);l(n,105,0,fP._32(n,106)._getTabIndex(),fP._32(n,106).selected,fP._32(n,106).multiple,fP._32(n,106).active,fP._32(n,106).id,fP._32(n,106).selected.toString(),fP._32(n,106).disabled.toString(),fP._32(n,106).disabled);l(n,109,0,fP._32(n,110)._getTabIndex(),fP._32(n,110).selected,fP._32(n,110).multiple,fP._32(n,110).active,fP._32(n,110).id,fP._32(n,110).selected.toString(),fP._32(n,110).disabled.toString(),fP._32(n,110).disabled);l(n,115,1,[fP._32(n,116)._control.errorState,fP._32(n,116)._control.errorState,fP._32(n,116)._canLabelFloat,fP._32(n,116)._shouldLabelFloat(),fP._32(n,116)._hideControlPlaceholder(),fP._32(n,116)._control.disabled,fP._32(n,116)._control.focused,"primary"==fP._32(n,116).color,"accent"==fP._32(n,116).color,"warn"==fP._32(n,116).color,fP._32(n,116)._shouldForward("untouched"),fP._32(n,116)._shouldForward("touched"),fP._32(n,116)._shouldForward("pristine"),fP._32(n,116)._shouldForward("dirty"),fP._32(n,116)._shouldForward("valid"),fP._32(n,116)._shouldForward("invalid"),fP._32(n,116)._shouldForward("pending")]);l(n,125,1,[fP._32(n,128).ngClassUntouched,fP._32(n,128).ngClassTouched,fP._32(n,128).ngClassPristine,fP._32(n,128).ngClassDirty,fP._32(n,128).ngClassValid,fP._32(n,128).ngClassInvalid,fP._32(n,128).ngClassPending,fP._32(n,129).id,fP._32(n,129).tabIndex,fP._32(n,129)._ariaLabel,fP._32(n,129).ariaLabelledby,fP._32(n,129).required.toString(),fP._32(n,129).disabled.toString(),fP._32(n,129).errorState,fP._32(n,129).panelOpen?fP._32(n,129)._optionIds:null,fP._32(n,129).multiple,fP._32(n,129)._ariaDescribedby||null,fP._32(n,129)._getAriaActiveDescendant(),fP._32(n,129).disabled,fP._32(n,129).errorState,fP._32(n,129).required]);l(n,136,0,fP._32(n,137)._getTabIndex(),fP._32(n,137).selected,fP._32(n,137).multiple,fP._32(n,137).active,fP._32(n,137).id,fP._32(n,137).selected.toString(),fP._32(n,137).disabled.toString(),fP._32(n,137).disabled);l(n,140,0,fP._32(n,141)._getTabIndex(),fP._32(n,141).selected,fP._32(n,141).multiple,fP._32(n,141).active,fP._32(n,141).id,fP._32(n,141).selected.toString(),fP._32(n,141).disabled.toString(),fP._32(n,141).disabled);l(n,144,0,fP._32(n,145)._getTabIndex(),fP._32(n,145).selected,fP._32(n,145).multiple,fP._32(n,145).active,fP._32(n,145).id,fP._32(n,145).selected.toString(),fP._32(n,145).disabled.toString(),fP._32(n,145).disabled)})}function Oc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,61,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(6,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Latest year's Financials as per Applicant Met"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(15,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(18,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,100,{_control:0}),fP._38(335544320,101,{_placeholderChild:0}),fP._38(335544320,102,{_labelChild:0}),fP._38(603979776,103,{_errorChildren:1}),fP._38(603979776,104,{_hintChildren:1}),fP._38(603979776,105,{_prefixChildren:1}),fP._38(603979776,106,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","is_financial_customer"],["placeholder","Same as Financial Statements ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,31)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,31)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedFinancialCustomer(e.value)&&u}return u},tN.b,tN.a)),fP._17(28,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),fP._17(31,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,107,{options:1}),fP._38(603979776,108,{optionGroups:1}),fP._38(335544320,109,{customTrigger:0}),fP._37(2048,[[100,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(39,8437760,[[107,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,43)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(43,8437760,[[107,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(46,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,47)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(47,8437760,[[107,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(53,0,null,0,7,"div",[["formArrayName","estimated_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(54,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(56,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Tc)),fP._17(59,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n \n "]))],function(l,n){var e=n.component;l(n,28,0,"is_financial_customer");l(n,31,0,"Same as Financial Statements ?");l(n,43,0,"yes");l(n,47,0,"no");l(n,54,0,"estimated_value");l(n,59,0,e.financialForm.controls.estimated_value.controls)},function(l,n){l(n,17,1,[fP._32(n,18)._control.errorState,fP._32(n,18)._control.errorState,fP._32(n,18)._canLabelFloat,fP._32(n,18)._shouldLabelFloat(),fP._32(n,18)._hideControlPlaceholder(),fP._32(n,18)._control.disabled,fP._32(n,18)._control.focused,"primary"==fP._32(n,18).color,"accent"==fP._32(n,18).color,"warn"==fP._32(n,18).color,fP._32(n,18)._shouldForward("untouched"),fP._32(n,18)._shouldForward("touched"),fP._32(n,18)._shouldForward("pristine"),fP._32(n,18)._shouldForward("dirty"),fP._32(n,18)._shouldForward("valid"),fP._32(n,18)._shouldForward("invalid"),fP._32(n,18)._shouldForward("pending")]);l(n,27,1,[fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending,fP._32(n,31).id,fP._32(n,31).tabIndex,fP._32(n,31)._ariaLabel,fP._32(n,31).ariaLabelledby,fP._32(n,31).required.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).errorState,fP._32(n,31).panelOpen?fP._32(n,31)._optionIds:null,fP._32(n,31).multiple,fP._32(n,31)._ariaDescribedby||null,fP._32(n,31)._getAriaActiveDescendant(),fP._32(n,31).disabled,fP._32(n,31).errorState,fP._32(n,31).required]);l(n,38,0,fP._32(n,39)._getTabIndex(),fP._32(n,39).selected,fP._32(n,39).multiple,fP._32(n,39).active,fP._32(n,39).id,fP._32(n,39).selected.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).disabled);l(n,42,0,fP._32(n,43)._getTabIndex(),fP._32(n,43).selected,fP._32(n,43).multiple,fP._32(n,43).active,fP._32(n,43).id,fP._32(n,43).selected.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).disabled);l(n,46,0,fP._32(n,47)._getTabIndex(),fP._32(n,47).selected,fP._32(n,47).multiple,fP._32(n,47).active,fP._32(n,47).id,fP._32(n,47).selected.toString(),fP._32(n,47).disabled.toString(),fP._32(n,47).disabled);l(n,53,0,fP._32(n,56).ngClassUntouched,fP._32(n,56).ngClassTouched,fP._32(n,56).ngClassPristine,fP._32(n,56).ngClassDirty,fP._32(n,56).ngClassValid,fP._32(n,56).ngClassInvalid,fP._32(n,56).ngClassPending)})}function Lc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,291,{_control:0}),fP._38(335544320,292,{_placeholderChild:0}),fP._38(335544320,293,{_labelChild:0}),fP._38(603979776,294,{_errorChildren:1}),fP._38(603979776,295,{_hintChildren:1}),fP._38(603979776,296,{_prefixChildren:1}),fP._38(603979776,297,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","unsold_stock_lies_in_days"],["matInput",""],["placeholder","What is the average no of days for which stock lies unsold during the year?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[291,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"unsold_stock_lies_in_days");l(n,17,0,"What is the average no of days for which stock lies unsold during the year?","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function Ac(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,12,"div",[["fxFlex.lg","25"],["fxFlex.md","25"],["fxFlex.sm","50"],["fxFlex.xl","25"],["fxFlex.xs","100"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,6,"mat-checkbox",[["class","example-margin mat-checkbox"],["color","primary"],["formControlName","exist_status"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.changeWorkingCapitalFacilities(l.context.$implicit)&&u}return u},LV.b,LV.a)),fP._17(6,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(8,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(10,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(11,0,["",""])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"primary");l(n,8,0,"exist_status")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6).id,fP._32(n,6).indeterminate,fP._32(n,6).checked,fP._32(n,6).disabled,"before"==fP._32(n,6).labelPosition,fP._32(n,10).ngClassUntouched,fP._32(n,10).ngClassTouched,fP._32(n,10).ngClassPristine,fP._32(n,10).ngClassDirty,fP._32(n,10).ngClassValid,fP._32(n,10).ngClassInvalid,fP._32(n,10).ngClassPending]);l(n,11,0,n.context.$implicit.controls.name.value)})}function Vc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,308,{_control:0}),fP._38(335544320,309,{_placeholderChild:0}),fP._38(335544320,310,{_labelChild:0}),fP._38(603979776,311,{_errorChildren:1}),fP._38(603979776,312,{_hintChildren:1}),fP._38(603979776,313,{_prefixChildren:1}),fP._38(603979776,314,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_reason_for_working_capital_facilities_availed"],["matInput",""],["placeholder","Others Working Capital Facilities availed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[308,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_reason_for_working_capital_facilities_availed");l(n,16,0,"Others Working Capital Facilities availed")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Nc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,315,{_control:0}),fP._38(335544320,316,{_placeholderChild:0}),fP._38(335544320,317,{_labelChild:0}),fP._38(603979776,318,{_errorChildren:1}),fP._38(603979776,319,{_hintChildren:1}),fP._38(603979776,320,{_prefixChildren:1}),fP._38(603979776,321,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_working_capital_facilities_availed"],["matInput",""],["placeholder","Details of Others Facility"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[315,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"reason_for_working_capital_facilities_availed");l(n,16,0,"Details of Others Facility")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Wc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,322,{_control:0}),fP._38(335544320,323,{_placeholderChild:0}),fP._38(335544320,324,{_labelChild:0}),fP._38(603979776,325,{_errorChildren:1}),fP._38(603979776,326,{_hintChildren:1}),fP._38(603979776,327,{_prefixChildren:1}),fP._38(603979776,328,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bank_guarantee"],["matInput",""],["placeholder","Details of Bank Guarantee Facility"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[322,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"bank_guarantee");l(n,16,0,"Details of Bank Guarantee Facility")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ec(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,329,{_control:0}),fP._38(335544320,330,{_placeholderChild:0}),fP._38(335544320,331,{_labelChild:0}),fP._38(603979776,332,{_errorChildren:1}),fP._38(603979776,333,{_hintChildren:1}),fP._38(603979776,334,{_prefixChildren:1}),fP._38(603979776,335,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","cash_credit_limit"],["matInput",""],["placeholder","Details of Cash Credit Limit"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[329,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"cash_credit_limit");l(n,16,0,"Details of Cash Credit Limit")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function jc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,336,{_control:0}),fP._38(335544320,337,{_placeholderChild:0}),fP._38(335544320,338,{_labelChild:0}),fP._38(603979776,339,{_errorChildren:1}),fP._38(603979776,340,{_hintChildren:1}),fP._38(603979776,341,{_prefixChildren:1}),fP._38(603979776,342,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","factoring"],["matInput",""],["placeholder","Details of Factoring"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[336,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"factoring");l(n,16,0,"Details of Factoring")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function $c(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,343,{_control:0}),fP._38(335544320,344,{_placeholderChild:0}),fP._38(335544320,345,{_labelChild:0}),fP._38(603979776,346,{_errorChildren:1}),fP._38(603979776,347,{_hintChildren:1}),fP._38(603979776,348,{_prefixChildren:1}),fP._38(603979776,349,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","letter_of_credit"],["matInput",""],["placeholder","Details of Letter of Credit"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[343,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"letter_of_credit");l(n,16,0,"Details of Letter of Credit")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Bc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,350,{_control:0}),fP._38(335544320,351,{_placeholderChild:0}),fP._38(335544320,352,{_labelChild:0}),fP._38(603979776,353,{_errorChildren:1}),fP._38(603979776,354,{_hintChildren:1}),fP._38(603979776,355,{_prefixChildren:1}),fP._38(603979776,356,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","forfaiting"],["matInput",""],["placeholder","Details of Forfaiting"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[350,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"forfaiting");l(n,16,0,"Details of Forfaiting")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Rc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,357,{_control:0}),fP._38(335544320,358,{_placeholderChild:0}),fP._38(335544320,359,{_labelChild:0}),fP._38(603979776,360,{_errorChildren:1}),fP._38(603979776,361,{_hintChildren:1}),fP._38(603979776,362,{_prefixChildren:1}),fP._38(603979776,363,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","od_limit"],["matInput",""],["placeholder","Details of OD Limit"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[357,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"od_limit");l(n,16,0,"Details of OD Limit")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Uc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,41,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(2,0,null,null,5,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(3,16384,null,0,AA.g,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Working Capital Facilities availed"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(9,0,null,null,7,"div",[["class","toggle"],["formArrayName","select_working_capital_facilities_availed"],["fxLayout","row wrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(10,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(12,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ac)),fP._17(15,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Vc)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Nc)),fP._17(22,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Wc)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ec)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,jc)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,$c)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Bc)),fP._17(37,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Rc)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,10,0,"select_working_capital_facilities_availed");l(n,15,0,e.financialForm.controls.select_working_capital_facilities_availed.controls);l(n,19,0,e.financialForm.controls.other_reason_for_working_capital_facilities_availed);l(n,22,0,e.financialForm.controls.reason_for_working_capital_facilities_availed);l(n,25,0,e.financialForm.controls.bank_guarantee);l(n,28,0,e.financialForm.controls.cash_credit_limit);l(n,31,0,e.financialForm.controls.factoring);l(n,34,0,e.financialForm.controls.letter_of_credit);l(n,37,0,e.financialForm.controls.forfaiting);l(n,40,0,e.financialForm.controls.od_limit)},function(l,n){l(n,9,0,fP._32(n,12).ngClassUntouched,fP._32(n,12).ngClassTouched,fP._32(n,12).ngClassPristine,fP._32(n,12).ngClassDirty,fP._32(n,12).ngClassValid,fP._32(n,12).ngClassInvalid,fP._32(n,12).ngClassPending)})}function Mc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,212,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,62,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,14,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(10,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(12,0,null,1,5,"mat-card-title",[["class","mat-card-title"],["style","padding-top: 2rem"]],null,null,null,null,null)),fP._17(13,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Data As Per Financial Statements"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(19,0,null,2,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},WV.b,WV.a)),fP._17(20,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(21,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(22,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(25,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(26,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(35,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","is_financial_statements"],["placeholder","Financial Statements Available ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,39)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedStatement(e.value)&&u}return u},tN.b,tN.a)),fP._17(36,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(46,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,47)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(47,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,51)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(51,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,55)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(55,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Us)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,dc)),fP._17(64,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,cc)),fP._17(67,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Oc)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(73,0,null,null,106,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(74,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(76,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(77,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(79,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(80,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(82,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Working Capital Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(87,0,null,0,91,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(88,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(90,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(91,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,277,{_control:0}),fP._38(335544320,278,{_placeholderChild:0}),fP._38(335544320,279,{_labelChild:0}),fP._38(603979776,280,{_errorChildren:1}),fP._38(603979776,281,{_hintChildren:1}),fP._38(603979776,282,{_prefixChildren:1}),fP._38(603979776,283,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(101,16384,[[278,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["\n In case of Credit Sales, what is the average no of days taken to receive the money?\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(104,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","receive_the_money_in_days"],["matInput",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,105)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,105).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,105)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,105)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,106).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,106).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,106).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,111)._onInput()&&u}return u},null,null)),fP._17(105,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(106,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(108,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(110,16384,null,0,EP.s,[EP.r],null,null),fP._17(111,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{type:[0,"type"]},null),fP._37(2048,[[277,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(115,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(116,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,284,{_control:0}),fP._38(335544320,285,{_placeholderChild:0}),fP._38(335544320,286,{_labelChild:0}),fP._38(603979776,287,{_errorChildren:1}),fP._38(603979776,288,{_hintChildren:1}),fP._38(603979776,289,{_prefixChildren:1}),fP._38(603979776,290,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(125,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","pay_the_money_in_days"],["matInput",""],["placeholder","In case of Credit Purchase, what is the average no of days taken to pay the money?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,126)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,126).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,126)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,126)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,127).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,127).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,127).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,132)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,132)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,132)._onInput()&&u}return u},null,null)),fP._17(126,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(127,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(129,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(131,16384,null,0,EP.s,[EP.r],null,null),fP._17(132,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[284,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lc)),fP._17(137,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(139,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(140,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,298,{_control:0}),fP._38(335544320,299,{_placeholderChild:0}),fP._38(335544320,300,{_labelChild:0}),fP._38(603979776,301,{_errorChildren:1}),fP._38(603979776,302,{_hintChildren:1}),fP._38(603979776,303,{_prefixChildren:1}),fP._38(603979776,304,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(149,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","is_there_working_capital_available"],["placeholder","Is there Working Capital Facilities?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,153)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,153)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,153)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(150,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(152,16384,null,0,EP.s,[EP.r],null,null),fP._17(153,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,305,{options:1}),fP._38(603979776,306,{optionGroups:1}),fP._38(335544320,307,{customTrigger:0}),fP._37(2048,[[298,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(160,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,161)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,161)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(161,8437760,[[305,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(164,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,165)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,165)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(165,8437760,[[305,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(168,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,169)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,169)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(169,8437760,[[305,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Uc)),fP._17(177,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(181,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(182,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(184,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(185,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,364,{_control:0}),fP._38(335544320,365,{_placeholderChild:0}),fP._38(335544320,366,{_labelChild:0}),fP._38(603979776,367,{_errorChildren:1}),fP._38(603979776,368,{_hintChildren:1}),fP._38(603979776,369,{_prefixChildren:1}),fP._38(603979776,370,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(194,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(195,16384,[[366,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(198,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,199)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,199).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,199)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,199)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,204)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,204)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,204)._onInput()&&u}return u},null,null)),fP._17(199,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(201,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(203,16384,null,0,EP.s,[EP.r],null,null),fP._17(204,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[364,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(209,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(210,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e.financialForm);l(n,20,0,"optblue");l(n,22,0,"md-camera");l(n,36,0,"is_financial_statements");l(n,39,0,"Financial Statements Available ?");l(n,51,0,"yes");l(n,55,0,"no");l(n,61,0,e.isDisplay);l(n,64,0,""!=e.financial_no_of_year);l(n,67,0,e.isDisplay);l(n,71,0,"AI"!=e.CustSegAbbr);l(n,108,0,"receive_the_money_in_days");l(n,111,0,"number");l(n,129,0,"pay_the_money_in_days");l(n,132,0,"In case of Credit Purchase, what is the average no of days taken to pay the money?","number");l(n,137,0,!e.ServiceDataAvailability);l(n,150,0,"is_there_working_capital_available");l(n,153,0,"Is there Working Capital Facilities?");l(n,165,0,"yes");l(n,169,0,"no");l(n,177,0,"yes"==e.financialForm.controls.is_there_working_capital_available.value);l(n,201,0,"financial_remarks");l(n,204,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,21,0,fP._32(n,22)._hidden);l(n,25,1,[fP._32(n,26)._control.errorState,fP._32(n,26)._control.errorState,fP._32(n,26)._canLabelFloat,fP._32(n,26)._shouldLabelFloat(),fP._32(n,26)._hideControlPlaceholder(),fP._32(n,26)._control.disabled,fP._32(n,26)._control.focused,"primary"==fP._32(n,26).color,"accent"==fP._32(n,26).color,"warn"==fP._32(n,26).color,fP._32(n,26)._shouldForward("untouched"),fP._32(n,26)._shouldForward("touched"),fP._32(n,26)._shouldForward("pristine"),fP._32(n,26)._shouldForward("dirty"),fP._32(n,26)._shouldForward("valid"),fP._32(n,26)._shouldForward("invalid"),fP._32(n,26)._shouldForward("pending")]);l(n,35,1,[fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39).id,fP._32(n,39).tabIndex,fP._32(n,39)._ariaLabel,fP._32(n,39).ariaLabelledby,fP._32(n,39).required.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).errorState,fP._32(n,39).panelOpen?fP._32(n,39)._optionIds:null,fP._32(n,39).multiple,fP._32(n,39)._ariaDescribedby||null,fP._32(n,39)._getAriaActiveDescendant(),fP._32(n,39).disabled,fP._32(n,39).errorState,fP._32(n,39).required]);l(n,46,0,fP._32(n,47)._getTabIndex(),fP._32(n,47).selected,fP._32(n,47).multiple,fP._32(n,47).active,fP._32(n,47).id,fP._32(n,47).selected.toString(),fP._32(n,47).disabled.toString(),fP._32(n,47).disabled);l(n,50,0,fP._32(n,51)._getTabIndex(),fP._32(n,51).selected,fP._32(n,51).multiple,fP._32(n,51).active,fP._32(n,51).id,fP._32(n,51).selected.toString(),fP._32(n,51).disabled.toString(),fP._32(n,51).disabled);l(n,54,0,fP._32(n,55)._getTabIndex(),fP._32(n,55).selected,fP._32(n,55).multiple,fP._32(n,55).active,fP._32(n,55).id,fP._32(n,55).selected.toString(),fP._32(n,55).disabled.toString(),fP._32(n,55).disabled);l(n,90,1,[fP._32(n,91)._control.errorState,fP._32(n,91)._control.errorState,fP._32(n,91)._canLabelFloat,fP._32(n,91)._shouldLabelFloat(),fP._32(n,91)._hideControlPlaceholder(),fP._32(n,91)._control.disabled,fP._32(n,91)._control.focused,"primary"==fP._32(n,91).color,"accent"==fP._32(n,91).color,"warn"==fP._32(n,91).color,fP._32(n,91)._shouldForward("untouched"),fP._32(n,91)._shouldForward("touched"),fP._32(n,91)._shouldForward("pristine"),fP._32(n,91)._shouldForward("dirty"),fP._32(n,91)._shouldForward("valid"),fP._32(n,91)._shouldForward("invalid"),fP._32(n,91)._shouldForward("pending")]);l(n,104,1,[fP._32(n,110).ngClassUntouched,fP._32(n,110).ngClassTouched,fP._32(n,110).ngClassPristine,fP._32(n,110).ngClassDirty,fP._32(n,110).ngClassValid,fP._32(n,110).ngClassInvalid,fP._32(n,110).ngClassPending,fP._32(n,111)._isServer,fP._32(n,111).id,fP._32(n,111).placeholder,fP._32(n,111).disabled,fP._32(n,111).required,fP._32(n,111).readonly,fP._32(n,111)._ariaDescribedby||null,fP._32(n,111).errorState,fP._32(n,111).required.toString()]);l(n,115,1,[fP._32(n,116)._control.errorState,fP._32(n,116)._control.errorState,fP._32(n,116)._canLabelFloat,fP._32(n,116)._shouldLabelFloat(),fP._32(n,116)._hideControlPlaceholder(),fP._32(n,116)._control.disabled,fP._32(n,116)._control.focused,"primary"==fP._32(n,116).color,"accent"==fP._32(n,116).color,"warn"==fP._32(n,116).color,fP._32(n,116)._shouldForward("untouched"),fP._32(n,116)._shouldForward("touched"),fP._32(n,116)._shouldForward("pristine"),fP._32(n,116)._shouldForward("dirty"),fP._32(n,116)._shouldForward("valid"),fP._32(n,116)._shouldForward("invalid"),fP._32(n,116)._shouldForward("pending")]);l(n,125,1,[fP._32(n,131).ngClassUntouched,fP._32(n,131).ngClassTouched,fP._32(n,131).ngClassPristine,fP._32(n,131).ngClassDirty,fP._32(n,131).ngClassValid,fP._32(n,131).ngClassInvalid,fP._32(n,131).ngClassPending,fP._32(n,132)._isServer,fP._32(n,132).id,fP._32(n,132).placeholder,fP._32(n,132).disabled,fP._32(n,132).required,fP._32(n,132).readonly,fP._32(n,132)._ariaDescribedby||null,fP._32(n,132).errorState,fP._32(n,132).required.toString()]);l(n,139,1,[fP._32(n,140)._control.errorState,fP._32(n,140)._control.errorState,fP._32(n,140)._canLabelFloat,fP._32(n,140)._shouldLabelFloat(),fP._32(n,140)._hideControlPlaceholder(),fP._32(n,140)._control.disabled,fP._32(n,140)._control.focused,"primary"==fP._32(n,140).color,"accent"==fP._32(n,140).color,"warn"==fP._32(n,140).color,fP._32(n,140)._shouldForward("untouched"),fP._32(n,140)._shouldForward("touched"),fP._32(n,140)._shouldForward("pristine"),fP._32(n,140)._shouldForward("dirty"),fP._32(n,140)._shouldForward("valid"),fP._32(n,140)._shouldForward("invalid"),fP._32(n,140)._shouldForward("pending")]);l(n,149,1,[fP._32(n,152).ngClassUntouched,fP._32(n,152).ngClassTouched,fP._32(n,152).ngClassPristine,fP._32(n,152).ngClassDirty,fP._32(n,152).ngClassValid,fP._32(n,152).ngClassInvalid,fP._32(n,152).ngClassPending,fP._32(n,153).id,fP._32(n,153).tabIndex,fP._32(n,153)._ariaLabel,fP._32(n,153).ariaLabelledby,fP._32(n,153).required.toString(),fP._32(n,153).disabled.toString(),fP._32(n,153).errorState,fP._32(n,153).panelOpen?fP._32(n,153)._optionIds:null,fP._32(n,153).multiple,fP._32(n,153)._ariaDescribedby||null,fP._32(n,153)._getAriaActiveDescendant(),fP._32(n,153).disabled,fP._32(n,153).errorState,fP._32(n,153).required]);l(n,160,0,fP._32(n,161)._getTabIndex(),fP._32(n,161).selected,fP._32(n,161).multiple,fP._32(n,161).active,fP._32(n,161).id,fP._32(n,161).selected.toString(),fP._32(n,161).disabled.toString(),fP._32(n,161).disabled);l(n,164,0,fP._32(n,165)._getTabIndex(),fP._32(n,165).selected,fP._32(n,165).multiple,fP._32(n,165).active,fP._32(n,165).id,fP._32(n,165).selected.toString(),fP._32(n,165).disabled.toString(),fP._32(n,165).disabled);l(n,168,0,fP._32(n,169)._getTabIndex(),fP._32(n,169).selected,fP._32(n,169).multiple,fP._32(n,169).active,fP._32(n,169).id,fP._32(n,169).selected.toString(),fP._32(n,169).disabled.toString(),fP._32(n,169).disabled);l(n,184,1,[fP._32(n,185)._control.errorState,fP._32(n,185)._control.errorState,fP._32(n,185)._canLabelFloat,fP._32(n,185)._shouldLabelFloat(),fP._32(n,185)._hideControlPlaceholder(),fP._32(n,185)._control.disabled,fP._32(n,185)._control.focused,"primary"==fP._32(n,185).color,"accent"==fP._32(n,185).color,"warn"==fP._32(n,185).color,fP._32(n,185)._shouldForward("untouched"),fP._32(n,185)._shouldForward("touched"),fP._32(n,185)._shouldForward("pristine"),fP._32(n,185)._shouldForward("dirty"),fP._32(n,185)._shouldForward("valid"),fP._32(n,185)._shouldForward("invalid"),fP._32(n,185)._shouldForward("pending")]);l(n,198,1,[fP._32(n,203).ngClassUntouched,fP._32(n,203).ngClassTouched,fP._32(n,203).ngClassPristine,fP._32(n,203).ngClassDirty,fP._32(n,203).ngClassValid,fP._32(n,203).ngClassInvalid,fP._32(n,203).ngClassPending,fP._32(n,204)._isServer,fP._32(n,204).id,fP._32(n,204).placeholder,fP._32(n,204).disabled,fP._32(n,204).required,fP._32(n,204).readonly,fP._32(n,204)._ariaDescribedby||null,fP._32(n,204).errorState,fP._32(n,204).required.toString()])})}function Kc(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,42,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,22,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(8,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(9,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(10,0,["",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(12,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(13,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(19,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,Ds)),fP._17(24,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(29,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(31,16384,null,0,EP.s,[EP.r],null,null),fP._17(32,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36).onClick()&&u}return u},dV.b,dV.a)),fP._17(36,114688,[[2,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40).onClick()&&u}return u},dV.b,dV.a)),fP._17(40,114688,[[2,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(45,0,null,null,14,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(46,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(49,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rs)),fP._17(52,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Mc)),fP._17(55,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,20,0,"md-camera");l(n,24,0,!e.complete_status);l(n,29,0,e.tab);l(n,32,0,"optblue");l(n,36,0,"0");l(n,40,0,"1");l(n,49,0,e.tab);l(n,52,0,"1");l(n,55,0,"0")},function(l,n){var e=n.component;l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,10,0,e.formDetails.form_name);l(n,19,0,fP._32(n,20)._hidden);l(n,28,0,fP._32(n,31).ngClassUntouched,fP._32(n,31).ngClassTouched,fP._32(n,31).ngClassPristine,fP._32(n,31).ngClassDirty,fP._32(n,31).ngClassValid,fP._32(n,31).ngClassInvalid,fP._32(n,31).ngClassPending,fP._32(n,32)._disabled);l(n,35,0,fP._32(n,36)._disabled,fP._32(n,36).isActive,fP._32(n,36).isActive);l(n,39,0,fP._32(n,40)._disabled,fP._32(n,40).isActive,fP._32(n,40).isActive);l(n,45,0,fP._32(n,46).statusbarPadding,fP._32(n,46)._hasRefresher)})}function Hc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Gc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitOtherIncome(t.otherIncomeForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function zc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Yc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Qc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Jc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Xc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yc)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Qc)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jc)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Zc(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xc)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function lm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function nm(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function em(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lm)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,nm)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function um(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,em)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function tm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function am(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zc)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Zc)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,um)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,tm)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function im(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[12,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function om(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,31,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,15,{_control:0}),fP._38(335544320,16,{_placeholderChild:0}),fP._38(335544320,17,{_labelChild:0}),fP._38(603979776,18,{_errorChildren:1}),fP._38(603979776,19,{_hintChildren:1}),fP._38(603979776,20,{_prefixChildren:1}),fP._38(603979776,21,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(13,16384,[[17,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Address"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["placeholder","Rental Info Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[15,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.Toview()&&u}return u},aV.b,aV.a)),fP._17(29,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),fP._40(-1,0,["Rental Info Details"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,19,0,"address");l(n,22,0,"Rental Info Details");l(n,29,0,"optblue","")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,16,1,[fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function rm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,22,{_control:0}),fP._38(335544320,23,{_placeholderChild:0}),fP._38(335544320,24,{_labelChild:0}),fP._38(603979776,25,{_errorChildren:1}),fP._38(603979776,26,{_hintChildren:1}),fP._38(603979776,27,{_prefixChildren:1}),fP._38(603979776,28,{_suffixChildren:1}),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_source"],["matInput",""],["placeholder","Specify Others Source"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[22,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_source");l(n,16,0,"Specify Others Source")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function _m(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[36,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function dm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[37,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,_m)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function sm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_income_earned_by"],["matInput",""],["placeholder","Specify Income Earned By"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[39,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_income_earned_by");l(n,16,0,"Specify Income Earned By")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function cm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[50,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," ",""]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amtInWords[n.parent.context.index])})}function mm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function pm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,63,{_control:0}),fP._38(335544320,64,{_placeholderChild:0}),fP._38(335544320,65,{_labelChild:0}),fP._38(603979776,66,{_errorChildren:1}),fP._38(603979776,67,{_hintChildren:1}),fP._38(603979776,68,{_prefixChildren:1}),fP._38(603979776,69,{_suffixChildren:1}),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_frequency"],["matInput",""],["placeholder","Specify Others Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[63,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_frequency");l(n,16,0,"Specify Others Frequency")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function fm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addIncomeDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function hm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,154,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Income Details ",""])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(8,0,null,null,145,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(9,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,5,{_control:0}),fP._38(335544320,6,{_placeholderChild:0}),fP._38(335544320,7,{_labelChild:0}),fP._38(603979776,8,{_errorChildren:1}),fP._38(603979776,9,{_hintChildren:1}),fP._38(603979776,10,{_prefixChildren:1}),fP._38(603979776,11,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","source"],["placeholder","Source"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,25)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,12,{options:1}),fP._38(603979776,13,{optionGroups:1}),fP._38(335544320,14,{customTrigger:0}),fP._37(2048,[[5,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[12,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,im)),fP._17(37,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,om)),fP._17(42,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rm)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(48,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,29,{_control:0}),fP._38(335544320,30,{_placeholderChild:0}),fP._38(335544320,31,{_labelChild:0}),fP._38(603979776,32,{_errorChildren:1}),fP._38(603979776,33,{_hintChildren:1}),fP._38(603979776,34,{_prefixChildren:1}),fP._38(603979776,35,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","income_earned_by"],["multiple",""],["placeholder","Income Earned By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,62)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getOtherOrganisationOwner(e.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(59,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(61,16384,null,0,EP.s,[EP.r],null,null),fP._17(62,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,36,{options:1}),fP._38(603979776,37,{optionGroups:1}),fP._38(335544320,38,{customTrigger:0}),fP._37(2048,[[29,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,dm)),fP._17(69,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sm)),fP._17(74,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(76,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(77,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(86,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount"],["matInput",""],["placeholder","Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,87)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,87).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,87)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,87)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,88).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,88).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,88).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,93)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,93)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,93)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index)&&u}return u},null,null)),fP._17(87,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(88,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[46,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,cm)),fP._17(97,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(100,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(101,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(110,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,114)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,114)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,114)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(111,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(113,16384,null,0,EP.s,[EP.r],null,null),fP._17(114,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,60,{options:1}),fP._38(603979776,61,{optionGroups:1}),fP._38(335544320,62,{customTrigger:0}),fP._37(2048,[[53,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(121,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,122)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,122)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(122,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,mm)),fP._17(126,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pm)),fP._17(131,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(133,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(134,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,70,{_buttons:1}),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(137,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(138,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(140,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteIncomeDetails(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(142,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(143,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(146,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(147,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fm)),fP._17(150,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"source");l(n,25,0,"Source");l(n,37,0,e.sourceIncome);l(n,42,0,"5"==n.context.$implicit.get("source").value);l(n,45,0,"1"==n.context.$implicit.get("source").value);l(n,59,0,"income_earned_by");l(n,62,0,"Income Earned By","",e.compareObjects);l(n,69,0,e.mergeCompanyApplicant);l(n,74,0,e.isOrganisationOwner[n.context.index]);l(n,90,0,"amount");l(n,93,0,"Amount","number");l(n,97,0,""!=n.context.$implicit.get("amount").value);l(n,111,0,"frequency");l(n,114,0,"Frequency");l(n,126,0,e.frequencyData);l(n,131,0,1==n.context.$implicit.get("frequency").value);l(n,143,0,"optblue","md-trash");l(n,150,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25).id,fP._32(n,25).tabIndex,fP._32(n,25)._ariaLabel,fP._32(n,25).ariaLabelledby,fP._32(n,25).required.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).errorState,fP._32(n,25).panelOpen?fP._32(n,25)._optionIds:null,fP._32(n,25).multiple,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25)._getAriaActiveDescendant(),fP._32(n,25).disabled,fP._32(n,25).errorState,fP._32(n,25).required]);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,47,1,[fP._32(n,48)._control.errorState,fP._32(n,48)._control.errorState,fP._32(n,48)._canLabelFloat,fP._32(n,48)._shouldLabelFloat(),fP._32(n,48)._hideControlPlaceholder(),fP._32(n,48)._control.disabled,fP._32(n,48)._control.focused,"primary"==fP._32(n,48).color,"accent"==fP._32(n,48).color,"warn"==fP._32(n,48).color,fP._32(n,48)._shouldForward("untouched"),fP._32(n,48)._shouldForward("touched"),fP._32(n,48)._shouldForward("pristine"),fP._32(n,48)._shouldForward("dirty"),fP._32(n,48)._shouldForward("valid"),fP._32(n,48)._shouldForward("invalid"),fP._32(n,48)._shouldForward("pending")]);l(n,57,1,[fP._32(n,61).ngClassUntouched,fP._32(n,61).ngClassTouched,fP._32(n,61).ngClassPristine,fP._32(n,61).ngClassDirty,fP._32(n,61).ngClassValid,fP._32(n,61).ngClassInvalid,fP._32(n,61).ngClassPending,fP._32(n,62).id,fP._32(n,62).tabIndex,fP._32(n,62)._ariaLabel,fP._32(n,62).ariaLabelledby,fP._32(n,62).required.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).errorState,fP._32(n,62).panelOpen?fP._32(n,62)._optionIds:null,fP._32(n,62).multiple,fP._32(n,62)._ariaDescribedby||null,fP._32(n,62)._getAriaActiveDescendant(),fP._32(n,62).disabled,fP._32(n,62).errorState,fP._32(n,62).required]);l(n,76,1,[fP._32(n,77)._control.errorState,fP._32(n,77)._control.errorState,fP._32(n,77)._canLabelFloat,fP._32(n,77)._shouldLabelFloat(),fP._32(n,77)._hideControlPlaceholder(),fP._32(n,77)._control.disabled,fP._32(n,77)._control.focused,"primary"==fP._32(n,77).color,"accent"==fP._32(n,77).color,"warn"==fP._32(n,77).color,fP._32(n,77)._shouldForward("untouched"),fP._32(n,77)._shouldForward("touched"),fP._32(n,77)._shouldForward("pristine"),fP._32(n,77)._shouldForward("dirty"),fP._32(n,77)._shouldForward("valid"),fP._32(n,77)._shouldForward("invalid"),fP._32(n,77)._shouldForward("pending")]);l(n,86,1,[fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93)._isServer,fP._32(n,93).id,fP._32(n,93).placeholder,fP._32(n,93).disabled,fP._32(n,93).required,fP._32(n,93).readonly,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93).errorState,fP._32(n,93).required.toString()]);l(n,100,1,[fP._32(n,101)._control.errorState,fP._32(n,101)._control.errorState,fP._32(n,101)._canLabelFloat,fP._32(n,101)._shouldLabelFloat(),fP._32(n,101)._hideControlPlaceholder(),fP._32(n,101)._control.disabled,fP._32(n,101)._control.focused,"primary"==fP._32(n,101).color,"accent"==fP._32(n,101).color,"warn"==fP._32(n,101).color,fP._32(n,101)._shouldForward("untouched"),fP._32(n,101)._shouldForward("touched"),fP._32(n,101)._shouldForward("pristine"),fP._32(n,101)._shouldForward("dirty"),fP._32(n,101)._shouldForward("valid"),fP._32(n,101)._shouldForward("invalid"),fP._32(n,101)._shouldForward("pending")]);l(n,110,1,[fP._32(n,113).ngClassUntouched,fP._32(n,113).ngClassTouched,fP._32(n,113).ngClassPristine,fP._32(n,113).ngClassDirty,fP._32(n,113).ngClassValid,fP._32(n,113).ngClassInvalid,fP._32(n,113).ngClassPending,fP._32(n,114).id,fP._32(n,114).tabIndex,fP._32(n,114)._ariaLabel,fP._32(n,114).ariaLabelledby,fP._32(n,114).required.toString(),fP._32(n,114).disabled.toString(),fP._32(n,114).errorState,fP._32(n,114).panelOpen?fP._32(n,114)._optionIds:null,fP._32(n,114).multiple,fP._32(n,114)._ariaDescribedby||null,fP._32(n,114)._getAriaActiveDescendant(),fP._32(n,114).disabled,fP._32(n,114).errorState,fP._32(n,114).required]);l(n,121,0,fP._32(n,122)._getTabIndex(),fP._32(n,122).selected,fP._32(n,122).multiple,fP._32(n,122).active,fP._32(n,122).id,fP._32(n,122).selected.toString(),fP._32(n,122).disabled.toString(),fP._32(n,122).disabled);l(n,142,0,fP._32(n,143)._hidden)})}function gm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,7,"div",[["formArrayName","income_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hm)),fP._17(9,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"income_details");l(n,9,0,e.otherIncomeForm.get("income_details").controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function bm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,63,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,22,"mat-card",[["class","mat-card"],["style","width: 100%"]],null,null,null,LA.d,LA.a)),fP._17(8,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(10,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Other Income of Loan Applicants"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","other_income"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.checkotherDetails(e.value)&&u}return u},null,null)),fP._17(14,1064960,null,1,PV.b,[fP.i],null,{change:"change"}),fP._38(603979776,4,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","Yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,22)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(22,4440064,[[4,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n      \n "])),(l()(),fP._18(25,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","No"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,26)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(26,4440064,[[4,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gm)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(34,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(35,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(37,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,71,{_control:0}),fP._38(335544320,72,{_placeholderChild:0}),fP._38(335544320,73,{_labelChild:0}),fP._38(603979776,74,{_errorChildren:1}),fP._38(603979776,75,{_hintChildren:1}),fP._38(603979776,76,{_prefixChildren:1}),fP._38(603979776,77,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","otherincome_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,53)._onInput()&&u}return u},null,null)),fP._17(48,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(50,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(52,16384,null,0,EP.s,[EP.r],null,null),fP._17(53,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[71,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(59,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e.otherIncomeForm);l(n,17,0,"other_income");l(n,22,0,"Yes");l(n,26,0,"No");l(n,32,0,"Yes"==e.otherIncomeForm.controls.other_income.value);l(n,50,0,"otherincome_remarks");l(n,53,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,13,0,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending);l(n,21,0,fP._32(n,22).checked,fP._32(n,22).disabled,fP._32(n,22).id);l(n,25,0,fP._32(n,26).checked,fP._32(n,26).disabled,fP._32(n,26).id);l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,1,[fP._32(n,52).ngClassUntouched,fP._32(n,52).ngClassTouched,fP._32(n,52).ngClassPristine,fP._32(n,52).ngClassDirty,fP._32(n,52).ngClassValid,fP._32(n,52).ngClassInvalid,fP._32(n,52).ngClassPending,fP._32(n,53)._isServer,fP._32(n,53).id,fP._32(n,53).placeholder,fP._32(n,53).disabled,fP._32(n,53).required,fP._32(n,53).readonly,fP._32(n,53)._ariaDescribedby||null,fP._32(n,53).errorState,fP._32(n,53).required.toString()])})}function vm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Hc)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(19,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(26,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(27,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,Gc)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(36,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,43).onClick()&&u}return u},dV.b,dV.a)),fP._17(43,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47).onClick()&&u}return u},dV.b,dV.a)),fP._17(47,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(52,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(53,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(56,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,am)),fP._17(59,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bm)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(67,0,null,null,3,"ion-footer",[],null,null,null,null,null)),fP._17(68,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,27,0,"md-camera");l(n,31,0,!e.complete_status);l(n,36,0,e.tab);l(n,39,0,"optblue");l(n,43,0,"0");l(n,47,0,"1");l(n,56,0,e.tab);l(n,59,0,"1");l(n,62,0,"0")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,26,0,fP._32(n,27)._hidden);l(n,35,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39)._disabled);l(n,42,0,fP._32(n,43)._disabled,fP._32(n,43).isActive,fP._32(n,43).isActive);l(n,46,0,fP._32(n,47)._disabled,fP._32(n,47).isActive,fP._32(n,47).isActive);l(n,52,0,fP._32(n,53).statusbarPadding,fP._32(n,53)._hasRefresher)})}function ym(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveSupplierInfoWithImageCheck(t.supplierInfoForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Cm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function wm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Fm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function xm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function km(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wm)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Fm)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xm)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Sm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,km)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Im(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function qm(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Pm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Im)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,qm)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function Dm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pm)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Tm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Om(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cm)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Sm)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,Dm)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Tm)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Lm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[25,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Am(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[42,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Vm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,45,{_control:0}),fP._38(335544320,46,{_placeholderChild:0}),fP._38(335544320,47,{_labelChild:0}),fP._38(603979776,48,{_errorChildren:1}),fP._38(603979776,49,{_hintChildren:1}),fP._38(603979776,50,{_prefixChildren:1}),fP._38(603979776,51,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[45,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Nm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[80,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,93,{_control:0}),fP._38(335544320,94,{_placeholderChild:0}),fP._38(335544320,95,{_labelChild:0}),fP._38(603979776,96,{_errorChildren:1}),fP._38(603979776,97,{_hintChildren:1}),fP._38(603979776,98,{_prefixChildren:1}),fP._38(603979776,99,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[93,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,100,{_control:0}),fP._38(335544320,101,{_placeholderChild:0}),fP._38(335544320,102,{_labelChild:0}),fP._38(603979776,103,{_errorChildren:1}),fP._38(603979776,104,{_hintChildren:1}),fP._38(603979776,105,{_prefixChildren:1}),fP._38(603979776,106,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[100,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"manufacturing_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"manufacturing_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function Em(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRawMaterials(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function jm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreRawMaterials(e);u=!1}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function $m(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,327,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,5,"div",[["style","width: 85%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.g,[],null,null),(l()(),fP._40(12,null,["Raw Material #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(17,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureTheSupplierPics("Raw Material",l.context.index,l.context.$implicit.get("manufacturing_supplier_name").value)&&u}return u},WV.b,WV.a)),fP._17(18,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(19,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,283,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,279,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_raw_material_name"],["matInput",""],["placeholder","Raw Material Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,40)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,45)._onInput()&&u}return u},null,null)),fP._17(40,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),fP._17(45,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[4,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(50,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,60)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,60).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,60)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,60)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,65)._onInput()&&u}return u},null,null)),fP._17(60,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(62,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(64,16384,null,0,EP.s,[EP.r],null,null),fP._17(65,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[11,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(69,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(70,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,18,{_control:0}),fP._38(335544320,19,{_placeholderChild:0}),fP._38(335544320,20,{_labelChild:0}),fP._38(603979776,21,{_errorChildren:1}),fP._38(603979776,22,{_hintChildren:1}),fP._38(603979776,23,{_prefixChildren:1}),fP._38(603979776,24,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(79,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,83)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,83)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,83)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(80,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(82,16384,null,0,EP.s,[EP.r],null,null),fP._17(83,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,25,{options:1}),fP._38(603979776,26,{optionGroups:1}),fP._38(335544320,27,{customTrigger:0}),fP._37(2048,[[18,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,91)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,91)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(91,8437760,[[25,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Lm)),fP._17(95,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(99,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(100,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(109,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_name"],["matInput",""],["placeholder","Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,110)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,110).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,110)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,110)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,115)._onInput()&&u}return u},null,null)),fP._17(110,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(112,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(114,16384,null,0,EP.s,[EP.r],null,null),fP._17(115,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[28,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(119,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(120,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,35,{_control:0}),fP._38(335544320,36,{_placeholderChild:0}),fP._38(335544320,37,{_labelChild:0}),fP._38(603979776,38,{_errorChildren:1}),fP._38(603979776,39,{_hintChildren:1}),fP._38(603979776,40,{_prefixChildren:1}),fP._38(603979776,41,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(129,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,133)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,133)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,133)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},tN.b,tN.a)),fP._17(130,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(132,16384,null,0,EP.s,[EP.r],null,null),fP._17(133,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,42,{options:1}),fP._38(603979776,43,{optionGroups:1}),fP._38(335544320,44,{customTrigger:0}),fP._37(2048,[[35,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(140,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,141)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,141)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(141,8437760,[[42,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Am)),fP._17(145,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vm)),fP._17(151,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(153,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(154,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,52,{_control:0}),fP._38(335544320,53,{_placeholderChild:0}),fP._38(335544320,54,{_labelChild:0}),fP._38(603979776,55,{_errorChildren:1}),fP._38(603979776,56,{_hintChildren:1}),fP._38(603979776,57,{_prefixChildren:1}),fP._38(603979776,58,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(163,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Contact Person Mobile Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,164)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,164).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,164)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,164)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,172)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,172)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,172)._onInput()&&u}return u},null,null)),fP._17(164,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(165,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(166,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(169,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(171,16384,null,0,EP.s,[EP.r],null,null),fP._17(172,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[52,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(175,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(176,16384,[[55,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(180,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(181,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,59,{_control:0}),fP._38(335544320,60,{_placeholderChild:0}),fP._38(335544320,61,{_labelChild:0}),fP._38(603979776,62,{_errorChildren:1}),fP._38(603979776,63,{_hintChildren:1}),fP._38(603979776,64,{_prefixChildren:1}),fP._38(603979776,65,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(190,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,191)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,191).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,191)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,191)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,199)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,199)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,199)._onInput()&&u}return u},null,null)),fP._17(191,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(192,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(193,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(196,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(198,16384,null,0,EP.s,[EP.r],null,null),fP._17(199,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[59,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(202,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(203,16384,[[62,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid STD Code Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(208,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(209,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,66,{_control:0}),fP._38(335544320,67,{_placeholderChild:0}),fP._38(335544320,68,{_labelChild:0}),fP._38(603979776,69,{_errorChildren:1}),fP._38(603979776,70,{_hintChildren:1}),fP._38(603979776,71,{_prefixChildren:1}),fP._38(603979776,72,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(218,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Contact Person Landline Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,219)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,219).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,219)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,219)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,227)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,227)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,227)._onInput()&&u}return u},null,null)),fP._17(219,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(220,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(221,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(224,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(226,16384,null,0,EP.s,[EP.r],null,null),fP._17(227,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[66,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(230,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(231,16384,[[69,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid LandLine Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(235,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(236,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,73,{_control:0}),fP._38(335544320,74,{_placeholderChild:0}),fP._38(335544320,75,{_labelChild:0}),fP._38(603979776,76,{_errorChildren:1}),fP._38(603979776,77,{_hintChildren:1}),fP._38(603979776,78,{_prefixChildren:1}),fP._38(603979776,79,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(245,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,249)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,249)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,249)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,1);u=!1!==t.checkCard(e.value,1,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(246,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(248,16384,null,0,EP.s,[EP.r],null,null),fP._17(249,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,80,{options:1}),fP._38(603979776,81,{optionGroups:1}),fP._38(335544320,82,{customTrigger:0}),fP._37(2048,[[73,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(256,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,257)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,257)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(257,8437760,[[80,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Nm)),fP._17(261,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(265,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(266,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,83,{_control:0}),fP._38(335544320,84,{_placeholderChild:0}),fP._38(335544320,85,{_labelChild:0}),fP._38(603979776,86,{_errorChildren:1}),fP._38(603979776,87,{_hintChildren:1}),fP._38(603979776,88,{_prefixChildren:1}),fP._38(603979776,89,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(275,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,279)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,279)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,279)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(276,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(278,16384,null,0,EP.s,[EP.r],null,null),fP._17(279,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,90,{options:1}),fP._38(603979776,91,{optionGroups:1}),fP._38(335544320,92,{customTrigger:0}),fP._37(2048,[[83,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(286,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,287)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,287)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(287,8437760,[[90,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(290,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,291)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,291)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(291,8437760,[[90,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made in Cash."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(294,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,295)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,295)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(295,8437760,[[90,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made through Banking\n channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(298,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Cash and Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,299)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,299)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(299,8437760,[[90,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made through Cash and Banking Channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wm)),fP._17(305,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(309,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(310,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,107,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(313,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(314,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Em)),fP._17(317,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(320,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(321,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jm)),fP._17(324,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,18,0,"optblue");l(n,20,0,"md-camera");l(n,42,0,"manufacturing_raw_material_name");l(n,45,0,"Raw Material Name");l(n,62,0,"manufacturing_supplier_name");l(n,65,0,"Supplier Name");l(n,80,0,"person_title_name");l(n,83,0,"Title");l(n,95,0,e.m_titleList);l(n,112,0,"manufacturing_contact_person_name");l(n,115,0,"Contact Person Name");l(n,130,0,"person_designation");l(n,133,0,"Contact Person Designation");l(n,145,0,e.m_companyRelationShipList);l(n,151,0,1==n.context.$implicit.get("person_designation").value);l(n,165,0,"10");l(n,166,0,"10");l(n,169,0,"manufacturing_contact_person_mobile_number");l(n,172,0,"Contact Person Mobile Number","tel");l(n,192,0,"3");l(n,193,0,"5");l(n,196,0,"person_stdcode");l(n,199,0,"STD Code","tel");l(n,220,0,"6");l(n,221,0,"8");l(n,224,0,"person_landline");l(n,227,0,"Contact Person Landline Number","tel");l(n,246,0,"manufacturing_payment_type");l(n,249,0,"Payment Terms");l(n,261,0,e.m_paymentList);l(n,276,0,"manufacturing_payment_mode");l(n,279,0,"Payment Mode");l(n,291,0,"Payment made in Cash.");l(n,295,0,"Payment made through Banking channels.");l(n,299,0,"Payment made through Cash and Banking channels.");l(n,305,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,317,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,324,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,19,0,fP._32(n,20)._hidden);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,1,[fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending,fP._32(n,45)._isServer,fP._32(n,45).id,fP._32(n,45).placeholder,fP._32(n,45).disabled,fP._32(n,45).required,fP._32(n,45).readonly,fP._32(n,45)._ariaDescribedby||null,fP._32(n,45).errorState,fP._32(n,45).required.toString()]);l(n,49,1,[fP._32(n,50)._control.errorState,fP._32(n,50)._control.errorState,fP._32(n,50)._canLabelFloat,fP._32(n,50)._shouldLabelFloat(),fP._32(n,50)._hideControlPlaceholder(),fP._32(n,50)._control.disabled,fP._32(n,50)._control.focused,"primary"==fP._32(n,50).color,"accent"==fP._32(n,50).color,"warn"==fP._32(n,50).color,fP._32(n,50)._shouldForward("untouched"),fP._32(n,50)._shouldForward("touched"),fP._32(n,50)._shouldForward("pristine"),fP._32(n,50)._shouldForward("dirty"),fP._32(n,50)._shouldForward("valid"),fP._32(n,50)._shouldForward("invalid"),fP._32(n,50)._shouldForward("pending")]);l(n,59,1,[fP._32(n,64).ngClassUntouched,fP._32(n,64).ngClassTouched,fP._32(n,64).ngClassPristine,fP._32(n,64).ngClassDirty,fP._32(n,64).ngClassValid,fP._32(n,64).ngClassInvalid,fP._32(n,64).ngClassPending,fP._32(n,65)._isServer,fP._32(n,65).id,fP._32(n,65).placeholder,fP._32(n,65).disabled,fP._32(n,65).required,fP._32(n,65).readonly,fP._32(n,65)._ariaDescribedby||null,fP._32(n,65).errorState,fP._32(n,65).required.toString()]);l(n,69,1,[fP._32(n,70)._control.errorState,fP._32(n,70)._control.errorState,fP._32(n,70)._canLabelFloat,fP._32(n,70)._shouldLabelFloat(),fP._32(n,70)._hideControlPlaceholder(),fP._32(n,70)._control.disabled,fP._32(n,70)._control.focused,"primary"==fP._32(n,70).color,"accent"==fP._32(n,70).color,"warn"==fP._32(n,70).color,fP._32(n,70)._shouldForward("untouched"),fP._32(n,70)._shouldForward("touched"),fP._32(n,70)._shouldForward("pristine"),fP._32(n,70)._shouldForward("dirty"),fP._32(n,70)._shouldForward("valid"),fP._32(n,70)._shouldForward("invalid"),fP._32(n,70)._shouldForward("pending")]);l(n,79,1,[fP._32(n,82).ngClassUntouched,fP._32(n,82).ngClassTouched,fP._32(n,82).ngClassPristine,fP._32(n,82).ngClassDirty,fP._32(n,82).ngClassValid,fP._32(n,82).ngClassInvalid,fP._32(n,82).ngClassPending,fP._32(n,83).id,fP._32(n,83).tabIndex,fP._32(n,83)._ariaLabel,fP._32(n,83).ariaLabelledby,fP._32(n,83).required.toString(),fP._32(n,83).disabled.toString(),fP._32(n,83).errorState,fP._32(n,83).panelOpen?fP._32(n,83)._optionIds:null,fP._32(n,83).multiple,fP._32(n,83)._ariaDescribedby||null,fP._32(n,83)._getAriaActiveDescendant(),fP._32(n,83).disabled,fP._32(n,83).errorState,fP._32(n,83).required]);l(n,90,0,fP._32(n,91)._getTabIndex(),fP._32(n,91).selected,fP._32(n,91).multiple,fP._32(n,91).active,fP._32(n,91).id,fP._32(n,91).selected.toString(),fP._32(n,91).disabled.toString(),fP._32(n,91).disabled);l(n,99,1,[fP._32(n,100)._control.errorState,fP._32(n,100)._control.errorState,fP._32(n,100)._canLabelFloat,fP._32(n,100)._shouldLabelFloat(),fP._32(n,100)._hideControlPlaceholder(),fP._32(n,100)._control.disabled,fP._32(n,100)._control.focused,"primary"==fP._32(n,100).color,"accent"==fP._32(n,100).color,"warn"==fP._32(n,100).color,fP._32(n,100)._shouldForward("untouched"),fP._32(n,100)._shouldForward("touched"),fP._32(n,100)._shouldForward("pristine"),fP._32(n,100)._shouldForward("dirty"),fP._32(n,100)._shouldForward("valid"),fP._32(n,100)._shouldForward("invalid"),fP._32(n,100)._shouldForward("pending")]);l(n,109,1,[fP._32(n,114).ngClassUntouched,fP._32(n,114).ngClassTouched,fP._32(n,114).ngClassPristine,fP._32(n,114).ngClassDirty,fP._32(n,114).ngClassValid,fP._32(n,114).ngClassInvalid,fP._32(n,114).ngClassPending,fP._32(n,115)._isServer,fP._32(n,115).id,fP._32(n,115).placeholder,fP._32(n,115).disabled,fP._32(n,115).required,fP._32(n,115).readonly,fP._32(n,115)._ariaDescribedby||null,fP._32(n,115).errorState,fP._32(n,115).required.toString()]);l(n,119,1,[fP._32(n,120)._control.errorState,fP._32(n,120)._control.errorState,fP._32(n,120)._canLabelFloat,fP._32(n,120)._shouldLabelFloat(),fP._32(n,120)._hideControlPlaceholder(),fP._32(n,120)._control.disabled,fP._32(n,120)._control.focused,"primary"==fP._32(n,120).color,"accent"==fP._32(n,120).color,"warn"==fP._32(n,120).color,fP._32(n,120)._shouldForward("untouched"),fP._32(n,120)._shouldForward("touched"),fP._32(n,120)._shouldForward("pristine"),fP._32(n,120)._shouldForward("dirty"),fP._32(n,120)._shouldForward("valid"),fP._32(n,120)._shouldForward("invalid"),fP._32(n,120)._shouldForward("pending")]);l(n,129,1,[fP._32(n,132).ngClassUntouched,fP._32(n,132).ngClassTouched,fP._32(n,132).ngClassPristine,fP._32(n,132).ngClassDirty,fP._32(n,132).ngClassValid,fP._32(n,132).ngClassInvalid,fP._32(n,132).ngClassPending,fP._32(n,133).id,fP._32(n,133).tabIndex,fP._32(n,133)._ariaLabel,fP._32(n,133).ariaLabelledby,fP._32(n,133).required.toString(),fP._32(n,133).disabled.toString(),fP._32(n,133).errorState,fP._32(n,133).panelOpen?fP._32(n,133)._optionIds:null,fP._32(n,133).multiple,fP._32(n,133)._ariaDescribedby||null,fP._32(n,133)._getAriaActiveDescendant(),fP._32(n,133).disabled,fP._32(n,133).errorState,fP._32(n,133).required]);l(n,140,0,fP._32(n,141)._getTabIndex(),fP._32(n,141).selected,fP._32(n,141).multiple,fP._32(n,141).active,fP._32(n,141).id,fP._32(n,141).selected.toString(),fP._32(n,141).disabled.toString(),fP._32(n,141).disabled);l(n,153,1,[fP._32(n,154)._control.errorState,fP._32(n,154)._control.errorState,fP._32(n,154)._canLabelFloat,fP._32(n,154)._shouldLabelFloat(),fP._32(n,154)._hideControlPlaceholder(),fP._32(n,154)._control.disabled,fP._32(n,154)._control.focused,"primary"==fP._32(n,154).color,"accent"==fP._32(n,154).color,"warn"==fP._32(n,154).color,fP._32(n,154)._shouldForward("untouched"),fP._32(n,154)._shouldForward("touched"),fP._32(n,154)._shouldForward("pristine"),fP._32(n,154)._shouldForward("dirty"),fP._32(n,154)._shouldForward("valid"),fP._32(n,154)._shouldForward("invalid"),fP._32(n,154)._shouldForward("pending")]);l(n,163,1,[fP._32(n,165).minlength?fP._32(n,165).minlength:null,fP._32(n,166).maxlength?fP._32(n,166).maxlength:null,fP._32(n,171).ngClassUntouched,fP._32(n,171).ngClassTouched,fP._32(n,171).ngClassPristine,fP._32(n,171).ngClassDirty,fP._32(n,171).ngClassValid,fP._32(n,171).ngClassInvalid,fP._32(n,171).ngClassPending,fP._32(n,172)._isServer,fP._32(n,172).id,fP._32(n,172).placeholder,fP._32(n,172).disabled,fP._32(n,172).required,fP._32(n,172).readonly,fP._32(n,172)._ariaDescribedby||null,fP._32(n,172).errorState,fP._32(n,172).required.toString()]);l(n,175,0,fP._32(n,176).id);l(n,180,1,[fP._32(n,181)._control.errorState,fP._32(n,181)._control.errorState,fP._32(n,181)._canLabelFloat,fP._32(n,181)._shouldLabelFloat(),fP._32(n,181)._hideControlPlaceholder(),fP._32(n,181)._control.disabled,fP._32(n,181)._control.focused,"primary"==fP._32(n,181).color,"accent"==fP._32(n,181).color,"warn"==fP._32(n,181).color,fP._32(n,181)._shouldForward("untouched"),fP._32(n,181)._shouldForward("touched"),fP._32(n,181)._shouldForward("pristine"),fP._32(n,181)._shouldForward("dirty"),fP._32(n,181)._shouldForward("valid"),fP._32(n,181)._shouldForward("invalid"),fP._32(n,181)._shouldForward("pending")]);l(n,190,1,[fP._32(n,192).minlength?fP._32(n,192).minlength:null,fP._32(n,193).maxlength?fP._32(n,193).maxlength:null,fP._32(n,198).ngClassUntouched,fP._32(n,198).ngClassTouched,fP._32(n,198).ngClassPristine,fP._32(n,198).ngClassDirty,fP._32(n,198).ngClassValid,fP._32(n,198).ngClassInvalid,fP._32(n,198).ngClassPending,fP._32(n,199)._isServer,fP._32(n,199).id,fP._32(n,199).placeholder,fP._32(n,199).disabled,fP._32(n,199).required,fP._32(n,199).readonly,fP._32(n,199)._ariaDescribedby||null,fP._32(n,199).errorState,fP._32(n,199).required.toString()]);l(n,202,0,fP._32(n,203).id);l(n,208,1,[fP._32(n,209)._control.errorState,fP._32(n,209)._control.errorState,fP._32(n,209)._canLabelFloat,fP._32(n,209)._shouldLabelFloat(),fP._32(n,209)._hideControlPlaceholder(),fP._32(n,209)._control.disabled,fP._32(n,209)._control.focused,"primary"==fP._32(n,209).color,"accent"==fP._32(n,209).color,"warn"==fP._32(n,209).color,fP._32(n,209)._shouldForward("untouched"),fP._32(n,209)._shouldForward("touched"),fP._32(n,209)._shouldForward("pristine"),fP._32(n,209)._shouldForward("dirty"),fP._32(n,209)._shouldForward("valid"),fP._32(n,209)._shouldForward("invalid"),fP._32(n,209)._shouldForward("pending")]);l(n,218,1,[fP._32(n,220).minlength?fP._32(n,220).minlength:null,fP._32(n,221).maxlength?fP._32(n,221).maxlength:null,fP._32(n,226).ngClassUntouched,fP._32(n,226).ngClassTouched,fP._32(n,226).ngClassPristine,fP._32(n,226).ngClassDirty,fP._32(n,226).ngClassValid,fP._32(n,226).ngClassInvalid,fP._32(n,226).ngClassPending,fP._32(n,227)._isServer,fP._32(n,227).id,fP._32(n,227).placeholder,fP._32(n,227).disabled,fP._32(n,227).required,fP._32(n,227).readonly,fP._32(n,227)._ariaDescribedby||null,fP._32(n,227).errorState,fP._32(n,227).required.toString()]);l(n,230,0,fP._32(n,231).id);l(n,235,1,[fP._32(n,236)._control.errorState,fP._32(n,236)._control.errorState,fP._32(n,236)._canLabelFloat,fP._32(n,236)._shouldLabelFloat(),fP._32(n,236)._hideControlPlaceholder(),fP._32(n,236)._control.disabled,fP._32(n,236)._control.focused,"primary"==fP._32(n,236).color,"accent"==fP._32(n,236).color,"warn"==fP._32(n,236).color,fP._32(n,236)._shouldForward("untouched"),fP._32(n,236)._shouldForward("touched"),fP._32(n,236)._shouldForward("pristine"),fP._32(n,236)._shouldForward("dirty"),fP._32(n,236)._shouldForward("valid"),fP._32(n,236)._shouldForward("invalid"),fP._32(n,236)._shouldForward("pending")]);l(n,245,1,[fP._32(n,248).ngClassUntouched,fP._32(n,248).ngClassTouched,fP._32(n,248).ngClassPristine,fP._32(n,248).ngClassDirty,fP._32(n,248).ngClassValid,fP._32(n,248).ngClassInvalid,fP._32(n,248).ngClassPending,fP._32(n,249).id,fP._32(n,249).tabIndex,fP._32(n,249)._ariaLabel,fP._32(n,249).ariaLabelledby,fP._32(n,249).required.toString(),fP._32(n,249).disabled.toString(),fP._32(n,249).errorState,fP._32(n,249).panelOpen?fP._32(n,249)._optionIds:null,fP._32(n,249).multiple,fP._32(n,249)._ariaDescribedby||null,fP._32(n,249)._getAriaActiveDescendant(),fP._32(n,249).disabled,fP._32(n,249).errorState,fP._32(n,249).required]);l(n,256,0,fP._32(n,257)._getTabIndex(),fP._32(n,257).selected,fP._32(n,257).multiple,fP._32(n,257).active,fP._32(n,257).id,fP._32(n,257).selected.toString(),fP._32(n,257).disabled.toString(),fP._32(n,257).disabled);l(n,265,1,[fP._32(n,266)._control.errorState,fP._32(n,266)._control.errorState,fP._32(n,266)._canLabelFloat,fP._32(n,266)._shouldLabelFloat(),fP._32(n,266)._hideControlPlaceholder(),fP._32(n,266)._control.disabled,fP._32(n,266)._control.focused,"primary"==fP._32(n,266).color,"accent"==fP._32(n,266).color,"warn"==fP._32(n,266).color,fP._32(n,266)._shouldForward("untouched"),fP._32(n,266)._shouldForward("touched"),fP._32(n,266)._shouldForward("pristine"),fP._32(n,266)._shouldForward("dirty"),fP._32(n,266)._shouldForward("valid"),fP._32(n,266)._shouldForward("invalid"),fP._32(n,266)._shouldForward("pending")]);l(n,275,1,[fP._32(n,278).ngClassUntouched,fP._32(n,278).ngClassTouched,fP._32(n,278).ngClassPristine,fP._32(n,278).ngClassDirty,fP._32(n,278).ngClassValid,fP._32(n,278).ngClassInvalid,fP._32(n,278).ngClassPending,fP._32(n,279).id,fP._32(n,279).tabIndex,fP._32(n,279)._ariaLabel,fP._32(n,279).ariaLabelledby,fP._32(n,279).required.toString(),fP._32(n,279).disabled.toString(),fP._32(n,279).errorState,fP._32(n,279).panelOpen?fP._32(n,279)._optionIds:null,fP._32(n,279).multiple,fP._32(n,279)._ariaDescribedby||null,fP._32(n,279)._getAriaActiveDescendant(),fP._32(n,279).disabled,fP._32(n,279).errorState,fP._32(n,279).required]);l(n,286,0,fP._32(n,287)._getTabIndex(),fP._32(n,287).selected,fP._32(n,287).multiple,fP._32(n,287).active,fP._32(n,287).id,fP._32(n,287).selected.toString(),fP._32(n,287).disabled.toString(),fP._32(n,287).disabled);l(n,290,0,fP._32(n,291)._getTabIndex(),fP._32(n,291).selected,fP._32(n,291).multiple,fP._32(n,291).active,fP._32(n,291).id,fP._32(n,291).selected.toString(),fP._32(n,291).disabled.toString(),fP._32(n,291).disabled);l(n,294,0,fP._32(n,295)._getTabIndex(),fP._32(n,295).selected,fP._32(n,295).multiple,fP._32(n,295).active,fP._32(n,295).id,fP._32(n,295).selected.toString(),fP._32(n,295).disabled.toString(),fP._32(n,295).disabled);l(n,298,0,fP._32(n,299)._getTabIndex(),fP._32(n,299).selected,fP._32(n,299).multiple,fP._32(n,299).active,fP._32(n,299).id,fP._32(n,299).selected.toString(),fP._32(n,299).disabled.toString(),fP._32(n,299).disabled)})}function Bm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,108,{_control:0}),fP._38(335544320,109,{_placeholderChild:0}),fP._38(335544320,110,{_labelChild:0}),fP._38(603979776,111,{_errorChildren:1}),fP._38(603979776,112,{_hintChildren:1}),fP._38(603979776,113,{_prefixChildren:1}),fP._38(603979776,114,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_raw_materials_total_payments_percent_on_credit"],["matInput",""],["maxlength","3"],["placeholder","What % of Total Purchase is Done on Credit?"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(15,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[108,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"3");l(n,18,0,"main_raw_materials_total_payments_percent_on_credit");l(n,21,0,"What % of Total Purchase is Done on Credit?","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).maxlength?fP._32(n,15).maxlength:null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function Rm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","main_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$m)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bm)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"main_raw_materials");l(n,11,0,n.context.$implicit.controls.main_raw_materials.controls);l(n,15,0,e.mfgCreditCardFlag)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function Um(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Manufacturing Product Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(10,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(11,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(13,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rm)),fP._17(16,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"manufacturing_details");l(n,16,0,e.supplierInfoForm.controls.manufacturing_details.controls)},function(l,n){l(n,10,0,fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending)})}function Mm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[122,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Km(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[139,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[156,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Gm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,159,{_control:0}),fP._38(335544320,160,{_placeholderChild:0}),fP._38(335544320,161,{_labelChild:0}),fP._38(603979776,162,{_errorChildren:1}),fP._38(603979776,163,{_hintChildren:1}),fP._38(603979776,164,{_prefixChildren:1}),fP._38(603979776,165,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[159,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function zm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[194,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ym(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,207,{_control:0}),fP._38(335544320,208,{_placeholderChild:0}),fP._38(335544320,209,{_labelChild:0}),fP._38(603979776,210,{_errorChildren:1}),fP._38(603979776,211,{_hintChildren:1}),fP._38(603979776,212,{_prefixChildren:1}),fP._38(603979776,213,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[207,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,214,{_control:0}),fP._38(335544320,215,{_placeholderChild:0}),fP._38(335544320,216,{_labelChild:0}),fP._38(603979776,217,{_errorChildren:1}),fP._38(603979776,218,{_hintChildren:1}),fP._38(603979776,219,{_prefixChildren:1}),fP._38(603979776,220,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[214,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"trade_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"trade_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function Qm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeTradingProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Jm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoretradeProduct(e);u=!1}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Xm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,339,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,5,"div",[["style","width: 85%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.g,[],null,null),(l()(),fP._40(12,null,["Trading Product #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(17,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureTheSupplierPics("Trading Product",l.context.index,l.context.$implicit.get("trade_supplier_name").value)&&u}return u},WV.b,WV.a)),fP._17(18,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(19,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(24,0,null,null,295,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,291,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,115,{_control:0}),fP._38(335544320,116,{_placeholderChild:0}),fP._38(335544320,117,{_labelChild:0}),fP._38(603979776,118,{_errorChildren:1}),fP._38(603979776,119,{_hintChildren:1}),fP._38(603979776,120,{_prefixChildren:1}),fP._38(603979776,121,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","trade_product_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,43)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,122,{options:1}),fP._38(603979776,123,{optionGroups:1}),fP._38(335544320,124,{customTrigger:0}),fP._37(2048,[[115,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,51)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(51,8437760,[[122,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Mm)),fP._17(55,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(60,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,125,{_control:0}),fP._38(335544320,126,{_placeholderChild:0}),fP._38(335544320,127,{_labelChild:0}),fP._38(603979776,128,{_errorChildren:1}),fP._38(603979776,129,{_hintChildren:1}),fP._38(603979776,130,{_prefixChildren:1}),fP._38(603979776,131,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,70)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(70,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[125,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,132,{_control:0}),fP._38(335544320,133,{_placeholderChild:0}),fP._38(335544320,134,{_labelChild:0}),fP._38(603979776,135,{_errorChildren:1}),fP._38(603979776,136,{_hintChildren:1}),fP._38(603979776,137,{_prefixChildren:1}),fP._38(603979776,138,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,139,{options:1}),fP._38(603979776,140,{optionGroups:1}),fP._38(335544320,141,{customTrigger:0}),fP._37(2048,[[132,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[139,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Km)),fP._17(105,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(109,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(110,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,142,{_control:0}),fP._38(335544320,143,{_placeholderChild:0}),fP._38(335544320,144,{_labelChild:0}),fP._38(603979776,145,{_errorChildren:1}),fP._38(603979776,146,{_hintChildren:1}),fP._38(603979776,147,{_prefixChildren:1}),fP._38(603979776,148,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(119,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_name"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Name"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,120)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,120).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,120)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,120)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,127)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,127)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,127)._onInput()&&u}return u},null,null)),fP._17(120,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(121,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(124,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(126,16384,null,0,EP.s,[EP.r],null,null),fP._17(127,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[142,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(131,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(132,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,149,{_control:0}),fP._38(335544320,150,{_placeholderChild:0}),fP._38(335544320,151,{_labelChild:0}),fP._38(603979776,152,{_errorChildren:1}),fP._38(603979776,153,{_hintChildren:1}),fP._38(603979776,154,{_prefixChildren:1}),fP._38(603979776,155,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(141,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,145)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,145)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,145)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},tN.b,tN.a)),fP._17(142,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(144,16384,null,0,EP.s,[EP.r],null,null),fP._17(145,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,156,{options:1}),fP._38(603979776,157,{optionGroups:1}),fP._38(335544320,158,{customTrigger:0}),fP._37(2048,[[149,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(152,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,153)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,153)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(153,8437760,[[156,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Hm)),fP._17(157,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gm)),fP._17(163,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(165,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(166,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,166,{_control:0}),fP._38(335544320,167,{_placeholderChild:0}),fP._38(335544320,168,{_labelChild:0}),fP._38(603979776,169,{_errorChildren:1}),fP._38(603979776,170,{_hintChildren:1}),fP._38(603979776,171,{_prefixChildren:1}),fP._38(603979776,172,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(175,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Contact Person Mobile Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,176)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,176).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,176)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,176)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,184)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,184)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,184)._onInput()&&u}return u},null,null)),fP._17(176,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(177,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(178,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(181,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(183,16384,null,0,EP.s,[EP.r],null,null),fP._17(184,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[166,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(187,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(188,16384,[[169,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(192,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(193,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,173,{_control:0}),fP._38(335544320,174,{_placeholderChild:0}),fP._38(335544320,175,{_labelChild:0}),fP._38(603979776,176,{_errorChildren:1}),fP._38(603979776,177,{_hintChildren:1}),fP._38(603979776,178,{_prefixChildren:1}),fP._38(603979776,179,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(202,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,203)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,203).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,203)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,203)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,211)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,211)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,211)._onInput()&&u}return u},null,null)),fP._17(203,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(204,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(205,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(208,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(210,16384,null,0,EP.s,[EP.r],null,null),fP._17(211,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[173,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(214,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(215,16384,[[176,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid STD Code Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(220,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(221,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,180,{_control:0}),fP._38(335544320,181,{_placeholderChild:0}),fP._38(335544320,182,{_labelChild:0}),fP._38(603979776,183,{_errorChildren:1}),fP._38(603979776,184,{_hintChildren:1}),fP._38(603979776,185,{_prefixChildren:1}),fP._38(603979776,186,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(230,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Contact Person Landline Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,231)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,231).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,231)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,231)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,239)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,239)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,239)._onInput()&&u}return u},null,null)),fP._17(231,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(232,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(233,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(236,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(238,16384,null,0,EP.s,[EP.r],null,null),fP._17(239,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[180,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(242,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(243,16384,[[183,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid LandLine Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(247,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(248,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,187,{_control:0}),fP._38(335544320,188,{_placeholderChild:0}),fP._38(335544320,189,{_labelChild:0}),fP._38(603979776,190,{_errorChildren:1}),fP._38(603979776,191,{_hintChildren:1}),fP._38(603979776,192,{_prefixChildren:1}),fP._38(603979776,193,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(257,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,261)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,261)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,261)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,2);u=!1!==t.checkCard(e.value,2,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(258,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(260,16384,null,0,EP.s,[EP.r],null,null),fP._17(261,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,194,{options:1}),fP._38(603979776,195,{optionGroups:1}),fP._38(335544320,196,{customTrigger:0}),fP._37(2048,[[187,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(268,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,269)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,269)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(269,8437760,[[194,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,zm)),fP._17(273,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(277,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(278,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,197,{_control:0}),fP._38(335544320,198,{_placeholderChild:0}),fP._38(335544320,199,{_labelChild:0}),fP._38(603979776,200,{_errorChildren:1}),fP._38(603979776,201,{_hintChildren:1}),fP._38(603979776,202,{_prefixChildren:1}),fP._38(603979776,203,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(287,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,291)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,291)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,291)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(288,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(290,16384,null,0,EP.s,[EP.r],null,null),fP._17(291,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,204,{options:1}),fP._38(603979776,205,{optionGroups:1}),fP._38(335544320,206,{customTrigger:0}),fP._37(2048,[[197,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(298,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,299)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,299)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(299,8437760,[[204,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(302,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,303)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,303)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(303,8437760,[[204,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made in Cash."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(306,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,307)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,307)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(307,8437760,[[204,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made through Banking\n channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(310,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Cash and Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,311)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,311)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(311,8437760,[[204,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made through Cash and Banking Channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ym)),fP._17(317,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(321,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(322,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,221,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(325,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(326,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qm)),fP._17(329,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(332,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(333,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jm)),fP._17(336,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,18,0,"optblue");l(n,20,0,"md-camera");l(n,40,0,"trade_product_name");l(n,43,0,"Trading Product Name");l(n,55,0,e.business_tradingProducts);l(n,72,0,"trade_supplier_name");l(n,75,0,"Supplier Name");l(n,90,0,"person_title_name");l(n,93,0,"Title");l(n,105,0,e.m_titleList);l(n,121,0,"10");l(n,124,0,"trade_product_contact_person_name");l(n,127,0,"Contact Person Name");l(n,142,0,"person_designation");l(n,145,0,"Contact Person Designation");l(n,157,0,e.m_companyRelationShipList);l(n,163,0,1==n.context.$implicit.get("person_designation").value);l(n,177,0,"10");l(n,178,0,"10");l(n,181,0,"trade_product_contact_person_mobile_number");l(n,184,0,"Contact Person Mobile Number","tel");l(n,204,0,"3");l(n,205,0,"5");l(n,208,0,"person_stdcode");l(n,211,0,"STD Code","tel");l(n,232,0,"6");l(n,233,0,"8");l(n,236,0,"person_landline");l(n,239,0,"Contact Person Landline Number","tel");l(n,258,0,"trade_product_payment_type");l(n,261,0,"Payment Terms");l(n,273,0,e.m_paymentList);l(n,288,0,"trade_product_payment_mode");l(n,291,0,"Payment Mode");l(n,303,0,"Payment made in Cash.");l(n,307,0,"Payment made through Banking channels.");l(n,311,0,"Payment made through Cash and Banking channels.");l(n,317,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,329,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,336,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,19,0,fP._32(n,20)._hidden);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43).id,fP._32(n,43).tabIndex,fP._32(n,43)._ariaLabel,fP._32(n,43).ariaLabelledby,fP._32(n,43).required.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).errorState,fP._32(n,43).panelOpen?fP._32(n,43)._optionIds:null,fP._32(n,43).multiple,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43)._getAriaActiveDescendant(),fP._32(n,43).disabled,fP._32(n,43).errorState,fP._32(n,43).required]);l(n,50,0,fP._32(n,51)._getTabIndex(),fP._32(n,51).selected,fP._32(n,51).multiple,fP._32(n,51).active,fP._32(n,51).id,fP._32(n,51).selected.toString(),fP._32(n,51).disabled.toString(),fP._32(n,51).disabled);l(n,59,1,[fP._32(n,60)._control.errorState,fP._32(n,60)._control.errorState,fP._32(n,60)._canLabelFloat,fP._32(n,60)._shouldLabelFloat(),fP._32(n,60)._hideControlPlaceholder(),fP._32(n,60)._control.disabled,fP._32(n,60)._control.focused,"primary"==fP._32(n,60).color,"accent"==fP._32(n,60).color,"warn"==fP._32(n,60).color,fP._32(n,60)._shouldForward("untouched"),fP._32(n,60)._shouldForward("touched"),fP._32(n,60)._shouldForward("pristine"),fP._32(n,60)._shouldForward("dirty"),fP._32(n,60)._shouldForward("valid"),fP._32(n,60)._shouldForward("invalid"),fP._32(n,60)._shouldForward("pending")]);l(n,69,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()]);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,89,1,[fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,109,1,[fP._32(n,110)._control.errorState,fP._32(n,110)._control.errorState,fP._32(n,110)._canLabelFloat,fP._32(n,110)._shouldLabelFloat(),fP._32(n,110)._hideControlPlaceholder(),fP._32(n,110)._control.disabled,fP._32(n,110)._control.focused,"primary"==fP._32(n,110).color,"accent"==fP._32(n,110).color,"warn"==fP._32(n,110).color,fP._32(n,110)._shouldForward("untouched"),fP._32(n,110)._shouldForward("touched"),fP._32(n,110)._shouldForward("pristine"),fP._32(n,110)._shouldForward("dirty"),fP._32(n,110)._shouldForward("valid"),fP._32(n,110)._shouldForward("invalid"),fP._32(n,110)._shouldForward("pending")]);l(n,119,1,[fP._32(n,121).maxlength?fP._32(n,121).maxlength:null,fP._32(n,126).ngClassUntouched,fP._32(n,126).ngClassTouched,fP._32(n,126).ngClassPristine,fP._32(n,126).ngClassDirty,fP._32(n,126).ngClassValid,fP._32(n,126).ngClassInvalid,fP._32(n,126).ngClassPending,fP._32(n,127)._isServer,fP._32(n,127).id,fP._32(n,127).placeholder,fP._32(n,127).disabled,fP._32(n,127).required,fP._32(n,127).readonly,fP._32(n,127)._ariaDescribedby||null,fP._32(n,127).errorState,fP._32(n,127).required.toString()]);l(n,131,1,[fP._32(n,132)._control.errorState,fP._32(n,132)._control.errorState,fP._32(n,132)._canLabelFloat,fP._32(n,132)._shouldLabelFloat(),fP._32(n,132)._hideControlPlaceholder(),fP._32(n,132)._control.disabled,fP._32(n,132)._control.focused,"primary"==fP._32(n,132).color,"accent"==fP._32(n,132).color,"warn"==fP._32(n,132).color,fP._32(n,132)._shouldForward("untouched"),fP._32(n,132)._shouldForward("touched"),fP._32(n,132)._shouldForward("pristine"),fP._32(n,132)._shouldForward("dirty"),fP._32(n,132)._shouldForward("valid"),fP._32(n,132)._shouldForward("invalid"),fP._32(n,132)._shouldForward("pending")]);l(n,141,1,[fP._32(n,144).ngClassUntouched,fP._32(n,144).ngClassTouched,fP._32(n,144).ngClassPristine,fP._32(n,144).ngClassDirty,fP._32(n,144).ngClassValid,fP._32(n,144).ngClassInvalid,fP._32(n,144).ngClassPending,fP._32(n,145).id,fP._32(n,145).tabIndex,fP._32(n,145)._ariaLabel,fP._32(n,145).ariaLabelledby,fP._32(n,145).required.toString(),fP._32(n,145).disabled.toString(),fP._32(n,145).errorState,fP._32(n,145).panelOpen?fP._32(n,145)._optionIds:null,fP._32(n,145).multiple,fP._32(n,145)._ariaDescribedby||null,fP._32(n,145)._getAriaActiveDescendant(),fP._32(n,145).disabled,fP._32(n,145).errorState,fP._32(n,145).required]);l(n,152,0,fP._32(n,153)._getTabIndex(),fP._32(n,153).selected,fP._32(n,153).multiple,fP._32(n,153).active,fP._32(n,153).id,fP._32(n,153).selected.toString(),fP._32(n,153).disabled.toString(),fP._32(n,153).disabled);l(n,165,1,[fP._32(n,166)._control.errorState,fP._32(n,166)._control.errorState,fP._32(n,166)._canLabelFloat,fP._32(n,166)._shouldLabelFloat(),fP._32(n,166)._hideControlPlaceholder(),fP._32(n,166)._control.disabled,fP._32(n,166)._control.focused,"primary"==fP._32(n,166).color,"accent"==fP._32(n,166).color,"warn"==fP._32(n,166).color,fP._32(n,166)._shouldForward("untouched"),fP._32(n,166)._shouldForward("touched"),fP._32(n,166)._shouldForward("pristine"),fP._32(n,166)._shouldForward("dirty"),fP._32(n,166)._shouldForward("valid"),fP._32(n,166)._shouldForward("invalid"),fP._32(n,166)._shouldForward("pending")]);l(n,175,1,[fP._32(n,177).minlength?fP._32(n,177).minlength:null,fP._32(n,178).maxlength?fP._32(n,178).maxlength:null,fP._32(n,183).ngClassUntouched,fP._32(n,183).ngClassTouched,fP._32(n,183).ngClassPristine,fP._32(n,183).ngClassDirty,fP._32(n,183).ngClassValid,fP._32(n,183).ngClassInvalid,fP._32(n,183).ngClassPending,fP._32(n,184)._isServer,fP._32(n,184).id,fP._32(n,184).placeholder,fP._32(n,184).disabled,fP._32(n,184).required,fP._32(n,184).readonly,fP._32(n,184)._ariaDescribedby||null,fP._32(n,184).errorState,fP._32(n,184).required.toString()]);l(n,187,0,fP._32(n,188).id);l(n,192,1,[fP._32(n,193)._control.errorState,fP._32(n,193)._control.errorState,fP._32(n,193)._canLabelFloat,fP._32(n,193)._shouldLabelFloat(),fP._32(n,193)._hideControlPlaceholder(),fP._32(n,193)._control.disabled,fP._32(n,193)._control.focused,"primary"==fP._32(n,193).color,"accent"==fP._32(n,193).color,"warn"==fP._32(n,193).color,fP._32(n,193)._shouldForward("untouched"),fP._32(n,193)._shouldForward("touched"),fP._32(n,193)._shouldForward("pristine"),fP._32(n,193)._shouldForward("dirty"),fP._32(n,193)._shouldForward("valid"),fP._32(n,193)._shouldForward("invalid"),fP._32(n,193)._shouldForward("pending")]);l(n,202,1,[fP._32(n,204).minlength?fP._32(n,204).minlength:null,fP._32(n,205).maxlength?fP._32(n,205).maxlength:null,fP._32(n,210).ngClassUntouched,fP._32(n,210).ngClassTouched,fP._32(n,210).ngClassPristine,fP._32(n,210).ngClassDirty,fP._32(n,210).ngClassValid,fP._32(n,210).ngClassInvalid,fP._32(n,210).ngClassPending,fP._32(n,211)._isServer,fP._32(n,211).id,fP._32(n,211).placeholder,fP._32(n,211).disabled,fP._32(n,211).required,fP._32(n,211).readonly,fP._32(n,211)._ariaDescribedby||null,fP._32(n,211).errorState,fP._32(n,211).required.toString()]);l(n,214,0,fP._32(n,215).id);l(n,220,1,[fP._32(n,221)._control.errorState,fP._32(n,221)._control.errorState,fP._32(n,221)._canLabelFloat,fP._32(n,221)._shouldLabelFloat(),fP._32(n,221)._hideControlPlaceholder(),fP._32(n,221)._control.disabled,fP._32(n,221)._control.focused,"primary"==fP._32(n,221).color,"accent"==fP._32(n,221).color,"warn"==fP._32(n,221).color,fP._32(n,221)._shouldForward("untouched"),fP._32(n,221)._shouldForward("touched"),fP._32(n,221)._shouldForward("pristine"),fP._32(n,221)._shouldForward("dirty"),fP._32(n,221)._shouldForward("valid"),fP._32(n,221)._shouldForward("invalid"),fP._32(n,221)._shouldForward("pending")]);l(n,230,1,[fP._32(n,232).minlength?fP._32(n,232).minlength:null,fP._32(n,233).maxlength?fP._32(n,233).maxlength:null,fP._32(n,238).ngClassUntouched,fP._32(n,238).ngClassTouched,fP._32(n,238).ngClassPristine,fP._32(n,238).ngClassDirty,fP._32(n,238).ngClassValid,fP._32(n,238).ngClassInvalid,fP._32(n,238).ngClassPending,fP._32(n,239)._isServer,fP._32(n,239).id,fP._32(n,239).placeholder,fP._32(n,239).disabled,fP._32(n,239).required,fP._32(n,239).readonly,fP._32(n,239)._ariaDescribedby||null,fP._32(n,239).errorState,fP._32(n,239).required.toString()]);l(n,242,0,fP._32(n,243).id);l(n,247,1,[fP._32(n,248)._control.errorState,fP._32(n,248)._control.errorState,fP._32(n,248)._canLabelFloat,fP._32(n,248)._shouldLabelFloat(),fP._32(n,248)._hideControlPlaceholder(),fP._32(n,248)._control.disabled,fP._32(n,248)._control.focused,"primary"==fP._32(n,248).color,"accent"==fP._32(n,248).color,"warn"==fP._32(n,248).color,fP._32(n,248)._shouldForward("untouched"),fP._32(n,248)._shouldForward("touched"),fP._32(n,248)._shouldForward("pristine"),fP._32(n,248)._shouldForward("dirty"),fP._32(n,248)._shouldForward("valid"),fP._32(n,248)._shouldForward("invalid"),fP._32(n,248)._shouldForward("pending")]);l(n,257,1,[fP._32(n,260).ngClassUntouched,fP._32(n,260).ngClassTouched,fP._32(n,260).ngClassPristine,fP._32(n,260).ngClassDirty,fP._32(n,260).ngClassValid,fP._32(n,260).ngClassInvalid,fP._32(n,260).ngClassPending,fP._32(n,261).id,fP._32(n,261).tabIndex,fP._32(n,261)._ariaLabel,fP._32(n,261).ariaLabelledby,fP._32(n,261).required.toString(),fP._32(n,261).disabled.toString(),fP._32(n,261).errorState,fP._32(n,261).panelOpen?fP._32(n,261)._optionIds:null,fP._32(n,261).multiple,fP._32(n,261)._ariaDescribedby||null,fP._32(n,261)._getAriaActiveDescendant(),fP._32(n,261).disabled,fP._32(n,261).errorState,fP._32(n,261).required]);l(n,268,0,fP._32(n,269)._getTabIndex(),fP._32(n,269).selected,fP._32(n,269).multiple,fP._32(n,269).active,fP._32(n,269).id,fP._32(n,269).selected.toString(),fP._32(n,269).disabled.toString(),fP._32(n,269).disabled);l(n,277,1,[fP._32(n,278)._control.errorState,fP._32(n,278)._control.errorState,fP._32(n,278)._canLabelFloat,fP._32(n,278)._shouldLabelFloat(),fP._32(n,278)._hideControlPlaceholder(),fP._32(n,278)._control.disabled,fP._32(n,278)._control.focused,"primary"==fP._32(n,278).color,"accent"==fP._32(n,278).color,"warn"==fP._32(n,278).color,fP._32(n,278)._shouldForward("untouched"),fP._32(n,278)._shouldForward("touched"),fP._32(n,278)._shouldForward("pristine"),fP._32(n,278)._shouldForward("dirty"),fP._32(n,278)._shouldForward("valid"),fP._32(n,278)._shouldForward("invalid"),fP._32(n,278)._shouldForward("pending")]);l(n,287,1,[fP._32(n,290).ngClassUntouched,fP._32(n,290).ngClassTouched,fP._32(n,290).ngClassPristine,fP._32(n,290).ngClassDirty,fP._32(n,290).ngClassValid,fP._32(n,290).ngClassInvalid,fP._32(n,290).ngClassPending,fP._32(n,291).id,fP._32(n,291).tabIndex,fP._32(n,291)._ariaLabel,fP._32(n,291).ariaLabelledby,fP._32(n,291).required.toString(),fP._32(n,291).disabled.toString(),fP._32(n,291).errorState,fP._32(n,291).panelOpen?fP._32(n,291)._optionIds:null,fP._32(n,291).multiple,fP._32(n,291)._ariaDescribedby||null,fP._32(n,291)._getAriaActiveDescendant(),fP._32(n,291).disabled,fP._32(n,291).errorState,fP._32(n,291).required]);l(n,298,0,fP._32(n,299)._getTabIndex(),fP._32(n,299).selected,fP._32(n,299).multiple,fP._32(n,299).active,fP._32(n,299).id,fP._32(n,299).selected.toString(),fP._32(n,299).disabled.toString(),fP._32(n,299).disabled);l(n,302,0,fP._32(n,303)._getTabIndex(),fP._32(n,303).selected,fP._32(n,303).multiple,fP._32(n,303).active,fP._32(n,303).id,fP._32(n,303).selected.toString(),fP._32(n,303).disabled.toString(),fP._32(n,303).disabled);l(n,306,0,fP._32(n,307)._getTabIndex(),fP._32(n,307).selected,fP._32(n,307).multiple,fP._32(n,307).active,fP._32(n,307).id,fP._32(n,307).selected.toString(),fP._32(n,307).disabled.toString(),fP._32(n,307).disabled);l(n,310,0,fP._32(n,311)._getTabIndex(),fP._32(n,311).selected,fP._32(n,311).multiple,fP._32(n,311).active,fP._32(n,311).id,fP._32(n,311).selected.toString(),fP._32(n,311).disabled.toString(),fP._32(n,311).disabled)})}function Zm(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,222,{_control:0}),fP._38(335544320,223,{_placeholderChild:0}),fP._38(335544320,224,{_labelChild:0}),fP._38(603979776,225,{_errorChildren:1}),fP._38(603979776,226,{_hintChildren:1}),fP._38(603979776,227,{_prefixChildren:1}),fP._38(603979776,228,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trading_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What % of Total Purchase is done on Credit?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[222,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What % of Total Purchase is done on Credit?","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function lp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","trading_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xm)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zm)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"trading_products");l(n,11,0,n.context.$implicit.controls.trading_products.controls);l(n,15,0,e.trdCreditCardFlag)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function np(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Trading Product Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(10,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(11,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(13,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lp)),fP._17(16,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"trade_details");l(n,16,0,e.supplierInfoForm.controls.trade_details.controls)},function(l,n){l(n,10,0,fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending)})}function ep(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[236,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function up(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[253,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function tp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[270,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ap(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,273,{_control:0}),fP._38(335544320,274,{_placeholderChild:0}),fP._38(335544320,275,{_labelChild:0}),fP._38(603979776,276,{_errorChildren:1}),fP._38(603979776,277,{_hintChildren:1}),fP._38(603979776,278,{_prefixChildren:1}),fP._38(603979776,279,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[273,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function ip(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[308,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function op(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,321,{_control:0}),fP._38(335544320,322,{_placeholderChild:0}),fP._38(335544320,323,{_labelChild:0}),fP._38(603979776,324,{_errorChildren:1}),fP._38(603979776,325,{_hintChildren:1}),fP._38(603979776,326,{_prefixChildren:1}),fP._38(603979776,327,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[321,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,328,{_control:0}),fP._38(335544320,329,{_placeholderChild:0}),fP._38(335544320,330,{_labelChild:0}),fP._38(603979776,331,{_errorChildren:1}),fP._38(603979776,332,{_hintChildren:1}),fP._38(603979776,333,{_prefixChildren:1}),fP._38(603979776,334,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[328,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"service_provider_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"service_provider_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function rp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProvider(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function _p(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreServiceProvider(e);u=!1}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function dp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,339,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,5,"div",[["style","width: 85%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.g,[],null,null),(l()(),fP._40(12,null,["Service Provider #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(15,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(17,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureTheSupplierPics("Service Provider",l.context.index,l.context.$implicit.get("service_provider_supplier_name").value)&&u}return u},WV.b,WV.a)),fP._17(18,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(19,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,295,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,291,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,229,{_control:0}),fP._38(335544320,230,{_placeholderChild:0}),fP._38(335544320,231,{_labelChild:0}),fP._38(603979776,232,{_errorChildren:1}),fP._38(603979776,233,{_hintChildren:1}),fP._38(603979776,234,{_prefixChildren:1}),fP._38(603979776,235,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(39,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","service_provider_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,43)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,236,{options:1}),fP._38(603979776,237,{optionGroups:1}),fP._38(335544320,238,{customTrigger:0}),fP._37(2048,[[229,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,51)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(51,8437760,[[236,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ep)),fP._17(55,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(60,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,239,{_control:0}),fP._38(335544320,240,{_placeholderChild:0}),fP._38(335544320,241,{_labelChild:0}),fP._38(603979776,242,{_errorChildren:1}),fP._38(603979776,243,{_hintChildren:1}),fP._38(603979776,244,{_prefixChildren:1}),fP._38(603979776,245,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,70)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(70,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[239,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,246,{_control:0}),fP._38(335544320,247,{_placeholderChild:0}),fP._38(335544320,248,{_labelChild:0}),fP._38(603979776,249,{_errorChildren:1}),fP._38(603979776,250,{_hintChildren:1}),fP._38(603979776,251,{_prefixChildren:1}),fP._38(603979776,252,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,253,{options:1}),fP._38(603979776,254,{optionGroups:1}),fP._38(335544320,255,{customTrigger:0}),fP._37(2048,[[246,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[253,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,up)),fP._17(105,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(109,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(110,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,256,{_control:0}),fP._38(335544320,257,{_placeholderChild:0}),fP._38(335544320,258,{_labelChild:0}),fP._38(603979776,259,{_errorChildren:1}),fP._38(603979776,260,{_hintChildren:1}),fP._38(603979776,261,{_prefixChildren:1}),fP._38(603979776,262,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(119,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_contact_person_name"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Name"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,120)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,120).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,120)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,120)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,127)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,127)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,127)._onInput()&&u}return u},null,null)),fP._17(120,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(121,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(124,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(126,16384,null,0,EP.s,[EP.r],null,null),fP._17(127,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[256,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(131,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(132,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,263,{_control:0}),fP._38(335544320,264,{_placeholderChild:0}),fP._38(335544320,265,{_labelChild:0}),fP._38(603979776,266,{_errorChildren:1}),fP._38(603979776,267,{_hintChildren:1}),fP._38(603979776,268,{_prefixChildren:1}),fP._38(603979776,269,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(141,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,145)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,145)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,145)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,3)&&u}return u},tN.b,tN.a)),fP._17(142,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(144,16384,null,0,EP.s,[EP.r],null,null),fP._17(145,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,270,{options:1}),fP._38(603979776,271,{optionGroups:1}),fP._38(335544320,272,{customTrigger:0}),fP._37(2048,[[263,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(152,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,153)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,153)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(153,8437760,[[270,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,tp)),fP._17(157,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ap)),fP._17(163,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(165,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(166,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,280,{_control:0}),fP._38(335544320,281,{_placeholderChild:0}),fP._38(335544320,282,{_labelChild:0}),fP._38(603979776,283,{_errorChildren:1}),fP._38(603979776,284,{_hintChildren:1}),fP._38(603979776,285,{_prefixChildren:1}),fP._38(603979776,286,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(175,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Contact Person Mobile Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,176)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,176).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,176)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,176)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,184)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,184)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,184)._onInput()&&u}return u},null,null)),fP._17(176,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(177,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(178,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(181,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(183,16384,null,0,EP.s,[EP.r],null,null),fP._17(184,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[280,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(187,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(188,16384,[[283,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(192,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(193,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,287,{_control:0}),fP._38(335544320,288,{_placeholderChild:0}),fP._38(335544320,289,{_labelChild:0}),fP._38(603979776,290,{_errorChildren:1}),fP._38(603979776,291,{_hintChildren:1}),fP._38(603979776,292,{_prefixChildren:1}),fP._38(603979776,293,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(202,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,203)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,203).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,203)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,203)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,211)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,211)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,211)._onInput()&&u}return u},null,null)),fP._17(203,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(204,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(205,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(208,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(210,16384,null,0,EP.s,[EP.r],null,null),fP._17(211,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[287,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(214,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(215,16384,[[290,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid STD Code Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(220,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(221,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,294,{_control:0}),fP._38(335544320,295,{_placeholderChild:0}),fP._38(335544320,296,{_labelChild:0}),fP._38(603979776,297,{_errorChildren:1}),fP._38(603979776,298,{_hintChildren:1}),fP._38(603979776,299,{_prefixChildren:1}),fP._38(603979776,300,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(230,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Contact Person Landline Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,231)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,231).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,231)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,231)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,239)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,239)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,239)._onInput()&&u}return u},null,null)),fP._17(231,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(232,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(233,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(236,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(238,16384,null,0,EP.s,[EP.r],null,null),fP._17(239,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[294,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(242,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(243,16384,[[297,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid LandLine Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(247,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(248,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,301,{_control:0}),fP._38(335544320,302,{_placeholderChild:0}),fP._38(335544320,303,{_labelChild:0}),fP._38(603979776,304,{_errorChildren:1}),fP._38(603979776,305,{_hintChildren:1}),fP._38(603979776,306,{_prefixChildren:1}),fP._38(603979776,307,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(257,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","service_provider_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,261)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,261)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,261)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,3);u=!1!==t.checkCard(e.value,3,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(258,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(260,16384,null,0,EP.s,[EP.r],null,null),fP._17(261,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,308,{options:1}),fP._38(603979776,309,{optionGroups:1}),fP._38(335544320,310,{customTrigger:0}),fP._37(2048,[[301,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(268,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,269)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,269)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(269,8437760,[[308,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ip)),fP._17(273,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(277,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(278,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,311,{_control:0}),fP._38(335544320,312,{_placeholderChild:0}),fP._38(335544320,313,{_labelChild:0}),fP._38(603979776,314,{_errorChildren:1}),fP._38(603979776,315,{_hintChildren:1}),fP._38(603979776,316,{_prefixChildren:1}),fP._38(603979776,317,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(287,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","service_provider_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,291)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,291)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,291)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(288,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(290,16384,null,0,EP.s,[EP.r],null,null),fP._17(291,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,318,{options:1}),fP._38(603979776,319,{optionGroups:1}),fP._38(335544320,320,{customTrigger:0}),fP._37(2048,[[311,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(298,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,299)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,299)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(299,8437760,[[318,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(302,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,303)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,303)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(303,8437760,[[318,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made in Cash."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(306,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,307)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,307)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(307,8437760,[[318,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made through Banking\n channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(310,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Cash and Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,311)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,311)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(311,8437760,[[318,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment made through Cash and Banking Channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,op)),fP._17(317,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(321,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(322,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,335,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(325,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(326,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rp)),fP._17(329,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(332,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(333,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,_p)),fP._17(336,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,18,0,"optblue");l(n,20,0,"md-camera");l(n,40,0,"service_provider_name");l(n,43,0,"Trading Product Name");l(n,55,0,e.business_serviceProvider);l(n,72,0,"service_provider_supplier_name");l(n,75,0,"Supplier Name");l(n,90,0,"person_title_name");l(n,93,0,"Title");l(n,105,0,e.m_titleList);l(n,121,0,"10");l(n,124,0,"service_provider_contact_person_name");l(n,127,0,"Contact Person Name");l(n,142,0,"person_designation");l(n,145,0,"Contact Person Designation");l(n,157,0,e.m_companyRelationShipList);l(n,163,0,1==n.context.$implicit.get("person_designation").value);l(n,177,0,"10");l(n,178,0,"10");l(n,181,0,"service_provider_contact_person_mobile_number");l(n,184,0,"Contact Person Mobile Number","tel");l(n,204,0,"3");l(n,205,0,"5");l(n,208,0,"person_stdcode");l(n,211,0,"STD Code","tel");l(n,232,0,"6");l(n,233,0,"8");l(n,236,0,"person_landline");l(n,239,0,"Contact Person Landline Number","tel");l(n,258,0,"service_provider_payment_type");l(n,261,0,"Payment Terms");l(n,273,0,e.m_paymentList);l(n,288,0,"service_provider_payment_mode");l(n,291,0,"Payment Mode");l(n,303,0,"Payment made in Cash.");l(n,307,0,"Payment made through Banking channels.");l(n,311,0,"Payment made through Cash and Banking channels.");l(n,317,0,3==n.context.$implicit.get("service_provider_payment_type").value);l(n,329,0,n.parent.context.$implicit.controls.service_providers.controls.length>1);l(n,336,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,19,0,fP._32(n,20)._hidden);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43).id,fP._32(n,43).tabIndex,fP._32(n,43)._ariaLabel,fP._32(n,43).ariaLabelledby,fP._32(n,43).required.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).errorState,fP._32(n,43).panelOpen?fP._32(n,43)._optionIds:null,fP._32(n,43).multiple,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43)._getAriaActiveDescendant(),fP._32(n,43).disabled,fP._32(n,43).errorState,fP._32(n,43).required]);l(n,50,0,fP._32(n,51)._getTabIndex(),fP._32(n,51).selected,fP._32(n,51).multiple,fP._32(n,51).active,fP._32(n,51).id,fP._32(n,51).selected.toString(),fP._32(n,51).disabled.toString(),fP._32(n,51).disabled);l(n,59,1,[fP._32(n,60)._control.errorState,fP._32(n,60)._control.errorState,fP._32(n,60)._canLabelFloat,fP._32(n,60)._shouldLabelFloat(),fP._32(n,60)._hideControlPlaceholder(),fP._32(n,60)._control.disabled,fP._32(n,60)._control.focused,"primary"==fP._32(n,60).color,"accent"==fP._32(n,60).color,"warn"==fP._32(n,60).color,fP._32(n,60)._shouldForward("untouched"),fP._32(n,60)._shouldForward("touched"),fP._32(n,60)._shouldForward("pristine"),fP._32(n,60)._shouldForward("dirty"),fP._32(n,60)._shouldForward("valid"),fP._32(n,60)._shouldForward("invalid"),fP._32(n,60)._shouldForward("pending")]);l(n,69,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()]);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,89,1,[fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,109,1,[fP._32(n,110)._control.errorState,fP._32(n,110)._control.errorState,fP._32(n,110)._canLabelFloat,fP._32(n,110)._shouldLabelFloat(),fP._32(n,110)._hideControlPlaceholder(),fP._32(n,110)._control.disabled,fP._32(n,110)._control.focused,"primary"==fP._32(n,110).color,"accent"==fP._32(n,110).color,"warn"==fP._32(n,110).color,fP._32(n,110)._shouldForward("untouched"),fP._32(n,110)._shouldForward("touched"),fP._32(n,110)._shouldForward("pristine"),fP._32(n,110)._shouldForward("dirty"),fP._32(n,110)._shouldForward("valid"),fP._32(n,110)._shouldForward("invalid"),fP._32(n,110)._shouldForward("pending")]);l(n,119,1,[fP._32(n,121).maxlength?fP._32(n,121).maxlength:null,fP._32(n,126).ngClassUntouched,fP._32(n,126).ngClassTouched,fP._32(n,126).ngClassPristine,fP._32(n,126).ngClassDirty,fP._32(n,126).ngClassValid,fP._32(n,126).ngClassInvalid,fP._32(n,126).ngClassPending,fP._32(n,127)._isServer,fP._32(n,127).id,fP._32(n,127).placeholder,fP._32(n,127).disabled,fP._32(n,127).required,fP._32(n,127).readonly,fP._32(n,127)._ariaDescribedby||null,fP._32(n,127).errorState,fP._32(n,127).required.toString()]);l(n,131,1,[fP._32(n,132)._control.errorState,fP._32(n,132)._control.errorState,fP._32(n,132)._canLabelFloat,fP._32(n,132)._shouldLabelFloat(),fP._32(n,132)._hideControlPlaceholder(),fP._32(n,132)._control.disabled,fP._32(n,132)._control.focused,"primary"==fP._32(n,132).color,"accent"==fP._32(n,132).color,"warn"==fP._32(n,132).color,fP._32(n,132)._shouldForward("untouched"),fP._32(n,132)._shouldForward("touched"),fP._32(n,132)._shouldForward("pristine"),fP._32(n,132)._shouldForward("dirty"),fP._32(n,132)._shouldForward("valid"),fP._32(n,132)._shouldForward("invalid"),fP._32(n,132)._shouldForward("pending")]);l(n,141,1,[fP._32(n,144).ngClassUntouched,fP._32(n,144).ngClassTouched,fP._32(n,144).ngClassPristine,fP._32(n,144).ngClassDirty,fP._32(n,144).ngClassValid,fP._32(n,144).ngClassInvalid,fP._32(n,144).ngClassPending,fP._32(n,145).id,fP._32(n,145).tabIndex,fP._32(n,145)._ariaLabel,fP._32(n,145).ariaLabelledby,fP._32(n,145).required.toString(),fP._32(n,145).disabled.toString(),fP._32(n,145).errorState,fP._32(n,145).panelOpen?fP._32(n,145)._optionIds:null,fP._32(n,145).multiple,fP._32(n,145)._ariaDescribedby||null,fP._32(n,145)._getAriaActiveDescendant(),fP._32(n,145).disabled,fP._32(n,145).errorState,fP._32(n,145).required]);l(n,152,0,fP._32(n,153)._getTabIndex(),fP._32(n,153).selected,fP._32(n,153).multiple,fP._32(n,153).active,fP._32(n,153).id,fP._32(n,153).selected.toString(),fP._32(n,153).disabled.toString(),fP._32(n,153).disabled);l(n,165,1,[fP._32(n,166)._control.errorState,fP._32(n,166)._control.errorState,fP._32(n,166)._canLabelFloat,fP._32(n,166)._shouldLabelFloat(),fP._32(n,166)._hideControlPlaceholder(),fP._32(n,166)._control.disabled,fP._32(n,166)._control.focused,"primary"==fP._32(n,166).color,"accent"==fP._32(n,166).color,"warn"==fP._32(n,166).color,fP._32(n,166)._shouldForward("untouched"),fP._32(n,166)._shouldForward("touched"),fP._32(n,166)._shouldForward("pristine"),fP._32(n,166)._shouldForward("dirty"),fP._32(n,166)._shouldForward("valid"),fP._32(n,166)._shouldForward("invalid"),fP._32(n,166)._shouldForward("pending")]);l(n,175,1,[fP._32(n,177).minlength?fP._32(n,177).minlength:null,fP._32(n,178).maxlength?fP._32(n,178).maxlength:null,fP._32(n,183).ngClassUntouched,fP._32(n,183).ngClassTouched,fP._32(n,183).ngClassPristine,fP._32(n,183).ngClassDirty,fP._32(n,183).ngClassValid,fP._32(n,183).ngClassInvalid,fP._32(n,183).ngClassPending,fP._32(n,184)._isServer,fP._32(n,184).id,fP._32(n,184).placeholder,fP._32(n,184).disabled,fP._32(n,184).required,fP._32(n,184).readonly,fP._32(n,184)._ariaDescribedby||null,fP._32(n,184).errorState,fP._32(n,184).required.toString()]);l(n,187,0,fP._32(n,188).id);l(n,192,1,[fP._32(n,193)._control.errorState,fP._32(n,193)._control.errorState,fP._32(n,193)._canLabelFloat,fP._32(n,193)._shouldLabelFloat(),fP._32(n,193)._hideControlPlaceholder(),fP._32(n,193)._control.disabled,fP._32(n,193)._control.focused,"primary"==fP._32(n,193).color,"accent"==fP._32(n,193).color,"warn"==fP._32(n,193).color,fP._32(n,193)._shouldForward("untouched"),fP._32(n,193)._shouldForward("touched"),fP._32(n,193)._shouldForward("pristine"),fP._32(n,193)._shouldForward("dirty"),fP._32(n,193)._shouldForward("valid"),fP._32(n,193)._shouldForward("invalid"),fP._32(n,193)._shouldForward("pending")]);l(n,202,1,[fP._32(n,204).minlength?fP._32(n,204).minlength:null,fP._32(n,205).maxlength?fP._32(n,205).maxlength:null,fP._32(n,210).ngClassUntouched,fP._32(n,210).ngClassTouched,fP._32(n,210).ngClassPristine,fP._32(n,210).ngClassDirty,fP._32(n,210).ngClassValid,fP._32(n,210).ngClassInvalid,fP._32(n,210).ngClassPending,fP._32(n,211)._isServer,fP._32(n,211).id,fP._32(n,211).placeholder,fP._32(n,211).disabled,fP._32(n,211).required,fP._32(n,211).readonly,fP._32(n,211)._ariaDescribedby||null,fP._32(n,211).errorState,fP._32(n,211).required.toString()]);l(n,214,0,fP._32(n,215).id);l(n,220,1,[fP._32(n,221)._control.errorState,fP._32(n,221)._control.errorState,fP._32(n,221)._canLabelFloat,fP._32(n,221)._shouldLabelFloat(),fP._32(n,221)._hideControlPlaceholder(),fP._32(n,221)._control.disabled,fP._32(n,221)._control.focused,"primary"==fP._32(n,221).color,"accent"==fP._32(n,221).color,"warn"==fP._32(n,221).color,fP._32(n,221)._shouldForward("untouched"),fP._32(n,221)._shouldForward("touched"),fP._32(n,221)._shouldForward("pristine"),fP._32(n,221)._shouldForward("dirty"),fP._32(n,221)._shouldForward("valid"),fP._32(n,221)._shouldForward("invalid"),fP._32(n,221)._shouldForward("pending")]);l(n,230,1,[fP._32(n,232).minlength?fP._32(n,232).minlength:null,fP._32(n,233).maxlength?fP._32(n,233).maxlength:null,fP._32(n,238).ngClassUntouched,fP._32(n,238).ngClassTouched,fP._32(n,238).ngClassPristine,fP._32(n,238).ngClassDirty,fP._32(n,238).ngClassValid,fP._32(n,238).ngClassInvalid,fP._32(n,238).ngClassPending,fP._32(n,239)._isServer,fP._32(n,239).id,fP._32(n,239).placeholder,fP._32(n,239).disabled,fP._32(n,239).required,fP._32(n,239).readonly,fP._32(n,239)._ariaDescribedby||null,fP._32(n,239).errorState,fP._32(n,239).required.toString()]);l(n,242,0,fP._32(n,243).id);l(n,247,1,[fP._32(n,248)._control.errorState,fP._32(n,248)._control.errorState,fP._32(n,248)._canLabelFloat,fP._32(n,248)._shouldLabelFloat(),fP._32(n,248)._hideControlPlaceholder(),fP._32(n,248)._control.disabled,fP._32(n,248)._control.focused,"primary"==fP._32(n,248).color,"accent"==fP._32(n,248).color,"warn"==fP._32(n,248).color,fP._32(n,248)._shouldForward("untouched"),fP._32(n,248)._shouldForward("touched"),fP._32(n,248)._shouldForward("pristine"),fP._32(n,248)._shouldForward("dirty"),fP._32(n,248)._shouldForward("valid"),fP._32(n,248)._shouldForward("invalid"),fP._32(n,248)._shouldForward("pending")]);l(n,257,1,[fP._32(n,260).ngClassUntouched,fP._32(n,260).ngClassTouched,fP._32(n,260).ngClassPristine,fP._32(n,260).ngClassDirty,fP._32(n,260).ngClassValid,fP._32(n,260).ngClassInvalid,fP._32(n,260).ngClassPending,fP._32(n,261).id,fP._32(n,261).tabIndex,fP._32(n,261)._ariaLabel,fP._32(n,261).ariaLabelledby,fP._32(n,261).required.toString(),fP._32(n,261).disabled.toString(),fP._32(n,261).errorState,fP._32(n,261).panelOpen?fP._32(n,261)._optionIds:null,fP._32(n,261).multiple,fP._32(n,261)._ariaDescribedby||null,fP._32(n,261)._getAriaActiveDescendant(),fP._32(n,261).disabled,fP._32(n,261).errorState,fP._32(n,261).required]);l(n,268,0,fP._32(n,269)._getTabIndex(),fP._32(n,269).selected,fP._32(n,269).multiple,fP._32(n,269).active,fP._32(n,269).id,fP._32(n,269).selected.toString(),fP._32(n,269).disabled.toString(),fP._32(n,269).disabled);l(n,277,1,[fP._32(n,278)._control.errorState,fP._32(n,278)._control.errorState,fP._32(n,278)._canLabelFloat,fP._32(n,278)._shouldLabelFloat(),fP._32(n,278)._hideControlPlaceholder(),fP._32(n,278)._control.disabled,fP._32(n,278)._control.focused,"primary"==fP._32(n,278).color,"accent"==fP._32(n,278).color,"warn"==fP._32(n,278).color,fP._32(n,278)._shouldForward("untouched"),fP._32(n,278)._shouldForward("touched"),fP._32(n,278)._shouldForward("pristine"),fP._32(n,278)._shouldForward("dirty"),fP._32(n,278)._shouldForward("valid"),fP._32(n,278)._shouldForward("invalid"),fP._32(n,278)._shouldForward("pending")]);l(n,287,1,[fP._32(n,290).ngClassUntouched,fP._32(n,290).ngClassTouched,fP._32(n,290).ngClassPristine,fP._32(n,290).ngClassDirty,fP._32(n,290).ngClassValid,fP._32(n,290).ngClassInvalid,fP._32(n,290).ngClassPending,fP._32(n,291).id,fP._32(n,291).tabIndex,fP._32(n,291)._ariaLabel,fP._32(n,291).ariaLabelledby,fP._32(n,291).required.toString(),fP._32(n,291).disabled.toString(),fP._32(n,291).errorState,fP._32(n,291).panelOpen?fP._32(n,291)._optionIds:null,fP._32(n,291).multiple,fP._32(n,291)._ariaDescribedby||null,fP._32(n,291)._getAriaActiveDescendant(),fP._32(n,291).disabled,fP._32(n,291).errorState,fP._32(n,291).required]);l(n,298,0,fP._32(n,299)._getTabIndex(),fP._32(n,299).selected,fP._32(n,299).multiple,fP._32(n,299).active,fP._32(n,299).id,fP._32(n,299).selected.toString(),fP._32(n,299).disabled.toString(),fP._32(n,299).disabled);l(n,302,0,fP._32(n,303)._getTabIndex(),fP._32(n,303).selected,fP._32(n,303).multiple,fP._32(n,303).active,fP._32(n,303).id,fP._32(n,303).selected.toString(),fP._32(n,303).disabled.toString(),fP._32(n,303).disabled);l(n,306,0,fP._32(n,307)._getTabIndex(),fP._32(n,307).selected,fP._32(n,307).multiple,fP._32(n,307).active,fP._32(n,307).id,fP._32(n,307).selected.toString(),fP._32(n,307).disabled.toString(),fP._32(n,307).disabled);l(n,310,0,fP._32(n,311)._getTabIndex(),fP._32(n,311).selected,fP._32(n,311).multiple,fP._32(n,311).active,fP._32(n,311).id,fP._32(n,311).selected.toString(),fP._32(n,311).disabled.toString(),fP._32(n,311).disabled)})}function sp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,336,{_control:0}),fP._38(335544320,337,{_placeholderChild:0}),fP._38(335544320,338,{_labelChild:0}),fP._38(603979776,339,{_errorChildren:1}),fP._38(603979776,340,{_hintChildren:1}),fP._38(603979776,341,{_prefixChildren:1}),fP._38(603979776,342,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_providers_total_payments_percent_on_credit"],["matInput",""],["placeholder","What % of Total Purchase is done on Credit?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[336,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"service_providers_total_payments_percent_on_credit");l(n,19,0,"What % of Total Purchase is done on Credit?","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function cp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","service_providers"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dp)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sp)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"service_providers");l(n,11,0,n.context.$implicit.controls.service_providers.controls);l(n,15,0,e.spCreditCardFlag)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function mp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Service Provider Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(10,0,null,0,7,"div",[["formArrayName","servicing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(11,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(13,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cp)),fP._17(16,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"servicing_details");l(n,16,0,e.supplierInfoForm.controls.servicing_details.controls)},function(l,n){l(n,10,0,fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending)})}function pp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,50,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,4).onReset()&&u}return u},null,null)),fP._17(3,16384,null,0,EP.B,[],null,null),fP._17(4,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,43,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Um)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,np)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,mp)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(21,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(23,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,343,{_control:0}),fP._38(335544320,344,{_placeholderChild:0}),fP._38(335544320,345,{_labelChild:0}),fP._38(603979776,346,{_errorChildren:1}),fP._38(603979776,347,{_hintChildren:1}),fP._38(603979776,348,{_prefixChildren:1}),fP._38(603979776,349,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(34,16384,[[345,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","supplier_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[343,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(49,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.supplierInfoForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.tradingForm);l(n,17,0,e.servicingForm);l(n,40,0,"supplier_info_form_remark");l(n,43,0,"Remarks")},function(l,n){l(n,2,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,37,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()])})}function fp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),fP._40(8,null,[" "," "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function hp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pp)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fp)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,e.noRecordsFound);l(n,6,0,!e.noRecordsFound)},null)}function gp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,25,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(16,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(17,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(18,0,["",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ym)),fP._17(26,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(31,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(33,16384,null,0,EP.s,[EP.r],null,null),fP._17(34,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,38).onClick()&&u}return u},dV.b,dV.a)),fP._17(38,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,42).onClick()&&u}return u},dV.b,dV.a)),fP._17(42,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(47,0,null,null,15,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(48,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,9,"div",[],null,null,null,null,null)),fP._17(51,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Om)),fP._17(54,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._13(16777216,null,null,1,null,hp)),fP._17(57,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,26,0,!e.complete_status);l(n,31,0,e.tab);l(n,34,0,"optblue");l(n,38,0,"0");l(n,42,0,"1");l(n,51,0,e.tab);l(n,54,0,"1");l(n,57,0,"0")},function(l,n){var e=n.component;l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,30,0,fP._32(n,33).ngClassUntouched,fP._32(n,33).ngClassTouched,fP._32(n,33).ngClassPristine,fP._32(n,33).ngClassDirty,fP._32(n,33).ngClassValid,fP._32(n,33).ngClassInvalid,fP._32(n,33).ngClassPending,fP._32(n,34)._disabled);l(n,37,0,fP._32(n,38)._disabled,fP._32(n,38).isActive,fP._32(n,38).isActive);l(n,41,0,fP._32(n,42)._disabled,fP._32(n,42).isActive,fP._32(n,42).isActive);l(n,47,0,fP._32(n,48).statusbarPadding,fP._32(n,48)._hasRefresher)})}function bp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Personal Info Category"]))],null,null)}function vp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[30,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function yp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[40,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Cp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,132,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,126,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,6).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,6).onReset()&&u}return u},null,null)),fP._17(6,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(10,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(11,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,2,{_control:0}),fP._38(335544320,3,{_placeholderChild:0}),fP._38(335544320,4,{_labelChild:0}),fP._38(603979776,5,{_errorChildren:1}),fP._38(603979776,6,{_hintChildren:1}),fP._38(603979776,7,{_prefixChildren:1}),fP._38(603979776,8,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_ans"],["matInput",""],["placeholder","Name"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,21)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(21,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(22,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[2,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,9,{_control:0}),fP._38(335544320,10,{_placeholderChild:0}),fP._38(335544320,11,{_labelChild:0}),fP._38(603979776,12,{_errorChildren:1}),fP._38(603979776,13,{_hintChildren:1}),fP._38(603979776,14,{_prefixChildren:1}),fP._38(603979776,15,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(42,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age_ans"],["matInput",""],["placeholder","Age"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,50)._onInput()&&u}return u},null,null)),fP._17(43,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(44,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(47,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(49,16384,null,0,EP.s,[EP.r],null,null),fP._17(50,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[9,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(55,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,16,{_control:0}),fP._38(335544320,17,{_placeholderChild:0}),fP._38(335544320,18,{_labelChild:0}),fP._38(603979776,19,{_errorChildren:1}),fP._38(603979776,20,{_hintChildren:1}),fP._38(603979776,21,{_prefixChildren:1}),fP._38(603979776,22,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(64,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","entity_ans"],["matInput",""],["placeholder","Entity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,65)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,72)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,72)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,72)._onInput()&&u}return u},null,null)),fP._17(65,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(69,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(71,16384,null,0,EP.s,[EP.r],null,null),fP._17(72,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[16,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(76,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(77,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,23,{_control:0}),fP._38(335544320,24,{_placeholderChild:0}),fP._38(335544320,25,{_labelChild:0}),fP._38(603979776,26,{_errorChildren:1}),fP._38(603979776,27,{_hintChildren:1}),fP._38(603979776,28,{_prefixChildren:1}),fP._38(603979776,29,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(86,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","qualification_ans"],["placeholder","Educational Qualification"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(88,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,30,{options:1}),fP._38(603979776,31,{optionGroups:1}),fP._38(335544320,32,{customTrigger:0}),fP._37(2048,[[23,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,vp)),fP._17(100,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(105,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,33,{_control:0}),fP._38(335544320,34,{_placeholderChild:0}),fP._38(335544320,35,{_labelChild:0}),fP._38(603979776,36,{_errorChildren:1}),fP._38(603979776,37,{_hintChildren:1}),fP._38(603979776,38,{_prefixChildren:1}),fP._38(603979776,39,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(114,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","earning_ans"],["placeholder","Earning Status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,121)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(116,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(118,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(120,16384,null,0,EP.s,[EP.r],null,null),fP._17(121,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,40,{options:1}),fP._38(603979776,41,{optionGroups:1}),fP._38(335544320,42,{customTrigger:0}),fP._37(2048,[[33,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,yp)),fP._17(128,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,1,0,"mainItem");l(n,6,0,n.context.$implicit);l(n,22,0,"");l(n,25,0,"name_ans");l(n,28,0,"Name","","text");l(n,44,0,"");l(n,47,0,"age_ans");l(n,50,0,"Age","","text");l(n,66,0,"");l(n,69,0,"entity_ans");l(n,72,0,"Entity","","text");l(n,88,0,"");l(n,90,0,"qualification_ans");l(n,93,0,"Educational Qualification","");l(n,100,0,e.qualifications);l(n,116,0,"");l(n,118,0,"earning_ans");l(n,121,0,"Earning Status","");l(n,128,0,e.earningStatus)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending);l(n,10,1,[fP._32(n,11)._control.errorState,fP._32(n,11)._control.errorState,fP._32(n,11)._canLabelFloat,fP._32(n,11)._shouldLabelFloat(),fP._32(n,11)._hideControlPlaceholder(),fP._32(n,11)._control.disabled,fP._32(n,11)._control.focused,"primary"==fP._32(n,11).color,"accent"==fP._32(n,11).color,"warn"==fP._32(n,11).color,fP._32(n,11)._shouldForward("untouched"),fP._32(n,11)._shouldForward("touched"),fP._32(n,11)._shouldForward("pristine"),fP._32(n,11)._shouldForward("dirty"),fP._32(n,11)._shouldForward("valid"),fP._32(n,11)._shouldForward("invalid"),fP._32(n,11)._shouldForward("pending")]);l(n,20,1,[fP._32(n,22).required?"":null,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,44).required?"":null,fP._32(n,49).ngClassUntouched,fP._32(n,49).ngClassTouched,fP._32(n,49).ngClassPristine,fP._32(n,49).ngClassDirty,fP._32(n,49).ngClassValid,fP._32(n,49).ngClassInvalid,fP._32(n,49).ngClassPending,fP._32(n,50)._isServer,fP._32(n,50).id,fP._32(n,50).placeholder,fP._32(n,50).disabled,fP._32(n,50).required,fP._32(n,50).readonly,fP._32(n,50)._ariaDescribedby||null,fP._32(n,50).errorState,fP._32(n,50).required.toString()]);l(n,54,1,[fP._32(n,55)._control.errorState,fP._32(n,55)._control.errorState,fP._32(n,55)._canLabelFloat,fP._32(n,55)._shouldLabelFloat(),fP._32(n,55)._hideControlPlaceholder(),fP._32(n,55)._control.disabled,fP._32(n,55)._control.focused,"primary"==fP._32(n,55).color,"accent"==fP._32(n,55).color,"warn"==fP._32(n,55).color,fP._32(n,55)._shouldForward("untouched"),fP._32(n,55)._shouldForward("touched"),fP._32(n,55)._shouldForward("pristine"),fP._32(n,55)._shouldForward("dirty"),fP._32(n,55)._shouldForward("valid"),fP._32(n,55)._shouldForward("invalid"),fP._32(n,55)._shouldForward("pending")]);l(n,64,1,[fP._32(n,66).required?"":null,fP._32(n,71).ngClassUntouched,fP._32(n,71).ngClassTouched,fP._32(n,71).ngClassPristine,fP._32(n,71).ngClassDirty,fP._32(n,71).ngClassValid,fP._32(n,71).ngClassInvalid,fP._32(n,71).ngClassPending,fP._32(n,72)._isServer,fP._32(n,72).id,fP._32(n,72).placeholder,fP._32(n,72).disabled,fP._32(n,72).required,fP._32(n,72).readonly,fP._32(n,72)._ariaDescribedby||null,fP._32(n,72).errorState,fP._32(n,72).required.toString()]);l(n,76,1,[fP._32(n,77)._control.errorState,fP._32(n,77)._control.errorState,fP._32(n,77)._canLabelFloat,fP._32(n,77)._shouldLabelFloat(),fP._32(n,77)._hideControlPlaceholder(),fP._32(n,77)._control.disabled,fP._32(n,77)._control.focused,"primary"==fP._32(n,77).color,"accent"==fP._32(n,77).color,"warn"==fP._32(n,77).color,fP._32(n,77)._shouldForward("untouched"),fP._32(n,77)._shouldForward("touched"),fP._32(n,77)._shouldForward("pristine"),fP._32(n,77)._shouldForward("dirty"),fP._32(n,77)._shouldForward("valid"),fP._32(n,77)._shouldForward("invalid"),fP._32(n,77)._shouldForward("pending")]);l(n,86,1,[fP._32(n,88).required?"":null,fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,104,1,[fP._32(n,105)._control.errorState,fP._32(n,105)._control.errorState,fP._32(n,105)._canLabelFloat,fP._32(n,105)._shouldLabelFloat(),fP._32(n,105)._hideControlPlaceholder(),fP._32(n,105)._control.disabled,fP._32(n,105)._control.focused,"primary"==fP._32(n,105).color,"accent"==fP._32(n,105).color,"warn"==fP._32(n,105).color,fP._32(n,105)._shouldForward("untouched"),fP._32(n,105)._shouldForward("touched"),fP._32(n,105)._shouldForward("pristine"),fP._32(n,105)._shouldForward("dirty"),fP._32(n,105)._shouldForward("valid"),fP._32(n,105)._shouldForward("invalid"),fP._32(n,105)._shouldForward("pending")]);l(n,114,1,[fP._32(n,116).required?"":null,fP._32(n,120).ngClassUntouched,fP._32(n,120).ngClassTouched,fP._32(n,120).ngClassPristine,fP._32(n,120).ngClassDirty,fP._32(n,120).ngClassValid,fP._32(n,120).ngClassInvalid,fP._32(n,120).ngClassPending,fP._32(n,121).id,fP._32(n,121).tabIndex,fP._32(n,121)._ariaLabel,fP._32(n,121).ariaLabelledby,fP._32(n,121).required.toString(),fP._32(n,121).disabled.toString(),fP._32(n,121).errorState,fP._32(n,121).panelOpen?fP._32(n,121)._optionIds:null,fP._32(n,121).multiple,fP._32(n,121)._ariaDescribedby||null,fP._32(n,121)._getAriaActiveDescendant(),fP._32(n,121).disabled,fP._32(n,121).errorState,fP._32(n,121).required])})}function wp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[71,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Fp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[81,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function xp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[91,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function kp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,181,"div",[["class","text-xs-left"],["fxFlex","50"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(5,0,null,null,175,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(9,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Co Applicant"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,167,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(13,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,163,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,160,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,18).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,18).onReset()&&u}return u},null,null)),fP._17(18,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(20,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(23,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,43,{_control:0}),fP._38(335544320,44,{_placeholderChild:0}),fP._38(335544320,45,{_labelChild:0}),fP._38(603979776,46,{_errorChildren:1}),fP._38(603979776,47,{_hintChildren:1}),fP._38(603979776,48,{_prefixChildren:1}),fP._38(603979776,49,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_ans"],["matInput",""],["placeholder","Name"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,34)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,41)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,41)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,41)._onInput()&&u}return u},null,null)),fP._17(34,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(35,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(38,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(40,16384,null,0,EP.s,[EP.r],null,null),fP._17(41,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[43,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(46,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,50,{_control:0}),fP._38(335544320,51,{_placeholderChild:0}),fP._38(335544320,52,{_labelChild:0}),fP._38(603979776,53,{_errorChildren:1}),fP._38(603979776,54,{_hintChildren:1}),fP._38(603979776,55,{_prefixChildren:1}),fP._38(603979776,56,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(56,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age_ans"],["matInput",""],["placeholder","Age"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,57)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,57).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,57)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,57)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,64)._onInput()&&u}return u},null,null)),fP._17(57,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(58,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(61,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(63,16384,null,0,EP.s,[EP.r],null,null),fP._17(64,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[50,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(68,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(69,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,57,{_control:0}),fP._38(335544320,58,{_placeholderChild:0}),fP._38(335544320,59,{_labelChild:0}),fP._38(603979776,60,{_errorChildren:1}),fP._38(603979776,61,{_hintChildren:1}),fP._38(603979776,62,{_prefixChildren:1}),fP._38(603979776,63,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(79,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","entity_ans"],["matInput",""],["placeholder","Entity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,87)._onInput()&&u}return u},null,null)),fP._17(80,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(81,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(84,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(86,16384,null,0,EP.s,[EP.r],null,null),fP._17(87,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[57,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(91,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(92,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,64,{_control:0}),fP._38(335544320,65,{_placeholderChild:0}),fP._38(335544320,66,{_labelChild:0}),fP._38(603979776,67,{_errorChildren:1}),fP._38(603979776,68,{_hintChildren:1}),fP._38(603979776,69,{_prefixChildren:1}),fP._38(603979776,70,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(102,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","qualification_ans"],["placeholder","Educational Qualification"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,109)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,109)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,109)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(104,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(106,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(108,16384,null,0,EP.s,[EP.r],null,null),fP._17(109,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,71,{options:1}),fP._38(603979776,72,{optionGroups:1}),fP._38(335544320,73,{customTrigger:0}),fP._37(2048,[[64,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,wp)),fP._17(116,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(120,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(121,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,74,{_control:0}),fP._38(335544320,75,{_placeholderChild:0}),fP._38(335544320,76,{_labelChild:0}),fP._38(603979776,77,{_errorChildren:1}),fP._38(603979776,78,{_hintChildren:1}),fP._38(603979776,79,{_prefixChildren:1}),fP._38(603979776,80,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(131,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","earning_ans"],["placeholder","Earning Status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,138)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,138)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,138)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(133,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(135,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(137,16384,null,0,EP.s,[EP.r],null,null),fP._17(138,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,81,{options:1}),fP._38(603979776,82,{optionGroups:1}),fP._38(335544320,83,{customTrigger:0}),fP._37(2048,[[74,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Fp)),fP._17(145,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(149,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(150,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,84,{_control:0}),fP._38(335544320,85,{_placeholderChild:0}),fP._38(335544320,86,{_labelChild:0}),fP._38(603979776,87,{_errorChildren:1}),fP._38(603979776,88,{_hintChildren:1}),fP._38(603979776,89,{_prefixChildren:1}),fP._38(603979776,90,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(160,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","relation_ans"],["placeholder","Relationship"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,167)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,167)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,167)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(162,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(164,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(166,16384,null,0,EP.s,[EP.r],null,null),fP._17(167,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,91,{options:1}),fP._38(603979776,92,{optionGroups:1}),fP._38(335544320,93,{customTrigger:0}),fP._37(2048,[[84,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,xp)),fP._17(174,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,null,["\n \n \n "]))],function(l,n){var e=n.component;l(n,1,0,"coItem");l(n,18,0,n.context.$implicit);l(n,35,0,"");l(n,38,0,"name_ans");l(n,41,0,"Name","","text");l(n,58,0,"");l(n,61,0,"age_ans");l(n,64,0,"Age","","text");l(n,81,0,"");l(n,84,0,"entity_ans");l(n,87,0,"Entity","","text");l(n,104,0,"");l(n,106,0,"qualification_ans");l(n,109,0,"Educational Qualification","");l(n,116,0,e.qualifications);l(n,133,0,"");l(n,135,0,"earning_ans");l(n,138,0,"Earning Status","");l(n,145,0,e.earningStatus);l(n,162,0,"");l(n,164,0,"relation_ans");l(n,167,0,"Relationship","");l(n,174,0,e.relationShipList)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,17,0,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending);l(n,22,1,[fP._32(n,23)._control.errorState,fP._32(n,23)._control.errorState,fP._32(n,23)._canLabelFloat,fP._32(n,23)._shouldLabelFloat(),fP._32(n,23)._hideControlPlaceholder(),fP._32(n,23)._control.disabled,fP._32(n,23)._control.focused,"primary"==fP._32(n,23).color,"accent"==fP._32(n,23).color,"warn"==fP._32(n,23).color,fP._32(n,23)._shouldForward("untouched"),fP._32(n,23)._shouldForward("touched"),fP._32(n,23)._shouldForward("pristine"),fP._32(n,23)._shouldForward("dirty"),fP._32(n,23)._shouldForward("valid"),fP._32(n,23)._shouldForward("invalid"),fP._32(n,23)._shouldForward("pending")]);l(n,33,1,[fP._32(n,35).required?"":null,fP._32(n,40).ngClassUntouched,fP._32(n,40).ngClassTouched,fP._32(n,40).ngClassPristine,fP._32(n,40).ngClassDirty,fP._32(n,40).ngClassValid,fP._32(n,40).ngClassInvalid,fP._32(n,40).ngClassPending,fP._32(n,41)._isServer,fP._32(n,41).id,fP._32(n,41).placeholder,fP._32(n,41).disabled,fP._32(n,41).required,fP._32(n,41).readonly,fP._32(n,41)._ariaDescribedby||null,fP._32(n,41).errorState,fP._32(n,41).required.toString()]);l(n,45,1,[fP._32(n,46)._control.errorState,fP._32(n,46)._control.errorState,fP._32(n,46)._canLabelFloat,fP._32(n,46)._shouldLabelFloat(),fP._32(n,46)._hideControlPlaceholder(),fP._32(n,46)._control.disabled,fP._32(n,46)._control.focused,"primary"==fP._32(n,46).color,"accent"==fP._32(n,46).color,"warn"==fP._32(n,46).color,fP._32(n,46)._shouldForward("untouched"),fP._32(n,46)._shouldForward("touched"),fP._32(n,46)._shouldForward("pristine"),fP._32(n,46)._shouldForward("dirty"),fP._32(n,46)._shouldForward("valid"),fP._32(n,46)._shouldForward("invalid"),fP._32(n,46)._shouldForward("pending")]);l(n,56,1,[fP._32(n,58).required?"":null,fP._32(n,63).ngClassUntouched,fP._32(n,63).ngClassTouched,fP._32(n,63).ngClassPristine,fP._32(n,63).ngClassDirty,fP._32(n,63).ngClassValid,fP._32(n,63).ngClassInvalid,fP._32(n,63).ngClassPending,fP._32(n,64)._isServer,fP._32(n,64).id,fP._32(n,64).placeholder,fP._32(n,64).disabled,fP._32(n,64).required,fP._32(n,64).readonly,fP._32(n,64)._ariaDescribedby||null,fP._32(n,64).errorState,fP._32(n,64).required.toString()]);l(n,68,1,[fP._32(n,69)._control.errorState,fP._32(n,69)._control.errorState,fP._32(n,69)._canLabelFloat,fP._32(n,69)._shouldLabelFloat(),fP._32(n,69)._hideControlPlaceholder(),fP._32(n,69)._control.disabled,fP._32(n,69)._control.focused,"primary"==fP._32(n,69).color,"accent"==fP._32(n,69).color,"warn"==fP._32(n,69).color,fP._32(n,69)._shouldForward("untouched"),fP._32(n,69)._shouldForward("touched"),fP._32(n,69)._shouldForward("pristine"),fP._32(n,69)._shouldForward("dirty"),fP._32(n,69)._shouldForward("valid"),fP._32(n,69)._shouldForward("invalid"),fP._32(n,69)._shouldForward("pending")]);l(n,79,1,[fP._32(n,81).required?"":null,fP._32(n,86).ngClassUntouched,fP._32(n,86).ngClassTouched,fP._32(n,86).ngClassPristine,fP._32(n,86).ngClassDirty,fP._32(n,86).ngClassValid,fP._32(n,86).ngClassInvalid,fP._32(n,86).ngClassPending,fP._32(n,87)._isServer,fP._32(n,87).id,fP._32(n,87).placeholder,fP._32(n,87).disabled,fP._32(n,87).required,fP._32(n,87).readonly,fP._32(n,87)._ariaDescribedby||null,fP._32(n,87).errorState,fP._32(n,87).required.toString()]);l(n,91,1,[fP._32(n,92)._control.errorState,fP._32(n,92)._control.errorState,fP._32(n,92)._canLabelFloat,fP._32(n,92)._shouldLabelFloat(),fP._32(n,92)._hideControlPlaceholder(),fP._32(n,92)._control.disabled,fP._32(n,92)._control.focused,"primary"==fP._32(n,92).color,"accent"==fP._32(n,92).color,"warn"==fP._32(n,92).color,fP._32(n,92)._shouldForward("untouched"),fP._32(n,92)._shouldForward("touched"),fP._32(n,92)._shouldForward("pristine"),fP._32(n,92)._shouldForward("dirty"),fP._32(n,92)._shouldForward("valid"),fP._32(n,92)._shouldForward("invalid"),fP._32(n,92)._shouldForward("pending")]);l(n,102,1,[fP._32(n,104).required?"":null,fP._32(n,108).ngClassUntouched,fP._32(n,108).ngClassTouched,fP._32(n,108).ngClassPristine,fP._32(n,108).ngClassDirty,fP._32(n,108).ngClassValid,fP._32(n,108).ngClassInvalid,fP._32(n,108).ngClassPending,fP._32(n,109).id,fP._32(n,109).tabIndex,fP._32(n,109)._ariaLabel,fP._32(n,109).ariaLabelledby,fP._32(n,109).required.toString(),fP._32(n,109).disabled.toString(),fP._32(n,109).errorState,fP._32(n,109).panelOpen?fP._32(n,109)._optionIds:null,fP._32(n,109).multiple,fP._32(n,109)._ariaDescribedby||null,fP._32(n,109)._getAriaActiveDescendant(),fP._32(n,109).disabled,fP._32(n,109).errorState,fP._32(n,109).required]);l(n,120,1,[fP._32(n,121)._control.errorState,fP._32(n,121)._control.errorState,fP._32(n,121)._canLabelFloat,fP._32(n,121)._shouldLabelFloat(),fP._32(n,121)._hideControlPlaceholder(),fP._32(n,121)._control.disabled,fP._32(n,121)._control.focused,"primary"==fP._32(n,121).color,"accent"==fP._32(n,121).color,"warn"==fP._32(n,121).color,fP._32(n,121)._shouldForward("untouched"),fP._32(n,121)._shouldForward("touched"),fP._32(n,121)._shouldForward("pristine"),fP._32(n,121)._shouldForward("dirty"),fP._32(n,121)._shouldForward("valid"),fP._32(n,121)._shouldForward("invalid"),fP._32(n,121)._shouldForward("pending")]);l(n,131,1,[fP._32(n,133).required?"":null,fP._32(n,137).ngClassUntouched,fP._32(n,137).ngClassTouched,fP._32(n,137).ngClassPristine,fP._32(n,137).ngClassDirty,fP._32(n,137).ngClassValid,fP._32(n,137).ngClassInvalid,fP._32(n,137).ngClassPending,fP._32(n,138).id,fP._32(n,138).tabIndex,fP._32(n,138)._ariaLabel,fP._32(n,138).ariaLabelledby,fP._32(n,138).required.toString(),fP._32(n,138).disabled.toString(),fP._32(n,138).errorState,fP._32(n,138).panelOpen?fP._32(n,138)._optionIds:null,fP._32(n,138).multiple,fP._32(n,138)._ariaDescribedby||null,fP._32(n,138)._getAriaActiveDescendant(),fP._32(n,138).disabled,fP._32(n,138).errorState,fP._32(n,138).required]);l(n,149,1,[fP._32(n,150)._control.errorState,fP._32(n,150)._control.errorState,fP._32(n,150)._canLabelFloat,fP._32(n,150)._shouldLabelFloat(),fP._32(n,150)._hideControlPlaceholder(),fP._32(n,150)._control.disabled,fP._32(n,150)._control.focused,"primary"==fP._32(n,150).color,"accent"==fP._32(n,150).color,"warn"==fP._32(n,150).color,fP._32(n,150)._shouldForward("untouched"),fP._32(n,150)._shouldForward("touched"),fP._32(n,150)._shouldForward("pristine"),fP._32(n,150)._shouldForward("dirty"),fP._32(n,150)._shouldForward("valid"),fP._32(n,150)._shouldForward("invalid"),fP._32(n,150)._shouldForward("pending")]);l(n,160,1,[fP._32(n,162).required?"":null,fP._32(n,166).ngClassUntouched,fP._32(n,166).ngClassTouched,fP._32(n,166).ngClassPristine,fP._32(n,166).ngClassDirty,fP._32(n,166).ngClassValid,fP._32(n,166).ngClassInvalid,fP._32(n,166).ngClassPending,fP._32(n,167).id,fP._32(n,167).tabIndex,fP._32(n,167)._ariaLabel,fP._32(n,167).ariaLabelledby,fP._32(n,167).required.toString(),fP._32(n,167).disabled.toString(),fP._32(n,167).errorState,fP._32(n,167).panelOpen?fP._32(n,167)._optionIds:null,fP._32(n,167).multiple,fP._32(n,167)._ariaDescribedby||null,fP._32(n,167)._getAriaActiveDescendant(),fP._32(n,167).disabled,fP._32(n,167).errorState,fP._32(n,167).required])})}function Sp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,87,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(6,0,null,null,66,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(10,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(12,0,null,null,16,"div",[["class","text-xs-left"],["fxFlex","50"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(14,0,null,null,13,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(15,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(17,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(18,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Main Applicant"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(21,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(22,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cp)),fP._17(25,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kp)),fP._17(33,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,32,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(39,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(41,0,null,0,28,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,25,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(46,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,94,{_control:0}),fP._38(335544320,95,{_placeholderChild:0}),fP._38(335544320,96,{_labelChild:0}),fP._38(603979776,97,{_errorChildren:1}),fP._38(603979776,98,{_hintChildren:1}),fP._38(603979776,99,{_prefixChildren:1}),fP._38(603979776,100,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(56,16384,[[96,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","personal_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,60)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,60).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,60)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,60)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,65)._onInput()&&u}return u},null,null)),fP._17(60,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(62,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(64,16384,null,0,EP.s,[EP.r],null,null),fP._17(65,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[94,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(74,0,null,null,12,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(75,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(77,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(78,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(81,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitPersonalForm(t._personalForm.value)&&u}return u},aV.b,aV.a)),fP._17(82,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,[" Save"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e._personalForm);l(n,25,0,e.pdMainapplicant.controls);l(n,33,0,e.pdCoapplicant.controls);l(n,62,0,"personal_info_form_remark");l(n,65,0,"Remarks");l(n,82,0,"optblue","")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,45,1,[fP._32(n,46)._control.errorState,fP._32(n,46)._control.errorState,fP._32(n,46)._canLabelFloat,fP._32(n,46)._shouldLabelFloat(),fP._32(n,46)._hideControlPlaceholder(),fP._32(n,46)._control.disabled,fP._32(n,46)._control.focused,"primary"==fP._32(n,46).color,"accent"==fP._32(n,46).color,"warn"==fP._32(n,46).color,fP._32(n,46)._shouldForward("untouched"),fP._32(n,46)._shouldForward("touched"),fP._32(n,46)._shouldForward("pristine"),fP._32(n,46)._shouldForward("dirty"),fP._32(n,46)._shouldForward("valid"),fP._32(n,46)._shouldForward("invalid"),fP._32(n,46)._shouldForward("pending")]);l(n,59,1,[fP._32(n,64).ngClassUntouched,fP._32(n,64).ngClassTouched,fP._32(n,64).ngClassPristine,fP._32(n,64).ngClassDirty,fP._32(n,64).ngClassValid,fP._32(n,64).ngClassInvalid,fP._32(n,64).ngClassPending,fP._32(n,65)._isServer,fP._32(n,65).id,fP._32(n,65).placeholder,fP._32(n,65).disabled,fP._32(n,65).required,fP._32(n,65).readonly,fP._32(n,65)._ariaDescribedby||null,fP._32(n,65).errorState,fP._32(n,65).required.toString()]);l(n,74,0,"end"===fP._32(n,75).align)})}function Ip(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,bp)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(21,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(22,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._13(16777216,null,1,1,null,Sp)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,e.loadDataStatus)},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,21,0,fP._32(n,22).statusbarPadding,fP._32(n,22)._hasRefresher)})}function qp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveStockInfo(t.stockForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Pp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Dp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Tp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Op(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Lp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Dp)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Tp)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Op)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Ap(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lp)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Vp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Np(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Wp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vp)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Np)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function Ep(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wp)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function jp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function $p(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pp)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ap)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ep)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,jp)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Bp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Rp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[39,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Up(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[50,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.M_rawValueInWords[n.parent.parent.context.index])})}function Mp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,100,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","raw_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,37)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(34,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(36,16384,null,0,EP.s,[EP.r],null,null),fP._17(37,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,35,{options:1}),fP._38(603979776,36,{optionGroups:1}),fP._38(335544320,37,{customTrigger:0}),fP._37(2048,[[28,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(45,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.parent.context.$implicit,l.parent.context.index)&&u}return u},dN.b,dN.a)),fP._17(52,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,38,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(60,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(61,16384,[[38,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,[" Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Bp)),fP._17(70,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rp)),fP._17(75,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(78,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(87,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,88)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,88).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,88)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,88)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,89).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,94)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,1,l.parent.context.index)&&u}return u},null,null)),fP._17(88,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(89,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[46,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,6,1,null,Up)),fP._17(98,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,16,0,"raw_quantity");l(n,19,0,"Estimated Quantity","number");l(n,34,0,"raw_uom");l(n,37,0,"Unit of Mearsurement");l(n,52,0,"Search Unit","No Matching Result");l(n,55,0,"uomSearch");l(n,60,0,"md-close");l(n,70,0,e.uomDataValue);l(n,75,0,1==n.parent.context.$implicit.get("raw_uom").value);l(n,91,0,"raw_value");l(n,94,0,"Estimated Value of Stock Observed","number");l(n,98,0,""!=n.parent.context.$implicit.get("raw_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,36).ngClassUntouched,fP._32(n,36).ngClassTouched,fP._32(n,36).ngClassPristine,fP._32(n,36).ngClassDirty,fP._32(n,36).ngClassValid,fP._32(n,36).ngClassInvalid,fP._32(n,36).ngClassPending,fP._32(n,37).id,fP._32(n,37).tabIndex,fP._32(n,37)._ariaLabel,fP._32(n,37).ariaLabelledby,fP._32(n,37).required.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).errorState,fP._32(n,37).panelOpen?fP._32(n,37)._optionIds:null,fP._32(n,37).multiple,fP._32(n,37)._ariaDescribedby||null,fP._32(n,37)._getAriaActiveDescendant(),fP._32(n,37).disabled,fP._32(n,37).errorState,fP._32(n,37).required]);l(n,44,0,fP._32(n,45)._getTabIndex(),fP._32(n,45).selected,fP._32(n,45).multiple,fP._32(n,45).active,fP._32(n,45).id,fP._32(n,45).selected.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).disabled);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,51,0,fP._32(n,52).isInsideMatOption,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending);l(n,59,0,fP._32(n,60)._hidden);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,77,1,[fP._32(n,78)._control.errorState,fP._32(n,78)._control.errorState,fP._32(n,78)._canLabelFloat,fP._32(n,78)._shouldLabelFloat(),fP._32(n,78)._hideControlPlaceholder(),fP._32(n,78)._control.disabled,fP._32(n,78)._control.focused,"primary"==fP._32(n,78).color,"accent"==fP._32(n,78).color,"warn"==fP._32(n,78).color,fP._32(n,78)._shouldForward("untouched"),fP._32(n,78)._shouldForward("touched"),fP._32(n,78)._shouldForward("pristine"),fP._32(n,78)._shouldForward("dirty"),fP._32(n,78)._shouldForward("valid"),fP._32(n,78)._shouldForward("invalid"),fP._32(n,78)._shouldForward("pending")]);l(n,87,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94)._isServer,fP._32(n,94).id,fP._32(n,94).placeholder,fP._32(n,94).disabled,fP._32(n,94).required,fP._32(n,94).readonly,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94).errorState,fP._32(n,94).required.toString()])})}function Kp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteRawMaterials(l.parent.context.index,1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Hp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRawMaterials(1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Gp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,95,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.g,[],null,null),(l()(),fP._40(7,null,["Raw Material #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,62,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[4,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","stock_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,47)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,47)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,47)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,1,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(44,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(46,16384,null,0,EP.s,[EP.r],null,null),fP._17(47,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,18,{options:1}),fP._38(603979776,19,{optionGroups:1}),fP._38(335544320,20,{customTrigger:0}),fP._37(2048,[[11,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,55)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(55,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,59)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(59,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Add Stock Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(62,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,63)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,63)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(63,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No Stock Observed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mp)),fP._17(70,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(73,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(74,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(76,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(77,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,53,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(81,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kp)),fP._17(84,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(87,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(88,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Hp)),fP._17(91,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"raw_name");l(n,28,0,"Name");l(n,44,0,"stock_observed");l(n,47,0,"Stock");l(n,59,0,"yes");l(n,63,0,"no");l(n,70,0,"yes"==n.context.$implicit.get("stock_observed").value);l(n,84,0,n.parent.context.$implicit.controls.manufacturing_raw_materials.controls.length>1);l(n,91,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,43,1,[fP._32(n,46).ngClassUntouched,fP._32(n,46).ngClassTouched,fP._32(n,46).ngClassPristine,fP._32(n,46).ngClassDirty,fP._32(n,46).ngClassValid,fP._32(n,46).ngClassInvalid,fP._32(n,46).ngClassPending,fP._32(n,47).id,fP._32(n,47).tabIndex,fP._32(n,47)._ariaLabel,fP._32(n,47).ariaLabelledby,fP._32(n,47).required.toString(),fP._32(n,47).disabled.toString(),fP._32(n,47).errorState,fP._32(n,47).panelOpen?fP._32(n,47)._optionIds:null,fP._32(n,47).multiple,fP._32(n,47)._ariaDescribedby||null,fP._32(n,47)._getAriaActiveDescendant(),fP._32(n,47).disabled,fP._32(n,47).errorState,fP._32(n,47).required]);l(n,54,0,fP._32(n,55)._getTabIndex(),fP._32(n,55).selected,fP._32(n,55).multiple,fP._32(n,55).active,fP._32(n,55).id,fP._32(n,55).selected.toString(),fP._32(n,55).disabled.toString(),fP._32(n,55).disabled);l(n,58,0,fP._32(n,59)._getTabIndex(),fP._32(n,59).selected,fP._32(n,59).multiple,fP._32(n,59).active,fP._32(n,59).id,fP._32(n,59).selected.toString(),fP._32(n,59).disabled.toString(),fP._32(n,59).disabled);l(n,62,0,fP._32(n,63)._getTabIndex(),fP._32(n,63).selected,fP._32(n,63).multiple,fP._32(n,63).active,fP._32(n,63).id,fP._32(n,63).selected.toString(),fP._32(n,63).disabled.toString(),fP._32(n,63).disabled);l(n,73,0,"end"===fP._32(n,74).align)})}function zp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[61,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.value,n.context.$implicit.disabled)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.isdisplayvalue)})}function Yp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,64,{_control:0}),fP._38(335544320,65,{_placeholderChild:0}),fP._38(335544320,66,{_labelChild:0}),fP._38(603979776,67,{_errorChildren:1}),fP._38(603979776,68,{_hintChildren:1}),fP._38(603979776,69,{_prefixChildren:1}),fP._38(603979776,70,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[66,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Please comment on the stock level observed?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rawmaterial_remarks"],["matInput",""],["placeholder","Please comment on the stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[64,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,20,0,"rawmaterial_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,17,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function Qp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(5,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,54,{_control:0}),fP._38(335544320,55,{_placeholderChild:0}),fP._38(335544320,56,{_labelChild:0}),fP._38(603979776,57,{_errorChildren:1}),fP._38(603979776,58,{_hintChildren:1}),fP._38(603979776,59,{_prefixChildren:1}),fP._38(603979776,60,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(15,16384,[[55,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Is the stock of Raw Materials observed, sufficient considering the size of operations"])),(l()(),fP._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_raw"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],null,null),fP._38(603979776,61,{options:1}),fP._38(603979776,62,{optionGroups:1}),fP._38(335544320,63,{customTrigger:0}),fP._37(2048,[[54,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[61,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,zp)),fP._17(35,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yp)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,20,0,"is_sufficiant_raw"),l(n,23,0);l(n,35,0,e.RMsufficientList);l(n,41,0,"no"==n.parent.context.$implicit.get("is_sufficiant_raw").value)},function(l,n){l(n,4,1,[fP._32(n,5)._control.errorState,fP._32(n,5)._control.errorState,fP._32(n,5)._canLabelFloat,fP._32(n,5)._shouldLabelFloat(),fP._32(n,5)._hideControlPlaceholder(),fP._32(n,5)._control.disabled,fP._32(n,5)._control.focused,"primary"==fP._32(n,5).color,"accent"==fP._32(n,5).color,"warn"==fP._32(n,5).color,fP._32(n,5)._shouldForward("untouched"),fP._32(n,5)._shouldForward("touched"),fP._32(n,5)._shouldForward("pristine"),fP._32(n,5)._shouldForward("dirty"),fP._32(n,5)._shouldForward("valid"),fP._32(n,5)._shouldForward("invalid"),fP._32(n,5)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled)})}function Jp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[102,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Xp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,106,{_control:0}),fP._38(335544320,107,{_placeholderChild:0}),fP._38(335544320,108,{_labelChild:0}),fP._38(603979776,109,{_errorChildren:1}),fP._38(603979776,110,{_hintChildren:1}),fP._38(603979776,111,{_prefixChildren:1}),fP._38(603979776,112,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[106,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Zp(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[117,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.M_goodsValueInWords[n.parent.parent.context.index])})}function lf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,102,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,88,{_control:0}),fP._38(335544320,89,{_placeholderChild:0}),fP._38(335544320,90,{_labelChild:0}),fP._38(603979776,91,{_errorChildren:1}),fP._38(603979776,92,{_hintChildren:1}),fP._38(603979776,93,{_prefixChildren:1}),fP._38(603979776,94,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[88,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,95,{_control:0}),fP._38(335544320,96,{_placeholderChild:0}),fP._38(335544320,97,{_labelChild:0}),fP._38(603979776,98,{_errorChildren:1}),fP._38(603979776,99,{_hintChildren:1}),fP._38(603979776,100,{_prefixChildren:1}),fP._38(603979776,101,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,37)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(34,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(36,16384,null,0,EP.s,[EP.r],null,null),fP._17(37,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,102,{options:1}),fP._38(603979776,103,{optionGroups:1}),fP._38(335544320,104,{customTrigger:0}),fP._37(2048,[[95,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(45,8437760,[[102,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[102,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},dN.b,dN.a)),fP._17(52,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,105,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(60,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(61,16384,[[105,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[102,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,[" Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Jp)),fP._17(70,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xp)),fP._17(75,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(78,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,113,{_control:0}),fP._38(335544320,114,{_placeholderChild:0}),fP._38(335544320,115,{_labelChild:0}),fP._38(603979776,116,{_errorChildren:1}),fP._38(603979776,117,{_hintChildren:1}),fP._38(603979776,118,{_prefixChildren:1}),fP._38(603979776,119,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(87,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,88)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,88).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,88)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,88)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,89).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,94)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,2,l.parent.context.index)&&u}return u},null,null)),fP._17(88,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(89,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[113,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,6,1,null,Zp)),fP._17(98,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,34,0,"goods_uom");l(n,37,0,"Unit of Mearsurement");l(n,52,0,"Search Unit","No Matching Result");l(n,55,0,"uomSearch");l(n,60,0,"md-close");l(n,70,0,e.uomDataValue);l(n,75,0,1==n.parent.context.$implicit.get("goods_uom").value);l(n,91,0,"goods_value");l(n,94,0,"Estimated Value of Stock Observed","number");l(n,98,0,""!=n.parent.context.$implicit.get("goods_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,36).ngClassUntouched,fP._32(n,36).ngClassTouched,fP._32(n,36).ngClassPristine,fP._32(n,36).ngClassDirty,fP._32(n,36).ngClassValid,fP._32(n,36).ngClassInvalid,fP._32(n,36).ngClassPending,fP._32(n,37).id,fP._32(n,37).tabIndex,fP._32(n,37)._ariaLabel,fP._32(n,37).ariaLabelledby,fP._32(n,37).required.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).errorState,fP._32(n,37).panelOpen?fP._32(n,37)._optionIds:null,fP._32(n,37).multiple,fP._32(n,37)._ariaDescribedby||null,fP._32(n,37)._getAriaActiveDescendant(),fP._32(n,37).disabled,fP._32(n,37).errorState,fP._32(n,37).required]);l(n,44,0,fP._32(n,45)._getTabIndex(),fP._32(n,45).selected,fP._32(n,45).multiple,fP._32(n,45).active,fP._32(n,45).id,fP._32(n,45).selected.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).disabled);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,51,0,fP._32(n,52).isInsideMatOption,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending);l(n,59,0,fP._32(n,60)._hidden);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,77,1,[fP._32(n,78)._control.errorState,fP._32(n,78)._control.errorState,fP._32(n,78)._canLabelFloat,fP._32(n,78)._shouldLabelFloat(),fP._32(n,78)._hideControlPlaceholder(),fP._32(n,78)._control.disabled,fP._32(n,78)._control.focused,"primary"==fP._32(n,78).color,"accent"==fP._32(n,78).color,"warn"==fP._32(n,78).color,fP._32(n,78)._shouldForward("untouched"),fP._32(n,78)._shouldForward("touched"),fP._32(n,78)._shouldForward("pristine"),fP._32(n,78)._shouldForward("dirty"),fP._32(n,78)._shouldForward("valid"),fP._32(n,78)._shouldForward("invalid"),fP._32(n,78)._shouldForward("pending")]);l(n,87,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94)._isServer,fP._32(n,94).id,fP._32(n,94).placeholder,fP._32(n,94).disabled,fP._32(n,94).required,fP._32(n,94).readonly,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94).errorState,fP._32(n,94).required.toString()])})}function nf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteGoods(l.parent.context.index,1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function ef(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addGoods(1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function uf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,93,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.g,[],null,null),(l()(),fP._40(7,null,["Finished Goods #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,60,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,71,{_control:0}),fP._38(335544320,72,{_placeholderChild:0}),fP._38(335544320,73,{_labelChild:0}),fP._38(603979776,74,{_errorChildren:1}),fP._38(603979776,75,{_hintChildren:1}),fP._38(603979776,76,{_prefixChildren:1}),fP._38(603979776,77,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[71,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,78,{_control:0}),fP._38(335544320,79,{_placeholderChild:0}),fP._38(335544320,80,{_labelChild:0}),fP._38(603979776,81,{_errorChildren:1}),fP._38(603979776,82,{_hintChildren:1}),fP._38(603979776,83,{_prefixChildren:1}),fP._38(603979776,84,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,2,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,85,{options:1}),fP._38(603979776,86,{optionGroups:1}),fP._38(335544320,87,{customTrigger:0}),fP._37(2048,[[78,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(54,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Add Stock Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No Stock Observed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lf)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(72,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(75,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,120,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(79,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nf)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(86,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ef)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"goods_name");l(n,28,0,"Name");l(n,43,0,"goods_observed");l(n,46,0,"Stock");l(n,58,0,"yes");l(n,62,0,"no");l(n,68,0,"yes"==n.context.$implicit.get("goods_observed").value);l(n,82,0,n.parent.context.$implicit.controls.manufacturing_finished_goods.controls.length>1);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46).id,fP._32(n,46).tabIndex,fP._32(n,46)._ariaLabel,fP._32(n,46).ariaLabelledby,fP._32(n,46).required.toString(),fP._32(n,46).disabled.toString(),fP._32(n,46).errorState,fP._32(n,46).panelOpen?fP._32(n,46)._optionIds:null,fP._32(n,46).multiple,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46)._getAriaActiveDescendant(),fP._32(n,46).disabled,fP._32(n,46).errorState,fP._32(n,46).required]);l(n,53,0,fP._32(n,54)._getTabIndex(),fP._32(n,54).selected,fP._32(n,54).multiple,fP._32(n,54).active,fP._32(n,54).id,fP._32(n,54).selected.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).disabled);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,71,0,"end"===fP._32(n,72).align)})}function tf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","manufacturing_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gp)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Qp)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,7,"div",[["formArrayName","manufacturing_finished_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(20,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(22,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,uf)),fP._17(25,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"manufacturing_raw_materials");l(n,11,0,n.context.$implicit.controls.manufacturing_raw_materials.controls);l(n,15,0,e.RMCommentCard);l(n,20,0,"manufacturing_finished_goods");l(n,25,0,n.context.$implicit.controls.manufacturing_finished_goods.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending);l(n,19,0,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending)})}function af(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Manufacturing Stock Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(9,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(11,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tf)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"manufacturing_details");l(n,14,0,e.stockForm.controls.manufacturing_details.controls)},function(l,n){l(n,8,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending)})}function of(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function rf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,156,{_control:0}),fP._38(335544320,157,{_placeholderChild:0}),fP._38(335544320,158,{_labelChild:0}),fP._38(603979776,159,{_errorChildren:1}),fP._38(603979776,160,{_hintChildren:1}),fP._38(603979776,161,{_prefixChildren:1}),fP._38(603979776,162,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[156,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"traded_goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function _f(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[167,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.R_tradedGoodsValueInWords[n.parent.parent.context.index])})}function df(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,101,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,138,{_control:0}),fP._38(335544320,139,{_placeholderChild:0}),fP._38(335544320,140,{_labelChild:0}),fP._38(603979776,141,{_errorChildren:1}),fP._38(603979776,142,{_hintChildren:1}),fP._38(603979776,143,{_prefixChildren:1}),fP._38(603979776,144,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[138,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,145,{_control:0}),fP._38(335544320,146,{_placeholderChild:0}),fP._38(335544320,147,{_labelChild:0}),fP._38(603979776,148,{_errorChildren:1}),fP._38(603979776,149,{_hintChildren:1}),fP._38(603979776,150,{_prefixChildren:1}),fP._38(603979776,151,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","traded_goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,37)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(34,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(36,16384,null,0,EP.s,[EP.r],null,null),fP._17(37,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,152,{options:1}),fP._38(603979776,153,{optionGroups:1}),fP._38(335544320,154,{customTrigger:0}),fP._37(2048,[[145,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(45,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},dN.b,dN.a)),fP._17(52,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,155,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(60,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(61,16384,[[155,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[152,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,[" Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,of)),fP._17(70,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rf)),fP._17(75,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(78,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,163,{_control:0}),fP._38(335544320,164,{_placeholderChild:0}),fP._38(335544320,165,{_labelChild:0}),fP._38(603979776,166,{_errorChildren:1}),fP._38(603979776,167,{_hintChildren:1}),fP._38(603979776,168,{_prefixChildren:1}),fP._38(603979776,169,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(87,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_traded_goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,88)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,88).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,88)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,88)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,89).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,94)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,3,l.parent.context.index)&&u}return u},null,null)),fP._17(88,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(89,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[163,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,6,1,null,_f)),fP._17(98,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"traded_goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,34,0,"traded_goods_uom");l(n,37,0,"Unit of Mearsurement");l(n,52,0,"Search Unit","No Matching Result");l(n,55,0,"uomSearch");l(n,60,0,"md-close");l(n,70,0,e.uomDataValue);l(n,75,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,91,0,"estimated_traded_goods_value");l(n,94,0,"Estimated Value of Stock Observed","number");l(n,98,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,36).ngClassUntouched,fP._32(n,36).ngClassTouched,fP._32(n,36).ngClassPristine,fP._32(n,36).ngClassDirty,fP._32(n,36).ngClassValid,fP._32(n,36).ngClassInvalid,fP._32(n,36).ngClassPending,fP._32(n,37).id,fP._32(n,37).tabIndex,fP._32(n,37)._ariaLabel,fP._32(n,37).ariaLabelledby,fP._32(n,37).required.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).errorState,fP._32(n,37).panelOpen?fP._32(n,37)._optionIds:null,fP._32(n,37).multiple,fP._32(n,37)._ariaDescribedby||null,fP._32(n,37)._getAriaActiveDescendant(),fP._32(n,37).disabled,fP._32(n,37).errorState,fP._32(n,37).required]);l(n,44,0,fP._32(n,45)._getTabIndex(),fP._32(n,45).selected,fP._32(n,45).multiple,fP._32(n,45).active,fP._32(n,45).id,fP._32(n,45).selected.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).disabled);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,51,0,fP._32(n,52).isInsideMatOption,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending);l(n,59,0,fP._32(n,60)._hidden);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,77,1,[fP._32(n,78)._control.errorState,fP._32(n,78)._control.errorState,fP._32(n,78)._canLabelFloat,fP._32(n,78)._shouldLabelFloat(),fP._32(n,78)._hideControlPlaceholder(),fP._32(n,78)._control.disabled,fP._32(n,78)._control.focused,"primary"==fP._32(n,78).color,"accent"==fP._32(n,78).color,"warn"==fP._32(n,78).color,fP._32(n,78)._shouldForward("untouched"),fP._32(n,78)._shouldForward("touched"),fP._32(n,78)._shouldForward("pristine"),fP._32(n,78)._shouldForward("dirty"),fP._32(n,78)._shouldForward("valid"),fP._32(n,78)._shouldForward("invalid"),fP._32(n,78)._shouldForward("pending")]);l(n,87,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94)._isServer,fP._32(n,94).id,fP._32(n,94).placeholder,fP._32(n,94).disabled,fP._32(n,94).required,fP._32(n,94).readonly,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94).errorState,fP._32(n,94).required.toString()])})}function sf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function cf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(1)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function mf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,93,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.g,[],null,null),(l()(),fP._40(7,null,["Traded Goods #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,60,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,121,{_control:0}),fP._38(335544320,122,{_placeholderChild:0}),fP._38(335544320,123,{_labelChild:0}),fP._38(603979776,124,{_errorChildren:1}),fP._38(603979776,125,{_hintChildren:1}),fP._38(603979776,126,{_prefixChildren:1}),fP._38(603979776,127,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[121,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,128,{_control:0}),fP._38(335544320,129,{_placeholderChild:0}),fP._38(335544320,130,{_labelChild:0}),fP._38(603979776,131,{_errorChildren:1}),fP._38(603979776,132,{_hintChildren:1}),fP._38(603979776,133,{_prefixChildren:1}),fP._38(603979776,134,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","traded_goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,3,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,135,{options:1}),fP._38(603979776,136,{optionGroups:1}),fP._38(335544320,137,{customTrigger:0}),fP._37(2048,[[128,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(54,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Add Stock Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[135,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No Stock Observed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,df)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(72,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(75,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,170,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(79,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sf)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(86,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cf)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"traded_goods_name");l(n,28,0,"Name");l(n,43,0,"traded_goods_observed");l(n,46,0,"Stock");l(n,58,0,"yes");l(n,62,0,"no");l(n,68,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,82,0,n.parent.context.$implicit.controls.retail_traded_goods.controls.length>1);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46).id,fP._32(n,46).tabIndex,fP._32(n,46)._ariaLabel,fP._32(n,46).ariaLabelledby,fP._32(n,46).required.toString(),fP._32(n,46).disabled.toString(),fP._32(n,46).errorState,fP._32(n,46).panelOpen?fP._32(n,46)._optionIds:null,fP._32(n,46).multiple,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46)._getAriaActiveDescendant(),fP._32(n,46).disabled,fP._32(n,46).errorState,fP._32(n,46).required]);l(n,53,0,fP._32(n,54)._getTabIndex(),fP._32(n,54).selected,fP._32(n,54).multiple,fP._32(n,54).active,fP._32(n,54).id,fP._32(n,54).selected.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).disabled);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,71,0,"end"===fP._32(n,72).align)})}function pf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","retail_traded_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mf)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"retail_traded_goods");l(n,11,0,n.context.$implicit.controls.retail_traded_goods.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function ff(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Retail Trading Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,7,"div",[["formArrayName","retail_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(9,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(11,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pf)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"retail_details");l(n,14,0,e.stockForm.controls.retail_details.controls)},function(l,n){l(n,8,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending)})}function hf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[202,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function gf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,206,{_control:0}),fP._38(335544320,207,{_placeholderChild:0}),fP._38(335544320,208,{_labelChild:0}),fP._38(603979776,209,{_errorChildren:1}),fP._38(603979776,210,{_hintChildren:1}),fP._38(603979776,211,{_prefixChildren:1}),fP._38(603979776,212,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[206,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"traded_goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function bf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[217,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.T_tradedGoodsValueInWords[n.parent.parent.context.index])})}function vf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,101,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,188,{_control:0}),fP._38(335544320,189,{_placeholderChild:0}),fP._38(335544320,190,{_labelChild:0}),fP._38(603979776,191,{_errorChildren:1}),fP._38(603979776,192,{_hintChildren:1}),fP._38(603979776,193,{_prefixChildren:1}),fP._38(603979776,194,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[188,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,195,{_control:0}),fP._38(335544320,196,{_placeholderChild:0}),fP._38(335544320,197,{_labelChild:0}),fP._38(603979776,198,{_errorChildren:1}),fP._38(603979776,199,{_hintChildren:1}),fP._38(603979776,200,{_prefixChildren:1}),fP._38(603979776,201,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","traded_goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,37)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(34,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(36,16384,null,0,EP.s,[EP.r],null,null),fP._17(37,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,202,{options:1}),fP._38(603979776,203,{optionGroups:1}),fP._38(335544320,204,{customTrigger:0}),fP._37(2048,[[195,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(45,8437760,[[202,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[202,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},dN.b,dN.a)),fP._17(52,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,205,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(60,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(61,16384,[[205,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[202,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,[" Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,hf)),fP._17(70,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gf)),fP._17(75,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(78,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,213,{_control:0}),fP._38(335544320,214,{_placeholderChild:0}),fP._38(335544320,215,{_labelChild:0}),fP._38(603979776,216,{_errorChildren:1}),fP._38(603979776,217,{_hintChildren:1}),fP._38(603979776,218,{_prefixChildren:1}),fP._38(603979776,219,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(87,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_traded_goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,88)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,88).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,88)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,88)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,89).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,94)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,4,l.parent.context.index)&&u}return u},null,null)),fP._17(88,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(89,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[213,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,6,1,null,bf)),fP._17(98,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"traded_goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,34,0,"traded_goods_uom");l(n,37,0,"Unit of Mearsurement");l(n,52,0,"Search Unit","No Matching Result");l(n,55,0,"uomSearch");l(n,60,0,"md-close");l(n,70,0,e.uomDataValue);l(n,75,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,91,0,"estimated_traded_goods_value");l(n,94,0,"Estimated Value of Stock Observed","number");l(n,98,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,36).ngClassUntouched,fP._32(n,36).ngClassTouched,fP._32(n,36).ngClassPristine,fP._32(n,36).ngClassDirty,fP._32(n,36).ngClassValid,fP._32(n,36).ngClassInvalid,fP._32(n,36).ngClassPending,fP._32(n,37).id,fP._32(n,37).tabIndex,fP._32(n,37)._ariaLabel,fP._32(n,37).ariaLabelledby,fP._32(n,37).required.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).errorState,fP._32(n,37).panelOpen?fP._32(n,37)._optionIds:null,fP._32(n,37).multiple,fP._32(n,37)._ariaDescribedby||null,fP._32(n,37)._getAriaActiveDescendant(),fP._32(n,37).disabled,fP._32(n,37).errorState,fP._32(n,37).required]);l(n,44,0,fP._32(n,45)._getTabIndex(),fP._32(n,45).selected,fP._32(n,45).multiple,fP._32(n,45).active,fP._32(n,45).id,fP._32(n,45).selected.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).disabled);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,51,0,fP._32(n,52).isInsideMatOption,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending);l(n,59,0,fP._32(n,60)._hidden);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,77,1,[fP._32(n,78)._control.errorState,fP._32(n,78)._control.errorState,fP._32(n,78)._canLabelFloat,fP._32(n,78)._shouldLabelFloat(),fP._32(n,78)._hideControlPlaceholder(),fP._32(n,78)._control.disabled,fP._32(n,78)._control.focused,"primary"==fP._32(n,78).color,"accent"==fP._32(n,78).color,"warn"==fP._32(n,78).color,fP._32(n,78)._shouldForward("untouched"),fP._32(n,78)._shouldForward("touched"),fP._32(n,78)._shouldForward("pristine"),fP._32(n,78)._shouldForward("dirty"),fP._32(n,78)._shouldForward("valid"),fP._32(n,78)._shouldForward("invalid"),fP._32(n,78)._shouldForward("pending")]);l(n,87,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94)._isServer,fP._32(n,94).id,fP._32(n,94).placeholder,fP._32(n,94).disabled,fP._32(n,94).required,fP._32(n,94).readonly,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94).errorState,fP._32(n,94).required.toString()])})}function yf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,2)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Cf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(2)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function wf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,94,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.g,[],null,null),(l()(),fP._40(7,null,["Traded Goods #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,61,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,171,{_control:0}),fP._38(335544320,172,{_placeholderChild:0}),fP._38(335544320,173,{_labelChild:0}),fP._38(603979776,174,{_errorChildren:1}),fP._38(603979776,175,{_hintChildren:1}),fP._38(603979776,176,{_prefixChildren:1}),fP._38(603979776,177,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[171,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,178,{_control:0}),fP._38(335544320,179,{_placeholderChild:0}),fP._38(335544320,180,{_labelChild:0}),fP._38(603979776,181,{_errorChildren:1}),fP._38(603979776,182,{_hintChildren:1}),fP._38(603979776,183,{_prefixChildren:1}),fP._38(603979776,184,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","traded_goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,4,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,185,{options:1}),fP._38(603979776,186,{optionGroups:1}),fP._38(335544320,187,{customTrigger:0}),fP._37(2048,[[178,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(54,8437760,[[185,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[185,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Add Stock Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[185,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No stock observed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vf)),fP._17(69,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(72,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(73,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(75,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(76,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,220,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(80,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yf)),fP._17(83,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(86,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(87,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cf)),fP._17(90,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"traded_goods_name");l(n,28,0,"Name");l(n,43,0,"traded_goods_observed");l(n,46,0,"Stock");l(n,58,0,"yes");l(n,62,0,"no");l(n,69,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,83,0,n.parent.context.$implicit.controls.trading_traded_goods.controls.length>1);l(n,90,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46).id,fP._32(n,46).tabIndex,fP._32(n,46)._ariaLabel,fP._32(n,46).ariaLabelledby,fP._32(n,46).required.toString(),fP._32(n,46).disabled.toString(),fP._32(n,46).errorState,fP._32(n,46).panelOpen?fP._32(n,46)._optionIds:null,fP._32(n,46).multiple,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46)._getAriaActiveDescendant(),fP._32(n,46).disabled,fP._32(n,46).errorState,fP._32(n,46).required]);l(n,53,0,fP._32(n,54)._getTabIndex(),fP._32(n,54).selected,fP._32(n,54).multiple,fP._32(n,54).active,fP._32(n,54).id,fP._32(n,54).selected.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).disabled);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,72,0,"end"===fP._32(n,73).align)})}function Ff(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","trading_traded_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wf)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"trading_traded_goods");l(n,11,0,n.context.$implicit.controls.trading_traded_goods.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function xf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(3,16384,null,0,AA.h,[],null,null),(l()(),fP._18(4,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Wholesale Trading Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(8,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(10,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ff)),fP._17(13,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,8,0,"trade_details");l(n,13,0,e.stockForm.controls.trade_details.controls)},function(l,n){l(n,7,0,fP._32(n,10).ngClassUntouched,fP._32(n,10).ngClassTouched,fP._32(n,10).ngClassPristine,fP._32(n,10).ngClassDirty,fP._32(n,10).ngClassValid,fP._32(n,10).ngClassInvalid,fP._32(n,10).ngClassPending)})}function kf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[228,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.value,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.isdisplayvalue)})}function Sf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,231,{_control:0}),fP._38(335544320,232,{_placeholderChild:0}),fP._38(335544320,233,{_labelChild:0}),fP._38(603979776,234,{_errorChildren:1}),fP._38(603979776,235,{_hintChildren:1}),fP._38(603979776,236,{_prefixChildren:1}),fP._38(603979776,237,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[233,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Please comment on the stock level observed?"])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","finished_and_traded_goods_remarks"],["matInput",""],["placeholder","Please comment on the stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[231,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,20,0,"finished_and_traded_goods_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,17,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function If(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,42,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(5,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,221,{_control:0}),fP._38(335544320,222,{_placeholderChild:0}),fP._38(335544320,223,{_labelChild:0}),fP._38(603979776,224,{_errorChildren:1}),fP._38(603979776,225,{_hintChildren:1}),fP._38(603979776,226,{_prefixChildren:1}),fP._38(603979776,227,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(15,16384,[[222,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Is the stock of finished / traded goods observed, sufficient considering the size of operations"])),(l()(),fP._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_finished_and_traded_goods"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],null,null),fP._38(603979776,228,{options:1}),fP._38(603979776,229,{optionGroups:1}),fP._38(335544320,230,{customTrigger:0}),fP._37(2048,[[221,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[228,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,kf)),fP._17(35,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sf)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,20,0,"is_sufficiant_finished_and_traded_goods"),l(n,23,0);l(n,35,0,e.TGsufficientList);l(n,41,0,"no"==e.stockForm.controls.is_sufficiant_finished_and_traded_goods.value)},function(l,n){l(n,4,1,[fP._32(n,5)._control.errorState,fP._32(n,5)._control.errorState,fP._32(n,5)._canLabelFloat,fP._32(n,5)._shouldLabelFloat(),fP._32(n,5)._hideControlPlaceholder(),fP._32(n,5)._control.disabled,fP._32(n,5)._control.focused,"primary"==fP._32(n,5).color,"accent"==fP._32(n,5).color,"warn"==fP._32(n,5).color,fP._32(n,5)._shouldForward("untouched"),fP._32(n,5)._shouldForward("touched"),fP._32(n,5)._shouldForward("pristine"),fP._32(n,5)._shouldForward("dirty"),fP._32(n,5)._shouldForward("valid"),fP._32(n,5)._shouldForward("invalid"),fP._32(n,5)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled)})}function qf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,xf)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,If)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.tradingForm);l(n,7,0,e.TGCommentCard)},null)}function Pf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[269,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,fP._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Df(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,273,{_control:0}),fP._38(335544320,274,{_placeholderChild:0}),fP._38(335544320,275,{_labelChild:0}),fP._38(603979776,276,{_errorChildren:1}),fP._38(603979776,277,{_hintChildren:1}),fP._38(603979776,278,{_prefixChildren:1}),fP._38(603979776,279,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[273,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"service_provider_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Tf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[284,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.S_GoodsValueInWords[e.g])})}function Of(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,100,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,255,{_control:0}),fP._38(335544320,256,{_placeholderChild:0}),fP._38(335544320,257,{_labelChild:0}),fP._38(603979776,258,{_errorChildren:1}),fP._38(603979776,259,{_hintChildren:1}),fP._38(603979776,260,{_prefixChildren:1}),fP._38(603979776,261,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[255,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,49,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,262,{_control:0}),fP._38(335544320,263,{_placeholderChild:0}),fP._38(335544320,264,{_labelChild:0}),fP._38(603979776,265,{_errorChildren:1}),fP._38(603979776,266,{_hintChildren:1}),fP._38(603979776,267,{_prefixChildren:1}),fP._38(603979776,268,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,38,"mat-select",[["class","mat-select"],["formControlName","service_provider_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,37)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(34,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(36,16384,null,0,EP.s,[EP.r],null,null),fP._17(37,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,269,{options:1}),fP._38(603979776,270,{optionGroups:1}),fP._38(335544320,271,{customTrigger:0}),fP._37(2048,[[262,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(44,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(45,8437760,[[269,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[269,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},dN.b,dN.a)),fP._17(52,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,272,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(60,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(61,16384,[[272,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(66,8437760,[[269,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,[" Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Pf)),fP._17(70,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Df)),fP._17(75,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(78,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,280,{_control:0}),fP._38(335544320,281,{_placeholderChild:0}),fP._38(335544320,282,{_labelChild:0}),fP._38(603979776,283,{_errorChildren:1}),fP._38(603979776,284,{_hintChildren:1}),fP._38(603979776,285,{_prefixChildren:1}),fP._38(603979776,286,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(87,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_service_provider_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,88)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,88).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,88)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,88)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,89).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,89).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,94)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,5,l.parent.context.index)&&u}return u},null,null)),fP._17(88,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(89,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[280,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,6,1,null,Tf)),fP._17(98,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"service_provider_quantity");l(n,19,0,"Estimated Quantity","number");l(n,34,0,"service_provider_uom");l(n,37,0,"Unit of Mearsurement");l(n,52,0,"Search Unit","No Matching Result");l(n,55,0,"uomSearch");l(n,60,0,"md-close");l(n,70,0,e.uomDataValue);l(n,75,0,1==n.parent.context.$implicit.get("service_provider_uom").value);l(n,91,0,"estimated_service_provider_value");l(n,94,0,"Estimated Value of Stock Observed","number");l(n,98,0,""!=n.parent.context.$implicit.get("estimated_service_provider_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,36).ngClassUntouched,fP._32(n,36).ngClassTouched,fP._32(n,36).ngClassPristine,fP._32(n,36).ngClassDirty,fP._32(n,36).ngClassValid,fP._32(n,36).ngClassInvalid,fP._32(n,36).ngClassPending,fP._32(n,37).id,fP._32(n,37).tabIndex,fP._32(n,37)._ariaLabel,fP._32(n,37).ariaLabelledby,fP._32(n,37).required.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).errorState,fP._32(n,37).panelOpen?fP._32(n,37)._optionIds:null,fP._32(n,37).multiple,fP._32(n,37)._ariaDescribedby||null,fP._32(n,37)._getAriaActiveDescendant(),fP._32(n,37).disabled,fP._32(n,37).errorState,fP._32(n,37).required]);l(n,44,0,fP._32(n,45)._getTabIndex(),fP._32(n,45).selected,fP._32(n,45).multiple,fP._32(n,45).active,fP._32(n,45).id,fP._32(n,45).selected.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).disabled);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,51,0,fP._32(n,52).isInsideMatOption,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending);l(n,59,0,fP._32(n,60)._hidden);l(n,65,0,fP._32(n,66)._getTabIndex(),fP._32(n,66).selected,fP._32(n,66).multiple,fP._32(n,66).active,fP._32(n,66).id,fP._32(n,66).selected.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).disabled);l(n,77,1,[fP._32(n,78)._control.errorState,fP._32(n,78)._control.errorState,fP._32(n,78)._canLabelFloat,fP._32(n,78)._shouldLabelFloat(),fP._32(n,78)._hideControlPlaceholder(),fP._32(n,78)._control.disabled,fP._32(n,78)._control.focused,"primary"==fP._32(n,78).color,"accent"==fP._32(n,78).color,"warn"==fP._32(n,78).color,fP._32(n,78)._shouldForward("untouched"),fP._32(n,78)._shouldForward("touched"),fP._32(n,78)._shouldForward("pristine"),fP._32(n,78)._shouldForward("dirty"),fP._32(n,78)._shouldForward("valid"),fP._32(n,78)._shouldForward("invalid"),fP._32(n,78)._shouldForward("pending")]);l(n,87,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94)._isServer,fP._32(n,94).id,fP._32(n,94).placeholder,fP._32(n,94).disabled,fP._32(n,94).required,fP._32(n,94).readonly,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94).errorState,fP._32(n,94).required.toString()])})}function Lf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,3)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Af(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(3)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Vf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,93,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.g,[],null,null),(l()(),fP._40(7,null,["Service Provider #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,60,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,238,{_control:0}),fP._38(335544320,239,{_placeholderChild:0}),fP._38(335544320,240,{_labelChild:0}),fP._38(603979776,241,{_errorChildren:1}),fP._38(603979776,242,{_hintChildren:1}),fP._38(603979776,243,{_prefixChildren:1}),fP._38(603979776,244,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[238,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,245,{_control:0}),fP._38(335544320,246,{_placeholderChild:0}),fP._38(335544320,247,{_labelChild:0}),fP._38(603979776,248,{_errorChildren:1}),fP._38(603979776,249,{_hintChildren:1}),fP._38(603979776,250,{_prefixChildren:1}),fP._38(603979776,251,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","service_provider_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,46)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,252,{options:1}),fP._38(603979776,253,{optionGroups:1}),fP._38(335544320,254,{customTrigger:0}),fP._37(2048,[[245,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(54,8437760,[[252,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[252,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Add Stock Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[252,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No stock observed"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Of)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(72,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(75,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,287,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(79,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lf)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(86,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Af)),fP._17(89,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"service_provider_name");l(n,28,0,"Name");l(n,43,0,"service_provider_observed");l(n,46,0,"Stock");l(n,58,0,"yes");l(n,62,0,"no");l(n,68,0,"yes"==n.context.$implicit.get("service_provider_observed").value);l(n,82,0,n.parent.context.$implicit.controls.service_provider.controls.length>1);l(n,89,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46).id,fP._32(n,46).tabIndex,fP._32(n,46)._ariaLabel,fP._32(n,46).ariaLabelledby,fP._32(n,46).required.toString(),fP._32(n,46).disabled.toString(),fP._32(n,46).errorState,fP._32(n,46).panelOpen?fP._32(n,46)._optionIds:null,fP._32(n,46).multiple,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46)._getAriaActiveDescendant(),fP._32(n,46).disabled,fP._32(n,46).errorState,fP._32(n,46).required]);l(n,53,0,fP._32(n,54)._getTabIndex(),fP._32(n,54).selected,fP._32(n,54).multiple,fP._32(n,54).active,fP._32(n,54).id,fP._32(n,54).selected.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).disabled);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled);l(n,71,0,"end"===fP._32(n,72).align)})}function Nf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","service_provider"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vf)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"service_provider");l(n,11,0,n.context.$implicit.controls.service_provider.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function Wf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(3,16384,null,0,AA.h,[],null,null),(l()(),fP._18(4,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Service Provider Details"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"div",[["formArrayName","servicing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(8,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(10,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nf)),fP._17(13,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,8,0,"servicing_details");l(n,13,0,e.stockForm.controls.servicing_details.controls)},function(l,n){l(n,7,0,fP._32(n,10).ngClassUntouched,fP._32(n,10).ngClassTouched,fP._32(n,10).ngClassPristine,fP._32(n,10).ngClassDirty,fP._32(n,10).ngClassValid,fP._32(n,10).ngClassInvalid,fP._32(n,10).ngClassPending)})}function Ef(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[295,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.value,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.isdisplayvalue)})}function jf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,298,{_control:0}),fP._38(335544320,299,{_placeholderChild:0}),fP._38(335544320,300,{_labelChild:0}),fP._38(603979776,301,{_errorChildren:1}),fP._38(603979776,302,{_hintChildren:1}),fP._38(603979776,303,{_prefixChildren:1}),fP._38(603979776,304,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[300,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,[" "])),(l()(),fP._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Please comment on the stock level observed?"])),(l()(),fP._40(-1,null,[" "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_goods_remarks"],["matInput",""],["placeholder","Please comment on the stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[298,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,20,0,"service_goods_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,17,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function $f(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,41,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(5,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,288,{_control:0}),fP._38(335544320,289,{_placeholderChild:0}),fP._38(335544320,290,{_labelChild:0}),fP._38(603979776,291,{_errorChildren:1}),fP._38(603979776,292,{_hintChildren:1}),fP._38(603979776,293,{_prefixChildren:1}),fP._38(603979776,294,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(15,16384,[[289,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Is the stock of finished / goods observed, sufficient considering the size of operations"])),(l()(),fP._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_service_goods"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],null,null),fP._38(603979776,295,{options:1}),fP._38(603979776,296,{optionGroups:1}),fP._38(335544320,297,{customTrigger:0}),fP._37(2048,[[288,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[295,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ef)),fP._17(35,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jf)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,20,0,"is_sufficiant_service_goods"),l(n,23,0);l(n,35,0,e.SPsufficientList);l(n,40,0,"no"==e.stockForms.controls.is_sufficiant_service_goods.value)},function(l,n){l(n,4,1,[fP._32(n,5)._control.errorState,fP._32(n,5)._control.errorState,fP._32(n,5)._canLabelFloat,fP._32(n,5)._shouldLabelFloat(),fP._32(n,5)._hideControlPlaceholder(),fP._32(n,5)._control.disabled,fP._32(n,5)._control.focused,"primary"==fP._32(n,5).color,"accent"==fP._32(n,5).color,"warn"==fP._32(n,5).color,fP._32(n,5)._shouldForward("untouched"),fP._32(n,5)._shouldForward("touched"),fP._32(n,5)._shouldForward("pristine"),fP._32(n,5)._shouldForward("dirty"),fP._32(n,5)._shouldForward("valid"),fP._32(n,5)._shouldForward("invalid"),fP._32(n,5)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled)})}function Bf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._13(16777216,null,0,1,null,Wf)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,$f)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.servicingForm);l(n,7,0,e.SPCommentCard)},null)}function Rf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,60,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,57,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,4).onReset()&&u}return u},null,null)),fP._17(3,16384,null,0,EP.B,[],null,null),fP._17(4,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,50,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,af)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ff)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qf)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bf)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(24,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(26,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,305,{_control:0}),fP._38(335544320,306,{_placeholderChild:0}),fP._38(335544320,307,{_labelChild:0}),fP._38(603979776,308,{_errorChildren:1}),fP._38(603979776,309,{_hintChildren:1}),fP._38(603979776,310,{_prefixChildren:1}),fP._38(603979776,311,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(37,16384,[[307,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(40,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","stock_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,41)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,46)._onInput()&&u}return u},null,null)),fP._17(41,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[305,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(51,0,null,null,6,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),fP._17(52,16384,null,0,GA.e,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(55,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.stockForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.retailForm);l(n,17,0,e.tradingForm||e.TGCommentCard);l(n,20,0,e.servicingForm||e.SPCommentCard);l(n,43,0,"stock_remarks");l(n,46,0,"Remarks")},function(l,n){l(n,2,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,40,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46)._isServer,fP._32(n,46).id,fP._32(n,46).placeholder,fP._32(n,46).disabled,fP._32(n,46).required,fP._32(n,46).readonly,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46).errorState,fP._32(n,46).required.toString()])})}function Uf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),fP._40(3,null,[" "," "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,3,0,n.component.errorMessage)})}function Mf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Uf)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,4,0,!n.component.noRecordsFound)},null)}function Kf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mf)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,!n.component.noRecordsFound)},null)}function Hf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rf)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kf)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,e.noRecordsFound);l(n,6,0,!e.noRecordsFound)},null)}function Gf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,51,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,31,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(16,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(17,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(18,0,["",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(27,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(28,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,qp)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(37,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,44).onClick()&&u}return u},dV.b,dV.a)),fP._17(44,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,48).onClick()&&u}return u},dV.b,dV.a)),fP._17(48,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(53,0,null,null,15,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(54,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(56,0,null,1,9,"div",[],null,null,null,null,null)),fP._17(57,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$p)),fP._17(60,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Hf)),fP._17(63,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,28,0,"md-camera");l(n,32,0,!e.complete_status);l(n,37,0,e.tab);l(n,40,0,"optblue");l(n,44,0,"0");l(n,48,0,"1");l(n,57,0,e.tab);l(n,60,0,"1");l(n,63,0,"0")},function(l,n){var e=n.component;l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,27,0,fP._32(n,28)._hidden);l(n,36,0,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._disabled);l(n,43,0,fP._32(n,44)._disabled,fP._32(n,44).isActive,fP._32(n,44).isActive);l(n,47,0,fP._32(n,48)._disabled,fP._32(n,48).isActive,fP._32(n,48).isActive);l(n,53,0,fP._32(n,54).statusbarPadding,fP._32(n,54)._hasRefresher)})}function zf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function Yf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveClientInfoWithImageCheck(t.clientInfoForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(4,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(5,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"fn-save")},function(l,n){l(n,4,0,fP._32(n,5)._hidden)})}function Qf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Jf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Xf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Zf(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function lh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jf)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Xf)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zf)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function nh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lh)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function eh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function uh(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function th(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eh)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,uh)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function ah(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,th)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function ih(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function oh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qf)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,nh)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,ah)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,ih)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function rh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _h(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function dh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[45,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function sh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,48,{_control:0}),fP._38(335544320,49,{_placeholderChild:0}),fP._38(335544320,50,{_labelChild:0}),fP._38(603979776,51,{_errorChildren:1}),fP._38(603979776,52,{_hintChildren:1}),fP._38(603979776,53,{_prefixChildren:1}),fP._38(603979776,54,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[48,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function ch(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[83,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function mh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,96,{_control:0}),fP._38(335544320,97,{_placeholderChild:0}),fP._38(335544320,98,{_labelChild:0}),fP._38(603979776,99,{_errorChildren:1}),fP._38(603979776,100,{_hintChildren:1}),fP._38(603979776,101,{_prefixChildren:1}),fP._38(603979776,102,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[96,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,103,{_control:0}),fP._38(335544320,104,{_placeholderChild:0}),fP._38(335544320,105,{_labelChild:0}),fP._38(603979776,106,{_errorChildren:1}),fP._38(603979776,107,{_hintChildren:1}),fP._38(603979776,108,{_prefixChildren:1}),fP._38(603979776,109,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[103,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"manufacturing_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"manufacturing_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function ph(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRawMaterials(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function fh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreRawMaterials(e);u=!1}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function hh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,337,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,5,"div",[["style","width: 85%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.g,[],null,null),(l()(),fP._40(12,null,["Manufacturing Product #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(17,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureTheClientPics("Manufacturing Product",l.context.index,l.context.$implicit.get("manufacturing_client_name").value)&&u}return u},WV.b,WV.a)),fP._17(18,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(19,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,312,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,289,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","manufacturing_product_name"],["placeholder","Manufacturing Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,43)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,11,{options:1}),fP._38(603979776,12,{optionGroups:1}),fP._38(335544320,13,{customTrigger:0}),fP._37(2048,[[4,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,51)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(51,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,rh)),fP._17(55,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(60,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,14,{_control:0}),fP._38(335544320,15,{_placeholderChild:0}),fP._38(335544320,16,{_labelChild:0}),fP._38(603979776,17,{_errorChildren:1}),fP._38(603979776,18,{_hintChildren:1}),fP._38(603979776,19,{_prefixChildren:1}),fP._38(603979776,20,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,70)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(70,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[14,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,28,{options:1}),fP._38(603979776,29,{optionGroups:1}),fP._38(335544320,30,{customTrigger:0}),fP._37(2048,[[21,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,_h)),fP._17(105,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(109,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(110,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,31,{_control:0}),fP._38(335544320,32,{_placeholderChild:0}),fP._38(335544320,33,{_labelChild:0}),fP._38(603979776,34,{_errorChildren:1}),fP._38(603979776,35,{_hintChildren:1}),fP._38(603979776,36,{_prefixChildren:1}),fP._38(603979776,37,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(119,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,120)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,120).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,120)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,120)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,125)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,125)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,125)._onInput()&&u}return u},null,null)),fP._17(120,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(122,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(124,16384,null,0,EP.s,[EP.r],null,null),fP._17(125,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[31,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(129,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(130,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,38,{_control:0}),fP._38(335544320,39,{_placeholderChild:0}),fP._38(335544320,40,{_labelChild:0}),fP._38(603979776,41,{_errorChildren:1}),fP._38(603979776,42,{_hintChildren:1}),fP._38(603979776,43,{_prefixChildren:1}),fP._38(603979776,44,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(139,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,143)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,143)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,143)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},tN.b,tN.a)),fP._17(140,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(142,16384,null,0,EP.s,[EP.r],null,null),fP._17(143,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,45,{options:1}),fP._38(603979776,46,{optionGroups:1}),fP._38(335544320,47,{customTrigger:0}),fP._37(2048,[[38,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(150,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,151)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,151)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(151,8437760,[[45,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,dh)),fP._17(155,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sh)),fP._17(161,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(163,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(164,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,55,{_control:0}),fP._38(335544320,56,{_placeholderChild:0}),fP._38(335544320,57,{_labelChild:0}),fP._38(603979776,58,{_errorChildren:1}),fP._38(603979776,59,{_hintChildren:1}),fP._38(603979776,60,{_prefixChildren:1}),fP._38(603979776,61,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(173,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,174)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,174).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,174)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,174)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,182)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,182)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,182)._onInput()&&u}return u},null,null)),fP._17(174,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(175,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(176,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(179,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(181,16384,null,0,EP.s,[EP.r],null,null),fP._17(182,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[55,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(185,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(186,16384,[[58,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(190,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(191,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,62,{_control:0}),fP._38(335544320,63,{_placeholderChild:0}),fP._38(335544320,64,{_labelChild:0}),fP._38(603979776,65,{_errorChildren:1}),fP._38(603979776,66,{_hintChildren:1}),fP._38(603979776,67,{_prefixChildren:1}),fP._38(603979776,68,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(200,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,201)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,201).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,201)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,201)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,209)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,209)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,209)._onInput()&&u}return u},null,null)),fP._17(201,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(202,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(203,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(206,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(208,16384,null,0,EP.s,[EP.r],null,null),fP._17(209,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[62,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(212,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(213,16384,[[65,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid STD Code Number."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(218,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(219,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,69,{_control:0}),fP._38(335544320,70,{_placeholderChild:0}),fP._38(335544320,71,{_labelChild:0}),fP._38(603979776,72,{_errorChildren:1}),fP._38(603979776,73,{_hintChildren:1}),fP._38(603979776,74,{_prefixChildren:1}),fP._38(603979776,75,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(228,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Client Contact Person Landline Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,229)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,229).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,229)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,229)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,237)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,237)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,237)._onInput()&&u}return u},null,null)),fP._17(229,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(230,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(231,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(234,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(236,16384,null,0,EP.s,[EP.r],null,null),fP._17(237,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[69,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(240,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(241,16384,[[72,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid LandLine Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(245,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(246,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,76,{_control:0}),fP._38(335544320,77,{_placeholderChild:0}),fP._38(335544320,78,{_labelChild:0}),fP._38(603979776,79,{_errorChildren:1}),fP._38(603979776,80,{_hintChildren:1}),fP._38(603979776,81,{_prefixChildren:1}),fP._38(603979776,82,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(255,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,259)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,259)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,259)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,1,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(256,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(258,16384,null,0,EP.s,[EP.r],null,null),fP._17(259,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,83,{options:1}),fP._38(603979776,84,{optionGroups:1}),fP._38(335544320,85,{customTrigger:0}),fP._37(2048,[[76,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(266,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,267)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,267)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(267,8437760,[[83,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ch)),fP._17(271,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(275,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(276,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,86,{_control:0}),fP._38(335544320,87,{_placeholderChild:0}),fP._38(335544320,88,{_labelChild:0}),fP._38(603979776,89,{_errorChildren:1}),fP._38(603979776,90,{_hintChildren:1}),fP._38(603979776,91,{_prefixChildren:1}),fP._38(603979776,92,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(285,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,289)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,289)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,289)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(286,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(288,16384,null,0,EP.s,[EP.r],null,null),fP._17(289,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,93,{options:1}),fP._38(603979776,94,{optionGroups:1}),fP._38(335544320,95,{customTrigger:0}),fP._37(2048,[[86,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(296,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,297)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,297)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(297,8437760,[[93,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(300,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,301)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,301)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(301,8437760,[[93,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment received in\n Cash."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(304,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,305)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,305)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(305,8437760,[[93,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment\n received through Banking channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(308,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash and also through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,309)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,309)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(309,8437760,[[93,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment received in Cash and Bank."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mh)),fP._17(315,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(318,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(319,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,110,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(322,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(323,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ph)),fP._17(326,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(329,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(330,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fh)),fP._17(333,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,18,0,"optblue");l(n,20,0,"md-camera");l(n,40,0,"manufacturing_product_name");l(n,43,0,"Manufacturing Product Name");l(n,55,0,e.m_manufacturingProducts[0]);l(n,72,0,"manufacturing_client_name");l(n,75,0,"Client Name");l(n,90,0,"person_title_name");l(n,93,0,"Title");l(n,105,0,e.titleList);l(n,122,0,"manufacturing_contact_person_name");l(n,125,0,"Client Contact Person Name");l(n,140,0,"person_designation");l(n,143,0,"Contact Person Designation");l(n,155,0,e.companyRelationShipList);l(n,161,0,1==n.context.$implicit.get("person_designation").value);l(n,175,0,"10");l(n,176,0,"10");l(n,179,0,"manufacturing_contact_person_mobile_number");l(n,182,0,"Client Contact Person Mobile Number","tel");l(n,202,0,"3");l(n,203,0,"5");l(n,206,0,"person_stdcode");l(n,209,0,"STD Code","tel");l(n,230,0,"6");l(n,231,0,"8");l(n,234,0,"person_landline");l(n,237,0,"Client Contact Person Landline Number","tel");l(n,256,0,"manufacturing_payment_type");l(n,259,0,"Payment Terms");l(n,271,0,e.m_paymentType);l(n,286,0,"manufacturing_payment_mode");l(n,289,0,"Payment Mode");l(n,301,0,"Payment received in Cash.");l(n,305,0,"Payment received through Banking channels.");l(n,309,0,"Payment received in Cash and also through Banking channels.");l(n,315,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,326,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,333,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,19,0,fP._32(n,20)._hidden);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43).id,fP._32(n,43).tabIndex,fP._32(n,43)._ariaLabel,fP._32(n,43).ariaLabelledby,fP._32(n,43).required.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).errorState,fP._32(n,43).panelOpen?fP._32(n,43)._optionIds:null,fP._32(n,43).multiple,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43)._getAriaActiveDescendant(),fP._32(n,43).disabled,fP._32(n,43).errorState,fP._32(n,43).required]);l(n,50,0,fP._32(n,51)._getTabIndex(),fP._32(n,51).selected,fP._32(n,51).multiple,fP._32(n,51).active,fP._32(n,51).id,fP._32(n,51).selected.toString(),fP._32(n,51).disabled.toString(),fP._32(n,51).disabled);l(n,59,1,[fP._32(n,60)._control.errorState,fP._32(n,60)._control.errorState,fP._32(n,60)._canLabelFloat,fP._32(n,60)._shouldLabelFloat(),fP._32(n,60)._hideControlPlaceholder(),fP._32(n,60)._control.disabled,fP._32(n,60)._control.focused,"primary"==fP._32(n,60).color,"accent"==fP._32(n,60).color,"warn"==fP._32(n,60).color,fP._32(n,60)._shouldForward("untouched"),fP._32(n,60)._shouldForward("touched"),fP._32(n,60)._shouldForward("pristine"),fP._32(n,60)._shouldForward("dirty"),fP._32(n,60)._shouldForward("valid"),fP._32(n,60)._shouldForward("invalid"),fP._32(n,60)._shouldForward("pending")]);l(n,69,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()]);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,89,1,[fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,109,1,[fP._32(n,110)._control.errorState,fP._32(n,110)._control.errorState,fP._32(n,110)._canLabelFloat,fP._32(n,110)._shouldLabelFloat(),fP._32(n,110)._hideControlPlaceholder(),fP._32(n,110)._control.disabled,fP._32(n,110)._control.focused,"primary"==fP._32(n,110).color,"accent"==fP._32(n,110).color,"warn"==fP._32(n,110).color,fP._32(n,110)._shouldForward("untouched"),fP._32(n,110)._shouldForward("touched"),fP._32(n,110)._shouldForward("pristine"),fP._32(n,110)._shouldForward("dirty"),fP._32(n,110)._shouldForward("valid"),fP._32(n,110)._shouldForward("invalid"),fP._32(n,110)._shouldForward("pending")]);l(n,119,1,[fP._32(n,124).ngClassUntouched,fP._32(n,124).ngClassTouched,fP._32(n,124).ngClassPristine,fP._32(n,124).ngClassDirty,fP._32(n,124).ngClassValid,fP._32(n,124).ngClassInvalid,fP._32(n,124).ngClassPending,fP._32(n,125)._isServer,fP._32(n,125).id,fP._32(n,125).placeholder,fP._32(n,125).disabled,fP._32(n,125).required,fP._32(n,125).readonly,fP._32(n,125)._ariaDescribedby||null,fP._32(n,125).errorState,fP._32(n,125).required.toString()]);l(n,129,1,[fP._32(n,130)._control.errorState,fP._32(n,130)._control.errorState,fP._32(n,130)._canLabelFloat,fP._32(n,130)._shouldLabelFloat(),fP._32(n,130)._hideControlPlaceholder(),fP._32(n,130)._control.disabled,fP._32(n,130)._control.focused,"primary"==fP._32(n,130).color,"accent"==fP._32(n,130).color,"warn"==fP._32(n,130).color,fP._32(n,130)._shouldForward("untouched"),fP._32(n,130)._shouldForward("touched"),fP._32(n,130)._shouldForward("pristine"),fP._32(n,130)._shouldForward("dirty"),fP._32(n,130)._shouldForward("valid"),fP._32(n,130)._shouldForward("invalid"),fP._32(n,130)._shouldForward("pending")]);l(n,139,1,[fP._32(n,142).ngClassUntouched,fP._32(n,142).ngClassTouched,fP._32(n,142).ngClassPristine,fP._32(n,142).ngClassDirty,fP._32(n,142).ngClassValid,fP._32(n,142).ngClassInvalid,fP._32(n,142).ngClassPending,fP._32(n,143).id,fP._32(n,143).tabIndex,fP._32(n,143)._ariaLabel,fP._32(n,143).ariaLabelledby,fP._32(n,143).required.toString(),fP._32(n,143).disabled.toString(),fP._32(n,143).errorState,fP._32(n,143).panelOpen?fP._32(n,143)._optionIds:null,fP._32(n,143).multiple,fP._32(n,143)._ariaDescribedby||null,fP._32(n,143)._getAriaActiveDescendant(),fP._32(n,143).disabled,fP._32(n,143).errorState,fP._32(n,143).required]);l(n,150,0,fP._32(n,151)._getTabIndex(),fP._32(n,151).selected,fP._32(n,151).multiple,fP._32(n,151).active,fP._32(n,151).id,fP._32(n,151).selected.toString(),fP._32(n,151).disabled.toString(),fP._32(n,151).disabled);l(n,163,1,[fP._32(n,164)._control.errorState,fP._32(n,164)._control.errorState,fP._32(n,164)._canLabelFloat,fP._32(n,164)._shouldLabelFloat(),fP._32(n,164)._hideControlPlaceholder(),fP._32(n,164)._control.disabled,fP._32(n,164)._control.focused,"primary"==fP._32(n,164).color,"accent"==fP._32(n,164).color,"warn"==fP._32(n,164).color,fP._32(n,164)._shouldForward("untouched"),fP._32(n,164)._shouldForward("touched"),fP._32(n,164)._shouldForward("pristine"),fP._32(n,164)._shouldForward("dirty"),fP._32(n,164)._shouldForward("valid"),fP._32(n,164)._shouldForward("invalid"),fP._32(n,164)._shouldForward("pending")]);l(n,173,1,[fP._32(n,175).minlength?fP._32(n,175).minlength:null,fP._32(n,176).maxlength?fP._32(n,176).maxlength:null,fP._32(n,181).ngClassUntouched,fP._32(n,181).ngClassTouched,fP._32(n,181).ngClassPristine,fP._32(n,181).ngClassDirty,fP._32(n,181).ngClassValid,fP._32(n,181).ngClassInvalid,fP._32(n,181).ngClassPending,fP._32(n,182)._isServer,fP._32(n,182).id,fP._32(n,182).placeholder,fP._32(n,182).disabled,fP._32(n,182).required,fP._32(n,182).readonly,fP._32(n,182)._ariaDescribedby||null,fP._32(n,182).errorState,fP._32(n,182).required.toString()]);l(n,185,0,fP._32(n,186).id);l(n,190,1,[fP._32(n,191)._control.errorState,fP._32(n,191)._control.errorState,fP._32(n,191)._canLabelFloat,fP._32(n,191)._shouldLabelFloat(),fP._32(n,191)._hideControlPlaceholder(),fP._32(n,191)._control.disabled,fP._32(n,191)._control.focused,"primary"==fP._32(n,191).color,"accent"==fP._32(n,191).color,"warn"==fP._32(n,191).color,fP._32(n,191)._shouldForward("untouched"),fP._32(n,191)._shouldForward("touched"),fP._32(n,191)._shouldForward("pristine"),fP._32(n,191)._shouldForward("dirty"),fP._32(n,191)._shouldForward("valid"),fP._32(n,191)._shouldForward("invalid"),fP._32(n,191)._shouldForward("pending")]);l(n,200,1,[fP._32(n,202).minlength?fP._32(n,202).minlength:null,fP._32(n,203).maxlength?fP._32(n,203).maxlength:null,fP._32(n,208).ngClassUntouched,fP._32(n,208).ngClassTouched,fP._32(n,208).ngClassPristine,fP._32(n,208).ngClassDirty,fP._32(n,208).ngClassValid,fP._32(n,208).ngClassInvalid,fP._32(n,208).ngClassPending,fP._32(n,209)._isServer,fP._32(n,209).id,fP._32(n,209).placeholder,fP._32(n,209).disabled,fP._32(n,209).required,fP._32(n,209).readonly,fP._32(n,209)._ariaDescribedby||null,fP._32(n,209).errorState,fP._32(n,209).required.toString()]);l(n,212,0,fP._32(n,213).id);l(n,218,1,[fP._32(n,219)._control.errorState,fP._32(n,219)._control.errorState,fP._32(n,219)._canLabelFloat,fP._32(n,219)._shouldLabelFloat(),fP._32(n,219)._hideControlPlaceholder(),fP._32(n,219)._control.disabled,fP._32(n,219)._control.focused,"primary"==fP._32(n,219).color,"accent"==fP._32(n,219).color,"warn"==fP._32(n,219).color,fP._32(n,219)._shouldForward("untouched"),fP._32(n,219)._shouldForward("touched"),fP._32(n,219)._shouldForward("pristine"),fP._32(n,219)._shouldForward("dirty"),fP._32(n,219)._shouldForward("valid"),fP._32(n,219)._shouldForward("invalid"),fP._32(n,219)._shouldForward("pending")]);l(n,228,1,[fP._32(n,230).minlength?fP._32(n,230).minlength:null,fP._32(n,231).maxlength?fP._32(n,231).maxlength:null,fP._32(n,236).ngClassUntouched,fP._32(n,236).ngClassTouched,fP._32(n,236).ngClassPristine,fP._32(n,236).ngClassDirty,fP._32(n,236).ngClassValid,fP._32(n,236).ngClassInvalid,fP._32(n,236).ngClassPending,fP._32(n,237)._isServer,fP._32(n,237).id,fP._32(n,237).placeholder,fP._32(n,237).disabled,fP._32(n,237).required,fP._32(n,237).readonly,fP._32(n,237)._ariaDescribedby||null,fP._32(n,237).errorState,fP._32(n,237).required.toString()]);l(n,240,0,fP._32(n,241).id);l(n,245,1,[fP._32(n,246)._control.errorState,fP._32(n,246)._control.errorState,fP._32(n,246)._canLabelFloat,fP._32(n,246)._shouldLabelFloat(),fP._32(n,246)._hideControlPlaceholder(),fP._32(n,246)._control.disabled,fP._32(n,246)._control.focused,"primary"==fP._32(n,246).color,"accent"==fP._32(n,246).color,"warn"==fP._32(n,246).color,fP._32(n,246)._shouldForward("untouched"),fP._32(n,246)._shouldForward("touched"),fP._32(n,246)._shouldForward("pristine"),fP._32(n,246)._shouldForward("dirty"),fP._32(n,246)._shouldForward("valid"),fP._32(n,246)._shouldForward("invalid"),fP._32(n,246)._shouldForward("pending")]);l(n,255,1,[fP._32(n,258).ngClassUntouched,fP._32(n,258).ngClassTouched,fP._32(n,258).ngClassPristine,fP._32(n,258).ngClassDirty,fP._32(n,258).ngClassValid,fP._32(n,258).ngClassInvalid,fP._32(n,258).ngClassPending,fP._32(n,259).id,fP._32(n,259).tabIndex,fP._32(n,259)._ariaLabel,fP._32(n,259).ariaLabelledby,fP._32(n,259).required.toString(),fP._32(n,259).disabled.toString(),fP._32(n,259).errorState,fP._32(n,259).panelOpen?fP._32(n,259)._optionIds:null,fP._32(n,259).multiple,fP._32(n,259)._ariaDescribedby||null,fP._32(n,259)._getAriaActiveDescendant(),fP._32(n,259).disabled,fP._32(n,259).errorState,fP._32(n,259).required]);l(n,266,0,fP._32(n,267)._getTabIndex(),fP._32(n,267).selected,fP._32(n,267).multiple,fP._32(n,267).active,fP._32(n,267).id,fP._32(n,267).selected.toString(),fP._32(n,267).disabled.toString(),fP._32(n,267).disabled);l(n,275,1,[fP._32(n,276)._control.errorState,fP._32(n,276)._control.errorState,fP._32(n,276)._canLabelFloat,fP._32(n,276)._shouldLabelFloat(),fP._32(n,276)._hideControlPlaceholder(),fP._32(n,276)._control.disabled,fP._32(n,276)._control.focused,"primary"==fP._32(n,276).color,"accent"==fP._32(n,276).color,"warn"==fP._32(n,276).color,fP._32(n,276)._shouldForward("untouched"),fP._32(n,276)._shouldForward("touched"),fP._32(n,276)._shouldForward("pristine"),fP._32(n,276)._shouldForward("dirty"),fP._32(n,276)._shouldForward("valid"),fP._32(n,276)._shouldForward("invalid"),fP._32(n,276)._shouldForward("pending")]);l(n,285,1,[fP._32(n,288).ngClassUntouched,fP._32(n,288).ngClassTouched,fP._32(n,288).ngClassPristine,fP._32(n,288).ngClassDirty,fP._32(n,288).ngClassValid,fP._32(n,288).ngClassInvalid,fP._32(n,288).ngClassPending,fP._32(n,289).id,fP._32(n,289).tabIndex,fP._32(n,289)._ariaLabel,fP._32(n,289).ariaLabelledby,fP._32(n,289).required.toString(),fP._32(n,289).disabled.toString(),fP._32(n,289).errorState,fP._32(n,289).panelOpen?fP._32(n,289)._optionIds:null,fP._32(n,289).multiple,fP._32(n,289)._ariaDescribedby||null,fP._32(n,289)._getAriaActiveDescendant(),fP._32(n,289).disabled,fP._32(n,289).errorState,fP._32(n,289).required]);l(n,296,0,fP._32(n,297)._getTabIndex(),fP._32(n,297).selected,fP._32(n,297).multiple,fP._32(n,297).active,fP._32(n,297).id,fP._32(n,297).selected.toString(),fP._32(n,297).disabled.toString(),fP._32(n,297).disabled);l(n,300,0,fP._32(n,301)._getTabIndex(),fP._32(n,301).selected,fP._32(n,301).multiple,fP._32(n,301).active,fP._32(n,301).id,fP._32(n,301).selected.toString(),fP._32(n,301).disabled.toString(),fP._32(n,301).disabled);l(n,304,0,fP._32(n,305)._getTabIndex(),fP._32(n,305).selected,fP._32(n,305).multiple,fP._32(n,305).active,fP._32(n,305).id,fP._32(n,305).selected.toString(),fP._32(n,305).disabled.toString(),fP._32(n,305).disabled);l(n,308,0,fP._32(n,309)._getTabIndex(),fP._32(n,309).selected,fP._32(n,309).multiple,fP._32(n,309).active,fP._32(n,309).id,fP._32(n,309).selected.toString(),fP._32(n,309).disabled.toString(),fP._32(n,309).disabled)})}function gh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,111,{_control:0}),fP._38(335544320,112,{_placeholderChild:0}),fP._38(335544320,113,{_labelChild:0}),fP._38(603979776,114,{_errorChildren:1}),fP._38(603979776,115,{_hintChildren:1}),fP._38(603979776,116,{_prefixChildren:1}),fP._38(603979776,117,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_raw_materials_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[111,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"main_raw_materials_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function bh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","main_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hh)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gh)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"main_raw_materials");l(n,11,0,n.context.$implicit.controls.main_raw_materials.controls);l(n,15,0,e.mfgCreditCardFlag)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function vh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Manufacturing Product Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(9,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(11,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bh)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"manufacturing_details");l(n,14,0,e.clientInfoForm.controls.manufacturing_details.controls)},function(l,n){l(n,8,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending)})}function yh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[125,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ch(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[142,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function wh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[159,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Fh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,162,{_control:0}),fP._38(335544320,163,{_placeholderChild:0}),fP._38(335544320,164,{_labelChild:0}),fP._38(603979776,165,{_errorChildren:1}),fP._38(603979776,166,{_hintChildren:1}),fP._38(603979776,167,{_prefixChildren:1}),fP._38(603979776,168,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[162,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function xh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[197,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function kh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,210,{_control:0}),fP._38(335544320,211,{_placeholderChild:0}),fP._38(335544320,212,{_labelChild:0}),fP._38(603979776,213,{_errorChildren:1}),fP._38(603979776,214,{_hintChildren:1}),fP._38(603979776,215,{_prefixChildren:1}),fP._38(603979776,216,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[210,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,217,{_control:0}),fP._38(335544320,218,{_placeholderChild:0}),fP._38(335544320,219,{_labelChild:0}),fP._38(603979776,220,{_errorChildren:1}),fP._38(603979776,221,{_hintChildren:1}),fP._38(603979776,222,{_prefixChildren:1}),fP._38(603979776,223,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[217,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"trade_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"trade_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function Sh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeTradingProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Ih(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoretradeProduct(e);u=!1}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function qh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,338,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,5,"div",[["style","width: 85%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.g,[],null,null),(l()(),fP._40(12,null,["Trading Product #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(17,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureTheClientPics("Trading Product",l.context.index,l.context.$implicit.get("trade_client_name").value)&&u}return u},WV.b,WV.a)),fP._17(18,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(19,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,313,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,290,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,118,{_control:0}),fP._38(335544320,119,{_placeholderChild:0}),fP._38(335544320,120,{_labelChild:0}),fP._38(603979776,121,{_errorChildren:1}),fP._38(603979776,122,{_hintChildren:1}),fP._38(603979776,123,{_prefixChildren:1}),fP._38(603979776,124,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(40,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","trade_product_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,44)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,125,{options:1}),fP._38(603979776,126,{optionGroups:1}),fP._38(335544320,127,{customTrigger:0}),fP._37(2048,[[118,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,52)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(52,8437760,[[125,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,yh)),fP._17(56,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(60,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(61,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,128,{_control:0}),fP._38(335544320,129,{_placeholderChild:0}),fP._38(335544320,130,{_labelChild:0}),fP._38(603979776,131,{_errorChildren:1}),fP._38(603979776,132,{_hintChildren:1}),fP._38(603979776,133,{_prefixChildren:1}),fP._38(603979776,134,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,71)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,71).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,71)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,71)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,76)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,76)._onInput()&&u}return u},null,null)),fP._17(71,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(73,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(75,16384,null,0,EP.s,[EP.r],null,null),fP._17(76,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[128,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(81,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,135,{_control:0}),fP._38(335544320,136,{_placeholderChild:0}),fP._38(335544320,137,{_labelChild:0}),fP._38(603979776,138,{_errorChildren:1}),fP._38(603979776,139,{_hintChildren:1}),fP._38(603979776,140,{_prefixChildren:1}),fP._38(603979776,141,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,94)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,94)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,94)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,142,{options:1}),fP._38(603979776,143,{optionGroups:1}),fP._38(335544320,144,{customTrigger:0}),fP._37(2048,[[135,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,102)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(102,8437760,[[142,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ch)),fP._17(106,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(111,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,145,{_control:0}),fP._38(335544320,146,{_placeholderChild:0}),fP._38(335544320,147,{_labelChild:0}),fP._38(603979776,148,{_errorChildren:1}),fP._38(603979776,149,{_hintChildren:1}),fP._38(603979776,150,{_prefixChildren:1}),fP._38(603979776,151,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(120,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,121)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,121).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,121)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,121)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,126)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,126)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,126)._onInput()&&u}return u},null,null)),fP._17(121,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(123,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(125,16384,null,0,EP.s,[EP.r],null,null),fP._17(126,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[145,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(130,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(131,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,152,{_control:0}),fP._38(335544320,153,{_placeholderChild:0}),fP._38(335544320,154,{_labelChild:0}),fP._38(603979776,155,{_errorChildren:1}),fP._38(603979776,156,{_hintChildren:1}),fP._38(603979776,157,{_prefixChildren:1}),fP._38(603979776,158,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(140,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,144)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,144)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,144)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},tN.b,tN.a)),fP._17(141,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(143,16384,null,0,EP.s,[EP.r],null,null),fP._17(144,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,159,{options:1}),fP._38(603979776,160,{optionGroups:1}),fP._38(335544320,161,{customTrigger:0}),fP._37(2048,[[152,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(151,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,152)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,152)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(152,8437760,[[159,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,wh)),fP._17(156,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fh)),fP._17(162,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(164,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(165,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,169,{_control:0}),fP._38(335544320,170,{_placeholderChild:0}),fP._38(335544320,171,{_labelChild:0}),fP._38(603979776,172,{_errorChildren:1}),fP._38(603979776,173,{_hintChildren:1}),fP._38(603979776,174,{_prefixChildren:1}),fP._38(603979776,175,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(174,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,175)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,175).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,175)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,175)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,183)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,183)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,183)._onInput()&&u}return u},null,null)),fP._17(175,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(176,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(177,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(180,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(182,16384,null,0,EP.s,[EP.r],null,null),fP._17(183,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[169,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(186,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(187,16384,[[172,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(191,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(192,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,176,{_control:0}),fP._38(335544320,177,{_placeholderChild:0}),fP._38(335544320,178,{_labelChild:0}),fP._38(603979776,179,{_errorChildren:1}),fP._38(603979776,180,{_hintChildren:1}),fP._38(603979776,181,{_prefixChildren:1}),fP._38(603979776,182,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(201,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,202)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,202).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,202)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,202)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,210)._onInput()&&u}return u},null,null)),fP._17(202,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(203,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(204,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(207,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(209,16384,null,0,EP.s,[EP.r],null,null),fP._17(210,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[176,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(213,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(214,16384,[[179,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid STD Code Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(219,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(220,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,183,{_control:0}),fP._38(335544320,184,{_placeholderChild:0}),fP._38(335544320,185,{_labelChild:0}),fP._38(603979776,186,{_errorChildren:1}),fP._38(603979776,187,{_hintChildren:1}),fP._38(603979776,188,{_prefixChildren:1}),fP._38(603979776,189,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(229,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Client Contact Person Landline Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,230)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,230).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,230)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,230)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,238)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,238)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,238)._onInput()&&u}return u},null,null)),fP._17(230,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(231,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(232,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(235,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(237,16384,null,0,EP.s,[EP.r],null,null),fP._17(238,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[183,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(241,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(242,16384,[[186,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid LandLine Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(246,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(247,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,190,{_control:0}),fP._38(335544320,191,{_placeholderChild:0}),fP._38(335544320,192,{_labelChild:0}),fP._38(603979776,193,{_errorChildren:1}),fP._38(603979776,194,{_hintChildren:1}),fP._38(603979776,195,{_prefixChildren:1}),fP._38(603979776,196,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(256,0,null,1,16,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,260)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,260)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,260)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,2,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(257,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(259,16384,null,0,EP.s,[EP.r],null,null),fP._17(260,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,197,{options:1}),fP._38(603979776,198,{optionGroups:1}),fP._38(335544320,199,{customTrigger:0}),fP._37(2048,[[190,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._18(266,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,267)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,267)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(267,8437760,[[197,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,xh)),fP._17(271,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(275,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(276,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,200,{_control:0}),fP._38(335544320,201,{_placeholderChild:0}),fP._38(335544320,202,{_labelChild:0}),fP._38(603979776,203,{_errorChildren:1}),fP._38(603979776,204,{_hintChildren:1}),fP._38(603979776,205,{_prefixChildren:1}),fP._38(603979776,206,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(285,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,289)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,289)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,289)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(286,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(288,16384,null,0,EP.s,[EP.r],null,null),fP._17(289,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,207,{options:1}),fP._38(603979776,208,{optionGroups:1}),fP._38(335544320,209,{customTrigger:0}),fP._37(2048,[[200,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(296,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,297)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,297)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(297,8437760,[[207,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(300,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,301)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,301)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(301,8437760,[[207,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment received in\n Cash."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(304,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,305)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,305)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(305,8437760,[[207,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment\n received through Banking channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(308,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash and also through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,309)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,309)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(309,8437760,[[207,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment received in Cash and Bank."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kh)),fP._17(316,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(319,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(320,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,224,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(323,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(324,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sh)),fP._17(327,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(330,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(331,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ih)),fP._17(334,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,18,0,"optblue");l(n,20,0,"md-camera");l(n,41,0,"trade_product_name");l(n,44,0,"Trading Product Name");l(n,56,0,e.m_tradingProducts);l(n,73,0,"trade_client_name");l(n,76,0,"Client Name");l(n,91,0,"person_title_name");l(n,94,0,"Title");l(n,106,0,e.titleList);l(n,123,0,"trade_product_contact_person_name");l(n,126,0,"Client Contact Person Name");l(n,141,0,"person_designation");l(n,144,0,"Contact Person Designation");l(n,156,0,e.companyRelationShipList);l(n,162,0,1==n.context.$implicit.get("person_designation").value);l(n,176,0,"10");l(n,177,0,"10");l(n,180,0,"trade_product_contact_person_mobile_number");l(n,183,0,"Client Contact Person Mobile Number","tel");l(n,203,0,"3");l(n,204,0,"5");l(n,207,0,"person_stdcode");l(n,210,0,"STD Code","tel");l(n,231,0,"6");l(n,232,0,"8");l(n,235,0,"person_landline");l(n,238,0,"Client Contact Person Landline Number","tel");l(n,257,0,"trade_product_payment_type");l(n,260,0,"Payment Terms");l(n,271,0,e.m_paymentType);l(n,286,0,"trade_product_payment_mode");l(n,289,0,"Payment Mode");l(n,301,0,"Payment received in Cash.");l(n,305,0,"Payment received through Banking channels.");l(n,309,0,"Payment received in Cash and also through Banking channels.");l(n,316,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,327,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,334,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,19,0,fP._32(n,20)._hidden);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,40,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44).id,fP._32(n,44).tabIndex,fP._32(n,44)._ariaLabel,fP._32(n,44).ariaLabelledby,fP._32(n,44).required.toString(),fP._32(n,44).disabled.toString(),fP._32(n,44).errorState,fP._32(n,44).panelOpen?fP._32(n,44)._optionIds:null,fP._32(n,44).multiple,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44)._getAriaActiveDescendant(),fP._32(n,44).disabled,fP._32(n,44).errorState,fP._32(n,44).required]);l(n,51,0,fP._32(n,52)._getTabIndex(),fP._32(n,52).selected,fP._32(n,52).multiple,fP._32(n,52).active,fP._32(n,52).id,fP._32(n,52).selected.toString(),fP._32(n,52).disabled.toString(),fP._32(n,52).disabled);l(n,60,1,[fP._32(n,61)._control.errorState,fP._32(n,61)._control.errorState,fP._32(n,61)._canLabelFloat,fP._32(n,61)._shouldLabelFloat(),fP._32(n,61)._hideControlPlaceholder(),fP._32(n,61)._control.disabled,fP._32(n,61)._control.focused,"primary"==fP._32(n,61).color,"accent"==fP._32(n,61).color,"warn"==fP._32(n,61).color,fP._32(n,61)._shouldForward("untouched"),fP._32(n,61)._shouldForward("touched"),fP._32(n,61)._shouldForward("pristine"),fP._32(n,61)._shouldForward("dirty"),fP._32(n,61)._shouldForward("valid"),fP._32(n,61)._shouldForward("invalid"),fP._32(n,61)._shouldForward("pending")]);l(n,70,1,[fP._32(n,75).ngClassUntouched,fP._32(n,75).ngClassTouched,fP._32(n,75).ngClassPristine,fP._32(n,75).ngClassDirty,fP._32(n,75).ngClassValid,fP._32(n,75).ngClassInvalid,fP._32(n,75).ngClassPending,fP._32(n,76)._isServer,fP._32(n,76).id,fP._32(n,76).placeholder,fP._32(n,76).disabled,fP._32(n,76).required,fP._32(n,76).readonly,fP._32(n,76)._ariaDescribedby||null,fP._32(n,76).errorState,fP._32(n,76).required.toString()]);l(n,80,1,[fP._32(n,81)._control.errorState,fP._32(n,81)._control.errorState,fP._32(n,81)._canLabelFloat,fP._32(n,81)._shouldLabelFloat(),fP._32(n,81)._hideControlPlaceholder(),fP._32(n,81)._control.disabled,fP._32(n,81)._control.focused,"primary"==fP._32(n,81).color,"accent"==fP._32(n,81).color,"warn"==fP._32(n,81).color,fP._32(n,81)._shouldForward("untouched"),fP._32(n,81)._shouldForward("touched"),fP._32(n,81)._shouldForward("pristine"),fP._32(n,81)._shouldForward("dirty"),fP._32(n,81)._shouldForward("valid"),fP._32(n,81)._shouldForward("invalid"),fP._32(n,81)._shouldForward("pending")]);l(n,90,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94).id,fP._32(n,94).tabIndex,fP._32(n,94)._ariaLabel,fP._32(n,94).ariaLabelledby,fP._32(n,94).required.toString(),fP._32(n,94).disabled.toString(),fP._32(n,94).errorState,fP._32(n,94).panelOpen?fP._32(n,94)._optionIds:null,fP._32(n,94).multiple,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94)._getAriaActiveDescendant(),fP._32(n,94).disabled,fP._32(n,94).errorState,fP._32(n,94).required]);l(n,101,0,fP._32(n,102)._getTabIndex(),fP._32(n,102).selected,fP._32(n,102).multiple,fP._32(n,102).active,fP._32(n,102).id,fP._32(n,102).selected.toString(),fP._32(n,102).disabled.toString(),fP._32(n,102).disabled);l(n,110,1,[fP._32(n,111)._control.errorState,fP._32(n,111)._control.errorState,fP._32(n,111)._canLabelFloat,fP._32(n,111)._shouldLabelFloat(),fP._32(n,111)._hideControlPlaceholder(),fP._32(n,111)._control.disabled,fP._32(n,111)._control.focused,"primary"==fP._32(n,111).color,"accent"==fP._32(n,111).color,"warn"==fP._32(n,111).color,fP._32(n,111)._shouldForward("untouched"),fP._32(n,111)._shouldForward("touched"),fP._32(n,111)._shouldForward("pristine"),fP._32(n,111)._shouldForward("dirty"),fP._32(n,111)._shouldForward("valid"),fP._32(n,111)._shouldForward("invalid"),fP._32(n,111)._shouldForward("pending")]);l(n,120,1,[fP._32(n,125).ngClassUntouched,fP._32(n,125).ngClassTouched,fP._32(n,125).ngClassPristine,fP._32(n,125).ngClassDirty,fP._32(n,125).ngClassValid,fP._32(n,125).ngClassInvalid,fP._32(n,125).ngClassPending,fP._32(n,126)._isServer,fP._32(n,126).id,fP._32(n,126).placeholder,fP._32(n,126).disabled,fP._32(n,126).required,fP._32(n,126).readonly,fP._32(n,126)._ariaDescribedby||null,fP._32(n,126).errorState,fP._32(n,126).required.toString()]);l(n,130,1,[fP._32(n,131)._control.errorState,fP._32(n,131)._control.errorState,fP._32(n,131)._canLabelFloat,fP._32(n,131)._shouldLabelFloat(),fP._32(n,131)._hideControlPlaceholder(),fP._32(n,131)._control.disabled,fP._32(n,131)._control.focused,"primary"==fP._32(n,131).color,"accent"==fP._32(n,131).color,"warn"==fP._32(n,131).color,fP._32(n,131)._shouldForward("untouched"),fP._32(n,131)._shouldForward("touched"),fP._32(n,131)._shouldForward("pristine"),fP._32(n,131)._shouldForward("dirty"),fP._32(n,131)._shouldForward("valid"),fP._32(n,131)._shouldForward("invalid"),fP._32(n,131)._shouldForward("pending")]);l(n,140,1,[fP._32(n,143).ngClassUntouched,fP._32(n,143).ngClassTouched,fP._32(n,143).ngClassPristine,fP._32(n,143).ngClassDirty,fP._32(n,143).ngClassValid,fP._32(n,143).ngClassInvalid,fP._32(n,143).ngClassPending,fP._32(n,144).id,fP._32(n,144).tabIndex,fP._32(n,144)._ariaLabel,fP._32(n,144).ariaLabelledby,fP._32(n,144).required.toString(),fP._32(n,144).disabled.toString(),fP._32(n,144).errorState,fP._32(n,144).panelOpen?fP._32(n,144)._optionIds:null,fP._32(n,144).multiple,fP._32(n,144)._ariaDescribedby||null,fP._32(n,144)._getAriaActiveDescendant(),fP._32(n,144).disabled,fP._32(n,144).errorState,fP._32(n,144).required]);l(n,151,0,fP._32(n,152)._getTabIndex(),fP._32(n,152).selected,fP._32(n,152).multiple,fP._32(n,152).active,fP._32(n,152).id,fP._32(n,152).selected.toString(),fP._32(n,152).disabled.toString(),fP._32(n,152).disabled);l(n,164,1,[fP._32(n,165)._control.errorState,fP._32(n,165)._control.errorState,fP._32(n,165)._canLabelFloat,fP._32(n,165)._shouldLabelFloat(),fP._32(n,165)._hideControlPlaceholder(),fP._32(n,165)._control.disabled,fP._32(n,165)._control.focused,"primary"==fP._32(n,165).color,"accent"==fP._32(n,165).color,"warn"==fP._32(n,165).color,fP._32(n,165)._shouldForward("untouched"),fP._32(n,165)._shouldForward("touched"),fP._32(n,165)._shouldForward("pristine"),fP._32(n,165)._shouldForward("dirty"),fP._32(n,165)._shouldForward("valid"),fP._32(n,165)._shouldForward("invalid"),fP._32(n,165)._shouldForward("pending")]);l(n,174,1,[fP._32(n,176).minlength?fP._32(n,176).minlength:null,fP._32(n,177).maxlength?fP._32(n,177).maxlength:null,fP._32(n,182).ngClassUntouched,fP._32(n,182).ngClassTouched,fP._32(n,182).ngClassPristine,fP._32(n,182).ngClassDirty,fP._32(n,182).ngClassValid,fP._32(n,182).ngClassInvalid,fP._32(n,182).ngClassPending,fP._32(n,183)._isServer,fP._32(n,183).id,fP._32(n,183).placeholder,fP._32(n,183).disabled,fP._32(n,183).required,fP._32(n,183).readonly,fP._32(n,183)._ariaDescribedby||null,fP._32(n,183).errorState,fP._32(n,183).required.toString()]);l(n,186,0,fP._32(n,187).id);l(n,191,1,[fP._32(n,192)._control.errorState,fP._32(n,192)._control.errorState,fP._32(n,192)._canLabelFloat,fP._32(n,192)._shouldLabelFloat(),fP._32(n,192)._hideControlPlaceholder(),fP._32(n,192)._control.disabled,fP._32(n,192)._control.focused,"primary"==fP._32(n,192).color,"accent"==fP._32(n,192).color,"warn"==fP._32(n,192).color,fP._32(n,192)._shouldForward("untouched"),fP._32(n,192)._shouldForward("touched"),fP._32(n,192)._shouldForward("pristine"),fP._32(n,192)._shouldForward("dirty"),fP._32(n,192)._shouldForward("valid"),fP._32(n,192)._shouldForward("invalid"),fP._32(n,192)._shouldForward("pending")]);l(n,201,1,[fP._32(n,203).minlength?fP._32(n,203).minlength:null,fP._32(n,204).maxlength?fP._32(n,204).maxlength:null,fP._32(n,209).ngClassUntouched,fP._32(n,209).ngClassTouched,fP._32(n,209).ngClassPristine,fP._32(n,209).ngClassDirty,fP._32(n,209).ngClassValid,fP._32(n,209).ngClassInvalid,fP._32(n,209).ngClassPending,fP._32(n,210)._isServer,fP._32(n,210).id,fP._32(n,210).placeholder,fP._32(n,210).disabled,fP._32(n,210).required,fP._32(n,210).readonly,fP._32(n,210)._ariaDescribedby||null,fP._32(n,210).errorState,fP._32(n,210).required.toString()]);l(n,213,0,fP._32(n,214).id);l(n,219,1,[fP._32(n,220)._control.errorState,fP._32(n,220)._control.errorState,fP._32(n,220)._canLabelFloat,fP._32(n,220)._shouldLabelFloat(),fP._32(n,220)._hideControlPlaceholder(),fP._32(n,220)._control.disabled,fP._32(n,220)._control.focused,"primary"==fP._32(n,220).color,"accent"==fP._32(n,220).color,"warn"==fP._32(n,220).color,fP._32(n,220)._shouldForward("untouched"),fP._32(n,220)._shouldForward("touched"),fP._32(n,220)._shouldForward("pristine"),fP._32(n,220)._shouldForward("dirty"),fP._32(n,220)._shouldForward("valid"),fP._32(n,220)._shouldForward("invalid"),fP._32(n,220)._shouldForward("pending")]);l(n,229,1,[fP._32(n,231).minlength?fP._32(n,231).minlength:null,fP._32(n,232).maxlength?fP._32(n,232).maxlength:null,fP._32(n,237).ngClassUntouched,fP._32(n,237).ngClassTouched,fP._32(n,237).ngClassPristine,fP._32(n,237).ngClassDirty,fP._32(n,237).ngClassValid,fP._32(n,237).ngClassInvalid,fP._32(n,237).ngClassPending,fP._32(n,238)._isServer,fP._32(n,238).id,fP._32(n,238).placeholder,fP._32(n,238).disabled,fP._32(n,238).required,fP._32(n,238).readonly,fP._32(n,238)._ariaDescribedby||null,fP._32(n,238).errorState,fP._32(n,238).required.toString()]);l(n,241,0,fP._32(n,242).id);l(n,246,1,[fP._32(n,247)._control.errorState,fP._32(n,247)._control.errorState,fP._32(n,247)._canLabelFloat,fP._32(n,247)._shouldLabelFloat(),fP._32(n,247)._hideControlPlaceholder(),fP._32(n,247)._control.disabled,fP._32(n,247)._control.focused,"primary"==fP._32(n,247).color,"accent"==fP._32(n,247).color,"warn"==fP._32(n,247).color,fP._32(n,247)._shouldForward("untouched"),fP._32(n,247)._shouldForward("touched"),fP._32(n,247)._shouldForward("pristine"),fP._32(n,247)._shouldForward("dirty"),fP._32(n,247)._shouldForward("valid"),fP._32(n,247)._shouldForward("invalid"),fP._32(n,247)._shouldForward("pending")]);l(n,256,1,[fP._32(n,259).ngClassUntouched,fP._32(n,259).ngClassTouched,fP._32(n,259).ngClassPristine,fP._32(n,259).ngClassDirty,fP._32(n,259).ngClassValid,fP._32(n,259).ngClassInvalid,fP._32(n,259).ngClassPending,fP._32(n,260).id,fP._32(n,260).tabIndex,fP._32(n,260)._ariaLabel,fP._32(n,260).ariaLabelledby,fP._32(n,260).required.toString(),fP._32(n,260).disabled.toString(),fP._32(n,260).errorState,fP._32(n,260).panelOpen?fP._32(n,260)._optionIds:null,fP._32(n,260).multiple,fP._32(n,260)._ariaDescribedby||null,fP._32(n,260)._getAriaActiveDescendant(),fP._32(n,260).disabled,fP._32(n,260).errorState,fP._32(n,260).required]);l(n,266,0,fP._32(n,267)._getTabIndex(),fP._32(n,267).selected,fP._32(n,267).multiple,fP._32(n,267).active,fP._32(n,267).id,fP._32(n,267).selected.toString(),fP._32(n,267).disabled.toString(),fP._32(n,267).disabled);l(n,275,1,[fP._32(n,276)._control.errorState,fP._32(n,276)._control.errorState,fP._32(n,276)._canLabelFloat,fP._32(n,276)._shouldLabelFloat(),fP._32(n,276)._hideControlPlaceholder(),fP._32(n,276)._control.disabled,fP._32(n,276)._control.focused,"primary"==fP._32(n,276).color,"accent"==fP._32(n,276).color,"warn"==fP._32(n,276).color,fP._32(n,276)._shouldForward("untouched"),fP._32(n,276)._shouldForward("touched"),fP._32(n,276)._shouldForward("pristine"),fP._32(n,276)._shouldForward("dirty"),fP._32(n,276)._shouldForward("valid"),fP._32(n,276)._shouldForward("invalid"),fP._32(n,276)._shouldForward("pending")]);l(n,285,1,[fP._32(n,288).ngClassUntouched,fP._32(n,288).ngClassTouched,fP._32(n,288).ngClassPristine,fP._32(n,288).ngClassDirty,fP._32(n,288).ngClassValid,fP._32(n,288).ngClassInvalid,fP._32(n,288).ngClassPending,fP._32(n,289).id,fP._32(n,289).tabIndex,fP._32(n,289)._ariaLabel,fP._32(n,289).ariaLabelledby,fP._32(n,289).required.toString(),fP._32(n,289).disabled.toString(),fP._32(n,289).errorState,fP._32(n,289).panelOpen?fP._32(n,289)._optionIds:null,fP._32(n,289).multiple,fP._32(n,289)._ariaDescribedby||null,fP._32(n,289)._getAriaActiveDescendant(),fP._32(n,289).disabled,fP._32(n,289).errorState,fP._32(n,289).required]);l(n,296,0,fP._32(n,297)._getTabIndex(),fP._32(n,297).selected,fP._32(n,297).multiple,fP._32(n,297).active,fP._32(n,297).id,fP._32(n,297).selected.toString(),fP._32(n,297).disabled.toString(),fP._32(n,297).disabled);l(n,300,0,fP._32(n,301)._getTabIndex(),fP._32(n,301).selected,fP._32(n,301).multiple,fP._32(n,301).active,fP._32(n,301).id,fP._32(n,301).selected.toString(),fP._32(n,301).disabled.toString(),fP._32(n,301).disabled);l(n,304,0,fP._32(n,305)._getTabIndex(),fP._32(n,305).selected,fP._32(n,305).multiple,fP._32(n,305).active,fP._32(n,305).id,fP._32(n,305).selected.toString(),fP._32(n,305).disabled.toString(),fP._32(n,305).disabled);l(n,308,0,fP._32(n,309)._getTabIndex(),fP._32(n,309).selected,fP._32(n,309).multiple,fP._32(n,309).active,fP._32(n,309).id,fP._32(n,309).selected.toString(),fP._32(n,309).disabled.toString(),fP._32(n,309).disabled)})}function Ph(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,225,{_control:0}),fP._38(335544320,226,{_placeholderChild:0}),fP._38(335544320,227,{_labelChild:0}),fP._38(603979776,228,{_errorChildren:1}),fP._38(603979776,229,{_hintChildren:1}),fP._38(603979776,230,{_prefixChildren:1}),fP._38(603979776,231,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trading_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[225,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function Dh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","trading_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qh)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ph)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"trading_products");l(n,11,0,n.context.$implicit.controls.trading_products.controls);l(n,15,0,e.trdCreditCardFlag)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function Th(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Trading Product Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(9,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(11,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Dh)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"trade_details");l(n,14,0,e.clientInfoForm.controls.trade_details.controls)},function(l,n){l(n,8,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending)})}function Oh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[239,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Lh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[256,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ah(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[273,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Vh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,276,{_control:0}),fP._38(335544320,277,{_placeholderChild:0}),fP._38(335544320,278,{_labelChild:0}),fP._38(603979776,279,{_errorChildren:1}),fP._38(603979776,280,{_hintChildren:1}),fP._38(603979776,281,{_prefixChildren:1}),fP._38(603979776,282,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[276,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Nh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[311,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,324,{_control:0}),fP._38(335544320,325,{_placeholderChild:0}),fP._38(335544320,326,{_labelChild:0}),fP._38(603979776,327,{_errorChildren:1}),fP._38(603979776,328,{_hintChildren:1}),fP._38(603979776,329,{_prefixChildren:1}),fP._38(603979776,330,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[324,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,331,{_control:0}),fP._38(335544320,332,{_placeholderChild:0}),fP._38(335544320,333,{_labelChild:0}),fP._38(603979776,334,{_errorChildren:1}),fP._38(603979776,335,{_hintChildren:1}),fP._38(603979776,336,{_prefixChildren:1}),fP._38(603979776,337,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,44)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(41,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(43,16384,null,0,EP.s,[EP.r],null,null),fP._17(44,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[331,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"service_provider_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"service_provider_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending,fP._32(n,44)._isServer,fP._32(n,44).id,fP._32(n,44).placeholder,fP._32(n,44).disabled,fP._32(n,44).required,fP._32(n,44).readonly,fP._32(n,44)._ariaDescribedby||null,fP._32(n,44).errorState,fP._32(n,44).required.toString()])})}function Eh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function jh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreServiceProduct(e);u=!1}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function $h(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,331,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,5,"div",[["style","width: 85%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.g,[],null,null),(l()(),fP._40(12,null,["Service Provider #",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,6,"div",[["style","width: 10%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(17,0,null,null,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureTheClientPics("Service Provider",l.context.index,l.context.$implicit.get("service_provider_client_name").value)&&u}return u},WV.b,WV.a)),fP._17(18,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(19,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,306,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,280,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,232,{_control:0}),fP._38(335544320,233,{_placeholderChild:0}),fP._38(335544320,234,{_labelChild:0}),fP._38(603979776,235,{_errorChildren:1}),fP._38(603979776,236,{_hintChildren:1}),fP._38(603979776,237,{_prefixChildren:1}),fP._38(603979776,238,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(40,8437760,null,0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_name"],["placeholder","Select the Service Provided"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,48)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,48)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,48)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(45,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(47,16384,null,0,EP.s,[EP.r],null,null),fP._17(48,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,239,{options:1}),fP._38(603979776,240,{optionGroups:1}),fP._38(335544320,241,{customTrigger:0}),fP._37(2048,[[232,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Oh)),fP._17(55,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(60,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,242,{_control:0}),fP._38(335544320,243,{_placeholderChild:0}),fP._38(335544320,244,{_labelChild:0}),fP._38(603979776,245,{_errorChildren:1}),fP._38(603979776,246,{_hintChildren:1}),fP._38(603979776,247,{_prefixChildren:1}),fP._38(603979776,248,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,70)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(70,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[242,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(80,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,249,{_control:0}),fP._38(335544320,250,{_placeholderChild:0}),fP._38(335544320,251,{_labelChild:0}),fP._38(603979776,252,{_errorChildren:1}),fP._38(603979776,253,{_hintChildren:1}),fP._38(603979776,254,{_prefixChildren:1}),fP._38(603979776,255,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,93)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(90,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(92,16384,null,0,EP.s,[EP.r],null,null),fP._17(93,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,256,{options:1}),fP._38(603979776,257,{optionGroups:1}),fP._38(335544320,258,{customTrigger:0}),fP._37(2048,[[249,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,101)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(101,8437760,[[256,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Lh)),fP._17(105,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(109,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(110,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,259,{_control:0}),fP._38(335544320,260,{_placeholderChild:0}),fP._38(335544320,261,{_labelChild:0}),fP._38(603979776,262,{_errorChildren:1}),fP._38(603979776,263,{_hintChildren:1}),fP._38(603979776,264,{_prefixChildren:1}),fP._38(603979776,265,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(119,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,120)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,120).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,120)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,120)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,125)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,125)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,125)._onInput()&&u}return u},null,null)),fP._17(120,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(122,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(124,16384,null,0,EP.s,[EP.r],null,null),fP._17(125,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[259,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(129,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(130,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,266,{_control:0}),fP._38(335544320,267,{_placeholderChild:0}),fP._38(335544320,268,{_labelChild:0}),fP._38(603979776,269,{_errorChildren:1}),fP._38(603979776,270,{_hintChildren:1}),fP._38(603979776,271,{_prefixChildren:1}),fP._38(603979776,272,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(139,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,143)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,143)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,143)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,3)&&u}return u},tN.b,tN.a)),fP._17(140,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(142,16384,null,0,EP.s,[EP.r],null,null),fP._17(143,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,273,{options:1}),fP._38(603979776,274,{optionGroups:1}),fP._38(335544320,275,{customTrigger:0}),fP._37(2048,[[266,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(150,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,151)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,151)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(151,8437760,[[273,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ah)),fP._17(155,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vh)),fP._17(161,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(163,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(164,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,283,{_control:0}),fP._38(335544320,284,{_placeholderChild:0}),fP._38(335544320,285,{_labelChild:0}),fP._38(603979776,286,{_errorChildren:1}),fP._38(603979776,287,{_hintChildren:1}),fP._38(603979776,288,{_prefixChildren:1}),fP._38(603979776,289,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(173,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,174)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,174).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,174)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,174)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,182)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,182)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,182)._onInput()&&u}return u},null,null)),fP._17(174,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(175,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(176,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(179,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(181,16384,null,0,EP.s,[EP.r],null,null),fP._17(182,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[283,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(186,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px"]],[[1,"id",0]],null,null,null,null)),fP._17(187,16384,[[286,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(191,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(192,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,290,{_control:0}),fP._38(335544320,291,{_placeholderChild:0}),fP._38(335544320,292,{_labelChild:0}),fP._38(603979776,293,{_errorChildren:1}),fP._38(603979776,294,{_hintChildren:1}),fP._38(603979776,295,{_prefixChildren:1}),fP._38(603979776,296,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(201,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,202)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,202).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,202)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,202)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,210)._onInput()&&u}return u},null,null)),fP._17(202,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(203,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(204,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(207,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(209,16384,null,0,EP.s,[EP.r],null,null),fP._17(210,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[290,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(213,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(214,16384,[[293,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid STD Code Number"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(219,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(220,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,297,{_control:0}),fP._38(335544320,298,{_placeholderChild:0}),fP._38(335544320,299,{_labelChild:0}),fP._38(603979776,300,{_errorChildren:1}),fP._38(603979776,301,{_hintChildren:1}),fP._38(603979776,302,{_prefixChildren:1}),fP._38(603979776,303,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(229,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Client Contact Person Landline Number"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,230)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,230).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,230)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,230)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,238)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,238)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,238)._onInput()&&u}return u},null,null)),fP._17(230,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(231,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(232,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(235,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(237,16384,null,0,EP.s,[EP.r],null,null),fP._17(238,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[297,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(241,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(242,16384,[[300,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid LandLine Number."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(246,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(247,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,304,{_control:0}),fP._38(335544320,305,{_placeholderChild:0}),fP._38(335544320,306,{_labelChild:0}),fP._38(603979776,307,{_errorChildren:1}),fP._38(603979776,308,{_hintChildren:1}),fP._38(603979776,309,{_prefixChildren:1}),fP._38(603979776,310,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(256,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,261)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,261)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,261)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,3,l.context.index)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(258,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(260,16384,null,0,EP.s,[EP.r],null,null),fP._17(261,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,311,{options:1}),fP._38(603979776,312,{optionGroups:1}),fP._38(335544320,313,{customTrigger:0}),fP._37(2048,[[304,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Nh)),fP._17(268,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(272,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(273,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,314,{_control:0}),fP._38(335544320,315,{_placeholderChild:0}),fP._38(335544320,316,{_labelChild:0}),fP._38(603979776,317,{_errorChildren:1}),fP._38(603979776,318,{_hintChildren:1}),fP._38(603979776,319,{_prefixChildren:1}),fP._38(603979776,320,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(282,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,286)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,286)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,286)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(283,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(285,16384,null,0,EP.s,[EP.r],null,null),fP._17(286,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,321,{options:1}),fP._38(603979776,322,{optionGroups:1}),fP._38(335544320,323,{customTrigger:0}),fP._37(2048,[[314,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(293,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,294)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,294)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(294,8437760,[[321,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment received in\n Cash."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(297,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,298)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,298)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(298,8437760,[[321,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment\n received through Banking channels."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(301,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash and also through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,302)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,302)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(302,8437760,[[321,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Payment received in Cash and Bank."])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wh)),fP._17(310,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(312,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(313,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,338,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(316,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(317,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Eh)),fP._17(320,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(323,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(324,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jh)),fP._17(327,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,18,0,"optblue");l(n,20,0,"md-camera");l(n,45,0,"service_provider_product_name");l(n,48,0,"Select the Service Provided");l(n,55,0,e.m_suplierProducts[0]);l(n,72,0,"service_provider_client_name");l(n,75,0,"Client Name");l(n,90,0,"person_title_name");l(n,93,0,"Title");l(n,105,0,e.titleList);l(n,122,0,"service_provider_product_contact_person_name");l(n,125,0,"Client Contact Person Name");l(n,140,0,"person_designation");l(n,143,0,"Contact Person Designation");l(n,155,0,e.companyRelationShipList);l(n,161,0,1==n.context.$implicit.get("person_designation").value);l(n,175,0,"10");l(n,176,0,"10");l(n,179,0,"service_provider_product_contact_person_mobile_number");l(n,182,0,"Client Contact Person Mobile Number","tel");l(n,203,0,"3");l(n,204,0,"5");l(n,207,0,"person_stdcode");l(n,210,0,"STD Code","tel");l(n,231,0,"6");l(n,232,0,"8");l(n,235,0,"person_landline");l(n,238,0,"Client Contact Person Landline Number","tel");l(n,258,0,"service_provider_product_payment_type");l(n,261,0,"Payment Terms");l(n,268,0,e.m_paymentType);l(n,283,0,"service_provider_product_payment_mode");l(n,286,0,"Payment Mode");l(n,294,0,"Payment received in Cash.");l(n,298,0,"Payment received through Banking channels.");l(n,302,0,"Payment received in Cash and also through Banking channels.");l(n,310,0,3==n.context.$implicit.get("service_provider_product_payment_type").value);l(n,320,0,n.parent.context.$implicit.controls.service_products.controls.length>1);l(n,327,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,19,0,fP._32(n,20)._hidden);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,0,fP._32(n,40)._getTabIndex(),fP._32(n,40).selected,fP._32(n,40).multiple,fP._32(n,40).active,fP._32(n,40).id,fP._32(n,40).selected.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).disabled);l(n,43,1,[fP._32(n,47).ngClassUntouched,fP._32(n,47).ngClassTouched,fP._32(n,47).ngClassPristine,fP._32(n,47).ngClassDirty,fP._32(n,47).ngClassValid,fP._32(n,47).ngClassInvalid,fP._32(n,47).ngClassPending,fP._32(n,48).id,fP._32(n,48).tabIndex,fP._32(n,48)._ariaLabel,fP._32(n,48).ariaLabelledby,fP._32(n,48).required.toString(),fP._32(n,48).disabled.toString(),fP._32(n,48).errorState,fP._32(n,48).panelOpen?fP._32(n,48)._optionIds:null,fP._32(n,48).multiple,fP._32(n,48)._ariaDescribedby||null,fP._32(n,48)._getAriaActiveDescendant(),fP._32(n,48).disabled,fP._32(n,48).errorState,fP._32(n,48).required]);l(n,59,1,[fP._32(n,60)._control.errorState,fP._32(n,60)._control.errorState,fP._32(n,60)._canLabelFloat,fP._32(n,60)._shouldLabelFloat(),fP._32(n,60)._hideControlPlaceholder(),fP._32(n,60)._control.disabled,fP._32(n,60)._control.focused,"primary"==fP._32(n,60).color,"accent"==fP._32(n,60).color,"warn"==fP._32(n,60).color,fP._32(n,60)._shouldForward("untouched"),fP._32(n,60)._shouldForward("touched"),fP._32(n,60)._shouldForward("pristine"),fP._32(n,60)._shouldForward("dirty"),fP._32(n,60)._shouldForward("valid"),fP._32(n,60)._shouldForward("invalid"),fP._32(n,60)._shouldForward("pending")]);l(n,69,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()]);l(n,79,1,[fP._32(n,80)._control.errorState,fP._32(n,80)._control.errorState,fP._32(n,80)._canLabelFloat,fP._32(n,80)._shouldLabelFloat(),fP._32(n,80)._hideControlPlaceholder(),fP._32(n,80)._control.disabled,fP._32(n,80)._control.focused,"primary"==fP._32(n,80).color,"accent"==fP._32(n,80).color,"warn"==fP._32(n,80).color,fP._32(n,80)._shouldForward("untouched"),fP._32(n,80)._shouldForward("touched"),fP._32(n,80)._shouldForward("pristine"),fP._32(n,80)._shouldForward("dirty"),fP._32(n,80)._shouldForward("valid"),fP._32(n,80)._shouldForward("invalid"),fP._32(n,80)._shouldForward("pending")]);l(n,89,1,[fP._32(n,92).ngClassUntouched,fP._32(n,92).ngClassTouched,fP._32(n,92).ngClassPristine,fP._32(n,92).ngClassDirty,fP._32(n,92).ngClassValid,fP._32(n,92).ngClassInvalid,fP._32(n,92).ngClassPending,fP._32(n,93).id,fP._32(n,93).tabIndex,fP._32(n,93)._ariaLabel,fP._32(n,93).ariaLabelledby,fP._32(n,93).required.toString(),fP._32(n,93).disabled.toString(),fP._32(n,93).errorState,fP._32(n,93).panelOpen?fP._32(n,93)._optionIds:null,fP._32(n,93).multiple,fP._32(n,93)._ariaDescribedby||null,fP._32(n,93)._getAriaActiveDescendant(),fP._32(n,93).disabled,fP._32(n,93).errorState,fP._32(n,93).required]);l(n,100,0,fP._32(n,101)._getTabIndex(),fP._32(n,101).selected,fP._32(n,101).multiple,fP._32(n,101).active,fP._32(n,101).id,fP._32(n,101).selected.toString(),fP._32(n,101).disabled.toString(),fP._32(n,101).disabled);l(n,109,1,[fP._32(n,110)._control.errorState,fP._32(n,110)._control.errorState,fP._32(n,110)._canLabelFloat,fP._32(n,110)._shouldLabelFloat(),fP._32(n,110)._hideControlPlaceholder(),fP._32(n,110)._control.disabled,fP._32(n,110)._control.focused,"primary"==fP._32(n,110).color,"accent"==fP._32(n,110).color,"warn"==fP._32(n,110).color,fP._32(n,110)._shouldForward("untouched"),fP._32(n,110)._shouldForward("touched"),fP._32(n,110)._shouldForward("pristine"),fP._32(n,110)._shouldForward("dirty"),fP._32(n,110)._shouldForward("valid"),fP._32(n,110)._shouldForward("invalid"),fP._32(n,110)._shouldForward("pending")]);l(n,119,1,[fP._32(n,124).ngClassUntouched,fP._32(n,124).ngClassTouched,fP._32(n,124).ngClassPristine,fP._32(n,124).ngClassDirty,fP._32(n,124).ngClassValid,fP._32(n,124).ngClassInvalid,fP._32(n,124).ngClassPending,fP._32(n,125)._isServer,fP._32(n,125).id,fP._32(n,125).placeholder,fP._32(n,125).disabled,fP._32(n,125).required,fP._32(n,125).readonly,fP._32(n,125)._ariaDescribedby||null,fP._32(n,125).errorState,fP._32(n,125).required.toString()]);l(n,129,1,[fP._32(n,130)._control.errorState,fP._32(n,130)._control.errorState,fP._32(n,130)._canLabelFloat,fP._32(n,130)._shouldLabelFloat(),fP._32(n,130)._hideControlPlaceholder(),fP._32(n,130)._control.disabled,fP._32(n,130)._control.focused,"primary"==fP._32(n,130).color,"accent"==fP._32(n,130).color,"warn"==fP._32(n,130).color,fP._32(n,130)._shouldForward("untouched"),fP._32(n,130)._shouldForward("touched"),fP._32(n,130)._shouldForward("pristine"),fP._32(n,130)._shouldForward("dirty"),fP._32(n,130)._shouldForward("valid"),fP._32(n,130)._shouldForward("invalid"),fP._32(n,130)._shouldForward("pending")]);l(n,139,1,[fP._32(n,142).ngClassUntouched,fP._32(n,142).ngClassTouched,fP._32(n,142).ngClassPristine,fP._32(n,142).ngClassDirty,fP._32(n,142).ngClassValid,fP._32(n,142).ngClassInvalid,fP._32(n,142).ngClassPending,fP._32(n,143).id,fP._32(n,143).tabIndex,fP._32(n,143)._ariaLabel,fP._32(n,143).ariaLabelledby,fP._32(n,143).required.toString(),fP._32(n,143).disabled.toString(),fP._32(n,143).errorState,fP._32(n,143).panelOpen?fP._32(n,143)._optionIds:null,fP._32(n,143).multiple,fP._32(n,143)._ariaDescribedby||null,fP._32(n,143)._getAriaActiveDescendant(),fP._32(n,143).disabled,fP._32(n,143).errorState,fP._32(n,143).required]);l(n,150,0,fP._32(n,151)._getTabIndex(),fP._32(n,151).selected,fP._32(n,151).multiple,fP._32(n,151).active,fP._32(n,151).id,fP._32(n,151).selected.toString(),fP._32(n,151).disabled.toString(),fP._32(n,151).disabled);l(n,163,1,[fP._32(n,164)._control.errorState,fP._32(n,164)._control.errorState,fP._32(n,164)._canLabelFloat,fP._32(n,164)._shouldLabelFloat(),fP._32(n,164)._hideControlPlaceholder(),fP._32(n,164)._control.disabled,fP._32(n,164)._control.focused,"primary"==fP._32(n,164).color,"accent"==fP._32(n,164).color,"warn"==fP._32(n,164).color,fP._32(n,164)._shouldForward("untouched"),fP._32(n,164)._shouldForward("touched"),fP._32(n,164)._shouldForward("pristine"),fP._32(n,164)._shouldForward("dirty"),fP._32(n,164)._shouldForward("valid"),fP._32(n,164)._shouldForward("invalid"),fP._32(n,164)._shouldForward("pending")]);l(n,173,1,[fP._32(n,175).minlength?fP._32(n,175).minlength:null,fP._32(n,176).maxlength?fP._32(n,176).maxlength:null,fP._32(n,181).ngClassUntouched,fP._32(n,181).ngClassTouched,fP._32(n,181).ngClassPristine,fP._32(n,181).ngClassDirty,fP._32(n,181).ngClassValid,fP._32(n,181).ngClassInvalid,fP._32(n,181).ngClassPending,fP._32(n,182)._isServer,fP._32(n,182).id,fP._32(n,182).placeholder,fP._32(n,182).disabled,fP._32(n,182).required,fP._32(n,182).readonly,fP._32(n,182)._ariaDescribedby||null,fP._32(n,182).errorState,fP._32(n,182).required.toString()]);l(n,186,0,fP._32(n,187).id);l(n,191,1,[fP._32(n,192)._control.errorState,fP._32(n,192)._control.errorState,fP._32(n,192)._canLabelFloat,fP._32(n,192)._shouldLabelFloat(),fP._32(n,192)._hideControlPlaceholder(),fP._32(n,192)._control.disabled,fP._32(n,192)._control.focused,"primary"==fP._32(n,192).color,"accent"==fP._32(n,192).color,"warn"==fP._32(n,192).color,fP._32(n,192)._shouldForward("untouched"),fP._32(n,192)._shouldForward("touched"),fP._32(n,192)._shouldForward("pristine"),fP._32(n,192)._shouldForward("dirty"),fP._32(n,192)._shouldForward("valid"),fP._32(n,192)._shouldForward("invalid"),fP._32(n,192)._shouldForward("pending")]);l(n,201,1,[fP._32(n,203).minlength?fP._32(n,203).minlength:null,fP._32(n,204).maxlength?fP._32(n,204).maxlength:null,fP._32(n,209).ngClassUntouched,fP._32(n,209).ngClassTouched,fP._32(n,209).ngClassPristine,fP._32(n,209).ngClassDirty,fP._32(n,209).ngClassValid,fP._32(n,209).ngClassInvalid,fP._32(n,209).ngClassPending,fP._32(n,210)._isServer,fP._32(n,210).id,fP._32(n,210).placeholder,fP._32(n,210).disabled,fP._32(n,210).required,fP._32(n,210).readonly,fP._32(n,210)._ariaDescribedby||null,fP._32(n,210).errorState,fP._32(n,210).required.toString()]);l(n,213,0,fP._32(n,214).id);l(n,219,1,[fP._32(n,220)._control.errorState,fP._32(n,220)._control.errorState,fP._32(n,220)._canLabelFloat,fP._32(n,220)._shouldLabelFloat(),fP._32(n,220)._hideControlPlaceholder(),fP._32(n,220)._control.disabled,fP._32(n,220)._control.focused,"primary"==fP._32(n,220).color,"accent"==fP._32(n,220).color,"warn"==fP._32(n,220).color,fP._32(n,220)._shouldForward("untouched"),fP._32(n,220)._shouldForward("touched"),fP._32(n,220)._shouldForward("pristine"),fP._32(n,220)._shouldForward("dirty"),fP._32(n,220)._shouldForward("valid"),fP._32(n,220)._shouldForward("invalid"),fP._32(n,220)._shouldForward("pending")]);l(n,229,1,[fP._32(n,231).minlength?fP._32(n,231).minlength:null,fP._32(n,232).maxlength?fP._32(n,232).maxlength:null,fP._32(n,237).ngClassUntouched,fP._32(n,237).ngClassTouched,fP._32(n,237).ngClassPristine,fP._32(n,237).ngClassDirty,fP._32(n,237).ngClassValid,fP._32(n,237).ngClassInvalid,fP._32(n,237).ngClassPending,fP._32(n,238)._isServer,fP._32(n,238).id,fP._32(n,238).placeholder,fP._32(n,238).disabled,fP._32(n,238).required,fP._32(n,238).readonly,fP._32(n,238)._ariaDescribedby||null,fP._32(n,238).errorState,fP._32(n,238).required.toString()]);l(n,241,0,fP._32(n,242).id);l(n,246,1,[fP._32(n,247)._control.errorState,fP._32(n,247)._control.errorState,fP._32(n,247)._canLabelFloat,fP._32(n,247)._shouldLabelFloat(),fP._32(n,247)._hideControlPlaceholder(),fP._32(n,247)._control.disabled,fP._32(n,247)._control.focused,"primary"==fP._32(n,247).color,"accent"==fP._32(n,247).color,"warn"==fP._32(n,247).color,fP._32(n,247)._shouldForward("untouched"),fP._32(n,247)._shouldForward("touched"),fP._32(n,247)._shouldForward("pristine"),fP._32(n,247)._shouldForward("dirty"),fP._32(n,247)._shouldForward("valid"),fP._32(n,247)._shouldForward("invalid"),fP._32(n,247)._shouldForward("pending")]);l(n,256,1,[fP._32(n,260).ngClassUntouched,fP._32(n,260).ngClassTouched,fP._32(n,260).ngClassPristine,fP._32(n,260).ngClassDirty,fP._32(n,260).ngClassValid,fP._32(n,260).ngClassInvalid,fP._32(n,260).ngClassPending,fP._32(n,261).id,fP._32(n,261).tabIndex,fP._32(n,261)._ariaLabel,fP._32(n,261).ariaLabelledby,fP._32(n,261).required.toString(),fP._32(n,261).disabled.toString(),fP._32(n,261).errorState,fP._32(n,261).panelOpen?fP._32(n,261)._optionIds:null,fP._32(n,261).multiple,fP._32(n,261)._ariaDescribedby||null,fP._32(n,261)._getAriaActiveDescendant(),fP._32(n,261).disabled,fP._32(n,261).errorState,fP._32(n,261).required]);l(n,272,1,[fP._32(n,273)._control.errorState,fP._32(n,273)._control.errorState,fP._32(n,273)._canLabelFloat,fP._32(n,273)._shouldLabelFloat(),fP._32(n,273)._hideControlPlaceholder(),fP._32(n,273)._control.disabled,fP._32(n,273)._control.focused,"primary"==fP._32(n,273).color,"accent"==fP._32(n,273).color,"warn"==fP._32(n,273).color,fP._32(n,273)._shouldForward("untouched"),fP._32(n,273)._shouldForward("touched"),fP._32(n,273)._shouldForward("pristine"),fP._32(n,273)._shouldForward("dirty"),fP._32(n,273)._shouldForward("valid"),fP._32(n,273)._shouldForward("invalid"),fP._32(n,273)._shouldForward("pending")]);l(n,282,1,[fP._32(n,285).ngClassUntouched,fP._32(n,285).ngClassTouched,fP._32(n,285).ngClassPristine,fP._32(n,285).ngClassDirty,fP._32(n,285).ngClassValid,fP._32(n,285).ngClassInvalid,fP._32(n,285).ngClassPending,fP._32(n,286).id,fP._32(n,286).tabIndex,fP._32(n,286)._ariaLabel,fP._32(n,286).ariaLabelledby,fP._32(n,286).required.toString(),fP._32(n,286).disabled.toString(),fP._32(n,286).errorState,fP._32(n,286).panelOpen?fP._32(n,286)._optionIds:null,fP._32(n,286).multiple,fP._32(n,286)._ariaDescribedby||null,fP._32(n,286)._getAriaActiveDescendant(),fP._32(n,286).disabled,fP._32(n,286).errorState,fP._32(n,286).required]);l(n,293,0,fP._32(n,294)._getTabIndex(),fP._32(n,294).selected,fP._32(n,294).multiple,fP._32(n,294).active,fP._32(n,294).id,fP._32(n,294).selected.toString(),fP._32(n,294).disabled.toString(),fP._32(n,294).disabled);l(n,297,0,fP._32(n,298)._getTabIndex(),fP._32(n,298).selected,fP._32(n,298).multiple,fP._32(n,298).active,fP._32(n,298).id,fP._32(n,298).selected.toString(),fP._32(n,298).disabled.toString(),fP._32(n,298).disabled);l(n,301,0,fP._32(n,302)._getTabIndex(),fP._32(n,302).selected,fP._32(n,302).multiple,fP._32(n,302).active,fP._32(n,302).id,fP._32(n,302).selected.toString(),fP._32(n,302).disabled.toString(),fP._32(n,302).disabled)})}function Bh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,339,{_control:0}),fP._38(335544320,340,{_placeholderChild:0}),fP._38(335544320,341,{_labelChild:0}),fP._38(603979776,342,{_errorChildren:1}),fP._38(603979776,343,{_hintChildren:1}),fP._38(603979776,344,{_prefixChildren:1}),fP._38(603979776,345,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[339,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"service_products_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function Rh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,7,"div",[["formArrayName","service_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(8,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$h)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bh)),fP._17(15,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"service_products");l(n,11,0,n.context.$implicit.controls.service_products.controls);l(n,15,0,e.spCreditCardFlag)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,0,fP._32(n,8).ngClassUntouched,fP._32(n,8).ngClassTouched,fP._32(n,8).ngClassPristine,fP._32(n,8).ngClassDirty,fP._32(n,8).ngClassValid,fP._32(n,8).ngClassInvalid,fP._32(n,8).ngClassPending)})}function Uh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Service Provider Product Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,7,"div",[["formArrayName","service_provider_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(10,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(12,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rh)),fP._17(15,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"service_provider_details");l(n,15,0,e.clientInfoForm.controls.service_provider_details.controls)},function(l,n){l(n,9,0,fP._32(n,12).ngClassUntouched,fP._32(n,12).ngClassTouched,fP._32(n,12).ngClassPristine,fP._32(n,12).ngClassDirty,fP._32(n,12).ngClassValid,fP._32(n,12).ngClassInvalid,fP._32(n,12).ngClassPending)})}function Mh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,50,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,4).onReset()&&u}return u},null,null)),fP._17(3,16384,null,0,EP.B,[],null,null),fP._17(4,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,43,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vh)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Th)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Uh)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(20,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(22,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(23,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,346,{_control:0}),fP._38(335544320,347,{_placeholderChild:0}),fP._38(335544320,348,{_labelChild:0}),fP._38(603979776,349,{_errorChildren:1}),fP._38(603979776,350,{_hintChildren:1}),fP._38(603979776,351,{_prefixChildren:1}),fP._38(603979776,352,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(33,16384,[[348,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","supplier_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,42)._onInput()&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(39,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[346,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(49,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.clientInfoForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.tradingForm);l(n,17,0,e.serviceProviderForm);l(n,39,0,"supplier_info_form_remark");l(n,42,0,"Remarks")},function(l,n){l(n,2,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending);l(n,22,1,[fP._32(n,23)._control.errorState,fP._32(n,23)._control.errorState,fP._32(n,23)._canLabelFloat,fP._32(n,23)._shouldLabelFloat(),fP._32(n,23)._hideControlPlaceholder(),fP._32(n,23)._control.disabled,fP._32(n,23)._control.focused,"primary"==fP._32(n,23).color,"accent"==fP._32(n,23).color,"warn"==fP._32(n,23).color,fP._32(n,23)._shouldForward("untouched"),fP._32(n,23)._shouldForward("touched"),fP._32(n,23)._shouldForward("pristine"),fP._32(n,23)._shouldForward("dirty"),fP._32(n,23)._shouldForward("valid"),fP._32(n,23)._shouldForward("invalid"),fP._32(n,23)._shouldForward("pending")]);l(n,36,1,[fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._isServer,fP._32(n,42).id,fP._32(n,42).placeholder,fP._32(n,42).disabled,fP._32(n,42).required,fP._32(n,42).readonly,fP._32(n,42)._ariaDescribedby||null,fP._32(n,42).errorState,fP._32(n,42).required.toString()])})}function Kh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),fP._40(8,null,[" "," "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function Hh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mh)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kh)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,e.noRecordsFound);l(n,6,0,!e.noRecordsFound)},null)}function Gh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,zf)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(19,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yf)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(31,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(33,16384,null,0,EP.s,[EP.r],null,null),fP._17(34,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,38).onClick()&&u}return u},dV.b,dV.a)),fP._17(38,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,42).onClick()&&u}return u},dV.b,dV.a)),fP._17(42,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(47,0,null,null,15,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(48,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,9,"div",[],null,null,null,null,null)),fP._17(51,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,oh)),fP._17(54,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._13(16777216,null,null,1,null,Hh)),fP._17(57,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,!e.complete_status);l(n,31,0,e.tab);l(n,34,0,"optblue");l(n,38,0,"0");l(n,42,0,"1");l(n,51,0,e.tab);l(n,54,0,"1");l(n,57,0,"0")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,30,0,fP._32(n,33).ngClassUntouched,fP._32(n,33).ngClassTouched,fP._32(n,33).ngClassPristine,fP._32(n,33).ngClassDirty,fP._32(n,33).ngClassValid,fP._32(n,33).ngClassInvalid,fP._32(n,33).ngClassPending,fP._32(n,34)._disabled);l(n,37,0,fP._32(n,38)._disabled,fP._32(n,38).isActive,fP._32(n,38).isActive);l(n,41,0,fP._32(n,42)._disabled,fP._32(n,42).isActive,fP._32(n,42).isActive);l(n,47,0,fP._32(n,48).statusbarPadding,fP._32(n,48)._hasRefresher)})}function zh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.pageTitle)})}function Yh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAlert(t.rentalForms.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Qh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Jh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Xh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Zh(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function lg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jh)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Xh)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zh)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function ng(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lg)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function eg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ug(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function tg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eg)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,ug)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function ag(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tg)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function ig(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function og(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qh)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,ng)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,ag)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,ig)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function rg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _g(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[29,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function dg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[40,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function sg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:90%;margin-top: 2%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,44,{_control:0}),fP._38(335544320,45,{_placeholderChild:0}),fP._38(335544320,46,{_labelChild:0}),fP._38(603979776,47,{_errorChildren:1}),fP._38(603979776,48,{_hintChildren:1}),fP._38(603979776,49,{_prefixChildren:1}),fP._38(603979776,50,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[46,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Actual Address Visited"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_visited_address"],["matInput",""],["placeholder",""],["required",""],["rows","2"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[44,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_visited_address");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function cg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[58,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function mg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[59,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,cg)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function pg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,61,{_control:0}),fP._38(335544320,62,{_placeholderChild:0}),fP._38(335544320,63,{_labelChild:0}),fP._38(603979776,64,{_errorChildren:1}),fP._38(603979776,65,{_hintChildren:1}),fP._38(603979776,66,{_prefixChildren:1}),fP._38(603979776,67,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[63,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Specify Other Person"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_met"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[61,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_person_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function fg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[75,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function hg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,68,{_control:0}),fP._38(335544320,69,{_placeholderChild:0}),fP._38(335544320,70,{_labelChild:0}),fP._38(603979776,71,{_errorChildren:1}),fP._38(603979776,72,{_hintChildren:1}),fP._38(603979776,73,{_prefixChildren:1}),fP._38(603979776,74,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[70,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Who is "," ?"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","other_name_person_showing_property"],["multiple",""],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.personShowingChanges(t.rentalForms.controls.other_name_person_showing_property.value)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,75,{options:1}),fP._38(603979776,76,{optionGroups:1}),fP._38(335544320,77,{customTrigger:0}),fP._37(2048,[[68,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,fg)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"other_name_person_showing_property");l(n,21,0,"","","",e.compareSingleObjects);l(n,28,0,e.personType)},function(l,n){var e=n.component;l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,e.rentalForms.controls.other_person_met.value);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required])})}function gg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,78,{_control:0}),fP._38(335544320,79,{_placeholderChild:0}),fP._38(335544320,80,{_labelChild:0}),fP._38(603979776,81,{_errorChildren:1}),fP._38(603979776,82,{_hintChildren:1}),fP._38(603979776,83,{_prefixChildren:1}),fP._38(603979776,84,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[80,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["Who is "," ?"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_name_person_type"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[78,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_name_person_type");l(n,22,0,"","")},function(l,n){var e=n.component;l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,e.rentalForms.controls.other_person_met.value);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function bg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[92,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function vg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[93,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,bg)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function yg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,95,{_control:0}),fP._38(335544320,96,{_placeholderChild:0}),fP._38(335544320,97,{_labelChild:0}),fP._38(603979776,98,{_errorChildren:1}),fP._38(603979776,99,{_hintChildren:1}),fP._38(603979776,100,{_prefixChildren:1}),fP._38(603979776,101,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[97,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Specify Other Owner/Owners"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_owner_other"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[95,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"property_owner_other");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Cg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[109,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function wg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[110,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Cg)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,5,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Fg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,102,{_control:0}),fP._38(335544320,103,{_placeholderChild:0}),fP._38(335544320,104,{_labelChild:0}),fP._38(603979776,105,{_errorChildren:1}),fP._38(603979776,106,{_hintChildren:1}),fP._38(603979776,107,{_prefixChildren:1}),fP._38(603979776,108,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[104,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Relation of Owner to Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relationship"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,109,{options:1}),fP._38(603979776,110,{optionGroups:1}),fP._38(335544320,111,{customTrigger:0}),fP._37(2048,[[102,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,wg)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_other_relationship");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.relationShipList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required])})}function xg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[119,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,"0"==n.context.$implicit.id?"Not Applicable":fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function kg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[120,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,xg)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Sg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,112,{_control:0}),fP._38(335544320,113,{_placeholderChild:0}),fP._38(335544320,114,{_labelChild:0}),fP._38(603979776,115,{_errorChildren:1}),fP._38(603979776,116,{_hintChildren:1}),fP._38(603979776,117,{_prefixChildren:1}),fP._38(603979776,118,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[114,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Relation To"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relation_to"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,119,{options:1}),fP._38(603979776,120,{optionGroups:1}),fP._38(335544320,121,{customTrigger:0}),fP._37(2048,[[112,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[119,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,kg)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"property_owner_other_relation_to");l(n,20,0,"","",e.compareObjects);l(n,32,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function Ig(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[139,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function qg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,132,{_control:0}),fP._38(335544320,133,{_placeholderChild:0}),fP._38(335544320,134,{_labelChild:0}),fP._38(603979776,135,{_errorChildren:1}),fP._38(603979776,136,{_hintChildren:1}),fP._38(603979776,137,{_prefixChildren:1}),fP._38(603979776,138,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[134,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Type of Document Sighted"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","sighted_documents"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getSightedDocs(t.rentalForms.controls.sighted_documents.value)&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,139,{options:1}),fP._38(603979776,140,{optionGroups:1}),fP._38(335544320,141,{customTrigger:0}),fP._37(2048,[[132,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[139,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ig)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"sighted_documents");l(n,20,0,"","",e.compareSingleObjects);l(n,32,0,e.documentList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function Pg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,142,{_control:0}),fP._38(335544320,143,{_placeholderChild:0}),fP._38(335544320,144,{_labelChild:0}),fP._38(603979776,145,{_errorChildren:1}),fP._38(603979776,146,{_hintChildren:1}),fP._38(603979776,147,{_prefixChildren:1}),fP._38(603979776,148,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[144,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Other Type of Document"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_sighted_documents"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[142,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_sighted_documents");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Dg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[156,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Tg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,159,{_control:0}),fP._38(335544320,160,{_placeholderChild:0}),fP._38(335544320,161,{_labelChild:0}),fP._38(603979776,162,{_errorChildren:1}),fP._38(603979776,163,{_hintChildren:1}),fP._38(603979776,164,{_prefixChildren:1}),fP._38(603979776,165,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[161,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Other Property"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_nature_property"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[159,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_nature_property");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Og(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Lg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[174,4]],0,jA.s,[],{disabled:[0,"disabled"],label:[1,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Og)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,e.rentalForms.value.nature_property.id>1&&e.rentalForms.value.nature_property.id!=n.context.$implicit.groupID,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Ag(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,176,{_control:0}),fP._38(335544320,177,{_placeholderChild:0}),fP._38(335544320,178,{_labelChild:0}),fP._38(603979776,179,{_errorChildren:1}),fP._38(603979776,180,{_hintChildren:1}),fP._38(603979776,181,{_prefixChildren:1}),fP._38(603979776,182,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[178,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Specify Other Unit Type"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_unit_type"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[176,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_unit_type");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Vg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,183,{_control:0}),fP._38(335544320,184,{_placeholderChild:0}),fP._38(335544320,185,{_labelChild:0}),fP._38(603979776,186,{_errorChildren:1}),fP._38(603979776,187,{_hintChildren:1}),fP._38(603979776,188,{_prefixChildren:1}),fP._38(603979776,189,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[185,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Tot No of Units"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_units"],["matInput",""],["maxlength","3"],["placeholder",""],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[183,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"3");l(n,20,0,"no_units");l(n,23,0,"","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).maxlength?fP._32(n,17).maxlength:null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function Ng(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,190,{_control:0}),fP._38(335544320,191,{_placeholderChild:0}),fP._38(335544320,192,{_labelChild:0}),fP._38(603979776,193,{_errorChildren:1}),fP._38(603979776,194,{_hintChildren:1}),fP._38(603979776,195,{_prefixChildren:1}),fP._38(603979776,196,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[192,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of Floors"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_floor"],["matInput",""],["maxlength","2"],["placeholder",""],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.generateFloor(e)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[190,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"2");l(n,20,0,"no_floor");l(n,23,0,"","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).maxlength?fP._32(n,17).maxlength:null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function Wg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,197,{_control:0}),fP._38(335544320,198,{_placeholderChild:0}),fP._38(335544320,199,{_labelChild:0}),fP._38(603979776,200,{_errorChildren:1}),fP._38(603979776,201,{_hintChildren:1}),fP._38(603979776,202,{_prefixChildren:1}),fP._38(603979776,203,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[199,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Total Area Given on Rent"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","multistoried_total_area"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[197,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"multistoried_total_area");l(n,23,0,"","","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function Eg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[211,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function jg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,204,{_control:0}),fP._38(335544320,205,{_placeholderChild:0}),fP._38(335544320,206,{_labelChild:0}),fP._38(603979776,207,{_errorChildren:1}),fP._38(603979776,208,{_hintChildren:1}),fP._38(603979776,209,{_prefixChildren:1}),fP._38(603979776,210,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[206,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Unit of Measurement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","multistoried_uom"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateMultistoriedOtherUOM(t.rentalForms.value)&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,211,{options:1}),fP._38(603979776,212,{optionGroups:1}),fP._38(335544320,213,{customTrigger:0}),fP._37(2048,[[204,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[211,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Eg)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"multistoried_uom");l(n,20,0,"","",e.compareSingleObjects);l(n,32,0,e.unitMeasurementList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function $g(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,214,{_control:0}),fP._38(335544320,215,{_placeholderChild:0}),fP._38(335544320,216,{_labelChild:0}),fP._38(603979776,217,{_errorChildren:1}),fP._38(603979776,218,{_hintChildren:1}),fP._38(603979776,219,{_prefixChildren:1}),fP._38(603979776,220,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[216,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Other Unit of Measurement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","multistoried_other_uom"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[214,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"multistoried_other_uom");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Bg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[249,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.rent_per_unit_Inwords[n.parent.context.index])})}function Rg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[256,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amount_Inwords[n.parent.parent.parent.parent.context.index])})}function Ug(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,62,"div",[["class","align-margin"],["fxLayout","row wrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,245,{_control:0}),fP._38(335544320,246,{_placeholderChild:0}),fP._38(335544320,247,{_labelChild:0}),fP._38(603979776,248,{_errorChildren:1}),fP._38(603979776,249,{_hintChildren:1}),fP._38(603979776,250,{_prefixChildren:1}),fP._38(603979776,251,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[247,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Rent per Unit"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_per_unit"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}if("keyup"===n){t.calculateFloorRentAmt(l.parent.parent.parent.context.$implicit.value,l.parent.parent.parent.context.index);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(21,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(22,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[245,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Bg)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(36,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,252,{_control:0}),fP._38(335544320,253,{_placeholderChild:0}),fP._38(335544320,254,{_labelChild:0}),fP._38(603979776,255,{_errorChildren:1}),fP._38(603979776,256,{_hintChildren:1}),fP._38(603979776,257,{_prefixChildren:1}),fP._38(603979776,258,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(46,16384,[[254,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Amount"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount"],["matInput",""],["placeholder",""],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,50)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,51).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,51).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,56)._onInput()&&u}return u},null,null)),fP._17(50,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(51,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(53,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(55,16384,null,0,EP.s,[EP.r],null,null),fP._17(56,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[252,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Rg)),fP._17(60,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"");l(n,25,0,"rent_per_unit");l(n,28,0,"","","number");l(n,32,0,""!=n.context.$implicit.value.rent_per_unit);l(n,53,0,"amount");l(n,56,0,"","number","");l(n,60,0,""!=n.context.$implicit.value.amount)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).required?"":null,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,35,1,[fP._32(n,36)._control.errorState,fP._32(n,36)._control.errorState,fP._32(n,36)._canLabelFloat,fP._32(n,36)._shouldLabelFloat(),fP._32(n,36)._hideControlPlaceholder(),fP._32(n,36)._control.disabled,fP._32(n,36)._control.focused,"primary"==fP._32(n,36).color,"accent"==fP._32(n,36).color,"warn"==fP._32(n,36).color,fP._32(n,36)._shouldForward("untouched"),fP._32(n,36)._shouldForward("touched"),fP._32(n,36)._shouldForward("pristine"),fP._32(n,36)._shouldForward("dirty"),fP._32(n,36)._shouldForward("valid"),fP._32(n,36)._shouldForward("invalid"),fP._32(n,36)._shouldForward("pending")]);l(n,49,1,[fP._32(n,55).ngClassUntouched,fP._32(n,55).ngClassTouched,fP._32(n,55).ngClassPristine,fP._32(n,55).ngClassDirty,fP._32(n,55).ngClassValid,fP._32(n,55).ngClassInvalid,fP._32(n,55).ngClassPending,fP._32(n,56)._isServer,fP._32(n,56).id,fP._32(n,56).placeholder,fP._32(n,56).disabled,fP._32(n,56).required,fP._32(n,56).readonly,fP._32(n,56)._ariaDescribedby||null,fP._32(n,56).errorState,fP._32(n,56).required.toString()])})}function Mg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","floor_unit_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ug)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"floor_unit_details");l(n,6,0,n.parent.parent.context.$implicit.controls.floor_unit_details.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Kg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mg)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.value.floor_unit_details.length>0)},null)}function Hg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[263,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",""!=n.parent.context.$implicit.value.rent_per_unit?e.inWordsmultiple(n.parent.context.$implicit.value.rent_per_unit,n.parent.parent.parent.parent.context.index,n.parent.context.index,1):"")})}function Gg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"div",[["class","rent-unit"],["fxFlex.lg","45"],["fxFlex.md","45"],["fxFlex.sm","45"],["fxFlex.xl","45"],["fxFlex.xs","100"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,259,{_control:0}),fP._38(335544320,260,{_placeholderChild:0}),fP._38(335544320,261,{_labelChild:0}),fP._38(603979776,262,{_errorChildren:1}),fP._38(603979776,263,{_hintChildren:1}),fP._38(603979776,264,{_prefixChildren:1}),fP._38(603979776,265,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[261,4]],0,EA.f,[],null,null),(l()(),fP._40(17,null,["Rent Unit "," "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_per_unit"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateFloorRentAmt(l.parent.parent.parent.context.$implicit.value,l.parent.parent.parent.context.index)&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(21,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(22,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[259,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Hg)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"");l(n,25,0,"rent_per_unit");l(n,28,0,"","","number");l(n,32,0,""!=n.context.$implicit.value.rent_per_unit)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,17,0,n.context.index+1);l(n,19,1,[fP._32(n,22).required?"":null,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()])})}function zg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["class","align-margin"],["formArrayName","floor_unit_details"],["fxLayout","row wrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gg)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"floor_unit_details");l(n,6,0,n.parent.parent.context.$implicit.controls.floor_unit_details.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Yg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zg)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.value.floor_unit_details.length>0)},null)}function Qg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[270,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.floor_rent_amount_Inwords[n.parent.parent.context.index])})}function Jg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"mat-card-actions",[["class","mat-card-actions"],["style","margin-right: 2%;margin-left: 2%;"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(1,16384,null,0,AA.b,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,29,"div",[["class","total-rent-amt"],["fxFlex","100"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,266,{_control:0}),fP._38(335544320,267,{_placeholderChild:0}),fP._38(335544320,268,{_labelChild:0}),fP._38(603979776,269,{_errorChildren:1}),fP._38(603979776,270,{_hintChildren:1}),fP._38(603979776,271,{_prefixChildren:1}),fP._38(603979776,272,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,[[268,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Total Rent Amount"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","floor_rent_amount"],["matInput",""],["placeholder",""],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,26)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,26)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,26)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(21,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(23,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(25,16384,null,0,EP.s,[EP.r],null,null),fP._17(26,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[266,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Qg)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,23,0,"floor_rent_amount");l(n,26,0,"","number","");l(n,30,0,""!=n.parent.context.$implicit.value.floor_rent_amount)},function(l,n){l(n,0,0,"end"===fP._32(n,1).align);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,19,1,[fP._32(n,25).ngClassUntouched,fP._32(n,25).ngClassTouched,fP._32(n,25).ngClassPristine,fP._32(n,25).ngClassDirty,fP._32(n,25).ngClassValid,fP._32(n,25).ngClassInvalid,fP._32(n,25).ngClassPending,fP._32(n,26)._isServer,fP._32(n,26).id,fP._32(n,26).placeholder,fP._32(n,26).disabled,fP._32(n,26).required,fP._32(n,26).readonly,fP._32(n,26)._ariaDescribedby||null,fP._32(n,26).errorState,fP._32(n,26).required.toString()])})}function Xg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,120,"mat-card",[["class","mat-card"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LA.d,LA.a)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,110,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,221,{_control:0}),fP._38(335544320,222,{_placeholderChild:0}),fP._38(335544320,223,{_labelChild:0}),fP._38(603979776,224,{_errorChildren:1}),fP._38(603979776,225,{_hintChildren:1}),fP._38(603979776,226,{_prefixChildren:1}),fP._38(603979776,227,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(20,16384,[[223,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Floor Level Name"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","floor_level"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,24)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,24).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,24)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,24)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,31)._onInput()&&u}return u},null,null)),fP._17(24,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(25,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(28,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),fP._17(31,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[221,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(35,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(36,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,228,{_control:0}),fP._38(335544320,229,{_placeholderChild:0}),fP._38(335544320,230,{_labelChild:0}),fP._38(603979776,231,{_errorChildren:1}),fP._38(603979776,232,{_hintChildren:1}),fP._38(603979776,233,{_prefixChildren:1}),fP._38(603979776,234,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(46,16384,[[230,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of Units"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_units_in_floor"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,50)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,51).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,51).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,58)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,58)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,58)._onInput()&&u}if("keyup"===n){u=!1!==t.generateFloorUnit(l.context.$implicit.value,l.context.index)&&u}return u},null,null)),fP._17(50,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(51,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(52,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),fP._17(58,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[228,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(63,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,235,{_control:0}),fP._38(335544320,236,{_placeholderChild:0}),fP._38(335544320,237,{_labelChild:0}),fP._38(603979776,238,{_errorChildren:1}),fP._38(603979776,239,{_hintChildren:1}),fP._38(603979776,240,{_prefixChildren:1}),fP._38(603979776,241,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(72,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(73,16384,[[237,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Is Rent Same for All Units"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","unit_rent_difference_options"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,82)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,82)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,82)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateFloorUnit(l.context.$implicit.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(77,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(79,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(81,16384,null,0,EP.s,[EP.r],null,null),fP._17(82,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,242,{options:1}),fP._38(603979776,243,{optionGroups:1}),fP._38(335544320,244,{customTrigger:0}),fP._37(2048,[[235,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,90)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,90)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(90,8437760,[[242,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(93,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,94)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,94)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(94,8437760,[[242,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(97,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,98)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(98,8437760,[[242,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,null,10,"div",[],null,null,null,null,null)),fP._17(105,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kg)),fP._17(109,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yg)),fP._17(113,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Jg)),fP._17(119,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"");l(n,28,0,"floor_level");l(n,31,0,"","");l(n,52,0,"");l(n,55,0,"no_units_in_floor");l(n,58,0,"","","number");l(n,77,0,"");l(n,79,0,"unit_rent_difference_options");l(n,82,0,"","");l(n,94,0,"1");l(n,98,0,"0");l(n,105,0,n.context.$implicit.value.unit_rent_difference_options);l(n,109,0,1);l(n,113,0,0);l(n,119,0,0==n.context.$implicit.value.unit_rent_difference_options)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,23,1,[fP._32(n,25).required?"":null,fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending,fP._32(n,31)._isServer,fP._32(n,31).id,fP._32(n,31).placeholder,fP._32(n,31).disabled,fP._32(n,31).required,fP._32(n,31).readonly,fP._32(n,31)._ariaDescribedby||null,fP._32(n,31).errorState,fP._32(n,31).required.toString()]);l(n,35,1,[fP._32(n,36)._control.errorState,fP._32(n,36)._control.errorState,fP._32(n,36)._canLabelFloat,fP._32(n,36)._shouldLabelFloat(),fP._32(n,36)._hideControlPlaceholder(),fP._32(n,36)._control.disabled,fP._32(n,36)._control.focused,"primary"==fP._32(n,36).color,"accent"==fP._32(n,36).color,"warn"==fP._32(n,36).color,fP._32(n,36)._shouldForward("untouched"),fP._32(n,36)._shouldForward("touched"),fP._32(n,36)._shouldForward("pristine"),fP._32(n,36)._shouldForward("dirty"),fP._32(n,36)._shouldForward("valid"),fP._32(n,36)._shouldForward("invalid"),fP._32(n,36)._shouldForward("pending")]);l(n,49,1,[fP._32(n,52).required?"":null,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending,fP._32(n,58)._isServer,fP._32(n,58).id,fP._32(n,58).placeholder,fP._32(n,58).disabled,fP._32(n,58).required,fP._32(n,58).readonly,fP._32(n,58)._ariaDescribedby||null,fP._32(n,58).errorState,fP._32(n,58).required.toString()]);l(n,62,1,[fP._32(n,63)._control.errorState,fP._32(n,63)._control.errorState,fP._32(n,63)._canLabelFloat,fP._32(n,63)._shouldLabelFloat(),fP._32(n,63)._hideControlPlaceholder(),fP._32(n,63)._control.disabled,fP._32(n,63)._control.focused,"primary"==fP._32(n,63).color,"accent"==fP._32(n,63).color,"warn"==fP._32(n,63).color,fP._32(n,63)._shouldForward("untouched"),fP._32(n,63)._shouldForward("touched"),fP._32(n,63)._shouldForward("pristine"),fP._32(n,63)._shouldForward("dirty"),fP._32(n,63)._shouldForward("valid"),fP._32(n,63)._shouldForward("invalid"),fP._32(n,63)._shouldForward("pending")]);l(n,76,1,[fP._32(n,77).required?"":null,fP._32(n,81).ngClassUntouched,fP._32(n,81).ngClassTouched,fP._32(n,81).ngClassPristine,fP._32(n,81).ngClassDirty,fP._32(n,81).ngClassValid,fP._32(n,81).ngClassInvalid,fP._32(n,81).ngClassPending,fP._32(n,82).id,fP._32(n,82).tabIndex,fP._32(n,82)._ariaLabel,fP._32(n,82).ariaLabelledby,fP._32(n,82).required.toString(),fP._32(n,82).disabled.toString(),fP._32(n,82).errorState,fP._32(n,82).panelOpen?fP._32(n,82)._optionIds:null,fP._32(n,82).multiple,fP._32(n,82)._ariaDescribedby||null,fP._32(n,82)._getAriaActiveDescendant(),fP._32(n,82).disabled,fP._32(n,82).errorState,fP._32(n,82).required]);l(n,89,0,fP._32(n,90)._getTabIndex(),fP._32(n,90).selected,fP._32(n,90).multiple,fP._32(n,90).active,fP._32(n,90).id,fP._32(n,90).selected.toString(),fP._32(n,90).disabled.toString(),fP._32(n,90).disabled);l(n,93,0,fP._32(n,94)._getTabIndex(),fP._32(n,94).selected,fP._32(n,94).multiple,fP._32(n,94).active,fP._32(n,94).id,fP._32(n,94).selected.toString(),fP._32(n,94).disabled.toString(),fP._32(n,94).disabled);l(n,97,0,fP._32(n,98)._getTabIndex(),fP._32(n,98).selected,fP._32(n,98).multiple,fP._32(n,98).active,fP._32(n,98).id,fP._32(n,98).selected.toString(),fP._32(n,98).disabled.toString(),fP._32(n,98).disabled)})}function Zg(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,null,null,null,null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xg)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"multistoried_building_details");l(n,6,0,e.rentalForms.controls.multistoried_building_details.controls)},null)}function lb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,283,{_control:0}),fP._38(335544320,284,{_placeholderChild:0}),fP._38(335544320,285,{_labelChild:0}),fP._38(603979776,286,{_errorChildren:1}),fP._38(603979776,287,{_hintChildren:1}),fP._38(603979776,288,{_prefixChildren:1}),fP._38(603979776,289,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[285,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of Tenant(s)/Lessees(s)"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[283,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"name_tenant_lessees");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function nb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,290,{_control:0}),fP._38(335544320,291,{_placeholderChild:0}),fP._38(335544320,292,{_labelChild:0}),fP._38(603979776,293,{_errorChildren:1}),fP._38(603979776,294,{_hintChildren:1}),fP._38(603979776,295,{_prefixChildren:1}),fP._38(603979776,296,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[292,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Why Tenant(s)/Lessees(s) Name not Provided"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees_reason"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[290,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"name_tenant_lessees_reason");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function eb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[301,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.monthly_rent_amount_Inwords[n.parent.context.index])})}function ub(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[311,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function tb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[317,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function ab(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[317,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function ib(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[318,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_bank_Inwords[n.parent.parent.context.index])})}function ob(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.inWords(e.target.value,l.parent.context.index,7)&&u}return u},WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,314,{_control:0}),fP._38(335544320,315,{_placeholderChild:0}),fP._38(335544320,316,{_labelChild:0}),fP._38(603979776,317,{_errorChildren:1}),fP._38(603979776,318,{_hintChildren:1}),fP._38(603979776,319,{_prefixChildren:1}),fP._38(603979776,320,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[316,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Amount Received in Bank"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_bank"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.ValidatedRentAmount(l.parent.context.$implicit.value,l.parent.context.index,1)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[314,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,tb)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ab)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ib)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_bank");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_bank.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_bank.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_bank)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function rb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[324,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function _b(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[324,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function db(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[325,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_cash_Inwords[n.parent.parent.context.index])})}function sb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,321,{_control:0}),fP._38(335544320,322,{_placeholderChild:0}),fP._38(335544320,323,{_labelChild:0}),fP._38(603979776,324,{_errorChildren:1}),fP._38(603979776,325,{_hintChildren:1}),fP._38(603979776,326,{_prefixChildren:1}),fP._38(603979776,327,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[323,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Amount Received in Cash"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_cash"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,6)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[321,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,rb)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,_b)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,db)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_cash");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_cash.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_cash.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_cash)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function cb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,328,{_control:0}),fP._38(335544320,329,{_placeholderChild:0}),fP._38(335544320,330,{_labelChild:0}),fP._38(603979776,331,{_errorChildren:1}),fP._38(603979776,332,{_hintChildren:1}),fP._38(603979776,333,{_prefixChildren:1}),fP._38(603979776,334,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[330,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Reason for Receiving Multiple Payment Mode"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","payment_received_reason"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[328,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"payment_received_reason");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function mb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[339,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.securtity_deposit_amount_Inwords[n.parent.context.index])})}function pb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[356,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function fb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,359,{_control:0}),fP._38(335544320,360,{_placeholderChild:0}),fP._38(335544320,361,{_labelChild:0}),fP._38(603979776,362,{_errorChildren:1}),fP._38(603979776,363,{_hintChildren:1}),fP._38(603979776,364,{_prefixChildren:1}),fP._38(603979776,365,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[361,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Other Unit of Measurement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_unit_measurement"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[359,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_unit_measurement");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function hb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,376,{_control:0}),fP._38(335544320,377,{_placeholderChild:0}),fP._38(335544320,378,{_labelChild:0}),fP._38(603979776,379,{_errorChildren:1}),fP._38(603979776,380,{_hintChildren:1}),fP._38(603979776,381,{_prefixChildren:1}),fP._38(603979776,382,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[378,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Rent Agreement Seen"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","rent_agreement_seen"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateRegisterOptions(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,383,{options:1}),fP._38(603979776,384,{optionGroups:1}),fP._38(335544320,385,{customTrigger:0}),fP._37(2048,[[376,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[383,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[383,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[383,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"rent_agreement_seen");l(n,20,0,"","");l(n,32,0,"1");l(n,36,0,"0")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled)})}function gb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,386,{_control:0}),fP._38(335544320,387,{_placeholderChild:0}),fP._38(335544320,388,{_labelChild:0}),fP._38(603979776,389,{_errorChildren:1}),fP._38(603979776,390,{_hintChildren:1}),fP._38(603979776,391,{_prefixChildren:1}),fP._38(603979776,392,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[388,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Is the Rent Agreement Registered at Sub-Registrar Office"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","rent_agreement_registered"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateRegisterDetails(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,393,{options:1}),fP._38(603979776,394,{optionGroups:1}),fP._38(335544320,395,{customTrigger:0}),fP._37(2048,[[386,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[393,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[393,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[393,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"rent_agreement_registered");l(n,20,0,"","");l(n,32,0,"1");l(n,36,0,"0")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled)})}function bb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,396,{_control:0}),fP._38(335544320,397,{_placeholderChild:0}),fP._38(335544320,398,{_labelChild:0}),fP._38(603979776,399,{_errorChildren:1}),fP._38(603979776,400,{_hintChildren:1}),fP._38(603979776,401,{_prefixChildren:1}),fP._38(603979776,402,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[398,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Date of Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_date"],["matInput",""],["name","agreement_date"],["placeholder",""],["type","date"]],[[8,"max",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("dateChange"===n){u=!1!==t.calculateExpiryDate(e,l.parent.context.index)&&u}return u},null,null)),fP._17(16,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[396,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,18,0,"agreement_date");l(n,21,0,"","date")},function(l,n){var e=n.component;l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,15,1,[e.maxDate,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function vb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,403,{_control:0}),fP._38(335544320,404,{_placeholderChild:0}),fP._38(335544320,405,{_labelChild:0}),fP._38(603979776,406,{_errorChildren:1}),fP._38(603979776,407,{_hintChildren:1}),fP._38(603979776,408,{_prefixChildren:1}),fP._38(603979776,409,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[405,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of Months for Which Property has been let out as per Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_no_months"],["matInput",""],["maxlength","4"],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,24)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateExpiryDate(e,l.parent.context.index)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._17(18,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.x,EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[403,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,18,0,"4");l(n,21,0,"agreement_no_months");l(n,24,0,"","","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,18).maxlength?fP._32(n,18).maxlength:null,fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24)._isServer,fP._32(n,24).id,fP._32(n,24).placeholder,fP._32(n,24).disabled,fP._32(n,24).required,fP._32(n,24).readonly,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24).errorState,fP._32(n,24).required.toString()])})}function yb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,410,{_control:0}),fP._38(335544320,411,{_placeholderChild:0}),fP._38(335544320,412,{_labelChild:0}),fP._38(603979776,413,{_errorChildren:1}),fP._38(603979776,414,{_hintChildren:1}),fP._38(603979776,415,{_prefixChildren:1}),fP._38(603979776,416,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[412,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Date on which Agreement is Expiring"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_expiring_date"],["matInput",""],["placeholder",""],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,20)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),fP._37(2048,[[410,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"agreement_expiring_date");l(n,20,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20)._isServer,fP._32(n,20).id,fP._32(n,20).placeholder,fP._32(n,20).disabled,fP._32(n,20).required,fP._32(n,20).readonly,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20).errorState,fP._32(n,20).required.toString()])})}function Cb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,417,{_control:0}),fP._38(335544320,418,{_placeholderChild:0}),fP._38(335544320,419,{_labelChild:0}),fP._38(603979776,420,{_errorChildren:1}),fP._38(603979776,421,{_hintChildren:1}),fP._38(603979776,422,{_prefixChildren:1}),fP._38(603979776,423,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[419,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No of Rental Months Remaining as per Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_remaining_months"],["matInput",""],["placeholder",""],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[417,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,18,0,"rental_remaining_months");l(n,21,0,"","number","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function wb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[428,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.agreement_monthly_rent_amount_Inwords[n.parent.parent.context.index])})}function Fb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,424,{_control:0}),fP._38(335544320,425,{_placeholderChild:0}),fP._38(335544320,426,{_labelChild:0}),fP._38(603979776,427,{_errorChildren:1}),fP._38(603979776,428,{_hintChildren:1}),fP._38(603979776,429,{_prefixChildren:1}),fP._38(603979776,430,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[426,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Monthly Rent Amount as per Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_monthly_rent_amount"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,9)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[424,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,wb)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"agreement_monthly_rent_amount");l(n,23,0,"","","number");l(n,27,0,""!=n.parent.context.$implicit.value.agreement_monthly_rent_amount)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function xb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[435,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.agreement_security_deposit_amount_Inwords[n.parent.parent.context.index])})}function kb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,431,{_control:0}),fP._38(335544320,432,{_placeholderChild:0}),fP._38(335544320,433,{_labelChild:0}),fP._38(603979776,434,{_errorChildren:1}),fP._38(603979776,435,{_hintChildren:1}),fP._38(603979776,436,{_prefixChildren:1}),fP._38(603979776,437,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[433,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Security Deposit Amount as per Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_security_deposit_amount"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,10)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[431,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,xb)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"agreement_security_deposit_amount");l(n,23,0,"","","number");l(n,27,0,""!=n.parent.context.$implicit.value.agreement_security_deposit_amount)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function Sb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,438,{_control:0}),fP._38(335544320,439,{_placeholderChild:0}),fP._38(335544320,440,{_labelChild:0}),fP._38(603979776,441,{_errorChildren:1}),fP._38(603979776,442,{_hintChildren:1}),fP._38(603979776,443,{_prefixChildren:1}),fP._38(603979776,444,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[440,4]],0,EA.f,[],null,null),(l()(),fP._40(12,null,["There is a Difference of\n Rs.","\n in the rent amount as per agreement and actual rent received. Why?"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","differences_loanapplicant_rentagreement"],["matInput",""],["placeholder",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,20)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[438,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"differences_loanapplicant_rentagreement");l(n,20,0,"")},function(l,n){var e=n.component;l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,12,0,e.validateAgreementAmt(n.parent.context.$implicit.value.monthly_rent_amount,n.parent.context.$implicit.value.agreement_monthly_rent_amount));l(n,14,1,[fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20)._isServer,fP._32(n,20).id,fP._32(n,20).placeholder,fP._32(n,20).disabled,fP._32(n,20).required,fP._32(n,20).readonly,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20).errorState,fP._32(n,20).required.toString()])})}function Ib(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[452,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function qb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[453,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Ib)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Pb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,445,{_control:0}),fP._38(335544320,446,{_placeholderChild:0}),fP._38(335544320,447,{_labelChild:0}),fP._38(603979776,448,{_errorChildren:1}),fP._38(603979776,449,{_hintChildren:1}),fP._38(603979776,450,{_prefixChildren:1}),fP._38(603979776,451,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[447,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of Owner / Owners of Rented Property as per Rent Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","agreement_property_owners_name"],["multiple",""],["placeholder","Name"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateAgreementOtherOwners(l.parent.context.$implicit.value.agreement_property_owners_name,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,452,{options:1}),fP._38(603979776,453,{optionGroups:1}),fP._38(335544320,454,{customTrigger:0}),fP._37(2048,[[445,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,qb)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"agreement_property_owners_name");l(n,21,0,"Name","","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required])})}function Db(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,455,{_control:0}),fP._38(335544320,456,{_placeholderChild:0}),fP._38(335544320,457,{_labelChild:0}),fP._38(603979776,458,{_errorChildren:1}),fP._38(603979776,459,{_hintChildren:1}),fP._38(603979776,460,{_prefixChildren:1}),fP._38(603979776,461,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[457,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Specify Other Owner/Owners"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_property_owner_other"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[455,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"agreement_property_owner_other");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Tb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[469,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Ob(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[470,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Tb)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,5,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Lb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,462,{_control:0}),fP._38(335544320,463,{_placeholderChild:0}),fP._38(335544320,464,{_labelChild:0}),fP._38(603979776,465,{_errorChildren:1}),fP._38(603979776,466,{_hintChildren:1}),fP._38(603979776,467,{_prefixChildren:1}),fP._38(603979776,468,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[464,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Relation of Owner to Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","agreement_property_owner_other_relationship"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,469,{options:1}),fP._38(603979776,470,{optionGroups:1}),fP._38(335544320,471,{customTrigger:0}),fP._37(2048,[[462,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[469,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ob)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"agreement_property_owner_other_relationship");l(n,20,0,"","",e.compareObjects);l(n,32,0,e.relationShipList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function Ab(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[479,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,"0"==n.context.$implicit.id?"Not Applicable":fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Vb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[480,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Ab)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Nb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,472,{_control:0}),fP._38(335544320,473,{_placeholderChild:0}),fP._38(335544320,474,{_labelChild:0}),fP._38(603979776,475,{_errorChildren:1}),fP._38(603979776,476,{_hintChildren:1}),fP._38(603979776,477,{_prefixChildren:1}),fP._38(603979776,478,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[474,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Relation To"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","agreement_property_owner_other_relation_to"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,479,{options:1}),fP._38(603979776,480,{optionGroups:1}),fP._38(335544320,481,{customTrigger:0}),fP._37(2048,[[472,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[479,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Vb)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"agreement_property_owner_other_relation_to");l(n,20,0,"","",e.compareObjects);l(n,32,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function Wb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,482,{_control:0}),fP._38(335544320,483,{_placeholderChild:0}),fP._38(335544320,484,{_labelChild:0}),fP._38(603979776,485,{_errorChildren:1}),fP._38(603979776,486,{_hintChildren:1}),fP._38(603979776,487,{_prefixChildren:1}),fP._38(603979776,488,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[484,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of Tenants / Lessees as per Rent Agreement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_tenant_lessees_name"],["matInput",""],["placeholder",""],["required",""],["rows","4"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[482,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"agreement_tenant_lessees_name");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Eb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,489,{_control:0}),fP._38(335544320,490,{_placeholderChild:0}),fP._38(335544320,491,{_labelChild:0}),fP._38(603979776,492,{_errorChildren:1}),fP._38(603979776,493,{_hintChildren:1}),fP._38(603979776,494,{_prefixChildren:1}),fP._38(603979776,495,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[491,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Tenant(s) / Lessee(s) Met During Visit of the Rented Property"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","met_tenant_lessees_options"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateTenantMetDetails(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,496,{options:1}),fP._38(603979776,497,{optionGroups:1}),fP._38(335544320,498,{customTrigger:0}),fP._37(2048,[[489,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[496,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[496,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,36)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(36,8437760,[[496,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"met_tenant_lessees_options");l(n,20,0,"","");l(n,32,0,"1");l(n,36,0,"0")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,35,0,fP._32(n,36)._getTabIndex(),fP._32(n,36).selected,fP._32(n,36).multiple,fP._32(n,36).active,fP._32(n,36).id,fP._32(n,36).selected.toString(),fP._32(n,36).disabled.toString(),fP._32(n,36).disabled)})}function jb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,499,{_control:0}),fP._38(335544320,500,{_placeholderChild:0}),fP._38(335544320,501,{_labelChild:0}),fP._38(603979776,502,{_errorChildren:1}),fP._38(603979776,503,{_hintChildren:1}),fP._38(603979776,504,{_prefixChildren:1}),fP._38(603979776,505,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[501,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of the Tenant / Lessee Met"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees_per_met"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(16,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[499,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"name_tenant_lessees_per_met");l(n,23,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,15,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function $b(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,506,{_control:0}),fP._38(335544320,507,{_placeholderChild:0}),fP._38(335544320,508,{_labelChild:0}),fP._38(603979776,509,{_errorChildren:1}),fP._38(603979776,510,{_hintChildren:1}),fP._38(603979776,511,{_prefixChildren:1}),fP._38(603979776,512,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[508,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Why Tenant / Lessee not Met ?"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees_reason_per_met"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[506,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"name_tenant_lessees_reason_per_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Bb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[520,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Rb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[521,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Bb)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Ub(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,513,{_control:0}),fP._38(335544320,514,{_placeholderChild:0}),fP._38(335544320,515,{_labelChild:0}),fP._38(603979776,516,{_errorChildren:1}),fP._38(603979776,517,{_hintChildren:1}),fP._38(603979776,518,{_prefixChildren:1}),fP._38(603979776,519,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[515,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of Owner as per Tenant / Lessee Met"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_per_met"],["multiple",""],["placeholder","Name"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateMetOtherOwners(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,520,{options:1}),fP._38(603979776,521,{optionGroups:1}),fP._38(335544320,522,{customTrigger:0}),fP._37(2048,[[513,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Rb)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_per_met");l(n,21,0,"Name","","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required])})}function Mb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,523,{_control:0}),fP._38(335544320,524,{_placeholderChild:0}),fP._38(335544320,525,{_labelChild:0}),fP._38(603979776,526,{_errorChildren:1}),fP._38(603979776,527,{_hintChildren:1}),fP._38(603979776,528,{_prefixChildren:1}),fP._38(603979776,529,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[525,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Specify Other Owner/Owners"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_owner_other_per_met"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[523,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"property_owner_other_per_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function Kb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[537,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Hb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[538,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Kb)),fP._17(5,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,5,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Gb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,530,{_control:0}),fP._38(335544320,531,{_placeholderChild:0}),fP._38(335544320,532,{_labelChild:0}),fP._38(603979776,533,{_errorChildren:1}),fP._38(603979776,534,{_hintChildren:1}),fP._38(603979776,535,{_prefixChildren:1}),fP._38(603979776,536,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[532,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Relation of Owner to Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relationship_per_met"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,537,{options:1}),fP._38(603979776,538,{optionGroups:1}),fP._38(335544320,539,{customTrigger:0}),fP._37(2048,[[530,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[537,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Hb)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"property_owner_other_relationship_per_met");l(n,20,0,"","",e.compareObjects);l(n,32,0,e.relationShipList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function zb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[547,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,"0"==n.context.$implicit.id?"Not Applicable":fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Yb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[548,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,zb)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function Qb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,540,{_control:0}),fP._38(335544320,541,{_placeholderChild:0}),fP._38(335544320,542,{_labelChild:0}),fP._38(603979776,543,{_errorChildren:1}),fP._38(603979776,544,{_hintChildren:1}),fP._38(603979776,545,{_prefixChildren:1}),fP._38(603979776,546,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[542,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Relation To"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relation_to_per_met"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,547,{options:1}),fP._38(603979776,548,{optionGroups:1}),fP._38(335544320,549,{customTrigger:0}),fP._37(2048,[[540,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[547,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Yb)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"property_owner_other_relation_to_per_met");l(n,20,0,"","",e.compareObjects);l(n,32,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function Jb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[554,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.paid_monthly_rent_per_met_Inwords[n.parent.parent.context.index])})}function Xb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,550,{_control:0}),fP._38(335544320,551,{_placeholderChild:0}),fP._38(335544320,552,{_labelChild:0}),fP._38(603979776,553,{_errorChildren:1}),fP._38(603979776,554,{_hintChildren:1}),fP._38(603979776,555,{_prefixChildren:1}),fP._38(603979776,556,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[552,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Monthly Rent Amount Paid as per Tenant / Lessee Met"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","paid_monthly_rent_per_met"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,11)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[550,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Jb)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"paid_monthly_rent_per_met");l(n,23,0,"","","number");l(n,27,0,""!=n.parent.context.$implicit.value.paid_monthly_rent_per_met)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function Zb(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,557,{_control:0}),fP._38(335544320,558,{_placeholderChild:0}),fP._38(335544320,559,{_labelChild:0}),fP._38(603979776,560,{_errorChildren:1}),fP._38(603979776,561,{_hintChildren:1}),fP._38(603979776,562,{_prefixChildren:1}),fP._38(603979776,563,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[559,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Period (Months) of Stay as per Tenant / Lessee Met"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","period_of_stay_per_met"],["matInput",""],["maxlength","5"],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,24)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._17(18,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.x,EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[557,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,18,0,"5");l(n,21,0,"period_of_stay_per_met");l(n,24,0,"","","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,18).maxlength?fP._32(n,18).maxlength:null,fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24)._isServer,fP._32(n,24).id,fP._32(n,24).placeholder,fP._32(n,24).disabled,fP._32(n,24).required,fP._32(n,24).readonly,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24).errorState,fP._32(n,24).required.toString()])})}function lv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[571,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function nv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,564,{_control:0}),fP._38(335544320,565,{_placeholderChild:0}),fP._38(335544320,566,{_labelChild:0}),fP._38(603979776,567,{_errorChildren:1}),fP._38(603979776,568,{_hintChildren:1}),fP._38(603979776,569,{_prefixChildren:1}),fP._38(603979776,570,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[566,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Mode of Payment of Rent as Validated by PD Officer with Tenant / Lessee During Visit"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","payment_mode_per_met"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generatePaymentOptions(l.parent.context.$implicit.value,l.parent.context.index,2)&&u}return u},tN.b,tN.a)),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,571,{options:1}),fP._38(603979776,572,{optionGroups:1}),fP._38(335544320,573,{customTrigger:0}),fP._37(2048,[[564,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,28)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(28,8437760,[[571,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,lv)),fP._17(32,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,17,0,"payment_mode_per_met");l(n,20,0,"","",e.compareSingleObjects);l(n,32,0,e.paymentPaidOptions)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,15).required?"":null,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20).id,fP._32(n,20).tabIndex,fP._32(n,20)._ariaLabel,fP._32(n,20).ariaLabelledby,fP._32(n,20).required.toString(),fP._32(n,20).disabled.toString(),fP._32(n,20).errorState,fP._32(n,20).panelOpen?fP._32(n,20)._optionIds:null,fP._32(n,20).multiple,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20)._getAriaActiveDescendant(),fP._32(n,20).disabled,fP._32(n,20).errorState,fP._32(n,20).required]);l(n,27,0,fP._32(n,28)._getTabIndex(),fP._32(n,28).selected,fP._32(n,28).multiple,fP._32(n,28).active,fP._32(n,28).id,fP._32(n,28).selected.toString(),fP._32(n,28).disabled.toString(),fP._32(n,28).disabled)})}function ev(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[577,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function uv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[577,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function tv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[578,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_bank_per_met_Inwords[n.parent.parent.context.index])})}function av(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.inWords(e.target.value,l.parent.context.index,13)&&u}return u},WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,574,{_control:0}),fP._38(335544320,575,{_placeholderChild:0}),fP._38(335544320,576,{_labelChild:0}),fP._38(603979776,577,{_errorChildren:1}),fP._38(603979776,578,{_hintChildren:1}),fP._38(603979776,579,{_prefixChildren:1}),fP._38(603979776,580,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[576,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Amount Paid in Bank"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_bank_per_met"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.ValidatedRentAmount(l.parent.context.$implicit.value,l.parent.context.index,2)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[574,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ev)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,uv)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,tv)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_bank_per_met");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_bank_per_met.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_bank_per_met.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_bank_per_met)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function iv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[584,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function ov(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[584,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function rv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[585,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_cash_per_met_Inwords[n.parent.parent.context.index])})}function _v(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,581,{_control:0}),fP._38(335544320,582,{_placeholderChild:0}),fP._38(335544320,583,{_labelChild:0}),fP._38(603979776,584,{_errorChildren:1}),fP._38(603979776,585,{_hintChildren:1}),fP._38(603979776,586,{_prefixChildren:1}),fP._38(603979776,587,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[583,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Amount Paid in Cash"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_cash_per_met"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,12)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[581,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,iv)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ov)),fP._17(30,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,rv)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_cash_per_met");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_cash_per_met.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_cash_per_met.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_cash_per_met)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function dv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,588,{_control:0}),fP._38(335544320,589,{_placeholderChild:0}),fP._38(335544320,590,{_labelChild:0}),fP._38(603979776,591,{_errorChildren:1}),fP._38(603979776,592,{_hintChildren:1}),fP._38(603979776,593,{_prefixChildren:1}),fP._38(603979776,594,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[590,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Reason for Paid Multiple Payment Mode"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","payment_received_reason_per_met"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[588,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"payment_received_reason_per_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function sv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,595,{_control:0}),fP._38(335544320,596,{_placeholderChild:0}),fP._38(335544320,597,{_labelChild:0}),fP._38(603979776,598,{_errorChildren:1}),fP._38(603979776,599,{_hintChildren:1}),fP._38(603979776,600,{_prefixChildren:1}),fP._38(603979776,601,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[597,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["What is the Reason for Difference in Rent Amount or Mode of Payment"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","payment_difference_per_met"],["matInput",""],["placeholder",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,20)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),fP._17(20,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[595,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"payment_difference_per_met");l(n,20,0,"")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending,fP._32(n,20)._isServer,fP._32(n,20).id,fP._32(n,20).placeholder,fP._32(n,20).disabled,fP._32(n,20).required,fP._32(n,20).readonly,fP._32(n,20)._ariaDescribedby||null,fP._32(n,20).errorState,fP._32(n,20).required.toString()])})}function cv(l){return fP._42(0,[(l()(),fP._18(0,16777216,null,null,2,"ion-icon",[["color","optblue"],["matTooltip","Remove Unit"],["matTooltipPosition","above"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(l,n,e){var u=!0;if("longpress"===n){u=!1!==fP._32(l,2).show()&&u}if("keydown"===n){u=!1!==fP._32(l,2)._handleKeydown(e)&&u}if("touchend"===n){u=!1!==fP._32(l,2)._handleTouchend()&&u}return u},null,null)),fP._17(1,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),fP._17(2,147456,null,0,MN.d,[KN.c,fP.p,iN.c,fP._1,fP.H,jP.a,UA.e,UA.j,MN.b,[2,oN.c],[2,MN.a]],{position:[0,"position"],message:[1,"message"]},null),(l()(),fP._13(0,null,null,0))],function(l,n){l(n,1,0,"optblue","md-trash");l(n,2,0,"above","Remove Unit")},function(l,n){l(n,0,0,fP._32(n,1)._hidden)})}function mv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,414,"mat-card",[["class","mat-card"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LA.d,LA.a)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(6,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(10,null,["Unit ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(13,0,null,0,385,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(14,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,381,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(20,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,273,{_control:0}),fP._38(335544320,274,{_placeholderChild:0}),fP._38(335544320,275,{_labelChild:0}),fP._38(603979776,276,{_errorChildren:1}),fP._38(603979776,277,{_hintChildren:1}),fP._38(603979776,278,{_prefixChildren:1}),fP._38(603979776,279,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(30,16384,[[275,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of the Tenant(s)/Lessees(s) of the Let out Property"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","tenant_lessees_options"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,39)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateTenantOptions(l.context.$implicit.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(34,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(36,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,280,{options:1}),fP._38(603979776,281,{optionGroups:1}),fP._38(335544320,282,{customTrigger:0}),fP._37(2048,[[273,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(46,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,47)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(47,8437760,[[280,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,51)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(51,8437760,[[280,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,55)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(55,8437760,[[280,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Name(s) not provided"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lb)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nb)),fP._17(64,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(68,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(69,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,297,{_control:0}),fP._38(335544320,298,{_placeholderChild:0}),fP._38(335544320,299,{_labelChild:0}),fP._38(603979776,300,{_errorChildren:1}),fP._38(603979776,301,{_hintChildren:1}),fP._38(603979776,302,{_prefixChildren:1}),fP._38(603979776,303,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(79,16384,[[299,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Monthly Rent Amount as per Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(82,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","monthly_rent_amount"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,83)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,83).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,83)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,83)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,84).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,84).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,84).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,91)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,5)&&u}return u},null,null)),fP._17(83,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(84,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(85,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(88,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(90,16384,null,0,EP.s,[EP.r],null,null),fP._17(91,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[297,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,eb)),fP._17(96,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(99,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(100,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,304,{_control:0}),fP._38(335544320,305,{_placeholderChild:0}),fP._38(335544320,306,{_labelChild:0}),fP._38(603979776,307,{_errorChildren:1}),fP._38(603979776,308,{_hintChildren:1}),fP._38(603979776,309,{_prefixChildren:1}),fP._38(603979776,310,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(109,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(110,16384,[[306,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Mode of Payment of Rent as per Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(113,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","payment_mode"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,119)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,119)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,119)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generatePaymentOptions(l.context.$implicit.value,l.context.index,1)&&u}return u},tN.b,tN.a)),fP._17(114,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(116,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(118,16384,null,0,EP.s,[EP.r],null,null),fP._17(119,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,311,{options:1}),fP._38(603979776,312,{optionGroups:1}),fP._38(335544320,313,{customTrigger:0}),fP._37(2048,[[304,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(126,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,127)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,127)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(127,8437760,[[311,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ub)),fP._17(131,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ob)),fP._17(136,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,sb)),fP._17(139,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n \n "])),(l()(),fP._13(16777216,null,null,1,null,cb)),fP._17(142,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(144,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(145,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,335,{_control:0}),fP._38(335544320,336,{_placeholderChild:0}),fP._38(335544320,337,{_labelChild:0}),fP._38(603979776,338,{_errorChildren:1}),fP._38(603979776,339,{_hintChildren:1}),fP._38(603979776,340,{_prefixChildren:1}),fP._38(603979776,341,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(154,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(155,16384,[[337,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Securtity Deposit amount as per Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(158,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","securtity_deposit_amount"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,159)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,159).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,159)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,159)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,160).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,160).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,160).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,167)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,167)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,167)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,8)&&u}return u},null,null)),fP._17(159,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(160,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(161,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(164,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(166,16384,null,0,EP.s,[EP.r],null,null),fP._17(167,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[335,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,mb)),fP._17(171,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(176,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(177,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,342,{_control:0}),fP._38(335544320,343,{_placeholderChild:0}),fP._38(335544320,344,{_labelChild:0}),fP._38(603979776,345,{_errorChildren:1}),fP._38(603979776,346,{_hintChildren:1}),fP._38(603979776,347,{_prefixChildren:1}),fP._38(603979776,348,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(186,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(187,16384,[[344,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Area Covered by the Unit"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(190,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_cover_area"],["matInput",""],["placeholder",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,191)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,191).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,191)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,191)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,192).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,192).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,192).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,199)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,199)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,199)._onInput()&&u}return u},null,null)),fP._17(191,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(192,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(193,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(196,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(198,16384,null,0,EP.s,[EP.r],null,null),fP._17(199,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[342,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(206,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(207,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,349,{_control:0}),fP._38(335544320,350,{_placeholderChild:0}),fP._38(335544320,351,{_labelChild:0}),fP._38(603979776,352,{_errorChildren:1}),fP._38(603979776,353,{_hintChildren:1}),fP._38(603979776,354,{_prefixChildren:1}),fP._38(603979776,355,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(216,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(217,16384,[[351,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Unit of Measurement"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(220,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","unit_measurement"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,226)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,226)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,226)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateOtherunitMeasurement(l.context.$implicit.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(221,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(223,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(225,16384,null,0,EP.s,[EP.r],null,null),fP._17(226,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,356,{options:1}),fP._38(603979776,357,{optionGroups:1}),fP._38(335544320,358,{customTrigger:0}),fP._37(2048,[[349,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(233,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,234)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,234)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(234,8437760,[[356,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,pb)),fP._17(238,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fb)),fP._17(243,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(247,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(248,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,366,{_control:0}),fP._38(335544320,367,{_placeholderChild:0}),fP._38(335544320,368,{_labelChild:0}),fP._38(603979776,369,{_errorChildren:1}),fP._38(603979776,370,{_hintChildren:1}),fP._38(603979776,371,{_prefixChildren:1}),fP._38(603979776,372,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(257,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(258,16384,[[368,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Is Rent Agreement executed for the Property let out"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(261,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","is_rent_agreement_executed"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,267)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,267)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,267)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateRentAgreementSeen(l.context.$implicit.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(262,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(264,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(266,16384,null,0,EP.s,[EP.r],null,null),fP._17(267,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,373,{options:1}),fP._38(603979776,374,{optionGroups:1}),fP._38(335544320,375,{customTrigger:0}),fP._37(2048,[[366,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(274,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,275)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,275)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(275,8437760,[[373,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(278,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,279)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,279)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(279,8437760,[[373,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(282,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,283)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,283)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(283,8437760,[[373,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hb)),fP._17(291,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gb)),fP._17(296,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bb)),fP._17(301,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,vb)),fP._17(304,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,yb)),fP._17(307,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Cb)),fP._17(310,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fb)),fP._17(315,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kb)),fP._17(320,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sb)),fP._17(325,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pb)),fP._17(330,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Db)),fP._17(333,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lb)),fP._17(336,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nb)),fP._17(339,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wb)),fP._17(344,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Eb)),fP._17(350,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jb)),fP._17(353,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$b)),fP._17(356,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ub)),fP._17(361,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mb)),fP._17(364,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gb)),fP._17(367,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qb)),fP._17(370,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xb)),fP._17(375,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Zb)),fP._17(378,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,nv)),fP._17(381,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,av)),fP._17(384,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,_v)),fP._17(387,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n \n "])),(l()(),fP._13(16777216,null,null,1,null,dv)),fP._17(390,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sv)),fP._17(394,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(400,0,null,0,13,"mat-card-actions",[["align","end"],["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),fP._17(401,16384,null,0,AA.b,[],{align:[0,"align"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(403,0,null,null,9,"ion-col",[["class","col"],["col-6",""],["offset-3",""]],null,null,null,null,null)),fP._17(404,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(406,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeUnit(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(407,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{clear:[0,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,cv)),fP._17(410,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,34,0,"");l(n,36,0,"tenant_lessees_options");l(n,39,0,"","");l(n,51,0,"1");l(n,55,0,"0");l(n,61,0,n.context.$implicit.controls.name_tenant_lessees);l(n,64,0,n.context.$implicit.controls.name_tenant_lessees_reason);l(n,85,0,"");l(n,88,0,"monthly_rent_amount");l(n,91,0,"","","number");l(n,96,0,""!=n.context.$implicit.value.monthly_rent_amount);l(n,114,0,"");l(n,116,0,"payment_mode");l(n,119,0,"","",e.compareSingleObjects);l(n,131,0,e.paymentOptions);l(n,136,0,n.context.$implicit.controls.amount_received_bank);l(n,139,0,n.context.$implicit.controls.amount_received_cash);l(n,142,0,n.context.$implicit.controls.payment_received_reason);l(n,161,0,"");l(n,164,0,"securtity_deposit_amount");l(n,167,0,"","","number");l(n,171,0,""!=n.context.$implicit.value.securtity_deposit_amount);l(n,193,0,"");l(n,196,0,"property_cover_area");l(n,199,0,"","","number");l(n,221,0,"");l(n,223,0,"unit_measurement");l(n,226,0,"","",e.compareSingleObjects);l(n,238,0,e.unitMeasurementList);l(n,243,0,n.context.$implicit.controls.other_unit_measurement);l(n,262,0,"");l(n,264,0,"is_rent_agreement_executed");l(n,267,0,"","");l(n,279,0,"1");l(n,283,0,"0");l(n,291,0,n.context.$implicit.controls.rent_agreement_seen);l(n,296,0,n.context.$implicit.controls.rent_agreement_registered);l(n,301,0,n.context.$implicit.controls.agreement_date);l(n,304,0,n.context.$implicit.controls.agreement_no_months);l(n,307,0,n.context.$implicit.controls.agreement_expiring_date);l(n,310,0,n.context.$implicit.controls.rental_remaining_months);l(n,315,0,n.context.$implicit.controls.agreement_monthly_rent_amount);l(n,320,0,n.context.$implicit.controls.agreement_security_deposit_amount);l(n,325,0,n.context.$implicit.controls.monthly_rent_amount&&n.context.$implicit.controls.agreement_monthly_rent_amount&&0!=e.validateAgreementAmt(n.context.$implicit.controls.monthly_rent_amount?n.context.$implicit.value.monthly_rent_amount:"",n.context.$implicit.controls.agreement_monthly_rent_amount?n.context.$implicit.value.agreement_monthly_rent_amount:""));l(n,330,0,n.context.$implicit.controls.agreement_property_owners_name);l(n,333,0,n.context.$implicit.controls.agreement_property_owner_other);l(n,336,0,n.context.$implicit.controls.agreement_property_owner_other_relationship);l(n,339,0,n.context.$implicit.controls.agreement_property_owner_other_relation_to);l(n,344,0,n.context.$implicit.controls.agreement_tenant_lessees_name);l(n,350,0,n.context.$implicit.controls.met_tenant_lessees_options);l(n,353,0,n.context.$implicit.controls.name_tenant_lessees_per_met);l(n,356,0,n.context.$implicit.controls.name_tenant_lessees_reason_per_met);l(n,361,0,n.context.$implicit.controls.property_owner_per_met);l(n,364,0,n.context.$implicit.controls.property_owner_other_per_met);l(n,367,0,n.context.$implicit.controls.property_owner_other_relationship_per_met);l(n,370,0,n.context.$implicit.controls.property_owner_other_relation_to_per_met);l(n,375,0,n.context.$implicit.controls.paid_monthly_rent_per_met);l(n,378,0,n.context.$implicit.controls.period_of_stay_per_met);l(n,381,0,n.context.$implicit.controls.payment_mode_per_met);l(n,384,0,n.context.$implicit.controls.amount_received_bank_per_met);l(n,387,0,n.context.$implicit.controls.amount_received_cash_per_met);l(n,390,0,n.context.$implicit.controls.payment_received_reason_per_met);l(n,394,0,n.context.$implicit.value.monthly_rent_amount>0&&n.context.$implicit.value.paid_monthly_rent_per_met>0&&""!=n.context.$implicit.value.payment_mode&&""!=n.context.$implicit.value.payment_mode_per_met&&(n.context.$implicit.value.monthly_rent_amount!=n.context.$implicit.value.paid_monthly_rent_per_met||n.context.$implicit.value.payment_mode.id!=n.context.$implicit.value.payment_mode_per_met.id));l(n,401,0,"end");l(n,407,0,"");l(n,410,0,e.rentalForms.value.property_unit_details.length>1)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,10,0,n.context.index+1);l(n,19,1,[fP._32(n,20)._control.errorState,fP._32(n,20)._control.errorState,fP._32(n,20)._canLabelFloat,fP._32(n,20)._shouldLabelFloat(),fP._32(n,20)._hideControlPlaceholder(),fP._32(n,20)._control.disabled,fP._32(n,20)._control.focused,"primary"==fP._32(n,20).color,"accent"==fP._32(n,20).color,"warn"==fP._32(n,20).color,fP._32(n,20)._shouldForward("untouched"),fP._32(n,20)._shouldForward("touched"),fP._32(n,20)._shouldForward("pristine"),fP._32(n,20)._shouldForward("dirty"),fP._32(n,20)._shouldForward("valid"),fP._32(n,20)._shouldForward("invalid"),fP._32(n,20)._shouldForward("pending")]);l(n,33,1,[fP._32(n,34).required?"":null,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39).id,fP._32(n,39).tabIndex,fP._32(n,39)._ariaLabel,fP._32(n,39).ariaLabelledby,fP._32(n,39).required.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).errorState,fP._32(n,39).panelOpen?fP._32(n,39)._optionIds:null,fP._32(n,39).multiple,fP._32(n,39)._ariaDescribedby||null,fP._32(n,39)._getAriaActiveDescendant(),fP._32(n,39).disabled,fP._32(n,39).errorState,fP._32(n,39).required]);l(n,46,0,fP._32(n,47)._getTabIndex(),fP._32(n,47).selected,fP._32(n,47).multiple,fP._32(n,47).active,fP._32(n,47).id,fP._32(n,47).selected.toString(),fP._32(n,47).disabled.toString(),fP._32(n,47).disabled);l(n,50,0,fP._32(n,51)._getTabIndex(),fP._32(n,51).selected,fP._32(n,51).multiple,fP._32(n,51).active,fP._32(n,51).id,fP._32(n,51).selected.toString(),fP._32(n,51).disabled.toString(),fP._32(n,51).disabled);l(n,54,0,fP._32(n,55)._getTabIndex(),fP._32(n,55).selected,fP._32(n,55).multiple,fP._32(n,55).active,fP._32(n,55).id,fP._32(n,55).selected.toString(),fP._32(n,55).disabled.toString(),fP._32(n,55).disabled);l(n,68,1,[fP._32(n,69)._control.errorState,fP._32(n,69)._control.errorState,fP._32(n,69)._canLabelFloat,fP._32(n,69)._shouldLabelFloat(),fP._32(n,69)._hideControlPlaceholder(),fP._32(n,69)._control.disabled,fP._32(n,69)._control.focused,"primary"==fP._32(n,69).color,"accent"==fP._32(n,69).color,"warn"==fP._32(n,69).color,fP._32(n,69)._shouldForward("untouched"),fP._32(n,69)._shouldForward("touched"),fP._32(n,69)._shouldForward("pristine"),fP._32(n,69)._shouldForward("dirty"),fP._32(n,69)._shouldForward("valid"),fP._32(n,69)._shouldForward("invalid"),fP._32(n,69)._shouldForward("pending")]);l(n,82,1,[fP._32(n,85).required?"":null,fP._32(n,90).ngClassUntouched,fP._32(n,90).ngClassTouched,fP._32(n,90).ngClassPristine,fP._32(n,90).ngClassDirty,fP._32(n,90).ngClassValid,fP._32(n,90).ngClassInvalid,fP._32(n,90).ngClassPending,fP._32(n,91)._isServer,fP._32(n,91).id,fP._32(n,91).placeholder,fP._32(n,91).disabled,fP._32(n,91).required,fP._32(n,91).readonly,fP._32(n,91)._ariaDescribedby||null,fP._32(n,91).errorState,fP._32(n,91).required.toString()]);l(n,99,1,[fP._32(n,100)._control.errorState,fP._32(n,100)._control.errorState,fP._32(n,100)._canLabelFloat,fP._32(n,100)._shouldLabelFloat(),fP._32(n,100)._hideControlPlaceholder(),fP._32(n,100)._control.disabled,fP._32(n,100)._control.focused,"primary"==fP._32(n,100).color,"accent"==fP._32(n,100).color,"warn"==fP._32(n,100).color,fP._32(n,100)._shouldForward("untouched"),fP._32(n,100)._shouldForward("touched"),fP._32(n,100)._shouldForward("pristine"),fP._32(n,100)._shouldForward("dirty"),fP._32(n,100)._shouldForward("valid"),fP._32(n,100)._shouldForward("invalid"),fP._32(n,100)._shouldForward("pending")]);l(n,113,1,[fP._32(n,114).required?"":null,fP._32(n,118).ngClassUntouched,fP._32(n,118).ngClassTouched,fP._32(n,118).ngClassPristine,fP._32(n,118).ngClassDirty,fP._32(n,118).ngClassValid,fP._32(n,118).ngClassInvalid,fP._32(n,118).ngClassPending,fP._32(n,119).id,fP._32(n,119).tabIndex,fP._32(n,119)._ariaLabel,fP._32(n,119).ariaLabelledby,fP._32(n,119).required.toString(),fP._32(n,119).disabled.toString(),fP._32(n,119).errorState,fP._32(n,119).panelOpen?fP._32(n,119)._optionIds:null,fP._32(n,119).multiple,fP._32(n,119)._ariaDescribedby||null,fP._32(n,119)._getAriaActiveDescendant(),fP._32(n,119).disabled,fP._32(n,119).errorState,fP._32(n,119).required]);l(n,126,0,fP._32(n,127)._getTabIndex(),fP._32(n,127).selected,fP._32(n,127).multiple,fP._32(n,127).active,fP._32(n,127).id,fP._32(n,127).selected.toString(),fP._32(n,127).disabled.toString(),fP._32(n,127).disabled);l(n,144,1,[fP._32(n,145)._control.errorState,fP._32(n,145)._control.errorState,fP._32(n,145)._canLabelFloat,fP._32(n,145)._shouldLabelFloat(),fP._32(n,145)._hideControlPlaceholder(),fP._32(n,145)._control.disabled,fP._32(n,145)._control.focused,"primary"==fP._32(n,145).color,"accent"==fP._32(n,145).color,"warn"==fP._32(n,145).color,fP._32(n,145)._shouldForward("untouched"),fP._32(n,145)._shouldForward("touched"),fP._32(n,145)._shouldForward("pristine"),fP._32(n,145)._shouldForward("dirty"),fP._32(n,145)._shouldForward("valid"),fP._32(n,145)._shouldForward("invalid"),fP._32(n,145)._shouldForward("pending")]);l(n,158,1,[fP._32(n,161).required?"":null,fP._32(n,166).ngClassUntouched,fP._32(n,166).ngClassTouched,fP._32(n,166).ngClassPristine,fP._32(n,166).ngClassDirty,fP._32(n,166).ngClassValid,fP._32(n,166).ngClassInvalid,fP._32(n,166).ngClassPending,fP._32(n,167)._isServer,fP._32(n,167).id,fP._32(n,167).placeholder,fP._32(n,167).disabled,fP._32(n,167).required,fP._32(n,167).readonly,fP._32(n,167)._ariaDescribedby||null,fP._32(n,167).errorState,fP._32(n,167).required.toString()]);l(n,176,1,[fP._32(n,177)._control.errorState,fP._32(n,177)._control.errorState,fP._32(n,177)._canLabelFloat,fP._32(n,177)._shouldLabelFloat(),fP._32(n,177)._hideControlPlaceholder(),fP._32(n,177)._control.disabled,fP._32(n,177)._control.focused,"primary"==fP._32(n,177).color,"accent"==fP._32(n,177).color,"warn"==fP._32(n,177).color,fP._32(n,177)._shouldForward("untouched"),fP._32(n,177)._shouldForward("touched"),fP._32(n,177)._shouldForward("pristine"),fP._32(n,177)._shouldForward("dirty"),fP._32(n,177)._shouldForward("valid"),fP._32(n,177)._shouldForward("invalid"),fP._32(n,177)._shouldForward("pending")]);l(n,190,1,[fP._32(n,193).required?"":null,fP._32(n,198).ngClassUntouched,fP._32(n,198).ngClassTouched,fP._32(n,198).ngClassPristine,fP._32(n,198).ngClassDirty,fP._32(n,198).ngClassValid,fP._32(n,198).ngClassInvalid,fP._32(n,198).ngClassPending,fP._32(n,199)._isServer,fP._32(n,199).id,fP._32(n,199).placeholder,fP._32(n,199).disabled,fP._32(n,199).required,fP._32(n,199).readonly,fP._32(n,199)._ariaDescribedby||null,fP._32(n,199).errorState,fP._32(n,199).required.toString()]);l(n,206,1,[fP._32(n,207)._control.errorState,fP._32(n,207)._control.errorState,fP._32(n,207)._canLabelFloat,fP._32(n,207)._shouldLabelFloat(),fP._32(n,207)._hideControlPlaceholder(),fP._32(n,207)._control.disabled,fP._32(n,207)._control.focused,"primary"==fP._32(n,207).color,"accent"==fP._32(n,207).color,"warn"==fP._32(n,207).color,fP._32(n,207)._shouldForward("untouched"),fP._32(n,207)._shouldForward("touched"),fP._32(n,207)._shouldForward("pristine"),fP._32(n,207)._shouldForward("dirty"),fP._32(n,207)._shouldForward("valid"),fP._32(n,207)._shouldForward("invalid"),fP._32(n,207)._shouldForward("pending")]);l(n,220,1,[fP._32(n,221).required?"":null,fP._32(n,225).ngClassUntouched,fP._32(n,225).ngClassTouched,fP._32(n,225).ngClassPristine,fP._32(n,225).ngClassDirty,fP._32(n,225).ngClassValid,fP._32(n,225).ngClassInvalid,fP._32(n,225).ngClassPending,fP._32(n,226).id,fP._32(n,226).tabIndex,fP._32(n,226)._ariaLabel,fP._32(n,226).ariaLabelledby,fP._32(n,226).required.toString(),fP._32(n,226).disabled.toString(),fP._32(n,226).errorState,fP._32(n,226).panelOpen?fP._32(n,226)._optionIds:null,fP._32(n,226).multiple,fP._32(n,226)._ariaDescribedby||null,fP._32(n,226)._getAriaActiveDescendant(),fP._32(n,226).disabled,fP._32(n,226).errorState,fP._32(n,226).required]);l(n,233,0,fP._32(n,234)._getTabIndex(),fP._32(n,234).selected,fP._32(n,234).multiple,fP._32(n,234).active,fP._32(n,234).id,fP._32(n,234).selected.toString(),fP._32(n,234).disabled.toString(),fP._32(n,234).disabled);l(n,247,1,[fP._32(n,248)._control.errorState,fP._32(n,248)._control.errorState,fP._32(n,248)._canLabelFloat,fP._32(n,248)._shouldLabelFloat(),fP._32(n,248)._hideControlPlaceholder(),fP._32(n,248)._control.disabled,fP._32(n,248)._control.focused,"primary"==fP._32(n,248).color,"accent"==fP._32(n,248).color,"warn"==fP._32(n,248).color,fP._32(n,248)._shouldForward("untouched"),fP._32(n,248)._shouldForward("touched"),fP._32(n,248)._shouldForward("pristine"),fP._32(n,248)._shouldForward("dirty"),fP._32(n,248)._shouldForward("valid"),fP._32(n,248)._shouldForward("invalid"),fP._32(n,248)._shouldForward("pending")]);l(n,261,1,[fP._32(n,262).required?"":null,fP._32(n,266).ngClassUntouched,fP._32(n,266).ngClassTouched,fP._32(n,266).ngClassPristine,fP._32(n,266).ngClassDirty,fP._32(n,266).ngClassValid,fP._32(n,266).ngClassInvalid,fP._32(n,266).ngClassPending,fP._32(n,267).id,fP._32(n,267).tabIndex,fP._32(n,267)._ariaLabel,fP._32(n,267).ariaLabelledby,fP._32(n,267).required.toString(),fP._32(n,267).disabled.toString(),fP._32(n,267).errorState,fP._32(n,267).panelOpen?fP._32(n,267)._optionIds:null,fP._32(n,267).multiple,fP._32(n,267)._ariaDescribedby||null,fP._32(n,267)._getAriaActiveDescendant(),fP._32(n,267).disabled,fP._32(n,267).errorState,fP._32(n,267).required]);l(n,274,0,fP._32(n,275)._getTabIndex(),fP._32(n,275).selected,fP._32(n,275).multiple,fP._32(n,275).active,fP._32(n,275).id,fP._32(n,275).selected.toString(),fP._32(n,275).disabled.toString(),fP._32(n,275).disabled);l(n,278,0,fP._32(n,279)._getTabIndex(),fP._32(n,279).selected,fP._32(n,279).multiple,fP._32(n,279).active,fP._32(n,279).id,fP._32(n,279).selected.toString(),fP._32(n,279).disabled.toString(),fP._32(n,279).disabled);l(n,282,0,fP._32(n,283)._getTabIndex(),fP._32(n,283).selected,fP._32(n,283).multiple,fP._32(n,283).active,fP._32(n,283).id,fP._32(n,283).selected.toString(),fP._32(n,283).disabled.toString(),fP._32(n,283).disabled);l(n,400,0,"end"===fP._32(n,401).align)})}function pv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,null,null,null,null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mv)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"property_unit_details");l(n,6,0,e.rentalForms.controls.property_unit_details.controls)},null)}function fv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,612,{_control:0}),fP._38(335544320,613,{_placeholderChild:0}),fP._38(335544320,614,{_labelChild:0}),fP._38(603979776,615,{_errorChildren:1}),fP._38(603979776,616,{_hintChildren:1}),fP._38(603979776,617,{_prefixChildren:1}),fP._38(603979776,618,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[614,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of person with whom Third Party Check on going rentals in the area done"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","whom_third_party_check_done"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[612,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"whom_third_party_check_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function hv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,619,{_control:0}),fP._38(335544320,620,{_placeholderChild:0}),fP._38(335544320,621,{_labelChild:0}),fP._38(603979776,622,{_errorChildren:1}),fP._38(603979776,623,{_hintChildren:1}),fP._38(603979776,624,{_prefixChildren:1}),fP._38(603979776,625,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[621,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Description of the person with whom the Third Party Check is done"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description_third_party_check_done"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[619,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"description_third_party_check_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function gv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,626,{_control:0}),fP._38(335544320,627,{_placeholderChild:0}),fP._38(335544320,628,{_labelChild:0}),fP._38(603979776,629,{_errorChildren:1}),fP._38(603979776,630,{_hintChildren:1}),fP._38(603979776,631,{_prefixChildren:1}),fP._38(603979776,632,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[628,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Rental rates in the area as per the person with whom Third Party Check is done"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_rates_third_party_check_done"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[626,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"rental_rates_third_party_check_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function bv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,633,{_control:0}),fP._38(335544320,634,{_placeholderChild:0}),fP._38(335544320,635,{_labelChild:0}),fP._38(603979776,636,{_errorChildren:1}),fP._38(603979776,637,{_hintChildren:1}),fP._38(603979776,638,{_prefixChildren:1}),fP._38(603979776,639,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(11,16384,[[635,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Why Third party check not done"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","why_third_party_check_not_done"],["matInput",""],["placeholder",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[633,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"why_third_party_check_not_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,14,1,[fP._32(n,16).required?"":null,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()])})}function vv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,583,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,456,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(9,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.h,[],null,null),(l()(),fP._18(11,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Property Details"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.captureThePropertyPics()&&u}return u},WV.b,WV.a)),fP._17(15,49152,null,0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(16,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n \n\n "])),(l()(),fP._18(19,0,null,0,442,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(20,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(22,0,null,null,201,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(26,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_property"],["matInput",""],["placeholder","Address of the Property"],["required",""],["rows","4"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,36)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,36).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,36)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,36)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}return u},null,null)),fP._17(36,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(37,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[4,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,52,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(49,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,40,"mat-select",[["class","mat-select"],["formControlName","state"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,65)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,65)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,65)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(60,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(62,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(64,16384,null,0,EP.s,[EP.r],null,null),fP._17(65,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,18,{options:1}),fP._38(603979776,19,{optionGroups:1}),fP._38(335544320,20,{customTrigger:0}),fP._37(2048,[[11,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(72,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,73)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,73)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(73,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,77)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,77)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(77,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(79,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.forSearchableDropdown(t.rentalForms,"state")&&u}return u},dN.b,dN.a)),fP._17(80,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,21,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(83,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(85,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(87,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(88,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(89,16384,[[21,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(93,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,94)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,94)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(94,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,rg)),fP._17(98,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(102,0,null,null,52,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(103,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,22,{_control:0}),fP._38(335544320,23,{_placeholderChild:0}),fP._38(335544320,24,{_labelChild:0}),fP._38(603979776,25,{_errorChildren:1}),fP._38(603979776,26,{_hintChildren:1}),fP._38(603979776,27,{_prefixChildren:1}),fP._38(603979776,28,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(113,0,null,1,40,"mat-select",[["class","mat-select"],["formControlName","city"],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,119)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,119)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,119)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(114,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(116,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(118,16384,null,0,EP.s,[EP.r],null,null),fP._17(119,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,29,{options:1}),fP._38(603979776,30,{optionGroups:1}),fP._38(335544320,31,{customTrigger:0}),fP._37(2048,[[22,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(126,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,127)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,127)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(127,8437760,[[29,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(130,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,131)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,131)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(131,8437760,[[29,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(133,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.forSearchableDropdown(t.rentalForms,"city")&&u}return u},dN.b,dN.a)),fP._17(134,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,32,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(137,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(139,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(141,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(142,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(143,16384,[[32,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(147,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,148)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,148)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(148,8437760,[[29,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,_g)),fP._17(152,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(156,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(157,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,33,{_control:0}),fP._38(335544320,34,{_placeholderChild:0}),fP._38(335544320,35,{_labelChild:0}),fP._38(603979776,36,{_errorChildren:1}),fP._38(603979776,37,{_hintChildren:1}),fP._38(603979776,38,{_prefixChildren:1}),fP._38(603979776,39,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(167,0,null,1,36,"mat-select",[["class","mat-select"],["formControlName","pincode"],["placeholder","Pincode"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,173)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,173)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,173)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(168,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(170,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(172,16384,null,0,EP.s,[EP.r],null,null),fP._17(173,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,40,{options:1}),fP._38(603979776,41,{optionGroups:1}),fP._38(335544320,42,{customTrigger:0}),fP._37(2048,[[33,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(180,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,181)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,181)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(181,8437760,[[40,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(183,0,null,0,11,"ngx-mat-select-search",[["formControlName","pincodeSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0,t=l.component;if("keyup"===n){u=!1!==t.forSearchableDropdown(t.rentalForms,"pin")&&u}return u},dN.b,dN.a)),fP._17(184,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,43,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(187,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(189,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(191,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(192,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(193,16384,[[43,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(197,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,198)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,198)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(198,8437760,[[40,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,dg)),fP._17(202,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(206,0,null,null,12,"div",[["align","left"],["style","margin-left: 0%;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(208,0,null,null,8,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","validate_visited_address"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LV.b,LV.a)),fP._17(209,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(211,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(213,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["Is This the Address Visited ?\n "])),(l()(),fP._18(215,0,null,0,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(216,null,["( "," )"])),(l()(),fP._18(217,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sg)),fP._17(221,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(225,0,null,null,235,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(228,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(229,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,51,{_control:0}),fP._38(335544320,52,{_placeholderChild:0}),fP._38(335544320,53,{_labelChild:0}),fP._38(603979776,54,{_errorChildren:1}),fP._38(603979776,55,{_hintChildren:1}),fP._38(603979776,56,{_prefixChildren:1}),fP._38(603979776,57,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(238,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(239,16384,[[53,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of the Person Who is Showing the Property to Sineedge Officer"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(242,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","person_met"],["multiple",""],["placeholder","Name"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,249)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,249)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,249)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(244,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(246,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(248,16384,null,0,EP.s,[EP.r],null,null),fP._17(249,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},null),fP._38(603979776,58,{options:1}),fP._38(603979776,59,{optionGroups:1}),fP._38(335544320,60,{customTrigger:0}),fP._37(2048,[[51,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,mg)),fP._17(256,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,pg)),fP._17(261,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,hg)),fP._17(264,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,gg)),fP._17(267,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(271,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(272,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,85,{_control:0}),fP._38(335544320,86,{_placeholderChild:0}),fP._38(335544320,87,{_labelChild:0}),fP._38(603979776,88,{_errorChildren:1}),fP._38(603979776,89,{_hintChildren:1}),fP._38(603979776,90,{_prefixChildren:1}),fP._38(603979776,91,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(281,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(282,16384,[[87,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Name of the Owner/Owners of the Let out Property as per Loan Applicants"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(285,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner"],["multiple",""],["placeholder","Name"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,292)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,292)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,292)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(287,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(289,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(291,16384,null,0,EP.s,[EP.r],null,null),fP._17(292,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},null),fP._38(603979776,92,{options:1}),fP._38(603979776,93,{optionGroups:1}),fP._38(335544320,94,{customTrigger:0}),fP._37(2048,[[85,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,vg)),fP._17(299,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,yg)),fP._17(304,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Fg)),fP._17(307,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Sg)),fP._17(310,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(314,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(315,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,122,{_control:0}),fP._38(335544320,123,{_placeholderChild:0}),fP._38(335544320,124,{_labelChild:0}),fP._38(603979776,125,{_errorChildren:1}),fP._38(603979776,126,{_hintChildren:1}),fP._38(603979776,127,{_prefixChildren:1}),fP._38(603979776,128,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(324,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(325,16384,[[124,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Ownership Proof Documents Sighted"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(328,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","property_ownership_proof_documents"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,334)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,334)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,334)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(329,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(331,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(333,16384,null,0,EP.s,[EP.r],null,null),fP._17(334,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,129,{options:1}),fP._38(603979776,130,{optionGroups:1}),fP._38(335544320,131,{customTrigger:0}),fP._37(2048,[[122,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(341,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,342)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,342)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(342,8437760,[[129,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(345,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,346)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,346)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(346,8437760,[[129,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(349,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,350)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,350)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(350,8437760,[[129,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,qg)),fP._17(356,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Pg)),fP._17(359,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(363,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(364,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,149,{_control:0}),fP._38(335544320,150,{_placeholderChild:0}),fP._38(335544320,151,{_labelChild:0}),fP._38(603979776,152,{_errorChildren:1}),fP._38(603979776,153,{_hintChildren:1}),fP._38(603979776,154,{_prefixChildren:1}),fP._38(603979776,155,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(373,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(374,16384,[[151,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Nature of Let Out Property as per Loan Applicant"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(377,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","nature_property"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,383)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,383)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,383)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(378,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(380,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(382,16384,null,0,EP.s,[EP.r],null,null),fP._17(383,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,156,{options:1}),fP._38(603979776,157,{optionGroups:1}),fP._38(335544320,158,{customTrigger:0}),fP._37(2048,[[149,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(390,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,391)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,391)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(391,8437760,[[156,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Dg)),fP._17(395,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Tg)),fP._17(400,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(404,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(405,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,166,{_control:0}),fP._38(335544320,167,{_placeholderChild:0}),fP._38(335544320,168,{_labelChild:0}),fP._38(603979776,169,{_errorChildren:1}),fP._38(603979776,170,{_hintChildren:1}),fP._38(603979776,171,{_prefixChildren:1}),fP._38(603979776,172,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(414,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(415,16384,[[168,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Type of Units as per Loan Applicants"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(418,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","unit_type"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,424)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,424)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,424)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(419,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(421,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(423,16384,null,0,EP.s,[EP.r],null,null),fP._17(424,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),fP._38(603979776,173,{options:1}),fP._38(603979776,174,{optionGroups:1}),fP._38(335544320,175,{customTrigger:0}),fP._37(2048,[[166,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(431,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,432)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,432)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(432,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Lg)),fP._17(436,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ag)),fP._17(441,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Vg)),fP._17(444,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Ng)),fP._17(447,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n\n "])),(l()(),fP._13(16777216,null,null,1,null,Wg)),fP._17(450,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jg)),fP._17(455,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,$g)),fP._17(458,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zg)),fP._17(466,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,pv)),fP._17(471,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(474,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["round",""],["style","font-size: 13px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreUnitDetails()&&u}return u},aV.b,aV.a)),fP._17(475,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"]},null),(l()(),fP._40(-1,0,["Add More\n Unit"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(478,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._18(480,0,null,null,71,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(481,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(483,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(484,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(486,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Third Party Check"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(490,0,null,0,60,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(491,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(493,0,null,null,56,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(496,0,null,null,39,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(497,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,602,{_control:0}),fP._38(335544320,603,{_placeholderChild:0}),fP._38(335544320,604,{_labelChild:0}),fP._38(603979776,605,{_errorChildren:1}),fP._38(603979776,606,{_hintChildren:1}),fP._38(603979776,607,{_prefixChildren:1}),fP._38(603979776,608,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(506,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(507,16384,[[604,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Third party check done on prevailing rent in the area"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(510,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","done_third_party_check"],["placeholder",""],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,516)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,516)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,516)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(511,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(513,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(515,16384,null,0,EP.s,[EP.r],null,null),fP._17(516,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,609,{options:1}),fP._38(603979776,610,{optionGroups:1}),fP._38(335544320,611,{customTrigger:0}),fP._37(2048,[[602,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(523,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,524)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,524)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(524,8437760,[[609,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(527,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,528)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,528)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(528,8437760,[[609,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(531,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,532)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,532)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(532,8437760,[[609,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fv)),fP._17(538,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hv)),fP._17(541,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gv)),fP._17(544,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bv)),fP._17(547,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(553,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(554,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(556,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(557,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,640,{_control:0}),fP._38(335544320,641,{_placeholderChild:0}),fP._38(335544320,642,{_labelChild:0}),fP._38(603979776,643,{_errorChildren:1}),fP._38(603979776,644,{_hintChildren:1}),fP._38(603979776,645,{_prefixChildren:1}),fP._38(603979776,646,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(566,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,567)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,567).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,567)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,567)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,572)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,572)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,572)._onInput()&&u}return u},null,null)),fP._17(567,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(569,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(571,16384,null,0,EP.s,[EP.r],null,null),fP._17(572,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[640,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(578,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(579,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.rentalForms);l(n,15,0,"optblue");l(n,17,0,"md-camera");l(n,37,0,"");l(n,40,0,"address_property");l(n,43,0,"Address of the Property","");l(n,60,0,"");l(n,62,0,"state");l(n,65,0,"State","");l(n,80,0,"Search State","No Records Found");l(n,83,0,"stateSearch");l(n,88,0,"md-close");l(n,98,0,e.stateList);l(n,114,0,"");l(n,116,0,"city");l(n,119,0,"City","");l(n,134,0,"Search City","No Records Found");l(n,137,0,"citySearch");l(n,142,0,"md-close");l(n,152,0,e.cityList);l(n,168,0,"");l(n,170,0,"pincode");l(n,173,0,"Pincode","");l(n,184,0,"Search Pincode","No Records Found");l(n,187,0,"pincodeSearch");l(n,192,0,"md-close");l(n,202,0,e.pincodeList);l(n,209,0,"primary");l(n,211,0,"validate_visited_address");l(n,221,0,e.rentalForms.controls.other_visited_address);l(n,244,0,"");l(n,246,0,"person_met");l(n,249,0,"Name","","",e.compareObjects);l(n,256,0,e.mergeCompanyApplicant);l(n,261,0,e.rentalForms.controls.other_person_met);l(n,264,0,e.rentalForms.controls.other_name_person_showing_property&&""!=e.rentalForms.value.other_person_met);l(n,267,0,e.rentalForms.controls.other_name_person_type&&""!=e.rentalForms.value.other_person_met);l(n,287,0,"");l(n,289,0,"property_owner");l(n,292,0,"Name","","",e.compareObjects);l(n,299,0,e.mergeCompanyApplicant);l(n,304,0,e.rentalForms.controls.property_owner_other);l(n,307,0,e.rentalForms.controls.property_owner_other_relationship);l(n,310,0,e.rentalForms.controls.property_owner_other_relation_to);l(n,329,0,"");l(n,331,0,"property_ownership_proof_documents");l(n,334,0,"","");l(n,346,0,"1");l(n,350,0,"0");l(n,356,0,e.rentalForms.controls.sighted_documents);l(n,359,0,e.rentalForms.controls.other_sighted_documents);l(n,378,0,"");l(n,380,0,"nature_property");l(n,383,0,"","",e.compareSingleObjects);l(n,395,0,e.propertyNature);l(n,400,0,e.rentalForms.controls.other_nature_property);l(n,419,0,"");l(n,421,0,"unit_type");l(n,424,0,"","",e.compareObjects);l(n,436,0,e.unitTypeList);l(n,441,0,e.rentalForms.controls.other_unit_type);l(n,444,0,e.rentalForms.controls.no_units);l(n,447,0,e.rentalForms.controls.no_floor);l(n,450,0,e.rentalForms.controls.multistoried_total_area);l(n,455,0,e.rentalForms.controls.multistoried_uom);l(n,458,0,e.rentalForms.controls.multistoried_other_uom);l(n,466,0,e.rentalForms.value.multistoried_building_details.length>0);l(n,471,0,e.rentalForms.value.property_unit_details.length>0);l(n,475,0,"optblue","","");l(n,511,0,"");l(n,513,0,"done_third_party_check");l(n,516,0,"","");l(n,528,0,"1");l(n,532,0,"0");l(n,538,0,e.rentalForms.controls.whom_third_party_check_done);l(n,541,0,e.rentalForms.controls.description_third_party_check_done);l(n,544,0,e.rentalForms.controls.rental_rates_third_party_check_done);l(n,547,0,e.rentalForms.controls.why_third_party_check_not_done);l(n,569,0,"rental_remark");l(n,572,0,"Remarks")},function(l,n){var e=n.component;l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,16,0,fP._32(n,17)._hidden);l(n,25,1,[fP._32(n,26)._control.errorState,fP._32(n,26)._control.errorState,fP._32(n,26)._canLabelFloat,fP._32(n,26)._shouldLabelFloat(),fP._32(n,26)._hideControlPlaceholder(),fP._32(n,26)._control.disabled,fP._32(n,26)._control.focused,"primary"==fP._32(n,26).color,"accent"==fP._32(n,26).color,"warn"==fP._32(n,26).color,fP._32(n,26)._shouldForward("untouched"),fP._32(n,26)._shouldForward("touched"),fP._32(n,26)._shouldForward("pristine"),fP._32(n,26)._shouldForward("dirty"),fP._32(n,26)._shouldForward("valid"),fP._32(n,26)._shouldForward("invalid"),fP._32(n,26)._shouldForward("pending")]);l(n,35,1,[fP._32(n,37).required?"":null,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()]);l(n,48,1,[fP._32(n,49)._control.errorState,fP._32(n,49)._control.errorState,fP._32(n,49)._canLabelFloat,fP._32(n,49)._shouldLabelFloat(),fP._32(n,49)._hideControlPlaceholder(),fP._32(n,49)._control.disabled,fP._32(n,49)._control.focused,"primary"==fP._32(n,49).color,"accent"==fP._32(n,49).color,"warn"==fP._32(n,49).color,fP._32(n,49)._shouldForward("untouched"),fP._32(n,49)._shouldForward("touched"),fP._32(n,49)._shouldForward("pristine"),fP._32(n,49)._shouldForward("dirty"),fP._32(n,49)._shouldForward("valid"),fP._32(n,49)._shouldForward("invalid"),fP._32(n,49)._shouldForward("pending")]);l(n,59,1,[fP._32(n,60).required?"":null,fP._32(n,64).ngClassUntouched,fP._32(n,64).ngClassTouched,fP._32(n,64).ngClassPristine,fP._32(n,64).ngClassDirty,fP._32(n,64).ngClassValid,fP._32(n,64).ngClassInvalid,fP._32(n,64).ngClassPending,fP._32(n,65).id,fP._32(n,65).tabIndex,fP._32(n,65)._ariaLabel,fP._32(n,65).ariaLabelledby,fP._32(n,65).required.toString(),fP._32(n,65).disabled.toString(),fP._32(n,65).errorState,fP._32(n,65).panelOpen?fP._32(n,65)._optionIds:null,fP._32(n,65).multiple,fP._32(n,65)._ariaDescribedby||null,fP._32(n,65)._getAriaActiveDescendant(),fP._32(n,65).disabled,fP._32(n,65).errorState,fP._32(n,65).required]);l(n,72,0,fP._32(n,73)._getTabIndex(),fP._32(n,73).selected,fP._32(n,73).multiple,fP._32(n,73).active,fP._32(n,73).id,fP._32(n,73).selected.toString(),fP._32(n,73).disabled.toString(),fP._32(n,73).disabled);l(n,76,0,fP._32(n,77)._getTabIndex(),fP._32(n,77).selected,fP._32(n,77).multiple,fP._32(n,77).active,fP._32(n,77).id,fP._32(n,77).selected.toString(),fP._32(n,77).disabled.toString(),fP._32(n,77).disabled);l(n,79,0,fP._32(n,80).isInsideMatOption,fP._32(n,85).ngClassUntouched,fP._32(n,85).ngClassTouched,fP._32(n,85).ngClassPristine,fP._32(n,85).ngClassDirty,fP._32(n,85).ngClassValid,fP._32(n,85).ngClassInvalid,fP._32(n,85).ngClassPending);l(n,87,0,fP._32(n,88)._hidden);l(n,93,0,fP._32(n,94)._getTabIndex(),fP._32(n,94).selected,fP._32(n,94).multiple,fP._32(n,94).active,fP._32(n,94).id,fP._32(n,94).selected.toString(),fP._32(n,94).disabled.toString(),fP._32(n,94).disabled);l(n,102,1,[fP._32(n,103)._control.errorState,fP._32(n,103)._control.errorState,fP._32(n,103)._canLabelFloat,fP._32(n,103)._shouldLabelFloat(),fP._32(n,103)._hideControlPlaceholder(),fP._32(n,103)._control.disabled,fP._32(n,103)._control.focused,"primary"==fP._32(n,103).color,"accent"==fP._32(n,103).color,"warn"==fP._32(n,103).color,fP._32(n,103)._shouldForward("untouched"),fP._32(n,103)._shouldForward("touched"),fP._32(n,103)._shouldForward("pristine"),fP._32(n,103)._shouldForward("dirty"),fP._32(n,103)._shouldForward("valid"),fP._32(n,103)._shouldForward("invalid"),fP._32(n,103)._shouldForward("pending")]);l(n,113,1,[fP._32(n,114).required?"":null,fP._32(n,118).ngClassUntouched,fP._32(n,118).ngClassTouched,fP._32(n,118).ngClassPristine,fP._32(n,118).ngClassDirty,fP._32(n,118).ngClassValid,fP._32(n,118).ngClassInvalid,fP._32(n,118).ngClassPending,fP._32(n,119).id,fP._32(n,119).tabIndex,fP._32(n,119)._ariaLabel,fP._32(n,119).ariaLabelledby,fP._32(n,119).required.toString(),fP._32(n,119).disabled.toString(),fP._32(n,119).errorState,fP._32(n,119).panelOpen?fP._32(n,119)._optionIds:null,fP._32(n,119).multiple,fP._32(n,119)._ariaDescribedby||null,fP._32(n,119)._getAriaActiveDescendant(),fP._32(n,119).disabled,fP._32(n,119).errorState,fP._32(n,119).required]);l(n,126,0,fP._32(n,127)._getTabIndex(),fP._32(n,127).selected,fP._32(n,127).multiple,fP._32(n,127).active,fP._32(n,127).id,fP._32(n,127).selected.toString(),fP._32(n,127).disabled.toString(),fP._32(n,127).disabled);l(n,130,0,fP._32(n,131)._getTabIndex(),fP._32(n,131).selected,fP._32(n,131).multiple,fP._32(n,131).active,fP._32(n,131).id,fP._32(n,131).selected.toString(),fP._32(n,131).disabled.toString(),fP._32(n,131).disabled);l(n,133,0,fP._32(n,134).isInsideMatOption,fP._32(n,139).ngClassUntouched,fP._32(n,139).ngClassTouched,fP._32(n,139).ngClassPristine,fP._32(n,139).ngClassDirty,fP._32(n,139).ngClassValid,fP._32(n,139).ngClassInvalid,fP._32(n,139).ngClassPending);l(n,141,0,fP._32(n,142)._hidden);l(n,147,0,fP._32(n,148)._getTabIndex(),fP._32(n,148).selected,fP._32(n,148).multiple,fP._32(n,148).active,fP._32(n,148).id,fP._32(n,148).selected.toString(),fP._32(n,148).disabled.toString(),fP._32(n,148).disabled);l(n,156,1,[fP._32(n,157)._control.errorState,fP._32(n,157)._control.errorState,fP._32(n,157)._canLabelFloat,fP._32(n,157)._shouldLabelFloat(),fP._32(n,157)._hideControlPlaceholder(),fP._32(n,157)._control.disabled,fP._32(n,157)._control.focused,"primary"==fP._32(n,157).color,"accent"==fP._32(n,157).color,"warn"==fP._32(n,157).color,fP._32(n,157)._shouldForward("untouched"),fP._32(n,157)._shouldForward("touched"),fP._32(n,157)._shouldForward("pristine"),fP._32(n,157)._shouldForward("dirty"),fP._32(n,157)._shouldForward("valid"),fP._32(n,157)._shouldForward("invalid"),fP._32(n,157)._shouldForward("pending")]);l(n,167,1,[fP._32(n,168).required?"":null,fP._32(n,172).ngClassUntouched,fP._32(n,172).ngClassTouched,fP._32(n,172).ngClassPristine,fP._32(n,172).ngClassDirty,fP._32(n,172).ngClassValid,fP._32(n,172).ngClassInvalid,fP._32(n,172).ngClassPending,fP._32(n,173).id,fP._32(n,173).tabIndex,fP._32(n,173)._ariaLabel,fP._32(n,173).ariaLabelledby,fP._32(n,173).required.toString(),fP._32(n,173).disabled.toString(),fP._32(n,173).errorState,fP._32(n,173).panelOpen?fP._32(n,173)._optionIds:null,fP._32(n,173).multiple,fP._32(n,173)._ariaDescribedby||null,fP._32(n,173)._getAriaActiveDescendant(),fP._32(n,173).disabled,fP._32(n,173).errorState,fP._32(n,173).required]);l(n,180,0,fP._32(n,181)._getTabIndex(),fP._32(n,181).selected,fP._32(n,181).multiple,fP._32(n,181).active,fP._32(n,181).id,fP._32(n,181).selected.toString(),fP._32(n,181).disabled.toString(),fP._32(n,181).disabled);l(n,183,0,fP._32(n,184).isInsideMatOption,fP._32(n,189).ngClassUntouched,fP._32(n,189).ngClassTouched,fP._32(n,189).ngClassPristine,fP._32(n,189).ngClassDirty,fP._32(n,189).ngClassValid,fP._32(n,189).ngClassInvalid,fP._32(n,189).ngClassPending);l(n,191,0,fP._32(n,192)._hidden);l(n,197,0,fP._32(n,198)._getTabIndex(),fP._32(n,198).selected,fP._32(n,198).multiple,fP._32(n,198).active,fP._32(n,198).id,fP._32(n,198).selected.toString(),fP._32(n,198).disabled.toString(),fP._32(n,198).disabled);l(n,208,1,[fP._32(n,209).id,fP._32(n,209).indeterminate,fP._32(n,209).checked,fP._32(n,209).disabled,"before"==fP._32(n,209).labelPosition,fP._32(n,213).ngClassUntouched,fP._32(n,213).ngClassTouched,fP._32(n,213).ngClassPristine,fP._32(n,213).ngClassDirty,fP._32(n,213).ngClassValid,fP._32(n,213).ngClassInvalid,fP._32(n,213).ngClassPending]);l(n,216,0,!0===e.rentalForms.value.validate_visited_address?"Yes":"No");l(n,228,1,[fP._32(n,229)._control.errorState,fP._32(n,229)._control.errorState,fP._32(n,229)._canLabelFloat,fP._32(n,229)._shouldLabelFloat(),fP._32(n,229)._hideControlPlaceholder(),fP._32(n,229)._control.disabled,fP._32(n,229)._control.focused,"primary"==fP._32(n,229).color,"accent"==fP._32(n,229).color,"warn"==fP._32(n,229).color,fP._32(n,229)._shouldForward("untouched"),fP._32(n,229)._shouldForward("touched"),fP._32(n,229)._shouldForward("pristine"),fP._32(n,229)._shouldForward("dirty"),fP._32(n,229)._shouldForward("valid"),fP._32(n,229)._shouldForward("invalid"),fP._32(n,229)._shouldForward("pending")]);l(n,242,1,[fP._32(n,244).required?"":null,fP._32(n,248).ngClassUntouched,fP._32(n,248).ngClassTouched,fP._32(n,248).ngClassPristine,fP._32(n,248).ngClassDirty,fP._32(n,248).ngClassValid,fP._32(n,248).ngClassInvalid,fP._32(n,248).ngClassPending,fP._32(n,249).id,fP._32(n,249).tabIndex,fP._32(n,249)._ariaLabel,fP._32(n,249).ariaLabelledby,fP._32(n,249).required.toString(),fP._32(n,249).disabled.toString(),fP._32(n,249).errorState,fP._32(n,249).panelOpen?fP._32(n,249)._optionIds:null,fP._32(n,249).multiple,fP._32(n,249)._ariaDescribedby||null,fP._32(n,249)._getAriaActiveDescendant(),fP._32(n,249).disabled,fP._32(n,249).errorState,fP._32(n,249).required]);l(n,271,1,[fP._32(n,272)._control.errorState,fP._32(n,272)._control.errorState,fP._32(n,272)._canLabelFloat,fP._32(n,272)._shouldLabelFloat(),fP._32(n,272)._hideControlPlaceholder(),fP._32(n,272)._control.disabled,fP._32(n,272)._control.focused,"primary"==fP._32(n,272).color,"accent"==fP._32(n,272).color,"warn"==fP._32(n,272).color,fP._32(n,272)._shouldForward("untouched"),fP._32(n,272)._shouldForward("touched"),fP._32(n,272)._shouldForward("pristine"),fP._32(n,272)._shouldForward("dirty"),fP._32(n,272)._shouldForward("valid"),fP._32(n,272)._shouldForward("invalid"),fP._32(n,272)._shouldForward("pending")]);l(n,285,1,[fP._32(n,287).required?"":null,fP._32(n,291).ngClassUntouched,fP._32(n,291).ngClassTouched,fP._32(n,291).ngClassPristine,fP._32(n,291).ngClassDirty,fP._32(n,291).ngClassValid,fP._32(n,291).ngClassInvalid,fP._32(n,291).ngClassPending,fP._32(n,292).id,fP._32(n,292).tabIndex,fP._32(n,292)._ariaLabel,fP._32(n,292).ariaLabelledby,fP._32(n,292).required.toString(),fP._32(n,292).disabled.toString(),fP._32(n,292).errorState,fP._32(n,292).panelOpen?fP._32(n,292)._optionIds:null,fP._32(n,292).multiple,fP._32(n,292)._ariaDescribedby||null,fP._32(n,292)._getAriaActiveDescendant(),fP._32(n,292).disabled,fP._32(n,292).errorState,fP._32(n,292).required]);l(n,314,1,[fP._32(n,315)._control.errorState,fP._32(n,315)._control.errorState,fP._32(n,315)._canLabelFloat,fP._32(n,315)._shouldLabelFloat(),fP._32(n,315)._hideControlPlaceholder(),fP._32(n,315)._control.disabled,fP._32(n,315)._control.focused,"primary"==fP._32(n,315).color,"accent"==fP._32(n,315).color,"warn"==fP._32(n,315).color,fP._32(n,315)._shouldForward("untouched"),fP._32(n,315)._shouldForward("touched"),fP._32(n,315)._shouldForward("pristine"),fP._32(n,315)._shouldForward("dirty"),fP._32(n,315)._shouldForward("valid"),fP._32(n,315)._shouldForward("invalid"),fP._32(n,315)._shouldForward("pending")]);l(n,328,1,[fP._32(n,329).required?"":null,fP._32(n,333).ngClassUntouched,fP._32(n,333).ngClassTouched,fP._32(n,333).ngClassPristine,fP._32(n,333).ngClassDirty,fP._32(n,333).ngClassValid,fP._32(n,333).ngClassInvalid,fP._32(n,333).ngClassPending,fP._32(n,334).id,fP._32(n,334).tabIndex,fP._32(n,334)._ariaLabel,fP._32(n,334).ariaLabelledby,fP._32(n,334).required.toString(),fP._32(n,334).disabled.toString(),fP._32(n,334).errorState,fP._32(n,334).panelOpen?fP._32(n,334)._optionIds:null,fP._32(n,334).multiple,fP._32(n,334)._ariaDescribedby||null,fP._32(n,334)._getAriaActiveDescendant(),fP._32(n,334).disabled,fP._32(n,334).errorState,fP._32(n,334).required]);l(n,341,0,fP._32(n,342)._getTabIndex(),fP._32(n,342).selected,fP._32(n,342).multiple,fP._32(n,342).active,fP._32(n,342).id,fP._32(n,342).selected.toString(),fP._32(n,342).disabled.toString(),fP._32(n,342).disabled);l(n,345,0,fP._32(n,346)._getTabIndex(),fP._32(n,346).selected,fP._32(n,346).multiple,fP._32(n,346).active,fP._32(n,346).id,fP._32(n,346).selected.toString(),fP._32(n,346).disabled.toString(),fP._32(n,346).disabled);l(n,349,0,fP._32(n,350)._getTabIndex(),fP._32(n,350).selected,fP._32(n,350).multiple,fP._32(n,350).active,fP._32(n,350).id,fP._32(n,350).selected.toString(),fP._32(n,350).disabled.toString(),fP._32(n,350).disabled);l(n,363,1,[fP._32(n,364)._control.errorState,fP._32(n,364)._control.errorState,fP._32(n,364)._canLabelFloat,fP._32(n,364)._shouldLabelFloat(),fP._32(n,364)._hideControlPlaceholder(),fP._32(n,364)._control.disabled,fP._32(n,364)._control.focused,"primary"==fP._32(n,364).color,"accent"==fP._32(n,364).color,"warn"==fP._32(n,364).color,fP._32(n,364)._shouldForward("untouched"),fP._32(n,364)._shouldForward("touched"),fP._32(n,364)._shouldForward("pristine"),fP._32(n,364)._shouldForward("dirty"),fP._32(n,364)._shouldForward("valid"),fP._32(n,364)._shouldForward("invalid"),fP._32(n,364)._shouldForward("pending")]);l(n,377,1,[fP._32(n,378).required?"":null,fP._32(n,382).ngClassUntouched,fP._32(n,382).ngClassTouched,fP._32(n,382).ngClassPristine,fP._32(n,382).ngClassDirty,fP._32(n,382).ngClassValid,fP._32(n,382).ngClassInvalid,fP._32(n,382).ngClassPending,fP._32(n,383).id,fP._32(n,383).tabIndex,fP._32(n,383)._ariaLabel,fP._32(n,383).ariaLabelledby,fP._32(n,383).required.toString(),fP._32(n,383).disabled.toString(),fP._32(n,383).errorState,fP._32(n,383).panelOpen?fP._32(n,383)._optionIds:null,fP._32(n,383).multiple,fP._32(n,383)._ariaDescribedby||null,fP._32(n,383)._getAriaActiveDescendant(),fP._32(n,383).disabled,fP._32(n,383).errorState,fP._32(n,383).required]);l(n,390,0,fP._32(n,391)._getTabIndex(),fP._32(n,391).selected,fP._32(n,391).multiple,fP._32(n,391).active,fP._32(n,391).id,fP._32(n,391).selected.toString(),fP._32(n,391).disabled.toString(),fP._32(n,391).disabled);l(n,404,1,[fP._32(n,405)._control.errorState,fP._32(n,405)._control.errorState,fP._32(n,405)._canLabelFloat,fP._32(n,405)._shouldLabelFloat(),fP._32(n,405)._hideControlPlaceholder(),fP._32(n,405)._control.disabled,fP._32(n,405)._control.focused,"primary"==fP._32(n,405).color,"accent"==fP._32(n,405).color,"warn"==fP._32(n,405).color,fP._32(n,405)._shouldForward("untouched"),fP._32(n,405)._shouldForward("touched"),fP._32(n,405)._shouldForward("pristine"),fP._32(n,405)._shouldForward("dirty"),fP._32(n,405)._shouldForward("valid"),fP._32(n,405)._shouldForward("invalid"),fP._32(n,405)._shouldForward("pending")]);l(n,418,1,[fP._32(n,419).required?"":null,fP._32(n,423).ngClassUntouched,fP._32(n,423).ngClassTouched,fP._32(n,423).ngClassPristine,fP._32(n,423).ngClassDirty,fP._32(n,423).ngClassValid,fP._32(n,423).ngClassInvalid,fP._32(n,423).ngClassPending,fP._32(n,424).id,fP._32(n,424).tabIndex,fP._32(n,424)._ariaLabel,fP._32(n,424).ariaLabelledby,fP._32(n,424).required.toString(),fP._32(n,424).disabled.toString(),fP._32(n,424).errorState,fP._32(n,424).panelOpen?fP._32(n,424)._optionIds:null,fP._32(n,424).multiple,fP._32(n,424)._ariaDescribedby||null,fP._32(n,424)._getAriaActiveDescendant(),fP._32(n,424).disabled,fP._32(n,424).errorState,fP._32(n,424).required]);l(n,431,0,fP._32(n,432)._getTabIndex(),fP._32(n,432).selected,fP._32(n,432).multiple,fP._32(n,432).active,fP._32(n,432).id,fP._32(n,432).selected.toString(),fP._32(n,432).disabled.toString(),fP._32(n,432).disabled);l(n,496,1,[fP._32(n,497)._control.errorState,fP._32(n,497)._control.errorState,fP._32(n,497)._canLabelFloat,fP._32(n,497)._shouldLabelFloat(),fP._32(n,497)._hideControlPlaceholder(),fP._32(n,497)._control.disabled,fP._32(n,497)._control.focused,"primary"==fP._32(n,497).color,"accent"==fP._32(n,497).color,"warn"==fP._32(n,497).color,fP._32(n,497)._shouldForward("untouched"),fP._32(n,497)._shouldForward("touched"),fP._32(n,497)._shouldForward("pristine"),fP._32(n,497)._shouldForward("dirty"),fP._32(n,497)._shouldForward("valid"),fP._32(n,497)._shouldForward("invalid"),fP._32(n,497)._shouldForward("pending")]);l(n,510,1,[fP._32(n,511).required?"":null,fP._32(n,515).ngClassUntouched,fP._32(n,515).ngClassTouched,fP._32(n,515).ngClassPristine,fP._32(n,515).ngClassDirty,fP._32(n,515).ngClassValid,fP._32(n,515).ngClassInvalid,fP._32(n,515).ngClassPending,fP._32(n,516).id,fP._32(n,516).tabIndex,fP._32(n,516)._ariaLabel,fP._32(n,516).ariaLabelledby,fP._32(n,516).required.toString(),fP._32(n,516).disabled.toString(),fP._32(n,516).errorState,fP._32(n,516).panelOpen?fP._32(n,516)._optionIds:null,fP._32(n,516).multiple,fP._32(n,516)._ariaDescribedby||null,fP._32(n,516)._getAriaActiveDescendant(),fP._32(n,516).disabled,fP._32(n,516).errorState,fP._32(n,516).required]);l(n,523,0,fP._32(n,524)._getTabIndex(),fP._32(n,524).selected,fP._32(n,524).multiple,fP._32(n,524).active,fP._32(n,524).id,fP._32(n,524).selected.toString(),fP._32(n,524).disabled.toString(),fP._32(n,524).disabled);l(n,527,0,fP._32(n,528)._getTabIndex(),fP._32(n,528).selected,fP._32(n,528).multiple,fP._32(n,528).active,fP._32(n,528).id,fP._32(n,528).selected.toString(),fP._32(n,528).disabled.toString(),fP._32(n,528).disabled);l(n,531,0,fP._32(n,532)._getTabIndex(),fP._32(n,532).selected,fP._32(n,532).multiple,fP._32(n,532).active,fP._32(n,532).id,fP._32(n,532).selected.toString(),fP._32(n,532).disabled.toString(),fP._32(n,532).disabled);l(n,556,1,[fP._32(n,557)._control.errorState,fP._32(n,557)._control.errorState,fP._32(n,557)._canLabelFloat,fP._32(n,557)._shouldLabelFloat(),fP._32(n,557)._hideControlPlaceholder(),fP._32(n,557)._control.disabled,fP._32(n,557)._control.focused,"primary"==fP._32(n,557).color,"accent"==fP._32(n,557).color,"warn"==fP._32(n,557).color,fP._32(n,557)._shouldForward("untouched"),fP._32(n,557)._shouldForward("touched"),fP._32(n,557)._shouldForward("pristine"),fP._32(n,557)._shouldForward("dirty"),fP._32(n,557)._shouldForward("valid"),fP._32(n,557)._shouldForward("invalid"),fP._32(n,557)._shouldForward("pending")]);l(n,566,1,[fP._32(n,571).ngClassUntouched,fP._32(n,571).ngClassTouched,fP._32(n,571).ngClassPristine,fP._32(n,571).ngClassDirty,fP._32(n,571).ngClassValid,fP._32(n,571).ngClassInvalid,fP._32(n,571).ngClassPending,fP._32(n,572)._isServer,fP._32(n,572).id,fP._32(n,572).placeholder,fP._32(n,572).disabled,fP._32(n,572).required,fP._32(n,572).readonly,fP._32(n,572)._ariaDescribedby||null,fP._32(n,572).errorState,fP._32(n,572).required.toString()])})}function yv(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,44,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,zh)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yh)),fP._17(26,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(31,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(33,16384,null,0,EP.s,[EP.r],null,null),fP._17(34,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,38).onClick()&&u}return u},dV.b,dV.a)),fP._17(38,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,42).onClick()&&u}return u},dV.b,dV.a)),fP._17(42,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(47,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(48,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(50,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(51,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,og)),fP._17(54,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,vv)),fP._17(57,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,26,0,!e.complete_status);l(n,31,0,e.tab);l(n,34,0,"optblue");l(n,38,0,"0");l(n,42,0,"1");l(n,51,0,e.tab);l(n,54,0,"1");l(n,57,0,"0")},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,30,0,fP._32(n,33).ngClassUntouched,fP._32(n,33).ngClassTouched,fP._32(n,33).ngClassPristine,fP._32(n,33).ngClassDirty,fP._32(n,33).ngClassValid,fP._32(n,33).ngClassInvalid,fP._32(n,33).ngClassPending,fP._32(n,34)._disabled);l(n,37,0,fP._32(n,38)._disabled,fP._32(n,38).isActive,fP._32(n,38).isActive);l(n,41,0,fP._32(n,42)._disabled,fP._32(n,42).isActive,fP._32(n,42).isActive);l(n,47,0,fP._32(n,48).statusbarPadding,fP._32(n,48)._hasRefresher)})}function Cv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormName)})}function wv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[6,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.SaleAmtInwords)})}function Fv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[20,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords)})}function xv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,46,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,9,{_control:0}),fP._38(335544320,10,{_placeholderChild:0}),fP._38(335544320,11,{_labelChild:0}),fP._38(603979776,12,{_errorChildren:1}),fP._38(603979776,13,{_hintChildren:1}),fP._38(603979776,14,{_prefixChildren:1}),fP._38(603979776,15,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Net Margin %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(t.assessedForm.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[9,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,16,{_control:0}),fP._38(335544320,17,{_placeholderChild:0}),fP._38(335544320,18,{_labelChild:0}),fP._38(603979776,19,{_errorChildren:1}),fP._38(603979776,20,{_hintChildren:1}),fP._38(603979776,21,{_prefixChildren:1}),fP._38(603979776,22,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Net Profit Value"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,40)._onInput()&&u}return u},null,null)),fP._17(34,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(35,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[16,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Fv)),fP._17(44,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"margin_per");l(n,19,0,"Net Margin %","number");l(n,37,0,"margin_value");l(n,40,0,"Net Profit Value","number","");l(n,44,0,""!=e.assessedForm.get("sales_declared_by_customer").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._isServer,fP._32(n,40).id,fP._32(n,40).placeholder,fP._32(n,40).disabled,fP._32(n,40).required,fP._32(n,40).readonly,fP._32(n,40)._ariaDescribedby||null,fP._32(n,40).errorState,fP._32(n,40).required.toString()])})}function kv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editAllDetails(t.sales_item_value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(6,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function Sv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["(",")"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.other_sales_item)})}function Iv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,27,"ion-list",[],null,null,null,null,null)),fP._17(1,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,23,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editDetails(l.context.$implicit.sci_id)&&u}return u},eA.b,eA.a)),fP._17(4,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,31,{contentLabel:0}),fP._38(603979776,32,{_buttons:1}),fP._38(603979776,33,{_icons:1}),fP._17(8,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(10,0,null,2,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-wrap",""]],null,null,null,null,null)),fP._17(14,16384,null,0,NA.a,[],null,null),(l()(),fP._40(15,null,["\n ",""])),(l()(),fP._13(16777216,null,null,1,null,Sv)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(21,16384,null,0,NA.a,[],null,null),(l()(),fP._40(22,null,["\n "," ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(25,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,17,0,"Others"==n.context.$implicit.sales_item)},function(l,n){l(n,15,0,n.context.$implicit.sales_item);l(n,22,0,"₹",n.context.$implicit.annual_sale_value)})}function qv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total of Sales"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),fP._40(14,null,["",""])),fP._36(15,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,fP._41(n,14,0,l(n,15,0,fP._32(n.parent.parent,0),e.totalAnnualSale_Item_wise)))})}function Pv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.allEditSalesDailyWise(t.sales_item_month_value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(6,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function Dv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["(",")"])),fP._36(2,1)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent,1),n.parent.context.$implicit.otherSaleItem)))})}function Tv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""])),fP._36(2,1)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent.parent,1),n.parent.context.$implicit.header)))})}function Ov(l){return fP._42(0,[(l()(),fP._40(-1,null,["YearWise Sale"]))],null,null)}function Lv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["\n ","\n "])),fP._36(2,2)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent.parent.parent,2),n.parent.context.$implicit.sales_date,"dd-MM-yyyy")))})}function Av(l){return fP._42(0,[(l()(),fP._40(0,null,["",""]))],null,function(l,n){l(n,0,0,n.parent.context.$implicit.frequency_name)})}function Vv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["\n "," ","\n "]))],null,function(l,n){l(n,1,0,"₹",n.parent.context.$implicit.sales_value)})}function Nv(l){return fP._42(0,[(l()(),fP._40(0,null,[""," ",""]))],null,function(l,n){l(n,0,0,"₹",n.parent.context.$implicit.frequency_value)})}function Wv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,27,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,24,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(3,16384,null,0,AA.g,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(9,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lv)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(0,[["freqname",2]],null,0,null,Av)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,7,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(18,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vv)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(0,[["freqvalue",2]],null,0,null,Nv)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,12,0,"0000-00-00 00:00:00"!==n.context.$implicit.sales_date,fP._32(n,14));l(n,21,0,"0000-00-00 00:00:00"!==n.context.$implicit.sales_date,fP._32(n,23))},null)}function Ev(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,14,"ion-col",[["class","col"],["col-12",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Tv)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(0,[["freqtitle",2]],null,0,null,Ov)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wv)),fP._17(13,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"Jan-1970"!=n.context.$implicit.header,fP._32(n,9));l(n,13,0,n.context.$implicit.value)},null)}function jv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Annual Sale : "])),(l()(),fP._40(5,null,[" ","\n "]))],null,function(l,n){l(n,5,0,n.parent.context.$implicit.footerMessage[0].month_value)})}function $v(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(2,null,["\n ",""])),(l()(),fP._18(3,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(4,null,["\n ","\n "]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.footerMessage[0].month_message);l(n,4,0,n.parent.context.$implicit.footerMessage[0].year_message)})}function Bv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(2,0,null,null,23,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editAssessedDailyForm(l.context.$implicit.simId)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,4,"h3",[["text-center",""]],null,null,null,null,null)),(l()(),fP._40(5,null,["",""])),fP._36(6,1),(l()(),fP._13(16777216,null,null,1,null,Dv)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ev)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,jv)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$v)),fP._17(22,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,8,0,"Others"==n.context.$implicit.salesItem);l(n,14,0,n.context.$implicit.expandElements);l(n,19,0,"2"==e.sales_type[n.context.index]);l(n,22,0,"2"!=e.sales_type[n.context.index])},function(l,n){l(n,5,0,fP._41(n,5,0,l(n,6,0,fP._32(n.parent.parent,1),n.context.$implicit.salesItem)))})}function Rv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,190,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(5,0,null,null,87,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,7).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,7).onReset()&&u}return u},null,null)),fP._17(6,16384,null,0,EP.B,[],null,null),fP._17(7,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,80,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(12,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(15,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(17,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(18,16384,null,0,AA.h,[],null,null),(l()(),fP._18(19,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Sales Calculation"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(23,0,null,0,67,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(24,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,2,{_control:0}),fP._38(335544320,3,{_placeholderChild:0}),fP._38(335544320,4,{_labelChild:0}),fP._38(603979776,5,{_errorChildren:1}),fP._38(603979776,6,{_hintChildren:1}),fP._38(603979776,7,{_prefixChildren:1}),fP._38(603979776,8,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,2,2,"mat-placeholder",[["style","font-size: 14px"]],null,null,null,null,null)),fP._17(38,16384,[[3,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Sales Declared by the Customer as the Annual Sales Actually Done"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(41,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_declared_by_customer"],["matInput",""],["name","sales_declared_by_customer"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,42)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,43).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,43).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,48)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(t.assessedForm.value)&&u}return u},null,null)),fP._17(42,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(43,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(45,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(47,16384,null,0,EP.s,[EP.r],null,null),fP._17(48,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{type:[0,"type"]},null),fP._37(2048,[[2,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,wv)),fP._17(52,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xv)),fP._17(56,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,23,{_control:0}),fP._38(335544320,24,{_placeholderChild:0}),fP._38(335544320,25,{_labelChild:0}),fP._38(603979776,26,{_errorChildren:1}),fP._38(603979776,27,{_hintChildren:1}),fP._38(603979776,28,{_prefixChildren:1}),fP._38(603979776,29,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,74)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(71,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(73,16384,null,0,EP.s,[EP.r],null,null),fP._17(74,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[23,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(79,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(81,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._18(82,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.assessedForm.value)&&u}return u},aV.b,aV.a)),fP._17(86,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),fP._40(-1,0,[" Save"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(95,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(98,0,null,null,91,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),fP._17(99,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(101,16777216,null,null,42,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(103,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],null,null),fP._38(335544320,30,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(106,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,107)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,107)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(107,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(108,{collapsedHeight:0,expandedHeight:1}),fP._35(109,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(111,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(112,16384,null,0,SN.f,[],null,null),(l()(),fP._40(-1,null,["\n Item-Wise Sales Calculation\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(116,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(117,49152,null,0,AA.e,[],null,null),(l()(),fP._18(118,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Sales Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(121,0,null,1,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(122,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,kv)),fP._17(125,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(127,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),fP._17(128,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,[" \n\n\n "])),(l()(),fP._18(130,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddAssessedForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(132,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(133,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._13(16777216,null,1,1,null,Iv)),fP._17(139,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,qv)),fP._17(142,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(145,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(147,16777216,null,null,41,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(149,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],null,null),fP._38(335544320,34,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(152,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,153)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,153)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(153,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(154,{collapsedHeight:0,expandedHeight:1}),fP._35(155,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(157,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(158,16384,null,0,SN.f,[],null,null),(l()(),fP._40(-1,null,["\n Sales Calculation as per Kutcha Records / Bills\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(162,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(163,49152,null,0,AA.e,[],null,null),(l()(),fP._18(164,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Daily Sales Details"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(167,0,null,1,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(168,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Pv)),fP._17(171,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(173,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),fP._17(174,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(176,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddAssessedDailyForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(178,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(179,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Bv)),fP._17(185,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,7,0,e.assessedForm);l(n,45,0,"sales_declared_by_customer");l(n,48,0,"number");l(n,52,0,""!=e.assessedForm.value.sales_declared_by_customer);l(n,56,0,e.activateMarginCalculation);l(n,71,0,"comments");l(n,74,0,"Remarks","text");l(n,86,0,"optblue","","");l(n,125,0,e.sales_item_value);l(n,133,0,"optblue","add-circle");l(n,139,0,e.sales_item_value);l(n,142,0,""!=e.totalAnnualSale_Item_wise);l(n,171,0,e.sales_item_month_value);l(n,179,0,"optblue","add-circle");l(n,185,0,e.sales_month_wise_data)},function(l,n){l(n,5,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,41,1,[fP._32(n,47).ngClassUntouched,fP._32(n,47).ngClassTouched,fP._32(n,47).ngClassPristine,fP._32(n,47).ngClassDirty,fP._32(n,47).ngClassValid,fP._32(n,47).ngClassInvalid,fP._32(n,47).ngClassPending,fP._32(n,48)._isServer,fP._32(n,48).id,fP._32(n,48).placeholder,fP._32(n,48).disabled,fP._32(n,48).required,fP._32(n,48).readonly,fP._32(n,48)._ariaDescribedby||null,fP._32(n,48).errorState,fP._32(n,48).required.toString()]);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,73).ngClassUntouched,fP._32(n,73).ngClassTouched,fP._32(n,73).ngClassPristine,fP._32(n,73).ngClassDirty,fP._32(n,73).ngClassValid,fP._32(n,73).ngClassInvalid,fP._32(n,73).ngClassPending,fP._32(n,74)._isServer,fP._32(n,74).id,fP._32(n,74).placeholder,fP._32(n,74).disabled,fP._32(n,74).required,fP._32(n,74).readonly,fP._32(n,74)._ariaDescribedby||null,fP._32(n,74).errorState,fP._32(n,74).required.toString()]);l(n,101,0,fP._32(n,103).expanded,fP._32(n,103)._hasSpacing());l(n,106,0,fP._32(n,107).panel._headerId,fP._32(n,107).panel.disabled?-1:0,fP._32(n,107)._getPanelId(),fP._32(n,107)._isExpanded(),fP._32(n,107).panel.disabled,fP._32(n,107)._isExpanded(),l(n,109,0,fP._32(n,107)._getExpandedState(),l(n,108,0,fP._32(n,107).collapsedHeight,fP._32(n,107).expandedHeight)));l(n,132,0,fP._32(n,133)._hidden);l(n,147,0,fP._32(n,149).expanded,fP._32(n,149)._hasSpacing());l(n,152,0,fP._32(n,153).panel._headerId,fP._32(n,153).panel.disabled?-1:0,fP._32(n,153)._getPanelId(),fP._32(n,153)._isExpanded(),fP._32(n,153).panel.disabled,fP._32(n,153)._isExpanded(),l(n,155,0,fP._32(n,153)._getExpandedState(),l(n,154,0,fP._32(n,153).collapsedHeight,fP._32(n,153).expandedHeight)));l(n,178,0,fP._32(n,179)._hidden)})}function Uv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editPurchaseAllDetails(t.purchse_details)&&u}return u},null,null)),(l()(),fP._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Mv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["(",")"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.other_purchase_item)})}function Kv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,27,"ion-list",[],null,null,null,null,null)),fP._17(1,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,23,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editPurchaseDetails(l.context.$implicit.purchase_id)&&u}return u},eA.b,eA.a)),fP._17(4,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,35,{contentLabel:0}),fP._38(603979776,36,{_buttons:1}),fP._38(603979776,37,{_icons:1}),fP._17(8,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(10,0,null,2,13,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,5,"ion-col",[["class","col"],["col-6",""],["text-wrap",""]],null,null,null,null,null)),fP._17(14,16384,null,0,NA.a,[],null,null),(l()(),fP._40(15,null,["\n ",""])),(l()(),fP._13(16777216,null,null,1,null,Mv)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(20,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(21,16384,null,0,NA.a,[],null,null),(l()(),fP._40(22,null,["\n "," ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(25,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,17,0,"Others"==n.context.$implicit.purchase_item)},function(l,n){l(n,15,0,n.context.$implicit.purchase_item);l(n,22,0,"₹",n.context.$implicit.annual_purchase_value)})}function Hv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total of purchase"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),fP._40(14,null,["",""])),fP._36(15,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,fP._41(n,14,0,l(n,15,0,fP._32(n.parent.parent.parent,0),e.totalAnnualpurchase_Item_wise)))})}function Gv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._18(5,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Item-wise Purchase Calculation"])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._18(8,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(9,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Uv)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-9",""],["text-right",""]],null,null,null,null,null)),fP._17(15,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddPurchaseForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Kv)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Hv)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,12,0,""!=e.purchse_details);l(n,20,0,"optblue","add-circle");l(n,26,0,e.purchse_details);l(n,29,0,""!=e.totalAnnualpurchase_Item_wise)},function(l,n){l(n,19,0,fP._32(n,20)._hidden)})}function zv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.alleditPurchaseBillWise(t.purchase_bill_wise)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(6,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function Yv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["(",")"])),fP._36(2,1)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent.parent,1),n.parent.context.$implicit.otherPurchaseItem)))})}function Qv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""])),fP._36(2,1)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent.parent.parent,1),n.parent.context.$implicit.header)))})}function Jv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["\n ","\n "])),fP._36(2,2)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent.parent.parent.parent,2),n.parent.context.$implicit.purchase_date,"dd-MM-yyyy")))})}function Xv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["\n "," ","\n "]))],null,function(l,n){l(n,1,0,"₹",n.parent.context.$implicit.purchase_value)})}function Zv(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(3,16384,null,0,AA.g,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(6,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(9,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jv)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(17,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xv)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"0000-00-00 00:00:00"!==n.context.$implicit.purchase_date,e.freqname);l(n,20,0,"0000-00-00 00:00:00"!==n.context.$implicit.purchase_date,e.freqvalue)},null)}function ly(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"ion-col",[["class","col"],["col-12",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,6,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qv)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zv)),fP._17(12,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"Jan-1970"!=n.context.$implicit.header,n.component.freqtitle);l(n,12,0,n.context.$implicit.value)},null)}function ny(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(2,0,null,null,20,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editPurchaseBillWise(l.context.$implicit.pbw_id)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,4,"h3",[["text-center",""]],null,null,null,null,null)),(l()(),fP._40(5,null,["",""])),fP._36(6,1),(l()(),fP._13(16777216,null,null,1,null,Yv)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ly)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(16,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(17,16384,null,0,VA.a,[],null,null),(l()(),fP._40(18,null,["\n ",""])),(l()(),fP._18(19,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(20,null,["\n ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,8,0,"Others"==n.context.$implicit.purchaseItem);l(n,14,0,n.context.$implicit.expandElements)},function(l,n){l(n,5,0,fP._41(n,5,0,l(n,6,0,fP._32(n.parent.parent.parent,1),n.context.$implicit.purchaseItem)));l(n,18,0,n.context.$implicit.footerMessage[0].month_message);l(n,20,0,n.context.$implicit.footerMessage[0].year_message)})}function ey(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._18(5,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Purchase Calculation as per Kutcha Records / Bills"])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._18(8,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(9,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zv)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(14,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),fP._17(15,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddPurchaseBillWiseForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(20,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,ny)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n\n "]))],function(l,n){var e=n.component;l(n,12,0,""!=e.purchase_bill_wise);l(n,20,0,"optblue","add-circle");l(n,26,0,e.purchase_bill_wise_data)},function(l,n){l(n,19,0,fP._32(n,20)._hidden)})}function uy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Gv)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,ey)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,5,0,"1"==e.purchase_type);l(n,8,0,"2"==e.purchase_type)},null)}function ty(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editExpenseAllDetails(t.businessExpenses_details)&&u}return u},null,null)),(l()(),fP._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function ay(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editExpenseDetails(l.context.$implicit.pd_expense_id)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(5,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-wrap",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._40(13,null,["\n "," ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,n.context.$implicit.expense_item);l(n,13,0,"₹",n.context.$implicit.annual_expenses_value)})}function iy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total of Expense"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),fP._40(14,null,["",""])),fP._36(15,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,fP._41(n,14,0,l(n,15,0,fP._32(n.parent.parent,0),e.totalAnnualBusiness_details)))})}function oy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,30,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Business Expenses"])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ty)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),fP._17(17,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddExpenseForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(22,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,ay)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,iy)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.businessExpenses_details);l(n,22,0,"optblue","add-circle");l(n,28,0,e.businessExpenses_details);l(n,31,0,""!=e.totalAnnualBusiness_details)},function(l,n){l(n,21,0,fP._32(n,22)._hidden)})}function ry(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editHouseExpenseAllDetails(t.houseHold_details)&&u}return u},null,null)),(l()(),fP._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function _y(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editHouseExpenseDetails(l.context.$implicit.household_expense_id)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(5,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-wrap",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._40(13,null,["\n "," ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,n.context.$implicit.expense_item);l(n,13,0,"₹",n.context.$implicit.annual_expense_value)})}function dy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total of Expense"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),fP._40(14,null,["",""])),fP._36(15,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,fP._41(n,14,0,l(n,15,0,fP._32(n.parent.parent,0),e.totalAnnual_House_hold_details)))})}function sy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,30,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Household Expenses"])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,ry)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),fP._17(17,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddHouseExpenseForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(22,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,_y)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,dy)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.houseHold_details);l(n,22,0,"optblue","add-circle");l(n,28,0,e.houseHold_details);l(n,31,0,""!=e.totalAnnual_House_hold_details)},function(l,n){l(n,21,0,fP._32(n,22)._hidden)})}function cy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editIncomeAllDetails(t.busissnessIncome)&&u}return u},null,null)),(l()(),fP._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function my(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editIncomeDetails(l.context.$implicit.pd_business_income_id)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(5,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-wrap",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),fP._17(12,16384,null,0,NA.a,[],null,null),(l()(),fP._40(13,null,["\n "," ","\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,"Others(Please Specify)"!=n.context.$implicit.business_income_item?n.context.$implicit.business_income_item:n.context.$implicit.other_frequncy_item);l(n,13,0,"₹",n.context.$implicit.income_value)})}function py(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(3,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Other Business Income Items"])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(11,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,cy)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),fP._17(17,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddIncomeForm()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(22,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,my)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.busissnessIncome);l(n,22,0,"optblue","add-circle");l(n,28,0,e.busissnessIncome)},function(l,n){l(n,21,0,fP._32(n,22)._hidden)})}function fy(l){return fP._42(0,[fP._34(0,ND,[]),fP._34(0,mD.u,[]),fP._34(0,mD.e,[fP.D]),(l()(),fP._18(3,0,null,null,19,"ion-header",[],null,null,null,null,null)),fP._17(4,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(6,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(7,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,11).toggle()&&u}return u},aV.b,aV.a)),fP._17(10,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(11,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(12,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Cv)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(24,0,null,null,18,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(25,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Rv)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,uy)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._13(16777216,null,1,1,null,oy)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,sy)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,py)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n \n\n\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,28,0,1==e.pageId);l(n,31,0,2==e.pageId);l(n,35,0,3==e.pageId);l(n,38,0,4==e.pageId);l(n,41,0,5==e.pageId)},function(l,n){l(n,6,0,fP._32(n,7)._hidden,fP._32(n,7)._sbPadding);l(n,9,0,fP._32(n,11).isHidden);l(n,15,0,fP._32(n,16)._hidden);l(n,24,0,fP._32(n,25).statusbarPadding,fP._32(n,25)._hasRefresher)})}function hy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,[" Sales Calculation as per Kutcha Records / Bills"]))],null,null)}function gy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.salesDailyForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function by(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent,0),n.context.$implicit.name)))})}function vy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_sales_item"],["matInput",""],["placeholder","Other Product/Services"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_sales_item");l(n,16,0,"Other Product/Services","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function yy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,1)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(1,4440064,[[20,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.type_id)},function(l,n){l(n,0,0,fP._32(n,1).checked,fP._32(n,1).disabled,fP._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function Cy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[32,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.parent.context.index])})}function wy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.adddailyChildSaleProduct(l.parent.parent.parent.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Fy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,75,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_date"],["matInput",""],["name","sales_date"],["placeholder","Sales Date"],["type","date"]],[[8,"max",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}if("dateChange"===n){u=!1!==t.salesCalculation(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,5,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(22,16384,[[24,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Sales Date is Required"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_value"],["matInput",""],["name","sales_value"],["placeholder","Bill Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}if("blur"===n){u=!1!==t.salesCalculation(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value)&&u}if("keyup"===n){t.salesCalculation(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(38,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[28,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Cy)),fP._17(47,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,24,"ion-buttons",[],null,null,null,null,null)),fP._17(51,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,35,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(55,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(57,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(58,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(60,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletedailyChildSaleProduct(l.parent.parent.parent.context.index,l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(63,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),fP._17(68,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wy)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"sales_date");l(n,18,0,"Sales Date","date");l(n,40,0,"sales_value");l(n,43,0,"Bill Value","number");l(n,47,0,""!=n.parent.context.$implicit.get("sales_value").value);l(n,63,0,"optblue","md-trash");l(n,71,0,n.parent.context.last)},function(l,n){var e=n.component;l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[e.maxDate,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()]);l(n,21,0,fP._32(n,22).id);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()]);l(n,62,0,fP._32(n,63)._hidden)})}function xy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fy)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,1==n.context.$implicit.value.isactive)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function ky(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(3,49152,null,0,AA.e,[],null,null),(l()(),fP._18(4,0,null,2,2,"h2",[],null,null,null,null,null)),(l()(),fP._40(5,null,["",""])),fP._36(6,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,7,"div",[["formArrayName","child"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(9,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(11,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xy)),fP._17(14,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"child");l(n,14,0,n.parent.context.$implicit.controls.child.controls)},function(l,n){l(n,5,0,fP._41(n,5,0,l(n,6,0,fP._32(n.parent.parent,0),n.parent.context.$implicit.get("sales_item").value)));l(n,8,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending)})}function Sy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[43,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Iy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-label",[["float-right",""],["style","font-size:12px;color:gray"]],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._40(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.freqAmtInwords[n.parent.context.index])})}function qy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[57,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function Py(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,84,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,36,{_control:0}),fP._38(335544320,37,{_placeholderChild:0}),fP._38(335544320,38,{_labelChild:0}),fP._38(603979776,39,{_errorChildren:1}),fP._38(603979776,40,{_hintChildren:1}),fP._38(603979776,41,{_prefixChildren:1}),fP._38(603979776,42,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salesCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,43,{options:1}),fP._38(603979776,44,{optionGroups:1}),fP._38(335544320,45,{customTrigger:0}),fP._37(2048,[[36,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[43,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Sy)),fP._17(33,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","frequency_value"],["matInput",""],["placeholder","Value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,53)._onInput()&&u}if("keyup"===n){t.salesCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,3)&&u}return u},null,null)),fP._17(48,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(50,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(52,16384,null,0,EP.s,[EP.r],null,null),fP._17(53,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[46,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Iy)),fP._17(58,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(60,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(61,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(70,0,null,1,9,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_value"],["matInput",""],["placeholder","Annual Value"],["readonly",""],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,71)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,71).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,71)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,71)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,78)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(71,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(72,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(75,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(77,16384,null,0,EP.s,[EP.r],null,null),fP._17(78,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"],readonly:[3,"readonly"]},null),fP._37(2048,[[53,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._13(16777216,null,7,1,null,qy)),fP._17(82,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"fk_frequency_id");l(n,21,0,"Frequency","");l(n,33,0,e.frequencyData);l(n,50,0,"frequency_value");l(n,53,0,"Value");l(n,58,0,""!=n.context.$implicit.value.frequency_value&&""!=e.freqAmtInwords[n.context.index]);l(n,72,0,"");l(n,75,0,"sales_value");l(n,78,0,"Annual Value","","text","");l(n,82,0,""!=n.context.$implicit.get("sales_value").value)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,1,[fP._32(n,52).ngClassUntouched,fP._32(n,52).ngClassTouched,fP._32(n,52).ngClassPristine,fP._32(n,52).ngClassDirty,fP._32(n,52).ngClassValid,fP._32(n,52).ngClassInvalid,fP._32(n,52).ngClassPending,fP._32(n,53)._isServer,fP._32(n,53).id,fP._32(n,53).placeholder,fP._32(n,53).disabled,fP._32(n,53).required,fP._32(n,53).readonly,fP._32(n,53)._ariaDescribedby||null,fP._32(n,53).errorState,fP._32(n,53).required.toString()]);l(n,60,1,[fP._32(n,61)._control.errorState,fP._32(n,61)._control.errorState,fP._32(n,61)._canLabelFloat,fP._32(n,61)._shouldLabelFloat(),fP._32(n,61)._hideControlPlaceholder(),fP._32(n,61)._control.disabled,fP._32(n,61)._control.focused,"primary"==fP._32(n,61).color,"accent"==fP._32(n,61).color,"warn"==fP._32(n,61).color,fP._32(n,61)._shouldForward("untouched"),fP._32(n,61)._shouldForward("touched"),fP._32(n,61)._shouldForward("pristine"),fP._32(n,61)._shouldForward("dirty"),fP._32(n,61)._shouldForward("valid"),fP._32(n,61)._shouldForward("invalid"),fP._32(n,61)._shouldForward("pending")]);l(n,70,1,[fP._32(n,72).required?"":null,fP._32(n,77).ngClassUntouched,fP._32(n,77).ngClassTouched,fP._32(n,77).ngClassPristine,fP._32(n,77).ngClassDirty,fP._32(n,77).ngClassValid,fP._32(n,77).ngClassInvalid,fP._32(n,77).ngClassPending,fP._32(n,78)._isServer,fP._32(n,78).id,fP._32(n,78).placeholder,fP._32(n,78).disabled,fP._32(n,78).required,fP._32(n,78).readonly,fP._32(n,78)._ariaDescribedby||null,fP._32(n,78).errorState,fP._32(n,78).required.toString()])})}function Dy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[["formArrayName","child"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Py)),fP._17(6,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"child");l(n,6,0,n.parent.context.$implicit.controls.child.controls)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Ty(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.adddailySalaesProduct()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Add Items"]))],function(l,n){l(n,1,0,"primary")},null)}function Oy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[71,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords[n.parent.parent.context.index])})}function Ly(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,46,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,60,{_control:0}),fP._38(335544320,61,{_placeholderChild:0}),fP._38(335544320,62,{_labelChild:0}),fP._38(603979776,63,{_errorChildren:1}),fP._38(603979776,64,{_hintChildren:1}),fP._38(603979776,65,{_prefixChildren:1}),fP._38(603979776,66,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Gross Magin %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[60,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,67,{_control:0}),fP._38(335544320,68,{_placeholderChild:0}),fP._38(335544320,69,{_labelChild:0}),fP._38(603979776,70,{_errorChildren:1}),fP._38(603979776,71,{_hintChildren:1}),fP._38(603979776,72,{_prefixChildren:1}),fP._38(603979776,73,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Margin Value"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,40)._onInput()&&u}return u},null,null)),fP._17(34,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(35,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[67,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Oy)),fP._17(44,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Gross Magin %","number");l(n,37,0,"margin_value");l(n,40,0,"Margin Value","number","");l(n,44,0,""!=n.parent.context.$implicit.get("margin_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._isServer,fP._32(n,40).id,fP._32(n,40).placeholder,fP._32(n,40).disabled,fP._32(n,40).required,fP._32(n,40).readonly,fP._32(n,40)._ariaDescribedby||null,fP._32(n,40).errorState,fP._32(n,40).required.toString()])})}function Ay(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,125,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,88,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","sales_item"],["placeholder","Product/Services"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,24)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(19,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,32)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(32,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,by)),fP._17(36,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(39,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Others"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,vy)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(47,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","sales_type"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.changeOptions(l.context.index,e.value)&&u}return u},null,null)),fP._17(48,1064960,null,1,PV.b,[fP.i],null,{change:"change"}),fP._38(603979776,20,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(51,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(53,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yy)),fP._17(56,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(59,0,null,0,10,"div",[],null,null,null,null,null)),fP._17(60,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ky)),fP._17(64,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Dy)),fP._17(68,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(71,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(73,0,null,0,19,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(74,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(76,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(77,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ty)),fP._17(81,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(85,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletedailySalesProduct(l.context.index,l.context.$implicit.value)&&u}return u},aV.b,aV.a)),fP._17(89,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Remove"])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,0,[" \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(95,0,null,null,29,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(96,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(98,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(99,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ly)),fP._17(102,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(105,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,74,{_control:0}),fP._38(335544320,75,{_placeholderChild:0}),fP._38(335544320,76,{_labelChild:0}),fP._38(603979776,77,{_errorChildren:1}),fP._38(603979776,78,{_hintChildren:1}),fP._38(603979776,79,{_prefixChildren:1}),fP._38(603979776,80,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(114,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,115)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,115).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,115)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,115)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,120)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,120)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,120)._onInput()&&u}return u},null,null)),fP._17(115,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(117,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(119,16384,null,0,EP.s,[EP.r],null,null),fP._17(120,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[74,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"");l(n,21,0,"sales_item");l(n,24,0,"Product/Services","");l(n,36,0,e.product_and_services);l(n,39,0,"Others");l(n,45,0,"Others"==n.context.$implicit.controls.sales_item.value);l(n,51,0,"sales_type");l(n,56,0,e.check_type);l(n,60,0,n.context.$implicit.value.sales_type);l(n,64,0,1);l(n,68,0,2);l(n,81,0,n.context.last);l(n,89,0,"primary");l(n,102,0,e.margin_calculation_status);l(n,117,0,"comments");l(n,120,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,19).required?"":null,fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24).id,fP._32(n,24).tabIndex,fP._32(n,24)._ariaLabel,fP._32(n,24).ariaLabelledby,fP._32(n,24).required.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).errorState,fP._32(n,24).panelOpen?fP._32(n,24)._optionIds:null,fP._32(n,24).multiple,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24)._getAriaActiveDescendant(),fP._32(n,24).disabled,fP._32(n,24).errorState,fP._32(n,24).required]);l(n,31,0,fP._32(n,32)._getTabIndex(),fP._32(n,32).selected,fP._32(n,32).multiple,fP._32(n,32).active,fP._32(n,32).id,fP._32(n,32).selected.toString(),fP._32(n,32).disabled.toString(),fP._32(n,32).disabled);l(n,38,0,fP._32(n,39)._getTabIndex(),fP._32(n,39).selected,fP._32(n,39).multiple,fP._32(n,39).active,fP._32(n,39).id,fP._32(n,39).selected.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).disabled);l(n,47,0,fP._32(n,53).ngClassUntouched,fP._32(n,53).ngClassTouched,fP._32(n,53).ngClassPristine,fP._32(n,53).ngClassDirty,fP._32(n,53).ngClassValid,fP._32(n,53).ngClassInvalid,fP._32(n,53).ngClassPending);l(n,104,1,[fP._32(n,105)._control.errorState,fP._32(n,105)._control.errorState,fP._32(n,105)._canLabelFloat,fP._32(n,105)._shouldLabelFloat(),fP._32(n,105)._hideControlPlaceholder(),fP._32(n,105)._control.disabled,fP._32(n,105)._control.focused,"primary"==fP._32(n,105).color,"accent"==fP._32(n,105).color,"warn"==fP._32(n,105).color,fP._32(n,105)._shouldForward("untouched"),fP._32(n,105)._shouldForward("touched"),fP._32(n,105)._shouldForward("pristine"),fP._32(n,105)._shouldForward("dirty"),fP._32(n,105)._shouldForward("valid"),fP._32(n,105)._shouldForward("invalid"),fP._32(n,105)._shouldForward("pending")]);l(n,114,1,[fP._32(n,119).ngClassUntouched,fP._32(n,119).ngClassTouched,fP._32(n,119).ngClassPristine,fP._32(n,119).ngClassDirty,fP._32(n,119).ngClassValid,fP._32(n,119).ngClassInvalid,fP._32(n,119).ngClassPending,fP._32(n,120)._isServer,fP._32(n,120).id,fP._32(n,120).placeholder,fP._32(n,120).disabled,fP._32(n,120).required,fP._32(n,120).readonly,fP._32(n,120)._ariaDescribedby||null,fP._32(n,120).errorState,fP._32(n,120).required.toString()])})}function Vy(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,hy)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._18(20,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gy)),fP._17(26,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(31,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(32,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,36).onReset()&&u}return u},null,null)),fP._17(35,16384,null,0,EP.B,[],null,null),fP._17(36,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,7,"div",[["formArrayName","sales_product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(41,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(43,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ay)),fP._17(46,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,26,0,!e.complete_status);l(n,36,0,e.salesDailyForm);l(n,41,0,"sales_product");l(n,46,0,e.salesDailyForm.get("sales_product").controls)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,31,0,fP._32(n,32).statusbarPadding,fP._32(n,32)._hasRefresher);l(n,34,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending);l(n,40,0,fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending)})}function Ny(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,[" Item-Wise Sales Calculation "]))],null,null)}function Wy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.assessedForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Ey(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent,0),n.context.$implicit.name)))})}function jy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_sales_item"],["matInput",""],["placeholder","Other Product/Services"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_sales_item");l(n,16,0,"Other Product/Services","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function $y(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,1)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(1,4440064,[[20,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.type_id)},function(l,n){l(n,0,0,fP._32(n,1).checked,fP._32(n,1).disabled,fP._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function By(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n \n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ry(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_other"],["matInput",""],["placeholder","Other UOM"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[39,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_other");l(n,16,0,"Other UOM","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Uy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,69,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_qty"],["matInput",""],["name","sales_qty"],["placeholder","Sale Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,30,"mat-select",[["class","mat-select"],["formControlName","fk_uom_id"],["matInput",""],["placeholder","UOM"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,38)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(35,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(37,16384,null,0,EP.s,[EP.r],null,null),fP._17(38,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,35,{options:1}),fP._38(603979776,36,{optionGroups:1}),fP._38(335544320,37,{customTrigger:0}),fP._37(2048,[[28,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,46)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,46)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(46,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(48,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchUOM(l.parent.context.$implicit,l.parent.context.index)&&u}return u},dN.b,dN.a)),fP._17(49,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,38,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(52,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(54,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(56,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(57,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(58,16384,[[38,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,By)),fP._17(63,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ry)),fP._17(68,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"sales_qty");l(n,19,0,"Sale Quantity","number");l(n,35,0,"fk_uom_id");l(n,38,0,"UOM");l(n,49,0,"Find UOM","No Matching Result");l(n,52,0,"uomSearch");l(n,57,0,"md-close");l(n,63,0,e.UOMData);l(n,68,0,1==n.parent.context.$implicit.controls.fk_uom_id.value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,34,1,[fP._32(n,37).ngClassUntouched,fP._32(n,37).ngClassTouched,fP._32(n,37).ngClassPristine,fP._32(n,37).ngClassDirty,fP._32(n,37).ngClassValid,fP._32(n,37).ngClassInvalid,fP._32(n,37).ngClassPending,fP._32(n,38).id,fP._32(n,38).tabIndex,fP._32(n,38)._ariaLabel,fP._32(n,38).ariaLabelledby,fP._32(n,38).required.toString(),fP._32(n,38).disabled.toString(),fP._32(n,38).errorState,fP._32(n,38).panelOpen?fP._32(n,38)._optionIds:null,fP._32(n,38).multiple,fP._32(n,38)._ariaDescribedby||null,fP._32(n,38)._getAriaActiveDescendant(),fP._32(n,38).disabled,fP._32(n,38).errorState,fP._32(n,38).required]);l(n,45,0,fP._32(n,46)._getTabIndex(),fP._32(n,46).selected,fP._32(n,46).multiple,fP._32(n,46).active,fP._32(n,46).id,fP._32(n,46).selected.toString(),fP._32(n,46).disabled.toString(),fP._32(n,46).disabled);l(n,48,0,fP._32(n,49).isInsideMatOption,fP._32(n,54).ngClassUntouched,fP._32(n,54).ngClassTouched,fP._32(n,54).ngClassPristine,fP._32(n,54).ngClassDirty,fP._32(n,54).ngClassValid,fP._32(n,54).ngClassInvalid,fP._32(n,54).ngClassPending);l(n,56,0,fP._32(n,57)._hidden)})}function My(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-label",[["float-right",""],["style","font-size: 12px"]],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._40(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.ratePerUnitAmtInwords[n.parent.parent.context.index])})}function Ky(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[67,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.annualSaleAmtInwords[n.parent.parent.context.index])})}function Gy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,79,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate/unit of sale"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keyup"===n){t.inWords(e.target.value,l.parent.context.index,4);u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[46,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,My)),fP._17(24,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,40)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,40)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,40)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,60,{options:1}),fP._38(603979776,61,{optionGroups:1}),fP._38(335544320,62,{customTrigger:0}),fP._37(2048,[[53,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(47,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,48)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,48)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(48,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ky)),fP._17(52,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(56,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(57,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,63,{_control:0}),fP._38(335544320,64,{_placeholderChild:0}),fP._38(335544320,65,{_labelChild:0}),fP._38(603979776,66,{_errorChildren:1}),fP._38(603979776,67,{_hintChildren:1}),fP._38(603979776,68,{_prefixChildren:1}),fP._38(603979776,69,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_sale_value"],["matInput",""],["name","annual_sale_value"],["placeholder","Annual Sales"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,67)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,68).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,68).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,68).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,73)._onInput()&&u}return u},null,null)),fP._17(67,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(68,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(70,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(72,16384,null,0,EP.s,[EP.r],null,null),fP._17(73,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[63,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Hy)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"rate_per_unit");l(n,19,0,"Rate/unit of sale","number");l(n,24,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,37,0,"fk_frequency_id");l(n,40,0,"Frequency");l(n,52,0,e.m_freqOfPurchase);l(n,70,0,"annual_sale_value");l(n,73,0,"Annual Sales","number","");l(n,77,0,null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40).id,fP._32(n,40).tabIndex,fP._32(n,40)._ariaLabel,fP._32(n,40).ariaLabelledby,fP._32(n,40).required.toString(),fP._32(n,40).disabled.toString(),fP._32(n,40).errorState,fP._32(n,40).panelOpen?fP._32(n,40)._optionIds:null,fP._32(n,40).multiple,fP._32(n,40)._ariaDescribedby||null,fP._32(n,40)._getAriaActiveDescendant(),fP._32(n,40).disabled,fP._32(n,40).errorState,fP._32(n,40).required]);l(n,47,0,fP._32(n,48)._getTabIndex(),fP._32(n,48).selected,fP._32(n,48).multiple,fP._32(n,48).active,fP._32(n,48).id,fP._32(n,48).selected.toString(),fP._32(n,48).disabled.toString(),fP._32(n,48).disabled);l(n,56,1,[fP._32(n,57)._control.errorState,fP._32(n,57)._control.errorState,fP._32(n,57)._canLabelFloat,fP._32(n,57)._shouldLabelFloat(),fP._32(n,57)._hideControlPlaceholder(),fP._32(n,57)._control.disabled,fP._32(n,57)._control.focused,"primary"==fP._32(n,57).color,"accent"==fP._32(n,57).color,"warn"==fP._32(n,57).color,fP._32(n,57)._shouldForward("untouched"),fP._32(n,57)._shouldForward("touched"),fP._32(n,57)._shouldForward("pristine"),fP._32(n,57)._shouldForward("dirty"),fP._32(n,57)._shouldForward("valid"),fP._32(n,57)._shouldForward("invalid"),fP._32(n,57)._shouldForward("pending")]);l(n,66,1,[fP._32(n,72).ngClassUntouched,fP._32(n,72).ngClassTouched,fP._32(n,72).ngClassPristine,fP._32(n,72).ngClassDirty,fP._32(n,72).ngClassValid,fP._32(n,72).ngClassInvalid,fP._32(n,72).ngClassPending,fP._32(n,73)._isServer,fP._32(n,73).id,fP._32(n,73).placeholder,fP._32(n,73).disabled,fP._32(n,73).required,fP._32(n,73).readonly,fP._32(n,73)._ariaDescribedby||null,fP._32(n,73).errorState,fP._32(n,73).required.toString()])})}function zy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Yy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[84,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.ratePerUnitAmtInwords[n.parent.parent.context.index])})}function Qy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[91,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.annualSaleAmtInwords[n.parent.parent.context.index])})}function Jy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,81,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,77,{options:1}),fP._38(603979776,78,{optionGroups:1}),fP._38(335544320,79,{customTrigger:0}),fP._37(2048,[[70,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,zy)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,80,{_control:0}),fP._38(335544320,81,{_placeholderChild:0}),fP._38(335544320,82,{_labelChild:0}),fP._38(603979776,83,{_errorChildren:1}),fP._38(603979776,84,{_hintChildren:1}),fP._38(603979776,85,{_prefixChildren:1}),fP._38(603979776,86,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,10,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,51)._onInput()&&u}if("keyup"===n){t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.parent.context.index,4)&&u}return u},null,null)),fP._17(43,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(44,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(45,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(48,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(50,16384,null,0,EP.s,[EP.r],null,null),fP._17(51,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[80,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Yy)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,87,{_control:0}),fP._38(335544320,88,{_placeholderChild:0}),fP._38(335544320,89,{_labelChild:0}),fP._38(603979776,90,{_errorChildren:1}),fP._38(603979776,91,{_hintChildren:1}),fP._38(603979776,92,{_prefixChildren:1}),fP._38(603979776,93,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_sale_value"],["matInput",""],["name","annual_sale_value"],["placeholder","Annual Sales"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,70).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,70).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[87,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Qy)),fP._17(79,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"fk_frequency_id");l(n,16,0,"Frequency");l(n,28,0,e.m_freqOfPurchase);l(n,45,0,"");l(n,48,0,"rate_per_unit");l(n,51,0,"1"==n.parent.context.$implicit.value.fk_frequency_id?"Other Sale":"2"==n.parent.context.$implicit.value.fk_frequency_id?"Yearly Sale":"3"==n.parent.context.$implicit.value.fk_frequency_id?"Half Yearly Sale":"4"==n.parent.context.$implicit.value.fk_frequency_id?"Fortnightly Sale":"5"==n.parent.context.$implicit.value.fk_frequency_id?"Daily Sale":"6"==n.parent.context.$implicit.value.fk_frequency_id?"Quarterly Sale":"7"==n.parent.context.$implicit.value.fk_frequency_id?"Monthly Sale":"","","number");l(n,55,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,72,0,"annual_sale_value");l(n,75,0,"Annual Sales","number","");l(n,79,0,null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).required?"":null,fP._32(n,50).ngClassUntouched,fP._32(n,50).ngClassTouched,fP._32(n,50).ngClassPristine,fP._32(n,50).ngClassDirty,fP._32(n,50).ngClassValid,fP._32(n,50).ngClassInvalid,fP._32(n,50).ngClassPending,fP._32(n,51)._isServer,fP._32(n,51).id,fP._32(n,51).placeholder,fP._32(n,51).disabled,fP._32(n,51).required,fP._32(n,51).readonly,fP._32(n,51)._ariaDescribedby||null,fP._32(n,51).errorState,fP._32(n,51).required.toString()]);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()])})}function Xy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[105,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords[n.parent.parent.parent.context.index])})}function Zy(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,101,{_control:0}),fP._38(335544320,102,{_placeholderChild:0}),fP._38(335544320,103,{_labelChild:0}),fP._38(603979776,104,{_errorChildren:1}),fP._38(603979776,105,{_hintChildren:1}),fP._38(603979776,106,{_prefixChildren:1}),fP._38(603979776,107,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per_uom"],["matInput",""],["name","margin_per_uom"],["placeholder","Margin Per Unit"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.salesMarginAmtCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[101,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,Xy)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"margin_per_uom");l(n,17,0,"Margin Per Unit","number");l(n,21,0,""!=n.parent.parent.context.$implicit.get("rate_per_unit").value&&null!=n.parent.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function lC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[112,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.marginFinalAmtInwords[n.parent.parent.context.index])})}function nC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,49,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,94,{_control:0}),fP._38(335544320,95,{_placeholderChild:0}),fP._38(335544320,96,{_labelChild:0}),fP._38(603979776,97,{_errorChildren:1}),fP._38(603979776,98,{_hintChildren:1}),fP._38(603979776,99,{_prefixChildren:1}),fP._38(603979776,100,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Gross Margin %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesMarginPerCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[94,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Zy)),fP._17(24,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(27,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,108,{_control:0}),fP._38(335544320,109,{_placeholderChild:0}),fP._38(335544320,110,{_labelChild:0}),fP._38(603979776,111,{_errorChildren:1}),fP._38(603979776,112,{_hintChildren:1}),fP._38(603979776,113,{_prefixChildren:1}),fP._38(603979776,114,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_final_value"],["matInput",""],["name","margin_final_value"],["placeholder","Considered Margin Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,43)._onInput()&&u}return u},null,null)),fP._17(37,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(38,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[108,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,lC)),fP._17(47,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Gross Margin %","number");l(n,24,0,"1"==n.parent.context.$implicit.value.sales_type);l(n,40,0,"margin_final_value");l(n,43,0,"Considered Margin Amount","number","");l(n,47,0,""!=n.parent.context.$implicit.get("rate_per_unit").value&&null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()]);l(n,26,1,[fP._32(n,27)._control.errorState,fP._32(n,27)._control.errorState,fP._32(n,27)._canLabelFloat,fP._32(n,27)._shouldLabelFloat(),fP._32(n,27)._hideControlPlaceholder(),fP._32(n,27)._control.disabled,fP._32(n,27)._control.focused,"primary"==fP._32(n,27).color,"accent"==fP._32(n,27).color,"warn"==fP._32(n,27).color,fP._32(n,27)._shouldForward("untouched"),fP._32(n,27)._shouldForward("touched"),fP._32(n,27)._shouldForward("pristine"),fP._32(n,27)._shouldForward("dirty"),fP._32(n,27)._shouldForward("valid"),fP._32(n,27)._shouldForward("invalid"),fP._32(n,27)._shouldForward("pending")]);l(n,36,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._isServer,fP._32(n,43).id,fP._32(n,43).placeholder,fP._32(n,43).disabled,fP._32(n,43).required,fP._32(n,43).readonly,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43).errorState,fP._32(n,43).required.toString()])})}function eC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addSalesCal()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function uC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,126,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,120,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","sales_item"],["placeholder","Product/Services"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,26)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(21,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(23,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(25,16384,null,0,EP.s,[EP.r],null,null),fP._17(26,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,34)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(34,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ey)),fP._17(38,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(40,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,41)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,41)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(41,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Others"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,jy)),fP._17(47,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(49,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","sales_type"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.changeOptions(l.context.index,e)&&u}return u},null,null)),fP._17(50,1064960,null,1,PV.b,[fP.i],null,{change:"change"}),fP._38(603979776,20,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(53,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(55,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$y)),fP._17(58,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Uy)),fP._17(62,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(65,0,null,0,10,"div",[],null,null,null,null,null)),fP._17(66,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gy)),fP._17(70,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jy)),fP._17(74,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,nC)),fP._17(78,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(80,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(81,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,115,{_control:0}),fP._38(335544320,116,{_placeholderChild:0}),fP._38(335544320,117,{_labelChild:0}),fP._38(603979776,118,{_errorChildren:1}),fP._38(603979776,119,{_hintChildren:1}),fP._38(603979776,120,{_prefixChildren:1}),fP._38(603979776,121,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,91)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,91).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,91)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,91)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,96)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,96)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,96)._onInput()&&u}return u},null,null)),fP._17(91,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(93,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(95,16384,null,0,EP.s,[EP.r],null,null),fP._17(96,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[115,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(100,0,null,0,23,"ion-buttons",[],null,null,null,null,null)),fP._17(101,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,122,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(104,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(105,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,7,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(108,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeSalesCal(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(112,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(113,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(116,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),fP._17(117,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eC)),fP._17(120,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"");l(n,23,0,"sales_item");l(n,26,0,"Product/Services","");l(n,38,0,e.product_and_services);l(n,41,0,"Others");l(n,47,0,"Others"==n.context.$implicit.controls.sales_item.value);l(n,53,0,"sales_type");l(n,58,0,e.check_type);l(n,62,0,"1"==n.context.$implicit.value.sales_type);l(n,66,0,n.context.$implicit.value.sales_type);l(n,70,0,1);l(n,74,0,2);l(n,78,0,!0===e.margin_calculation_status);l(n,93,0,"comments");l(n,96,0,"Remarks");l(n,113,0,"optblue","md-trash");l(n,120,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,20,1,[fP._32(n,21).required?"":null,fP._32(n,25).ngClassUntouched,fP._32(n,25).ngClassTouched,fP._32(n,25).ngClassPristine,fP._32(n,25).ngClassDirty,fP._32(n,25).ngClassValid,fP._32(n,25).ngClassInvalid,fP._32(n,25).ngClassPending,fP._32(n,26).id,fP._32(n,26).tabIndex,fP._32(n,26)._ariaLabel,fP._32(n,26).ariaLabelledby,fP._32(n,26).required.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).errorState,fP._32(n,26).panelOpen?fP._32(n,26)._optionIds:null,fP._32(n,26).multiple,fP._32(n,26)._ariaDescribedby||null,fP._32(n,26)._getAriaActiveDescendant(),fP._32(n,26).disabled,fP._32(n,26).errorState,fP._32(n,26).required]);l(n,33,0,fP._32(n,34)._getTabIndex(),fP._32(n,34).selected,fP._32(n,34).multiple,fP._32(n,34).active,fP._32(n,34).id,fP._32(n,34).selected.toString(),fP._32(n,34).disabled.toString(),fP._32(n,34).disabled);l(n,40,0,fP._32(n,41)._getTabIndex(),fP._32(n,41).selected,fP._32(n,41).multiple,fP._32(n,41).active,fP._32(n,41).id,fP._32(n,41).selected.toString(),fP._32(n,41).disabled.toString(),fP._32(n,41).disabled);l(n,49,0,fP._32(n,55).ngClassUntouched,fP._32(n,55).ngClassTouched,fP._32(n,55).ngClassPristine,fP._32(n,55).ngClassDirty,fP._32(n,55).ngClassValid,fP._32(n,55).ngClassInvalid,fP._32(n,55).ngClassPending);l(n,80,1,[fP._32(n,81)._control.errorState,fP._32(n,81)._control.errorState,fP._32(n,81)._canLabelFloat,fP._32(n,81)._shouldLabelFloat(),fP._32(n,81)._hideControlPlaceholder(),fP._32(n,81)._control.disabled,fP._32(n,81)._control.focused,"primary"==fP._32(n,81).color,"accent"==fP._32(n,81).color,"warn"==fP._32(n,81).color,fP._32(n,81)._shouldForward("untouched"),fP._32(n,81)._shouldForward("touched"),fP._32(n,81)._shouldForward("pristine"),fP._32(n,81)._shouldForward("dirty"),fP._32(n,81)._shouldForward("valid"),fP._32(n,81)._shouldForward("invalid"),fP._32(n,81)._shouldForward("pending")]);l(n,90,1,[fP._32(n,95).ngClassUntouched,fP._32(n,95).ngClassTouched,fP._32(n,95).ngClassPristine,fP._32(n,95).ngClassDirty,fP._32(n,95).ngClassValid,fP._32(n,95).ngClassInvalid,fP._32(n,95).ngClassPending,fP._32(n,96)._isServer,fP._32(n,96).id,fP._32(n,96).placeholder,fP._32(n,96).disabled,fP._32(n,96).required,fP._32(n,96).readonly,fP._32(n,96)._ariaDescribedby||null,fP._32(n,96).errorState,fP._32(n,96).required.toString()]);l(n,112,0,fP._32(n,113)._hidden)})}function tC(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Ny)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._18(20,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wy)),fP._17(26,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(31,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(32,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,36).onReset()&&u}return u},null,null)),fP._17(35,16384,null,0,EP.B,[],null,null),fP._17(36,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,7,"div",[["formArrayName","salesCalItemwise"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(41,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(43,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,uC)),fP._17(46,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,26,0,!e.complete_status);l(n,36,0,e.assessedForm);l(n,41,0,"salesCalItemwise");l(n,46,0,e.assessedForm.get("salesCalItemwise").controls)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,31,0,fP._32(n,32).statusbarPadding,fP._32(n,32)._hasRefresher);l(n,34,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending);l(n,40,0,fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending)})}function aC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Household Expenses"]))],null,null)}function iC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveHouseExpenseData(t.houseHoldForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function oC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[14,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function rC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[24,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _C(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[31,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function dC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addHouseExpenses()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function sC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total Household Expenses :"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),fP._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(15,null,[" ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandHouseExpenseTotal)})}function cC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,151,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,145,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_item"],["matInput",""],["name","expense_value"],["placeholder","Expense Particulars"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,24)._onInput()&&u}return u},null,null)),fP._17(19,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(21,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(23,16384,null,0,EP.s,[EP.r],null,null),fP._17(24,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[3,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(28,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(29,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,10,{_control:0}),fP._38(335544320,11,{_placeholderChild:0}),fP._38(335544320,12,{_labelChild:0}),fP._38(603979776,13,{_errorChildren:1}),fP._38(603979776,14,{_hintChildren:1}),fP._38(603979776,15,{_prefixChildren:1}),fP._38(603979776,16,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_value"],["matInput",""],["name","expense_value"],["placeholder","Amount (Rs)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,39)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,40).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,40).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,40).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,45)._onInput()&&u}if("keyup"===n){t.houseExpensecalculat(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),fP._17(39,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(40,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),fP._17(45,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[10,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,oC)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(52,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(53,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,17,{_control:0}),fP._38(335544320,18,{_placeholderChild:0}),fP._38(335544320,19,{_labelChild:0}),fP._38(603979776,20,{_errorChildren:1}),fP._38(603979776,21,{_hintChildren:1}),fP._38(603979776,22,{_prefixChildren:1}),fP._38(603979776,23,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(62,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,66)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,66)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,66)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.houseExpensecalculat(l.context.index,l.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(63,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(65,16384,null,0,EP.s,[EP.r],null,null),fP._17(66,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,24,{options:1}),fP._38(603979776,25,{optionGroups:1}),fP._38(335544320,26,{customTrigger:0}),fP._37(2048,[[17,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(73,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,74)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,74)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(74,8437760,[[24,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,rC)),fP._17(78,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(82,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(83,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,27,{_control:0}),fP._38(335544320,28,{_placeholderChild:0}),fP._38(335544320,29,{_labelChild:0}),fP._38(603979776,30,{_errorChildren:1}),fP._38(603979776,31,{_hintChildren:1}),fP._38(603979776,32,{_prefixChildren:1}),fP._38(603979776,33,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(92,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_expense_value"],["matInput",""],["name","annual_expense_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,93)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,93).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,93)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,93)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,94).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,94).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,94).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,99)._onInput()&&u}return u},null,null)),fP._17(93,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(94,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(96,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(98,16384,null,0,EP.s,[EP.r],null,null),fP._17(99,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[27,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,_C)),fP._17(103,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(106,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(107,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,34,{_control:0}),fP._38(335544320,35,{_placeholderChild:0}),fP._38(335544320,36,{_labelChild:0}),fP._38(603979776,37,{_errorChildren:1}),fP._38(603979776,38,{_hintChildren:1}),fP._38(603979776,39,{_prefixChildren:1}),fP._38(603979776,40,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(116,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,117)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,117).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,117)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,117)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,122)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,122)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,122)._onInput()&&u}return u},null,null)),fP._17(117,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(119,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(121,16384,null,0,EP.s,[EP.r],null,null),fP._17(122,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[34,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(126,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(127,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,41,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(130,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(131,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(133,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteHouseExpense(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(135,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(136,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(140,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),fP._17(141,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dC)),fP._17(144,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n \n \n "])),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._13(16777216,null,0,1,null,sC)),fP._17(149,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"expense_item");l(n,24,0,"Expense Particulars","text");l(n,42,0,"expense_value");l(n,45,0,"Amount (Rs)","number");l(n,49,0,null!=n.context.$implicit.get("expense_value").value);l(n,63,0,"fk_frequency_id");l(n,66,0,"Frequency");l(n,78,0,e.m_freqOfPurchase);l(n,96,0,"annual_expense_value");l(n,99,0,"Annual Expenses","number","");l(n,103,0,null!=n.context.$implicit.get("annual_expense_value").value);l(n,119,0,"comments");l(n,122,0,"Remarks");l(n,136,0,"optblue","md-trash");l(n,144,0,n.context.last);l(n,149,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,23).ngClassUntouched,fP._32(n,23).ngClassTouched,fP._32(n,23).ngClassPristine,fP._32(n,23).ngClassDirty,fP._32(n,23).ngClassValid,fP._32(n,23).ngClassInvalid,fP._32(n,23).ngClassPending,fP._32(n,24)._isServer,fP._32(n,24).id,fP._32(n,24).placeholder,fP._32(n,24).disabled,fP._32(n,24).required,fP._32(n,24).readonly,fP._32(n,24)._ariaDescribedby||null,fP._32(n,24).errorState,fP._32(n,24).required.toString()]);l(n,28,1,[fP._32(n,29)._control.errorState,fP._32(n,29)._control.errorState,fP._32(n,29)._canLabelFloat,fP._32(n,29)._shouldLabelFloat(),fP._32(n,29)._hideControlPlaceholder(),fP._32(n,29)._control.disabled,fP._32(n,29)._control.focused,"primary"==fP._32(n,29).color,"accent"==fP._32(n,29).color,"warn"==fP._32(n,29).color,fP._32(n,29)._shouldForward("untouched"),fP._32(n,29)._shouldForward("touched"),fP._32(n,29)._shouldForward("pristine"),fP._32(n,29)._shouldForward("dirty"),fP._32(n,29)._shouldForward("valid"),fP._32(n,29)._shouldForward("invalid"),fP._32(n,29)._shouldForward("pending")]);l(n,38,1,[fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending,fP._32(n,45)._isServer,fP._32(n,45).id,fP._32(n,45).placeholder,fP._32(n,45).disabled,fP._32(n,45).required,fP._32(n,45).readonly,fP._32(n,45)._ariaDescribedby||null,fP._32(n,45).errorState,fP._32(n,45).required.toString()]);l(n,52,1,[fP._32(n,53)._control.errorState,fP._32(n,53)._control.errorState,fP._32(n,53)._canLabelFloat,fP._32(n,53)._shouldLabelFloat(),fP._32(n,53)._hideControlPlaceholder(),fP._32(n,53)._control.disabled,fP._32(n,53)._control.focused,"primary"==fP._32(n,53).color,"accent"==fP._32(n,53).color,"warn"==fP._32(n,53).color,fP._32(n,53)._shouldForward("untouched"),fP._32(n,53)._shouldForward("touched"),fP._32(n,53)._shouldForward("pristine"),fP._32(n,53)._shouldForward("dirty"),fP._32(n,53)._shouldForward("valid"),fP._32(n,53)._shouldForward("invalid"),fP._32(n,53)._shouldForward("pending")]);l(n,62,1,[fP._32(n,65).ngClassUntouched,fP._32(n,65).ngClassTouched,fP._32(n,65).ngClassPristine,fP._32(n,65).ngClassDirty,fP._32(n,65).ngClassValid,fP._32(n,65).ngClassInvalid,fP._32(n,65).ngClassPending,fP._32(n,66).id,fP._32(n,66).tabIndex,fP._32(n,66)._ariaLabel,fP._32(n,66).ariaLabelledby,fP._32(n,66).required.toString(),fP._32(n,66).disabled.toString(),fP._32(n,66).errorState,fP._32(n,66).panelOpen?fP._32(n,66)._optionIds:null,fP._32(n,66).multiple,fP._32(n,66)._ariaDescribedby||null,fP._32(n,66)._getAriaActiveDescendant(),fP._32(n,66).disabled,fP._32(n,66).errorState,fP._32(n,66).required]);l(n,73,0,fP._32(n,74)._getTabIndex(),fP._32(n,74).selected,fP._32(n,74).multiple,fP._32(n,74).active,fP._32(n,74).id,fP._32(n,74).selected.toString(),fP._32(n,74).disabled.toString(),fP._32(n,74).disabled);l(n,82,1,[fP._32(n,83)._control.errorState,fP._32(n,83)._control.errorState,fP._32(n,83)._canLabelFloat,fP._32(n,83)._shouldLabelFloat(),fP._32(n,83)._hideControlPlaceholder(),fP._32(n,83)._control.disabled,fP._32(n,83)._control.focused,"primary"==fP._32(n,83).color,"accent"==fP._32(n,83).color,"warn"==fP._32(n,83).color,fP._32(n,83)._shouldForward("untouched"),fP._32(n,83)._shouldForward("touched"),fP._32(n,83)._shouldForward("pristine"),fP._32(n,83)._shouldForward("dirty"),fP._32(n,83)._shouldForward("valid"),fP._32(n,83)._shouldForward("invalid"),fP._32(n,83)._shouldForward("pending")]);l(n,92,1,[fP._32(n,98).ngClassUntouched,fP._32(n,98).ngClassTouched,fP._32(n,98).ngClassPristine,fP._32(n,98).ngClassDirty,fP._32(n,98).ngClassValid,fP._32(n,98).ngClassInvalid,fP._32(n,98).ngClassPending,fP._32(n,99)._isServer,fP._32(n,99).id,fP._32(n,99).placeholder,fP._32(n,99).disabled,fP._32(n,99).required,fP._32(n,99).readonly,fP._32(n,99)._ariaDescribedby||null,fP._32(n,99).errorState,fP._32(n,99).required.toString()]);l(n,106,1,[fP._32(n,107)._control.errorState,fP._32(n,107)._control.errorState,fP._32(n,107)._canLabelFloat,fP._32(n,107)._shouldLabelFloat(),fP._32(n,107)._hideControlPlaceholder(),fP._32(n,107)._control.disabled,fP._32(n,107)._control.focused,"primary"==fP._32(n,107).color,"accent"==fP._32(n,107).color,"warn"==fP._32(n,107).color,fP._32(n,107)._shouldForward("untouched"),fP._32(n,107)._shouldForward("touched"),fP._32(n,107)._shouldForward("pristine"),fP._32(n,107)._shouldForward("dirty"),fP._32(n,107)._shouldForward("valid"),fP._32(n,107)._shouldForward("invalid"),fP._32(n,107)._shouldForward("pending")]);l(n,116,1,[fP._32(n,121).ngClassUntouched,fP._32(n,121).ngClassTouched,fP._32(n,121).ngClassPristine,fP._32(n,121).ngClassDirty,fP._32(n,121).ngClassValid,fP._32(n,121).ngClassInvalid,fP._32(n,121).ngClassPending,fP._32(n,122)._isServer,fP._32(n,122).id,fP._32(n,122).placeholder,fP._32(n,122).disabled,fP._32(n,122).required,fP._32(n,122).readonly,fP._32(n,122)._ariaDescribedby||null,fP._32(n,122).errorState,fP._32(n,122).required.toString()]);l(n,135,0,fP._32(n,136)._hidden)})}function mC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,aC)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(19,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,iC)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(30,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(31,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,35).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,35).onReset()&&u}return u},null,null)),fP._17(34,16384,null,0,EP.B,[],null,null),fP._17(35,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(37,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,7,"div",[["formArrayName","houseExpense"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(40,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(42,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cC)),fP._17(45,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,!e.complete_status);l(n,35,0,e.houseHoldForm);l(n,40,0,"houseExpense");l(n,45,0,e.houseHoldForm.get("houseExpense").controls)},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,30,0,fP._32(n,31).statusbarPadding,fP._32(n,31)._hasRefresher);l(n,33,0,fP._32(n,37).ngClassUntouched,fP._32(n,37).ngClassTouched,fP._32(n,37).ngClassPristine,fP._32(n,37).ngClassDirty,fP._32(n,37).ngClassValid,fP._32(n,37).ngClassInvalid,fP._32(n,37).ngClassPending);l(n,39,0,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending)})}function pC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Item-wise Purchase Calculation"]))],null,null)}function fC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepurchaseData(t.rawMaterialForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function hC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function gC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_purchase_item"],["matInput",""],["placeholder","Other Raw Material/Trading Item"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_purchase_item");l(n,16,0,"Other Raw Material/Trading Item")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function bC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"],["style","padding-top:10px;padding-bottom: 10px"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,1)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(1,4440064,[[20,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.type_id)},function(l,n){l(n,0,0,fP._32(n,1).checked,fP._32(n,1).disabled,fP._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function vC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_qty"],["matInput",""],["name","purchase_qty"],["placeholder","Purchase Quantity"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"");l(n,18,0,"purchase_qty");l(n,21,0,"Purchase Quantity","","number")},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function yC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function CC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,45,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(13,0,null,1,30,"mat-select",[["class","mat-select"],["formControlName","fk_uom_id"],["matInput",""],["placeholder","UOM"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,17)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,35,{options:1}),fP._38(603979776,36,{optionGroups:1}),fP._38(335544320,37,{customTrigger:0}),fP._37(2048,[[28,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(24,0,null,1,15,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,25)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(25,8437760,[[35,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(27,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchUOM(l.parent.context.$implicit,l.parent.context.index)&&u}return u},dN.b,dN.a)),fP._17(28,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,38,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(31,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(33,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(36,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(37,16384,[[38,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,yC)),fP._17(42,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,14,0,"fk_uom_id");l(n,17,0,"UOM");l(n,28,0,"Find UOM","No Matching Result");l(n,31,0,"uomSearch");l(n,36,0,"md-close");l(n,42,0,e.UOMData)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,13,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17).id,fP._32(n,17).tabIndex,fP._32(n,17)._ariaLabel,fP._32(n,17).ariaLabelledby,fP._32(n,17).required.toString(),fP._32(n,17).disabled.toString(),fP._32(n,17).errorState,fP._32(n,17).panelOpen?fP._32(n,17)._optionIds:null,fP._32(n,17).multiple,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17)._getAriaActiveDescendant(),fP._32(n,17).disabled,fP._32(n,17).errorState,fP._32(n,17).required]);l(n,24,0,fP._32(n,25)._getTabIndex(),fP._32(n,25).selected,fP._32(n,25).multiple,fP._32(n,25).active,fP._32(n,25).id,fP._32(n,25).selected.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).disabled);l(n,27,0,fP._32(n,28).isInsideMatOption,fP._32(n,33).ngClassUntouched,fP._32(n,33).ngClassTouched,fP._32(n,33).ngClassPristine,fP._32(n,33).ngClassDirty,fP._32(n,33).ngClassValid,fP._32(n,33).ngClassInvalid,fP._32(n,33).ngClassPending);l(n,35,0,fP._32(n,36)._hidden)})}function wC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_other"],["matInput",""],["placeholder","Other UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[39,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_other");l(n,16,0,"Other UOM")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function FC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[50,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.RateOfPurchase[n.parent.parent.parent.context.index])})}function xC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate / Unit of Purchase"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.purchaseCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(14,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(15,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[46,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,FC)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"");l(n,18,0,"rate_per_unit");l(n,21,0,"Rate / Unit of Purchase","","number");l(n,25,0,null!=n.parent.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()])})}function kC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function SC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[67,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AnnualPurchase[n.parent.parent.context.index])})}function IC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,63,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xC)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(8,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(17,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,60,{options:1}),fP._38(603979776,61,{optionGroups:1}),fP._38(335544320,62,{customTrigger:0}),fP._37(2048,[[53,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,kC)),fP._17(33,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,24,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(41,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,63,{_control:0}),fP._38(335544320,64,{_placeholderChild:0}),fP._38(335544320,65,{_labelChild:0}),fP._38(603979776,66,{_errorChildren:1}),fP._38(603979776,67,{_hintChildren:1}),fP._38(603979776,68,{_prefixChildren:1}),fP._38(603979776,69,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_purchase_value"],["matInput",""],["name","annual_purchase_value"],["placeholder","Annual Purchase"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,56)._onInput()&&u}return u},null,null)),fP._17(51,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(53,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(55,16384,null,0,EP.s,[EP.r],null,null),fP._17(56,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[63,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,SC)),fP._17(60,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"1"==n.parent.context.$implicit.value.purchase_type);l(n,18,0,"fk_frequency_id");l(n,21,0,"Frequency");l(n,33,0,e.m_freqOfPurchase);l(n,53,0,"annual_purchase_value");l(n,56,0,"Annual Purchase","text","");l(n,60,0,null!=n.parent.context.$implicit.get("annual_purchase_value").value)},function(l,n){l(n,7,1,[fP._32(n,8)._control.errorState,fP._32(n,8)._control.errorState,fP._32(n,8)._canLabelFloat,fP._32(n,8)._shouldLabelFloat(),fP._32(n,8)._hideControlPlaceholder(),fP._32(n,8)._control.disabled,fP._32(n,8)._control.focused,"primary"==fP._32(n,8).color,"accent"==fP._32(n,8).color,"warn"==fP._32(n,8).color,fP._32(n,8)._shouldForward("untouched"),fP._32(n,8)._shouldForward("touched"),fP._32(n,8)._shouldForward("pristine"),fP._32(n,8)._shouldForward("dirty"),fP._32(n,8)._shouldForward("valid"),fP._32(n,8)._shouldForward("invalid"),fP._32(n,8)._shouldForward("pending")]);l(n,17,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,40,1,[fP._32(n,41)._control.errorState,fP._32(n,41)._control.errorState,fP._32(n,41)._canLabelFloat,fP._32(n,41)._shouldLabelFloat(),fP._32(n,41)._hideControlPlaceholder(),fP._32(n,41)._control.disabled,fP._32(n,41)._control.focused,"primary"==fP._32(n,41).color,"accent"==fP._32(n,41).color,"warn"==fP._32(n,41).color,fP._32(n,41)._shouldForward("untouched"),fP._32(n,41)._shouldForward("touched"),fP._32(n,41)._shouldForward("pristine"),fP._32(n,41)._shouldForward("dirty"),fP._32(n,41)._shouldForward("valid"),fP._32(n,41)._shouldForward("invalid"),fP._32(n,41)._shouldForward("pending")]);l(n,50,1,[fP._32(n,55).ngClassUntouched,fP._32(n,55).ngClassTouched,fP._32(n,55).ngClassPristine,fP._32(n,55).ngClassDirty,fP._32(n,55).ngClassValid,fP._32(n,55).ngClassInvalid,fP._32(n,55).ngClassPending,fP._32(n,56)._isServer,fP._32(n,56).id,fP._32(n,56).placeholder,fP._32(n,56).disabled,fP._32(n,56).required,fP._32(n,56).readonly,fP._32(n,56)._ariaDescribedby||null,fP._32(n,56).errorState,fP._32(n,56).required.toString()])})}function qC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function PC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[84,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.RateOfPurchase[n.parent.parent.context.index])})}function DC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[91,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AnnualPurchase[n.parent.parent.context.index])})}function TC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,81,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(12,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,77,{options:1}),fP._38(603979776,78,{optionGroups:1}),fP._38(335544320,79,{customTrigger:0}),fP._37(2048,[[70,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,24)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(24,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,qC)),fP._17(28,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,80,{_control:0}),fP._38(335544320,81,{_placeholderChild:0}),fP._38(335544320,82,{_labelChild:0}),fP._38(603979776,83,{_errorChildren:1}),fP._38(603979776,84,{_hintChildren:1}),fP._38(603979776,85,{_prefixChildren:1}),fP._38(603979776,86,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,51)._onInput()&&u}if("keyup"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(43,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(44,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(45,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(48,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(50,16384,null,0,EP.s,[EP.r],null,null),fP._17(51,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[80,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,PC)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,87,{_control:0}),fP._38(335544320,88,{_placeholderChild:0}),fP._38(335544320,89,{_labelChild:0}),fP._38(603979776,90,{_errorChildren:1}),fP._38(603979776,91,{_hintChildren:1}),fP._38(603979776,92,{_prefixChildren:1}),fP._38(603979776,93,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_purchase_value"],["matInput",""],["placeholder","Annual Purchase"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,70).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,70).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[87,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,DC)),fP._17(79,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"fk_frequency_id");l(n,16,0,"Frequency");l(n,28,0,e.m_freqOfPurchase);l(n,45,0,"");l(n,48,0,"rate_per_unit");l(n,51,0,"1"==n.parent.context.$implicit.value.fk_frequency_id?"Other purchase":"2"==n.parent.context.$implicit.value.fk_frequency_id?"Yearly purchase":"3"==n.parent.context.$implicit.value.fk_frequency_id?"Half Yearly purchase":"4"==n.parent.context.$implicit.value.fk_frequency_id?"Fortnightly purchase":"5"==n.parent.context.$implicit.value.fk_frequency_id?"Daily purchase":"6"==n.parent.context.$implicit.value.fk_frequency_id?"Quarterly purchase":"7"==n.parent.context.$implicit.value.fk_frequency_id?"Monthly purchase":"","","number");l(n,55,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,72,0,"annual_purchase_value");l(n,75,0,"Annual Purchase","number","");l(n,79,0,null!=n.parent.context.$implicit.get("annual_purchase_value").value)},function(l,n){l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required]);l(n,23,0,fP._32(n,24)._getTabIndex(),fP._32(n,24).selected,fP._32(n,24).multiple,fP._32(n,24).active,fP._32(n,24).id,fP._32(n,24).selected.toString(),fP._32(n,24).disabled.toString(),fP._32(n,24).disabled);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).required?"":null,fP._32(n,50).ngClassUntouched,fP._32(n,50).ngClassTouched,fP._32(n,50).ngClassPristine,fP._32(n,50).ngClassDirty,fP._32(n,50).ngClassValid,fP._32(n,50).ngClassInvalid,fP._32(n,50).ngClassPending,fP._32(n,51)._isServer,fP._32(n,51).id,fP._32(n,51).placeholder,fP._32(n,51).disabled,fP._32(n,51).required,fP._32(n,51).readonly,fP._32(n,51)._ariaDescribedby||null,fP._32(n,51).errorState,fP._32(n,51).required.toString()]);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()])})}function OC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPurchaseDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function LC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Grand Total:"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),fP._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(15,null,[" ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandpurchaseTotal)})}function AC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,123,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,117,"mat-card",[["class","box mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(8,0,null,0,41,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(11,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","purchase_item"],["placeholder","Raw Material/Trading Item"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,27)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,27)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,27)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(22,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(24,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(26,16384,null,0,EP.s,[EP.r],null,null),fP._17(27,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,35)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(35,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,hC)),fP._17(39,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(41,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,42)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,42)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(42,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Others"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,gC)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","purchase_type"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.changeOptions(l.context.index,e)&&u}return u},null,null)),fP._17(52,1064960,null,1,PV.b,[fP.i],null,{change:"change"}),fP._38(603979776,20,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bC)),fP._17(60,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,vC)),fP._17(64,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,CC)),fP._17(67,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,wC)),fP._17(70,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,IC)),fP._17(73,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,TC)),fP._17(76,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(78,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(79,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,94,{_control:0}),fP._38(335544320,95,{_placeholderChild:0}),fP._38(335544320,96,{_labelChild:0}),fP._38(603979776,97,{_errorChildren:1}),fP._38(603979776,98,{_hintChildren:1}),fP._38(603979776,99,{_prefixChildren:1}),fP._38(603979776,100,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(88,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,89)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,89).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,89)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,89)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,94)._onInput()&&u}return u},null,null)),fP._17(89,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(91,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(93,16384,null,0,EP.s,[EP.r],null,null),fP._17(94,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[94,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._18(98,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(99,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,101,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(102,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(103,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(105,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePurchaseDetails(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(108,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(112,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),fP._17(113,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,OC)),fP._17(116,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n \n \n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,LC)),fP._17(121,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"");l(n,24,0,"purchase_item");l(n,27,0,"Raw Material/Trading Item","");l(n,39,0,e.productListData);l(n,42,0,"Others");l(n,48,0,"Others"==n.context.$implicit.value.purchase_item);l(n,55,0,"purchase_type");l(n,60,0,e.check_type);l(n,64,0,"1"==n.context.$implicit.value.purchase_type);l(n,67,0,"1"==n.context.$implicit.value.purchase_type);l(n,70,0,1==n.context.$implicit.get("fk_uom_id").value);l(n,73,0,"1"==n.context.$implicit.value.purchase_type);l(n,76,0,"2"==n.context.$implicit.value.purchase_type);l(n,91,0,"comments");l(n,94,0,"Remarks");l(n,108,0,"optblue","md-trash");l(n,116,0,n.context.last);l(n,121,0,n.context.last&&null!=e.grandpurchaseTotal)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,10,1,[fP._32(n,11)._control.errorState,fP._32(n,11)._control.errorState,fP._32(n,11)._canLabelFloat,fP._32(n,11)._shouldLabelFloat(),fP._32(n,11)._hideControlPlaceholder(),fP._32(n,11)._control.disabled,fP._32(n,11)._control.focused,"primary"==fP._32(n,11).color,"accent"==fP._32(n,11).color,"warn"==fP._32(n,11).color,fP._32(n,11)._shouldForward("untouched"),fP._32(n,11)._shouldForward("touched"),fP._32(n,11)._shouldForward("pristine"),fP._32(n,11)._shouldForward("dirty"),fP._32(n,11)._shouldForward("valid"),fP._32(n,11)._shouldForward("invalid"),fP._32(n,11)._shouldForward("pending")]);l(n,21,1,[fP._32(n,22).required?"":null,fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending,fP._32(n,27).id,fP._32(n,27).tabIndex,fP._32(n,27)._ariaLabel,fP._32(n,27).ariaLabelledby,fP._32(n,27).required.toString(),fP._32(n,27).disabled.toString(),fP._32(n,27).errorState,fP._32(n,27).panelOpen?fP._32(n,27)._optionIds:null,fP._32(n,27).multiple,fP._32(n,27)._ariaDescribedby||null,fP._32(n,27)._getAriaActiveDescendant(),fP._32(n,27).disabled,fP._32(n,27).errorState,fP._32(n,27).required]);l(n,34,0,fP._32(n,35)._getTabIndex(),fP._32(n,35).selected,fP._32(n,35).multiple,fP._32(n,35).active,fP._32(n,35).id,fP._32(n,35).selected.toString(),fP._32(n,35).disabled.toString(),fP._32(n,35).disabled);l(n,41,0,fP._32(n,42)._getTabIndex(),fP._32(n,42).selected,fP._32(n,42).multiple,fP._32(n,42).active,fP._32(n,42).id,fP._32(n,42).selected.toString(),fP._32(n,42).disabled.toString(),fP._32(n,42).disabled);l(n,51,0,fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending);l(n,78,1,[fP._32(n,79)._control.errorState,fP._32(n,79)._control.errorState,fP._32(n,79)._canLabelFloat,fP._32(n,79)._shouldLabelFloat(),fP._32(n,79)._hideControlPlaceholder(),fP._32(n,79)._control.disabled,fP._32(n,79)._control.focused,"primary"==fP._32(n,79).color,"accent"==fP._32(n,79).color,"warn"==fP._32(n,79).color,fP._32(n,79)._shouldForward("untouched"),fP._32(n,79)._shouldForward("touched"),fP._32(n,79)._shouldForward("pristine"),fP._32(n,79)._shouldForward("dirty"),fP._32(n,79)._shouldForward("valid"),fP._32(n,79)._shouldForward("invalid"),fP._32(n,79)._shouldForward("pending")]);l(n,88,1,[fP._32(n,93).ngClassUntouched,fP._32(n,93).ngClassTouched,fP._32(n,93).ngClassPristine,fP._32(n,93).ngClassDirty,fP._32(n,93).ngClassValid,fP._32(n,93).ngClassInvalid,fP._32(n,93).ngClassPending,fP._32(n,94)._isServer,fP._32(n,94).id,fP._32(n,94).placeholder,fP._32(n,94).disabled,fP._32(n,94).required,fP._32(n,94).readonly,fP._32(n,94)._ariaDescribedby||null,fP._32(n,94).errorState,fP._32(n,94).required.toString()]);l(n,107,0,fP._32(n,108)._hidden)})}function VC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,pC)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._18(19,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fC)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(31,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(32,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,36).onReset()&&u}return u},null,null)),fP._17(35,16384,null,0,EP.B,[],null,null),fP._17(36,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,7,"div",[["formArrayName","purchase"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(41,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(43,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,AC)),fP._17(46,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,!e.complete_status);l(n,36,0,e.rawMaterialForm);l(n,41,0,"purchase");l(n,46,0,e.rawMaterialForm.get("purchase").controls)},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,31,0,fP._32(n,32).statusbarPadding,fP._32(n,32)._hasRefresher);l(n,34,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending);l(n,40,0,fP._32(n,43).ngClassUntouched,fP._32(n,43).ngClassTouched,fP._32(n,43).ngClassPristine,fP._32(n,43).ngClassDirty,fP._32(n,43).ngClassValid,fP._32(n,43).ngClassInvalid,fP._32(n,43).ngClassPending)})}function NC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function WC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function EC(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function jC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function $C(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function BC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(2)&&u}return u},LA.d,LA.a)),fP._17(4,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,jC)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(0,[["nopurchaseData",2]],0,0,null,$C)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(11,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(12,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["PURCHASE ITEM WISE"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.purchaseData,fP._32(n,9));l(n,12,0,"logo-android")},function(l,n){l(n,11,0,fP._32(n,12)._hidden)})}function RC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function UC(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function MC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(2)&&u}return u},LA.d,LA.a)),fP._17(4,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,RC)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(0,[["nopurchaseData",2]],0,0,null,UC)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(11,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(12,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(14,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["PURCHASE BILL WISE"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.purchaseBillData,fP._32(n,9));l(n,12,0,"logo-android")},function(l,n){l(n,11,0,fP._32(n,12)._hidden)})}function KC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function HC(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function GC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function zC(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function YC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,14,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(11)&&u}return u},LA.d,LA.a)),fP._17(4,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["--"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n \n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["SUMMARY"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,13,0,"logo-android")},function(l,n){l(n,12,0,fP._32(n,13)._hidden)})}function QC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,90,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,86,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(3,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(6,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(8,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(1)&&u}return u},LA.d,LA.a)),fP._17(9,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,WC)),fP._17(12,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(0,[["noSalesData",2]],0,0,null,EC)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(19,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["SALES"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,BC)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,MC)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(32,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(3)&&u}return u},LA.d,LA.a)),fP._17(35,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,KC)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(0,[["nobusinessData",2]],0,0,null,HC)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(42,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(43,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(45,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["BUSINESS EXPENSES"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(51,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(53,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(4)&&u}return u},LA.d,LA.a)),fP._17(54,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,GC)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(0,[["nohouseExpenseData",2]],0,0,null,zC)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(61,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(62,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(64,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["HOUSEHOLD EXPENSES"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,YC)),fP._17(72,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,13,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),fP._17(75,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,9,"mat-card",[["class","mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(12)&&u}return u},LA.d,LA.a)),fP._17(78,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(81,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(82,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(84,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["IMAGES"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,e.salesData,fP._32(n,14));l(n,17,0,"logo-android");l(n,25,0,1==e.grossprofit.mode&&1==e.grossprofit.purchase_type);l(n,28,0,1==e.grossprofit.mode&&2==e.grossprofit.purchase_type);l(n,38,0,e.businessData,fP._32(n,40));l(n,43,0,"logo-android");l(n,57,0,e.houseExpenseData,fP._32(n,59));l(n,62,0,"logo-android");l(n,72,0,e.finalAccess);l(n,82,0,"md-camera")},function(l,n){l(n,16,0,fP._32(n,17)._hidden);l(n,42,0,fP._32(n,43)._hidden);l(n,61,0,fP._32(n,62)._hidden);l(n,81,0,fP._32(n,82)._hidden)})}function JC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,NC)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(21,0,null,null,75,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(22,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(24,0,null,1,66,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),fP._17(25,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(30,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],{expanded:[0,"expanded"]},null),fP._38(335544320,2,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,34)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,34)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(34,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(35,{collapsedHeight:0,expandedHeight:1}),fP._35(36,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(38,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(39,16384,null,0,SN.f,[],null,null),(l()(),fP._40(-1,null,["\n Purchase Calculation\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(43,0,null,1,45,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,45).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,45).onReset()&&u}return u},null,null)),fP._17(44,16384,null,0,EP.B,[],null,null),fP._17(45,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(47,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,28,"mat-list",[["class","mat-list"],["style","width: 100%"]],null,null,null,SV.d,SV.a)),fP._17(50,49152,null,0,IV.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(52,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Purchase Detail Available"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(55,0,null,0,21,"mat-radio-group",[["class","radio mat-radio-group"],["formControlName","purchase_type"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(56,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,3,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(59,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(61,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(63,0,null,null,2,"mat-radio-button",[["class","radio mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,64)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(64,4440064,[[3,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Purchase Item Wise"])),(l()(),fP._18(66,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(68,0,null,null,2,"mat-radio-button",[["class","radio mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,69)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(69,4440064,[[3,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Purchase Bill Wise"])),(l()(),fP._18(71,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(73,0,null,null,2,"mat-radio-button",[["class","radio mat-radio-button"],["value","0"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,74)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(74,4440064,[[3,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Not Available"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(79,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(81,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(82,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAssessedForm(t.assessedForm.value)&&u}return u},aV.b,aV.a)),fP._17(85,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),fP._40(-1,0,[" Proceed"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(92,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,QC)),fP._17(95,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(98,0,null,null,6,"ion-footer",[],null,null,null,null,null)),fP._17(99,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(101,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.presentConfirm()&&u}return u},aV.b,aV.a)),fP._17(102,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],block:[1,"block"]},null),(l()(),fP._40(-1,0,["Complete"])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,30,0,!0);l(n,45,0,e.assessedForm);l(n,59,0,"purchase_type");l(n,64,0,"1");l(n,69,0,"2");l(n,74,0,"0");l(n,85,0,"optblue","","");l(n,95,0,e.assessedProcess&&e.grossAccess);l(n,102,0,"optblue","")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,21,0,fP._32(n,22).statusbarPadding,fP._32(n,22)._hasRefresher);l(n,28,0,fP._32(n,30).expanded,fP._32(n,30)._hasSpacing());l(n,33,0,fP._32(n,34).panel._headerId,fP._32(n,34).panel.disabled?-1:0,fP._32(n,34)._getPanelId(),fP._32(n,34)._isExpanded(),fP._32(n,34).panel.disabled,fP._32(n,34)._isExpanded(),l(n,36,0,fP._32(n,34)._getExpandedState(),l(n,35,0,fP._32(n,34).collapsedHeight,fP._32(n,34).expandedHeight)));l(n,43,0,fP._32(n,47).ngClassUntouched,fP._32(n,47).ngClassTouched,fP._32(n,47).ngClassPristine,fP._32(n,47).ngClassDirty,fP._32(n,47).ngClassValid,fP._32(n,47).ngClassInvalid,fP._32(n,47).ngClassPending);l(n,55,0,fP._32(n,61).ngClassUntouched,fP._32(n,61).ngClassTouched,fP._32(n,61).ngClassPristine,fP._32(n,61).ngClassDirty,fP._32(n,61).ngClassValid,fP._32(n,61).ngClassInvalid,fP._32(n,61).ngClassPending);l(n,63,0,fP._32(n,64).checked,fP._32(n,64).disabled,fP._32(n,64).id);l(n,68,0,fP._32(n,69).checked,fP._32(n,69).disabled,fP._32(n,69).id);l(n,73,0,fP._32(n,74).checked,fP._32(n,74).disabled,fP._32(n,74).id)})}function XC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["style","padding:10px;width:100%"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,1)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(1,4440064,[[2,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),fP._40(2,0,[" \n ",""])),(l()(),fP._18(3,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.bounce_id)},function(l,n){l(n,0,0,fP._32(n,1).checked,fP._32(n,1).disabled,fP._32(n,1).id);l(n,2,0,n.context.$implicit.bounce_reason_name)})}function ZC(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","bounce_reason_others"],["placeholder","Please Specify the Reason"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.bounce_reason_others=e)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[2,EP.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[3,4]],EA.c,null,[$A.b])],function(l,n){l(n,13,0,"bounce_reason_others",n.component.bounce_reason_others);l(n,16,0,"Please Specify the Reason")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function lw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(16,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(17,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Bounced Reject Reason"])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(22,0,null,null,46,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(23,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(26,0,null,1,41,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(27,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(29,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(30,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(33,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(34,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Reason to Reject"])),(l()(),fP._18(36,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,11,"mat-radio-group",[["class","mat-radio-group"],["role","radiogroup"],["style","width:100%"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.bounce_reason=e)&&u}return u},null,null)),fP._17(39,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,2,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(42,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[2,EP.q]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,XC)),fP._17(47,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._18(48,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ZC)),fP._17(53,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(55,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(56,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.updatePDStatus()&&u}return u},aV.b,aV.a)),fP._17(60,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,[" Save"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(65,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n \n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,42,0,e.bounce_reason);l(n,47,0,e.bounseMaster);l(n,53,0,"1"==e.bounce_reason);l(n,60,0,"optblue","")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,22,0,fP._32(n,23).statusbarPadding,fP._32(n,23)._hasRefresher);l(n,38,0,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending)})}function nw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Business Expenses"]))],null,null)}function ew(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveBusinessData(t.BuissnessForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function uw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.expense_item_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.expense_item)})}function tw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_expense_item"],["matInput",""],["placeholder","Specify Business Expense"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_expense_item");l(n,16,0,"Specify Business Expense","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function aw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[24,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function iw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[34,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ow(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[41,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function rw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBusinessDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function _w(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total Business Expenses:"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),fP._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(15,null,[" ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandExpenseTotal)})}function dw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,164,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,158,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","expense_item_id"],["placeholder","Buiness Expense"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,22)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,uw)),fP._17(34,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,tw)),fP._17(39,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(41,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(42,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,20,{_control:0}),fP._38(335544320,21,{_placeholderChild:0}),fP._38(335544320,22,{_labelChild:0}),fP._38(603979776,23,{_errorChildren:1}),fP._38(603979776,24,{_hintChildren:1}),fP._38(603979776,25,{_prefixChildren:1}),fP._38(603979776,26,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_value"],["matInput",""],["name","expense_value"],["placeholder","Amount (Rs)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,52)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,52).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,52)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,52)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,53).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,53).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,53).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,58)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,58)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,58)._onInput()&&u}if("keyup"===n){t.businessCalculation(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),fP._17(52,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(53,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(55,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(57,16384,null,0,EP.s,[EP.r],null,null),fP._17(58,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[20,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,aw)),fP._17(62,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(65,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(66,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,27,{_control:0}),fP._38(335544320,28,{_placeholderChild:0}),fP._38(335544320,29,{_labelChild:0}),fP._38(603979776,30,{_errorChildren:1}),fP._38(603979776,31,{_hintChildren:1}),fP._38(603979776,32,{_prefixChildren:1}),fP._38(603979776,33,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(75,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,79)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,79)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.businessCalculation(l.context.index,l.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(76,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(78,16384,null,0,EP.s,[EP.r],null,null),fP._17(79,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,34,{options:1}),fP._38(603979776,35,{optionGroups:1}),fP._38(335544320,36,{customTrigger:0}),fP._37(2048,[[27,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(86,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,87)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,87)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(87,8437760,[[34,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,iw)),fP._17(91,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(95,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(96,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,37,{_control:0}),fP._38(335544320,38,{_placeholderChild:0}),fP._38(335544320,39,{_labelChild:0}),fP._38(603979776,40,{_errorChildren:1}),fP._38(603979776,41,{_hintChildren:1}),fP._38(603979776,42,{_prefixChildren:1}),fP._38(603979776,43,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(105,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_expenses_value"],["matInput",""],["name","annual_expenses_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,106)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,107).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,107).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,107).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,112)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,112)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,112)._onInput()&&u}return u},null,null)),fP._17(106,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(107,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(109,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(111,16384,null,0,EP.s,[EP.r],null,null),fP._17(112,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[37,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,ow)),fP._17(116,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(119,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(120,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,44,{_control:0}),fP._38(335544320,45,{_placeholderChild:0}),fP._38(335544320,46,{_labelChild:0}),fP._38(603979776,47,{_errorChildren:1}),fP._38(603979776,48,{_hintChildren:1}),fP._38(603979776,49,{_prefixChildren:1}),fP._38(603979776,50,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(129,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,130)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,130).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,130)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,130)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,135)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,135)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,135)._onInput()&&u}return u},null,null)),fP._17(130,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(132,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(134,16384,null,0,EP.s,[EP.r],null,null),fP._17(135,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[44,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(139,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(140,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,51,{_buttons:1}),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(143,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(144,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(146,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteBuisnessDetails(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(148,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(149,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(153,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),fP._17(154,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,rw)),fP._17(157,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n \n \n "])),(l()(),fP._40(-1,0,["\n\n \n "])),(l()(),fP._13(16777216,null,0,1,null,_w)),fP._17(162,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"expense_item_id");l(n,22,0,"Buiness Expense");l(n,34,0,e.businessExpenses);l(n,39,0,1==n.context.$implicit.get("expense_item_id").value);l(n,55,0,"expense_value");l(n,58,0,"Amount (Rs)","number");l(n,62,0,null!=n.context.$implicit.get("expense_value").value);l(n,76,0,"fk_frequency_id");l(n,79,0,"Frequency");l(n,91,0,e.m_freqOfPurchase);l(n,109,0,"annual_expenses_value");l(n,112,0,"Annual Expenses","number","");l(n,116,0,null!=n.context.$implicit.get("annual_expenses_value").value);l(n,132,0,"comments");l(n,135,0,"Remarks");l(n,149,0,"optblue","md-trash");l(n,157,0,n.context.last);l(n,162,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22).id,fP._32(n,22).tabIndex,fP._32(n,22)._ariaLabel,fP._32(n,22).ariaLabelledby,fP._32(n,22).required.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).errorState,fP._32(n,22).panelOpen?fP._32(n,22)._optionIds:null,fP._32(n,22).multiple,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22)._getAriaActiveDescendant(),fP._32(n,22).disabled,fP._32(n,22).errorState,fP._32(n,22).required]);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled);l(n,41,1,[fP._32(n,42)._control.errorState,fP._32(n,42)._control.errorState,fP._32(n,42)._canLabelFloat,fP._32(n,42)._shouldLabelFloat(),fP._32(n,42)._hideControlPlaceholder(),fP._32(n,42)._control.disabled,fP._32(n,42)._control.focused,"primary"==fP._32(n,42).color,"accent"==fP._32(n,42).color,"warn"==fP._32(n,42).color,fP._32(n,42)._shouldForward("untouched"),fP._32(n,42)._shouldForward("touched"),fP._32(n,42)._shouldForward("pristine"),fP._32(n,42)._shouldForward("dirty"),fP._32(n,42)._shouldForward("valid"),fP._32(n,42)._shouldForward("invalid"),fP._32(n,42)._shouldForward("pending")]);l(n,51,1,[fP._32(n,57).ngClassUntouched,fP._32(n,57).ngClassTouched,fP._32(n,57).ngClassPristine,fP._32(n,57).ngClassDirty,fP._32(n,57).ngClassValid,fP._32(n,57).ngClassInvalid,fP._32(n,57).ngClassPending,fP._32(n,58)._isServer,fP._32(n,58).id,fP._32(n,58).placeholder,fP._32(n,58).disabled,fP._32(n,58).required,fP._32(n,58).readonly,fP._32(n,58)._ariaDescribedby||null,fP._32(n,58).errorState,fP._32(n,58).required.toString()]);l(n,65,1,[fP._32(n,66)._control.errorState,fP._32(n,66)._control.errorState,fP._32(n,66)._canLabelFloat,fP._32(n,66)._shouldLabelFloat(),fP._32(n,66)._hideControlPlaceholder(),fP._32(n,66)._control.disabled,fP._32(n,66)._control.focused,"primary"==fP._32(n,66).color,"accent"==fP._32(n,66).color,"warn"==fP._32(n,66).color,fP._32(n,66)._shouldForward("untouched"),fP._32(n,66)._shouldForward("touched"),fP._32(n,66)._shouldForward("pristine"),fP._32(n,66)._shouldForward("dirty"),fP._32(n,66)._shouldForward("valid"),fP._32(n,66)._shouldForward("invalid"),fP._32(n,66)._shouldForward("pending")]);l(n,75,1,[fP._32(n,78).ngClassUntouched,fP._32(n,78).ngClassTouched,fP._32(n,78).ngClassPristine,fP._32(n,78).ngClassDirty,fP._32(n,78).ngClassValid,fP._32(n,78).ngClassInvalid,fP._32(n,78).ngClassPending,fP._32(n,79).id,fP._32(n,79).tabIndex,fP._32(n,79)._ariaLabel,fP._32(n,79).ariaLabelledby,fP._32(n,79).required.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).errorState,fP._32(n,79).panelOpen?fP._32(n,79)._optionIds:null,fP._32(n,79).multiple,fP._32(n,79)._ariaDescribedby||null,fP._32(n,79)._getAriaActiveDescendant(),fP._32(n,79).disabled,fP._32(n,79).errorState,fP._32(n,79).required]);l(n,86,0,fP._32(n,87)._getTabIndex(),fP._32(n,87).selected,fP._32(n,87).multiple,fP._32(n,87).active,fP._32(n,87).id,fP._32(n,87).selected.toString(),fP._32(n,87).disabled.toString(),fP._32(n,87).disabled);l(n,95,1,[fP._32(n,96)._control.errorState,fP._32(n,96)._control.errorState,fP._32(n,96)._canLabelFloat,fP._32(n,96)._shouldLabelFloat(),fP._32(n,96)._hideControlPlaceholder(),fP._32(n,96)._control.disabled,fP._32(n,96)._control.focused,"primary"==fP._32(n,96).color,"accent"==fP._32(n,96).color,"warn"==fP._32(n,96).color,fP._32(n,96)._shouldForward("untouched"),fP._32(n,96)._shouldForward("touched"),fP._32(n,96)._shouldForward("pristine"),fP._32(n,96)._shouldForward("dirty"),fP._32(n,96)._shouldForward("valid"),fP._32(n,96)._shouldForward("invalid"),fP._32(n,96)._shouldForward("pending")]);l(n,105,1,[fP._32(n,111).ngClassUntouched,fP._32(n,111).ngClassTouched,fP._32(n,111).ngClassPristine,fP._32(n,111).ngClassDirty,fP._32(n,111).ngClassValid,fP._32(n,111).ngClassInvalid,fP._32(n,111).ngClassPending,fP._32(n,112)._isServer,fP._32(n,112).id,fP._32(n,112).placeholder,fP._32(n,112).disabled,fP._32(n,112).required,fP._32(n,112).readonly,fP._32(n,112)._ariaDescribedby||null,fP._32(n,112).errorState,fP._32(n,112).required.toString()]);l(n,119,1,[fP._32(n,120)._control.errorState,fP._32(n,120)._control.errorState,fP._32(n,120)._canLabelFloat,fP._32(n,120)._shouldLabelFloat(),fP._32(n,120)._hideControlPlaceholder(),fP._32(n,120)._control.disabled,fP._32(n,120)._control.focused,"primary"==fP._32(n,120).color,"accent"==fP._32(n,120).color,"warn"==fP._32(n,120).color,fP._32(n,120)._shouldForward("untouched"),fP._32(n,120)._shouldForward("touched"),fP._32(n,120)._shouldForward("pristine"),fP._32(n,120)._shouldForward("dirty"),fP._32(n,120)._shouldForward("valid"),fP._32(n,120)._shouldForward("invalid"),fP._32(n,120)._shouldForward("pending")]);l(n,129,1,[fP._32(n,134).ngClassUntouched,fP._32(n,134).ngClassTouched,fP._32(n,134).ngClassPristine,fP._32(n,134).ngClassDirty,fP._32(n,134).ngClassValid,fP._32(n,134).ngClassInvalid,fP._32(n,134).ngClassPending,fP._32(n,135)._isServer,fP._32(n,135).id,fP._32(n,135).placeholder,fP._32(n,135).disabled,fP._32(n,135).required,fP._32(n,135).readonly,fP._32(n,135)._ariaDescribedby||null,fP._32(n,135).errorState,fP._32(n,135).required.toString()]);l(n,148,0,fP._32(n,149)._hidden)})}function sw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,nw)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._18(19,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ew)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(30,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(31,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,35).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,35).onReset()&&u}return u},null,null)),fP._17(34,16384,null,0,EP.B,[],null,null),fP._17(35,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(37,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,7,"div",[["formArrayName","busExpense"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(40,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(42,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dw)),fP._17(45,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,!e.complete_status);l(n,35,0,e.BuissnessForm);l(n,40,0,"busExpense");l(n,45,0,e.BuissnessForm.get("busExpense").controls)},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,30,0,fP._32(n,31).statusbarPadding,fP._32(n,31)._hasRefresher);l(n,33,0,fP._32(n,37).ngClassUntouched,fP._32(n,37).ngClassTouched,fP._32(n,37).ngClassPristine,fP._32(n,37).ngClassDirty,fP._32(n,37).ngClassValid,fP._32(n,37).ngClassInvalid,fP._32(n,37).ngClassPending);l(n,39,0,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending)})}function cw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function mw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.sumbitData(t.representativeForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function pw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function fw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function hw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function gw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function bw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fw)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,hw)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gw)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function vw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bw)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function yw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Cw(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ww(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yw)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Cw)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function Fw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ww)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function xw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function kw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pw)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,vw)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,Fw)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,xw)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Sw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,48,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,14,{_control:0}),fP._38(335544320,15,{_placeholderChild:0}),fP._38(335544320,16,{_labelChild:0}),fP._38(603979776,17,{_errorChildren:1}),fP._38(603979776,18,{_hintChildren:1}),fP._38(603979776,19,{_prefixChildren:1}),fP._38(603979776,20,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lender_representative_who_accompanies"],["matInput",""],["placeholder","What is the name of lender representative who accompanies the PD officer, If any?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(16,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(17,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[14,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(28,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(37,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lender_representative_carry_loan_files"],["matInput",""],["placeholder","Did the lender representative carry the loan file during PD?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,45)._onInput()&&u}return u},null,null)),fP._17(38,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(39,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),fP._17(45,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,17,0,"");l(n,20,0,"lender_representative_who_accompanies");l(n,23,0,"What is the name of lender representative who accompanies the PD officer, If any?","");l(n,39,0,"");l(n,42,0,"lender_representative_carry_loan_files");l(n,45,0,"Did the lender representative carry the loan file during PD?","")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,17).required?"":null,fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,27,1,[fP._32(n,28)._control.errorState,fP._32(n,28)._control.errorState,fP._32(n,28)._canLabelFloat,fP._32(n,28)._shouldLabelFloat(),fP._32(n,28)._hideControlPlaceholder(),fP._32(n,28)._control.disabled,fP._32(n,28)._control.focused,"primary"==fP._32(n,28).color,"accent"==fP._32(n,28).color,"warn"==fP._32(n,28).color,fP._32(n,28)._shouldForward("untouched"),fP._32(n,28)._shouldForward("touched"),fP._32(n,28)._shouldForward("pristine"),fP._32(n,28)._shouldForward("dirty"),fP._32(n,28)._shouldForward("valid"),fP._32(n,28)._shouldForward("invalid"),fP._32(n,28)._shouldForward("pending")]);l(n,37,1,[fP._32(n,39).required?"":null,fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending,fP._32(n,45)._isServer,fP._32(n,45).id,fP._32(n,45).placeholder,fP._32(n,45).disabled,fP._32(n,45).required,fP._32(n,45).readonly,fP._32(n,45)._ariaDescribedby||null,fP._32(n,45).errorState,fP._32(n,45).required.toString()])})}function Iw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","lender_representative_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sw)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"lender_representative_details");l(n,8,0,e.representativeForm.get("lender_representative_details").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function qw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,81,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","lender_representative_accompany"],["placeholder","Did the lender representative accompany the PD officer for PD?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,23)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedLoanChanges(e)&&u}return u},tN.b,tN.a)),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,11,{options:1}),fP._38(603979776,12,{optionGroups:1}),fP._38(335544320,13,{customTrigger:0}),fP._37(2048,[[4,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,35)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(35,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(39,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,Iw)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(49,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(51,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(52,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(62,16384,[[30,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","representative_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,71)._onInput()&&u}return u},null,null)),fP._17(66,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[28,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(76,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(77,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.representativeForm);l(n,20,0,"lender_representative_accompany");l(n,23,0,"Did the lender representative accompany the PD officer for PD?");l(n,35,0,"Yes");l(n,39,0,"No");l(n,45,0,"Yes"==e.representativeForm.controls.lender_representative_accompany.value);l(n,68,0,"representative_remarks");l(n,71,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23).id,fP._32(n,23).tabIndex,fP._32(n,23)._ariaLabel,fP._32(n,23).ariaLabelledby,fP._32(n,23).required.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).errorState,fP._32(n,23).panelOpen?fP._32(n,23)._optionIds:null,fP._32(n,23).multiple,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23)._getAriaActiveDescendant(),fP._32(n,23).disabled,fP._32(n,23).errorState,fP._32(n,23).required]);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled);l(n,34,0,fP._32(n,35)._getTabIndex(),fP._32(n,35).selected,fP._32(n,35).multiple,fP._32(n,35).active,fP._32(n,35).id,fP._32(n,35).selected.toString(),fP._32(n,35).disabled.toString(),fP._32(n,35).disabled);l(n,38,0,fP._32(n,39)._getTabIndex(),fP._32(n,39).selected,fP._32(n,39).multiple,fP._32(n,39).active,fP._32(n,39).id,fP._32(n,39).selected.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).disabled);l(n,51,1,[fP._32(n,52)._control.errorState,fP._32(n,52)._control.errorState,fP._32(n,52)._canLabelFloat,fP._32(n,52)._shouldLabelFloat(),fP._32(n,52)._hideControlPlaceholder(),fP._32(n,52)._control.disabled,fP._32(n,52)._control.focused,"primary"==fP._32(n,52).color,"accent"==fP._32(n,52).color,"warn"==fP._32(n,52).color,fP._32(n,52)._shouldForward("untouched"),fP._32(n,52)._shouldForward("touched"),fP._32(n,52)._shouldForward("pristine"),fP._32(n,52)._shouldForward("dirty"),fP._32(n,52)._shouldForward("valid"),fP._32(n,52)._shouldForward("invalid"),fP._32(n,52)._shouldForward("pending")]);l(n,65,1,[fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71)._isServer,fP._32(n,71).id,fP._32(n,71).placeholder,fP._32(n,71).disabled,fP._32(n,71).required,fP._32(n,71).readonly,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71).errorState,fP._32(n,71).required.toString()])})}function Pw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,cw)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(19,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(26,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(27,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,mw)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(36,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,43).onClick()&&u}return u},dV.b,dV.a)),fP._17(43,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47).onClick()&&u}return u},dV.b,dV.a)),fP._17(47,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(52,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(53,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(56,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kw)),fP._17(59,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,qw)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(67,0,null,null,3,"ion-footer",[],null,null,null,null,null)),fP._17(68,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,27,0,"md-camera");l(n,31,0,!e.complete_status);l(n,36,0,e.tab);l(n,39,0,"optblue");l(n,43,0,"0");l(n,47,0,"1");l(n,56,0,e.tab);l(n,59,0,"1");l(n,62,0,"0")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,26,0,fP._32(n,27)._hidden);l(n,35,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39)._disabled);l(n,42,0,fP._32(n,43)._disabled,fP._32(n,43).isActive,fP._32(n,43).isActive);l(n,46,0,fP._32(n,47)._disabled,fP._32(n,47).isActive,fP._32(n,47).isActive);l(n,52,0,fP._32(n,53).statusbarPadding,fP._32(n,53)._hasRefresher)})}function Dw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Tw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.generalForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Ow(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Lw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Aw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Vw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Nw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["class","doc-image-bucket"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lw)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Aw)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vw)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Ww(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nw)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Ew(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function jw(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function $w(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["class","doc-image-bucket"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ew)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,jw)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function Bw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$w)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Rw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Uw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ow)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Ww)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,Bw)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,Rw)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Mw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,0,"img",[["src","../../../assets/img/avatar/girl-avatar.png"]],null,null,null,null,null))],null,null)}function Kw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,function(l,n){l(n,1,0,fP._21(1,"",n.parent.context.$implicit.get("is_person_met_pic").value,""))})}function Hw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"span",[["style","font-size: 13px !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"ion-icon",[["name","school"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(5,null,["\n ",""]))],function(l,n){l(n,3,0,"school")},function(l,n){l(n,2,0,fP._32(n,3)._hidden);l(n,5,0,n.parent.context.$implicit.get("qualification_name").value)})}function Gw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"p",[["style","font-size: 13px !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["name","copy"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(4,null,["  ","\n "])),fP._36(5,1)],function(l,n){l(n,3,0,"copy")},function(l,n){l(n,2,0,fP._32(n,3)._hidden);l(n,4,0,fP._41(n,4,0,l(n,5,0,fP._32(n.parent.parent.parent,0),n.parent.context.$implicit.get("course_name").value)))})}function zw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,108,"ion-item-sliding",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cW.b,cW.a)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,49152,null,2,mW.a,[[2,FA.a],pA.a,fP.O,fP.p,fP.H],null,null),fP._38(335544320,6,{item:0}),fP._38(603979776,7,{_itemOptions:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,0,52,"ion-item",[["class","item item-block"]],null,null,null,eA.b,eA.a)),fP._17(9,1097728,[[6,4]],3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,8,{contentLabel:0}),fP._38(603979776,9,{_buttons:1}),fP._38(603979776,10,{_icons:1}),fP._17(13,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(15,0,null,1,36,"ion-label",[],null,null,null,null,null)),fP._17(16,16384,[[8,4]],0,XV.a,[aA.a,fP.p,fP.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,32,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(19,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,12,"ion-col",[["class","avatar_col col"]],null,null,null,null,null)),fP._17(22,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,8,"ion-avatar",[["slot","start"]],null,null,null,null,null)),fP._17(25,16384,null,0,pW.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mw)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kw)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,14,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(36,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,2,"h2",[["style","font-size: 16px !important;"]],null,null,null,null,null)),(l()(),fP._40(39,null,["",""])),fP._36(40,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,3,"p",[["style","font-size: 13px !important;"]],null,null,null,null,null)),(l()(),fP._40(43,null,["Age : ","  \n "])),(l()(),fP._13(16777216,null,null,1,null,Hw)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Gw)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(54,0,null,4,5,"button",[["align","end"],["clear",""],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editIndividuals(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(55,1097728,[[9,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{small:[0,"small"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(57,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(58,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,1,45,"ion-item-options",[["side","right"]],null,null,null,null,null)),fP._17(63,16384,[[7,4]],0,fW.a,[fP.p,pA.a],{side:[0,"side"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(65,0,null,null,34,"ion-list",[],null,null,null,null,null)),fP._17(66,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(68,0,null,null,30,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(69,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),fP._17(72,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(74,0,null,null,1,"p",[["style","font-size: 11px !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Person"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_person_met"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,78)._click(e)&&u}return u},hW.b,hW.a)),fP._17(78,1228800,null,0,gW.a,[aA.a,tA.a,[2,uA.a],fP.p,fP.O],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[gW.a]),fP._17(80,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(82,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),fP._17(86,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,1,"p",[["style","font-size: 12px !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Applicant"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(91,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_applicant"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,92)._click(e)&&u}return u},hW.b,hW.a)),fP._17(92,1228800,null,0,gW.a,[aA.a,tA.a,[2,uA.a],fP.p,fP.O],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[gW.a]),fP._17(94,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(96,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(101,0,null,null,5,"button",[["color","danger"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,1)&&u}return u},aV.b,aV.a)),fP._17(102,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(104,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(105,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,28,0,""===n.context.$implicit.get("is_person_met_pic").value);l(n,31,0,""!==n.context.$implicit.get("is_person_met_pic").value);l(n,45,0,""!=n.context.$implicit.get("qualification_name").value);l(n,48,0,""!=n.context.$implicit.get("course_name").value);l(n,55,0,"","");l(n,58,0,"md-create");l(n,63,0,"right");l(n,78,0,"dark");l(n,80,0,"is_person_met");l(n,92,0,"dark");l(n,94,0,"is_applicant");l(n,102,0,"danger");l(n,105,0,"trash")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,39,0,fP._41(n,39,0,l(n,40,0,fP._32(n.parent.parent,0),n.context.$implicit.get("applicant_name").value)));l(n,43,0,n.context.$implicit.get("age").value);l(n,57,0,fP._32(n,58)._hidden);l(n,77,0,fP._32(n,78)._disabled,fP._32(n,82).ngClassUntouched,fP._32(n,82).ngClassTouched,fP._32(n,82).ngClassPristine,fP._32(n,82).ngClassDirty,fP._32(n,82).ngClassValid,fP._32(n,82).ngClassInvalid,fP._32(n,82).ngClassPending);l(n,91,0,fP._32(n,92)._disabled,fP._32(n,96).ngClassUntouched,fP._32(n,96).ngClassTouched,fP._32(n,96).ngClassPristine,fP._32(n,96).ngClassDirty,fP._32(n,96).ngClassValid,fP._32(n,96).ngClassInvalid,fP._32(n,96).ngClassPending);l(n,104,0,fP._32(n,105)._hidden)})}function Yw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(1)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),fP._40(-1,0,["Add Applicant\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","","")},null)}function Qw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(1)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),fP._40(-1,0,["Close\n   "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"md-close")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Jw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(1,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Add Name of Person(s) Met and Individual Loan Applicant(s)"]))],null,null)}function Xw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(1,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Update Name of Person(s) Met and Individual Loan Applicant(s)"]))],null,null)}function Zw(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function lF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[24,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Name\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function nF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[31,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Age\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function eF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[42,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.qualification_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.qualification_name)})}function uF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[38,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Qualification\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function tF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,45,{_control:0}),fP._38(335544320,46,{_placeholderChild:0}),fP._38(335544320,47,{_labelChild:0}),fP._38(603979776,48,{_errorChildren:1}),fP._38(603979776,49,{_hintChildren:1}),fP._38(603979776,50,{_prefixChildren:1}),fP._38(603979776,51,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","course_name"],["matInput",""],["placeholder","Qualification Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[45,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"course_name");l(n,16,0,"Qualification Details")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function aF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tF)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"4"!=n.parent.context.$implicit.get("qualification").value&&"6"!=n.parent.context.$implicit.get("qualification").value)},null)}function iF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.parent.parent.context.$implicit.get("is_person_met_pic").value,""))})}function oF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Person Met \n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function rF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,13,"div",[["float-right",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,iF)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,oF)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(l.parent.context.$implicit,1)&&u}return u},null,null)),fP._17(15,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,""!==n.parent.context.$implicit.get("is_person_met_pic").value);l(n,10,0,""===n.parent.context.$implicit.get("is_person_met_pic").value);l(n,15,0,"md-camera")},function(l,n){l(n,14,0,fP._32(n,15)._hidden)})}function _F(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["imageViewer",""],["style","width: 40px;height: 35px;"]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.parent.parent.context.$implicit.get("is_person_met_id_proof").value,""))})}function dF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Person Met \n ID Proof "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function sF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"ion-col",[["class","col"],["start",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,13,"div",[["float-left",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,_F)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dF)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Person Met ID Proof"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(l.parent.context.$implicit,2)&&u}return u},null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,6,0,""!==n.parent.context.$implicit.get("is_person_met_id_proof").value);l(n,9,0,""===n.parent.context.$implicit.get("is_person_met_id_proof").value);l(n,14,0,"md-camera")},function(l,n){l(n,13,0,fP._32(n,14)._hidden)})}function cF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addParticular(1,l.parent.context.$implicit)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Save"]))],function(l,n){l(n,1,0,"optblue")},null)}function mF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.update(1,l.parent.context.$implicit)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Update"]))],function(l,n){l(n,1,0,"optblue")},null)}function pF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,166,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","applicant_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,19)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,18,{options:1}),fP._38(603979776,19,{optionGroups:1}),fP._38(335544320,20,{customTrigger:0}),fP._37(2048,[[11,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,27)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(27,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Zw)),fP._17(31,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(35,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(36,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","applicant_name"],["matInput",""],["placeholder","Name of the Person"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,51)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.context.$implicit)&&u}return u},null,null)),fP._17(46,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(48,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(50,16384,null,0,EP.s,[EP.r],null,null),fP._17(51,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,lF)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age"],["matInput",""],["placeholder","Person Age"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,70).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,70).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,75)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(70,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(72,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(74,16384,null,0,EP.s,[EP.r],null,null),fP._17(75,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[28,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,nF)),fP._17(79,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(82,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(83,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,35,{_control:0}),fP._38(335544320,36,{_placeholderChild:0}),fP._38(335544320,37,{_labelChild:0}),fP._38(603979776,38,{_errorChildren:1}),fP._38(603979776,39,{_hintChildren:1}),fP._38(603979776,40,{_prefixChildren:1}),fP._38(603979776,41,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(92,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","qualification"],["placeholder","Qualification"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,96)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,96)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,96)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(93,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(95,16384,null,0,EP.s,[EP.r],null,null),fP._17(96,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,42,{options:1}),fP._38(603979776,43,{optionGroups:1}),fP._38(335544320,44,{customTrigger:0}),fP._37(2048,[[35,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(103,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,104)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,104)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(104,8437760,[[42,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,eF)),fP._17(108,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,uF)),fP._17(112,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,aF)),fP._17(116,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(118,0,null,null,33,"ion-row",[["class","igelabel row"]],null,null,null,null,null)),fP._17(119,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(121,0,null,null,23,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(122,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(124,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_person_met"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LV.b,LV.a)),fP._17(125,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(127,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(129,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["Is Person Met"])),(l()(),fP._18(131,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(133,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(135,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_applicant"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LV.b,LV.a)),fP._17(136,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(138,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(140,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["Is Applicant"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(143,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rF)),fP._17(147,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sF)),fP._17(150,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(153,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(154,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(156,0,null,null,8,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),fP._17(157,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cF)),fP._17(160,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mF)),fP._17(163,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"applicant_title_name");l(n,19,0,"Title");l(n,31,0,e.titleList);l(n,48,0,"applicant_name");l(n,51,0,"Name of the Person","text");l(n,55,0,(null==n.context.$implicit.controls.applicant_name.errors?null:n.context.$implicit.controls.applicant_name.errors.required)||n.context.$implicit.controls.applicant_name.touched);l(n,72,0,"age");l(n,75,0,"Person Age","number");l(n,79,0,null==n.context.$implicit.controls.age.errors?null:n.context.$implicit.controls.age.errors.required);l(n,93,0,"qualification");l(n,96,0,"Qualification");l(n,108,0,e.qualificationList);l(n,112,0,null==n.context.$implicit.controls.qualification.errors?null:n.context.$implicit.controls.qualification.errors.required);l(n,116,0,""!==n.context.$implicit.get("qualification").value);l(n,125,0,"primary");l(n,127,0,"is_person_met");l(n,136,0,"primary");l(n,138,0,"is_applicant");l(n,147,0,!0===n.context.$implicit.get("is_person_met").value);l(n,150,0,!0===n.context.$implicit.get("is_person_met").value);l(n,160,0,e.addIndi);l(n,163,0,!e.addIndi)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19).id,fP._32(n,19).tabIndex,fP._32(n,19)._ariaLabel,fP._32(n,19).ariaLabelledby,fP._32(n,19).required.toString(),fP._32(n,19).disabled.toString(),fP._32(n,19).errorState,fP._32(n,19).panelOpen?fP._32(n,19)._optionIds:null,fP._32(n,19).multiple,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19)._getAriaActiveDescendant(),fP._32(n,19).disabled,fP._32(n,19).errorState,fP._32(n,19).required]);l(n,26,0,fP._32(n,27)._getTabIndex(),fP._32(n,27).selected,fP._32(n,27).multiple,fP._32(n,27).active,fP._32(n,27).id,fP._32(n,27).selected.toString(),fP._32(n,27).disabled.toString(),fP._32(n,27).disabled);l(n,35,1,[fP._32(n,36)._control.errorState,fP._32(n,36)._control.errorState,fP._32(n,36)._canLabelFloat,fP._32(n,36)._shouldLabelFloat(),fP._32(n,36)._hideControlPlaceholder(),fP._32(n,36)._control.disabled,fP._32(n,36)._control.focused,"primary"==fP._32(n,36).color,"accent"==fP._32(n,36).color,"warn"==fP._32(n,36).color,fP._32(n,36)._shouldForward("untouched"),fP._32(n,36)._shouldForward("touched"),fP._32(n,36)._shouldForward("pristine"),fP._32(n,36)._shouldForward("dirty"),fP._32(n,36)._shouldForward("valid"),fP._32(n,36)._shouldForward("invalid"),fP._32(n,36)._shouldForward("pending")]);l(n,45,1,[fP._32(n,50).ngClassUntouched,fP._32(n,50).ngClassTouched,fP._32(n,50).ngClassPristine,fP._32(n,50).ngClassDirty,fP._32(n,50).ngClassValid,fP._32(n,50).ngClassInvalid,fP._32(n,50).ngClassPending,fP._32(n,51)._isServer,fP._32(n,51).id,fP._32(n,51).placeholder,fP._32(n,51).disabled,fP._32(n,51).required,fP._32(n,51).readonly,fP._32(n,51)._ariaDescribedby||null,fP._32(n,51).errorState,fP._32(n,51).required.toString()]);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,74).ngClassUntouched,fP._32(n,74).ngClassTouched,fP._32(n,74).ngClassPristine,fP._32(n,74).ngClassDirty,fP._32(n,74).ngClassValid,fP._32(n,74).ngClassInvalid,fP._32(n,74).ngClassPending,fP._32(n,75)._isServer,fP._32(n,75).id,fP._32(n,75).placeholder,fP._32(n,75).disabled,fP._32(n,75).required,fP._32(n,75).readonly,fP._32(n,75)._ariaDescribedby||null,fP._32(n,75).errorState,fP._32(n,75).required.toString()]);l(n,82,1,[fP._32(n,83)._control.errorState,fP._32(n,83)._control.errorState,fP._32(n,83)._canLabelFloat,fP._32(n,83)._shouldLabelFloat(),fP._32(n,83)._hideControlPlaceholder(),fP._32(n,83)._control.disabled,fP._32(n,83)._control.focused,"primary"==fP._32(n,83).color,"accent"==fP._32(n,83).color,"warn"==fP._32(n,83).color,fP._32(n,83)._shouldForward("untouched"),fP._32(n,83)._shouldForward("touched"),fP._32(n,83)._shouldForward("pristine"),fP._32(n,83)._shouldForward("dirty"),fP._32(n,83)._shouldForward("valid"),fP._32(n,83)._shouldForward("invalid"),fP._32(n,83)._shouldForward("pending")]);l(n,92,1,[fP._32(n,95).ngClassUntouched,fP._32(n,95).ngClassTouched,fP._32(n,95).ngClassPristine,fP._32(n,95).ngClassDirty,fP._32(n,95).ngClassValid,fP._32(n,95).ngClassInvalid,fP._32(n,95).ngClassPending,fP._32(n,96).id,fP._32(n,96).tabIndex,fP._32(n,96)._ariaLabel,fP._32(n,96).ariaLabelledby,fP._32(n,96).required.toString(),fP._32(n,96).disabled.toString(),fP._32(n,96).errorState,fP._32(n,96).panelOpen?fP._32(n,96)._optionIds:null,fP._32(n,96).multiple,fP._32(n,96)._ariaDescribedby||null,fP._32(n,96)._getAriaActiveDescendant(),fP._32(n,96).disabled,fP._32(n,96).errorState,fP._32(n,96).required]);l(n,103,0,fP._32(n,104)._getTabIndex(),fP._32(n,104).selected,fP._32(n,104).multiple,fP._32(n,104).active,fP._32(n,104).id,fP._32(n,104).selected.toString(),fP._32(n,104).disabled.toString(),fP._32(n,104).disabled);l(n,124,1,[fP._32(n,125).id,fP._32(n,125).indeterminate,fP._32(n,125).checked,fP._32(n,125).disabled,"before"==fP._32(n,125).labelPosition,fP._32(n,129).ngClassUntouched,fP._32(n,129).ngClassTouched,fP._32(n,129).ngClassPristine,fP._32(n,129).ngClassDirty,fP._32(n,129).ngClassValid,fP._32(n,129).ngClassInvalid,fP._32(n,129).ngClassPending]);l(n,135,1,[fP._32(n,136).id,fP._32(n,136).indeterminate,fP._32(n,136).checked,fP._32(n,136).disabled,"before"==fP._32(n,136).labelPosition,fP._32(n,140).ngClassUntouched,fP._32(n,140).ngClassTouched,fP._32(n,140).ngClassPristine,fP._32(n,140).ngClassDirty,fP._32(n,140).ngClassValid,fP._32(n,140).ngClassInvalid,fP._32(n,140).ngClassPending])})}function fF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(3,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Jw)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Xw)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,7,"div",[["formArrayName","individuals"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(14,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(16,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pF)),fP._17(19,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,e.addIndi);l(n,9,0,!e.addIndi);l(n,14,0,"individuals");l(n,19,0,e.generalForm.controls.individuals.controls)},function(l,n){l(n,13,0,fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending)})}function hF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,57,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Number of Years for which rental income is being received"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(10,0,null,0,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(11,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,52,{_control:0}),fP._38(335544320,53,{_placeholderChild:0}),fP._38(335544320,54,{_labelChild:0}),fP._38(603979776,55,{_errorChildren:1}),fP._38(603979776,56,{_hintChildren:1}),fP._38(603979776,57,{_prefixChildren:1}),fP._38(603979776,58,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_income_rcv_in_years"],["matInput",""],["placeholder","Year"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,21)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,22).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,22).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,22).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,29)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,29)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,29)._onInput()&&u}return u},null,null)),fP._17(21,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(22,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(23,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(26,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(28,16384,null,0,EP.s,[EP.r],null,null),fP._17(29,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[52,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),fP._17(33,16384,[[55,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Please Enter Correct Year"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(37,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(38,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,59,{_control:0}),fP._38(335544320,60,{_placeholderChild:0}),fP._38(335544320,61,{_labelChild:0}),fP._38(603979776,62,{_errorChildren:1}),fP._38(603979776,63,{_hintChildren:1}),fP._38(603979776,64,{_prefixChildren:1}),fP._38(603979776,65,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_income_rcv_in_month"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,48)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,49).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,49).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,49).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,54)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYearforBusiness(e.target.value,"",2)&&u}return u},null,null)),fP._17(48,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(49,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(51,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(53,16384,null,0,EP.s,[EP.r],null,null),fP._17(54,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[59,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,23,0,"");l(n,26,0,"rental_income_rcv_in_years");l(n,29,0,"Year","","number");l(n,51,0,"rental_income_rcv_in_month");l(n,54,0,"Month","number")},function(l,n){l(n,10,1,[fP._32(n,11)._control.errorState,fP._32(n,11)._control.errorState,fP._32(n,11)._canLabelFloat,fP._32(n,11)._shouldLabelFloat(),fP._32(n,11)._hideControlPlaceholder(),fP._32(n,11)._control.disabled,fP._32(n,11)._control.focused,"primary"==fP._32(n,11).color,"accent"==fP._32(n,11).color,"warn"==fP._32(n,11).color,fP._32(n,11)._shouldForward("untouched"),fP._32(n,11)._shouldForward("touched"),fP._32(n,11)._shouldForward("pristine"),fP._32(n,11)._shouldForward("dirty"),fP._32(n,11)._shouldForward("valid"),fP._32(n,11)._shouldForward("invalid"),fP._32(n,11)._shouldForward("pending")]);l(n,20,1,[fP._32(n,23).required?"":null,fP._32(n,28).ngClassUntouched,fP._32(n,28).ngClassTouched,fP._32(n,28).ngClassPristine,fP._32(n,28).ngClassDirty,fP._32(n,28).ngClassValid,fP._32(n,28).ngClassInvalid,fP._32(n,28).ngClassPending,fP._32(n,29)._isServer,fP._32(n,29).id,fP._32(n,29).placeholder,fP._32(n,29).disabled,fP._32(n,29).required,fP._32(n,29).readonly,fP._32(n,29)._ariaDescribedby||null,fP._32(n,29).errorState,fP._32(n,29).required.toString()]);l(n,32,0,fP._32(n,33).id);l(n,37,1,[fP._32(n,38)._control.errorState,fP._32(n,38)._control.errorState,fP._32(n,38)._canLabelFloat,fP._32(n,38)._shouldLabelFloat(),fP._32(n,38)._hideControlPlaceholder(),fP._32(n,38)._control.disabled,fP._32(n,38)._control.focused,"primary"==fP._32(n,38).color,"accent"==fP._32(n,38).color,"warn"==fP._32(n,38).color,fP._32(n,38)._shouldForward("untouched"),fP._32(n,38)._shouldForward("touched"),fP._32(n,38)._shouldForward("pristine"),fP._32(n,38)._shouldForward("dirty"),fP._32(n,38)._shouldForward("valid"),fP._32(n,38)._shouldForward("invalid"),fP._32(n,38)._shouldForward("pending")]);l(n,47,1,[fP._32(n,53).ngClassUntouched,fP._32(n,53).ngClassTouched,fP._32(n,53).ngClassPristine,fP._32(n,53).ngClassDirty,fP._32(n,53).ngClassValid,fP._32(n,53).ngClassInvalid,fP._32(n,53).ngClassPending,fP._32(n,54)._isServer,fP._32(n,54).id,fP._32(n,54).placeholder,fP._32(n,54).disabled,fP._32(n,54).required,fP._32(n,54).readonly,fP._32(n,54)._ariaDescribedby||null,fP._32(n,54).errorState,fP._32(n,54).required.toString()])})}function gF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_entity_type_name").value)})}function bF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_entity_type_other").value+"-Others")})}function vF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["","\n Years"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_years").value)})}function yF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["","\n Months"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_month").value)})}function CF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,85,"ion-item-sliding",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cW.b,cW.a)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,49152,null,2,mW.a,[[2,FA.a],pA.a,fP.O,fP.p,fP.H],null,null),fP._38(335544320,66,{item:0}),fP._38(603979776,67,{_itemOptions:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,0,43,"ion-item",[["class","item item-block"]],null,null,null,eA.b,eA.a)),fP._17(9,1097728,[[66,4]],3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,68,{contentLabel:0}),fP._38(603979776,69,{_buttons:1}),fP._38(603979776,70,{_icons:1}),fP._17(13,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(16,0,null,1,25,"ion-label",[],null,null,null,null,null)),fP._17(17,16384,[[68,4]],0,XV.a,[aA.a,fP.p,fP.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,2,"h2",[["h2",""],["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),fP._40(20,null,["",""])),fP._36(21,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,5,"p",[["style","font-size: 14px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" "])),(l()(),fP._13(16777216,null,null,1,null,gF)),fP._17(26,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._13(16777216,null,null,1,null,bF)),fP._17(28,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,10,"p",[["style","font-size: 14px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(33,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["  "])),(l()(),fP._13(16777216,null,null,1,null,vF)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,[" "])),(l()(),fP._13(16777216,null,null,1,null,yF)),fP._17(39,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(45,0,null,4,5,"button",[["align","end"],["clear",""],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editCompanies(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(46,1097728,[[69,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{small:[0,"small"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(48,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(49,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(53,0,null,1,31,"ion-item-options",[["slide","right"]],null,null,null,null,null)),fP._17(54,16384,[[67,4]],0,fW.a,[fP.p,pA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(56,0,null,null,20,"ion-list",[],null,null,null,null,null)),fP._17(57,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(60,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),fP._17(63,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(65,0,null,null,1,"p",[["style","font-size: 11px !important;text-align: center"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Company Applicant"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(68,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_company_applicant"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,69)._click(e)&&u}return u},hW.b,hW.a)),fP._17(69,1228800,null,0,gW.a,[aA.a,tA.a,[2,uA.a],fP.p,fP.O],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[gW.a]),fP._17(71,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(73,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(78,0,null,null,5,"button",[["color","danger"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,2)&&u}return u},aV.b,aV.a)),fP._17(79,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(82,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,26,0,1!=n.context.$implicit.get("business_entity_type").value);l(n,28,0,1==n.context.$implicit.get("business_entity_type").value);l(n,33,0,"md-calendar");l(n,36,0,""!=n.context.$implicit.get("business_years").value&&0!=n.context.$implicit.get("business_years").value);l(n,39,0,""!=n.context.$implicit.get("business_month").value&&0!=n.context.$implicit.get("business_month").value);l(n,46,0,"","");l(n,49,0,"md-create");l(n,69,0,"dark");l(n,71,0,"is_company_applicant");l(n,79,0,"danger");l(n,82,0,"trash")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,20,0,fP._41(n,20,0,l(n,21,0,fP._32(n.parent.parent.parent,0),n.context.$implicit.get("company_name").value)));l(n,32,0,fP._32(n,33)._hidden);l(n,48,0,fP._32(n,49)._hidden);l(n,68,0,fP._32(n,69)._disabled,fP._32(n,73).ngClassUntouched,fP._32(n,73).ngClassTouched,fP._32(n,73).ngClassPristine,fP._32(n,73).ngClassDirty,fP._32(n,73).ngClassValid,fP._32(n,73).ngClassInvalid,fP._32(n,73).ngClassPending);l(n,81,0,fP._32(n,82)._hidden)})}function wF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(2)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"add")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function FF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(2)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),fP._40(-1,0,["Close\n   "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"md-close")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function xF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(1,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,[" Add Company/Firm"]))],null,null)}function kF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(1,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["Update Company/Firm"]))],null,null)}function SF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[74,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Company\n Name is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function IF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.business_entity_type_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_entity_type_name)})}function qF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[81,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Business\n Entity Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function PF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,88,{_control:0}),fP._38(335544320,89,{_placeholderChild:0}),fP._38(335544320,90,{_labelChild:0}),fP._38(603979776,91,{_errorChildren:1}),fP._38(603979776,92,{_hintChildren:1}),fP._38(603979776,93,{_prefixChildren:1}),fP._38(603979776,94,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_entity_type_other"],["matInput",""],["placeholder","Please Specity Others"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[88,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_entity_type_other");l(n,16,0,"Please Specity Others","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function DF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.addParticular(2,t.indi)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Add"]))],function(l,n){l(n,1,0,"optblue")},null)}function TF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.update(2)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Update"]))],function(l,n){l(n,1,0,"optblue")},null)}function OF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,172,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,71,{_control:0}),fP._38(335544320,72,{_placeholderChild:0}),fP._38(335544320,73,{_labelChild:0}),fP._38(603979776,74,{_errorChildren:1}),fP._38(603979776,75,{_hintChildren:1}),fP._38(603979776,76,{_prefixChildren:1}),fP._38(603979776,77,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,3,2,"mat-label",[["color","primary"],["stacked",""]],null,null,null,null,null)),fP._17(16,16384,[[73,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Company / Firm"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","company_name"],["matInput",""],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,27)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(21,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(24,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(26,16384,null,0,EP.s,[EP.r],null,null),fP._17(27,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{required:[0,"required"],type:[1,"type"]},null),fP._37(2048,[[71,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,SF)),fP._17(31,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_company_applicant"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LV.b,LV.a)),fP._17(35,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(37,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["Is\n Applicant"])),(l()(),fP._18(41,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._18(43,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(46,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,78,{_control:0}),fP._38(335544320,79,{_placeholderChild:0}),fP._38(335544320,80,{_labelChild:0}),fP._38(603979776,81,{_errorChildren:1}),fP._38(603979776,82,{_hintChildren:1}),fP._38(603979776,83,{_prefixChildren:1}),fP._38(603979776,84,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(55,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","business_entity_type"],["placeholder","Business Entity Type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,61)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,61)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,61)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(56,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(58,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(60,16384,null,0,EP.s,[EP.r],null,null),fP._17(61,2080768,[[2,4],["focusBusiness",4]],3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,85,{options:1}),fP._38(603979776,86,{optionGroups:1}),fP._38(335544320,87,{customTrigger:0}),fP._37(2048,[[78,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,69)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(69,8437760,[[85,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,IF)),fP._17(73,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,qF)),fP._17(77,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,PF)),fP._17(81,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(83,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Number of Years For Which The Business Has Been Running"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(86,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(87,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,95,{_control:0}),fP._38(335544320,96,{_placeholderChild:0}),fP._38(335544320,97,{_labelChild:0}),fP._38(603979776,98,{_errorChildren:1}),fP._38(603979776,99,{_hintChildren:1}),fP._38(603979776,100,{_prefixChildren:1}),fP._38(603979776,101,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(96,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(97,16384,[[97,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Year"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(100,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_years"],["matInput",""],["placeholder","No of Years (Eg. 20)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,101)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,101).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,101)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,101)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,102).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,102).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,102).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,107)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,107)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,107)._onInput()&&u}return u},null,null)),fP._17(101,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(102,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(104,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(106,16384,null,0,EP.s,[EP.r],null,null),fP._17(107,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[95,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(111,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(112,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,102,{_control:0}),fP._38(335544320,103,{_placeholderChild:0}),fP._38(335544320,104,{_labelChild:0}),fP._38(603979776,105,{_errorChildren:1}),fP._38(603979776,106,{_hintChildren:1}),fP._38(603979776,107,{_prefixChildren:1}),fP._38(603979776,108,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(121,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(122,16384,[[104,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Month"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(125,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_month"],["matInput",""],["placeholder","No of Months (Eg. 6)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,126)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,126).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,126)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,126)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,127).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,127).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,127).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,132)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,132)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,132)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYearforBusiness(e.target.value,l.context.index,1)&&u}return u},null,null)),fP._17(126,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(127,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(129,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(131,16384,null,0,EP.s,[EP.r],null,null),fP._17(132,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[102,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(136,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(137,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,109,{_control:0}),fP._38(335544320,110,{_placeholderChild:0}),fP._38(335544320,111,{_labelChild:0}),fP._38(603979776,112,{_errorChildren:1}),fP._38(603979776,113,{_hintChildren:1}),fP._38(603979776,114,{_prefixChildren:1}),fP._38(603979776,115,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(146,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_date_object"],["matInput",""],["placeholder","Enter Date of Formation, If Available"],["type","date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,147)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,147).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,147)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,147)._compositionEnd(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,148)._onInput(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,148)._onChange()&&u}if("blur"===n){u=!1!==fP._32(l,148)._onTouched()&&u}if("keydown"===n){u=!1!==fP._32(l,148)._onKeydown(e)&&u}if("blur"===n){u=!1!==fP._32(l,155)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,155)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,155)._onInput()&&u}if("dateChange"===n){u=!1!==t.getDateObjects(e.target.value,l.context.index)&&u}return u},null,null)),fP._17(147,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(148,1196032,null,0,bW.g,[fP.p,[2,jA.c],[2,jA.g],[2,EA.b]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},{dateChange:"dateChange"}),fP._37(1024,null,EP.p,function(l){return[l]},[bW.g]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,bW.g]),fP._17(151,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(153,16384,null,0,EP.s,[EP.r],null,null),fP._37(2048,null,$A.a,null,[bW.g]),fP._17(155,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[2,$A.a]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[109,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(159,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(160,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(162,0,null,null,8,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),fP._17(163,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,DF)),fP._17(166,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,TF)),fP._17(169,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"");l(n,24,0,"company_name");l(n,27,0,"","text");l(n,31,0,(null==n.context.$implicit.controls.company_name.errors?null:n.context.$implicit.controls.company_name.errors.required)||n.context.$implicit.controls.company_name.touched);l(n,35,0,"primary");l(n,37,0,"is_company_applicant");l(n,56,0,"");l(n,58,0,"business_entity_type");l(n,61,0,"Business Entity Type","");l(n,73,0,e.businessEntityTypeList);l(n,77,0,(null==n.context.$implicit.controls.business_entity_type.errors?null:n.context.$implicit.controls.business_entity_type.errors.required)||n.context.$implicit.controls.business_entity_type.touched);l(n,81,0,1==n.context.$implicit.value.business_entity_type);l(n,104,0,"business_years");l(n,107,0,"No of Years (Eg. 20)","number");l(n,129,0,"business_month");l(n,132,0,"No of Months (Eg. 6)","number");l(n,148,0,e.picker,e.maxDate);l(n,151,0,"business_date_object");l(n,155,0,"Enter Date of Formation, If Available","date");l(n,166,0,e.addComp);l(n,169,0,!e.addComp)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,19,1,[fP._32(n,21).required?"":null,fP._32(n,26).ngClassUntouched,fP._32(n,26).ngClassTouched,fP._32(n,26).ngClassPristine,fP._32(n,26).ngClassDirty,fP._32(n,26).ngClassValid,fP._32(n,26).ngClassInvalid,fP._32(n,26).ngClassPending,fP._32(n,27)._isServer,fP._32(n,27).id,fP._32(n,27).placeholder,fP._32(n,27).disabled,fP._32(n,27).required,fP._32(n,27).readonly,fP._32(n,27)._ariaDescribedby||null,fP._32(n,27).errorState,fP._32(n,27).required.toString()]);l(n,34,1,[fP._32(n,35).id,fP._32(n,35).indeterminate,fP._32(n,35).checked,fP._32(n,35).disabled,"before"==fP._32(n,35).labelPosition,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending]);l(n,45,1,[fP._32(n,46)._control.errorState,fP._32(n,46)._control.errorState,fP._32(n,46)._canLabelFloat,fP._32(n,46)._shouldLabelFloat(),fP._32(n,46)._hideControlPlaceholder(),fP._32(n,46)._control.disabled,fP._32(n,46)._control.focused,"primary"==fP._32(n,46).color,"accent"==fP._32(n,46).color,"warn"==fP._32(n,46).color,fP._32(n,46)._shouldForward("untouched"),fP._32(n,46)._shouldForward("touched"),fP._32(n,46)._shouldForward("pristine"),fP._32(n,46)._shouldForward("dirty"),fP._32(n,46)._shouldForward("valid"),fP._32(n,46)._shouldForward("invalid"),fP._32(n,46)._shouldForward("pending")]);l(n,55,1,[fP._32(n,56).required?"":null,fP._32(n,60).ngClassUntouched,fP._32(n,60).ngClassTouched,fP._32(n,60).ngClassPristine,fP._32(n,60).ngClassDirty,fP._32(n,60).ngClassValid,fP._32(n,60).ngClassInvalid,fP._32(n,60).ngClassPending,fP._32(n,61).id,fP._32(n,61).tabIndex,fP._32(n,61)._ariaLabel,fP._32(n,61).ariaLabelledby,fP._32(n,61).required.toString(),fP._32(n,61).disabled.toString(),fP._32(n,61).errorState,fP._32(n,61).panelOpen?fP._32(n,61)._optionIds:null,fP._32(n,61).multiple,fP._32(n,61)._ariaDescribedby||null,fP._32(n,61)._getAriaActiveDescendant(),fP._32(n,61).disabled,fP._32(n,61).errorState,fP._32(n,61).required]);l(n,68,0,fP._32(n,69)._getTabIndex(),fP._32(n,69).selected,fP._32(n,69).multiple,fP._32(n,69).active,fP._32(n,69).id,fP._32(n,69).selected.toString(),fP._32(n,69).disabled.toString(),fP._32(n,69).disabled);l(n,86,1,[fP._32(n,87)._control.errorState,fP._32(n,87)._control.errorState,fP._32(n,87)._canLabelFloat,fP._32(n,87)._shouldLabelFloat(),fP._32(n,87)._hideControlPlaceholder(),fP._32(n,87)._control.disabled,fP._32(n,87)._control.focused,"primary"==fP._32(n,87).color,"accent"==fP._32(n,87).color,"warn"==fP._32(n,87).color,fP._32(n,87)._shouldForward("untouched"),fP._32(n,87)._shouldForward("touched"),fP._32(n,87)._shouldForward("pristine"),fP._32(n,87)._shouldForward("dirty"),fP._32(n,87)._shouldForward("valid"),fP._32(n,87)._shouldForward("invalid"),fP._32(n,87)._shouldForward("pending")]);l(n,100,1,[fP._32(n,106).ngClassUntouched,fP._32(n,106).ngClassTouched,fP._32(n,106).ngClassPristine,fP._32(n,106).ngClassDirty,fP._32(n,106).ngClassValid,fP._32(n,106).ngClassInvalid,fP._32(n,106).ngClassPending,fP._32(n,107)._isServer,fP._32(n,107).id,fP._32(n,107).placeholder,fP._32(n,107).disabled,fP._32(n,107).required,fP._32(n,107).readonly,fP._32(n,107)._ariaDescribedby||null,fP._32(n,107).errorState,fP._32(n,107).required.toString()]);l(n,111,1,[fP._32(n,112)._control.errorState,fP._32(n,112)._control.errorState,fP._32(n,112)._canLabelFloat,fP._32(n,112)._shouldLabelFloat(),fP._32(n,112)._hideControlPlaceholder(),fP._32(n,112)._control.disabled,fP._32(n,112)._control.focused,"primary"==fP._32(n,112).color,"accent"==fP._32(n,112).color,"warn"==fP._32(n,112).color,fP._32(n,112)._shouldForward("untouched"),fP._32(n,112)._shouldForward("touched"),fP._32(n,112)._shouldForward("pristine"),fP._32(n,112)._shouldForward("dirty"),fP._32(n,112)._shouldForward("valid"),fP._32(n,112)._shouldForward("invalid"),fP._32(n,112)._shouldForward("pending")]);l(n,125,1,[fP._32(n,131).ngClassUntouched,fP._32(n,131).ngClassTouched,fP._32(n,131).ngClassPristine,fP._32(n,131).ngClassDirty,fP._32(n,131).ngClassValid,fP._32(n,131).ngClassInvalid,fP._32(n,131).ngClassPending,fP._32(n,132)._isServer,fP._32(n,132).id,fP._32(n,132).placeholder,fP._32(n,132).disabled,fP._32(n,132).required,fP._32(n,132).readonly,fP._32(n,132)._ariaDescribedby||null,fP._32(n,132).errorState,fP._32(n,132).required.toString()]);l(n,136,1,[fP._32(n,137)._control.errorState,fP._32(n,137)._control.errorState,fP._32(n,137)._canLabelFloat,fP._32(n,137)._shouldLabelFloat(),fP._32(n,137)._hideControlPlaceholder(),fP._32(n,137)._control.disabled,fP._32(n,137)._control.focused,"primary"==fP._32(n,137).color,"accent"==fP._32(n,137).color,"warn"==fP._32(n,137).color,fP._32(n,137)._shouldForward("untouched"),fP._32(n,137)._shouldForward("touched"),fP._32(n,137)._shouldForward("pristine"),fP._32(n,137)._shouldForward("dirty"),fP._32(n,137)._shouldForward("valid"),fP._32(n,137)._shouldForward("invalid"),fP._32(n,137)._shouldForward("pending")]);l(n,146,1,[!0,(null==fP._32(n,148)._datepicker?null:fP._32(n,148)._datepicker.opened)&&fP._32(n,148)._datepicker.id||null,fP._32(n,148).min?fP._32(n,148)._dateAdapter.toIso8601(fP._32(n,148).min):null,fP._32(n,148).max?fP._32(n,148)._dateAdapter.toIso8601(fP._32(n,148).max):null,fP._32(n,148).disabled,fP._32(n,153).ngClassUntouched,fP._32(n,153).ngClassTouched,fP._32(n,153).ngClassPristine,fP._32(n,153).ngClassDirty,fP._32(n,153).ngClassValid,fP._32(n,153).ngClassInvalid,fP._32(n,153).ngClassPending,fP._32(n,155)._isServer,fP._32(n,155).id,fP._32(n,155).placeholder,fP._32(n,155).disabled,fP._32(n,155).required,fP._32(n,155).readonly,fP._32(n,155)._ariaDescribedby||null,fP._32(n,155).errorState,fP._32(n,155).required.toString()])})}function LF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(3,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._13(16777216,null,1,1,null,xF)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._13(16777216,null,1,1,null,kF)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,[["comp",1]],null,7,"div",[["formArrayName","companies"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(13,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(15,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,OF)),fP._17(18,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,e.addComp);l(n,9,0,!e.addComp);l(n,13,0,"companies");l(n,18,0,e.generalForm.controls.companies.controls)},function(l,n){l(n,12,0,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending)})}function AF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,43,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Company/Firm "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,11,"div",[["formArrayName","company_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(7,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,5,"ion-list",[],null,null,null,null,null)),fP._17(12,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,CF)),fP._17(15,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(20,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(21,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(24,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),fP._17(27,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,7,"div",[["class","btn1"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wF)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,FF)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,LF)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,"company_value");l(n,15,0,e.generalForm.controls.company_value.controls);l(n,32,0,!e.h_companies);l(n,35,0,e.h_companies);l(n,41,0,e.h_companies)},function(l,n){l(n,6,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending)})}function VF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[123,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.applicant_name)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function NF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[133,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name+"\n Of")))})}function WF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[143,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function EF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,136,{_control:0}),fP._38(335544320,137,{_placeholderChild:0}),fP._38(335544320,138,{_labelChild:0}),fP._38(603979776,139,{_errorChildren:1}),fP._38(603979776,140,{_hintChildren:1}),fP._38(603979776,141,{_prefixChildren:1}),fP._38(603979776,142,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","relation_to"],["placeholder","RelationTo"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,143,{options:1}),fP._38(603979776,144,{optionGroups:1}),fP._38(335544320,145,{customTrigger:0}),fP._37(2048,[[136,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[143,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,3,null,WF)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),fP._35(27,{currentApplicantID:0,existRelationList:1}),fP._36(28,2),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,31)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(31,8437760,[[143,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,[" Not Applicable "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"relation_to");l(n,14,0,"RelationTo");l(n,26,0,fP._41(n,26,0,l(n,28,0,fP._32(n.parent.parent.parent.parent,1),e.individualsList,l(n,27,0,e.generalForm.controls.persons_with_relationships.value[n.parent.context.index].pd_co_applicant_id,e.generalForm.controls.persons_with_relationships.value))));l(n,31,0,"0")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,30,0,fP._32(n,31)._getTabIndex(),fP._32(n,31).selected,fP._32(n,31).multiple,fP._32(n,31).active,fP._32(n,31).id,fP._32(n,31).selected.toString(),fP._32(n,31).disabled.toString(),fP._32(n,31).disabled)})}function jF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,80,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(6,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(9,null,["Applicant ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(12,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,116,{_control:0}),fP._38(335544320,117,{_placeholderChild:0}),fP._38(335544320,118,{_labelChild:0}),fP._38(603979776,119,{_errorChildren:1}),fP._38(603979776,120,{_hintChildren:1}),fP._38(603979776,121,{_prefixChildren:1}),fP._38(603979776,122,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,25)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,123,{options:1}),fP._38(603979776,124,{optionGroups:1}),fP._38(335544320,125,{customTrigger:0}),fP._37(2048,[[116,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[123,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,VF)),fP._17(37,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(42,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,126,{_control:0}),fP._38(335544320,127,{_placeholderChild:0}),fP._38(335544320,128,{_labelChild:0}),fP._38(603979776,129,{_errorChildren:1}),fP._38(603979776,130,{_hintChildren:1}),fP._38(603979776,131,{_prefixChildren:1}),fP._38(603979776,132,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","relationship"],["placeholder","Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,55)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,55)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,55)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.updatePersonalRelation(l.context.index)&&u}return u},tN.b,tN.a)),fP._17(52,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(54,16384,null,0,EP.s,[EP.r],null,null),fP._17(55,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,133,{options:1}),fP._38(603979776,134,{optionGroups:1}),fP._38(335544320,135,{customTrigger:0}),fP._37(2048,[[126,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(62,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,63)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,63)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(63,8437760,[[133,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,NF)),fP._17(67,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,70)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(70,8437760,[[133,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,[" Not Applicable "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,EF)),fP._17(78,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"applicant_name");l(n,25,0,"Applicant");l(n,37,0,e.fulldata);l(n,52,0,"relationship");l(n,55,0,"Relation");l(n,67,0,e.relationShipList);l(n,70,0,"0");l(n,78,0,0!=n.context.$implicit.controls.relationship.value)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,11,1,[fP._32(n,12)._control.errorState,fP._32(n,12)._control.errorState,fP._32(n,12)._canLabelFloat,fP._32(n,12)._shouldLabelFloat(),fP._32(n,12)._hideControlPlaceholder(),fP._32(n,12)._control.disabled,fP._32(n,12)._control.focused,"primary"==fP._32(n,12).color,"accent"==fP._32(n,12).color,"warn"==fP._32(n,12).color,fP._32(n,12)._shouldForward("untouched"),fP._32(n,12)._shouldForward("touched"),fP._32(n,12)._shouldForward("pristine"),fP._32(n,12)._shouldForward("dirty"),fP._32(n,12)._shouldForward("valid"),fP._32(n,12)._shouldForward("invalid"),fP._32(n,12)._shouldForward("pending")]);l(n,21,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25).id,fP._32(n,25).tabIndex,fP._32(n,25)._ariaLabel,fP._32(n,25).ariaLabelledby,fP._32(n,25).required.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).errorState,fP._32(n,25).panelOpen?fP._32(n,25)._optionIds:null,fP._32(n,25).multiple,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25)._getAriaActiveDescendant(),fP._32(n,25).disabled,fP._32(n,25).errorState,fP._32(n,25).required]);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,41,1,[fP._32(n,42)._control.errorState,fP._32(n,42)._control.errorState,fP._32(n,42)._canLabelFloat,fP._32(n,42)._shouldLabelFloat(),fP._32(n,42)._hideControlPlaceholder(),fP._32(n,42)._control.disabled,fP._32(n,42)._control.focused,"primary"==fP._32(n,42).color,"accent"==fP._32(n,42).color,"warn"==fP._32(n,42).color,fP._32(n,42)._shouldForward("untouched"),fP._32(n,42)._shouldForward("touched"),fP._32(n,42)._shouldForward("pristine"),fP._32(n,42)._shouldForward("dirty"),fP._32(n,42)._shouldForward("valid"),fP._32(n,42)._shouldForward("invalid"),fP._32(n,42)._shouldForward("pending")]);l(n,51,1,[fP._32(n,54).ngClassUntouched,fP._32(n,54).ngClassTouched,fP._32(n,54).ngClassPristine,fP._32(n,54).ngClassDirty,fP._32(n,54).ngClassValid,fP._32(n,54).ngClassInvalid,fP._32(n,54).ngClassPending,fP._32(n,55).id,fP._32(n,55).tabIndex,fP._32(n,55)._ariaLabel,fP._32(n,55).ariaLabelledby,fP._32(n,55).required.toString(),fP._32(n,55).disabled.toString(),fP._32(n,55).errorState,fP._32(n,55).panelOpen?fP._32(n,55)._optionIds:null,fP._32(n,55).multiple,fP._32(n,55)._ariaDescribedby||null,fP._32(n,55)._getAriaActiveDescendant(),fP._32(n,55).disabled,fP._32(n,55).errorState,fP._32(n,55).required]);l(n,62,0,fP._32(n,63)._getTabIndex(),fP._32(n,63).selected,fP._32(n,63).multiple,fP._32(n,63).active,fP._32(n,63).id,fP._32(n,63).selected.toString(),fP._32(n,63).disabled.toString(),fP._32(n,63).disabled);l(n,69,0,fP._32(n,70)._getTabIndex(),fP._32(n,70).selected,fP._32(n,70).multiple,fP._32(n,70).active,fP._32(n,70).id,fP._32(n,70).selected.toString(),fP._32(n,70).disabled.toString(),fP._32(n,70).disabled)})}function $F(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,16,"mat-card",[["class","rbi mat-card"],["formArrayName","persons_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,LA.d,LA.a)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(9,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),fP._17(12,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,[" Relationship Between Individuals"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,jF)),fP._17(17,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"persons_with_relationships");l(n,17,0,e.generalForm.controls.persons_with_relationships.controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function BF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[153,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function RF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[163,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function UF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_order_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.company_name)))})}function MF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,166,{_control:0}),fP._38(335544320,167,{_placeholderChild:0}),fP._38(335544320,168,{_labelChild:0}),fP._38(603979776,169,{_errorChildren:1}),fP._38(603979776,170,{_hintChildren:1}),fP._38(603979776,171,{_prefixChildren:1}),fP._38(603979776,172,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","relation_to_company"],["placeholder","Relation to"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,173,{options:1}),fP._38(603979776,174,{optionGroups:1}),fP._38(335544320,175,{customTrigger:0}),fP._37(2048,[[166,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,UF)),fP._17(26,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[173,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,[" Not Applicable "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"relation_to_company");l(n,14,0,"Relation to");l(n,26,0,e.companyList);l(n,29,0,"0")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled)})}function KF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,81,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Applicant ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,146,{_control:0}),fP._38(335544320,147,{_placeholderChild:0}),fP._38(335544320,148,{_labelChild:0}),fP._38(603979776,149,{_errorChildren:1}),fP._38(603979776,150,{_hintChildren:1}),fP._38(603979776,151,{_prefixChildren:1}),fP._38(603979776,152,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,22)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,153,{options:1}),fP._38(603979776,154,{optionGroups:1}),fP._38(335544320,155,{customTrigger:0}),fP._37(2048,[[146,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[153,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,BF)),fP._17(34,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(39,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,156,{_control:0}),fP._38(335544320,157,{_placeholderChild:0}),fP._38(335544320,158,{_labelChild:0}),fP._38(603979776,159,{_errorChildren:1}),fP._38(603979776,160,{_hintChildren:1}),fP._38(603979776,161,{_prefixChildren:1}),fP._38(603979776,162,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","company_relationship"],["placeholder","Company Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,52)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(49,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(51,16384,null,0,EP.s,[EP.r],null,null),fP._17(52,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,163,{options:1}),fP._38(603979776,164,{optionGroups:1}),fP._38(335544320,165,{customTrigger:0}),fP._37(2048,[[156,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,60)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(60,8437760,[[163,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,RF)),fP._17(64,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(66,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,67)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,67)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(67,8437760,[[163,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,[" Not Applicable "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,MF)),fP._17(73,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(75,0,null,null,5,"span",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,"companyrel")&&u}return u},aV.b,aV.a)),fP._17(76,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"],clear:[2,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(78,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(79,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"applicant_name");l(n,22,0,"Applicant Name");l(n,34,0,e.individualsListBothCase);l(n,49,0,"company_relationship");l(n,52,0,"Company Relation");l(n,64,0,e.companyRelationShipList);l(n,67,0,"0");l(n,73,0,""!=n.context.$implicit.controls.company_relationship.value);l(n,76,0,"optblue","","");l(n,79,0,"md-trash")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22).id,fP._32(n,22).tabIndex,fP._32(n,22)._ariaLabel,fP._32(n,22).ariaLabelledby,fP._32(n,22).required.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).errorState,fP._32(n,22).panelOpen?fP._32(n,22)._optionIds:null,fP._32(n,22).multiple,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22)._getAriaActiveDescendant(),fP._32(n,22).disabled,fP._32(n,22).errorState,fP._32(n,22).required]);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled);l(n,38,1,[fP._32(n,39)._control.errorState,fP._32(n,39)._control.errorState,fP._32(n,39)._canLabelFloat,fP._32(n,39)._shouldLabelFloat(),fP._32(n,39)._hideControlPlaceholder(),fP._32(n,39)._control.disabled,fP._32(n,39)._control.focused,"primary"==fP._32(n,39).color,"accent"==fP._32(n,39).color,"warn"==fP._32(n,39).color,fP._32(n,39)._shouldForward("untouched"),fP._32(n,39)._shouldForward("touched"),fP._32(n,39)._shouldForward("pristine"),fP._32(n,39)._shouldForward("dirty"),fP._32(n,39)._shouldForward("valid"),fP._32(n,39)._shouldForward("invalid"),fP._32(n,39)._shouldForward("pending")]);l(n,48,1,[fP._32(n,51).ngClassUntouched,fP._32(n,51).ngClassTouched,fP._32(n,51).ngClassPristine,fP._32(n,51).ngClassDirty,fP._32(n,51).ngClassValid,fP._32(n,51).ngClassInvalid,fP._32(n,51).ngClassPending,fP._32(n,52).id,fP._32(n,52).tabIndex,fP._32(n,52)._ariaLabel,fP._32(n,52).ariaLabelledby,fP._32(n,52).required.toString(),fP._32(n,52).disabled.toString(),fP._32(n,52).errorState,fP._32(n,52).panelOpen?fP._32(n,52)._optionIds:null,fP._32(n,52).multiple,fP._32(n,52)._ariaDescribedby||null,fP._32(n,52)._getAriaActiveDescendant(),fP._32(n,52).disabled,fP._32(n,52).errorState,fP._32(n,52).required]);l(n,59,0,fP._32(n,60)._getTabIndex(),fP._32(n,60).selected,fP._32(n,60).multiple,fP._32(n,60).active,fP._32(n,60).id,fP._32(n,60).selected.toString(),fP._32(n,60).disabled.toString(),fP._32(n,60).disabled);l(n,66,0,fP._32(n,67)._getTabIndex(),fP._32(n,67).selected,fP._32(n,67).multiple,fP._32(n,67).active,fP._32(n,67).id,fP._32(n,67).selected.toString(),fP._32(n,67).disabled.toString(),fP._32(n,67).disabled);l(n,78,0,fP._32(n,79)._hidden)})}function HF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,31,"div",[["formArrayName","company_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(9,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),fP._17(12,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,[" Relationship of Individuals to Company / Firm"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,KF)),fP._17(17,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._18(20,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(22,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(23,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(25,0,null,null,7,"ion-col",[["class","col"],["style","text-align: center;"]],null,null,null,null,null)),fP._17(26,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,3,"button",[["class","mat-raised-button"],["mat-raised-button",""],["style","background-color:#e00201 !important;color:white"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.initCompanyRelationShip("")&&u}return u},BA.b,BA.a)),fP._17(29,180224,null,0,RA.b,[fP.p,jP.a,UA.j],null,null),fP._17(30,16384,null,0,RA.f,[],null,null),(l()(),fP._40(-1,0,["Add\n More Company Relation"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"company_with_relationships");l(n,17,0,e.generalForm.controls.company_with_relationships.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending);l(n,28,0,fP._32(n,29).disabled||null)})}function GF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,95,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,41,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Name of Person(s) Met and Individual Loan Applicant(s)"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,8,"ion-list",[["formArrayName","list_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(13,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(15,16384,null,0,EP.t,[EP.c],null,null),fP._17(16,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zw)),fP._17(19,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(22,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(24,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(25,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(28,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(30,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),fP._17(31,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(33,0,null,null,7,"div",[["class","btn"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yw)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Qw)),fP._17(39,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fF)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hF)),fP._17(51,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,AF)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$F)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,HF)),fP._17(64,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(66,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(67,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(69,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(70,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,176,{_control:0}),fP._38(335544320,177,{_placeholderChild:0}),fP._38(335544320,178,{_labelChild:0}),fP._38(603979776,179,{_errorChildren:1}),fP._38(603979776,180,{_hintChildren:1}),fP._38(603979776,181,{_prefixChildren:1}),fP._38(603979776,182,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(79,0,[[1,0],["remark",1]],1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["focus","true"],["formControlName","general_remark"],["matInput",""],["name","general_remark"],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,85)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,85)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,85)._onInput()&&u}return u},null,null)),fP._17(80,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(82,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(84,16384,null,0,EP.s,[EP.r],null,null),fP._17(85,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[176,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(90,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(91,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.generalForm);l(n,13,0,"list_value");l(n,19,0,e.generalForm.controls.list_value.controls);l(n,36,0,!e.buttonClick);l(n,39,0,e.buttonClick);l(n,45,0,e.buttonClick);l(n,51,0,"SE-RI"==e.customer_segment_abbr);l(n,55,0,"SE-RI"!=e.customer_segment_abbr);l(n,61,0,e.generalForm.controls.persons_with_relationships.length>1);l(n,64,0,"SE-RI"!=e.customer_segment_abbr);l(n,82,0,"general_remark");l(n,85,0,"Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,12,0,fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending);l(n,69,1,[fP._32(n,70)._control.errorState,fP._32(n,70)._control.errorState,fP._32(n,70)._canLabelFloat,fP._32(n,70)._shouldLabelFloat(),fP._32(n,70)._hideControlPlaceholder(),fP._32(n,70)._control.disabled,fP._32(n,70)._control.focused,"primary"==fP._32(n,70).color,"accent"==fP._32(n,70).color,"warn"==fP._32(n,70).color,fP._32(n,70)._shouldForward("untouched"),fP._32(n,70)._shouldForward("touched"),fP._32(n,70)._shouldForward("pristine"),fP._32(n,70)._shouldForward("dirty"),fP._32(n,70)._shouldForward("valid"),fP._32(n,70)._shouldForward("invalid"),fP._32(n,70)._shouldForward("pending")]);l(n,79,1,[fP._32(n,84).ngClassUntouched,fP._32(n,84).ngClassTouched,fP._32(n,84).ngClassPristine,fP._32(n,84).ngClassDirty,fP._32(n,84).ngClassValid,fP._32(n,84).ngClassInvalid,fP._32(n,84).ngClassPending,fP._32(n,85)._isServer,fP._32(n,85).id,fP._32(n,85).placeholder,fP._32(n,85).disabled,fP._32(n,85).required,fP._32(n,85).readonly,fP._32(n,85)._ariaDescribedby||null,fP._32(n,85).errorState,fP._32(n,85).required.toString()])})}function zF(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._34(0,GT,[]),fP._38(671088640,1,{nameField:0}),fP._38(671088640,2,{focus_business_entity:0}),(l()(),fP._18(4,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(5,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(7,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(8,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(10,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,12).toggle()&&u}return u},aV.b,aV.a)),fP._17(11,1097728,[[3,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(12,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(13,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Dw)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(23,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(24,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(30,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(31,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,Tw)),fP._17(35,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(40,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,5,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47).onClick()&&u}return u},dV.b,dV.a)),fP._17(47,114688,[[5,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,51).onClick()&&u}return u},dV.b,dV.a)),fP._17(51,114688,[[5,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(56,0,null,null,14,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(57,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(59,0,null,1,9,"div",[],null,null,null,null,null)),fP._17(60,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Uw)),fP._17(63,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,GF)),fP._17(66,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,8,0,"optblue");l(n,12,0,"");l(n,17,0,"menu");l(n,21,0,!e.viewchange);l(n,31,0,"md-camera");l(n,35,0,!e.complete_status);l(n,40,0,e.tab);l(n,43,0,"optblue");l(n,47,0,"0");l(n,51,0,"1");l(n,60,0,e.tab);l(n,63,0,"1");l(n,66,0,"0")},function(l,n){l(n,7,0,fP._32(n,8)._hidden,fP._32(n,8)._sbPadding);l(n,10,0,fP._32(n,12).isHidden);l(n,16,0,fP._32(n,17)._hidden);l(n,30,0,fP._32(n,31)._hidden);l(n,39,0,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43)._disabled);l(n,46,0,fP._32(n,47)._disabled,fP._32(n,47).isActive,fP._32(n,47).isActive);l(n,50,0,fP._32(n,51)._disabled,fP._32(n,51).isActive,fP._32(n,51).isActive);l(n,56,0,fP._32(n,57).statusbarPadding,fP._32(n,57)._hasRefresher)})}function YF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Other Applicant Details Added"]))],null,null)}function QF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addmore()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function JF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,41,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,2,{_control:0}),fP._38(335544320,3,{_placeholderChild:0}),fP._38(335544320,4,{_labelChild:0}),fP._38(603979776,5,{_errorChildren:1}),fP._38(603979776,6,{_hintChildren:1}),fP._38(603979776,7,{_prefixChildren:1}),fP._38(603979776,8,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","applicant_name"],["matInput",""],["name","applicant_name"],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}return u},null,null)),fP._17(16,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[2,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-6",""]],null,null,null,null,null)),fP._17(26,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,QF)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),fP._17(33,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(35,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteappdata(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-close"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(38,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"applicant_name");l(n,21,0,"Name","text");l(n,29,0,n.context.last);l(n,38,0,"optblue","md-close")},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()]);l(n,37,0,fP._32(n,38)._hidden)})}function XF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,14,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(7,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,2,"button",[["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.closeModal()&&u}return u},aV.b,aV.a)),fP._17(11,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),(l()(),fP._40(-1,0,["Close"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,YF)),fP._17(16,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n\n\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._18(20,0,null,null,32,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(21,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,25).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,25).onReset()&&u}return u},null,null)),fP._17(24,16384,null,0,EP.B,[],null,null),fP._17(25,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(27,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(30,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(32,0,null,0,7,"div",[["formArrayName","otherName"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(33,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(35,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,JF)),fP._17(38,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(42,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(43,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.otherForm.value)&&u}return u},aV.b,aV.a)),fP._17(47,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,[" Save"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,16,0,!e.viewchange);l(n,25,0,e.otherForm);l(n,33,0,"otherName");l(n,38,0,e.otherForm.controls.otherName.controls);l(n,47,0,"optblue","")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,20,0,fP._32(n,21).statusbarPadding,fP._32(n,21)._hasRefresher);l(n,23,0,fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending);l(n,32,0,fP._32(n,35).ngClassUntouched,fP._32(n,35).ngClassTouched,fP._32(n,35).ngClassPristine,fP._32(n,35).ngClassDirty,fP._32(n,35).ngClassValid,fP._32(n,35).ngClassInvalid,fP._32(n,35).ngClassPending)})}function ZF(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.neighbourhoodForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function lx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function nx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ex(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ux(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function tx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nx)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,ex)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ux)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function ax(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,tx)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function ix(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ox(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function rx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ix)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,ox)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function _x(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rx)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function dx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function sx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lx)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,ax)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,_x)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,dx)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function cx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[7,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Neighbourhood Name is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function mx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[14,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Please Choose"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function px(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[24,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Year is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function fx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_year"],["matInput",""],["placeholder","Years"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,px)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "]))],function(l,n){l(n,14,0,"how_long_do_know_in_year");l(n,17,0,"Years","number");l(n,21,0,(null==n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.errors?null:n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.errors.required)||n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.touched)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function hx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,28,{_control:0}),fP._38(335544320,29,{_placeholderChild:0}),fP._38(335544320,30,{_labelChild:0}),fP._38(603979776,31,{_errorChildren:1}),fP._38(603979776,32,{_hintChildren:1}),fP._38(603979776,33,{_prefixChildren:1}),fP._38(603979776,34,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_month"],["matInput",""],["placeholder","Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.parent.parent.context.$implicit,e.target.value,1)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[28,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"how_long_do_know_in_month");l(n,17,0,"Months","number")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function gx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[42,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function bx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[43,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,gx)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function vx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[38,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["pick atleast one organisation owner"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function yx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,35,{_control:0}),fP._38(335544320,36,{_placeholderChild:0}),fP._38(335544320,37,{_labelChild:0}),fP._38(603979776,38,{_errorChildren:1}),fP._38(603979776,39,{_hintChildren:1}),fP._38(603979776,40,{_prefixChildren:1}),fP._38(603979776,41,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(11,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","organisation_owner"],["multiple",""],["placeholder","Who is the owner of the organisation?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getOtherOrganisationOwner(e.value,l.parent.parent.parent.context.index)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,42,{options:1}),fP._38(603979776,43,{optionGroups:1}),fP._38(335544320,44,{customTrigger:0}),fP._37(2048,[[35,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,bx)),fP._17(23,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,vx)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "]))],function(l,n){var e=n.component;l(n,13,0,"organisation_owner");l(n,16,0,"Who is the owner of the organisation?","",e.compareObjects);l(n,23,0,e.mergeCompanyApplicant);l(n,27,0,(null==n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors?null:n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors.required)||n.parent.parent.parent.context.$implicit.controls.organisation_owner.touched)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,11,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16).id,fP._32(n,16).tabIndex,fP._32(n,16)._ariaLabel,fP._32(n,16).ariaLabelledby,fP._32(n,16).required.toString(),fP._32(n,16).disabled.toString(),fP._32(n,16).errorState,fP._32(n,16).panelOpen?fP._32(n,16)._optionIds:null,fP._32(n,16).multiple,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16)._getAriaActiveDescendant(),fP._32(n,16).disabled,fP._32(n,16).errorState,fP._32(n,16).required])})}function Cx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[48,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["organisation owner is required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function wx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,45,{_control:0}),fP._38(335544320,46,{_placeholderChild:0}),fP._38(335544320,47,{_labelChild:0}),fP._38(603979776,48,{_errorChildren:1}),fP._38(603979776,49,{_hintChildren:1}),fP._38(603979776,50,{_prefixChildren:1}),fP._38(603979776,51,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_organisation_owner"],["matInput",""],["placeholder","Specify Owner name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.parent.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[45,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Cx)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "]))],function(l,n){l(n,13,0,"other_organisation_owner");l(n,16,0,"Specify Owner name","text");l(n,20,0,(null==n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors?null:n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors.required)||n.parent.parent.parent.context.$implicit.controls.organisation_owner.touched)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Fx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Who is the owner of the organisation?"]))],null,null)}function xx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yx)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,wx)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Fx)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px;font-weight: bold"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Do not know  \n "])),(l()(),fP._18(14,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_owner"],["style","zoom: 0.9;"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.toggleVisibility(e.checked,l.parent.parent.context.index,2)&&u}return u},sN.b,sN.a)),fP._17(15,1228800,null,0,cN.a,[fP.p,jP.a,UA.j,fP.i,[8,null]],{color:[0,"color"]},{change:"change"}),fP._37(1024,null,EP.q,function(l){return[l]},[cN.a]),fP._17(17,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(19,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,!e.isDisplay2[n.parent.parent.context.index]);l(n,6,0,e.isOrganisationOwner[n.parent.parent.context.index]);l(n,9,0,e.isDisplay2[n.parent.parent.context.index]);l(n,15,0,"primary");l(n,17,0,"did_not_know_the_owner")},function(l,n){l(n,14,1,[fP._32(n,15).id,fP._32(n,15).checked,fP._32(n,15).disabled,"before"==fP._32(n,15).labelPosition,fP._32(n,19).ngClassUntouched,fP._32(n,19).ngClassTouched,fP._32(n,19).ngClassPristine,fP._32(n,19).ngClassDirty,fP._32(n,19).ngClassValid,fP._32(n,19).ngClassInvalid,fP._32(n,19).ngClassPending])})}function kx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,32,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,20,"div",[["appearance","outline"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(6,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["As per you how long has this business been in operation? "])),(l()(),fP._18(8,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px;font-weight: bold"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Do not know  \n "])),(l()(),fP._18(12,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_business_operation"],["style","zoom: 0.9;"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.toggleVisibility(e.checked,l.parent.context.index,1)&&u}return u},sN.b,sN.a)),fP._17(13,1228800,null,0,cN.a,[fP.p,jP.a,UA.j,fP.i,[8,null]],{color:[0,"color"]},{change:"change"}),fP._37(1024,null,EP.q,function(l){return[l]},[cN.a]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fx)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hx)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xx)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(30,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._18(31,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"primary");l(n,15,0,"did_not_know_the_business_operation");l(n,20,0,!e.isDisplay[n.parent.context.index]);l(n,23,0,!e.isDisplay[n.parent.context.index]);l(n,29,0,""!=n.parent.context.$implicit.controls.do_know.value)},function(l,n){l(n,12,1,[fP._32(n,13).id,fP._32(n,13).checked,fP._32(n,13).disabled,"before"==fP._32(n,13).labelPosition,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending])})}function Sx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeneighbourhood(l.parent.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Ix(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addneighbourhood()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function qx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,91,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Neighbour Details ",""])),(l()(),fP._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(9,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbourhood_name"],["matInput",""],["placeholder","Neighbour Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[4,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,cx)),fP._17(29,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,36,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(33,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","do_know"],["placeholder","Do you know about the applicants or their business?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,46)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,18,{options:1}),fP._38(603979776,19,{optionGroups:1}),fP._38(335544320,20,{customTrigger:0}),fP._37(2048,[[11,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,54)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(54,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,58)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(58,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,62)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(62,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,mx)),fP._17(67,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kx)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(73,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(74,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,52,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(77,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(78,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Sx)),fP._17(81,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(85,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ix)),fP._17(88,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"neighbourhood_name");l(n,25,0,"Neighbour Name","text");l(n,29,0,(null==n.context.$implicit.controls.neighbourhood_name.errors?null:n.context.$implicit.controls.neighbourhood_name.errors.required)||n.context.$implicit.controls.neighbourhood_name.touched);l(n,43,0,"do_know");l(n,46,0,"Do you know about the applicants or their business?");l(n,58,0,"Yes");l(n,62,0,"No");l(n,67,0,(null==n.context.$implicit.controls.do_know.errors?null:n.context.$implicit.controls.do_know.errors.required)||n.context.$implicit.controls.do_know.touched);l(n,71,0,""!=n.context.$implicit.controls.do_know.value);l(n,81,0,e.neighbourhoodForm.controls.neighbourhood_list.controls.length>1);l(n,88,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()]);l(n,32,1,[fP._32(n,33)._control.errorState,fP._32(n,33)._control.errorState,fP._32(n,33)._canLabelFloat,fP._32(n,33)._shouldLabelFloat(),fP._32(n,33)._hideControlPlaceholder(),fP._32(n,33)._control.disabled,fP._32(n,33)._control.focused,"primary"==fP._32(n,33).color,"accent"==fP._32(n,33).color,"warn"==fP._32(n,33).color,fP._32(n,33)._shouldForward("untouched"),fP._32(n,33)._shouldForward("touched"),fP._32(n,33)._shouldForward("pristine"),fP._32(n,33)._shouldForward("dirty"),fP._32(n,33)._shouldForward("valid"),fP._32(n,33)._shouldForward("invalid"),fP._32(n,33)._shouldForward("pending")]);l(n,42,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46).id,fP._32(n,46).tabIndex,fP._32(n,46)._ariaLabel,fP._32(n,46).ariaLabelledby,fP._32(n,46).required.toString(),fP._32(n,46).disabled.toString(),fP._32(n,46).errorState,fP._32(n,46).panelOpen?fP._32(n,46)._optionIds:null,fP._32(n,46).multiple,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46)._getAriaActiveDescendant(),fP._32(n,46).disabled,fP._32(n,46).errorState,fP._32(n,46).required]);l(n,53,0,fP._32(n,54)._getTabIndex(),fP._32(n,54).selected,fP._32(n,54).multiple,fP._32(n,54).active,fP._32(n,54).id,fP._32(n,54).selected.toString(),fP._32(n,54).disabled.toString(),fP._32(n,54).disabled);l(n,57,0,fP._32(n,58)._getTabIndex(),fP._32(n,58).selected,fP._32(n,58).multiple,fP._32(n,58).active,fP._32(n,58).id,fP._32(n,58).selected.toString(),fP._32(n,58).disabled.toString(),fP._32(n,58).disabled);l(n,61,0,fP._32(n,62)._getTabIndex(),fP._32(n,62).selected,fP._32(n,62).multiple,fP._32(n,62).active,fP._32(n,62).id,fP._32(n,62).selected.toString(),fP._32(n,62).disabled.toString(),fP._32(n,62).disabled)})}function Px(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,7,"div",[["formArrayName","neighbourhood_list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qx)),fP._17(9,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"neighbourhood_list");l(n,9,0,e.neighbourhoodForm.controls.neighbourhood_list.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function Dx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[56,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Status is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Tx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,49,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,45,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,53,{_control:0}),fP._38(335544320,54,{_placeholderChild:0}),fP._38(335544320,55,{_labelChild:0}),fP._38(603979776,56,{_errorChildren:1}),fP._38(603979776,57,{_hintChildren:1}),fP._38(603979776,58,{_prefixChildren:1}),fP._38(603979776,59,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","neighbourhood_status"],["placeholder","Status of the check as per PD officer?"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(16,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,60,{options:1}),fP._38(603979776,61,{optionGroups:1}),fP._38(335544320,62,{customTrigger:0}),fP._37(2048,[[53,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Positive"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Positive"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Negative"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,37)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(37,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Negative"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(40,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Could not verify"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,41)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,41)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(41,8437760,[[60,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Could not verify"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Dx)),fP._17(46,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"neighbourhood_status");l(n,21,0,"Status of the check as per PD officer?","");l(n,33,0,"Positive");l(n,37,0,"Negative");l(n,41,0,"Could not verify");l(n,46,0,(null==e.neighbourhoodForm.controls.neighbourhood_status.errors?null:e.neighbourhoodForm.controls.neighbourhood_status.errors.required)||e.neighbourhoodForm.controls.neighbourhood_status.touched)},function(l,n){l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,16).required?"":null,fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled);l(n,36,0,fP._32(n,37)._getTabIndex(),fP._32(n,37).selected,fP._32(n,37).multiple,fP._32(n,37).active,fP._32(n,37).id,fP._32(n,37).selected.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).disabled);l(n,40,0,fP._32(n,41)._getTabIndex(),fP._32(n,41).selected,fP._32(n,41).multiple,fP._32(n,41).active,fP._32(n,41).id,fP._32(n,41).selected.toString(),fP._32(n,41).disabled.toString(),fP._32(n,41).disabled)})}function Ox(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[73,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Enter Valid Mobile Number. "]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Lx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"p",[["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Enter valid Mobile Number"]))],null,null)}function Ax(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[105,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relation_with_business_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.relation_with_business_name)))})}function Vx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,108,{_control:0}),fP._38(335544320,109,{_placeholderChild:0}),fP._38(335544320,110,{_labelChild:0}),fP._38(603979776,111,{_errorChildren:1}),fP._38(603979776,112,{_hintChildren:1}),fP._38(603979776,113,{_prefixChildren:1}),fP._38(603979776,114,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others"],["matInput",""],["placeholder","Others"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[108,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others");l(n,16,0,"Others","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Nx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[143,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Wx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,146,{_control:0}),fP._38(335544320,147,{_placeholderChild:0}),fP._38(335544320,148,{_labelChild:0}),fP._38(603979776,149,{_errorChildren:1}),fP._38(603979776,150,{_hintChildren:1}),fP._38(603979776,151,{_prefixChildren:1}),fP._38(603979776,152,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_unit"],["matInput",""],["placeholder","Specify Unit"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[146,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_unit");l(n,16,0,"Specify Unit","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function Ex(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[160,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function jx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,163,{_control:0}),fP._38(335544320,164,{_placeholderChild:0}),fP._38(335544320,165,{_labelChild:0}),fP._38(603979776,166,{_errorChildren:1}),fP._38(603979776,167,{_hintChildren:1}),fP._38(603979776,168,{_prefixChildren:1}),fP._38(603979776,169,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","specify_final_remark"],["matInput",""],["placeholder","Specify Remarks for PD OFFICER"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[163,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"specify_final_remark");l(n,16,0,"Specify Remarks for PD OFFICER","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function $x(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addreferance()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Bx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,313,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(6,null,["Reference Details #",""])),(l()(),fP._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(10,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,63,{_control:0}),fP._38(335544320,64,{_placeholderChild:0}),fP._38(335544320,65,{_labelChild:0}),fP._38(603979776,66,{_errorChildren:1}),fP._38(603979776,67,{_hintChildren:1}),fP._38(603979776,68,{_prefixChildren:1}),fP._38(603979776,69,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reference_name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[63,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(30,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(39,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile"],["matInput",""],["placeholder","Mobile Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,40)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,41).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,41).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,41).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,46)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(40,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(41,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(43,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(45,16384,null,0,EP.s,[EP.r],null,null),fP._17(46,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[70,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Ox)),fP._17(50,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Lx)),fP._17(54,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(56,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Landline Number"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(59,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(60,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,77,{_control:0}),fP._38(335544320,78,{_placeholderChild:0}),fP._38(335544320,79,{_labelChild:0}),fP._38(603979776,80,{_errorChildren:1}),fP._38(603979776,81,{_hintChildren:1}),fP._38(603979776,82,{_prefixChildren:1}),fP._38(603979776,83,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(69,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","statecode"],["matInput",""],["maxlength","4"],["minlength","2"],["placeholder","Code"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,70)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,71).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,71).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,71).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,79)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,79)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,79)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(70,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(71,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(72,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(73,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(76,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(78,16384,null,0,EP.s,[EP.r],null,null),fP._17(79,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[77,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(83,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(84,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,84,{_control:0}),fP._38(335544320,85,{_placeholderChild:0}),fP._38(335544320,86,{_labelChild:0}),fP._38(603979776,87,{_errorChildren:1}),fP._38(603979776,88,{_hintChildren:1}),fP._38(603979776,89,{_prefixChildren:1}),fP._38(603979776,90,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(93,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Number"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,94)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,94).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,94)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,94)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,95).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,95).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,95).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,103)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(94,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(95,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(96,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(97,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(100,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(102,16384,null,0,EP.s,[EP.r],null,null),fP._17(103,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[84,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(108,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,91,{_control:0}),fP._38(335544320,92,{_placeholderChild:0}),fP._38(335544320,93,{_labelChild:0}),fP._38(603979776,94,{_errorChildren:1}),fP._38(603979776,95,{_hintChildren:1}),fP._38(603979776,96,{_prefixChildren:1}),fP._38(603979776,97,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(117,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","location"],["matInput",""],["placeholder","Location"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,118)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,118).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,118)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,118)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,123)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,123)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,123)._onInput()&&u}return u},null,null)),fP._17(118,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(120,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(122,16384,null,0,EP.s,[EP.r],null,null),fP._17(123,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[91,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(127,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(128,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,98,{_control:0}),fP._38(335544320,99,{_placeholderChild:0}),fP._38(335544320,100,{_labelChild:0}),fP._38(603979776,101,{_errorChildren:1}),fP._38(603979776,102,{_hintChildren:1}),fP._38(603979776,103,{_prefixChildren:1}),fP._38(603979776,104,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(137,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","relationship_with"],["placeholder","Relation With Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,141)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(138,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(140,16384,null,0,EP.s,[EP.r],null,null),fP._17(141,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,105,{options:1}),fP._38(603979776,106,{optionGroups:1}),fP._38(335544320,107,{customTrigger:0}),fP._37(2048,[[98,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(148,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,149)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,149)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(149,8437760,[[105,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ax)),fP._17(153,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vx)),fP._17(158,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(160,0,[["period_paragraph",1]],null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Period of Relationship"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(163,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(164,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,115,{_control:0}),fP._38(335544320,116,{_placeholderChild:0}),fP._38(335544320,117,{_labelChild:0}),fP._38(603979776,118,{_errorChildren:1}),fP._38(603979776,119,{_hintChildren:1}),fP._38(603979776,120,{_prefixChildren:1}),fP._38(603979776,121,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(173,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","year_relation_applicant"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,174)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,174).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,174)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,174)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,175).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,175).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,175).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,180)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(174,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(175,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(177,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(179,16384,null,0,EP.s,[EP.r],null,null),fP._17(180,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[115,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(184,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(185,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,122,{_control:0}),fP._38(335544320,123,{_placeholderChild:0}),fP._38(335544320,124,{_labelChild:0}),fP._38(603979776,125,{_errorChildren:1}),fP._38(603979776,126,{_hintChildren:1}),fP._38(603979776,127,{_prefixChildren:1}),fP._38(603979776,128,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(194,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","months_relation_applicant"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,195)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,195).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,195)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,195)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,196).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,196).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,196).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,201)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,201)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,201)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,2)&&u}return u},null,null)),fP._17(195,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(196,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(198,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(200,16384,null,0,EP.s,[EP.r],null,null),fP._17(201,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[122,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(205,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(206,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,129,{_control:0}),fP._38(335544320,130,{_placeholderChild:0}),fP._38(335544320,131,{_labelChild:0}),fP._38(603979776,132,{_errorChildren:1}),fP._38(603979776,133,{_hintChildren:1}),fP._38(603979776,134,{_prefixChildren:1}),fP._38(603979776,135,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(215,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_volume_amount"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,216)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,216).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,216)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,216)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,221)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,221)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,221)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),fP._17(216,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(218,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(220,16384,null,0,EP.s,[EP.r],null,null),fP._17(221,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[129,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(226,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(227,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,136,{_control:0}),fP._38(335544320,137,{_placeholderChild:0}),fP._38(335544320,138,{_labelChild:0}),fP._38(603979776,139,{_errorChildren:1}),fP._38(603979776,140,{_hintChildren:1}),fP._38(603979776,141,{_prefixChildren:1}),fP._38(603979776,142,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(236,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","business_volume_unit"],["placeholder","Unit"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,240)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,240)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,240)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(237,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(239,16384,null,0,EP.s,[EP.r],null,null),fP._17(240,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,143,{options:1}),fP._38(603979776,144,{optionGroups:1}),fP._38(335544320,145,{customTrigger:0}),fP._37(2048,[[136,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(247,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,248)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,248)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(248,8437760,[[143,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Nx)),fP._17(252,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Wx)),fP._17(257,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(259,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(260,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,153,{_control:0}),fP._38(335544320,154,{_placeholderChild:0}),fP._38(335544320,155,{_labelChild:0}),fP._38(603979776,156,{_errorChildren:1}),fP._38(603979776,157,{_hintChildren:1}),fP._38(603979776,158,{_prefixChildren:1}),fP._38(603979776,159,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(269,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","reference_final_remarks"],["placeholder","Final remarks of PD officer on Reference Check done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,273)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,273)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,273)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(270,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(272,16384,null,0,EP.s,[EP.r],null,null),fP._17(273,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,160,{options:1}),fP._38(603979776,161,{optionGroups:1}),fP._38(335544320,162,{customTrigger:0}),fP._37(2048,[[153,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(280,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,281)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,281)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(281,8437760,[[160,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Ex)),fP._17(285,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jx)),fP._17(290,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(292,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(293,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,170,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(296,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(297,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(299,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removereferance(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(301,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(302,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(306,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(307,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$x)),fP._17(310,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reference_name");l(n,25,0,"Name","text");l(n,43,0,"mobile");l(n,46,0,"Mobile Number","number");l(n,50,0,n.context.$implicit.controls.mobile.hasError("maxlength")||n.context.$implicit.controls.mobile.hasError("minlength"));l(n,54,0,n.context.$implicit.controls.mobile.touched&&n.context.$implicit.controls.mobile.hasError("maxlength")||n.context.$implicit.controls.mobile.hasError("minLength"));l(n,72,0,"2");l(n,73,0,"4");l(n,76,0,"statecode");l(n,79,0,"Code","number");l(n,96,0,"6");l(n,97,0,"8");l(n,100,0,"landline");l(n,103,0,"Number","number");l(n,120,0,"location");l(n,123,0,"Location");l(n,138,0,"relationship_with");l(n,141,0,"Relation With Business");l(n,153,0,e.relationBusiness);l(n,158,0,1==n.context.$implicit.controls.relationship_with.value);l(n,177,0,"year_relation_applicant");l(n,180,0,"Year","number");l(n,198,0,"months_relation_applicant");l(n,201,0,"Month","number");l(n,218,0,"business_volume_amount");l(n,221,0,4==n.context.$implicit.controls.relationship_with.value?"Rent Amount":"Volume of Business","text");l(n,237,0,"business_volume_unit");l(n,240,0,"Unit");l(n,252,0,e.frequency);l(n,257,0,1==n.context.$implicit.controls.business_volume_unit.value);l(n,270,0,"reference_final_remarks");l(n,273,0,"Final remarks of PD officer on Reference Check done");l(n,285,0,e.finalRemarksList);l(n,290,0,""!=n.context.$implicit.controls.reference_final_remarks.value);l(n,302,0,"optblue","md-trash");l(n,310,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,9,1,[fP._32(n,10)._control.errorState,fP._32(n,10)._control.errorState,fP._32(n,10)._canLabelFloat,fP._32(n,10)._shouldLabelFloat(),fP._32(n,10)._hideControlPlaceholder(),fP._32(n,10)._control.disabled,fP._32(n,10)._control.focused,"primary"==fP._32(n,10).color,"accent"==fP._32(n,10).color,"warn"==fP._32(n,10).color,fP._32(n,10)._shouldForward("untouched"),fP._32(n,10)._shouldForward("touched"),fP._32(n,10)._shouldForward("pristine"),fP._32(n,10)._shouldForward("dirty"),fP._32(n,10)._shouldForward("valid"),fP._32(n,10)._shouldForward("invalid"),fP._32(n,10)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()]);l(n,29,1,[fP._32(n,30)._control.errorState,fP._32(n,30)._control.errorState,fP._32(n,30)._canLabelFloat,fP._32(n,30)._shouldLabelFloat(),fP._32(n,30)._hideControlPlaceholder(),fP._32(n,30)._control.disabled,fP._32(n,30)._control.focused,"primary"==fP._32(n,30).color,"accent"==fP._32(n,30).color,"warn"==fP._32(n,30).color,fP._32(n,30)._shouldForward("untouched"),fP._32(n,30)._shouldForward("touched"),fP._32(n,30)._shouldForward("pristine"),fP._32(n,30)._shouldForward("dirty"),fP._32(n,30)._shouldForward("valid"),fP._32(n,30)._shouldForward("invalid"),fP._32(n,30)._shouldForward("pending")]);l(n,39,1,[fP._32(n,45).ngClassUntouched,fP._32(n,45).ngClassTouched,fP._32(n,45).ngClassPristine,fP._32(n,45).ngClassDirty,fP._32(n,45).ngClassValid,fP._32(n,45).ngClassInvalid,fP._32(n,45).ngClassPending,fP._32(n,46)._isServer,fP._32(n,46).id,fP._32(n,46).placeholder,fP._32(n,46).disabled,fP._32(n,46).required,fP._32(n,46).readonly,fP._32(n,46)._ariaDescribedby||null,fP._32(n,46).errorState,fP._32(n,46).required.toString()]);l(n,59,1,[fP._32(n,60)._control.errorState,fP._32(n,60)._control.errorState,fP._32(n,60)._canLabelFloat,fP._32(n,60)._shouldLabelFloat(),fP._32(n,60)._hideControlPlaceholder(),fP._32(n,60)._control.disabled,fP._32(n,60)._control.focused,"primary"==fP._32(n,60).color,"accent"==fP._32(n,60).color,"warn"==fP._32(n,60).color,fP._32(n,60)._shouldForward("untouched"),fP._32(n,60)._shouldForward("touched"),fP._32(n,60)._shouldForward("pristine"),fP._32(n,60)._shouldForward("dirty"),fP._32(n,60)._shouldForward("valid"),fP._32(n,60)._shouldForward("invalid"),fP._32(n,60)._shouldForward("pending")]);l(n,69,1,[fP._32(n,72).minlength?fP._32(n,72).minlength:null,fP._32(n,73).maxlength?fP._32(n,73).maxlength:null,fP._32(n,78).ngClassUntouched,fP._32(n,78).ngClassTouched,fP._32(n,78).ngClassPristine,fP._32(n,78).ngClassDirty,fP._32(n,78).ngClassValid,fP._32(n,78).ngClassInvalid,fP._32(n,78).ngClassPending,fP._32(n,79)._isServer,fP._32(n,79).id,fP._32(n,79).placeholder,fP._32(n,79).disabled,fP._32(n,79).required,fP._32(n,79).readonly,fP._32(n,79)._ariaDescribedby||null,fP._32(n,79).errorState,fP._32(n,79).required.toString()]);l(n,83,1,[fP._32(n,84)._control.errorState,fP._32(n,84)._control.errorState,fP._32(n,84)._canLabelFloat,fP._32(n,84)._shouldLabelFloat(),fP._32(n,84)._hideControlPlaceholder(),fP._32(n,84)._control.disabled,fP._32(n,84)._control.focused,"primary"==fP._32(n,84).color,"accent"==fP._32(n,84).color,"warn"==fP._32(n,84).color,fP._32(n,84)._shouldForward("untouched"),fP._32(n,84)._shouldForward("touched"),fP._32(n,84)._shouldForward("pristine"),fP._32(n,84)._shouldForward("dirty"),fP._32(n,84)._shouldForward("valid"),fP._32(n,84)._shouldForward("invalid"),fP._32(n,84)._shouldForward("pending")]);l(n,93,1,[fP._32(n,96).minlength?fP._32(n,96).minlength:null,fP._32(n,97).maxlength?fP._32(n,97).maxlength:null,fP._32(n,102).ngClassUntouched,fP._32(n,102).ngClassTouched,fP._32(n,102).ngClassPristine,fP._32(n,102).ngClassDirty,fP._32(n,102).ngClassValid,fP._32(n,102).ngClassInvalid,fP._32(n,102).ngClassPending,fP._32(n,103)._isServer,fP._32(n,103).id,fP._32(n,103).placeholder,fP._32(n,103).disabled,fP._32(n,103).required,fP._32(n,103).readonly,fP._32(n,103)._ariaDescribedby||null,fP._32(n,103).errorState,fP._32(n,103).required.toString()]);l(n,107,1,[fP._32(n,108)._control.errorState,fP._32(n,108)._control.errorState,fP._32(n,108)._canLabelFloat,fP._32(n,108)._shouldLabelFloat(),fP._32(n,108)._hideControlPlaceholder(),fP._32(n,108)._control.disabled,fP._32(n,108)._control.focused,"primary"==fP._32(n,108).color,"accent"==fP._32(n,108).color,"warn"==fP._32(n,108).color,fP._32(n,108)._shouldForward("untouched"),fP._32(n,108)._shouldForward("touched"),fP._32(n,108)._shouldForward("pristine"),fP._32(n,108)._shouldForward("dirty"),fP._32(n,108)._shouldForward("valid"),fP._32(n,108)._shouldForward("invalid"),fP._32(n,108)._shouldForward("pending")]);l(n,117,1,[fP._32(n,122).ngClassUntouched,fP._32(n,122).ngClassTouched,fP._32(n,122).ngClassPristine,fP._32(n,122).ngClassDirty,fP._32(n,122).ngClassValid,fP._32(n,122).ngClassInvalid,fP._32(n,122).ngClassPending,fP._32(n,123)._isServer,fP._32(n,123).id,fP._32(n,123).placeholder,fP._32(n,123).disabled,fP._32(n,123).required,fP._32(n,123).readonly,fP._32(n,123)._ariaDescribedby||null,fP._32(n,123).errorState,fP._32(n,123).required.toString()]);l(n,127,1,[fP._32(n,128)._control.errorState,fP._32(n,128)._control.errorState,fP._32(n,128)._canLabelFloat,fP._32(n,128)._shouldLabelFloat(),fP._32(n,128)._hideControlPlaceholder(),fP._32(n,128)._control.disabled,fP._32(n,128)._control.focused,"primary"==fP._32(n,128).color,"accent"==fP._32(n,128).color,"warn"==fP._32(n,128).color,fP._32(n,128)._shouldForward("untouched"),fP._32(n,128)._shouldForward("touched"),fP._32(n,128)._shouldForward("pristine"),fP._32(n,128)._shouldForward("dirty"),fP._32(n,128)._shouldForward("valid"),fP._32(n,128)._shouldForward("invalid"),fP._32(n,128)._shouldForward("pending")]);l(n,137,1,[fP._32(n,140).ngClassUntouched,fP._32(n,140).ngClassTouched,fP._32(n,140).ngClassPristine,fP._32(n,140).ngClassDirty,fP._32(n,140).ngClassValid,fP._32(n,140).ngClassInvalid,fP._32(n,140).ngClassPending,fP._32(n,141).id,fP._32(n,141).tabIndex,fP._32(n,141)._ariaLabel,fP._32(n,141).ariaLabelledby,fP._32(n,141).required.toString(),fP._32(n,141).disabled.toString(),fP._32(n,141).errorState,fP._32(n,141).panelOpen?fP._32(n,141)._optionIds:null,fP._32(n,141).multiple,fP._32(n,141)._ariaDescribedby||null,fP._32(n,141)._getAriaActiveDescendant(),fP._32(n,141).disabled,fP._32(n,141).errorState,fP._32(n,141).required]);l(n,148,0,fP._32(n,149)._getTabIndex(),fP._32(n,149).selected,fP._32(n,149).multiple,fP._32(n,149).active,fP._32(n,149).id,fP._32(n,149).selected.toString(),fP._32(n,149).disabled.toString(),fP._32(n,149).disabled);l(n,163,1,[fP._32(n,164)._control.errorState,fP._32(n,164)._control.errorState,fP._32(n,164)._canLabelFloat,fP._32(n,164)._shouldLabelFloat(),fP._32(n,164)._hideControlPlaceholder(),fP._32(n,164)._control.disabled,fP._32(n,164)._control.focused,"primary"==fP._32(n,164).color,"accent"==fP._32(n,164).color,"warn"==fP._32(n,164).color,fP._32(n,164)._shouldForward("untouched"),fP._32(n,164)._shouldForward("touched"),fP._32(n,164)._shouldForward("pristine"),fP._32(n,164)._shouldForward("dirty"),fP._32(n,164)._shouldForward("valid"),fP._32(n,164)._shouldForward("invalid"),fP._32(n,164)._shouldForward("pending")]);l(n,173,1,[fP._32(n,179).ngClassUntouched,fP._32(n,179).ngClassTouched,fP._32(n,179).ngClassPristine,fP._32(n,179).ngClassDirty,fP._32(n,179).ngClassValid,fP._32(n,179).ngClassInvalid,fP._32(n,179).ngClassPending,fP._32(n,180)._isServer,fP._32(n,180).id,fP._32(n,180).placeholder,fP._32(n,180).disabled,fP._32(n,180).required,fP._32(n,180).readonly,fP._32(n,180)._ariaDescribedby||null,fP._32(n,180).errorState,fP._32(n,180).required.toString()]);l(n,184,1,[fP._32(n,185)._control.errorState,fP._32(n,185)._control.errorState,fP._32(n,185)._canLabelFloat,fP._32(n,185)._shouldLabelFloat(),fP._32(n,185)._hideControlPlaceholder(),fP._32(n,185)._control.disabled,fP._32(n,185)._control.focused,"primary"==fP._32(n,185).color,"accent"==fP._32(n,185).color,"warn"==fP._32(n,185).color,fP._32(n,185)._shouldForward("untouched"),fP._32(n,185)._shouldForward("touched"),fP._32(n,185)._shouldForward("pristine"),fP._32(n,185)._shouldForward("dirty"),fP._32(n,185)._shouldForward("valid"),fP._32(n,185)._shouldForward("invalid"),fP._32(n,185)._shouldForward("pending")]);l(n,194,1,[fP._32(n,200).ngClassUntouched,fP._32(n,200).ngClassTouched,fP._32(n,200).ngClassPristine,fP._32(n,200).ngClassDirty,fP._32(n,200).ngClassValid,fP._32(n,200).ngClassInvalid,fP._32(n,200).ngClassPending,fP._32(n,201)._isServer,fP._32(n,201).id,fP._32(n,201).placeholder,fP._32(n,201).disabled,fP._32(n,201).required,fP._32(n,201).readonly,fP._32(n,201)._ariaDescribedby||null,fP._32(n,201).errorState,fP._32(n,201).required.toString()]);l(n,205,1,[fP._32(n,206)._control.errorState,fP._32(n,206)._control.errorState,fP._32(n,206)._canLabelFloat,fP._32(n,206)._shouldLabelFloat(),fP._32(n,206)._hideControlPlaceholder(),fP._32(n,206)._control.disabled,fP._32(n,206)._control.focused,"primary"==fP._32(n,206).color,"accent"==fP._32(n,206).color,"warn"==fP._32(n,206).color,fP._32(n,206)._shouldForward("untouched"),fP._32(n,206)._shouldForward("touched"),fP._32(n,206)._shouldForward("pristine"),fP._32(n,206)._shouldForward("dirty"),fP._32(n,206)._shouldForward("valid"),fP._32(n,206)._shouldForward("invalid"),fP._32(n,206)._shouldForward("pending")]);l(n,215,1,[fP._32(n,220).ngClassUntouched,fP._32(n,220).ngClassTouched,fP._32(n,220).ngClassPristine,fP._32(n,220).ngClassDirty,fP._32(n,220).ngClassValid,fP._32(n,220).ngClassInvalid,fP._32(n,220).ngClassPending,fP._32(n,221)._isServer,fP._32(n,221).id,fP._32(n,221).placeholder,fP._32(n,221).disabled,fP._32(n,221).required,fP._32(n,221).readonly,fP._32(n,221)._ariaDescribedby||null,fP._32(n,221).errorState,fP._32(n,221).required.toString()]);l(n,226,1,[fP._32(n,227)._control.errorState,fP._32(n,227)._control.errorState,fP._32(n,227)._canLabelFloat,fP._32(n,227)._shouldLabelFloat(),fP._32(n,227)._hideControlPlaceholder(),fP._32(n,227)._control.disabled,fP._32(n,227)._control.focused,"primary"==fP._32(n,227).color,"accent"==fP._32(n,227).color,"warn"==fP._32(n,227).color,fP._32(n,227)._shouldForward("untouched"),fP._32(n,227)._shouldForward("touched"),fP._32(n,227)._shouldForward("pristine"),fP._32(n,227)._shouldForward("dirty"),fP._32(n,227)._shouldForward("valid"),fP._32(n,227)._shouldForward("invalid"),fP._32(n,227)._shouldForward("pending")]);l(n,236,1,[fP._32(n,239).ngClassUntouched,fP._32(n,239).ngClassTouched,fP._32(n,239).ngClassPristine,fP._32(n,239).ngClassDirty,fP._32(n,239).ngClassValid,fP._32(n,239).ngClassInvalid,fP._32(n,239).ngClassPending,fP._32(n,240).id,fP._32(n,240).tabIndex,fP._32(n,240)._ariaLabel,fP._32(n,240).ariaLabelledby,fP._32(n,240).required.toString(),fP._32(n,240).disabled.toString(),fP._32(n,240).errorState,fP._32(n,240).panelOpen?fP._32(n,240)._optionIds:null,fP._32(n,240).multiple,fP._32(n,240)._ariaDescribedby||null,fP._32(n,240)._getAriaActiveDescendant(),fP._32(n,240).disabled,fP._32(n,240).errorState,fP._32(n,240).required]);l(n,247,0,fP._32(n,248)._getTabIndex(),fP._32(n,248).selected,fP._32(n,248).multiple,fP._32(n,248).active,fP._32(n,248).id,fP._32(n,248).selected.toString(),fP._32(n,248).disabled.toString(),fP._32(n,248).disabled);l(n,259,1,[fP._32(n,260)._control.errorState,fP._32(n,260)._control.errorState,fP._32(n,260)._canLabelFloat,fP._32(n,260)._shouldLabelFloat(),fP._32(n,260)._hideControlPlaceholder(),fP._32(n,260)._control.disabled,fP._32(n,260)._control.focused,"primary"==fP._32(n,260).color,"accent"==fP._32(n,260).color,"warn"==fP._32(n,260).color,fP._32(n,260)._shouldForward("untouched"),fP._32(n,260)._shouldForward("touched"),fP._32(n,260)._shouldForward("pristine"),fP._32(n,260)._shouldForward("dirty"),fP._32(n,260)._shouldForward("valid"),fP._32(n,260)._shouldForward("invalid"),fP._32(n,260)._shouldForward("pending")]);l(n,269,1,[fP._32(n,272).ngClassUntouched,fP._32(n,272).ngClassTouched,fP._32(n,272).ngClassPristine,fP._32(n,272).ngClassDirty,fP._32(n,272).ngClassValid,fP._32(n,272).ngClassInvalid,fP._32(n,272).ngClassPending,fP._32(n,273).id,fP._32(n,273).tabIndex,fP._32(n,273)._ariaLabel,fP._32(n,273).ariaLabelledby,fP._32(n,273).required.toString(),fP._32(n,273).disabled.toString(),fP._32(n,273).errorState,fP._32(n,273).panelOpen?fP._32(n,273)._optionIds:null,fP._32(n,273).multiple,fP._32(n,273)._ariaDescribedby||null,fP._32(n,273)._getAriaActiveDescendant(),fP._32(n,273).disabled,fP._32(n,273).errorState,fP._32(n,273).required]);l(n,280,0,fP._32(n,281)._getTabIndex(),fP._32(n,281).selected,fP._32(n,281).multiple,fP._32(n,281).active,fP._32(n,281).id,fP._32(n,281).selected.toString(),fP._32(n,281).disabled.toString(),fP._32(n,281).disabled);l(n,301,0,fP._32(n,302)._hidden)})}function Rx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,7,"div",[["formArrayName","referencecheck_list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(4,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(6,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bx)),fP._17(9,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"referencecheck_list");l(n,9,0,e.neighbourhoodForm.controls.referencecheck_list.controls)},function(l,n){l(n,3,0,fP._32(n,6).ngClassUntouched,fP._32(n,6).ngClassTouched,fP._32(n,6).ngClassPristine,fP._32(n,6).ngClassDirty,fP._32(n,6).ngClassValid,fP._32(n,6).ngClassInvalid,fP._32(n,6).ngClassPending)})}function Ux(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[174,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Remarks is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Mx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,49,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Px)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Tx)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Rx)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(17,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(19,0,null,0,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(20,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,171,{_control:0}),fP._38(335544320,172,{_placeholderChild:0}),fP._38(335544320,173,{_labelChild:0}),fP._38(603979776,174,{_errorChildren:1}),fP._38(603979776,175,{_hintChildren:1}),fP._38(603979776,176,{_prefixChildren:1}),fP._38(603979776,177,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbour_reference_remark"],["matInput",""],["name","neighbour_reference_remark"],["placeholder","Remarks"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,30)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,30).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,30)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,30)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,37)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,37)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,37)._onInput()&&u}return u},null,null)),fP._17(30,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(31,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(34,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(36,16384,null,0,EP.s,[EP.r],null,null),fP._17(37,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[171,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Ux)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,3,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(46,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.neighbourhoodForm);l(n,8,0,0==e.neighbourhoodForm.get("check_type").value);l(n,11,0,0==e.neighbourhoodForm.controls.check_type.value);l(n,14,0,1==e.neighbourhoodForm.get("check_type").value);l(n,31,0,"");l(n,34,0,"neighbour_reference_remark");l(n,37,0,"Remarks","","text");l(n,41,0,null==e.neighbourhoodForm.controls.neighbour_reference_remark.errors?null:e.neighbourhoodForm.controls.neighbour_reference_remark.errors.required)},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,19,1,[fP._32(n,20)._control.errorState,fP._32(n,20)._control.errorState,fP._32(n,20)._canLabelFloat,fP._32(n,20)._shouldLabelFloat(),fP._32(n,20)._hideControlPlaceholder(),fP._32(n,20)._control.disabled,fP._32(n,20)._control.focused,"primary"==fP._32(n,20).color,"accent"==fP._32(n,20).color,"warn"==fP._32(n,20).color,fP._32(n,20)._shouldForward("untouched"),fP._32(n,20)._shouldForward("touched"),fP._32(n,20)._shouldForward("pristine"),fP._32(n,20)._shouldForward("dirty"),fP._32(n,20)._shouldForward("valid"),fP._32(n,20)._shouldForward("invalid"),fP._32(n,20)._shouldForward("pending")]);l(n,29,1,[fP._32(n,31).required?"":null,fP._32(n,36).ngClassUntouched,fP._32(n,36).ngClassTouched,fP._32(n,36).ngClassPristine,fP._32(n,36).ngClassDirty,fP._32(n,36).ngClassValid,fP._32(n,36).ngClassInvalid,fP._32(n,36).ngClassPending,fP._32(n,37)._isServer,fP._32(n,37).id,fP._32(n,37).placeholder,fP._32(n,37).disabled,fP._32(n,37).required,fP._32(n,37).readonly,fP._32(n,37)._ariaDescribedby||null,fP._32(n,37).errorState,fP._32(n,37).required.toString()])})}function Kx(l){return fP._42(0,[fP._34(0,mD.u,[]),(l()(),fP._18(1,0,null,null,52,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,32,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(18,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(19,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(20,0,[" ",""])),(l()(),fP._40(-1,3,["\n \n "])),(l()(),fP._18(22,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(23,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(29,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(30,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,ZF)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(39,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,46).onClick()&&u}return u},dV.b,dV.a)),fP._17(46,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,50).onClick()&&u}return u},dV.b,dV.a)),fP._17(50,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(55,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(56,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(58,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(59,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sx)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mx)),fP._17(65,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,30,0,"md-camera");l(n,34,0,!e.complete_status);l(n,39,0,e.tab);l(n,42,0,"optblue");l(n,46,0,"0");l(n,50,0,"1");l(n,59,0,e.tab);l(n,62,0,"1");l(n,65,0,"0")},function(l,n){var e=n.component;l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,20,0,e.FormId.form_name);l(n,29,0,fP._32(n,30)._hidden);l(n,38,0,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._disabled);l(n,45,0,fP._32(n,46)._disabled,fP._32(n,46).isActive,fP._32(n,46).isActive);l(n,49,0,fP._32(n,50)._disabled,fP._32(n,50).isActive,fP._32(n,50).isActive);l(n,55,0,fP._32(n,56).statusbarPadding,fP._32(n,56)._hasRefresher)})}function Hx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Gx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveFinalRemark()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function zx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function Yx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Qx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Jx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Xx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yx)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Qx)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jx)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Zx(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xx)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function lk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function nk(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ek(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lk)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,nk)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function uk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ek)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function tk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function ak(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zx)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Zx)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,uk)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,tk)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function ik(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.customer_behaviour_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,1==n.context.$implicit.customer_behaviour_id?"Other Negative Behaviour":n.context.$implicit.description)})}function ok(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[7,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Customer Behaviour\n is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function rk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,14,{_control:0}),fP._38(335544320,15,{_placeholderChild:0}),fP._38(335544320,16,{_labelChild:0}),fP._38(603979776,17,{_errorChildren:1}),fP._38(603979776,18,{_hintChildren:1}),fP._38(603979776,19,{_prefixChildren:1}),fP._38(603979776,20,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_other_customer_behaviour"],["matInput",""],["placeholder","Specify Customer Behaviour"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[14,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"final_other_customer_behaviour");l(n,16,0,"Specify Customer Behaviour")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function _k(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[38,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pdofficer_recommendation_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.pdofficer_recommendation)})}function dk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,41,{_control:0}),fP._38(335544320,42,{_placeholderChild:0}),fP._38(335544320,43,{_labelChild:0}),fP._38(603979776,44,{_errorChildren:1}),fP._38(603979776,45,{_hintChildren:1}),fP._38(603979776,46,{_prefixChildren:1}),fP._38(603979776,47,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_pd_officers_recommendation"],["matInput",""],["placeholder","Specify PD Officers Recommendation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[41,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_pd_officers_recommendation");l(n,16,0,"Specify PD Officers Recommendation")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function sk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRecomendationPositive(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function ck(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRecomendationPositive()&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function mk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,48,{_control:0}),fP._38(335544320,49,{_placeholderChild:0}),fP._38(335544320,50,{_labelChild:0}),fP._38(603979776,51,{_errorChildren:1}),fP._38(603979776,52,{_hintChildren:1}),fP._38(603979776,53,{_prefixChildren:1}),fP._38(603979776,54,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(16,16384,[[49,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Reason for Marking PD Status as Positive"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_positive"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],null,null),fP._37(2048,[[48,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(30,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,55,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,sk)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ck)),fP._17(37,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_positive"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_positive").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()])})}function pk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","recommendation_positive"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mk)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_positive");l(n,8,0,e._finalRemarkForm.get("recommendation_positive").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function fk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRecomendationNegative(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function hk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRecomendationNegative()&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function gk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,56,{_control:0}),fP._38(335544320,57,{_placeholderChild:0}),fP._38(335544320,58,{_labelChild:0}),fP._38(603979776,59,{_errorChildren:1}),fP._38(603979776,60,{_hintChildren:1}),fP._38(603979776,61,{_prefixChildren:1}),fP._38(603979776,62,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(16,16384,[[57,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Reasons for marking PD status as Negative"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_negative"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],null,null),fP._37(2048,[[56,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(30,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,63,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,fk)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,hk)),fP._17(37,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_negative"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_negative").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()])})}function bk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","recommendation_negative"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gk)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_negative");l(n,8,0,e._finalRemarkForm.get("recommendation_negative").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function vk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRecomendationCreditRefer(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function yk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRecomendationCreditRefer()&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function Ck(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,39,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,64,{_control:0}),fP._38(335544320,65,{_placeholderChild:0}),fP._38(335544320,66,{_labelChild:0}),fP._38(603979776,67,{_errorChildren:1}),fP._38(603979776,68,{_hintChildren:1}),fP._38(603979776,69,{_prefixChildren:1}),fP._38(603979776,70,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(16,16384,[[65,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Reasons for marking PD status as Refer to Credit"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_refer_to_credit"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(20,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],null,null),fP._37(2048,[[64,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(30,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,71,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vk)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,yk)),fP._17(37,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_refer_to_credit"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_refer_to_credit").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,19,1,[fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()])})}function wk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,7,"div",[["formArrayName","recommendation_refer_to_credit"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ck)),fP._17(8,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_refer_to_credit");l(n,8,0,e._finalRemarkForm.get("recommendation_refer_to_credit").controls)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending)})}function Fk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[79,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function xk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["required",""]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,82,{_control:0}),fP._38(335544320,83,{_placeholderChild:0}),fP._38(335544320,84,{_labelChild:0}),fP._38(603979776,85,{_errorChildren:1}),fP._38(603979776,86,{_hintChildren:1}),fP._38(603979776,87,{_prefixChildren:1}),fP._38(603979776,88,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_transport"],["matInput",""],["placeholder","Specify the Mode of Transport"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[82,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n"]))],function(l,n){l(n,13,0,"others_transport");l(n,16,0,"Specify the Mode of Transport","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function kk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,12,"div",[["class","toggle"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,9,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","is_competition"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.clixChange(e.checked,1)&&u}return u},LV.b,LV.a)),fP._17(3,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},{change:"change"}),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(5,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(7,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["\n Is there Competition to the applicant’s business in the location "])),(l()(),fP._18(9,0,null,0,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(10,null,["( "," )"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"primary");l(n,5,0,"is_competition")},function(l,n){var e=n.component;l(n,2,1,[fP._32(n,3).id,fP._32(n,3).indeterminate,fP._32(n,3).checked,fP._32(n,3).disabled,"before"==fP._32(n,3).labelPosition,fP._32(n,7).ngClassUntouched,fP._32(n,7).ngClassTouched,fP._32(n,7).ngClassPristine,fP._32(n,7).ngClassDirty,fP._32(n,7).ngClassValid,fP._32(n,7).ngClassInvalid,fP._32(n,7).ngClassPending]);l(n,10,0,!0===e._finalRemarkForm.value.is_competition?"Yes":"No")})}function Sk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[93,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Approximate Number is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Ik(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,90,{_control:0}),fP._38(335544320,91,{_placeholderChild:0}),fP._38(335544320,92,{_labelChild:0}),fP._38(603979776,93,{_errorChildren:1}),fP._38(603979776,94,{_hintChildren:1}),fP._38(603979776,95,{_prefixChildren:1}),fP._38(603979776,96,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","appx_outlet_or_stores"],["matInput",""],["placeholder","Approximate No of similar outlets / stores seen by PD officer during the visit to that location"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,19)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(13,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(16,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(18,16384,null,0,EP.s,[EP.r],null,null),fP._17(19,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[90,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Sk)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,16,0,"appx_outlet_or_stores");l(n,19,0,"Approximate No of similar outlets / stores seen by PD officer during the visit to that location","","number");l(n,23,0,e._finalRemarkForm.controls.appx_outlet_or_stores.hasError("required"))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).required?"":null,fP._32(n,18).ngClassUntouched,fP._32(n,18).ngClassTouched,fP._32(n,18).ngClassPristine,fP._32(n,18).ngClassDirty,fP._32(n,18).ngClassValid,fP._32(n,18).ngClassInvalid,fP._32(n,18).ngClassPending,fP._32(n,19)._isServer,fP._32(n,19).id,fP._32(n,19).placeholder,fP._32(n,19).disabled,fP._32(n,19).required,fP._32(n,19).readonly,fP._32(n,19)._ariaDescribedby||null,fP._32(n,19).errorState,fP._32(n,19).required.toString()])})}function qk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"div",[["class","toggle"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","demolition_activity"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.clixChange(e.checked,2)&&u}return u},LV.b,LV.a)),fP._17(3,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},{change:"change"}),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(5,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(7,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["\n Any demolition activity seen in the locality by PD officer "])),(l()(),fP._18(9,0,null,0,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(10,null,["( "," )"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"primary");l(n,5,0,"demolition_activity")},function(l,n){var e=n.component;l(n,2,1,[fP._32(n,3).id,fP._32(n,3).indeterminate,fP._32(n,3).checked,fP._32(n,3).disabled,"before"==fP._32(n,3).labelPosition,fP._32(n,7).ngClassUntouched,fP._32(n,7).ngClassTouched,fP._32(n,7).ngClassPristine,fP._32(n,7).ngClassDirty,fP._32(n,7).ngClassValid,fP._32(n,7).ngClassInvalid,fP._32(n,7).ngClassPending]);l(n,10,0,!0===e._finalRemarkForm.value.demolition_activity?"Yes":"No")})}function Pk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[100,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,[" Comment Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Dk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,97,{_control:0}),fP._38(335544320,98,{_placeholderChild:0}),fP._38(335544320,99,{_labelChild:0}),fP._38(603979776,100,{_errorChildren:1}),fP._38(603979776,101,{_hintChildren:1}),fP._38(603979776,102,{_prefixChildren:1}),fP._38(603979776,103,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comment_of_demolition_activity"],["matInput",""],["placeholder","Specify The Demolition Activity Comment"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[97,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Pk)),fP._17(22,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"");l(n,15,0,"comment_of_demolition_activity");l(n,18,0,"Specify The Demolition Activity Comment","","text");l(n,22,0,e._finalRemarkForm.controls.comment_of_demolition_activity.hasError("required"))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,12).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function Tk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["class","imgcenter"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component._finalRemarkForm.controls.demolition_activity_pic.value,""))})}function Ok(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Demolition Activity Locality\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function Lk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[["float-center",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Tk)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ok)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Demolition Activity Locality Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(1)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e._finalRemarkForm.controls.demolition_activity_pic.value);l(n,6,0,""===e._finalRemarkForm.controls.demolition_activity_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function Ak(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[["float-center",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Lk)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component._finalRemarkForm.controls.demolition_activity_pic)},null)}function Vk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,Dk)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ak)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,e._finalRemarkForm.controls.comment_of_demolition_activity);l(n,14,0,e._finalRemarkForm.controls.demolition_activity_pic)},null)}function Nk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,8,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","sealing_activity"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.clixChange(e.checked,3)&&u}return u},LV.b,LV.a)),fP._17(3,4374528,null,0,AV.b,[fP.p,fP.i,UA.j,[8,null],[2,AV.a]],{color:[0,"color"]},{change:"change"}),fP._37(1024,null,EP.q,function(l){return[l]},[AV.b]),fP._17(5,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(7,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,0,["\n Any sealing activity observed in the locality by PD office "])),(l()(),fP._18(9,0,null,0,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(10,null,["( "," )"])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"primary");l(n,5,0,"sealing_activity")},function(l,n){var e=n.component;l(n,2,1,[fP._32(n,3).id,fP._32(n,3).indeterminate,fP._32(n,3).checked,fP._32(n,3).disabled,"before"==fP._32(n,3).labelPosition,fP._32(n,7).ngClassUntouched,fP._32(n,7).ngClassTouched,fP._32(n,7).ngClassPristine,fP._32(n,7).ngClassDirty,fP._32(n,7).ngClassValid,fP._32(n,7).ngClassInvalid,fP._32(n,7).ngClassPending]);l(n,10,0,!0===e._finalRemarkForm.value.sealing_activity?"Yes":"No")})}function Wk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[107,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,[" Comment Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function Ek(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,104,{_control:0}),fP._38(335544320,105,{_placeholderChild:0}),fP._38(335544320,106,{_labelChild:0}),fP._38(603979776,107,{_errorChildren:1}),fP._38(603979776,108,{_hintChildren:1}),fP._38(603979776,109,{_prefixChildren:1}),fP._38(603979776,110,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comment_of_sealing_activity"],["matInput",""],["placeholder","Specify The Sealing Activity Comment "],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),fP._37(2048,[[104,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,Wk)),fP._17(22,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"");l(n,15,0,"comment_of_sealing_activity");l(n,18,0,"Specify The Sealing Activity Comment ","","text");l(n,22,0,e._finalRemarkForm.controls.comment_of_sealing_activity.hasError("required"))},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,12).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function jk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"img",[["class","imgcenter"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,3).onClick(e)&&u}return u},null,null)),fP._17(3,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"")},function(l,n){l(n,2,0,fP._21(1,"",n.component._finalRemarkForm.controls.sealing_activity_pic.value,""))})}function $k(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"label",[["style","display: block; text-align: center !important;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Sealing Activity Locality\n Image "])),(l()(),fP._40(-1,null,["\n "]))],null,null)}function Bk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,13,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jk)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$k)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(8,0,null,null,4,"div",[["style","text-align: -webkit-center;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"],["title","Click Here For Sealing Activity Locality Image"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.ImageUpload(2)&&u}return u},null,null)),fP._17(11,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,3,0,""!==e._finalRemarkForm.controls.sealing_activity_pic.value);l(n,6,0,""===e._finalRemarkForm.controls.sealing_activity_pic.value);l(n,11,0,"md-camera")},function(l,n){l(n,10,0,fP._32(n,11)._hidden)})}function Rk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bk)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.component._finalRemarkForm.controls.sealing_activity_pic)},null)}function Uk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,Ek)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rk)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,e._finalRemarkForm.controls.comment_of_sealing_activity);l(n,14,0,e._finalRemarkForm.controls.sealing_activity_pic)},null)}function Mk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,57,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.g,[],null,null),(l()(),fP._40(-1,null,["CLIX"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,25,"mat-radio-group",[["class","mat-radio-group"],["formControlName","outlet_location"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(12,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,89,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(19,0,null,null,1,"mat-radio-button",[["class","outlet mat-radio-button"],["value","heavy_footfall"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,20)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(20,4440064,[[89,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._18(21,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Heavy Footfall ( lots of customers in the locality / marketplace )."])),(l()(),fP._18(23,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,1,"mat-radio-button",[["class","outlet mat-radio-button"],["value","medium_footfall"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,26)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(26,4440064,[[89,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._18(27,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Medium Footfall ( Medium no of customers in the locality / marketplace )."])),(l()(),fP._18(29,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,1,"mat-radio-button",[["class","outlet mat-radio-button"],["value","low_footfall"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,32)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(32,4440064,[[89,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._18(33,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Low Footfall ( Few customers seen in the locality / marketplace )."])),(l()(),fP._18(35,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(37,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,kk)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Ik)),fP._17(43,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n\n "])),(l()(),fP._13(16777216,null,null,1,null,qk)),fP._17(46,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Vk)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Nk)),fP._17(52,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Uk)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,15,0,"outlet_location");l(n,20,0,"heavy_footfall");l(n,26,0,"medium_footfall");l(n,32,0,"low_footfall");l(n,40,0,e._finalRemarkForm.controls.is_competition);l(n,43,0,e._finalRemarkForm.controls.appx_outlet_or_stores);l(n,46,0,e._finalRemarkForm.controls.demolition_activity);l(n,49,0,e._finalRemarkForm.controls.comment_of_demolition_activity);l(n,52,0,e._finalRemarkForm.controls.sealing_activity);l(n,55,0,e._finalRemarkForm.controls.comment_of_sealing_activity)},function(l,n){l(n,11,0,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending);l(n,19,0,fP._32(n,20).checked,fP._32(n,20).disabled,fP._32(n,20).id);l(n,25,0,fP._32(n,26).checked,fP._32(n,26).disabled,fP._32(n,26).id);l(n,31,0,fP._32(n,32).checked,fP._32(n,32).disabled,fP._32(n,32).id)})}function Kk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,236,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,42,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,38,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","final_custormer_remark_type"],["placeholder","Customer Behaviour"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,26)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(23,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(25,16384,null,0,EP.s,[EP.r],null,null),fP._17(26,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,11,{options:1}),fP._38(603979776,12,{optionGroups:1}),fP._38(335544320,13,{customTrigger:0}),fP._37(2048,[[4,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,34)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(34,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ik)),fP._17(38,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ok)),fP._17(42,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rk)),fP._17(46,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(50,0,null,null,150,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(51,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(53,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(54,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n Location\n "])),(l()(),fP._18(56,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(58,0,null,0,141,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(59,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(61,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(62,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(71,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),fP._17(72,16384,[[22,4]],0,EA.g,[],null,null),(l()(),fP._40(-1,null,["Is the location of the business / profession suited to the nature of business / service provided? "])),(l()(),fP._18(74,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","is_service_provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,82)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,82)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,82)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(77,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(79,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(81,16384,null,0,EP.s,[EP.r],null,null),fP._17(82,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{required:[0,"required"]},null),fP._38(603979776,28,{options:1}),fP._38(603979776,29,{optionGroups:1}),fP._38(335544320,30,{customTrigger:0}),fP._37(2048,[[21,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(89,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,90)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,90)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(90,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,[" \n \n "])),(l()(),fP._18(93,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","well_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,94)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,94)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(94,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Well Suited"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(97,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fairly_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,98)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(98,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Fairly Suited"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","not_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,102)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(102,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Not Suited"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(108,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,31,{_control:0}),fP._38(335544320,32,{_placeholderChild:0}),fP._38(335544320,33,{_labelChild:0}),fP._38(603979776,34,{_errorChildren:1}),fP._38(603979776,35,{_hintChildren:1}),fP._38(603979776,36,{_prefixChildren:1}),fP._38(603979776,37,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(117,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_officers_recommendation"],["placeholder","PD Officers Recommendation"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,123)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,123)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,123)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.RecommendationChange(e.value)&&u}return u},tN.b,tN.a)),fP._17(118,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(120,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(122,16384,null,0,EP.s,[EP.r],null,null),fP._17(123,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,38,{options:1}),fP._38(603979776,39,{optionGroups:1}),fP._38(335544320,40,{customTrigger:0}),fP._37(2048,[[31,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(130,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,131)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,131)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(131,8437760,[[38,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._13(16777216,null,1,1,null,_k)),fP._17(135,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dk)),fP._17(140,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._13(16777216,null,null,1,null,pk)),fP._17(143,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._13(16777216,null,null,1,null,bk)),fP._17(146,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._13(16777216,null,null,1,null,wk)),fP._17(149,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(150,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(152,0,null,null,9,"mat-label",[["float-right",""]],null,null,null,null,null)),fP._17(153,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Was the PD Address Outside Geographic Limit (OGL)\n "])),(l()(),fP._18(155,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","was_the_pd_address_ogl"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,sN.b,sN.a)),fP._17(156,1228800,null,0,cN.a,[fP.p,jP.a,UA.j,fP.i,[8,null]],{color:[0,"color"]},null),fP._37(1024,null,EP.q,function(l){return[l]},[cN.a]),fP._17(158,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(160,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(162,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(164,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(165,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,72,{_control:0}),fP._38(335544320,73,{_placeholderChild:0}),fP._38(335544320,74,{_labelChild:0}),fP._38(603979776,75,{_errorChildren:1}),fP._38(603979776,76,{_hintChildren:1}),fP._38(603979776,77,{_prefixChildren:1}),fP._38(603979776,78,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(174,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","mode_of_transport_during_visit"],["placeholder","Mode Of Transport used to visit the PD Address"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,180)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,180)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,180)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setValidation()&&u}return u},tN.b,tN.a)),fP._17(175,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(177,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(179,16384,null,0,EP.s,[EP.r],null,null),fP._17(180,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,79,{options:1}),fP._38(603979776,80,{optionGroups:1}),fP._38(335544320,81,{customTrigger:0}),fP._37(2048,[[72,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(187,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,188)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,188)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(188,8437760,[[79,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Fk)),fP._17(192,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._13(16777216,null,null,1,null,xk)),fP._17(197,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mk)),fP._17(203,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(205,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(206,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(208,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(209,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,111,{_control:0}),fP._38(335544320,112,{_placeholderChild:0}),fP._38(335544320,113,{_labelChild:0}),fP._38(603979776,114,{_errorChildren:1}),fP._38(603979776,115,{_hintChildren:1}),fP._38(603979776,116,{_prefixChildren:1}),fP._38(603979776,117,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(218,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(219,16384,[[113,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Other Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(222,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_form_remarks"],["matInput",""],["placeholder","Other Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,223)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,223).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,223)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,223)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,228)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,228)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,228)._onInput()&&u}return u},null,null)),fP._17(223,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(225,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(227,16384,null,0,EP.s,[EP.r],null,null),fP._17(228,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[111,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(233,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(234,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e._finalRemarkForm);l(n,23,0,"final_custormer_remark_type");l(n,26,0,"Customer Behaviour");l(n,38,0,e.m_remarkTypeCustomerBehaviour);l(n,42,0,null==e._finalRemarkForm.controls.final_custormer_remark_type.errors?null:e._finalRemarkForm.controls.final_custormer_remark_type.errors.required);l(n,46,0,1==e._finalRemarkForm.controls.final_custormer_remark_type.value);l(n,77,0,"");l(n,79,0,"is_service_provided");l(n,82,0,"");l(n,94,0,"well_suited");l(n,98,0,"fairly_suited");l(n,102,0,"not_suited");l(n,118,0,"");l(n,120,0,"pd_officers_recommendation");l(n,123,0,"PD Officers Recommendation","");l(n,135,0,e.m_recommendationList);l(n,140,0,1==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,143,0,2==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,146,0,3==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,149,0,4==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,156,0,"primary");l(n,158,0,"was_the_pd_address_ogl");l(n,175,0,"");l(n,177,0,"mode_of_transport_during_visit");l(n,180,0,"Mode Of Transport used to visit the PD Address","");l(n,192,0,e.mode_of_transport_values);l(n,197,0,"others"==e._finalRemarkForm.value.mode_of_transport_during_visit);l(n,203,0,"CLIX"==e.lender_short_name||"LAEP"==e.product_abbr);l(n,225,0,"final_form_remarks");l(n,228,0,"Other Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,25).ngClassUntouched,fP._32(n,25).ngClassTouched,fP._32(n,25).ngClassPristine,fP._32(n,25).ngClassDirty,fP._32(n,25).ngClassValid,fP._32(n,25).ngClassInvalid,fP._32(n,25).ngClassPending,fP._32(n,26).id,fP._32(n,26).tabIndex,fP._32(n,26)._ariaLabel,fP._32(n,26).ariaLabelledby,fP._32(n,26).required.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).errorState,fP._32(n,26).panelOpen?fP._32(n,26)._optionIds:null,fP._32(n,26).multiple,fP._32(n,26)._ariaDescribedby||null,fP._32(n,26)._getAriaActiveDescendant(),fP._32(n,26).disabled,fP._32(n,26).errorState,fP._32(n,26).required]);l(n,33,0,fP._32(n,34)._getTabIndex(),fP._32(n,34).selected,fP._32(n,34).multiple,fP._32(n,34).active,fP._32(n,34).id,fP._32(n,34).selected.toString(),fP._32(n,34).disabled.toString(),fP._32(n,34).disabled);l(n,61,1,[fP._32(n,62)._control.errorState,fP._32(n,62)._control.errorState,fP._32(n,62)._canLabelFloat,fP._32(n,62)._shouldLabelFloat(),fP._32(n,62)._hideControlPlaceholder(),fP._32(n,62)._control.disabled,fP._32(n,62)._control.focused,"primary"==fP._32(n,62).color,"accent"==fP._32(n,62).color,"warn"==fP._32(n,62).color,fP._32(n,62)._shouldForward("untouched"),fP._32(n,62)._shouldForward("touched"),fP._32(n,62)._shouldForward("pristine"),fP._32(n,62)._shouldForward("dirty"),fP._32(n,62)._shouldForward("valid"),fP._32(n,62)._shouldForward("invalid"),fP._32(n,62)._shouldForward("pending")]);l(n,76,1,[fP._32(n,77).required?"":null,fP._32(n,81).ngClassUntouched,fP._32(n,81).ngClassTouched,fP._32(n,81).ngClassPristine,fP._32(n,81).ngClassDirty,fP._32(n,81).ngClassValid,fP._32(n,81).ngClassInvalid,fP._32(n,81).ngClassPending,fP._32(n,82).id,fP._32(n,82).tabIndex,fP._32(n,82)._ariaLabel,fP._32(n,82).ariaLabelledby,fP._32(n,82).required.toString(),fP._32(n,82).disabled.toString(),fP._32(n,82).errorState,fP._32(n,82).panelOpen?fP._32(n,82)._optionIds:null,fP._32(n,82).multiple,fP._32(n,82)._ariaDescribedby||null,fP._32(n,82)._getAriaActiveDescendant(),fP._32(n,82).disabled,fP._32(n,82).errorState,fP._32(n,82).required]);l(n,89,0,fP._32(n,90)._getTabIndex(),fP._32(n,90).selected,fP._32(n,90).multiple,fP._32(n,90).active,fP._32(n,90).id,fP._32(n,90).selected.toString(),fP._32(n,90).disabled.toString(),fP._32(n,90).disabled);l(n,93,0,fP._32(n,94)._getTabIndex(),fP._32(n,94).selected,fP._32(n,94).multiple,fP._32(n,94).active,fP._32(n,94).id,fP._32(n,94).selected.toString(),fP._32(n,94).disabled.toString(),fP._32(n,94).disabled);l(n,97,0,fP._32(n,98)._getTabIndex(),fP._32(n,98).selected,fP._32(n,98).multiple,fP._32(n,98).active,fP._32(n,98).id,fP._32(n,98).selected.toString(),fP._32(n,98).disabled.toString(),fP._32(n,98).disabled);l(n,101,0,fP._32(n,102)._getTabIndex(),fP._32(n,102).selected,fP._32(n,102).multiple,fP._32(n,102).active,fP._32(n,102).id,fP._32(n,102).selected.toString(),fP._32(n,102).disabled.toString(),fP._32(n,102).disabled);l(n,107,1,[fP._32(n,108)._control.errorState,fP._32(n,108)._control.errorState,fP._32(n,108)._canLabelFloat,fP._32(n,108)._shouldLabelFloat(),fP._32(n,108)._hideControlPlaceholder(),fP._32(n,108)._control.disabled,fP._32(n,108)._control.focused,"primary"==fP._32(n,108).color,"accent"==fP._32(n,108).color,"warn"==fP._32(n,108).color,fP._32(n,108)._shouldForward("untouched"),fP._32(n,108)._shouldForward("touched"),fP._32(n,108)._shouldForward("pristine"),fP._32(n,108)._shouldForward("dirty"),fP._32(n,108)._shouldForward("valid"),fP._32(n,108)._shouldForward("invalid"),fP._32(n,108)._shouldForward("pending")]);l(n,117,1,[fP._32(n,118).required?"":null,fP._32(n,122).ngClassUntouched,fP._32(n,122).ngClassTouched,fP._32(n,122).ngClassPristine,fP._32(n,122).ngClassDirty,fP._32(n,122).ngClassValid,fP._32(n,122).ngClassInvalid,fP._32(n,122).ngClassPending,fP._32(n,123).id,fP._32(n,123).tabIndex,fP._32(n,123)._ariaLabel,fP._32(n,123).ariaLabelledby,fP._32(n,123).required.toString(),fP._32(n,123).disabled.toString(),fP._32(n,123).errorState,fP._32(n,123).panelOpen?fP._32(n,123)._optionIds:null,fP._32(n,123).multiple,fP._32(n,123)._ariaDescribedby||null,fP._32(n,123)._getAriaActiveDescendant(),fP._32(n,123).disabled,fP._32(n,123).errorState,fP._32(n,123).required]);l(n,130,0,fP._32(n,131)._getTabIndex(),fP._32(n,131).selected,fP._32(n,131).multiple,fP._32(n,131).active,fP._32(n,131).id,fP._32(n,131).selected.toString(),fP._32(n,131).disabled.toString(),fP._32(n,131).disabled);l(n,155,1,[fP._32(n,156).id,fP._32(n,156).checked,fP._32(n,156).disabled,"before"==fP._32(n,156).labelPosition,fP._32(n,160).ngClassUntouched,fP._32(n,160).ngClassTouched,fP._32(n,160).ngClassPristine,fP._32(n,160).ngClassDirty,fP._32(n,160).ngClassValid,fP._32(n,160).ngClassInvalid,fP._32(n,160).ngClassPending]);l(n,164,1,[fP._32(n,165)._control.errorState,fP._32(n,165)._control.errorState,fP._32(n,165)._canLabelFloat,fP._32(n,165)._shouldLabelFloat(),fP._32(n,165)._hideControlPlaceholder(),fP._32(n,165)._control.disabled,fP._32(n,165)._control.focused,"primary"==fP._32(n,165).color,"accent"==fP._32(n,165).color,"warn"==fP._32(n,165).color,fP._32(n,165)._shouldForward("untouched"),fP._32(n,165)._shouldForward("touched"),fP._32(n,165)._shouldForward("pristine"),fP._32(n,165)._shouldForward("dirty"),fP._32(n,165)._shouldForward("valid"),fP._32(n,165)._shouldForward("invalid"),fP._32(n,165)._shouldForward("pending")]);l(n,174,1,[fP._32(n,175).required?"":null,fP._32(n,179).ngClassUntouched,fP._32(n,179).ngClassTouched,fP._32(n,179).ngClassPristine,fP._32(n,179).ngClassDirty,fP._32(n,179).ngClassValid,fP._32(n,179).ngClassInvalid,fP._32(n,179).ngClassPending,fP._32(n,180).id,fP._32(n,180).tabIndex,fP._32(n,180)._ariaLabel,fP._32(n,180).ariaLabelledby,fP._32(n,180).required.toString(),fP._32(n,180).disabled.toString(),fP._32(n,180).errorState,fP._32(n,180).panelOpen?fP._32(n,180)._optionIds:null,fP._32(n,180).multiple,fP._32(n,180)._ariaDescribedby||null,fP._32(n,180)._getAriaActiveDescendant(),fP._32(n,180).disabled,fP._32(n,180).errorState,fP._32(n,180).required]);l(n,187,0,fP._32(n,188)._getTabIndex(),fP._32(n,188).selected,fP._32(n,188).multiple,fP._32(n,188).active,fP._32(n,188).id,fP._32(n,188).selected.toString(),fP._32(n,188).disabled.toString(),fP._32(n,188).disabled);l(n,208,1,[fP._32(n,209)._control.errorState,fP._32(n,209)._control.errorState,fP._32(n,209)._canLabelFloat,fP._32(n,209)._shouldLabelFloat(),fP._32(n,209)._hideControlPlaceholder(),fP._32(n,209)._control.disabled,fP._32(n,209)._control.focused,"primary"==fP._32(n,209).color,"accent"==fP._32(n,209).color,"warn"==fP._32(n,209).color,fP._32(n,209)._shouldForward("untouched"),fP._32(n,209)._shouldForward("touched"),fP._32(n,209)._shouldForward("pristine"),fP._32(n,209)._shouldForward("dirty"),fP._32(n,209)._shouldForward("valid"),fP._32(n,209)._shouldForward("invalid"),fP._32(n,209)._shouldForward("pending")]);l(n,222,1,[fP._32(n,227).ngClassUntouched,fP._32(n,227).ngClassTouched,fP._32(n,227).ngClassPristine,fP._32(n,227).ngClassDirty,fP._32(n,227).ngClassValid,fP._32(n,227).ngClassInvalid,fP._32(n,227).ngClassPending,fP._32(n,228)._isServer,fP._32(n,228).id,fP._32(n,228).placeholder,fP._32(n,228).disabled,fP._32(n,228).required,fP._32(n,228).readonly,fP._32(n,228)._ariaDescribedby||null,fP._32(n,228).errorState,fP._32(n,228).required.toString()])})}function Hk(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Hx)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(27,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(28,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,Gx)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(37,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(39,16384,null,0,EP.s,[EP.r],null,null),fP._17(40,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(43,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,44).onClick()&&u}return u},dV.b,dV.a)),fP._17(44,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(47,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,48).onClick()&&u}return u},dV.b,dV.a)),fP._17(48,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(53,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(54,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(56,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(57,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,ak)),fP._17(60,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n \n"])),(l()(),fP._13(16777216,null,null,1,null,Kk)),fP._17(63,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,28,0,"md-camera");l(n,32,0,!e.complete_status);l(n,37,0,e.tab);l(n,40,0,"optblue");l(n,44,0,"0");l(n,48,0,"1");l(n,57,0,e.tab);l(n,60,0,"1");l(n,63,0,"0")},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,27,0,fP._32(n,28)._hidden);l(n,36,0,fP._32(n,39).ngClassUntouched,fP._32(n,39).ngClassTouched,fP._32(n,39).ngClassPristine,fP._32(n,39).ngClassDirty,fP._32(n,39).ngClassValid,fP._32(n,39).ngClassInvalid,fP._32(n,39).ngClassPending,fP._32(n,40)._disabled);l(n,43,0,fP._32(n,44)._disabled,fP._32(n,44).isActive,fP._32(n,44).isActive);l(n,47,0,fP._32(n,48)._disabled,fP._32(n,48).isActive,fP._32(n,48).isActive);l(n,53,0,fP._32(n,54).statusbarPadding,fP._32(n,54)._hasRefresher)})}function Gk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveFuturePlan()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,4,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(5,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"fn-save")},function(l,n){l(n,4,0,fP._32(n,5)._hidden)})}function zk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the\n camera button above to capture"]))],null,null)}function Yk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Qk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Jk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Xk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yk)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Qk)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jk)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Zk(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xk)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function lS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function nS(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function eS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lS)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,nS)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,5,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(17,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,17,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,16,0,fP._32(n,17)._hidden)})}function uS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eS)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function tS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function aS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zk)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Zk)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,uS)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._13(16777216,null,0,1,null,tS)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function iS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[7,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["USP of the\n business Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function oS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[14,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["\n Future plans for business expansion Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function rS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[21,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Impact\n of GST on the business Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function _S(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[28,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Key Competitors\n Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function dS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[35,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Succession plan\n Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function sS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[42,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["\n Brief of Other Group Concerns / Businesses run by the applicants Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function cS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,179,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,144,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(7,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(9,0,null,0,140,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(10,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(13,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","usp_of_the_business"],["matInput",""],["placeholder","USP of the business - How is the applicants business different from others in the same line of business?"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,28)._onInput()&&u}return u},null,null)),fP._17(23,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(25,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(27,16384,null,0,EP.s,[EP.r],null,null),fP._17(28,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[4,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,iS)),fP._17(32,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(35,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(36,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","future_plans_for_business_expansion"],["matInput",""],["placeholder","Future plans for business expansion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,51)._onInput()&&u}return u},null,null)),fP._17(46,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(48,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(50,16384,null,0,EP.s,[EP.r],null,null),fP._17(51,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[11,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,oS)),fP._17(55,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(58,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(59,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,18,{_control:0}),fP._38(335544320,19,{_placeholderChild:0}),fP._38(335544320,20,{_labelChild:0}),fP._38(603979776,21,{_errorChildren:1}),fP._38(603979776,22,{_hintChildren:1}),fP._38(603979776,23,{_prefixChildren:1}),fP._38(603979776,24,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(68,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","impact_of_gst_on_the_business"],["matInput",""],["placeholder","Impact of GST on the business"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,74)._onInput()&&u}return u},null,null)),fP._17(69,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(71,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(73,16384,null,0,EP.s,[EP.r],null,null),fP._17(74,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[18,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,rS)),fP._17(78,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(81,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(82,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,25,{_control:0}),fP._38(335544320,26,{_placeholderChild:0}),fP._38(335544320,27,{_labelChild:0}),fP._38(603979776,28,{_errorChildren:1}),fP._38(603979776,29,{_hintChildren:1}),fP._38(603979776,30,{_prefixChildren:1}),fP._38(603979776,31,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(91,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","key_competitors"],["matInput",""],["placeholder","Key Competitors"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,92)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,92).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,92)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,92)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,97)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,97)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,97)._onInput()&&u}return u},null,null)),fP._17(92,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(94,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(96,16384,null,0,EP.s,[EP.r],null,null),fP._17(97,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[25,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,_S)),fP._17(101,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(104,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(105,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,32,{_control:0}),fP._38(335544320,33,{_placeholderChild:0}),fP._38(335544320,34,{_labelChild:0}),fP._38(603979776,35,{_errorChildren:1}),fP._38(603979776,36,{_hintChildren:1}),fP._38(603979776,37,{_prefixChildren:1}),fP._38(603979776,38,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(114,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","succession_plan"],["matInput",""],["placeholder","Succession plan - who will look after the business after applicants retire / are unable to run the business due to any reason?"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,115)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,115).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,115)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,115)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,120)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,120)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,120)._onInput()&&u}return u},null,null)),fP._17(115,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(117,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(119,16384,null,0,EP.s,[EP.r],null,null),fP._17(120,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[32,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,dS)),fP._17(124,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(127,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(128,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(137,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","brief_of_other_group_concerns_or_businesses_run_by_the_applicants"],["matInput",""],["placeholder","Brief of Other Group Concerns / Businesses run by the applicants"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,138)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,138).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,138)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,138)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,143)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,143)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,143)._onInput()&&u}return u},null,null)),fP._17(138,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(140,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(142,16384,null,0,EP.s,[EP.r],null,null),fP._17(143,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[39,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,sS)),fP._17(147,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(152,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(153,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(155,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(156,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(165,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(166,16384,[[48,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Other Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(169,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","remarks"],["matInput",""],["placeholder","Other Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,170)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,170).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,170)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,170)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,175)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,175)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,175)._onInput()&&u}return u},null,null)),fP._17(170,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(172,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(174,16384,null,0,EP.s,[EP.r],null,null),fP._17(175,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[46,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,2,0,e._futurePlansForm);l(n,25,0,"usp_of_the_business");l(n,28,0,"USP of the business - How is the applicants business different from others in the same line of business?");l(n,32,0,e._futurePlansForm.controls.usp_of_the_business.hasError("required"));l(n,48,0,"future_plans_for_business_expansion");l(n,51,0,"Future plans for business expansion");l(n,55,0,e._futurePlansForm.controls.future_plans_for_business_expansion.hasError("required"));l(n,71,0,"impact_of_gst_on_the_business");l(n,74,0,"Impact of GST on the business");l(n,78,0,e._futurePlansForm.controls.impact_of_gst_on_the_business.hasError("required"));l(n,94,0,"key_competitors");l(n,97,0,"Key Competitors");l(n,101,0,e._futurePlansForm.controls.key_competitors.hasError("required"));l(n,117,0,"succession_plan");l(n,120,0,"Succession plan - who will look after the business after applicants retire / are unable to run the business due to any reason?");l(n,124,0,e._futurePlansForm.controls.succession_plan.hasError("required"));l(n,140,0,"brief_of_other_group_concerns_or_businesses_run_by_the_applicants");l(n,143,0,"Brief of Other Group Concerns / Businesses run by the applicants");l(n,147,0,e._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.hasError("required"));l(n,172,0,"remarks");l(n,175,0,"Other Remarks")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,12,1,[fP._32(n,13)._control.errorState,fP._32(n,13)._control.errorState,fP._32(n,13)._canLabelFloat,fP._32(n,13)._shouldLabelFloat(),fP._32(n,13)._hideControlPlaceholder(),fP._32(n,13)._control.disabled,fP._32(n,13)._control.focused,"primary"==fP._32(n,13).color,"accent"==fP._32(n,13).color,"warn"==fP._32(n,13).color,fP._32(n,13)._shouldForward("untouched"),fP._32(n,13)._shouldForward("touched"),fP._32(n,13)._shouldForward("pristine"),fP._32(n,13)._shouldForward("dirty"),fP._32(n,13)._shouldForward("valid"),fP._32(n,13)._shouldForward("invalid"),fP._32(n,13)._shouldForward("pending")]);l(n,22,1,[fP._32(n,27).ngClassUntouched,fP._32(n,27).ngClassTouched,fP._32(n,27).ngClassPristine,fP._32(n,27).ngClassDirty,fP._32(n,27).ngClassValid,fP._32(n,27).ngClassInvalid,fP._32(n,27).ngClassPending,fP._32(n,28)._isServer,fP._32(n,28).id,fP._32(n,28).placeholder,fP._32(n,28).disabled,fP._32(n,28).required,fP._32(n,28).readonly,fP._32(n,28)._ariaDescribedby||null,fP._32(n,28).errorState,fP._32(n,28).required.toString()]);l(n,35,1,[fP._32(n,36)._control.errorState,fP._32(n,36)._control.errorState,fP._32(n,36)._canLabelFloat,fP._32(n,36)._shouldLabelFloat(),fP._32(n,36)._hideControlPlaceholder(),fP._32(n,36)._control.disabled,fP._32(n,36)._control.focused,"primary"==fP._32(n,36).color,"accent"==fP._32(n,36).color,"warn"==fP._32(n,36).color,fP._32(n,36)._shouldForward("untouched"),fP._32(n,36)._shouldForward("touched"),fP._32(n,36)._shouldForward("pristine"),fP._32(n,36)._shouldForward("dirty"),fP._32(n,36)._shouldForward("valid"),fP._32(n,36)._shouldForward("invalid"),fP._32(n,36)._shouldForward("pending")]);l(n,45,1,[fP._32(n,50).ngClassUntouched,fP._32(n,50).ngClassTouched,fP._32(n,50).ngClassPristine,fP._32(n,50).ngClassDirty,fP._32(n,50).ngClassValid,fP._32(n,50).ngClassInvalid,fP._32(n,50).ngClassPending,fP._32(n,51)._isServer,fP._32(n,51).id,fP._32(n,51).placeholder,fP._32(n,51).disabled,fP._32(n,51).required,fP._32(n,51).readonly,fP._32(n,51)._ariaDescribedby||null,fP._32(n,51).errorState,fP._32(n,51).required.toString()]);l(n,58,1,[fP._32(n,59)._control.errorState,fP._32(n,59)._control.errorState,fP._32(n,59)._canLabelFloat,fP._32(n,59)._shouldLabelFloat(),fP._32(n,59)._hideControlPlaceholder(),fP._32(n,59)._control.disabled,fP._32(n,59)._control.focused,"primary"==fP._32(n,59).color,"accent"==fP._32(n,59).color,"warn"==fP._32(n,59).color,fP._32(n,59)._shouldForward("untouched"),fP._32(n,59)._shouldForward("touched"),fP._32(n,59)._shouldForward("pristine"),fP._32(n,59)._shouldForward("dirty"),fP._32(n,59)._shouldForward("valid"),fP._32(n,59)._shouldForward("invalid"),fP._32(n,59)._shouldForward("pending")]);l(n,68,1,[fP._32(n,73).ngClassUntouched,fP._32(n,73).ngClassTouched,fP._32(n,73).ngClassPristine,fP._32(n,73).ngClassDirty,fP._32(n,73).ngClassValid,fP._32(n,73).ngClassInvalid,fP._32(n,73).ngClassPending,fP._32(n,74)._isServer,fP._32(n,74).id,fP._32(n,74).placeholder,fP._32(n,74).disabled,fP._32(n,74).required,fP._32(n,74).readonly,fP._32(n,74)._ariaDescribedby||null,fP._32(n,74).errorState,fP._32(n,74).required.toString()]);l(n,81,1,[fP._32(n,82)._control.errorState,fP._32(n,82)._control.errorState,fP._32(n,82)._canLabelFloat,fP._32(n,82)._shouldLabelFloat(),fP._32(n,82)._hideControlPlaceholder(),fP._32(n,82)._control.disabled,fP._32(n,82)._control.focused,"primary"==fP._32(n,82).color,"accent"==fP._32(n,82).color,"warn"==fP._32(n,82).color,fP._32(n,82)._shouldForward("untouched"),fP._32(n,82)._shouldForward("touched"),fP._32(n,82)._shouldForward("pristine"),fP._32(n,82)._shouldForward("dirty"),fP._32(n,82)._shouldForward("valid"),fP._32(n,82)._shouldForward("invalid"),fP._32(n,82)._shouldForward("pending")]);l(n,91,1,[fP._32(n,96).ngClassUntouched,fP._32(n,96).ngClassTouched,fP._32(n,96).ngClassPristine,fP._32(n,96).ngClassDirty,fP._32(n,96).ngClassValid,fP._32(n,96).ngClassInvalid,fP._32(n,96).ngClassPending,fP._32(n,97)._isServer,fP._32(n,97).id,fP._32(n,97).placeholder,fP._32(n,97).disabled,fP._32(n,97).required,fP._32(n,97).readonly,fP._32(n,97)._ariaDescribedby||null,fP._32(n,97).errorState,fP._32(n,97).required.toString()]);l(n,104,1,[fP._32(n,105)._control.errorState,fP._32(n,105)._control.errorState,fP._32(n,105)._canLabelFloat,fP._32(n,105)._shouldLabelFloat(),fP._32(n,105)._hideControlPlaceholder(),fP._32(n,105)._control.disabled,fP._32(n,105)._control.focused,"primary"==fP._32(n,105).color,"accent"==fP._32(n,105).color,"warn"==fP._32(n,105).color,fP._32(n,105)._shouldForward("untouched"),fP._32(n,105)._shouldForward("touched"),fP._32(n,105)._shouldForward("pristine"),fP._32(n,105)._shouldForward("dirty"),fP._32(n,105)._shouldForward("valid"),fP._32(n,105)._shouldForward("invalid"),fP._32(n,105)._shouldForward("pending")]);l(n,114,1,[fP._32(n,119).ngClassUntouched,fP._32(n,119).ngClassTouched,fP._32(n,119).ngClassPristine,fP._32(n,119).ngClassDirty,fP._32(n,119).ngClassValid,fP._32(n,119).ngClassInvalid,fP._32(n,119).ngClassPending,fP._32(n,120)._isServer,fP._32(n,120).id,fP._32(n,120).placeholder,fP._32(n,120).disabled,fP._32(n,120).required,fP._32(n,120).readonly,fP._32(n,120)._ariaDescribedby||null,fP._32(n,120).errorState,fP._32(n,120).required.toString()]);l(n,127,1,[fP._32(n,128)._control.errorState,fP._32(n,128)._control.errorState,fP._32(n,128)._canLabelFloat,fP._32(n,128)._shouldLabelFloat(),fP._32(n,128)._hideControlPlaceholder(),fP._32(n,128)._control.disabled,fP._32(n,128)._control.focused,"primary"==fP._32(n,128).color,"accent"==fP._32(n,128).color,"warn"==fP._32(n,128).color,fP._32(n,128)._shouldForward("untouched"),fP._32(n,128)._shouldForward("touched"),fP._32(n,128)._shouldForward("pristine"),fP._32(n,128)._shouldForward("dirty"),fP._32(n,128)._shouldForward("valid"),fP._32(n,128)._shouldForward("invalid"),fP._32(n,128)._shouldForward("pending")]);l(n,137,1,[fP._32(n,142).ngClassUntouched,fP._32(n,142).ngClassTouched,fP._32(n,142).ngClassPristine,fP._32(n,142).ngClassDirty,fP._32(n,142).ngClassValid,fP._32(n,142).ngClassInvalid,fP._32(n,142).ngClassPending,fP._32(n,143)._isServer,fP._32(n,143).id,fP._32(n,143).placeholder,fP._32(n,143).disabled,fP._32(n,143).required,fP._32(n,143).readonly,fP._32(n,143)._ariaDescribedby||null,fP._32(n,143).errorState,fP._32(n,143).required.toString()]);l(n,155,1,[fP._32(n,156)._control.errorState,fP._32(n,156)._control.errorState,fP._32(n,156)._canLabelFloat,fP._32(n,156)._shouldLabelFloat(),fP._32(n,156)._hideControlPlaceholder(),fP._32(n,156)._control.disabled,fP._32(n,156)._control.focused,"primary"==fP._32(n,156).color,"accent"==fP._32(n,156).color,"warn"==fP._32(n,156).color,fP._32(n,156)._shouldForward("untouched"),fP._32(n,156)._shouldForward("touched"),fP._32(n,156)._shouldForward("pristine"),fP._32(n,156)._shouldForward("dirty"),fP._32(n,156)._shouldForward("valid"),fP._32(n,156)._shouldForward("invalid"),fP._32(n,156)._shouldForward("pending")]);l(n,169,1,[fP._32(n,174).ngClassUntouched,fP._32(n,174).ngClassTouched,fP._32(n,174).ngClassPristine,fP._32(n,174).ngClassDirty,fP._32(n,174).ngClassValid,fP._32(n,174).ngClassInvalid,fP._32(n,174).ngClassPending,fP._32(n,175)._isServer,fP._32(n,175).id,fP._32(n,175).placeholder,fP._32(n,175).disabled,fP._32(n,175).required,fP._32(n,175).readonly,fP._32(n,175)._ariaDescribedby||null,fP._32(n,175).errorState,fP._32(n,175).required.toString()])})}function mS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,53,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,33,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(16,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(17,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(18,0,["",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,15,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(24,0,null,null,7,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,4,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(29,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,Gk)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(39,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,46).onClick()&&u}return u},dV.b,dV.a)),fP._17(46,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,50).onClick()&&u}return u},dV.b,dV.a)),fP._17(50,114688,[[3,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(55,0,null,null,13,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(56,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(58,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(59,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,aS)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,cS)),fP._17(65,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,29,0,"md-camera");l(n,34,0,!e.complete_status);l(n,39,0,e.tab);l(n,42,0,"optblue");l(n,46,0,"0");l(n,50,0,"1");l(n,59,0,e.tab);l(n,62,0,"1");l(n,65,0,"0")},function(l,n){var e=n.component;l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,28,0,fP._32(n,29)._hidden);l(n,38,0,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._disabled);l(n,45,0,fP._32(n,46)._disabled,fP._32(n,46).isActive,fP._32(n,46).isActive);l(n,49,0,fP._32(n,50)._disabled,fP._32(n,50).isActive,fP._32(n,50).isActive);l(n,55,0,fP._32(n,56).statusbarPadding,fP._32(n,56)._hasRefresher)})}function pS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function fS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[["class","ribbon answered"]],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.parent.context.index+1)})}function hS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[["class","ribbon notanswered"]],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.parent.context.index+1)})}function gS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"mat-card",[["class","item-ribbon mat-card"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.OnSelectBusinessGroupForms(l.parent.context.$implicit,l.parent.parent.context.$implicit)&&u}return u},LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,fS)),fP._17(5,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,hS)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(10,0,null,0,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(13,null,["",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.isAnswered);l(n,8,0,!n.parent.context.$implicit.isAnswered)},function(l,n){l(n,13,0,n.parent.context.$implicit.form_name)})}function bS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gS)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,1==n.context.$implicit.isAnswerable)},null)}function vS(l){return fP._42(0,[(l()(),fP._18(0,16777216,null,null,17,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(2,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],{expanded:[0,"expanded"]},null),fP._38(335544320,1,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(5,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,6)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,6)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(6,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(7,{collapsedHeight:0,expandedHeight:1}),fP._35(8,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(10,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(11,16384,null,0,SN.f,[],null,null),(l()(),fP._40(12,null,["\n ","\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,bS)),fP._17(16,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(0,null,null,0))],function(l,n){l(n,2,0,0==n.component.count);l(n,16,0,n.context.$implicit.form_status)},function(l,n){l(n,0,0,fP._32(n,2).expanded,fP._32(n,2)._hasSpacing());l(n,5,0,fP._32(n,6).panel._headerId,fP._32(n,6).panel.disabled?-1:0,fP._32(n,6)._getPanelId(),fP._32(n,6)._isExpanded(),fP._32(n,6).panel.disabled,fP._32(n,6)._isExpanded(),l(n,8,0,fP._32(n,6)._getExpandedState(),l(n,7,0,fP._32(n,6).collapsedHeight,fP._32(n,6).expandedHeight)));l(n,12,0,n.context.$implicit.company_name)})}function yS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),fP._17(1,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vS)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.existCompanyList)},null)}function CS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(2,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Business Related Information is Not Available.Please Check General Information"])),(l()(),fP._40(-1,null,["\n \n "]))],null,null)}function wS(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,pS)),fP._17(9,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(13,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(14,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,yS)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,CS)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,!e.viewchange);l(n,17,0,e.waitLoading&&e.existCompanyList.length>0);l(n,20,0,0==e.waitLoading&&0==e.existCompanyList.length)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,13,0,fP._32(n,14).statusbarPadding,fP._32(n,14)._hasRefresher)})}function FS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function xS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.onSubmit()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function kS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function SS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function IS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function qS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function PS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,SS)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,IS)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qS)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function DS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,PS)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function TS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function OS(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function LS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,TS)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,OS)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function AS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,LS)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function VS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function NS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kS)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,DS)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n\n "])),(l()(),fP._13(16777216,null,null,1,null,AS)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,VS)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function WS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),fP._40(1,null,["",""])),fP._36(2,1)],null,function(l,n){l(n,1,0,fP._41(n,1,0,l(n,2,0,fP._32(n.parent.parent.parent.parent,0),n.parent.context.$implicit.get("address_label").value)))})}function ES(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[32,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Field Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function jS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[42,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Remark is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function $S(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,[[1,0],["remarksFocus",1]],1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_pd_visited_remark"],["matInput",""],["placeholder","Remarks"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[39,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,jS)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "]))],function(l,n){l(n,12,0,"");l(n,15,0,"business_pd_visited_remark");l(n,18,0,"Remarks","");l(n,23,0,(null==n.parent.parent.context.$implicit.controls.business_pd_visited_remark.errors?null:n.parent.parent.context.$implicit.controls.business_pd_visited_remark.errors.required)||n.parent.parent.context.$implicit.controls.business_pd_visited_remark.touched)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,12).required?"":null,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()])})}function BS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[60,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwordsForAddress[n.parent.parent.parent.parent.context.index])})}function RS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,56,{_control:0}),fP._38(335544320,57,{_placeholderChild:0}),fP._38(335544320,58,{_labelChild:0}),fP._38(603979776,59,{_errorChildren:1}),fP._38(603979776,60,{_hintChildren:1}),fP._38(603979776,61,{_prefixChildren:1}),fP._38(603979776,62,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["type","numbers"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.parent.context.index,9)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[56,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,BS)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(23,16384,[[59,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Monthly Rent Amount Required"])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"business_monthly_rented_amt");l(n,16,0,"Monthly "+e.addressType+" Rent Amount","numbers");l(n,20,0,""!=n.parent.parent.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()]);l(n,22,0,fP._32(n,23).id)})}function US(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[67,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwordsForAddress[n.parent.parent.parent.parent.context.index])})}function MS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[77,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function KS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[78,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,MS)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function HS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,80,{_control:0}),fP._38(335544320,81,{_placeholderChild:0}),fP._38(335544320,82,{_labelChild:0}),fP._38(603979776,83,{_errorChildren:1}),fP._38(603979776,84,{_hintChildren:1}),fP._38(603979776,85,{_prefixChildren:1}),fP._38(603979776,86,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_name_of_the_other_owner"],["matInput",""],["placeholder","Specify Asset Owned Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[80,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_name_of_the_other_owner");l(n,16,0,"Specify Asset Owned Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function GS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,119,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(5,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,63,{_control:0}),fP._38(335544320,64,{_placeholderChild:0}),fP._38(335544320,65,{_labelChild:0}),fP._38(603979776,66,{_errorChildren:1}),fP._38(603979776,67,{_hintChildren:1}),fP._38(603979776,68,{_prefixChildren:1}),fP._38(603979776,69,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(14,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.parent.context.index,10)&&u}return u},null,null)),fP._17(15,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(16,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[63,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,US)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(28,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(29,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,70,{_control:0}),fP._38(335544320,71,{_placeholderChild:0}),fP._38(335544320,72,{_labelChild:0}),fP._38(603979776,73,{_errorChildren:1}),fP._38(603979776,74,{_hintChildren:1}),fP._38(603979776,75,{_prefixChildren:1}),fP._38(603979776,76,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_name_of_the_owner"],["multiple",""],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,43)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.parent.parent.context.$implicit,8,l.parent.parent.parent.context.index)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(40,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(42,16384,null,0,EP.s,[EP.r],null,null),fP._17(43,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,77,{options:1}),fP._38(603979776,78,{optionGroups:1}),fP._38(335544320,79,{customTrigger:0}),fP._37(2048,[[70,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,KS)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(54,16384,[[73,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Asset Owned by Required"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,HS)),fP._17(61,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(64,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(65,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,87,{_control:0}),fP._38(335544320,88,{_placeholderChild:0}),fP._38(335544320,89,{_labelChild:0}),fP._38(603979776,90,{_errorChildren:1}),fP._38(603979776,91,{_hintChildren:1}),fP._38(603979776,92,{_prefixChildren:1}),fP._38(603979776,93,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(74,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(75,16384,[[89,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Age of Asset in Years"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","2"],["minlength","1"],["placeholder","eg.99"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,79)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,79).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,79)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,79)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,87)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.parent.parent.context.index,3)&&u}return u},null,null)),fP._17(79,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(80,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(81,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(84,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(86,16384,null,0,EP.s,[EP.r],null,null),fP._17(87,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[87,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(92,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(93,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,94,{_control:0}),fP._38(335544320,95,{_placeholderChild:0}),fP._38(335544320,96,{_labelChild:0}),fP._38(603979776,97,{_errorChildren:1}),fP._38(603979776,98,{_hintChildren:1}),fP._38(603979776,99,{_prefixChildren:1}),fP._38(603979776,100,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(102,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(103,16384,[[96,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Purchase Year"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(106,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_purchase_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","numbers"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,107)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,107).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,107)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,107)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,115)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.parent.parent.context.index,4)&&u}return u},null,null)),fP._17(107,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(108,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(109,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(112,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(114,16384,null,0,EP.s,[EP.r],null,null),fP._17(115,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[94,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,18,0,"business_approximate_market_value");l(n,21,0,"Approximate Market Value","number");l(n,25,0,""!=n.parent.parent.parent.context.$implicit.get("business_approximate_market_value").value);l(n,40,0,"business_name_of_the_owner");l(n,43,0,e.addressType+" Owned by","",e.compareObjects);l(n,50,0,e.mergeCompanyApplicant);l(n,61,0,!0===e.checkOthers(n.parent.parent.parent.context.$implicit.get("business_name_of_the_owner").value));l(n,80,0,"1");l(n,81,0,"2");l(n,84,0,"business_vintage");l(n,87,0,"eg.99","tel");l(n,108,0,"4");l(n,109,0,"4");l(n,112,0,"business_purchase_year");l(n,115,0,"YYYY eg.2018","numbers")},function(l,n){l(n,4,1,[fP._32(n,5)._control.errorState,fP._32(n,5)._control.errorState,fP._32(n,5)._canLabelFloat,fP._32(n,5)._shouldLabelFloat(),fP._32(n,5)._hideControlPlaceholder(),fP._32(n,5)._control.disabled,fP._32(n,5)._control.focused,"primary"==fP._32(n,5).color,"accent"==fP._32(n,5).color,"warn"==fP._32(n,5).color,fP._32(n,5)._shouldForward("untouched"),fP._32(n,5)._shouldForward("touched"),fP._32(n,5)._shouldForward("pristine"),fP._32(n,5)._shouldForward("dirty"),fP._32(n,5)._shouldForward("valid"),fP._32(n,5)._shouldForward("invalid"),fP._32(n,5)._shouldForward("pending")]);l(n,14,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21)._isServer,fP._32(n,21).id,fP._32(n,21).placeholder,fP._32(n,21).disabled,fP._32(n,21).required,fP._32(n,21).readonly,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21).errorState,fP._32(n,21).required.toString()]);l(n,28,1,[fP._32(n,29)._control.errorState,fP._32(n,29)._control.errorState,fP._32(n,29)._canLabelFloat,fP._32(n,29)._shouldLabelFloat(),fP._32(n,29)._hideControlPlaceholder(),fP._32(n,29)._control.disabled,fP._32(n,29)._control.focused,"primary"==fP._32(n,29).color,"accent"==fP._32(n,29).color,"warn"==fP._32(n,29).color,fP._32(n,29)._shouldForward("untouched"),fP._32(n,29)._shouldForward("touched"),fP._32(n,29)._shouldForward("pristine"),fP._32(n,29)._shouldForward("dirty"),fP._32(n,29)._shouldForward("valid"),fP._32(n,29)._shouldForward("invalid"),fP._32(n,29)._shouldForward("pending")]);l(n,38,1,[fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending,fP._32(n,43).id,fP._32(n,43).tabIndex,fP._32(n,43)._ariaLabel,fP._32(n,43).ariaLabelledby,fP._32(n,43).required.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).errorState,fP._32(n,43).panelOpen?fP._32(n,43)._optionIds:null,fP._32(n,43).multiple,fP._32(n,43)._ariaDescribedby||null,fP._32(n,43)._getAriaActiveDescendant(),fP._32(n,43).disabled,fP._32(n,43).errorState,fP._32(n,43).required]);l(n,53,0,fP._32(n,54).id);l(n,64,1,[fP._32(n,65)._control.errorState,fP._32(n,65)._control.errorState,fP._32(n,65)._canLabelFloat,fP._32(n,65)._shouldLabelFloat(),fP._32(n,65)._hideControlPlaceholder(),fP._32(n,65)._control.disabled,fP._32(n,65)._control.focused,"primary"==fP._32(n,65).color,"accent"==fP._32(n,65).color,"warn"==fP._32(n,65).color,fP._32(n,65)._shouldForward("untouched"),fP._32(n,65)._shouldForward("touched"),fP._32(n,65)._shouldForward("pristine"),fP._32(n,65)._shouldForward("dirty"),fP._32(n,65)._shouldForward("valid"),fP._32(n,65)._shouldForward("invalid"),fP._32(n,65)._shouldForward("pending")]);l(n,78,1,[fP._32(n,80).minlength?fP._32(n,80).minlength:null,fP._32(n,81).maxlength?fP._32(n,81).maxlength:null,fP._32(n,86).ngClassUntouched,fP._32(n,86).ngClassTouched,fP._32(n,86).ngClassPristine,fP._32(n,86).ngClassDirty,fP._32(n,86).ngClassValid,fP._32(n,86).ngClassInvalid,fP._32(n,86).ngClassPending,fP._32(n,87)._isServer,fP._32(n,87).id,fP._32(n,87).placeholder,fP._32(n,87).disabled,fP._32(n,87).required,fP._32(n,87).readonly,fP._32(n,87)._ariaDescribedby||null,fP._32(n,87).errorState,fP._32(n,87).required.toString()]);l(n,92,1,[fP._32(n,93)._control.errorState,fP._32(n,93)._control.errorState,fP._32(n,93)._canLabelFloat,fP._32(n,93)._shouldLabelFloat(),fP._32(n,93)._hideControlPlaceholder(),fP._32(n,93)._control.disabled,fP._32(n,93)._control.focused,"primary"==fP._32(n,93).color,"accent"==fP._32(n,93).color,"warn"==fP._32(n,93).color,fP._32(n,93)._shouldForward("untouched"),fP._32(n,93)._shouldForward("touched"),fP._32(n,93)._shouldForward("pristine"),fP._32(n,93)._shouldForward("dirty"),fP._32(n,93)._shouldForward("valid"),fP._32(n,93)._shouldForward("invalid"),fP._32(n,93)._shouldForward("pending")]);l(n,106,1,[fP._32(n,108).minlength?fP._32(n,108).minlength:null,fP._32(n,109).maxlength?fP._32(n,109).maxlength:null,fP._32(n,114).ngClassUntouched,fP._32(n,114).ngClassTouched,fP._32(n,114).ngClassPristine,fP._32(n,114).ngClassDirty,fP._32(n,114).ngClassValid,fP._32(n,114).ngClassInvalid,fP._32(n,114).ngClassPending,fP._32(n,115)._isServer,fP._32(n,115).id,fP._32(n,115).placeholder,fP._32(n,115).disabled,fP._32(n,115).required,fP._32(n,115).readonly,fP._32(n,115)._ariaDescribedby||null,fP._32(n,115).errorState,fP._32(n,115).required.toString()])})}function zS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","business_emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,101,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(9,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(11,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,14)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(14,4440064,[[101,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,18)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(18,4440064,[[101,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"business_emi");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending);l(n,13,0,fP._32(n,14).checked,fP._32(n,14).disabled,fP._32(n,14).id);l(n,17,0,fP._32(n,18).checked,fP._32(n,18).disabled,fP._32(n,18).id)})}function YS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,51,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(4,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,46,{_control:0}),fP._38(335544320,47,{_placeholderChild:0}),fP._38(335544320,48,{_labelChild:0}),fP._38(603979776,49,{_errorChildren:1}),fP._38(603979776,50,{_hintChildren:1}),fP._38(603979776,51,{_prefixChildren:1}),fP._38(603979776,52,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(13,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","business_ownership_type"],["placeholder","Ownership Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,17)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.parent.context.$implicit,7)&&u}return u},tN.b,tN.a)),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,53,{options:1}),fP._38(603979776,54,{optionGroups:1}),fP._38(335544320,55,{customTrigger:0}),fP._37(2048,[[46,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,25)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,25)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(25,8437760,[[53,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","owned"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[53,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Owned"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rented"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,33)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(33,8437760,[[53,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Rented"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,RS)),fP._17(40,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,GS)),fP._17(43,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(46,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zS)),fP._17(49,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){l(n,14,0,"business_ownership_type");l(n,17,0,"Ownership Type");l(n,29,0,"owned");l(n,33,0,"rented");l(n,40,0,"rented"==n.parent.parent.context.$implicit.get("business_ownership_type").value);l(n,43,0,"owned"==n.parent.parent.context.$implicit.get("business_ownership_type").value);l(n,49,0,"owned"==n.parent.parent.context.$implicit.get("business_ownership_type").value)},function(l,n){l(n,3,1,[fP._32(n,4)._control.errorState,fP._32(n,4)._control.errorState,fP._32(n,4)._canLabelFloat,fP._32(n,4)._shouldLabelFloat(),fP._32(n,4)._hideControlPlaceholder(),fP._32(n,4)._control.disabled,fP._32(n,4)._control.focused,"primary"==fP._32(n,4).color,"accent"==fP._32(n,4).color,"warn"==fP._32(n,4).color,fP._32(n,4)._shouldForward("untouched"),fP._32(n,4)._shouldForward("touched"),fP._32(n,4)._shouldForward("pristine"),fP._32(n,4)._shouldForward("dirty"),fP._32(n,4)._shouldForward("valid"),fP._32(n,4)._shouldForward("invalid"),fP._32(n,4)._shouldForward("pending")]);l(n,13,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17).id,fP._32(n,17).tabIndex,fP._32(n,17)._ariaLabel,fP._32(n,17).ariaLabelledby,fP._32(n,17).required.toString(),fP._32(n,17).disabled.toString(),fP._32(n,17).errorState,fP._32(n,17).panelOpen?fP._32(n,17)._optionIds:null,fP._32(n,17).multiple,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17)._getAriaActiveDescendant(),fP._32(n,17).disabled,fP._32(n,17).errorState,fP._32(n,17).required]);l(n,24,0,fP._32(n,25)._getTabIndex(),fP._32(n,25).selected,fP._32(n,25).multiple,fP._32(n,25).active,fP._32(n,25).id,fP._32(n,25).selected.toString(),fP._32(n,25).disabled.toString(),fP._32(n,25).disabled);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,32,0,fP._32(n,33)._getTabIndex(),fP._32(n,33).selected,fP._32(n,33).multiple,fP._32(n,33).active,fP._32(n,33).id,fP._32(n,33).selected.toString(),fP._32(n,33).disabled.toString(),fP._32(n,33).disabled)})}function QS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,98,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["How long has business been operated from this premise?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(6,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,15,{_control:0}),fP._38(335544320,16,{_placeholderChild:0}),fP._38(335544320,17,{_labelChild:0}),fP._38(603979776,18,{_errorChildren:1}),fP._38(603979776,19,{_hintChildren:1}),fP._38(603979776,20,{_prefixChildren:1}),fP._38(603979776,21,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(15,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_years"],["matInput",""],["placeholder","Year(s)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,16)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,17).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,17).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,22)._onInput()&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(e.target.value,l.parent.context.index)&&u}return u},null,null)),fP._17(16,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(17,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[15,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size:12px;color: red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(26,16384,[[19,4]],0,EA.e,[],null,null),(l()(),fP._40(27,null,["",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["   \n "])),(l()(),fP._18(30,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(31,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,22,{_control:0}),fP._38(335544320,23,{_placeholderChild:0}),fP._38(335544320,24,{_labelChild:0}),fP._38(603979776,25,{_errorChildren:1}),fP._38(603979776,26,{_hintChildren:1}),fP._38(603979776,27,{_prefixChildren:1}),fP._38(603979776,28,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(40,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_month"],["matInput",""],["placeholder","Month(s)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,41)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,42).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,42).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,42).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,47)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(e.target.value,l.parent.context.index)&&u}return u},null,null)),fP._17(41,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(42,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(44,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(46,16384,null,0,EP.s,[EP.r],null,null),fP._17(47,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[22,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size:12px;color: red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(51,16384,[[26,4]],0,EA.e,[],null,null),(l()(),fP._40(52,null,["",""])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(55,0,null,null,36,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,29,{_control:0}),fP._38(335544320,30,{_placeholderChild:0}),fP._38(335544320,31,{_labelChild:0}),fP._38(603979776,32,{_errorChildren:1}),fP._38(603979776,33,{_hintChildren:1}),fP._38(603979776,34,{_prefixChildren:1}),fP._38(603979776,35,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","business_is_pd_visited"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,69)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,"",11,l.parent.context.index)&&u}return u},tN.b,tN.a)),fP._17(66,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(68,16384,null,0,EP.s,[EP.r],null,null),fP._17(69,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,36,{options:1}),fP._38(603979776,37,{optionGroups:1}),fP._38(335544320,38,{customTrigger:0}),fP._37(2048,[[29,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,77)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,77)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(77,8437760,[[36,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(80,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,81)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,81)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(81,8437760,[[36,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(84,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,85)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,85)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(85,8437760,[[36,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,ES)),fP._17(90,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,[" \n "])),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,$S)),fP._17(94,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,YS)),fP._17(97,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,19,0,"business_years");l(n,22,0,"Year(s)","number");l(n,44,0,"business_month");l(n,47,0,"Month(s)","number");l(n,66,0,"business_is_pd_visited");l(n,69,0,e.placeholderName[n.parent.context.index]?e.placeholderName[n.parent.context.index]:"Was any business activity seen at the Address Type during PD visit?");l(n,81,0,"yes");l(n,85,0,"no");l(n,90,0,n.parent.context.$implicit.get("business_is_pd_visited").value.valid);l(n,94,0,""!=n.parent.context.$implicit.get("business_is_pd_visited").value);l(n,97,0,"yes"==n.parent.context.$implicit.get("business_address_availability").value)},function(l,n){var e=n.component;l(n,5,1,[fP._32(n,6)._control.errorState,fP._32(n,6)._control.errorState,fP._32(n,6)._canLabelFloat,fP._32(n,6)._shouldLabelFloat(),fP._32(n,6)._hideControlPlaceholder(),fP._32(n,6)._control.disabled,fP._32(n,6)._control.focused,"primary"==fP._32(n,6).color,"accent"==fP._32(n,6).color,"warn"==fP._32(n,6).color,fP._32(n,6)._shouldForward("untouched"),fP._32(n,6)._shouldForward("touched"),fP._32(n,6)._shouldForward("pristine"),fP._32(n,6)._shouldForward("dirty"),fP._32(n,6)._shouldForward("valid"),fP._32(n,6)._shouldForward("invalid"),fP._32(n,6)._shouldForward("pending")]);l(n,15,1,[fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22)._isServer,fP._32(n,22).id,fP._32(n,22).placeholder,fP._32(n,22).disabled,fP._32(n,22).required,fP._32(n,22).readonly,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22).errorState,fP._32(n,22).required.toString()]);l(n,25,0,"end"==fP._32(n,26).align,fP._32(n,26).id,null);l(n,27,0,e.yearErrorMessage[n.parent.context.index]);l(n,30,1,[fP._32(n,31)._control.errorState,fP._32(n,31)._control.errorState,fP._32(n,31)._canLabelFloat,fP._32(n,31)._shouldLabelFloat(),fP._32(n,31)._hideControlPlaceholder(),fP._32(n,31)._control.disabled,fP._32(n,31)._control.focused,"primary"==fP._32(n,31).color,"accent"==fP._32(n,31).color,"warn"==fP._32(n,31).color,fP._32(n,31)._shouldForward("untouched"),fP._32(n,31)._shouldForward("touched"),fP._32(n,31)._shouldForward("pristine"),fP._32(n,31)._shouldForward("dirty"),fP._32(n,31)._shouldForward("valid"),fP._32(n,31)._shouldForward("invalid"),fP._32(n,31)._shouldForward("pending")]);l(n,40,1,[fP._32(n,46).ngClassUntouched,fP._32(n,46).ngClassTouched,fP._32(n,46).ngClassPristine,fP._32(n,46).ngClassDirty,fP._32(n,46).ngClassValid,fP._32(n,46).ngClassInvalid,fP._32(n,46).ngClassPending,fP._32(n,47)._isServer,fP._32(n,47).id,fP._32(n,47).placeholder,fP._32(n,47).disabled,fP._32(n,47).required,fP._32(n,47).readonly,fP._32(n,47)._ariaDescribedby||null,fP._32(n,47).errorState,fP._32(n,47).required.toString()]);l(n,50,0,"end"==fP._32(n,51).align,fP._32(n,51).id,null);l(n,52,0,e.monthErrorMessage[n.parent.context.index]);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,68).ngClassUntouched,fP._32(n,68).ngClassTouched,fP._32(n,68).ngClassPristine,fP._32(n,68).ngClassDirty,fP._32(n,68).ngClassValid,fP._32(n,68).ngClassInvalid,fP._32(n,68).ngClassPending,fP._32(n,69).id,fP._32(n,69).tabIndex,fP._32(n,69)._ariaLabel,fP._32(n,69).ariaLabelledby,fP._32(n,69).required.toString(),fP._32(n,69).disabled.toString(),fP._32(n,69).errorState,fP._32(n,69).panelOpen?fP._32(n,69)._optionIds:null,fP._32(n,69).multiple,fP._32(n,69)._ariaDescribedby||null,fP._32(n,69)._getAriaActiveDescendant(),fP._32(n,69).disabled,fP._32(n,69).errorState,fP._32(n,69).required]);l(n,76,0,fP._32(n,77)._getTabIndex(),fP._32(n,77).selected,fP._32(n,77).multiple,fP._32(n,77).active,fP._32(n,77).id,fP._32(n,77).selected.toString(),fP._32(n,77).disabled.toString(),fP._32(n,77).disabled);l(n,80,0,fP._32(n,81)._getTabIndex(),fP._32(n,81).selected,fP._32(n,81).multiple,fP._32(n,81).active,fP._32(n,81).id,fP._32(n,81).selected.toString(),fP._32(n,81).disabled.toString(),fP._32(n,81).disabled);l(n,84,0,fP._32(n,85)._getTabIndex(),fP._32(n,85).selected,fP._32(n,85).multiple,fP._32(n,85).active,fP._32(n,85).id,fP._32(n,85).selected.toString(),fP._32(n,85).disabled.toString(),fP._32(n,85).disabled)})}function JS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,66,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,60,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(9,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(11,0,null,1,8,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(12,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,4,"h5",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Address Details "])),(l()(),fP._13(16777216,null,null,1,null,WS)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(22,0,null,0,42,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(23,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(26,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,5,{_control:0}),fP._38(335544320,6,{_placeholderChild:0}),fP._38(335544320,7,{_labelChild:0}),fP._38(603979776,8,{_errorChildren:1}),fP._38(603979776,9,{_hintChildren:1}),fP._38(603979776,10,{_prefixChildren:1}),fP._38(603979776,11,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(35,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","business_address_availability"],["placeholder","Is this the business address ? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,41)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,41)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,41)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,"",1,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(36,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(38,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(40,16384,null,0,EP.s,[EP.r],null,null),fP._17(41,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,12,{options:1}),fP._38(603979776,13,{optionGroups:1}),fP._38(335544320,14,{customTrigger:0}),fP._37(2048,[[5,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(48,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,49)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(49,8437760,[[12,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(52,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,53)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,53)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(53,8437760,[[12,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(56,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,57)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,57)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(57,8437760,[[12,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,QS)),fP._17(63,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,17,0,null!=n.context.$implicit.get("address_label").value);l(n,36,0,"");l(n,38,0,"business_address_availability");l(n,41,0,"Is this the business address ? ","");l(n,53,0,"yes");l(n,57,0,"no");l(n,63,0,"yes"==n.context.$implicit.get("business_address_availability").value)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,25,1,[fP._32(n,26)._control.errorState,fP._32(n,26)._control.errorState,fP._32(n,26)._canLabelFloat,fP._32(n,26)._shouldLabelFloat(),fP._32(n,26)._hideControlPlaceholder(),fP._32(n,26)._control.disabled,fP._32(n,26)._control.focused,"primary"==fP._32(n,26).color,"accent"==fP._32(n,26).color,"warn"==fP._32(n,26).color,fP._32(n,26)._shouldForward("untouched"),fP._32(n,26)._shouldForward("touched"),fP._32(n,26)._shouldForward("pristine"),fP._32(n,26)._shouldForward("dirty"),fP._32(n,26)._shouldForward("valid"),fP._32(n,26)._shouldForward("invalid"),fP._32(n,26)._shouldForward("pending")]);l(n,35,1,[fP._32(n,36).required?"":null,fP._32(n,40).ngClassUntouched,fP._32(n,40).ngClassTouched,fP._32(n,40).ngClassPristine,fP._32(n,40).ngClassDirty,fP._32(n,40).ngClassValid,fP._32(n,40).ngClassInvalid,fP._32(n,40).ngClassPending,fP._32(n,41).id,fP._32(n,41).tabIndex,fP._32(n,41)._ariaLabel,fP._32(n,41).ariaLabelledby,fP._32(n,41).required.toString(),fP._32(n,41).disabled.toString(),fP._32(n,41).errorState,fP._32(n,41).panelOpen?fP._32(n,41)._optionIds:null,fP._32(n,41).multiple,fP._32(n,41)._ariaDescribedby||null,fP._32(n,41)._getAriaActiveDescendant(),fP._32(n,41).disabled,fP._32(n,41).errorState,fP._32(n,41).required]);l(n,48,0,fP._32(n,49)._getTabIndex(),fP._32(n,49).selected,fP._32(n,49).multiple,fP._32(n,49).active,fP._32(n,49).id,fP._32(n,49).selected.toString(),fP._32(n,49).disabled.toString(),fP._32(n,49).disabled);l(n,52,0,fP._32(n,53)._getTabIndex(),fP._32(n,53).selected,fP._32(n,53).multiple,fP._32(n,53).active,fP._32(n,53).id,fP._32(n,53).selected.toString(),fP._32(n,53).disabled.toString(),fP._32(n,53).disabled);l(n,56,0,fP._32(n,57)._getTabIndex(),fP._32(n,57).selected,fP._32(n,57).multiple,fP._32(n,57).active,fP._32(n,57).id,fP._32(n,57).selected.toString(),fP._32(n,57).disabled.toString(),fP._32(n,57).disabled)})}function XS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[109,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),fP._40(2,0,["\n ",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.id,1!=n.context.$implicit.flag)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function ZS(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[119,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.address_type)))})}function lI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,122,{_control:0}),fP._38(335544320,123,{_placeholderChild:0}),fP._38(335544320,124,{_labelChild:0}),fP._38(603979776,125,{_errorChildren:1}),fP._38(603979776,126,{_hintChildren:1}),fP._38(603979776,127,{_prefixChildren:1}),fP._38(603979776,128,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_property_type"],["matInput",""],["placeholder","Specify Other Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[122,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_property_type");l(n,16,0,"Specify Other Property")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function nI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[136,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""])),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.value)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,4,0,n.context.$implicit.value)})}function eI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,129,{_control:0}),fP._38(335544320,130,{_placeholderChild:0}),fP._38(335544320,131,{_labelChild:0}),fP._38(603979776,132,{_errorChildren:1}),fP._38(603979776,133,{_hintChildren:1}),fP._38(603979776,134,{_prefixChildren:1}),fP._38(603979776,135,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,16777216,null,1,8,"input",[["aria-autocomplete","list"],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_of_the_property"],["matInput",""],["placeholder","Address of the Property"],["role","combobox"]],[[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("focusin"===n){u=!1!==fP._32(l,12)._handleFocus()&&u}if("blur"===n){u=!1!==fP._32(l,12)._onTouched()&&u}if("input"===n){u=!1!==fP._32(l,12)._handleInput(e)&&u}if("keydown"===n){u=!1!==fP._32(l,12)._handleKeydown(e)&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("change"===n){u=!1!==t.AutoCompleteUpdateFun(l.parent.context.$implicit.get("property_type").value,e.target.value,l.parent.parent.parent.context.index)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,147456,null,0,TW.e,[fP.p,KN.c,fP._1,fP.H,fP.i,TW.a,[2,oN.c],[2,EA.b],[2,mD.d]],{autocomplete:[0,"autocomplete"]},null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,TW.e]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[129,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(20,0,null,1,8,"mat-autocomplete",[["class","mat-autocomplete"]],null,null,null,OW.b,OW.a)),fP._37(6144,null,jA.l,null,[TW.c]),fP._17(22,1097728,[["auto",4]],2,TW.c,[fP.i,fP.p],null,null),fP._38(603979776,136,{options:1}),fP._38(603979776,137,{optionGroups:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,nI)),fP._17(27,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,fP._32(n,22));l(n,14,0,"address_of_the_property");l(n,17,0,"Address of the Property");l(n,27,0,e.addressList)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[null==fP._32(n,12).activeOption?null:fP._32(n,12).activeOption.id,fP._32(n,12).panelOpen.toString(),null==fP._32(n,12).autocomplete?null:fP._32(n,12).autocomplete.id,fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()])})}function uI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,43,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,40,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(8,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,112,{_control:0}),fP._38(335544320,113,{_placeholderChild:0}),fP._38(335544320,114,{_labelChild:0}),fP._38(603979776,115,{_errorChildren:1}),fP._38(603979776,116,{_hintChildren:1}),fP._38(603979776,117,{_prefixChildren:1}),fP._38(603979776,118,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Property Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,119,{options:1}),fP._38(603979776,120,{optionGroups:1}),fP._38(335544320,121,{customTrigger:0}),fP._37(2048,[[112,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[119,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ZS)),fP._17(33,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lI)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eI)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,18,0,"property_type");l(n,21,0,"Property Type");l(n,33,0,e.m_address_type);l(n,38,0,1==n.context.$implicit.get("property_type").value);l(n,41,0,""!=n.context.$implicit.get("property_type").value)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,7,1,[fP._32(n,8)._control.errorState,fP._32(n,8)._control.errorState,fP._32(n,8)._canLabelFloat,fP._32(n,8)._shouldLabelFloat(),fP._32(n,8)._hideControlPlaceholder(),fP._32(n,8)._control.disabled,fP._32(n,8)._control.focused,"primary"==fP._32(n,8).color,"accent"==fP._32(n,8).color,"warn"==fP._32(n,8).color,fP._32(n,8)._shouldForward("untouched"),fP._32(n,8)._shouldForward("touched"),fP._32(n,8)._shouldForward("pristine"),fP._32(n,8)._shouldForward("dirty"),fP._32(n,8)._shouldForward("valid"),fP._32(n,8)._shouldForward("invalid"),fP._32(n,8)._shouldForward("pending")]);l(n,17,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled)})}function tI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,uI)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function aI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[145,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function iI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,148,{_control:0}),fP._38(335544320,149,{_placeholderChild:0}),fP._38(335544320,150,{_labelChild:0}),fP._38(603979776,151,{_errorChildren:1}),fP._38(603979776,152,{_hintChildren:1}),fP._38(603979776,153,{_prefixChildren:1}),fP._38(603979776,154,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_vehicle_type"],["matInput",""],["placeholder"," Specify Vehicle"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[148,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_vehicle_type");l(n,16,0," Specify Vehicle")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function oI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,60,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,57,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(8,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,138,{_control:0}),fP._38(335544320,139,{_placeholderChild:0}),fP._38(335544320,140,{_labelChild:0}),fP._38(603979776,141,{_errorChildren:1}),fP._38(603979776,142,{_hintChildren:1}),fP._38(603979776,143,{_prefixChildren:1}),fP._38(603979776,144,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","vehicle_type"],["placeholder","Type of Vehicle"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,21)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(18,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(20,16384,null,0,EP.s,[EP.r],null,null),fP._17(21,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,145,{options:1}),fP._38(603979776,146,{optionGroups:1}),fP._38(335544320,147,{customTrigger:0}),fP._37(2048,[[138,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(29,8437760,[[145,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,aI)),fP._17(33,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,iI)),fP._17(38,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(41,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,155,{_control:0}),fP._38(335544320,156,{_placeholderChild:0}),fP._38(335544320,157,{_labelChild:0}),fP._38(603979776,158,{_errorChildren:1}),fP._38(603979776,159,{_hintChildren:1}),fP._38(603979776,160,{_prefixChildren:1}),fP._38(603979776,161,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(50,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Description of Vehicle (example -Toyota Altis)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,56)._onInput()&&u}return u},null,null)),fP._17(51,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(53,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(55,16384,null,0,EP.s,[EP.r],null,null),fP._17(56,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[155,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,18,0,"vehicle_type");l(n,21,0,"Type of Vehicle");l(n,33,0,e.m_vehicle_type);l(n,38,0,1==n.context.$implicit.get("vehicle_type").value);l(n,53,0,"manufacturer_model_vehicle");l(n,56,0,"Description of Vehicle (example -Toyota Altis)")},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,7,1,[fP._32(n,8)._control.errorState,fP._32(n,8)._control.errorState,fP._32(n,8)._canLabelFloat,fP._32(n,8)._shouldLabelFloat(),fP._32(n,8)._hideControlPlaceholder(),fP._32(n,8)._control.disabled,fP._32(n,8)._control.focused,"primary"==fP._32(n,8).color,"accent"==fP._32(n,8).color,"warn"==fP._32(n,8).color,fP._32(n,8)._shouldForward("untouched"),fP._32(n,8)._shouldForward("touched"),fP._32(n,8)._shouldForward("pristine"),fP._32(n,8)._shouldForward("dirty"),fP._32(n,8)._shouldForward("valid"),fP._32(n,8)._shouldForward("invalid"),fP._32(n,8)._shouldForward("pending")]);l(n,17,1,[fP._32(n,20).ngClassUntouched,fP._32(n,20).ngClassTouched,fP._32(n,20).ngClassPristine,fP._32(n,20).ngClassDirty,fP._32(n,20).ngClassValid,fP._32(n,20).ngClassInvalid,fP._32(n,20).ngClassPending,fP._32(n,21).id,fP._32(n,21).tabIndex,fP._32(n,21)._ariaLabel,fP._32(n,21).ariaLabelledby,fP._32(n,21).required.toString(),fP._32(n,21).disabled.toString(),fP._32(n,21).errorState,fP._32(n,21).panelOpen?fP._32(n,21)._optionIds:null,fP._32(n,21).multiple,fP._32(n,21)._ariaDescribedby||null,fP._32(n,21)._getAriaActiveDescendant(),fP._32(n,21).disabled,fP._32(n,21).errorState,fP._32(n,21).required]);l(n,28,0,fP._32(n,29)._getTabIndex(),fP._32(n,29).selected,fP._32(n,29).multiple,fP._32(n,29).active,fP._32(n,29).id,fP._32(n,29).selected.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).disabled);l(n,40,1,[fP._32(n,41)._control.errorState,fP._32(n,41)._control.errorState,fP._32(n,41)._canLabelFloat,fP._32(n,41)._shouldLabelFloat(),fP._32(n,41)._hideControlPlaceholder(),fP._32(n,41)._control.disabled,fP._32(n,41)._control.focused,"primary"==fP._32(n,41).color,"accent"==fP._32(n,41).color,"warn"==fP._32(n,41).color,fP._32(n,41)._shouldForward("untouched"),fP._32(n,41)._shouldForward("touched"),fP._32(n,41)._shouldForward("pristine"),fP._32(n,41)._shouldForward("dirty"),fP._32(n,41)._shouldForward("valid"),fP._32(n,41)._shouldForward("invalid"),fP._32(n,41)._shouldForward("pending")]);l(n,50,1,[fP._32(n,55).ngClassUntouched,fP._32(n,55).ngClassTouched,fP._32(n,55).ngClassPristine,fP._32(n,55).ngClassDirty,fP._32(n,55).ngClassValid,fP._32(n,55).ngClassInvalid,fP._32(n,55).ngClassPending,fP._32(n,56)._isServer,fP._32(n,56).id,fP._32(n,56).placeholder,fP._32(n,56).disabled,fP._32(n,56).required,fP._32(n,56).readonly,fP._32(n,56)._ariaDescribedby||null,fP._32(n,56).errorState,fP._32(n,56).required.toString()])})}function rI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,oI)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function _I(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(8,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,162,{_control:0}),fP._38(335544320,163,{_placeholderChild:0}),fP._38(335544320,164,{_labelChild:0}),fP._38(603979776,165,{_errorChildren:1}),fP._38(603979776,166,{_hintChildren:1}),fP._38(603979776,167,{_prefixChildren:1}),fP._38(603979776,168,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","equipment_manufacturing_description"],["matInput",""],["placeholder","Description"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,25)._onInput()&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(19,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(22,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(24,16384,null,0,EP.s,[EP.r],null,null),fP._17(25,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._37(2048,[[162,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,19,0,"");l(n,22,0,"equipment_manufacturing_description");l(n,25,0,"Description","")},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,7,1,[fP._32(n,8)._control.errorState,fP._32(n,8)._control.errorState,fP._32(n,8)._canLabelFloat,fP._32(n,8)._shouldLabelFloat(),fP._32(n,8)._hideControlPlaceholder(),fP._32(n,8)._control.disabled,fP._32(n,8)._control.focused,"primary"==fP._32(n,8).color,"accent"==fP._32(n,8).color,"warn"==fP._32(n,8).color,fP._32(n,8)._shouldForward("untouched"),fP._32(n,8)._shouldForward("touched"),fP._32(n,8)._shouldForward("pristine"),fP._32(n,8)._shouldForward("dirty"),fP._32(n,8)._shouldForward("valid"),fP._32(n,8)._shouldForward("invalid"),fP._32(n,8)._shouldForward("pending")]);l(n,17,1,[fP._32(n,19).required?"":null,fP._32(n,24).ngClassUntouched,fP._32(n,24).ngClassTouched,fP._32(n,24).ngClassPristine,fP._32(n,24).ngClassDirty,fP._32(n,24).ngClassValid,fP._32(n,24).ngClassInvalid,fP._32(n,24).ngClassPending,fP._32(n,25)._isServer,fP._32(n,25).id,fP._32(n,25).placeholder,fP._32(n,25).disabled,fP._32(n,25).required,fP._32(n,25).readonly,fP._32(n,25)._ariaDescribedby||null,fP._32(n,25).errorState,fP._32(n,25).required.toString()])})}function dI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,_I)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function sI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),fP._17(1,16384,[[172,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Description is Required"]))],null,function(l,n){l(n,0,0,fP._32(n,1).id)})}function cI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[183,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ",""])),fP._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.value)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,fP._41(n,2,0,l(n,3,0,fP._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.viewValue)))})}function mI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,61,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,58,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(8,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,169,{_control:0}),fP._38(335544320,170,{_placeholderChild:0}),fP._38(335544320,171,{_labelChild:0}),fP._38(603979776,172,{_errorChildren:1}),fP._38(603979776,173,{_hintChildren:1}),fP._38(603979776,174,{_prefixChildren:1}),fP._38(603979776,175,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_assets"],["matInput",""],["placeholder","Description of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}return u},null,null)),fP._17(18,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[169,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,5,1,null,sI)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(31,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(32,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,176,{_control:0}),fP._38(335544320,177,{_placeholderChild:0}),fP._38(335544320,178,{_labelChild:0}),fP._38(603979776,179,{_errorChildren:1}),fP._38(603979776,180,{_hintChildren:1}),fP._38(603979776,181,{_prefixChildren:1}),fP._38(603979776,182,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(41,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","any_other_asset_loan"],["placeholder","Is there any asset loan?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,45)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,45)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,45)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(42,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(44,16384,null,0,EP.s,[EP.r],null,null),fP._17(45,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,183,{options:1}),fP._38(603979776,184,{optionGroups:1}),fP._38(335544320,185,{customTrigger:0}),fP._37(2048,[[176,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(52,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,53)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,53)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(53,8437760,[[183,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,cI)),fP._17(57,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"any_other_assets");l(n,23,0,"Description of the Assets");l(n,27,0,""!=n.context.$implicit.controls.any_other_assets.value||(null==n.context.$implicit.controls.any_other_assets.errors?null:n.context.$implicit.controls.any_other_assets.errors.required)||n.context.$implicit.controls.any_other_assets.touched);l(n,42,0,"any_other_asset_loan");l(n,45,0,"Is there any asset loan?");l(n,57,0,e.m_any_asset_loan_type)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,7,1,[fP._32(n,8)._control.errorState,fP._32(n,8)._control.errorState,fP._32(n,8)._canLabelFloat,fP._32(n,8)._shouldLabelFloat(),fP._32(n,8)._hideControlPlaceholder(),fP._32(n,8)._control.disabled,fP._32(n,8)._control.focused,"primary"==fP._32(n,8).color,"accent"==fP._32(n,8).color,"warn"==fP._32(n,8).color,fP._32(n,8)._shouldForward("untouched"),fP._32(n,8)._shouldForward("touched"),fP._32(n,8)._shouldForward("pristine"),fP._32(n,8)._shouldForward("dirty"),fP._32(n,8)._shouldForward("valid"),fP._32(n,8)._shouldForward("invalid"),fP._32(n,8)._shouldForward("pending")]);l(n,17,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()]);l(n,31,1,[fP._32(n,32)._control.errorState,fP._32(n,32)._control.errorState,fP._32(n,32)._canLabelFloat,fP._32(n,32)._shouldLabelFloat(),fP._32(n,32)._hideControlPlaceholder(),fP._32(n,32)._control.disabled,fP._32(n,32)._control.focused,"primary"==fP._32(n,32).color,"accent"==fP._32(n,32).color,"warn"==fP._32(n,32).color,fP._32(n,32)._shouldForward("untouched"),fP._32(n,32)._shouldForward("touched"),fP._32(n,32)._shouldForward("pristine"),fP._32(n,32)._shouldForward("dirty"),fP._32(n,32)._shouldForward("valid"),fP._32(n,32)._shouldForward("invalid"),fP._32(n,32)._shouldForward("pending")]);l(n,41,1,[fP._32(n,44).ngClassUntouched,fP._32(n,44).ngClassTouched,fP._32(n,44).ngClassPristine,fP._32(n,44).ngClassDirty,fP._32(n,44).ngClassValid,fP._32(n,44).ngClassInvalid,fP._32(n,44).ngClassPending,fP._32(n,45).id,fP._32(n,45).tabIndex,fP._32(n,45)._ariaLabel,fP._32(n,45).ariaLabelledby,fP._32(n,45).required.toString(),fP._32(n,45).disabled.toString(),fP._32(n,45).errorState,fP._32(n,45).panelOpen?fP._32(n,45)._optionIds:null,fP._32(n,45).multiple,fP._32(n,45)._ariaDescribedby||null,fP._32(n,45)._getAriaActiveDescendant(),fP._32(n,45).disabled,fP._32(n,45).errorState,fP._32(n,45).required]);l(n,52,0,fP._32(n,53)._getTabIndex(),fP._32(n,53).selected,fP._32(n,53).multiple,fP._32(n,53).active,fP._32(n,53).id,fP._32(n,53).selected.toString(),fP._32(n,53).disabled.toString(),fP._32(n,53).disabled)})}function pI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,mI)),fP._17(3,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function fI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,186,{_control:0}),fP._38(335544320,187,{_placeholderChild:0}),fP._38(335544320,188,{_labelChild:0}),fP._38(603979776,189,{_errorChildren:1}),fP._38(603979776,190,{_hintChildren:1}),fP._38(603979776,191,{_prefixChildren:1}),fP._38(603979776,192,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","business_ownership_type"],["placeholder","Ownership Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.$implicit,3)&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,193,{options:1}),fP._38(603979776,194,{optionGroups:1}),fP._38(335544320,195,{customTrigger:0}),fP._37(2048,[[186,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(22,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","owned"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,23)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,23)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(23,8437760,[[193,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Owned"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rented"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,27)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(27,8437760,[[193,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Rented"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"business_ownership_type");l(n,14,0,"Ownership Type");l(n,23,0,"owned");l(n,27,0,"rented")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,22,0,fP._32(n,23)._getTabIndex(),fP._32(n,23).selected,fP._32(n,23).multiple,fP._32(n,23).active,fP._32(n,23).id,fP._32(n,23).selected.toString(),fP._32(n,23).disabled.toString(),fP._32(n,23).disabled);l(n,26,0,fP._32(n,27)._getTabIndex(),fP._32(n,27).selected,fP._32(n,27).multiple,fP._32(n,27).active,fP._32(n,27).id,fP._32(n,27).selected.toString(),fP._32(n,27).disabled.toString(),fP._32(n,27).disabled)})}function hI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[200,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["\n "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwords[n.parent.parent.context.index])})}function gI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,196,{_control:0}),fP._38(335544320,197,{_placeholderChild:0}),fP._38(335544320,198,{_labelChild:0}),fP._38(603979776,199,{_errorChildren:1}),fP._38(603979776,200,{_hintChildren:1}),fP._38(603979776,201,{_prefixChildren:1}),fP._38(603979776,202,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["placeholder","Monthly Rent Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[196,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,hI)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),fP._17(24,16384,[[199,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Monthly Rent Amount Required"])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"business_monthly_rented_amt");l(n,17,0,"Monthly Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()]);l(n,23,0,fP._32(n,24).id)})}function bI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[207,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwords[n.parent.parent.parent.context.index])})}function vI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,203,{_control:0}),fP._38(335544320,204,{_placeholderChild:0}),fP._38(335544320,205,{_labelChild:0}),fP._38(603979776,206,{_errorChildren:1}),fP._38(603979776,207,{_hintChildren:1}),fP._38(603979776,208,{_prefixChildren:1}),fP._38(603979776,209,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.context.index,2)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(12,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(14,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(16,16384,null,0,EP.s,[EP.r],null,null),fP._17(17,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[203,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,bI)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:14px"]],[[1,"id",0]],null,null,null,null)),fP._17(24,16384,[[206,4]],0,EA.a,[],null,null),(l()(),fP._40(-1,null,["Approximate Market Value Required"])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"business_approximate_market_value");l(n,17,0,"Approximate Market Value","number");l(n,21,0,""!=n.parent.parent.context.$implicit.get("business_approximate_market_value").value)},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,16).ngClassUntouched,fP._32(n,16).ngClassTouched,fP._32(n,16).ngClassPristine,fP._32(n,16).ngClassDirty,fP._32(n,16).ngClassValid,fP._32(n,16).ngClassInvalid,fP._32(n,16).ngClassPending,fP._32(n,17)._isServer,fP._32(n,17).id,fP._32(n,17).placeholder,fP._32(n,17).disabled,fP._32(n,17).required,fP._32(n,17).readonly,fP._32(n,17)._ariaDescribedby||null,fP._32(n,17).errorState,fP._32(n,17).required.toString()]);l(n,23,0,fP._32(n,24).id)})}function yI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[217,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function CI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[218,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,yI)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function wI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,220,{_control:0}),fP._38(335544320,221,{_placeholderChild:0}),fP._38(335544320,222,{_labelChild:0}),fP._38(603979776,223,{_errorChildren:1}),fP._38(603979776,224,{_hintChildren:1}),fP._38(603979776,225,{_prefixChildren:1}),fP._38(603979776,226,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_name_of_the_other_owner"],["matInput",""],["placeholder","Specify Asset Owned Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[220,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_name_of_the_other_owner");l(n,16,0,"Specify Asset Owned Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function FI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,94,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,vI)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,210,{_control:0}),fP._38(335544320,211,{_placeholderChild:0}),fP._38(335544320,212,{_labelChild:0}),fP._38(603979776,213,{_errorChildren:1}),fP._38(603979776,214,{_hintChildren:1}),fP._38(603979776,215,{_prefixChildren:1}),fP._38(603979776,216,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_name_of_the_owner"],["multiple",""],["placeholder","Assets Owned By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,22)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.$implicit,4)&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),fP._38(603979776,217,{options:1}),fP._38(603979776,218,{optionGroups:1}),fP._38(335544320,219,{customTrigger:0}),fP._37(2048,[[210,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,CI)),fP._17(29,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,wI)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(37,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(40,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,227,{_control:0}),fP._38(335544320,228,{_placeholderChild:0}),fP._38(335544320,229,{_labelChild:0}),fP._38(603979776,230,{_errorChildren:1}),fP._38(603979776,231,{_hintChildren:1}),fP._38(603979776,232,{_prefixChildren:1}),fP._38(603979776,233,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(50,16384,[[229,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Age of Asset in Years"])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(53,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","2"],["minlength","1"],["placeholder","eg.99"],["type","tel"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,62)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,62)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,62)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),fP._17(54,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(55,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(56,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(59,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(61,16384,null,0,EP.s,[EP.r],null,null),fP._17(62,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[227,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(66,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(67,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,234,{_control:0}),fP._38(335544320,235,{_placeholderChild:0}),fP._38(335544320,236,{_labelChild:0}),fP._38(603979776,237,{_errorChildren:1}),fP._38(603979776,238,{_hintChildren:1}),fP._38(603979776,239,{_prefixChildren:1}),fP._38(603979776,240,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(77,16384,[[236,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Purchase Year"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(80,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_purchase_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),fP._17(81,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(82,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._17(83,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(84,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n){return[l,n]},[EP.o,EP.n]),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(87,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(89,16384,null,0,EP.s,[EP.r],null,null),fP._17(90,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[234,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,""!=n.parent.context.$implicit.get("business_assets_mode").value);l(n,19,0,"business_name_of_the_owner");l(n,22,0,"Assets Owned By","",e.compareObjects);l(n,29,0,e.mergeCompanyApplicant);l(n,34,0,e.isOtherOwner);l(n,55,0,"1");l(n,56,0,"2");l(n,59,0,"business_vintage");l(n,62,0,"eg.99","tel");l(n,83,0,"4");l(n,84,0,"4");l(n,87,0,"business_purchase_year");l(n,90,0,"YYYY eg.2018","number")},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,17,1,[fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22).id,fP._32(n,22).tabIndex,fP._32(n,22)._ariaLabel,fP._32(n,22).ariaLabelledby,fP._32(n,22).required.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).errorState,fP._32(n,22).panelOpen?fP._32(n,22)._optionIds:null,fP._32(n,22).multiple,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22)._getAriaActiveDescendant(),fP._32(n,22).disabled,fP._32(n,22).errorState,fP._32(n,22).required]);l(n,39,1,[fP._32(n,40)._control.errorState,fP._32(n,40)._control.errorState,fP._32(n,40)._canLabelFloat,fP._32(n,40)._shouldLabelFloat(),fP._32(n,40)._hideControlPlaceholder(),fP._32(n,40)._control.disabled,fP._32(n,40)._control.focused,"primary"==fP._32(n,40).color,"accent"==fP._32(n,40).color,"warn"==fP._32(n,40).color,fP._32(n,40)._shouldForward("untouched"),fP._32(n,40)._shouldForward("touched"),fP._32(n,40)._shouldForward("pristine"),fP._32(n,40)._shouldForward("dirty"),fP._32(n,40)._shouldForward("valid"),fP._32(n,40)._shouldForward("invalid"),fP._32(n,40)._shouldForward("pending")]);l(n,53,1,[fP._32(n,55).minlength?fP._32(n,55).minlength:null,fP._32(n,56).maxlength?fP._32(n,56).maxlength:null,fP._32(n,61).ngClassUntouched,fP._32(n,61).ngClassTouched,fP._32(n,61).ngClassPristine,fP._32(n,61).ngClassDirty,fP._32(n,61).ngClassValid,fP._32(n,61).ngClassInvalid,fP._32(n,61).ngClassPending,fP._32(n,62)._isServer,fP._32(n,62).id,fP._32(n,62).placeholder,fP._32(n,62).disabled,fP._32(n,62).required,fP._32(n,62).readonly,fP._32(n,62)._ariaDescribedby||null,fP._32(n,62).errorState,fP._32(n,62).required.toString()]);l(n,66,1,[fP._32(n,67)._control.errorState,fP._32(n,67)._control.errorState,fP._32(n,67)._canLabelFloat,fP._32(n,67)._shouldLabelFloat(),fP._32(n,67)._hideControlPlaceholder(),fP._32(n,67)._control.disabled,fP._32(n,67)._control.focused,"primary"==fP._32(n,67).color,"accent"==fP._32(n,67).color,"warn"==fP._32(n,67).color,fP._32(n,67)._shouldForward("untouched"),fP._32(n,67)._shouldForward("touched"),fP._32(n,67)._shouldForward("pristine"),fP._32(n,67)._shouldForward("dirty"),fP._32(n,67)._shouldForward("valid"),fP._32(n,67)._shouldForward("invalid"),fP._32(n,67)._shouldForward("pending")]);l(n,80,1,[fP._32(n,83).minlength?fP._32(n,83).minlength:null,fP._32(n,84).maxlength?fP._32(n,84).maxlength:null,fP._32(n,89).ngClassUntouched,fP._32(n,89).ngClassTouched,fP._32(n,89).ngClassPristine,fP._32(n,89).ngClassDirty,fP._32(n,89).ngClassValid,fP._32(n,89).ngClassInvalid,fP._32(n,89).ngClassPending,fP._32(n,90)._isServer,fP._32(n,90).id,fP._32(n,90).placeholder,fP._32(n,90).disabled,fP._32(n,90).required,fP._32(n,90).readonly,fP._32(n,90)._ariaDescribedby||null,fP._32(n,90).errorState,fP._32(n,90).required.toString()])})}function xI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","business_emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(6,1064960,null,1,PV.b,[fP.i],null,null),fP._38(603979776,241,{_radios:1}),fP._37(1024,null,EP.q,function(l){return[l]},[PV.b]),fP._17(9,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(11,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,14)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(14,4440064,[[241,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==fP._32(l,18)._inputElement.nativeElement.focus()&&u}return u},qV.b,qV.a)),fP._17(18,4440064,[[241,4]],0,PV.a,[[2,PV.b],fP.p,fP.i,UA.j,DV.d],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"business_emi");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,fP._32(n,11).ngClassUntouched,fP._32(n,11).ngClassTouched,fP._32(n,11).ngClassPristine,fP._32(n,11).ngClassDirty,fP._32(n,11).ngClassValid,fP._32(n,11).ngClassInvalid,fP._32(n,11).ngClassPending);l(n,13,0,fP._32(n,14).checked,fP._32(n,14).disabled,fP._32(n,14).id);l(n,17,0,fP._32(n,18).checked,fP._32(n,18).disabled,fP._32(n,18).id)})}function kI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeAssetsDetails(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function SI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addAssetDetails(e)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"add-circle")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function II(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,108,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,84,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(3,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(5,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(8,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(10,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(11,16384,null,0,AA.h,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(14,null,["Other Assets Used in Business # ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(19,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(21,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(22,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,102,{_control:0}),fP._38(335544320,103,{_placeholderChild:0}),fP._38(335544320,104,{_labelChild:0}),fP._38(603979776,105,{_errorChildren:1}),fP._38(603979776,106,{_hintChildren:1}),fP._38(603979776,107,{_prefixChildren:1}),fP._38(603979776,108,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(31,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","business_assets_mode"],["placeholder","Asset Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,35)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,35)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,35)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAssetsType(e,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(32,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(34,16384,null,0,EP.s,[EP.r],null,null),fP._17(35,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,109,{options:1}),fP._38(603979776,110,{optionGroups:1}),fP._38(335544320,111,{customTrigger:0}),fP._37(2048,[[102,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(42,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,43)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,43)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(43,8437760,[[109,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,XS)),fP._17(47,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(53,0,null,null,19,"div",[["formArrayName","business_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(54,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(56,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,tI)),fP._17(59,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,rI)),fP._17(63,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,dI)),fP._17(67,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pI)),fP._17(71,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,fI)),fP._17(75,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n\n\n "])),(l()(),fP._13(16777216,null,null,1,null,gI)),fP._17(78,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,FI)),fP._17(81,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,xI)),fP._17(85,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(88,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(89,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,242,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(92,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(93,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,kI)),fP._17(96,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(99,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(100,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,SI)),fP._17(103,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(104,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(107,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,32,0,"business_assets_mode");l(n,35,0,"Asset Type");l(n,47,0,e.m_assets_type);l(n,54,0,"business_details");l(n,59,0,2==n.context.$implicit.get("business_assets_mode").value);l(n,63,0,3==n.context.$implicit.get("business_assets_mode").value);l(n,67,0,4==n.context.$implicit.get("business_assets_mode").value);l(n,71,0,1==n.context.$implicit.get("business_assets_mode").value);l(n,75,0,""!=n.context.$implicit.get("business_assets_mode").value);l(n,78,0,""!=n.context.$implicit.get("business_assets_mode").value&&"rented"==n.context.$implicit.get("business_ownership_type").value);l(n,81,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,85,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,96,0,n.context.index>0);l(n,103,0,n.context.last)},function(l,n){l(n,2,0,fP._32(n,5).ngClassUntouched,fP._32(n,5).ngClassTouched,fP._32(n,5).ngClassPristine,fP._32(n,5).ngClassDirty,fP._32(n,5).ngClassValid,fP._32(n,5).ngClassInvalid,fP._32(n,5).ngClassPending);l(n,14,0,n.context.index+1);l(n,21,1,[fP._32(n,22)._control.errorState,fP._32(n,22)._control.errorState,fP._32(n,22)._canLabelFloat,fP._32(n,22)._shouldLabelFloat(),fP._32(n,22)._hideControlPlaceholder(),fP._32(n,22)._control.disabled,fP._32(n,22)._control.focused,"primary"==fP._32(n,22).color,"accent"==fP._32(n,22).color,"warn"==fP._32(n,22).color,fP._32(n,22)._shouldForward("untouched"),fP._32(n,22)._shouldForward("touched"),fP._32(n,22)._shouldForward("pristine"),fP._32(n,22)._shouldForward("dirty"),fP._32(n,22)._shouldForward("valid"),fP._32(n,22)._shouldForward("invalid"),fP._32(n,22)._shouldForward("pending")]);l(n,31,1,[fP._32(n,34).ngClassUntouched,fP._32(n,34).ngClassTouched,fP._32(n,34).ngClassPristine,fP._32(n,34).ngClassDirty,fP._32(n,34).ngClassValid,fP._32(n,34).ngClassInvalid,fP._32(n,34).ngClassPending,fP._32(n,35).id,fP._32(n,35).tabIndex,fP._32(n,35)._ariaLabel,fP._32(n,35).ariaLabelledby,fP._32(n,35).required.toString(),fP._32(n,35).disabled.toString(),fP._32(n,35).errorState,fP._32(n,35).panelOpen?fP._32(n,35)._optionIds:null,fP._32(n,35).multiple,fP._32(n,35)._ariaDescribedby||null,fP._32(n,35)._getAriaActiveDescendant(),fP._32(n,35).disabled,fP._32(n,35).errorState,fP._32(n,35).required]);l(n,42,0,fP._32(n,43)._getTabIndex(),fP._32(n,43).selected,fP._32(n,43).multiple,fP._32(n,43).active,fP._32(n,43).id,fP._32(n,43).selected.toString(),fP._32(n,43).disabled.toString(),fP._32(n,43).disabled);l(n,53,0,fP._32(n,56).ngClassUntouched,fP._32(n,56).ngClassTouched,fP._32(n,56).ngClassPristine,fP._32(n,56).ngClassDirty,fP._32(n,56).ngClassValid,fP._32(n,56).ngClassInvalid,fP._32(n,56).ngClassPending)})}function qI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,55,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,7,"div",[["formArrayName","business_assets_for_address"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(7,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,JS)),fP._17(12,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(16,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(18,0,null,0,7,"div",[["formArrayName","business_assets_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(19,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(21,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,II)),fP._17(24,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._40(-1,0,["\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(29,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(31,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(32,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,243,{_control:0}),fP._38(335544320,244,{_placeholderChild:0}),fP._38(335544320,245,{_labelChild:0}),fP._38(603979776,246,{_errorChildren:1}),fP._38(603979776,247,{_hintChildren:1}),fP._38(603979776,248,{_prefixChildren:1}),fP._38(603979776,249,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(41,0,null,3,2,"mat-label",[],null,null,null,null,null)),fP._17(42,16384,[[245,4]],0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Remarks"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(45,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_assets_form_remark"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,51)._onInput()&&u}return u},null,null)),fP._17(46,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(48,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(50,16384,null,0,EP.s,[EP.r],null,null),fP._17(51,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],null,null),fP._37(2048,[[243,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,2,0,e._businessAssetsQuesFrom);l(n,7,0,"business_assets_for_address");l(n,12,0,e._businessAssetsQuesFrom.controls.business_assets_for_address.controls);l(n,19,0,"business_assets_details");l(n,24,0,e._businessAssetsQuesFrom.controls.business_assets_details.controls);l(n,48,0,"business_assets_form_remark"),l(n,51,0)},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,6,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending);l(n,18,0,fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending);l(n,31,1,[fP._32(n,32)._control.errorState,fP._32(n,32)._control.errorState,fP._32(n,32)._canLabelFloat,fP._32(n,32)._shouldLabelFloat(),fP._32(n,32)._hideControlPlaceholder(),fP._32(n,32)._control.disabled,fP._32(n,32)._control.focused,"primary"==fP._32(n,32).color,"accent"==fP._32(n,32).color,"warn"==fP._32(n,32).color,fP._32(n,32)._shouldForward("untouched"),fP._32(n,32)._shouldForward("touched"),fP._32(n,32)._shouldForward("pristine"),fP._32(n,32)._shouldForward("dirty"),fP._32(n,32)._shouldForward("valid"),fP._32(n,32)._shouldForward("invalid"),fP._32(n,32)._shouldForward("pending")]);l(n,45,1,[fP._32(n,50).ngClassUntouched,fP._32(n,50).ngClassTouched,fP._32(n,50).ngClassPristine,fP._32(n,50).ngClassDirty,fP._32(n,50).ngClassValid,fP._32(n,50).ngClassInvalid,fP._32(n,50).ngClassPending,fP._32(n,51)._isServer,fP._32(n,51).id,fP._32(n,51).placeholder,fP._32(n,51).disabled,fP._32(n,51).required,fP._32(n,51).readonly,fP._32(n,51)._ariaDescribedby||null,fP._32(n,51).errorState,fP._32(n,51).required.toString()])})}function PI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qI)),fP._17(3,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.apiLoadFinish&&e.loadDetails)},null)}function DI(l){return fP._42(0,[fP._34(0,mD.u,[]),fP._38(671088640,1,{focusRemark:0}),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(3,0,null,null,50,"ion-header",[],null,null,null,null,null)),fP._17(4,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(6,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(7,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,11).toggle()&&u}return u},aV.b,aV.a)),fP._17(10,1097728,[[2,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(11,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(12,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,FS)),fP._17(20,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(22,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(23,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,3,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(28,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(29,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(30,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,xS)),fP._17(34,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(39,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(41,16384,null,0,EP.s,[EP.r],null,null),fP._17(42,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,4,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,46).onClick()&&u}return u},dV.b,dV.a)),fP._17(46,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(49,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,50).onClick()&&u}return u},dV.b,dV.a)),fP._17(50,114688,[[4,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(55,0,null,null,15,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(56,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(58,0,null,1,9,"div",[],null,null,null,null,null)),fP._17(59,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,NS)),fP._17(62,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._13(16777216,null,null,1,null,PI)),fP._17(65,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,30,0,"md-camera");l(n,34,0,!e.complete_status);l(n,39,0,e.tab);l(n,42,0,"optblue");l(n,46,0,"0");l(n,50,0,"1");l(n,59,0,e.tab);l(n,62,0,"1");l(n,65,0,"0")},function(l,n){l(n,6,0,fP._32(n,7)._hidden,fP._32(n,7)._sbPadding);l(n,9,0,fP._32(n,11).isHidden);l(n,15,0,fP._32(n,16)._hidden);l(n,29,0,fP._32(n,30)._hidden);l(n,38,0,fP._32(n,41).ngClassUntouched,fP._32(n,41).ngClassTouched,fP._32(n,41).ngClassPristine,fP._32(n,41).ngClassDirty,fP._32(n,41).ngClassValid,fP._32(n,41).ngClassInvalid,fP._32(n,41).ngClassPending,fP._32(n,42)._disabled);l(n,45,0,fP._32(n,46)._disabled,fP._32(n,46).isActive,fP._32(n,46).isActive);l(n,49,0,fP._32(n,50)._disabled,fP._32(n,50).isActive,fP._32(n,50).isActive);l(n,55,0,fP._32(n,56).statusbarPadding,fP._32(n,56)._hasRefresher)})}function TI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdBank(t.bankingForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function OI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button above to capture"]))],null,null)}function LI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function AI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function VI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function NI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,LI)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,AI)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,VI)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function WI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,NI)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function EI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function jI(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function $I(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,EI)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,jI)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function BI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(8,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$I)),fP._17(11,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function RI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function UI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(4,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,OI)),fP._17(7,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,WI)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._13(16777216,null,null,1,null,BI)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,RI)),fP._17(19,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function MI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[11,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function KI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,uN.d,uN.a)),fP._17(1,49152,[[12,4]],0,jA.s,[],{label:[0,"label"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,0,1,null,MI)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,fP._32(n,1).disabled,fP._32(n,1).disabled.toString(),fP._32(n,1)._labelId)})}function HI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,14,{_control:0}),fP._38(335544320,15,{_placeholderChild:0}),fP._38(335544320,16,{_labelChild:0}),fP._38(603979776,17,{_errorChildren:1}),fP._38(603979776,18,{_hintChildren:1}),fP._38(603979776,19,{_prefixChildren:1}),fP._38(603979776,20,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_applicant"],["matInput",""],["name","other_applicant"],["placeholder","Specify Account Holder's Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.changeSentence(l.parent.context.$implicit)&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[14,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Specify Account Holder's Name","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function GI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function zI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,32,{_control:0}),fP._38(335544320,33,{_placeholderChild:0}),fP._38(335544320,34,{_labelChild:0}),fP._38(603979776,35,{_errorChildren:1}),fP._38(603979776,36,{_hintChildren:1}),fP._38(603979776,37,{_prefixChildren:1}),fP._38(603979776,38,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bank"],["matInput",""],["placeholder","Specify Other Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[32,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bank");l(n,16,0,"Specify Other Bank Name")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function YI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[46,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function QI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,49,{_control:0}),fP._38(335544320,50,{_placeholderChild:0}),fP._38(335544320,51,{_labelChild:0}),fP._38(603979776,52,{_errorChildren:1}),fP._38(603979776,53,{_hintChildren:1}),fP._38(603979776,54,{_prefixChildren:1}),fP._38(603979776,55,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","is_main"],["placeholder","Is this the main business account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,56,{options:1}),fP._38(603979776,57,{optionGroups:1}),fP._38(335544320,58,{customTrigger:0}),fP._37(2048,[[49,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[56,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"is_main");l(n,14,0,"Is this the main business account");l(n,26,0,"Yes");l(n,30,0,"No")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled)})}function JI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,59,{_control:0}),fP._38(335544320,60,{_placeholderChild:0}),fP._38(335544320,61,{_labelChild:0}),fP._38(603979776,62,{_errorChildren:1}),fP._38(603979776,63,{_hintChildren:1}),fP._38(603979776,64,{_prefixChildren:1}),fP._38(603979776,65,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(10,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","salary"],["placeholder","Salary Credited in this account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,14)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(11,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(13,16384,null,0,EP.s,[EP.r],null,null),fP._17(14,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,66,{options:1}),fP._38(603979776,67,{optionGroups:1}),fP._38(335544320,68,{customTrigger:0}),fP._37(2048,[[59,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(22,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,26)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(26,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Yes"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["No"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","NA"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,34)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(34,8437760,[[66,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["NA"])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,26,0,"Yes");l(n,30,0,"No");l(n,34,0,"NA")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,13).ngClassUntouched,fP._32(n,13).ngClassTouched,fP._32(n,13).ngClassPristine,fP._32(n,13).ngClassDirty,fP._32(n,13).ngClassValid,fP._32(n,13).ngClassInvalid,fP._32(n,13).ngClassPending,fP._32(n,14).id,fP._32(n,14).tabIndex,fP._32(n,14)._ariaLabel,fP._32(n,14).ariaLabelledby,fP._32(n,14).required.toString(),fP._32(n,14).disabled.toString(),fP._32(n,14).errorState,fP._32(n,14).panelOpen?fP._32(n,14)._optionIds:null,fP._32(n,14).multiple,fP._32(n,14)._ariaDescribedby||null,fP._32(n,14)._getAriaActiveDescendant(),fP._32(n,14).disabled,fP._32(n,14).errorState,fP._32(n,14).required]);l(n,21,0,fP._32(n,22)._getTabIndex(),fP._32(n,22).selected,fP._32(n,22).multiple,fP._32(n,22).active,fP._32(n,22).id,fP._32(n,22).selected.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).disabled);l(n,25,0,fP._32(n,26)._getTabIndex(),fP._32(n,26).selected,fP._32(n,26).multiple,fP._32(n,26).active,fP._32(n,26).id,fP._32(n,26).selected.toString(),fP._32(n,26).disabled.toString(),fP._32(n,26).disabled);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled);l(n,33,0,fP._32(n,34)._getTabIndex(),fP._32(n,34).selected,fP._32(n,34).multiple,fP._32(n,34).active,fP._32(n,34).id,fP._32(n,34).selected.toString(),fP._32(n,34).disabled.toString(),fP._32(n,34).disabled)})}function XI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[73,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function ZI(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,29,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(3,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["Limit In case of OD / CC account, What is the Limit"])),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(6,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(7,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,69,{_control:0}),fP._38(335544320,70,{_placeholderChild:0}),fP._38(335544320,71,{_labelChild:0}),fP._38(603979776,72,{_errorChildren:1}),fP._38(603979776,73,{_hintChildren:1}),fP._38(603979776,74,{_prefixChildren:1}),fP._38(603979776,75,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","limit"],["matInput",""],["name","limit"],["placeholder",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),fP._17(17,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(18,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(20,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(22,16384,null,0,EP.s,[EP.r],null,null),fP._17(23,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[69,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,XI)),fP._17(27,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,20,0,"limit");l(n,23,0,"","number");l(n,27,0,""!=n.parent.context.$implicit.get("limit").value)},function(l,n){l(n,6,1,[fP._32(n,7)._control.errorState,fP._32(n,7)._control.errorState,fP._32(n,7)._canLabelFloat,fP._32(n,7)._shouldLabelFloat(),fP._32(n,7)._hideControlPlaceholder(),fP._32(n,7)._control.disabled,fP._32(n,7)._control.focused,"primary"==fP._32(n,7).color,"accent"==fP._32(n,7).color,"warn"==fP._32(n,7).color,fP._32(n,7)._shouldForward("untouched"),fP._32(n,7)._shouldForward("touched"),fP._32(n,7)._shouldForward("pristine"),fP._32(n,7)._shouldForward("dirty"),fP._32(n,7)._shouldForward("valid"),fP._32(n,7)._shouldForward("invalid"),fP._32(n,7)._shouldForward("pending")]);l(n,16,1,[fP._32(n,22).ngClassUntouched,fP._32(n,22).ngClassTouched,fP._32(n,22).ngClassPristine,fP._32(n,22).ngClassDirty,fP._32(n,22).ngClassValid,fP._32(n,22).ngClassInvalid,fP._32(n,22).ngClassPending,fP._32(n,23)._isServer,fP._32(n,23).id,fP._32(n,23).placeholder,fP._32(n,23).disabled,fP._32(n,23).required,fP._32(n,23).readonly,fP._32(n,23)._ariaDescribedby||null,fP._32(n,23).errorState,fP._32(n,23).required.toString()])})}function lq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBankDetails(l.parent.context.index,e)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(6,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,fP._32(n,6)._hidden)})}function nq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,228,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),fP._17(4,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,16777216,null,null,221,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(8,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],{expanded:[0,"expanded"]},null),fP._38(335544320,3,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(11,0,null,0,11,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,12)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(12,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(13,{collapsedHeight:0,expandedHeight:1}),fP._35(14,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(16,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(17,16384,null,0,SN.f,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),fP._40(20,null,["Banking Details ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n \n \n "])),(l()(),fP._18(24,0,null,1,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(25,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,4,{_control:0}),fP._38(335544320,5,{_placeholderChild:0}),fP._38(335544320,6,{_labelChild:0}),fP._38(603979776,7,{_errorChildren:1}),fP._38(603979776,8,{_hintChildren:1}),fP._38(603979776,9,{_prefixChildren:1}),fP._38(603979776,10,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(34,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Account Holder's Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,39)._onBlur()&&u}return u},tN.b,tN.a)),fP._37(6144,null,jA.l,null,[aN.c]),fP._17(36,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),fP._38(603979776,11,{options:1}),fP._38(603979776,12,{optionGroups:1}),fP._38(335544320,13,{customTrigger:0}),fP._37(2048,[[4,4]],EA.c,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,KI)),fP._17(46,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._13(16777216,null,1,1,null,HI)),fP._17(51,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(53,0,null,1,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(54,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(63,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","bank_name"],["placeholder","Bank Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,67)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(64,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(66,16384,null,0,EP.s,[EP.r],null,null),fP._17(67,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,28,{options:1}),fP._38(603979776,29,{optionGroups:1}),fP._38(335544320,30,{customTrigger:0}),fP._37(2048,[[21,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(74,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,75)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(75,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,16,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[28,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(81,0,null,0,12,"ngx-mat-select-search",[["formControlName","filterCtrl"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup"]],function(l,n,e){var u=!0;if("keyup"===n){u=!1!==l.component.searchFun(l.context.$implicit)&&u}return u},dN.b,dN.a)),fP._17(82,4440064,null,1,OL.a,[aN.c,fP.i,[2,jA.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),fP._38(335544320,31,{clearIcon:0}),fP._37(1024,null,EP.q,function(l){return[l]},[OL.a]),fP._17(85,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(87,16384,null,0,EP.s,[EP.r],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(89,0,null,0,3,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(90,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),fP._17(91,16384,[[31,4]],0,OL.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,GI)),fP._17(97,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._13(16777216,null,1,1,null,zI)),fP._17(102,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(104,0,null,1,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(106,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(107,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,39,{_control:0}),fP._38(335544320,40,{_placeholderChild:0}),fP._38(335544320,41,{_labelChild:0}),fP._38(603979776,42,{_errorChildren:1}),fP._38(603979776,43,{_hintChildren:1}),fP._38(603979776,44,{_prefixChildren:1}),fP._38(603979776,45,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._18(116,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","Bank Account Type "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},tN.b,tN.a)),fP._17(117,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(119,16384,null,0,EP.s,[EP.r],null,null),fP._17(120,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,46,{options:1}),fP._38(603979776,47,{optionGroups:1}),fP._38(335544320,48,{customTrigger:0}),fP._37(2048,[[39,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(127,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,128)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(128,8437760,[[46,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,YI)),fP._17(132,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n \n \n \n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,QI)),fP._17(138,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(140,0,null,1,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,JI)),fP._17(143,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,ZI)),fP._17(148,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(155,0,null,1,54,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(157,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Approximate Vintage of the Account"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(160,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(161,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,76,{_control:0}),fP._38(335544320,77,{_placeholderChild:0}),fP._38(335544320,78,{_labelChild:0}),fP._38(603979776,79,{_errorChildren:1}),fP._38(603979776,80,{_hintChildren:1}),fP._38(603979776,81,{_prefixChildren:1}),fP._38(603979776,82,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(170,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_year"],["matInput",""],["name","vintage"],["placeholder","No of Years"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,171)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,171).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,171)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,171)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,172).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,172).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,172).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,177)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,177)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,177)._onInput()&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(l.context.$implicit,e.target.value,l.context.index)&&u}return u},null,null)),fP._17(171,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(172,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(174,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(176,16384,null,0,EP.s,[EP.r],null,null),fP._17(177,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[76,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(180,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size: 12px;color:red"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(181,16384,[[80,4]],0,EA.e,[],null,null),(l()(),fP._40(182,null,["",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(185,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(186,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,83,{_control:0}),fP._38(335544320,84,{_placeholderChild:0}),fP._38(335544320,85,{_labelChild:0}),fP._38(603979776,86,{_errorChildren:1}),fP._38(603979776,87,{_hintChildren:1}),fP._38(603979776,88,{_prefixChildren:1}),fP._38(603979776,89,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(195,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_month"],["matInput",""],["name","vintage"],["placeholder","No of Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,196)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,196).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,196)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,196)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,197).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,197).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,197).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,202)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,202)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,202)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,l.context.index)&&u}return u},null,null)),fP._17(196,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(197,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(199,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(201,16384,null,0,EP.s,[EP.r],null,null),fP._17(202,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[83,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(205,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size: 12px;color:red"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(206,16384,[[87,4]],0,EA.e,[],null,null),(l()(),fP._40(207,null,["",""])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(211,0,null,1,15,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(212,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,90,{_buttons:1}),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(215,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(216,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(218,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removebank(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(220,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(221,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lq)),fP._17(225,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,36,0,"applicant_name");l(n,39,0,"Account Holder's Name",e.compareObjects);l(n,46,0,e.mergeCompanyApplicant);l(n,51,0,1==e.checkOthers(n.context.$implicit.get("applicant_name").value));l(n,64,0,"bank_name");l(n,67,0,"Bank Name");l(n,82,0,"Search Bank by Name","No Matching Result");l(n,85,0,"filterCtrl");l(n,90,0,"md-close");l(n,97,0,e.m_btLenderListValue);l(n,102,0,1==n.context.$implicit.get("bank_name").value);l(n,117,0,"account_type");l(n,120,0,"Bank Account Type ");l(n,132,0,e.accountType);l(n,138,0,"SAL"!=e.pd_cus_segment);l(n,143,0,e.salaryField);l(n,148,0,e.limitCaseFlag[n.context.index]);l(n,174,0,"vintage_year");l(n,177,0,"No of Years","number");l(n,199,0,"vintage_month");l(n,202,0,"No of Months","number");l(n,221,0,"optblue","md-trash");l(n,225,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,6,0,fP._32(n,8).expanded,fP._32(n,8)._hasSpacing());l(n,11,0,fP._32(n,12).panel._headerId,fP._32(n,12).panel.disabled?-1:0,fP._32(n,12)._getPanelId(),fP._32(n,12)._isExpanded(),fP._32(n,12).panel.disabled,fP._32(n,12)._isExpanded(),l(n,14,0,fP._32(n,12)._getExpandedState(),l(n,13,0,fP._32(n,12).collapsedHeight,fP._32(n,12).expandedHeight)));l(n,20,0,n.context.index+1);l(n,24,1,[fP._32(n,25)._control.errorState,fP._32(n,25)._control.errorState,fP._32(n,25)._canLabelFloat,fP._32(n,25)._shouldLabelFloat(),fP._32(n,25)._hideControlPlaceholder(),fP._32(n,25)._control.disabled,fP._32(n,25)._control.focused,"primary"==fP._32(n,25).color,"accent"==fP._32(n,25).color,"warn"==fP._32(n,25).color,fP._32(n,25)._shouldForward("untouched"),fP._32(n,25)._shouldForward("touched"),fP._32(n,25)._shouldForward("pristine"),fP._32(n,25)._shouldForward("dirty"),fP._32(n,25)._shouldForward("valid"),fP._32(n,25)._shouldForward("invalid"),fP._32(n,25)._shouldForward("pending")]);l(n,34,1,[fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39).id,fP._32(n,39).tabIndex,fP._32(n,39)._ariaLabel,fP._32(n,39).ariaLabelledby,fP._32(n,39).required.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).errorState,fP._32(n,39).panelOpen?fP._32(n,39)._optionIds:null,fP._32(n,39).multiple,fP._32(n,39)._ariaDescribedby||null,fP._32(n,39)._getAriaActiveDescendant(),fP._32(n,39).disabled,fP._32(n,39).errorState,fP._32(n,39).required]);l(n,53,1,[fP._32(n,54)._control.errorState,fP._32(n,54)._control.errorState,fP._32(n,54)._canLabelFloat,fP._32(n,54)._shouldLabelFloat(),fP._32(n,54)._hideControlPlaceholder(),fP._32(n,54)._control.disabled,fP._32(n,54)._control.focused,"primary"==fP._32(n,54).color,"accent"==fP._32(n,54).color,"warn"==fP._32(n,54).color,fP._32(n,54)._shouldForward("untouched"),fP._32(n,54)._shouldForward("touched"),fP._32(n,54)._shouldForward("pristine"),fP._32(n,54)._shouldForward("dirty"),fP._32(n,54)._shouldForward("valid"),fP._32(n,54)._shouldForward("invalid"),fP._32(n,54)._shouldForward("pending")]);l(n,63,1,[fP._32(n,66).ngClassUntouched,fP._32(n,66).ngClassTouched,fP._32(n,66).ngClassPristine,fP._32(n,66).ngClassDirty,fP._32(n,66).ngClassValid,fP._32(n,66).ngClassInvalid,fP._32(n,66).ngClassPending,fP._32(n,67).id,fP._32(n,67).tabIndex,fP._32(n,67)._ariaLabel,fP._32(n,67).ariaLabelledby,fP._32(n,67).required.toString(),fP._32(n,67).disabled.toString(),fP._32(n,67).errorState,fP._32(n,67).panelOpen?fP._32(n,67)._optionIds:null,fP._32(n,67).multiple,fP._32(n,67)._ariaDescribedby||null,fP._32(n,67)._getAriaActiveDescendant(),fP._32(n,67).disabled,fP._32(n,67).errorState,fP._32(n,67).required]);l(n,74,0,fP._32(n,75)._getTabIndex(),fP._32(n,75).selected,fP._32(n,75).multiple,fP._32(n,75).active,fP._32(n,75).id,fP._32(n,75).selected.toString(),fP._32(n,75).disabled.toString(),fP._32(n,75).disabled);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,81,0,fP._32(n,82).isInsideMatOption,fP._32(n,87).ngClassUntouched,fP._32(n,87).ngClassTouched,fP._32(n,87).ngClassPristine,fP._32(n,87).ngClassDirty,fP._32(n,87).ngClassValid,fP._32(n,87).ngClassInvalid,fP._32(n,87).ngClassPending);l(n,89,0,fP._32(n,90)._hidden);l(n,106,1,[fP._32(n,107)._control.errorState,fP._32(n,107)._control.errorState,fP._32(n,107)._canLabelFloat,fP._32(n,107)._shouldLabelFloat(),fP._32(n,107)._hideControlPlaceholder(),fP._32(n,107)._control.disabled,fP._32(n,107)._control.focused,"primary"==fP._32(n,107).color,"accent"==fP._32(n,107).color,"warn"==fP._32(n,107).color,fP._32(n,107)._shouldForward("untouched"),fP._32(n,107)._shouldForward("touched"),fP._32(n,107)._shouldForward("pristine"),fP._32(n,107)._shouldForward("dirty"),fP._32(n,107)._shouldForward("valid"),fP._32(n,107)._shouldForward("invalid"),fP._32(n,107)._shouldForward("pending")]);l(n,116,1,[fP._32(n,119).ngClassUntouched,fP._32(n,119).ngClassTouched,fP._32(n,119).ngClassPristine,fP._32(n,119).ngClassDirty,fP._32(n,119).ngClassValid,fP._32(n,119).ngClassInvalid,fP._32(n,119).ngClassPending,fP._32(n,120).id,fP._32(n,120).tabIndex,fP._32(n,120)._ariaLabel,fP._32(n,120).ariaLabelledby,fP._32(n,120).required.toString(),fP._32(n,120).disabled.toString(),fP._32(n,120).errorState,fP._32(n,120).panelOpen?fP._32(n,120)._optionIds:null,fP._32(n,120).multiple,fP._32(n,120)._ariaDescribedby||null,fP._32(n,120)._getAriaActiveDescendant(),fP._32(n,120).disabled,fP._32(n,120).errorState,fP._32(n,120).required]);l(n,127,0,fP._32(n,128)._getTabIndex(),fP._32(n,128).selected,fP._32(n,128).multiple,fP._32(n,128).active,fP._32(n,128).id,fP._32(n,128).selected.toString(),fP._32(n,128).disabled.toString(),fP._32(n,128).disabled);l(n,160,1,[fP._32(n,161)._control.errorState,fP._32(n,161)._control.errorState,fP._32(n,161)._canLabelFloat,fP._32(n,161)._shouldLabelFloat(),fP._32(n,161)._hideControlPlaceholder(),fP._32(n,161)._control.disabled,fP._32(n,161)._control.focused,"primary"==fP._32(n,161).color,"accent"==fP._32(n,161).color,"warn"==fP._32(n,161).color,fP._32(n,161)._shouldForward("untouched"),fP._32(n,161)._shouldForward("touched"),fP._32(n,161)._shouldForward("pristine"),fP._32(n,161)._shouldForward("dirty"),fP._32(n,161)._shouldForward("valid"),fP._32(n,161)._shouldForward("invalid"),fP._32(n,161)._shouldForward("pending")]);l(n,170,1,[fP._32(n,176).ngClassUntouched,fP._32(n,176).ngClassTouched,fP._32(n,176).ngClassPristine,fP._32(n,176).ngClassDirty,fP._32(n,176).ngClassValid,fP._32(n,176).ngClassInvalid,fP._32(n,176).ngClassPending,fP._32(n,177)._isServer,fP._32(n,177).id,fP._32(n,177).placeholder,fP._32(n,177).disabled,fP._32(n,177).required,fP._32(n,177).readonly,fP._32(n,177)._ariaDescribedby||null,fP._32(n,177).errorState,fP._32(n,177).required.toString()]);l(n,180,0,"end"==fP._32(n,181).align,fP._32(n,181).id,null);l(n,182,0,e.yearErrorMessage[n.context.index]);l(n,185,1,[fP._32(n,186)._control.errorState,fP._32(n,186)._control.errorState,fP._32(n,186)._canLabelFloat,fP._32(n,186)._shouldLabelFloat(),fP._32(n,186)._hideControlPlaceholder(),fP._32(n,186)._control.disabled,fP._32(n,186)._control.focused,"primary"==fP._32(n,186).color,"accent"==fP._32(n,186).color,"warn"==fP._32(n,186).color,fP._32(n,186)._shouldForward("untouched"),fP._32(n,186)._shouldForward("touched"),fP._32(n,186)._shouldForward("pristine"),fP._32(n,186)._shouldForward("dirty"),fP._32(n,186)._shouldForward("valid"),fP._32(n,186)._shouldForward("invalid"),fP._32(n,186)._shouldForward("pending")]);l(n,195,1,[fP._32(n,201).ngClassUntouched,fP._32(n,201).ngClassTouched,fP._32(n,201).ngClassPristine,fP._32(n,201).ngClassDirty,fP._32(n,201).ngClassValid,fP._32(n,201).ngClassInvalid,fP._32(n,201).ngClassPending,fP._32(n,202)._isServer,fP._32(n,202).id,fP._32(n,202).placeholder,fP._32(n,202).disabled,fP._32(n,202).required,fP._32(n,202).readonly,fP._32(n,202)._ariaDescribedby||null,fP._32(n,202).errorState,fP._32(n,202).required.toString()]);l(n,205,0,"end"==fP._32(n,206).align,fP._32(n,206).id,null);l(n,207,0,e.monthErrorMessage[n.context.index]);l(n,220,0,fP._32(n,221)._hidden)})}function eq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,44,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,2).onReset()&&u}return u},null,null)),fP._17(1,16384,null,0,EP.B,[],null,null),fP._17(2,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(4,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,7,"div",[["class","accordion"],["formArrayName","itemRows"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(7,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(9,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,nq)),fP._17(12,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(15,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(16,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(18,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(19,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,91,{_control:0}),fP._38(335544320,92,{_placeholderChild:0}),fP._38(335544320,93,{_labelChild:0}),fP._38(603979776,94,{_errorChildren:1}),fP._38(603979776,95,{_hintChildren:1}),fP._38(603979776,96,{_prefixChildren:1}),fP._38(603979776,97,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(28,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["placeholder","Remarks"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,29)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,29).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,29)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,29)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,34)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,34)._onInput()&&u}return u},null,null)),fP._17(29,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(31,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(33,16384,null,0,EP.s,[EP.r],null,null),fP._17(34,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[91,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(40,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.bankingForm);l(n,7,0,"itemRows");l(n,12,0,e.bankingForm.controls.itemRows.controls);l(n,31,0,"banking_form_remark");l(n,34,0,"Remarks","text")},function(l,n){l(n,0,0,fP._32(n,4).ngClassUntouched,fP._32(n,4).ngClassTouched,fP._32(n,4).ngClassPristine,fP._32(n,4).ngClassDirty,fP._32(n,4).ngClassValid,fP._32(n,4).ngClassInvalid,fP._32(n,4).ngClassPending);l(n,6,0,fP._32(n,9).ngClassUntouched,fP._32(n,9).ngClassTouched,fP._32(n,9).ngClassPristine,fP._32(n,9).ngClassDirty,fP._32(n,9).ngClassValid,fP._32(n,9).ngClassInvalid,fP._32(n,9).ngClassPending);l(n,18,1,[fP._32(n,19)._control.errorState,fP._32(n,19)._control.errorState,fP._32(n,19)._canLabelFloat,fP._32(n,19)._shouldLabelFloat(),fP._32(n,19)._hideControlPlaceholder(),fP._32(n,19)._control.disabled,fP._32(n,19)._control.focused,"primary"==fP._32(n,19).color,"accent"==fP._32(n,19).color,"warn"==fP._32(n,19).color,fP._32(n,19)._shouldForward("untouched"),fP._32(n,19)._shouldForward("touched"),fP._32(n,19)._shouldForward("pristine"),fP._32(n,19)._shouldForward("dirty"),fP._32(n,19)._shouldForward("valid"),fP._32(n,19)._shouldForward("invalid"),fP._32(n,19)._shouldForward("pending")]);l(n,28,1,[fP._32(n,33).ngClassUntouched,fP._32(n,33).ngClassTouched,fP._32(n,33).ngClassPristine,fP._32(n,33).ngClassDirty,fP._32(n,33).ngClassValid,fP._32(n,33).ngClassInvalid,fP._32(n,33).ngClassPending,fP._32(n,34)._isServer,fP._32(n,34).id,fP._32(n,34).placeholder,fP._32(n,34).disabled,fP._32(n,34).required,fP._32(n,34).readonly,fP._32(n,34)._ariaDescribedby||null,fP._32(n,34).errorState,fP._32(n,34).required.toString()])})}function uq(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,41,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,21,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(8,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(9,0,["",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(11,0,null,2,13,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(12,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(15,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(18,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(19,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["  \n "])),(l()(),fP._13(16777216,null,null,1,null,TI)),fP._17(23,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.tab=e)&&u}return u},null,null)),fP._17(28,671744,null,0,EP.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),fP._37(2048,null,EP.r,null,[EP.v]),fP._17(30,16384,null,0,EP.s,[EP.r],null,null),fP._17(31,1196032,null,1,_V.a,[aA.a,fP.p,fP.O,[2,EP.r]],{color:[0,"color"]},null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,35).onClick()&&u}return u},dV.b,dV.a)),fP._17(35,114688,[[2,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Form\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(38,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,39).onClick()&&u}return u},dV.b,dV.a)),fP._17(39,114688,[[2,4]],0,sV.a,[],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["\n Pictures\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(44,0,null,null,14,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(45,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(47,0,null,1,8,"div",[],null,null,null,null,null)),fP._17(48,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,UI)),fP._17(51,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eq)),fP._17(54,278528,null,0,mD.p,[fP._1,fP.W,mD.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,19,0,"md-camera");l(n,23,0,!e.complete_status);l(n,28,0,e.tab);l(n,31,0,"optblue");l(n,35,0,"0");l(n,39,0,"1");l(n,48,0,e.tab);l(n,51,0,"1");l(n,54,0,"0")},function(l,n){var e=n.component;l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,9,0,e.formDetails.form_name);l(n,18,0,fP._32(n,19)._hidden);l(n,27,0,fP._32(n,30).ngClassUntouched,fP._32(n,30).ngClassTouched,fP._32(n,30).ngClassPristine,fP._32(n,30).ngClassDirty,fP._32(n,30).ngClassValid,fP._32(n,30).ngClassInvalid,fP._32(n,30).ngClassPending,fP._32(n,31)._disabled);l(n,34,0,fP._32(n,35)._disabled,fP._32(n,35).isActive,fP._32(n,35).isActive);l(n,38,0,fP._32(n,39)._disabled,fP._32(n,39).isActive,fP._32(n,39).isActive);l(n,44,0,fP._32(n,45).statusbarPadding,fP._32(n,45)._hasRefresher)})}function tq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Business Expenses"]))],null,null)}function aq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveBusinessData(t.BuissnessForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function iq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.business_income_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_income_item)})}function oq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_income_item"],["matInput",""],["name","other_income_item"],["placeholder","Other Business Income"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_income_item");l(n,16,0,"Other Business Income","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function rq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[24,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function _q(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[34,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function dq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,37,{_control:0}),fP._38(335544320,38,{_placeholderChild:0}),fP._38(335544320,39,{_labelChild:0}),fP._38(603979776,40,{_errorChildren:1}),fP._38(603979776,41,{_hintChildren:1}),fP._38(603979776,42,{_prefixChildren:1}),fP._38(603979776,43,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequncy_item"],["matInput",""],["name","other_frequncy_item"],["placeholder","Other Frequency"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[37,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequncy_item");l(n,16,0,"Other Frequency","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function sq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),fP._17(1,16384,[[48,4]],0,EA.e,[],{align:[0,"align"]},null),(l()(),fP._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==fP._32(n,1).align,fP._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function cq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBusinessDetails()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function mq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["Total Business Income:"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),fP._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),fP._40(15,null,[" ",""])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandIncomeTotal)})}function pq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,168,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,162,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(6,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(8,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(9,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(18,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","business_income_id"],["placeholder","Buiness Income"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,22)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(19,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(21,16384,null,0,EP.s,[EP.r],null,null),fP._17(22,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},null),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,30)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(30,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,iq)),fP._17(34,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n"])),(l()(),fP._40(-1,0,["\n"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,oq)),fP._17(41,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(43,0,null,0,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(44,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,20,{_control:0}),fP._38(335544320,21,{_placeholderChild:0}),fP._38(335544320,22,{_labelChild:0}),fP._38(603979776,23,{_errorChildren:1}),fP._38(603979776,24,{_hintChildren:1}),fP._38(603979776,25,{_prefixChildren:1}),fP._38(603979776,26,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(53,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","income_value"],["matInput",""],["name","income_value"],["placeholder","Amount (Rs)"],["type","tel"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,59)._onInput()&&u}if("keyup"===n){t.busIncomecalculate(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),fP._17(54,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(56,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(58,16384,null,0,EP.s,[EP.r],null,null),fP._17(59,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[20,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,rq)),fP._17(63,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(66,0,null,0,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(67,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,27,{_control:0}),fP._38(335544320,28,{_placeholderChild:0}),fP._38(335544320,29,{_labelChild:0}),fP._38(603979776,30,{_errorChildren:1}),fP._38(603979776,31,{_hintChildren:1}),fP._38(603979776,32,{_prefixChildren:1}),fP._38(603979776,33,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(76,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,80)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,80)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,80)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.busIncomecalculate(l.context.index,l.context.$implicit.value)&&u}return u},tN.b,tN.a)),fP._17(77,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(79,16384,null,0,EP.s,[EP.r],null,null),fP._17(80,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),fP._38(603979776,34,{options:1}),fP._38(603979776,35,{optionGroups:1}),fP._38(335544320,36,{customTrigger:0}),fP._37(2048,[[27,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(87,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,88)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,88)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(88,8437760,[[34,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,_q)),fP._17(92,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,dq)),fP._17(97,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(99,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(100,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,44,{_control:0}),fP._38(335544320,45,{_placeholderChild:0}),fP._38(335544320,46,{_labelChild:0}),fP._38(603979776,47,{_errorChildren:1}),fP._38(603979776,48,{_hintChildren:1}),fP._38(603979776,49,{_prefixChildren:1}),fP._38(603979776,50,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(109,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_income_value"],["matInput",""],["name","annual_income_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,110)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,110).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,110)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,110)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,111).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,111).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,111).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,116)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,116)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,116)._onInput()&&u}return u},null,null)),fP._17(110,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(111,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(113,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(115,16384,null,0,EP.s,[EP.r],null,null),fP._17(116,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),fP._37(2048,[[44,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,7,1,null,sq)),fP._17(120,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(123,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(124,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,51,{_control:0}),fP._38(335544320,52,{_placeholderChild:0}),fP._38(335544320,53,{_labelChild:0}),fP._38(603979776,54,{_errorChildren:1}),fP._38(603979776,55,{_hintChildren:1}),fP._38(603979776,56,{_prefixChildren:1}),fP._38(603979776,57,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(133,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,134)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,134).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,134)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,134)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,139)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,139)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,139)._onInput()&&u}return u},null,null)),fP._17(134,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(136,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(138,16384,null,0,EP.s,[EP.r],null,null),fP._17(139,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"]},null),fP._37(2048,[[51,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(143,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(144,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,58,{_buttons:1}),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(147,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),fP._17(148,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(150,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteBuisnessDetails(l.context.index)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(152,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),fP._17(153,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(157,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),fP._17(158,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._13(16777216,null,null,1,null,cq)),fP._17(161,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n \n \n \n \n "])),(l()(),fP._40(-1,0,["\n\n \n "])),(l()(),fP._13(16777216,null,0,1,null,mq)),fP._17(166,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"business_income_id");l(n,22,0,"Buiness Income");l(n,34,0,e.businessIncome);l(n,41,0,1==n.context.$implicit.get("business_income_id").value);l(n,56,0,"income_value");l(n,59,0,"Amount (Rs)","tel");l(n,63,0,null!=n.context.$implicit.get("income_value").value);l(n,77,0,"fk_frequency_id");l(n,80,0,"Frequency");l(n,92,0,e.m_freqOfPurchase);l(n,97,0,1==n.context.$implicit.get("fk_frequency_id").value);l(n,113,0,"annual_income_value");l(n,116,0,"Annual Expenses","number","");l(n,120,0,null!=n.context.$implicit.get("annual_income_value").value);l(n,136,0,"comments");l(n,139,0,"Remarks");l(n,153,0,"optblue","md-trash");l(n,161,0,n.context.last);l(n,166,0,n.context.last&&null!=e.grandIncomeTotal)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,8,1,[fP._32(n,9)._control.errorState,fP._32(n,9)._control.errorState,fP._32(n,9)._canLabelFloat,fP._32(n,9)._shouldLabelFloat(),fP._32(n,9)._hideControlPlaceholder(),fP._32(n,9)._control.disabled,fP._32(n,9)._control.focused,"primary"==fP._32(n,9).color,"accent"==fP._32(n,9).color,"warn"==fP._32(n,9).color,fP._32(n,9)._shouldForward("untouched"),fP._32(n,9)._shouldForward("touched"),fP._32(n,9)._shouldForward("pristine"),fP._32(n,9)._shouldForward("dirty"),fP._32(n,9)._shouldForward("valid"),fP._32(n,9)._shouldForward("invalid"),fP._32(n,9)._shouldForward("pending")]);l(n,18,1,[fP._32(n,21).ngClassUntouched,fP._32(n,21).ngClassTouched,fP._32(n,21).ngClassPristine,fP._32(n,21).ngClassDirty,fP._32(n,21).ngClassValid,fP._32(n,21).ngClassInvalid,fP._32(n,21).ngClassPending,fP._32(n,22).id,fP._32(n,22).tabIndex,fP._32(n,22)._ariaLabel,fP._32(n,22).ariaLabelledby,fP._32(n,22).required.toString(),fP._32(n,22).disabled.toString(),fP._32(n,22).errorState,fP._32(n,22).panelOpen?fP._32(n,22)._optionIds:null,fP._32(n,22).multiple,fP._32(n,22)._ariaDescribedby||null,fP._32(n,22)._getAriaActiveDescendant(),fP._32(n,22).disabled,fP._32(n,22).errorState,fP._32(n,22).required]);l(n,29,0,fP._32(n,30)._getTabIndex(),fP._32(n,30).selected,fP._32(n,30).multiple,fP._32(n,30).active,fP._32(n,30).id,fP._32(n,30).selected.toString(),fP._32(n,30).disabled.toString(),fP._32(n,30).disabled);l(n,43,1,[fP._32(n,44)._control.errorState,fP._32(n,44)._control.errorState,fP._32(n,44)._canLabelFloat,fP._32(n,44)._shouldLabelFloat(),fP._32(n,44)._hideControlPlaceholder(),fP._32(n,44)._control.disabled,fP._32(n,44)._control.focused,"primary"==fP._32(n,44).color,"accent"==fP._32(n,44).color,"warn"==fP._32(n,44).color,fP._32(n,44)._shouldForward("untouched"),fP._32(n,44)._shouldForward("touched"),fP._32(n,44)._shouldForward("pristine"),fP._32(n,44)._shouldForward("dirty"),fP._32(n,44)._shouldForward("valid"),fP._32(n,44)._shouldForward("invalid"),fP._32(n,44)._shouldForward("pending")]);l(n,53,1,[fP._32(n,58).ngClassUntouched,fP._32(n,58).ngClassTouched,fP._32(n,58).ngClassPristine,fP._32(n,58).ngClassDirty,fP._32(n,58).ngClassValid,fP._32(n,58).ngClassInvalid,fP._32(n,58).ngClassPending,fP._32(n,59)._isServer,fP._32(n,59).id,fP._32(n,59).placeholder,fP._32(n,59).disabled,fP._32(n,59).required,fP._32(n,59).readonly,fP._32(n,59)._ariaDescribedby||null,fP._32(n,59).errorState,fP._32(n,59).required.toString()]);l(n,66,1,[fP._32(n,67)._control.errorState,fP._32(n,67)._control.errorState,fP._32(n,67)._canLabelFloat,fP._32(n,67)._shouldLabelFloat(),fP._32(n,67)._hideControlPlaceholder(),fP._32(n,67)._control.disabled,fP._32(n,67)._control.focused,"primary"==fP._32(n,67).color,"accent"==fP._32(n,67).color,"warn"==fP._32(n,67).color,fP._32(n,67)._shouldForward("untouched"),fP._32(n,67)._shouldForward("touched"),fP._32(n,67)._shouldForward("pristine"),fP._32(n,67)._shouldForward("dirty"),fP._32(n,67)._shouldForward("valid"),fP._32(n,67)._shouldForward("invalid"),fP._32(n,67)._shouldForward("pending")]);l(n,76,1,[fP._32(n,79).ngClassUntouched,fP._32(n,79).ngClassTouched,fP._32(n,79).ngClassPristine,fP._32(n,79).ngClassDirty,fP._32(n,79).ngClassValid,fP._32(n,79).ngClassInvalid,fP._32(n,79).ngClassPending,fP._32(n,80).id,fP._32(n,80).tabIndex,fP._32(n,80)._ariaLabel,fP._32(n,80).ariaLabelledby,fP._32(n,80).required.toString(),fP._32(n,80).disabled.toString(),fP._32(n,80).errorState,fP._32(n,80).panelOpen?fP._32(n,80)._optionIds:null,fP._32(n,80).multiple,fP._32(n,80)._ariaDescribedby||null,fP._32(n,80)._getAriaActiveDescendant(),fP._32(n,80).disabled,fP._32(n,80).errorState,fP._32(n,80).required]);l(n,87,0,fP._32(n,88)._getTabIndex(),fP._32(n,88).selected,fP._32(n,88).multiple,fP._32(n,88).active,fP._32(n,88).id,fP._32(n,88).selected.toString(),fP._32(n,88).disabled.toString(),fP._32(n,88).disabled);l(n,99,1,[fP._32(n,100)._control.errorState,fP._32(n,100)._control.errorState,fP._32(n,100)._canLabelFloat,fP._32(n,100)._shouldLabelFloat(),fP._32(n,100)._hideControlPlaceholder(),fP._32(n,100)._control.disabled,fP._32(n,100)._control.focused,"primary"==fP._32(n,100).color,"accent"==fP._32(n,100).color,"warn"==fP._32(n,100).color,fP._32(n,100)._shouldForward("untouched"),fP._32(n,100)._shouldForward("touched"),fP._32(n,100)._shouldForward("pristine"),fP._32(n,100)._shouldForward("dirty"),fP._32(n,100)._shouldForward("valid"),fP._32(n,100)._shouldForward("invalid"),fP._32(n,100)._shouldForward("pending")]);l(n,109,1,[fP._32(n,115).ngClassUntouched,fP._32(n,115).ngClassTouched,fP._32(n,115).ngClassPristine,fP._32(n,115).ngClassDirty,fP._32(n,115).ngClassValid,fP._32(n,115).ngClassInvalid,fP._32(n,115).ngClassPending,fP._32(n,116)._isServer,fP._32(n,116).id,fP._32(n,116).placeholder,fP._32(n,116).disabled,fP._32(n,116).required,fP._32(n,116).readonly,fP._32(n,116)._ariaDescribedby||null,fP._32(n,116).errorState,fP._32(n,116).required.toString()]);l(n,123,1,[fP._32(n,124)._control.errorState,fP._32(n,124)._control.errorState,fP._32(n,124)._canLabelFloat,fP._32(n,124)._shouldLabelFloat(),fP._32(n,124)._hideControlPlaceholder(),fP._32(n,124)._control.disabled,fP._32(n,124)._control.focused,"primary"==fP._32(n,124).color,"accent"==fP._32(n,124).color,"warn"==fP._32(n,124).color,fP._32(n,124)._shouldForward("untouched"),fP._32(n,124)._shouldForward("touched"),fP._32(n,124)._shouldForward("pristine"),fP._32(n,124)._shouldForward("dirty"),fP._32(n,124)._shouldForward("valid"),fP._32(n,124)._shouldForward("invalid"),fP._32(n,124)._shouldForward("pending")]);l(n,133,1,[fP._32(n,138).ngClassUntouched,fP._32(n,138).ngClassTouched,fP._32(n,138).ngClassPristine,fP._32(n,138).ngClassDirty,fP._32(n,138).ngClassValid,fP._32(n,138).ngClassInvalid,fP._32(n,138).ngClassPending,fP._32(n,139)._isServer,fP._32(n,139).id,fP._32(n,139).placeholder,fP._32(n,139).disabled,fP._32(n,139).required,fP._32(n,139).readonly,fP._32(n,139)._ariaDescribedby||null,fP._32(n,139).errorState,fP._32(n,139).required.toString()]);l(n,152,0,fP._32(n,153)._hidden)})}function fq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,tq)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(19,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(20,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,aq)),fP._17(25,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(30,0,null,null,25,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(31,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,21,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,35).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,35).onReset()&&u}return u},null,null)),fP._17(34,16384,null,0,EP.B,[],null,null),fP._17(35,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(37,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,7,"div",[["formArrayName","busIncome"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(40,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(42,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,pq)),fP._17(45,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(48,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(49,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,!e.complete_status);l(n,35,0,e.BuissnessForm);l(n,40,0,"busIncome");l(n,45,0,e.BuissnessForm.get("busIncome").controls)},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,30,0,fP._32(n,31).statusbarPadding,fP._32(n,31)._hasRefresher);l(n,33,0,fP._32(n,37).ngClassUntouched,fP._32(n,37).ngClassTouched,fP._32(n,37).ngClassPristine,fP._32(n,37).ngClassDirty,fP._32(n,37).ngClassValid,fP._32(n,37).ngClassInvalid,fP._32(n,37).ngClassPending);l(n,39,0,fP._32(n,42).ngClassUntouched,fP._32(n,42).ngClassTouched,fP._32(n,42).ngClassPristine,fP._32(n,42).ngClassDirty,fP._32(n,42).ngClassValid,fP._32(n,42).ngClassInvalid,fP._32(n,42).ngClassPending)})}function hq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._18(2,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","docName"],["placeholder","File Name"],["required",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0,t=l.component;if("blur"===n){u=!1!==fP._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==t.docnames(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null)),fP._37(6144,null,EA.c,null,[$A.b]),fP._17(4,933888,null,0,$A.b,[fP.p,jP.a,[8,null],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,fP._32(n,4)._isServer,fP._32(n,4).id,fP._32(n,4).placeholder,fP._32(n,4).disabled,fP._32(n,4).required,fP._32(n,4).readonly,fP._32(n,4)._ariaDescribedby||null,fP._32(n,4).errorState,fP._32(n,4).required.toString())})}function gq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),fP._40(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.Name)})}function bq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,14,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeimage(l.context.index)&&u}return u},null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._18(6,0,null,null,1,"img",[["class","img-responsive"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,7).onClick(e)&&u}return u},null,null)),fP._17(7,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._40(-1,null,["\n\n \n "])),(l()(),fP._13(16777216,null,null,1,null,hq)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,gq)),fP._17(13,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"trash");l(n,7,0,"");l(n,10,0,""==n.context.$implicit.name);l(n,13,0,""!=n.context.$implicit.name)},function(l,n){l(n,3,0,fP._32(n,4)._hidden);l(n,6,0,fP._21(1,"",n.context.$implicit.image,""))})}function vq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,bq)),fP._17(4,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.cameraArr)},null)}function yq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(16,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(17,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(18,0,[""," - ",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(22,0,null,null,43,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(23,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(25,0,null,0,9,"ion-fab",[["middle",""],["right",""]],null,null,null,VV.b,VV.a)),fP._17(26,1228800,null,2,NV.a,[pA.a],null,null),fP._38(335544320,2,{_mainButton:0}),fP._38(603979776,3,{_fabLists:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(30,0,null,0,3,"button",[["color","optblue"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.takePicture()&&u}return u},WV.b,WV.a)),fP._17(31,49152,[[2,4]],0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(32,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(33,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n\n "])),(l()(),fP._18(36,0,null,1,16,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(37,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(39,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(40,49152,null,0,AA.e,[],null,null),(l()(),fP._18(41,0,null,2,1,"b",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["General Images"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,vq)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(47,0,null,0,4,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(48,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(54,0,null,1,10,"ion-footer",[],null,null,null,null,null)),fP._17(55,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(57,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(58,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(60,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePDImages()&&u}return u},aV.b,aV.a)),fP._17(61,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,["\n Save"])),(l()(),fP._40(-1,null,["\n \n \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,31,0,"optblue");l(n,33,0,"md-camera");l(n,45,0,0!=e.cameraArr.length);l(n,61,0,"primary","")},function(l,n){var e=n.component;l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,18,0,e.applicatentDetails.lender_full_name,e.applicatentDetails.lender_applicant_id);l(n,22,0,fP._32(n,23).statusbarPadding,fP._32(n,23)._hasRefresher);l(n,32,0,fP._32(n,33)._hidden);l(n,60,0,e.saveAccess)})}function Cq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Salary Category"]))],null,null)}function wq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),fP._17(1,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(4,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,8).toggle()&&u}return u},aV.b,aV.a)),fP._17(7,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(8,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(9,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Cq)),fP._17(17,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n \n \n "])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(21,0,null,null,140,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(22,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(25,0,null,1,1,"h1",[["text-center",""]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Salary info"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(28,0,null,1,132,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,30).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,30).onReset()&&u}return u},null,null)),fP._17(29,16384,null,0,EP.B,[],null,null),fP._17(30,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(32,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(34,0,null,null,117,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(35,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(37,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(39,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(40,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,2,{_control:0}),fP._38(335544320,3,{_placeholderChild:0}),fP._38(335544320,4,{_labelChild:0}),fP._38(603979776,5,{_errorChildren:1}),fP._38(603979776,6,{_hintChildren:1}),fP._38(603979776,7,{_prefixChildren:1}),fP._38(603979776,8,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(49,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","gross"],["matInput",""],["name","gross"],["placeholder","Gross"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,55)._onInput()&&u}return u},null,null)),fP._17(50,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(52,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(54,16384,null,0,EP.s,[EP.r],null,null),fP._17(55,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[2,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(60,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(62,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(63,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,9,{_control:0}),fP._38(335544320,10,{_placeholderChild:0}),fP._38(335544320,11,{_labelChild:0}),fP._38(603979776,12,{_errorChildren:1}),fP._38(603979776,13,{_hintChildren:1}),fP._38(603979776,14,{_prefixChildren:1}),fP._38(603979776,15,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(72,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","netTakeHome"],["matInput",""],["name","netTakeHome"],["placeholder","Net Take home"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,78)._onInput()&&u}return u},null,null)),fP._17(73,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(75,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(77,16384,null,0,EP.s,[EP.r],null,null),fP._17(78,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[9,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(83,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(86,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,16,{_control:0}),fP._38(335544320,17,{_placeholderChild:0}),fP._38(335544320,18,{_labelChild:0}),fP._38(603979776,19,{_errorChildren:1}),fP._38(603979776,20,{_hintChildren:1}),fP._38(603979776,21,{_prefixChildren:1}),fP._38(603979776,22,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(95,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bounsIncentive"],["matInput",""],["name","bounsIncentive"],["placeholder","Bonus or incentive"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,96)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,96).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,96)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,96)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,101)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,101)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,101)._onInput()&&u}return u},null,null)),fP._17(96,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(98,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(100,16384,null,0,EP.s,[EP.r],null,null),fP._17(101,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[16,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(106,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(108,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(109,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,23,{_control:0}),fP._38(335544320,24,{_placeholderChild:0}),fP._38(335544320,25,{_labelChild:0}),fP._38(603979776,26,{_errorChildren:1}),fP._38(603979776,27,{_hintChildren:1}),fP._38(603979776,28,{_prefixChildren:1}),fP._38(603979776,29,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(118,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","salaryDate"],["matInput",""],["name","salaryDate"],["placeholder","Salary date"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,119)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,119).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,119)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,119)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,124)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,124)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,124)._onInput()&&u}return u},null,null)),fP._17(119,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(121,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(123,16384,null,0,EP.s,[EP.r],null,null),fP._17(124,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[23,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(129,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(131,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(132,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,30,{_control:0}),fP._38(335544320,31,{_placeholderChild:0}),fP._38(335544320,32,{_labelChild:0}),fP._38(603979776,33,{_errorChildren:1}),fP._38(603979776,34,{_hintChildren:1}),fP._38(603979776,35,{_prefixChildren:1}),fP._38(603979776,36,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(141,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","anydelays"],["matInput",""],["name","anydelays"],["placeholder","Any Delays"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,142)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,142).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,142)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,142)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,147)._onInput()&&u}return u},null,null)),fP._17(142,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(144,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(146,16384,null,0,EP.s,[EP.r],null,null),fP._17(147,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[30,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,[" \n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(153,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(154,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._18(156,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,null,null,aV.b,aV.a)),fP._17(157,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),fP._40(-1,0,[" Save"])),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,30,0,e.salaryDetails);l(n,52,0,"gross");l(n,55,0,"Gross","text");l(n,75,0,"netTakeHome");l(n,78,0,"Net Take home","text");l(n,98,0,"bounsIncentive");l(n,101,0,"Bonus or incentive","text");l(n,121,0,"salaryDate");l(n,124,0,"Salary date","date");l(n,144,0,"anydelays");l(n,147,0,"Any Delays","text");l(n,157,0,"optblue","")},function(l,n){l(n,3,0,fP._32(n,4)._hidden,fP._32(n,4)._sbPadding);l(n,6,0,fP._32(n,8).isHidden);l(n,12,0,fP._32(n,13)._hidden);l(n,21,0,fP._32(n,22).statusbarPadding,fP._32(n,22)._hasRefresher);l(n,28,0,fP._32(n,32).ngClassUntouched,fP._32(n,32).ngClassTouched,fP._32(n,32).ngClassPristine,fP._32(n,32).ngClassDirty,fP._32(n,32).ngClassValid,fP._32(n,32).ngClassInvalid,fP._32(n,32).ngClassPending);l(n,39,1,[fP._32(n,40)._control.errorState,fP._32(n,40)._control.errorState,fP._32(n,40)._canLabelFloat,fP._32(n,40)._shouldLabelFloat(),fP._32(n,40)._hideControlPlaceholder(),fP._32(n,40)._control.disabled,fP._32(n,40)._control.focused,"primary"==fP._32(n,40).color,"accent"==fP._32(n,40).color,"warn"==fP._32(n,40).color,fP._32(n,40)._shouldForward("untouched"),fP._32(n,40)._shouldForward("touched"),fP._32(n,40)._shouldForward("pristine"),fP._32(n,40)._shouldForward("dirty"),fP._32(n,40)._shouldForward("valid"),fP._32(n,40)._shouldForward("invalid"),fP._32(n,40)._shouldForward("pending")]);l(n,49,1,[fP._32(n,54).ngClassUntouched,fP._32(n,54).ngClassTouched,fP._32(n,54).ngClassPristine,fP._32(n,54).ngClassDirty,fP._32(n,54).ngClassValid,fP._32(n,54).ngClassInvalid,fP._32(n,54).ngClassPending,fP._32(n,55)._isServer,fP._32(n,55).id,fP._32(n,55).placeholder,fP._32(n,55).disabled,fP._32(n,55).required,fP._32(n,55).readonly,fP._32(n,55)._ariaDescribedby||null,fP._32(n,55).errorState,fP._32(n,55).required.toString()]);l(n,62,1,[fP._32(n,63)._control.errorState,fP._32(n,63)._control.errorState,fP._32(n,63)._canLabelFloat,fP._32(n,63)._shouldLabelFloat(),fP._32(n,63)._hideControlPlaceholder(),fP._32(n,63)._control.disabled,fP._32(n,63)._control.focused,"primary"==fP._32(n,63).color,"accent"==fP._32(n,63).color,"warn"==fP._32(n,63).color,fP._32(n,63)._shouldForward("untouched"),fP._32(n,63)._shouldForward("touched"),fP._32(n,63)._shouldForward("pristine"),fP._32(n,63)._shouldForward("dirty"),fP._32(n,63)._shouldForward("valid"),fP._32(n,63)._shouldForward("invalid"),fP._32(n,63)._shouldForward("pending")]);l(n,72,1,[fP._32(n,77).ngClassUntouched,fP._32(n,77).ngClassTouched,fP._32(n,77).ngClassPristine,fP._32(n,77).ngClassDirty,fP._32(n,77).ngClassValid,fP._32(n,77).ngClassInvalid,fP._32(n,77).ngClassPending,fP._32(n,78)._isServer,fP._32(n,78).id,fP._32(n,78).placeholder,fP._32(n,78).disabled,fP._32(n,78).required,fP._32(n,78).readonly,fP._32(n,78)._ariaDescribedby||null,fP._32(n,78).errorState,fP._32(n,78).required.toString()]);l(n,85,1,[fP._32(n,86)._control.errorState,fP._32(n,86)._control.errorState,fP._32(n,86)._canLabelFloat,fP._32(n,86)._shouldLabelFloat(),fP._32(n,86)._hideControlPlaceholder(),fP._32(n,86)._control.disabled,fP._32(n,86)._control.focused,"primary"==fP._32(n,86).color,"accent"==fP._32(n,86).color,"warn"==fP._32(n,86).color,fP._32(n,86)._shouldForward("untouched"),fP._32(n,86)._shouldForward("touched"),fP._32(n,86)._shouldForward("pristine"),fP._32(n,86)._shouldForward("dirty"),fP._32(n,86)._shouldForward("valid"),fP._32(n,86)._shouldForward("invalid"),fP._32(n,86)._shouldForward("pending")]);l(n,95,1,[fP._32(n,100).ngClassUntouched,fP._32(n,100).ngClassTouched,fP._32(n,100).ngClassPristine,fP._32(n,100).ngClassDirty,fP._32(n,100).ngClassValid,fP._32(n,100).ngClassInvalid,fP._32(n,100).ngClassPending,fP._32(n,101)._isServer,fP._32(n,101).id,fP._32(n,101).placeholder,fP._32(n,101).disabled,fP._32(n,101).required,fP._32(n,101).readonly,fP._32(n,101)._ariaDescribedby||null,fP._32(n,101).errorState,fP._32(n,101).required.toString()]);l(n,108,1,[fP._32(n,109)._control.errorState,fP._32(n,109)._control.errorState,fP._32(n,109)._canLabelFloat,fP._32(n,109)._shouldLabelFloat(),fP._32(n,109)._hideControlPlaceholder(),fP._32(n,109)._control.disabled,fP._32(n,109)._control.focused,"primary"==fP._32(n,109).color,"accent"==fP._32(n,109).color,"warn"==fP._32(n,109).color,fP._32(n,109)._shouldForward("untouched"),fP._32(n,109)._shouldForward("touched"),fP._32(n,109)._shouldForward("pristine"),fP._32(n,109)._shouldForward("dirty"),fP._32(n,109)._shouldForward("valid"),fP._32(n,109)._shouldForward("invalid"),fP._32(n,109)._shouldForward("pending")]);l(n,118,1,[fP._32(n,123).ngClassUntouched,fP._32(n,123).ngClassTouched,fP._32(n,123).ngClassPristine,fP._32(n,123).ngClassDirty,fP._32(n,123).ngClassValid,fP._32(n,123).ngClassInvalid,fP._32(n,123).ngClassPending,fP._32(n,124)._isServer,fP._32(n,124).id,fP._32(n,124).placeholder,fP._32(n,124).disabled,fP._32(n,124).required,fP._32(n,124).readonly,fP._32(n,124)._ariaDescribedby||null,fP._32(n,124).errorState,fP._32(n,124).required.toString()]);l(n,131,1,[fP._32(n,132)._control.errorState,fP._32(n,132)._control.errorState,fP._32(n,132)._canLabelFloat,fP._32(n,132)._shouldLabelFloat(),fP._32(n,132)._hideControlPlaceholder(),fP._32(n,132)._control.disabled,fP._32(n,132)._control.focused,"primary"==fP._32(n,132).color,"accent"==fP._32(n,132).color,"warn"==fP._32(n,132).color,fP._32(n,132)._shouldForward("untouched"),fP._32(n,132)._shouldForward("touched"),fP._32(n,132)._shouldForward("pristine"),fP._32(n,132)._shouldForward("dirty"),fP._32(n,132)._shouldForward("valid"),fP._32(n,132)._shouldForward("invalid"),fP._32(n,132)._shouldForward("pending")]);l(n,141,1,[fP._32(n,146).ngClassUntouched,fP._32(n,146).ngClassTouched,fP._32(n,146).ngClassPristine,fP._32(n,146).ngClassDirty,fP._32(n,146).ngClassValid,fP._32(n,146).ngClassInvalid,fP._32(n,146).ngClassPending,fP._32(n,147)._isServer,fP._32(n,147).id,fP._32(n,147).placeholder,fP._32(n,147).disabled,fP._32(n,147).required,fP._32(n,147).readonly,fP._32(n,147)._ariaDescribedby||null,fP._32(n,147).errorState,fP._32(n,147).required.toString()])})}function Fq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n b. Purchases\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),fP._36(10,1),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,fP._41(n,9,0,l(n,10,0,fP._32(n.parent.parent.parent,0),e.salesCustomer.purchases)))})}function xq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n b. Cost of Goods Sold\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),fP._36(10,1),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,fP._41(n,9,0,l(n,10,0,fP._32(n.parent.parent.parent,0),e.salesCustomer.cost_of_goods_sold)))})}function kq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),fP._17(1,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(5,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],null,null),fP._38(335544320,1,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(8,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,9)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(9,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(10,{collapsedHeight:0,expandedHeight:1}),fP._35(11,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(14,16384,null,0,SN.f,[],null,null),(l()(),fP._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" Declared By Customer "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(20,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n a. Sales/Revenue\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(27,16384,null,0,NA.a,[],null,null),(l()(),fP._40(28,null,["\n ","\n "])),fP._36(29,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Fq)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,xq)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(39,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(42,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n c. Gross Profit / Loss(a-b)\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(46,16384,null,0,NA.a,[],null,null),(l()(),fP._40(47,null,["\n ","\n "])),fP._36(48,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(52,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(55,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n d. Business Expenses\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(59,16384,null,0,NA.a,[],null,null),(l()(),fP._40(60,null,["\n ","\n "])),fP._36(61,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(65,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(68,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n e. Net Profit / Loss(c-d)\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(72,16384,null,0,NA.a,[],null,null),(l()(),fP._40(73,null,["\n ","\n "])),fP._36(74,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(77,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(78,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(81,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n f. Household Expenses\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(85,16384,null,0,NA.a,[],null,null),(l()(),fP._40(86,null,["\n ","\n "])),fP._36(87,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(91,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(93,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(94,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n g. Disposable Income\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(97,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(98,16384,null,0,NA.a,[],null,null),(l()(),fP._40(99,null,["\n ","\n "])),fP._36(100,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(104,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(106,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(107,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n h. Net Margin %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(111,16384,null,0,NA.a,[],null,null),(l()(),fP._40(112,null,["\n "," %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,33,0,e.salesCustomer.purchases);l(n,36,0,e.salesCustomer.cost_of_goods_sold)},function(l,n){var e=n.component;l(n,3,0,fP._32(n,5).expanded,fP._32(n,5)._hasSpacing());l(n,8,0,fP._32(n,9).panel._headerId,fP._32(n,9).panel.disabled?-1:0,fP._32(n,9)._getPanelId(),fP._32(n,9)._isExpanded(),fP._32(n,9).panel.disabled,fP._32(n,9)._isExpanded(),l(n,11,0,fP._32(n,9)._getExpandedState(),l(n,10,0,fP._32(n,9).collapsedHeight,fP._32(n,9).expandedHeight)));l(n,28,0,fP._41(n,28,0,l(n,29,0,fP._32(n.parent.parent,0),e.salesCustomer.sales_revenue)));l(n,47,0,fP._41(n,47,0,l(n,48,0,fP._32(n.parent.parent,0),e.salesCustomer.grossprofit)));l(n,60,0,fP._41(n,60,0,l(n,61,0,fP._32(n.parent.parent,0),e.salesCustomer.business_expenses)));l(n,73,0,fP._41(n,73,0,l(n,74,0,fP._32(n.parent.parent,0),e.salesCustomer.netprofit)));l(n,86,0,fP._41(n,86,0,l(n,87,0,fP._32(n.parent.parent,0),e.salesCustomer.house_hold_expenses)));l(n,99,0,fP._41(n,99,0,l(n,100,0,fP._32(n.parent.parent,0),e.salesCustomer.disposable_income)));l(n,112,0,e.salesCustomer.netmargin)})}function Sq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n b. Purchases\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),fP._36(10,1),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,fP._41(n,9,0,l(n,10,0,fP._32(n.parent.parent.parent,0),e.salesItemWise.purchases)))})}function Iq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n b. Cost of Goods Sold\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),fP._36(10,1),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,fP._41(n,9,0,l(n,10,0,fP._32(n.parent.parent.parent,0),e.salesItemWise.cost_of_goods_sold)))})}function qq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),fP._17(1,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(5,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],null,null),fP._38(335544320,2,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(8,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,9)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(9,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(10,{collapsedHeight:0,expandedHeight:1}),fP._35(11,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(14,16384,null,0,SN.f,[],null,null),(l()(),fP._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" As Derived from Item Wise Sales "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(20,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n a. Sales Revenue\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(27,16384,null,0,NA.a,[],null,null),(l()(),fP._40(28,null,["\n ","\n "])),fP._36(29,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Sq)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Iq)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(39,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(42,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n c. Gross Profit / Loss(a-b)\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(46,16384,null,0,NA.a,[],null,null),(l()(),fP._40(47,null,["\n ","\n "])),fP._36(48,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(52,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(55,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n d. Business Expenses\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(59,16384,null,0,NA.a,[],null,null),(l()(),fP._40(60,null,["\n ","\n "])),fP._36(61,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(65,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(68,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n e. Net Profit / Loss(c-d)\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(72,16384,null,0,NA.a,[],null,null),(l()(),fP._40(73,null,["\n ","\n "])),fP._36(74,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(77,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(78,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(81,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n f. Household Expenses\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(85,16384,null,0,NA.a,[],null,null),(l()(),fP._40(86,null,["\n ","\n "])),fP._36(87,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(91,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(93,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(94,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n g. Disposable Income\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(97,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(98,16384,null,0,NA.a,[],null,null),(l()(),fP._40(99,null,["\n ","\n "])),fP._36(100,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(104,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(106,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(107,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n h. Net Margin %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(111,16384,null,0,NA.a,[],null,null),(l()(),fP._40(112,null,["\n "," %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,33,0,e.salesItemWise.purchases);l(n,36,0,e.salesItemWise.cost_of_goods_sold)},function(l,n){var e=n.component;l(n,3,0,fP._32(n,5).expanded,fP._32(n,5)._hasSpacing());l(n,8,0,fP._32(n,9).panel._headerId,fP._32(n,9).panel.disabled?-1:0,fP._32(n,9)._getPanelId(),fP._32(n,9)._isExpanded(),fP._32(n,9).panel.disabled,fP._32(n,9)._isExpanded(),l(n,11,0,fP._32(n,9)._getExpandedState(),l(n,10,0,fP._32(n,9).collapsedHeight,fP._32(n,9).expandedHeight)));l(n,28,0,fP._41(n,28,0,l(n,29,0,fP._32(n.parent.parent,0),e.salesItemWise.sales_revenue)));l(n,47,0,fP._41(n,47,0,l(n,48,0,fP._32(n.parent.parent,0),e.salesItemWise.grossprofit)));l(n,60,0,fP._41(n,60,0,l(n,61,0,fP._32(n.parent.parent,0),e.salesItemWise.business_expenses)));l(n,73,0,fP._41(n,73,0,l(n,74,0,fP._32(n.parent.parent,0),e.salesItemWise.netprofit)));l(n,86,0,fP._41(n,86,0,l(n,87,0,fP._32(n.parent.parent,0),e.salesItemWise.house_hold_expenses)));l(n,99,0,fP._41(n,99,0,l(n,100,0,fP._32(n.parent.parent,0),e.salesItemWise.disposable_income)));l(n,112,0,e.salesItemWise.netmargin)})}function Pq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n b. Purchases\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),fP._36(10,1),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,fP._41(n,9,0,l(n,10,0,fP._32(n.parent.parent.parent,0),e.salesMonthWise.purchases)))})}function Dq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(1,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(4,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n b. Cost of Goods Sold\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(8,16384,null,0,NA.a,[],null,null),(l()(),fP._40(9,null,["\n ","\n "])),fP._36(10,1),(l()(),fP._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,fP._41(n,9,0,l(n,10,0,fP._32(n.parent.parent.parent,0),e.salesMonthWise.cost_of_goods_sold)))})}function Tq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),fP._17(1,16384,null,0,SN.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,IN.d,IN.a)),fP._37(6144,null,jA.F,null,[SN.c]),fP._17(5,1753088,null,1,SN.c,[[2,SN.a],fP.i,DV.d,fP._1],null,null),fP._38(335544320,3,{_lazyContent:0}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(8,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==fP._32(l,9)._keydown(e)&&u}return u},IN.c,IN.b)),fP._17(9,180224,null,0,SN.e,[SN.c,fP.p,UA.j,fP.i],null,null),fP._35(10,{collapsedHeight:0,expandedHeight:1}),fP._35(11,{value:0,params:1}),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),fP._17(14,16384,null,0,SN.f,[],null,null),(l()(),fP._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" As Derived from Kuchha Sales Book/Bills "])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(19,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(20,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(23,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n a. Sales Revenue\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(26,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(27,16384,null,0,NA.a,[],null,null),(l()(),fP._40(28,null,["\n ","\n "])),fP._36(29,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Pq)),fP._17(33,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Dq)),fP._17(36,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(39,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(41,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(42,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n c. Gross Profit / Loss(a-b)\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(45,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(46,16384,null,0,NA.a,[],null,null),(l()(),fP._40(47,null,["\n ","\n "])),fP._36(48,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(51,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(52,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(54,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(55,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n d. Business Expenses\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(58,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(59,16384,null,0,NA.a,[],null,null),(l()(),fP._40(60,null,["\n ","\n "])),fP._36(61,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(64,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(65,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(67,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(68,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n e. Net Profit / Loss(c-d)\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(71,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(72,16384,null,0,NA.a,[],null,null),(l()(),fP._40(73,null,["\n ","\n "])),fP._36(74,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(77,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(78,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(80,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(81,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n f. Household Expenses\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(84,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(85,16384,null,0,NA.a,[],null,null),(l()(),fP._40(86,null,["\n ","\n "])),fP._36(87,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(90,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(91,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(93,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(94,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n g. Disposable Income\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(97,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(98,16384,null,0,NA.a,[],null,null),(l()(),fP._40(99,null,["\n ","\n "])),fP._36(100,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(104,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(106,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),fP._17(107,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n h. Net Margin %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(111,16384,null,0,NA.a,[],null,null),(l()(),fP._40(112,null,["\n "," %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n \n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,33,0,e.salesMonthWise.purchases);l(n,36,0,e.salesMonthWise.cost_of_goods_sold)},function(l,n){var e=n.component;l(n,3,0,fP._32(n,5).expanded,fP._32(n,5)._hasSpacing());l(n,8,0,fP._32(n,9).panel._headerId,fP._32(n,9).panel.disabled?-1:0,fP._32(n,9)._getPanelId(),fP._32(n,9)._isExpanded(),fP._32(n,9).panel.disabled,fP._32(n,9)._isExpanded(),l(n,11,0,fP._32(n,9)._getExpandedState(),l(n,10,0,fP._32(n,9).collapsedHeight,fP._32(n,9).expandedHeight)));l(n,28,0,fP._41(n,28,0,l(n,29,0,fP._32(n.parent.parent,0),e.salesMonthWise.sales_revenue)));l(n,47,0,fP._41(n,47,0,l(n,48,0,fP._32(n.parent.parent,0),e.salesMonthWise.grossprofit)));l(n,60,0,fP._41(n,60,0,l(n,61,0,fP._32(n.parent.parent,0),e.salesMonthWise.business_expenses)));l(n,73,0,fP._41(n,73,0,l(n,74,0,fP._32(n.parent.parent,0),e.salesMonthWise.netprofit)));l(n,86,0,fP._41(n,86,0,l(n,87,0,fP._32(n.parent.parent,0),e.salesMonthWise.house_hold_expenses)));l(n,99,0,fP._41(n,99,0,l(n,100,0,fP._32(n.parent.parent,0),e.salesMonthWise.disposable_income)));l(n,112,0,e.salesMonthWise.netmargin)})}function Oq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(6,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),fP._17(7,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n Considered Sales / Revenue\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(11,16384,null,0,NA.a,[],null,null),(l()(),fP._40(12,null,["\n ","\n "])),fP._36(13,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(16,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(17,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(19,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),fP._17(20,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n Considered Net Profit\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(24,16384,null,0,NA.a,[],null,null),(l()(),fP._40(25,null,["\n ","\n "])),fP._36(26,1),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(29,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(30,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(32,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),fP._17(33,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n Considered Net Margin %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),fP._17(37,16384,null,0,NA.a,[],null,null),(l()(),fP._40(38,null,["\n "," %\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n \n "]))],null,function(l,n){var e=n.component;l(n,12,0,fP._41(n,12,0,l(n,13,0,fP._32(n.parent.parent,0),e.consolidatedReport.consolidated_sales_revenue)));l(n,25,0,fP._41(n,25,0,l(n,26,0,fP._32(n.parent.parent,0),e.consolidatedReport.consolidated_nerprofit)));l(n,38,0,e.consolidatedReport.consolidated_nermagin)})}function Lq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._13(16777216,null,null,1,null,kq)),fP._17(4,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(6,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,qq)),fP._17(10,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Tq)),fP._17(16,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Oq)),fP._17(21,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,4,0,null!=e.salesCustomer&&""!=e.salesCustomer);l(n,10,0,null!=e.salesItemWise&&""!=e.salesItemWise);l(n,16,0,null!=e.salesMonthWise&&""!=e.salesMonthWise);l(n,21,0,null!=e.consolidatedReport&&""!=e.consolidatedReport)},null)}function Aq(l){return fP._42(0,[fP._34(0,ND,[]),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(2,0,null,null,10,"ion-header",[],null,null,null,null,null)),fP._17(3,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(6,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(8,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(9,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Summary"])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(14,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(15,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Lq)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,18,0,1==e.loadData)},function(l,n){l(n,5,0,fP._32(n,6)._hidden,fP._32(n,6)._sbPadding);l(n,14,0,fP._32(n,15).statusbarPadding,fP._32(n,15)._hasRefresher)})}function Vq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(1,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Purchase Calculation as per Kutcha Records / Bills"]))],null,null)}function Nq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitDetails(t.purchaseItemForm.value)&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:20px;"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"ion-icon",[["name","fn-save"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(4,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"fn-save")},function(l,n){l(n,3,0,fP._32(n,4)._hidden)})}function Wq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Eq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(1,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,13,{_control:0}),fP._38(335544320,14,{_placeholderChild:0}),fP._38(335544320,15,{_labelChild:0}),fP._38(603979776,16,{_errorChildren:1}),fP._38(603979776,17,{_hintChildren:1}),fP._38(603979776,18,{_prefixChildren:1}),fP._38(603979776,19,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_purchase_item"],["matInput",""],["placeholder","Other Raw Material/Trading Item"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,16)._onInput()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(13,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(15,16384,null,0,EP.s,[EP.r],null,null),fP._17(16,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[13,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_purchase_item");l(n,16,0,"Other Raw Material/Trading Item","text")},function(l,n){l(n,0,1,[fP._32(n,1)._control.errorState,fP._32(n,1)._control.errorState,fP._32(n,1)._canLabelFloat,fP._32(n,1)._shouldLabelFloat(),fP._32(n,1)._hideControlPlaceholder(),fP._32(n,1)._control.disabled,fP._32(n,1)._control.focused,"primary"==fP._32(n,1).color,"accent"==fP._32(n,1).color,"warn"==fP._32(n,1).color,fP._32(n,1)._shouldForward("untouched"),fP._32(n,1)._shouldForward("touched"),fP._32(n,1)._shouldForward("pristine"),fP._32(n,1)._shouldForward("dirty"),fP._32(n,1)._shouldForward("valid"),fP._32(n,1)._shouldForward("invalid"),fP._32(n,1)._shouldForward("pending")]);l(n,10,1,[fP._32(n,15).ngClassUntouched,fP._32(n,15).ngClassTouched,fP._32(n,15).ngClassPristine,fP._32(n,15).ngClassDirty,fP._32(n,15).ngClassValid,fP._32(n,15).ngClassInvalid,fP._32(n,15).ngClassPending,fP._32(n,16)._isServer,fP._32(n,16).id,fP._32(n,16).placeholder,fP._32(n,16).disabled,fP._32(n,16).required,fP._32(n,16).readonly,fP._32(n,16)._ariaDescribedby||null,fP._32(n,16).errorState,fP._32(n,16).required.toString()])})}function jq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-label",[["float-right",""],["style","color:gray;font-size:12px"]],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._40(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.purchaseAmtInWords[n.parent.parent.context.index])})}function $q(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeChild(l.parent.parent.parent.context.index,l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function Bq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,9,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addChild(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(6,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),fP._17(7,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"add-circle")},function(l,n){l(n,6,0,fP._32(n,7)._hidden)})}function Rq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(3,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,20,{_control:0}),fP._38(335544320,21,{_placeholderChild:0}),fP._38(335544320,22,{_labelChild:0}),fP._38(603979776,23,{_errorChildren:1}),fP._38(603979776,24,{_hintChildren:1}),fP._38(603979776,25,{_prefixChildren:1}),fP._38(603979776,26,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_date"],["matInput",""],["placeholder","Purchase Date"],["type","date"]],[[8,"max",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,18)._onInput()&&u}if("dateChange"===n){u=!1!==t.purchaseCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),fP._17(13,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(15,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(17,16384,null,0,EP.s,[EP.r],null,null),fP._17(18,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[20,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(22,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(23,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,27,{_control:0}),fP._38(335544320,28,{_placeholderChild:0}),fP._38(335544320,29,{_labelChild:0}),fP._38(603979776,30,{_errorChildren:1}),fP._38(603979776,31,{_hintChildren:1}),fP._38(603979776,32,{_prefixChildren:1}),fP._38(603979776,33,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(32,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_value"],["matInput",""],["placeholder","Bill Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==fP._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,33)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==fP._32(l,34).onChange(e.target.value)&&u}if("input"===n){u=!1!==fP._32(l,34).onChange(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,34).onTouched()&&u}if("blur"===n){u=!1!==fP._32(l,39)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,39)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,39)._onInput()&&u}if("keyup"===n){t.purchaseCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value);u=!1!==t.inWords(l.parent.context.$implicit.value.purchase_value,l.parent.context.index)&&u}return u},null,null)),fP._17(33,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(34,16384,null,0,EP.A,[fP.P,fP.p],null,null),fP._37(1024,null,EP.q,function(l,n){return[l,n]},[EP.d,EP.A]),fP._17(36,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[27,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,jq)),fP._17(44,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(46,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(47,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,34,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,$q)),fP._17(51,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Bq)),fP._17(54,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"purchase_date");l(n,18,0,"Purchase Date","date");l(n,36,0,"purchase_value");l(n,39,0,"Bill Value","number");l(n,44,0,""!=n.parent.context.$implicit.value.purchase_value);l(n,51,0,n.parent.parent.context.$implicit.value.child.length>1);l(n,54,0,n.parent.context.last)},function(l,n){var e=n.component;l(n,2,1,[fP._32(n,3)._control.errorState,fP._32(n,3)._control.errorState,fP._32(n,3)._canLabelFloat,fP._32(n,3)._shouldLabelFloat(),fP._32(n,3)._hideControlPlaceholder(),fP._32(n,3)._control.disabled,fP._32(n,3)._control.focused,"primary"==fP._32(n,3).color,"accent"==fP._32(n,3).color,"warn"==fP._32(n,3).color,fP._32(n,3)._shouldForward("untouched"),fP._32(n,3)._shouldForward("touched"),fP._32(n,3)._shouldForward("pristine"),fP._32(n,3)._shouldForward("dirty"),fP._32(n,3)._shouldForward("valid"),fP._32(n,3)._shouldForward("invalid"),fP._32(n,3)._shouldForward("pending")]);l(n,12,1,[e.maxDate,fP._32(n,17).ngClassUntouched,fP._32(n,17).ngClassTouched,fP._32(n,17).ngClassPristine,fP._32(n,17).ngClassDirty,fP._32(n,17).ngClassValid,fP._32(n,17).ngClassInvalid,fP._32(n,17).ngClassPending,fP._32(n,18)._isServer,fP._32(n,18).id,fP._32(n,18).placeholder,fP._32(n,18).disabled,fP._32(n,18).required,fP._32(n,18).readonly,fP._32(n,18)._ariaDescribedby||null,fP._32(n,18).errorState,fP._32(n,18).required.toString()]);l(n,22,1,[fP._32(n,23)._control.errorState,fP._32(n,23)._control.errorState,fP._32(n,23)._canLabelFloat,fP._32(n,23)._shouldLabelFloat(),fP._32(n,23)._hideControlPlaceholder(),fP._32(n,23)._control.disabled,fP._32(n,23)._control.focused,"primary"==fP._32(n,23).color,"accent"==fP._32(n,23).color,"warn"==fP._32(n,23).color,fP._32(n,23)._shouldForward("untouched"),fP._32(n,23)._shouldForward("touched"),fP._32(n,23)._shouldForward("pristine"),fP._32(n,23)._shouldForward("dirty"),fP._32(n,23)._shouldForward("valid"),fP._32(n,23)._shouldForward("invalid"),fP._32(n,23)._shouldForward("pending")]);l(n,32,1,[fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39)._isServer,fP._32(n,39).id,fP._32(n,39).placeholder,fP._32(n,39).disabled,fP._32(n,39).required,fP._32(n,39).readonly,fP._32(n,39)._ariaDescribedby||null,fP._32(n,39).errorState,fP._32(n,39).required.toString()])})}function Uq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Rq)),fP._17(6,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,1==n.context.$implicit.value.isactive)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending)})}function Mq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["color","optblue"],["ion-button",""],["round",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeDailyPurchase(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"],round:[2,"round"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n Delete\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","","")},null)}function Kq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,7,"ion-col",[["class","col"],["col-1",""],["offset-1",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,3,"button",[["color","optblue"],["ion-button",""],["round",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.addDailyPurchase(t.purchaseItemForm.controls.purchase_product.value.length)&&u}return u},aV.b,aV.a)),fP._17(4,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],small:[1,"small"],round:[2,"round"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,0,["\n Add More Purchase Product\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","","")},null)}function Hq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,96,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(1,212992,null,0,EP.l,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.l]),fP._17(3,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(6,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(8,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(9,16384,null,0,AA.h,[],null,null),(l()(),fP._40(10,null,["Daily Purchase Item # ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(14,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,3,{_control:0}),fP._38(335544320,4,{_placeholderChild:0}),fP._38(335544320,5,{_labelChild:0}),fP._38(603979776,6,{_errorChildren:1}),fP._38(603979776,7,{_hintChildren:1}),fP._38(603979776,8,{_prefixChildren:1}),fP._38(603979776,9,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(23,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","purchase_item"],["placeholder","Raw Material/Trading Item"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,29)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(24,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(26,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(28,16384,null,0,EP.s,[EP.r],null,null),fP._17(29,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,10,{options:1}),fP._38(603979776,11,{optionGroups:1}),fP._38(335544320,12,{customTrigger:0}),fP._37(2048,[[3,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(36,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,37)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,37)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(37,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,Wq)),fP._17(41,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(43,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,44)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,44)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(44,8437760,[[10,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(-1,0,["Others"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Eq)),fP._17(50,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(52,0,null,null,11,"div",[],null,null,null,null,null)),fP._17(53,16384,null,0,mD.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,7,"div",[["formArrayName","child"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(56,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(58,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Uq)),fP._17(61,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(65,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(66,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,35,{_control:0}),fP._38(335544320,36,{_placeholderChild:0}),fP._38(335544320,37,{_labelChild:0}),fP._38(603979776,38,{_errorChildren:1}),fP._38(603979776,39,{_hintChildren:1}),fP._38(603979776,40,{_prefixChildren:1}),fP._38(603979776,41,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(75,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,76)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,76).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,76)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,76)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,81)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,81)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,81)._onInput()&&u}return u},null,null)),fP._17(76,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(78,671744,null,0,EP.i,[[3,EP.c],[8,null],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(80,16384,null,0,EP.s,[EP.r],null,null),fP._17(81,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),fP._37(2048,[[35,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(85,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(86,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,42,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Mq)),fP._17(90,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._18(91,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Kq)),fP._17(94,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,24,0,"");l(n,26,0,"purchase_item");l(n,29,0,"Raw Material/Trading Item","");l(n,41,0,e.productListData);l(n,44,0,"Others");l(n,50,0,"Others"==n.context.$implicit.value.purchase_item);l(n,53,0,n.context.$implicit.value.purchase_type);l(n,56,0,"child");l(n,61,0,n.context.$implicit.get("child").controls);l(n,78,0,"comments");l(n,81,0,"Remarks","text");l(n,90,0,e.purchaseItemForm.value.purchase_product.length>1);l(n,94,0,n.context.last)},function(l,n){l(n,0,0,fP._32(n,3).ngClassUntouched,fP._32(n,3).ngClassTouched,fP._32(n,3).ngClassPristine,fP._32(n,3).ngClassDirty,fP._32(n,3).ngClassValid,fP._32(n,3).ngClassInvalid,fP._32(n,3).ngClassPending);l(n,10,0,n.context.index+1);l(n,13,1,[fP._32(n,14)._control.errorState,fP._32(n,14)._control.errorState,fP._32(n,14)._canLabelFloat,fP._32(n,14)._shouldLabelFloat(),fP._32(n,14)._hideControlPlaceholder(),fP._32(n,14)._control.disabled,fP._32(n,14)._control.focused,"primary"==fP._32(n,14).color,"accent"==fP._32(n,14).color,"warn"==fP._32(n,14).color,fP._32(n,14)._shouldForward("untouched"),fP._32(n,14)._shouldForward("touched"),fP._32(n,14)._shouldForward("pristine"),fP._32(n,14)._shouldForward("dirty"),fP._32(n,14)._shouldForward("valid"),fP._32(n,14)._shouldForward("invalid"),fP._32(n,14)._shouldForward("pending")]);l(n,23,1,[fP._32(n,24).required?"":null,fP._32(n,28).ngClassUntouched,fP._32(n,28).ngClassTouched,fP._32(n,28).ngClassPristine,fP._32(n,28).ngClassDirty,fP._32(n,28).ngClassValid,fP._32(n,28).ngClassInvalid,fP._32(n,28).ngClassPending,fP._32(n,29).id,fP._32(n,29).tabIndex,fP._32(n,29)._ariaLabel,fP._32(n,29).ariaLabelledby,fP._32(n,29).required.toString(),fP._32(n,29).disabled.toString(),fP._32(n,29).errorState,fP._32(n,29).panelOpen?fP._32(n,29)._optionIds:null,fP._32(n,29).multiple,fP._32(n,29)._ariaDescribedby||null,fP._32(n,29)._getAriaActiveDescendant(),fP._32(n,29).disabled,fP._32(n,29).errorState,fP._32(n,29).required]);l(n,36,0,fP._32(n,37)._getTabIndex(),fP._32(n,37).selected,fP._32(n,37).multiple,fP._32(n,37).active,fP._32(n,37).id,fP._32(n,37).selected.toString(),fP._32(n,37).disabled.toString(),fP._32(n,37).disabled);l(n,43,0,fP._32(n,44)._getTabIndex(),fP._32(n,44).selected,fP._32(n,44).multiple,fP._32(n,44).active,fP._32(n,44).id,fP._32(n,44).selected.toString(),fP._32(n,44).disabled.toString(),fP._32(n,44).disabled);l(n,55,0,fP._32(n,58).ngClassUntouched,fP._32(n,58).ngClassTouched,fP._32(n,58).ngClassPristine,fP._32(n,58).ngClassDirty,fP._32(n,58).ngClassValid,fP._32(n,58).ngClassInvalid,fP._32(n,58).ngClassPending);l(n,65,1,[fP._32(n,66)._control.errorState,fP._32(n,66)._control.errorState,fP._32(n,66)._canLabelFloat,fP._32(n,66)._shouldLabelFloat(),fP._32(n,66)._hideControlPlaceholder(),fP._32(n,66)._control.disabled,fP._32(n,66)._control.focused,"primary"==fP._32(n,66).color,"accent"==fP._32(n,66).color,"warn"==fP._32(n,66).color,fP._32(n,66)._shouldForward("untouched"),fP._32(n,66)._shouldForward("touched"),fP._32(n,66)._shouldForward("pristine"),fP._32(n,66)._shouldForward("dirty"),fP._32(n,66)._shouldForward("valid"),fP._32(n,66)._shouldForward("invalid"),fP._32(n,66)._shouldForward("pending")]);l(n,75,1,[fP._32(n,80).ngClassUntouched,fP._32(n,80).ngClassTouched,fP._32(n,80).ngClassPristine,fP._32(n,80).ngClassDirty,fP._32(n,80).ngClassValid,fP._32(n,80).ngClassInvalid,fP._32(n,80).ngClassPending,fP._32(n,81)._isServer,fP._32(n,81).id,fP._32(n,81).placeholder,fP._32(n,81).disabled,fP._32(n,81).required,fP._32(n,81).readonly,fP._32(n,81)._ariaDescribedby||null,fP._32(n,81).errorState,fP._32(n,81).required.toString()])})}function Gq(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,28,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,24,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._13(16777216,null,3,1,null,Vq)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(20,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(21,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Nq)),fP._17(26,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(31,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(32,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(34,0,null,1,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,36).onReset()&&u}return u},null,null)),fP._17(35,16384,null,0,EP.B,[],null,null),fP._17(36,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(38,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(40,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(41,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(43,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","purchase_product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),fP._17(44,212992,null,0,EP.f,[[3,EP.c],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.c,null,[EP.f]),fP._17(46,16384,null,0,EP.t,[EP.c],null,null),fP._17(47,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Hq)),fP._17(50,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,26,0,!e.complete_status);l(n,36,0,e.purchaseItemForm);l(n,44,0,"purchase_product");l(n,50,0,e.purchaseItemForm.controls.purchase_product.controls)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,31,0,fP._32(n,32).statusbarPadding,fP._32(n,32)._hasRefresher);l(n,34,0,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending);l(n,43,0,fP._32(n,46).ngClassUntouched,fP._32(n,46).ngClassTouched,fP._32(n,46).ngClassPristine,fP._32(n,46).ngClassDirty,fP._32(n,46).ngClassValid,fP._32(n,46).ngClassInvalid,fP._32(n,46).ngClassPending)})}function zq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Yq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Qq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Jq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImg(l.parent.context.index)&&u}return u},aV.b,aV.a)),fP._17(1,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(3,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,fP._32(n,3)._hidden)})}function Xq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Yq)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,Qq)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Jq)),fP._17(14,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""))})}function Zq(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,11,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(4,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,Xq)),fP._17(7,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function lP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),fP._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),fP._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function nP(l){return fP._42(0,[(l()(),fP._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function eP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),fP._17(1,16384,null,0,NA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,4).onClick(e)&&u}return u},null,null)),fP._17(4,16384,null,0,TV.a,[fP.p,OV.a],{src:[0,"src"]},null),(l()(),fP._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,lP)),fP._17(8,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._13(16777216,null,null,1,null,nP)),fP._17(11,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(13,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeImgForBucket(l.context.index)&&u}return u},aV.b,aV.a)),fP._17(14,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),fP._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),fP._17(16,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,fP._21(1,"",n.context.$implicit.image,""));l(n,15,0,fP._32(n,16)._hidden)})}function uP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,19,"ion-grid",[["class","grid"]],null,null,null,null,null)),fP._17(1,16384,null,0,vV.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(3,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(5,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(7,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Newly Captured Pics"])),(l()(),fP._18(9,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(11,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),fP._17(12,16384,null,0,VA.a,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,eP)),fP._17(15,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(17,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),fP._40(-1,null,[" \n "])),(l()(),fP._40(-1,null,[" \n "]))],function(l,n){l(n,15,0,n.component.imageBucket)},null)}function tP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},aV.b,aV.a)),fP._17(1,1097728,[["focusName",4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function aP(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,32,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(4,0,null,null,28,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,9).toggle()&&u}return u},aV.b,aV.a)),fP._17(8,1097728,[[1,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],null,null),fP._17(9,1064960,null,0,oV.a,[_A.a,[2,CA.a],[2,iV.a],[2,ZA.a]],{menuToggle:[0,"menuToggle"]},null),fP._17(10,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,1,{_buttons:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(14,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(17,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(18,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Images For Assessed Income"])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(21,0,null,2,10,"ion-buttons",[["end",""]],null,null,null,null,null)),fP._17(22,16384,null,1,rV.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),fP._38(603979776,2,{_buttons:1}),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(25,0,null,null,5,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(27,0,null,null,2,"span",[["style","padding: 0px;margin-right: 14px;color:white;font-size:25px;"]],null,null,null,null,null)),(l()(),fP._18(28,0,null,null,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(29,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(35,0,null,null,25,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(36,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(38,0,null,1,20,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(39,49152,[["picContent",4]],0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._18(41,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),fP._17(42,16384,null,0,AA.c,[],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._13(16777216,null,null,1,null,zq)),fP._17(45,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n "])),(l()(),fP._13(16777216,null,null,1,null,Zq)),fP._17(48,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n \n \n\n "])),(l()(),fP._13(16777216,null,null,1,null,uP)),fP._17(51,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(54,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n \n "])),(l()(),fP._13(16777216,null,0,1,null,tP)),fP._17(57,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,29,0,"md-camera");l(n,45,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,48,0,e.imageDisplay.length>0);l(n,51,0,e.imageBucket.length>0);l(n,57,0,e.imageBucket.length>0)},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,7,0,fP._32(n,9).isHidden);l(n,13,0,fP._32(n,14)._hidden);l(n,28,0,fP._32(n,29)._hidden);l(n,35,0,fP._32(n,36).statusbarPadding,fP._32(n,36)._hasRefresher)})}function iP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(1,16384,null,0,EA.f,[],null,null),(l()(),fP._40(-1,null,["No Records Found.."]))],null,null)}function oP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,31,"mat-card",[["class","mat-card"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editDet(l.context.$implicit.rental_existing_data)&&u}return u},LA.d,LA.a)),fP._17(1,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(3,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,LA.c,LA.b)),fP._17(4,49152,null,0,AA.e,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(6,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(7,16384,null,0,AA.h,[],null,null),(l()(),fP._18(8,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),fP._40(9,null,["Property ",""])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(12,0,null,0,10,"ion-icon",[["name","ios-pin-outline"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(13,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,null,["\n  "])),(l()(),fP._18(15,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(16,16384,null,0,EA.f,[],null,null),(l()(),fP._40(17,null,["",""])),(l()(),fP._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n   "])),(l()(),fP._18(20,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(21,16384,null,0,EA.f,[],null,null),(l()(),fP._40(22,null,[""," "," - ",""])),(l()(),fP._18(23,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._18(24,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(26,0,null,0,4,"mat-label",[["style","color:orangered;font-size:14px;"]],null,null,null,null,null)),fP._17(27,16384,null,0,EA.f,[],null,null),(l()(),fP._18(28,0,null,null,2,"strong",[],null,null,null,null,null)),(l()(),fP._40(29,null,["Annual Rent Amount as per Applicant : ",""])),fP._36(30,1),(l()(),fP._40(-1,0,["\n"]))],function(l,n){l(n,13,0,"ios-pin-outline")},function(l,n){l(n,9,0,n.context.index+1);l(n,12,0,fP._32(n,13)._hidden);l(n,17,0,n.context.$implicit.address);l(n,22,0,n.context.$implicit.state,n.context.$implicit.city,n.context.$implicit.pincode);l(n,29,0,fP._41(n,29,0,l(n,30,0,fP._32(n.parent,0),n.context.$implicit.applicants_rent)))})}function rP(l){return fP._42(0,[fP._34(0,ND,[]),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(2,0,null,null,10,"ion-header",[],null,null,null,null,null)),fP._17(3,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(5,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(6,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(8,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(9,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(10,0,["",""])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(14,0,null,null,18,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(15,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,iP)),fP._17(18,16384,null,0,mD.k,[fP._1,fP.W],{ngIf:[0,"ngIf"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._13(16777216,null,1,1,null,oP)),fP._17(21,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(23,0,null,0,8,"ion-fab",[["bottom",""],["right",""]],null,null,null,VV.b,VV.a)),fP._17(24,1228800,null,2,NV.a,[pA.a],null,null),fP._38(335544320,1,{_mainButton:0}),fP._38(603979776,2,{_fabLists:1}),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(28,0,null,0,3,"button",[["color","optblue"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMore()&&u}return u},WV.b,WV.a)),fP._17(29,49152,[[1,4]],0,EV.a,[aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._18(30,0,null,0,1,"ion-icon",[["name","md-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),fP._17(31,147456,null,0,dA.a,[aA.a,fP.p,fP.O],{name:[0,"name"]},null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,18,0,0==e.existing_rental_list.length);l(n,21,0,e.existing_rental_list);l(n,29,0,"optblue");l(n,31,0,"md-add")},function(l,n){var e=n.component;l(n,5,0,fP._32(n,6)._hidden,fP._32(n,6)._sbPadding);l(n,10,0,e.form_details.form_name);l(n,14,0,fP._32(n,15).statusbarPadding,fP._32(n,15)._hasRefresher);l(n,30,0,fP._32(n,31)._hidden)})}function _P(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[8,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.customer_segment_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.abbr)})}function dP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,1)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(1,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],{value:[0,"value"]},null),(l()(),fP._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,fP._32(n,1)._getTabIndex(),fP._32(n,1).selected,fP._32(n,1).multiple,fP._32(n,1).active,fP._32(n,1).id,fP._32(n,1).selected.toString(),fP._32(n,1).disabled.toString(),fP._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function sP(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(2,0,null,null,126,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(3,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(5,0,null,1,122,"ion-list",[["no-lines",""]],null,null,null,null,null)),fP._17(6,16384,null,0,FA.a,[aA.a,fP.p,fP.O,pA.a,hA.l,gA.a],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(10,0,null,null,100,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==fP._32(l,12).onSubmit(e)&&u}if("reset"===n){u=!1!==fP._32(l,12).onReset()&&u}return u},null,null)),fP._17(11,16384,null,0,EP.B,[],null,null),fP._17(12,540672,null,0,EP.k,[[8,null],[8,null]],{form:[0,"form"]},null),fP._37(2048,null,EP.c,null,[EP.k]),fP._17(14,16384,null,0,EP.t,[EP.c],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(16,0,null,null,2,"mat-label",[],null,null,null,null,null)),fP._17(17,16384,null,0,EA.f,[],null,null),(l()(),fP._40(18,null,["",""])),(l()(),fP._18(19,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._18(20,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._18(21,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(23,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(24,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,1,{_control:0}),fP._38(335544320,2,{_placeholderChild:0}),fP._38(335544320,3,{_labelChild:0}),fP._38(603979776,4,{_errorChildren:1}),fP._38(603979776,5,{_hintChildren:1}),fP._38(603979776,6,{_prefixChildren:1}),fP._38(603979776,7,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(33,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","fk_customer_segment"],["placeholder","Customer Segment"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==fP._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,39)._onBlur()&&u}return u},tN.b,tN.a)),fP._17(34,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(36,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(38,16384,null,0,EP.s,[EP.r],null,null),fP._17(39,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),fP._38(603979776,8,{options:1}),fP._38(603979776,9,{optionGroups:1}),fP._38(335544320,10,{customTrigger:0}),fP._37(2048,[[1,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(46,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,47)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(47,8437760,[[8,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,_P)),fP._17(51,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(55,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(56,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,11,{_control:0}),fP._38(335544320,12,{_placeholderChild:0}),fP._38(335544320,13,{_labelChild:0}),fP._38(603979776,14,{_errorChildren:1}),fP._38(603979776,15,{_hintChildren:1}),fP._38(603979776,16,{_prefixChildren:1}),fP._38(603979776,17,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(65,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_co_applicant_id"],["placeholder","Applicant"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==fP._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==fP._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==fP._32(l,71)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.updateMobile(t.addressMapping.value)&&u}return u},tN.b,tN.a)),fP._17(66,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._37(1024,null,EP.p,function(l){return[l]},[EP.x]),fP._17(68,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[8,null]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(70,16384,null,0,EP.s,[EP.r],null,null),fP._17(71,2080768,null,3,aN.c,[iN.f,fP.i,fP.H,jA.d,fP.p,[2,oN.c],[2,EP.u],[2,EP.k],[2,EA.b],[2,EP.r],[8,null],aN.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),fP._38(603979776,18,{options:1}),fP._38(603979776,19,{optionGroups:1}),fP._38(335544320,20,{customTrigger:0}),fP._37(2048,[[11,4]],EA.c,null,[aN.c]),fP._37(2048,null,jA.l,null,[aN.c]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(78,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==fP._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==fP._32(l,79)._handleKeydown(e)&&u}return u},uN.e,uN.b)),fP._17(79,8437760,[[18,4]],0,jA.t,[fP.p,fP.i,[2,jA.l],[2,jA.s]],null,null),(l()(),fP._40(-1,0,["Select"])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._13(16777216,null,1,1,null,dP)),fP._17(83,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(87,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,WA.b,WA.a)),fP._17(88,7389184,null,7,EA.b,[fP.p,fP.i,[2,jA.j]],null,null),fP._38(335544320,21,{_control:0}),fP._38(335544320,22,{_placeholderChild:0}),fP._38(335544320,23,{_labelChild:0}),fP._38(603979776,24,{_errorChildren:1}),fP._38(603979776,25,{_hintChildren:1}),fP._38(603979776,26,{_prefixChildren:1}),fP._38(603979776,27,{_suffixChildren:1}),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._18(97,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile_no"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Mobile Number"],["required",""],["type","tel"]],[[1,"required",0],[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==fP._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==fP._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==fP._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==fP._32(l,107)._focusChanged(!1)&&u}if("focus"===n){u=!1!==fP._32(l,107)._focusChanged(!0)&&u}if("input"===n){u=!1!==fP._32(l,107)._onInput()&&u}return u},null,null)),fP._17(98,16384,null,0,EP.d,[fP.P,fP.p,[2,EP.a]],null,null),fP._17(99,16384,null,0,EP.x,[],{required:[0,"required"]},null),fP._17(100,540672,null,0,EP.o,[],{minlength:[0,"minlength"]},null),fP._17(101,540672,null,0,EP.n,[],{maxlength:[0,"maxlength"]},null),fP._37(1024,null,EP.p,function(l,n,e){return[l,n,e]},[EP.x,EP.o,EP.n]),fP._37(1024,null,EP.q,function(l){return[l]},[EP.d]),fP._17(104,671744,null,0,EP.i,[[3,EP.c],[2,EP.p],[8,null],[2,EP.q]],{name:[0,"name"]},null),fP._37(2048,null,EP.r,null,[EP.i]),fP._17(106,16384,null,0,EP.s,[EP.r],null,null),fP._17(107,933888,null,0,$A.b,[fP.p,jP.a,[2,EP.r],[2,EP.u],[2,EP.k],jA.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"],readonly:[3,"readonly"]},null),fP._37(2048,[[21,4]],EA.c,null,[$A.b]),(l()(),fP._40(-1,1,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(112,0,null,null,14,"ion-item",[["class","item item-block"]],null,null,null,eA.b,eA.a)),fP._17(113,1097728,null,3,uA.a,[tA.a,aA.a,fP.p,fP.O,[2,iA.a]],null,null),fP._38(335544320,28,{contentLabel:0}),fP._38(603979776,29,{_buttons:1}),fP._38(603979776,30,{_icons:1}),fP._17(117,16384,null,0,oA.a,[],null,null),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(119,0,null,2,2,"button",[["block",""],["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submit(t.addressMapping.value)&&u}return u},aV.b,aV.a)),fP._17(120,1097728,[[29,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],block:[1,"block"]},null),(l()(),fP._40(-1,0,["Submit"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._18(123,0,null,2,2,"button",[["block",""],["color","gray"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.cancel()&&u}return u},aV.b,aV.a)),fP._17(124,1097728,[[29,4]],0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"],block:[1,"block"]},null),(l()(),fP._40(-1,0,["Cancel"])),(l()(),fP._40(-1,2,["\n "])),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,12,0,e.addressMapping);l(n,34,0,"");l(n,36,0,"fk_customer_segment");l(n,39,0,"Customer Segment","");l(n,51,0,e.cus_seg);l(n,66,0,"");l(n,68,0,"pd_co_applicant_id");l(n,71,0,"Applicant","");l(n,83,0,e.applicants);l(n,99,0,"");l(n,100,0,"10");l(n,101,0,"10");l(n,104,0,"mobile_no");l(n,107,0,"Mobile Number","","tel",e.mobileDisable);l(n,120,0,"primary","");l(n,124,0,"gray","")},function(l,n){var e=n.component;l(n,2,0,fP._32(n,3).statusbarPadding,fP._32(n,3)._hasRefresher);l(n,10,0,fP._32(n,14).ngClassUntouched,fP._32(n,14).ngClassTouched,fP._32(n,14).ngClassPristine,fP._32(n,14).ngClassDirty,fP._32(n,14).ngClassValid,fP._32(n,14).ngClassInvalid,fP._32(n,14).ngClassPending);l(n,18,0,e.pageTitle);l(n,23,1,[fP._32(n,24)._control.errorState,fP._32(n,24)._control.errorState,fP._32(n,24)._canLabelFloat,fP._32(n,24)._shouldLabelFloat(),fP._32(n,24)._hideControlPlaceholder(),fP._32(n,24)._control.disabled,fP._32(n,24)._control.focused,"primary"==fP._32(n,24).color,"accent"==fP._32(n,24).color,"warn"==fP._32(n,24).color,fP._32(n,24)._shouldForward("untouched"),fP._32(n,24)._shouldForward("touched"),fP._32(n,24)._shouldForward("pristine"),fP._32(n,24)._shouldForward("dirty"),fP._32(n,24)._shouldForward("valid"),fP._32(n,24)._shouldForward("invalid"),fP._32(n,24)._shouldForward("pending")]);l(n,33,1,[fP._32(n,34).required?"":null,fP._32(n,38).ngClassUntouched,fP._32(n,38).ngClassTouched,fP._32(n,38).ngClassPristine,fP._32(n,38).ngClassDirty,fP._32(n,38).ngClassValid,fP._32(n,38).ngClassInvalid,fP._32(n,38).ngClassPending,fP._32(n,39).id,fP._32(n,39).tabIndex,fP._32(n,39)._ariaLabel,fP._32(n,39).ariaLabelledby,fP._32(n,39).required.toString(),fP._32(n,39).disabled.toString(),fP._32(n,39).errorState,fP._32(n,39).panelOpen?fP._32(n,39)._optionIds:null,fP._32(n,39).multiple,fP._32(n,39)._ariaDescribedby||null,fP._32(n,39)._getAriaActiveDescendant(),fP._32(n,39).disabled,fP._32(n,39).errorState,fP._32(n,39).required]);l(n,46,0,fP._32(n,47)._getTabIndex(),fP._32(n,47).selected,fP._32(n,47).multiple,fP._32(n,47).active,fP._32(n,47).id,fP._32(n,47).selected.toString(),fP._32(n,47).disabled.toString(),fP._32(n,47).disabled);l(n,55,1,[fP._32(n,56)._control.errorState,fP._32(n,56)._control.errorState,fP._32(n,56)._canLabelFloat,fP._32(n,56)._shouldLabelFloat(),fP._32(n,56)._hideControlPlaceholder(),fP._32(n,56)._control.disabled,fP._32(n,56)._control.focused,"primary"==fP._32(n,56).color,"accent"==fP._32(n,56).color,"warn"==fP._32(n,56).color,fP._32(n,56)._shouldForward("untouched"),fP._32(n,56)._shouldForward("touched"),fP._32(n,56)._shouldForward("pristine"),fP._32(n,56)._shouldForward("dirty"),fP._32(n,56)._shouldForward("valid"),fP._32(n,56)._shouldForward("invalid"),fP._32(n,56)._shouldForward("pending")]);l(n,65,1,[fP._32(n,66).required?"":null,fP._32(n,70).ngClassUntouched,fP._32(n,70).ngClassTouched,fP._32(n,70).ngClassPristine,fP._32(n,70).ngClassDirty,fP._32(n,70).ngClassValid,fP._32(n,70).ngClassInvalid,fP._32(n,70).ngClassPending,fP._32(n,71).id,fP._32(n,71).tabIndex,fP._32(n,71)._ariaLabel,fP._32(n,71).ariaLabelledby,fP._32(n,71).required.toString(),fP._32(n,71).disabled.toString(),fP._32(n,71).errorState,fP._32(n,71).panelOpen?fP._32(n,71)._optionIds:null,fP._32(n,71).multiple,fP._32(n,71)._ariaDescribedby||null,fP._32(n,71)._getAriaActiveDescendant(),fP._32(n,71).disabled,fP._32(n,71).errorState,fP._32(n,71).required]);l(n,78,0,fP._32(n,79)._getTabIndex(),fP._32(n,79).selected,fP._32(n,79).multiple,fP._32(n,79).active,fP._32(n,79).id,fP._32(n,79).selected.toString(),fP._32(n,79).disabled.toString(),fP._32(n,79).disabled);l(n,87,1,[fP._32(n,88)._control.errorState,fP._32(n,88)._control.errorState,fP._32(n,88)._canLabelFloat,fP._32(n,88)._shouldLabelFloat(),fP._32(n,88)._hideControlPlaceholder(),fP._32(n,88)._control.disabled,fP._32(n,88)._control.focused,"primary"==fP._32(n,88).color,"accent"==fP._32(n,88).color,"warn"==fP._32(n,88).color,fP._32(n,88)._shouldForward("untouched"),fP._32(n,88)._shouldForward("touched"),fP._32(n,88)._shouldForward("pristine"),fP._32(n,88)._shouldForward("dirty"),fP._32(n,88)._shouldForward("valid"),fP._32(n,88)._shouldForward("invalid"),fP._32(n,88)._shouldForward("pending")]);l(n,97,1,[fP._32(n,99).required?"":null,fP._32(n,100).minlength?fP._32(n,100).minlength:null,fP._32(n,101).maxlength?fP._32(n,101).maxlength:null,fP._32(n,106).ngClassUntouched,fP._32(n,106).ngClassTouched,fP._32(n,106).ngClassPristine,fP._32(n,106).ngClassDirty,fP._32(n,106).ngClassValid,fP._32(n,106).ngClassInvalid,fP._32(n,106).ngClassPending,fP._32(n,107)._isServer,fP._32(n,107).id,fP._32(n,107).placeholder,fP._32(n,107).disabled,fP._32(n,107).required,fP._32(n,107).readonly,fP._32(n,107)._ariaDescribedby||null,fP._32(n,107).errorState,fP._32(n,107).required.toString()])})}function cP(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(2,0,null,null,3,"p",[["class","datas"]],null,null,null,null,null)),(l()(),fP._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),fP._40(4,null,["",""])),(l()(),fP._40(5,null,["  ",""])),(l()(),fP._40(-1,null,["\n"]))],null,function(l,n){l(n,4,0,n.context.index+1);l(n,5,0,n.context.$implicit)})}function mP(l){return fP._42(0,[(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(1,0,null,null,11,"ion-header",[],null,null,null,null,null)),fP._17(2,16384,null,0,uV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n\n "])),(l()(),fP._18(4,0,null,null,7,"ion-navbar",[["class","toolbar"],["color","#00008b"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,tV.b,tV.a)),fP._17(5,49152,null,0,ZA.a,[bA.a,[2,CA.a],[2,wA.a],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._18(7,0,null,3,2,"ion-title",[],null,null,null,QA.b,QA.a)),fP._17(8,49152,null,0,JA.a,[aA.a,fP.p,fP.O,[2,XA.a],[2,ZA.a]],null,null),(l()(),fP._40(-1,0,["Complete Discussion"])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,3,["\n "])),(l()(),fP._40(-1,null,["\n\n"])),(l()(),fP._40(-1,null,["\n\n\n"])),(l()(),fP._18(14,0,null,null,17,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,vA.b,vA.a)),fP._17(15,4374528,null,0,yA.a,[aA.a,pA.a,gA.a,fP.p,fP.O,bA.a,fA.a,fP.H,[2,CA.a],[2,wA.a]],null,null),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._18(17,0,null,1,13,"mat-card",[["class","mat-card"]],null,null,null,LA.d,LA.a)),fP._17(18,49152,null,0,AA.a,[],null,null),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(20,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),fP._17(21,16384,null,0,AA.h,[],null,null),(l()(),fP._18(22,0,null,null,1,"p",[["class","title"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["Please confirm you are completing the Discussion and forwarding for Quality Check ?"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._18(25,0,null,0,1,"label",[["class","head"]],null,null,null,null,null)),(l()(),fP._40(-1,null,["PD Details are incomplete"])),(l()(),fP._40(-1,0,["\n "])),(l()(),fP._13(16777216,null,0,1,null,cP)),fP._17(29,802816,null,0,mD.j,[fP._1,fP.W,fP.B],{ngForOf:[0,"ngForOf"]},null),(l()(),fP._40(-1,0,["\n"])),(l()(),fP._40(-1,1,["\n"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._18(33,0,null,null,6,"ion-footer",[],null,null,null,null,null)),fP._17(34,16384,null,0,wV.a,[aA.a,fP.p,fP.O,[2,CA.a]],null,null),(l()(),fP._40(-1,null,["\n "])),(l()(),fP._18(36,0,null,null,2,"button",[["color","optblue"],["end",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.closeModal()&&u}return u},aV.b,aV.a)),fP._17(37,1097728,null,0,iV.a,[[8,""],aA.a,fP.p,fP.O],{color:[0,"color"]},null),(l()(),fP._40(-1,0,["Ok"])),(l()(),fP._40(-1,null,["\n"])),(l()(),fP._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"#00008b");l(n,29,0,e.datas);l(n,37,0,"optblue")},function(l,n){l(n,4,0,fP._32(n,5)._hidden,fP._32(n,5)._sbPadding);l(n,14,0,fP._32(n,15).statusbarPadding,fP._32(n,15)._hasRefresher)})}Object.defineProperty(n,"__esModule",{value:!0});var pP=e(63),fP=e(0),hP=e(12),gP=e(137),bP=e(192),vP=e(67),yP=e(345),CP=e(81),wP=(e(433),e(43)),FP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},xP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kP=(new yP.c({UserPoolId:"ap-south-1_y7dt3iEaX",ClientId:"291qt4smn5pql6o8cc2hi201lj"}),new yP.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new yP.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),SP=function(){function l(){this.loggedIn=!1,this.isloggin=!1}return l.prototype.getCurrentUser=function(){return kP.getCurrentUser()},Object.defineProperty(l.prototype,"isLoggedIn",{get:function(){return this.loggedIn=null!=kP.getCurrentUser(),this.loggedIn},enumerable:!0,configurable:!0}),l.prototype.refresh=function(){var l;null!=this.getCurrentUser()?this.getCurrentUser().getSession(function(n,e){return n?console.log("CognitoUtil: Can't set the credentials:"+n):e.isValid()?(l=e.isValid(),Object(wP.of)(l),console.log("CognitoUtil: refreshed successfully")):(l=e.isValid(),console.log("CognitoUtil: refreshed but session is still not valid")),l}):this.loggedIn=!1},l.prototype.getAccessToken=function(){var l=this;return this.refresh(),new Promise(function(n,e){null!=l.getCurrentUser()?l.getCurrentUser().getSession(function(l,u){l?(console.log("CognitoUtil: Can't set the credentials:"+l),"",e(l)):u.isValid()&&(u,n())}):e()})},l.prototype.getToken=function(){var l="";return null!=this.getCurrentUser()?this.getCurrentUser().getSession(function(n,e){n?!1:e.isValid()?(l=e,!0):!1}):!1,l},l=FP([Object(fP.x)(),xP("design:paramtypes",[])],l)}(),IP=e(125),qP=e(161),PP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},DP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},TP=function(){function l(l,n,e){this.http=l,this.geo=n,this.locationAccuracy=e,this.commonimage="http://ssa.sineedge.com/sparqapi/logo/avatar.jpg",console.log("Hello ConstantsProvider Provider")}return l.prototype.apiurl=function(){return"https://ssa.sineedge.com/sparqtest/api/"},l.prototype.getcurrentDate=function(){var l=new Date,n=(l.getHours(),l.getMinutes(),l.getSeconds(),l.getFullYear()+"-"+(l.getMonth()+1)+"-"+l.getDate());l.getHours(),l.getMinutes();return(n+"T00:00").toString()},l.prototype.convertNumberToWords=function(l){var n=(l=l.toString()).split(".")[0],e=["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"],u=["Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"],t=["","Ten","Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety"],a=function(l,n){return 0==l?"":" "+(1==l?u[n]:t[l])},i=function(l,n,u){return(0!=l&&1!=n?" "+e[l]:"")+(0!=n||l>0?" "+u:"")},o="",r=0,_=0,d=0,s=[];if(n+="",isNaN(parseInt(n)))o="";else if(parseInt(n)>0&&n.length<=10){for(r=n.length-1;r>=0;r--)switch(_=n[r]-0,d=r>0?n[r-1]-0:0,n.length-r-1){case 0:s.push(i(_,d,""));break;case 1:s.push(a(_,n[r+1]));break;case 2:s.push(0!=_?" "+e[_]+" Hundred"+(0!=n[r+1]&&0!=n[r+2]?" and":""):"");break;case 3:s.push(i(_,d,"Thousand"));break;case 4:s.push(a(_,n[r+1]));break;case 5:s.push(i(_,d,"Lakh"));break;case 6:s.push(a(_,n[r+1]));break;case 7:s.push(i(_,d,"Crore"));break;case 8:s.push(a(_,n[r+1]));break;case 9:s.push(0!=_?" "+e[_]+" Hundred"+(0!=n[r+1]||0!=n[r+2]?" and":" Crore"):"")}o=s.reverse().join("")}else o="";return o},l.prototype.searchData=function(l,n,e){if(console.log("statedata"),l){var u=n;return u?(u=u.toLowerCase(),"bank"==e?l.filter(function(l){return l.lender_name.toLowerCase().indexOf(u)>-1}):"city"==e?(console.log("city",l),l.filter(function(l){return l.city_name.toLowerCase().indexOf(u)>-1})):l.filter("pin"==e?function(l){return l.pincode.toLowerCase().indexOf(u)>-1}:function(l){return l.name.toLowerCase().indexOf(u)>-1})):l.slice()}},l.prototype.sentenceCase=function(l){return null===l||""===l?"":(l=l.toString()).replace(/\w\S*/g,function(l){return l.charAt(0).toUpperCase()+l.substr(1).toLowerCase()})},l.prototype.enableAccuracy=function(){var l=this;return this.locationAccuracy.canRequest().then(function(n){n&&l.locationAccuracy.request(l.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){return l.getGeoTag()},function(l){return console.log("Error requesting location permissions"+JSON.stringify(l))})})},l.prototype.getGeoTag=function(){return this.geo.getCurrentPosition().then(function(l){console.log("res from getGeoTag",l.coords),console.log("res from provider",new Date(l.timestamp));return l.coords.latitude+","+l.coords.longitude}).catch(function(l){return console.log("error in getGeoTag",l)})},l=PP([Object(fP.x)(),DP("design:paramtypes",[vP.c,IP.a,qP.a])],l)}(),OP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},LP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},AP=(new yP.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new yP.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),VP=(new Date).toJSON().slice(0,19).replace("T"," "),NP=function(){function l(l,n,e){this.http=l,this.shared=n,this.con=e,this.apiurl=e.apiurl()}return l.prototype.dologin=function(l){var n=new yP.a(l),e=l.newpassword,u=[],t=new yP.b({Username:l.Username,Pool:AP});return CP.Observable.create(function(l){t.authenticateUser(n,{newPasswordRequired:function(n,a){t.completeNewPasswordChallenge(e,u,{onSuccess:function(n){l.next(n),l.complete()},onFailure:function(n){l.error(n)}})},onSuccess:function(n){l.next(n),l.complete(),this.shared.isloggin=!0},onFailure:function(n){l.error(n)}})})},l.prototype.userforgotpass=function(l){var n=new yP.b({Username:l.Username,Pool:AP});return CP.Observable.create(function(l){n.forgotPassword({onSuccess:function(n){l.next(n)},onFailure:function(l){alert(l.message||JSON.stringify(l))},inputVerificationCode:function(l){var e=prompt("Please input verification code ",""),u=prompt("Enter new password ","");n.confirmPassword(e,u,{onSuccess:function(){},onFailure:function(l){}})}})})},l.prototype.logout=function(){var l=this;return CP.Observable.create(function(n){l.shared.getCurrentUser().signOut(),n.next(),n.complete()})},l.prototype.getlocale=function(){return(this.shared.getToken()||null).idToken.payload.locale},l.prototype.getuserprofile=function(l){return this.http.post(this.apiurl+"getUsersDetails",{userid:l})},l.prototype.userpinupdate=function(l){var n=this.getlocale(),e={mpin:l,updatedon:VP,fk_updatedby:n,userid:n},u=new FormData;return u.append("records",JSON.stringify(e)),this.http.post(this.apiurl+"updateExistUser",u)},l=OP([Object(fP.x)(),LP("design:paramtypes",[vP.c,SP,TP])],l)}(),WP=e(194),EP=e(4),jP=e(10),$P=e(199),BP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},RP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},UP=function(){function l(l,n){this.http=l,this.constants=n,this.apiurl=n.apiurl(),console.log("Hello PdtriggerProvider Provider")}return l.prototype.getpddetails=function(l){return console.log(l),this.http.get(this.apiurl+"listLessPDDetails/get?pdofficerid="+l)},l.prototype.getFullPDdetails=function(l){return this.http.post(this.apiurl+"getFullPDDetails",l)},l.prototype.updatepdStatus=function(l){return this.http.post(this.apiurl+"updatePDMaster",{records:l})},l.prototype.updateSchedule=function(l){return this.http.post(this.apiurl+"schdulePD",{records:l})},l.prototype.saveCurrentLocation=function(l){return this.http.post(this.apiurl+"savePDOfficerCurrentLocation",l)},l.prototype.checkotp=function(l){return this.http.post(this.apiurl+"checkOTP",{records:l})},l.prototype.getPDCompleteDetails=function(l){return this.http.post(this.apiurl+"getPDCompleteDetails",{records:l})},l.prototype.pdFormsCompletenessCheck=function(l){return this.http.post(this.apiurl+"pdFormsCompletenessCheck",{pd_id:l,client:"MOB"})},l=BP([Object(fP.x)(),RP("design:paramtypes",[vP.c,TP])],l)}(),MP=e(262),KP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},HP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},GP=function(){function l(l,n,e){this.http=l,this.constant=n,this.cache=e,console.log("Hello QuestionCategoryProvider Provider"),this.apiurl=n.apiurl()}return l.prototype.getLoadTemplate=function(l){return this.http.get(this.apiurl+"loadFullTemplate?pd_id="+l)},l.prototype.saveQusetion=function(l){return this.http.post(this.apiurl+"savePDQuestions",{records:[l]})},l.prototype.getAnswerTemplate=function(l){return this.http.post(this.apiurl+"getAnswersForPD",l)},l.prototype.getcommondrop=function(l){return this.http.post(this.apiurl+"getListOfMaster",{master_name:l})},l.prototype.saveForm=function(l){return this.http.post(this.apiurl+"savePDFormDetails",{records:l})},l.prototype.retiverForm=function(l){return this.http.post(this.apiurl+"getPDFormDetails",l)},l.prototype.saveassessedForms=function(l,n){return this.http.post(this.apiurl+l,n)},l.prototype.retiverassessedForm=function(l,n){return console.log("rec",n),this.http.post(this.apiurl+l,n)},l.prototype.updatePdApplicant=function(l){return this.http.post(this.apiurl+"updatePDApplicants",{pd_applicant_details:l})},l.prototype.getEndUseForLoan=function(l,n){return this.http.post(this.apiurl+"getEndUseOfLoan",{records:{pd_id:l,sub_product_id:n}})},l.prototype.getCompaniesListsForBusiness=function(l){return this.http.post(this.apiurl+"getCompaniesListsForBusiness",{records:{pd_id:l}})},l.prototype.getStateWiseCities=function(l){return this.http.post(this.apiurl+"getListOfStatesAndCities",{records:{state_id:l}})},l.prototype.getAllPersonsName=function(l){return this.http.post(this.apiurl+"getAllPersonsName",{pd_id:l})},l.prototype.getStateCityDetails=function(){return this.http.post(this.apiurl+"getListOfStatesCities","")},l.prototype.getAssetsWithLoanFromBusiness=function(l){return this.http.post(this.apiurl+"getAssetsWithLoanFromBusiness",{pd_id:l})},l.prototype.getTypeofActivityForSuppliedInfoForm=function(l,n){return this.http.post(this.apiurl+"getTypeOfActivetyFromBusinessForm",{records:{pd_id:l,company_id:n}})},l.prototype.stockFormAccess=function(l,n){return this.http.post(this.apiurl+"getProductsFromBusiness",{pd_id:l,company_id:n})},l.prototype.savePDImages=function(l){return this.http.post(this.apiurl+"savePDPhotos",{records:l})},l.prototype.getPDImages=function(l){return this.http.post(this.apiurl+"getPDImages",{records:l})},l.prototype.getFamilyDetails=function(l){return this.http.post(this.apiurl+"getFamilyDetails",{pd_id:l})},l.prototype.getAddressDetails=function(l){return this.http.post(this.apiurl+"getPDAddress",{pd_id:l})},l.prototype.getStateCityNamesAndPincode=function(l){return this.http.post(this.apiurl+"getStateCityNamesAndPincode",{records:l})},l.prototype.getCustomersDetails=function(){return this.http.get(this.apiurl+"getListOfCustomerSegments")},l=KP([Object(fP.x)(),HP("design:paramtypes",[vP.c,TP,MP.b])],l)}(),zP=e(128),YP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},QP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},JP=function(){function l(l,n){this.http=l,this.camera=n,console.log("%cWelcome, Camera Provider","font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;")}return l.prototype.getpicture=function(){return this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:500,correctOrientation:!0}).then(function(l){console.log("From Camera.ts - getPicture fn image are",l);var n="data:image/png;base64,"+l;return console.log("base 64",n),n},function(l){return console.log("CAMERA ERROR -> "+JSON.stringify(l)),"error"})},l.prototype.getcommonpicture=function(){return this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:500,correctOrientation:!0}).then(function(l){console.log("From Camera.ts - getcommonpicture fn image are",l);var n="data:image/png;base64,"+l.filter(function(l){return null==l.fk_form_id});return console.log("base 64",n),n},function(l){return console.log("CAMERA ERROR -> "+JSON.stringify(l)),"error"})},l=YP([Object(fP.x)(),QP("design:paramtypes",[vP.c,zP.a])],l)}(),XP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ZP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},lD=function(){function l(l,n,e){this.http=l,this.toast=n,this.alertCtrl=e,console.log("Hello ToastProvider Provider")}return l.prototype.pdTriggerappmessage=function(l){this.toast.create({message:l,duration:3e3,position:"bottom",dismissOnPageChange:!0}).present()},l.prototype.setAlert=function(l,n){var e=this.alertCtrl.create({title:l,message:n,cssClass:"buttoncss",buttons:[{text:"No",cssClass:"btnNo",handler:function(){return e.dismiss(!1),!1}},{text:"Yes",cssClass:"btnYes",handler:function(){return e.dismiss("s"),!1}}]});return e},l.prototype.setAlertForDocName=function(){var l=this.alertCtrl.create({title:"Document Name",message:"Please Enter the Document Name",cssClass:"prompt_alert",inputs:[{name:"Name",placeholder:"Document Name"}],buttons:[{text:"Submit",handler:function(n){console.log(n.Name),l.dismiss(n.Name)}}]});return l},l.prototype.setAlertForCompletePD=function(){var l=this.alertCtrl.create({title:"Complete Discussion",message:"Please confirm you are completing the Discussion and forwarding for Quality Check ?",cssClass:"complete_alert",buttons:[{text:"Yes / Allow Addon PD",handler:function(){return l.dismiss("addon"),!1}},{text:"Yes",handler:function(){return l.dismiss("yes"),!1}},{text:"No",handler:function(){return l.dismiss("no"),!1}}]});return l},l.prototype.setAlertwithButton=function(l){this.alertCtrl.create({title:"Notification",subTitle:l.title,message:l.message,buttons:["OK"]}).present()},l=XP([Object(fP.x)(),ZP("design:paramtypes",[vP.c,hP.y,hP.a])],l)}(),nD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},eD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},uD=(new Date).toJSON().slice(0,19).replace("T"," "),tD=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.fb=u,this.qstDetails=t,this.aws=a,this.camera=i,this.toast=o,this.docName=[],this.docArray=[],this.imageArray=[],this.SwipedTabsIndicator=null,this.tabTitleWidthArray=[],this.tabElementWidth_px=50,this.screenWidth_px=0,this.isRight=!1,this.isLeft=!1,this.tabs=[],this.screenWidth_px=e.width(),this.questionAnswer=this.fb.group({answerDetails:[null],items:this.fb.array([])}),this.questionanotherData=this.fb.group({questionRemarks:[null]}),this.getpdQuestionDetails(),this.userid=this.aws.getlocale()}return l.prototype.ionViewDidLoad=function(){},l.prototype.ionViewDidEnter=function(){this.SwipedTabsIndicator=document.getElementById("indicator");for(var l in this.tabs)this.tabTitleWidthArray.push(document.getElementById("tabTitle"+l).offsetWidth);this.selectTab(0)},l.prototype.ionViewWillLeave=function(){this.navCtrl.setRoot(xO,{pdDetails:this.pdinfo})},l.prototype.scrollIndicatiorTab=function(){this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0)},l.prototype.selectTab=function(l){this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[l]+"px",this.SwipedTabsIndicator.style.webkitTransform="translate3d("+this.calculateDistanceToSpnd(l)+"px,0,0)",this.SwipedTabsSlider.slideTo(l)},l.prototype.calculateDistanceToSpnd=function(l){for(var n=0,e=0;en&&(this.isLeft=!1,this.isRight=!0),this.SwipedTabsSlider.isEnd()&&(this.isRight=!1),this.SwipedTabsSlider.isBeginning()&&(this.isLeft=!1),this.isRight&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])+"px,0,0)"),this.isLeft&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])+"px,0,0)"),this.isRight||this.isLeft||(this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+"px")},l.prototype.getpdQuestionDetails=function(){this.questionDetails=this.navParams.get("questionDetails"),this.pdinfo=this.navParams.get("pdDetails");for(var l=0,n=this.questionDetails.questions;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},oD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},rD=function(){function l(l,n){this.http=l,this.loadingCtrl=n,console.log("Hello LoadingProvider Provider")}return l.prototype.pdloader=function(l){this.loading=this.loadingCtrl.create({content:l}),this.loading.present()},l.prototype.loaderForSendImage=function(){return this.loadingCtrl.create({content:"Sending...",duration:2e3}).present()},l=iD([Object(fP.x)(),oD("design:paramtypes",[vP.c,hP.o])],l)}(),_D=e(201),dD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},sD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},cD=function(){function l(l,n,e){this.http=l,this.storage=n,this.toast=e,console.log("Hello StorageProvider Provider")}return l.prototype.insertData=function(l){var n=this;this.toast.pdTriggerappmessage(this.storage.driver);var e=l.pd_id;return console.log("storage provider"),console.log(l),console.log(JSON.stringify(l)),console.log("sto",this.storage.get(e)),this.storage.get(e).then(function(u){if(console.log("res",u),null!=u){if(0!=u.length&&void 0!=u.length){var t=u.filter(function(n){return n.form_id==l.form_id});if(console.log("current",t),t.length>0){return(i=[]).push(l),n.storage.set(e,i)}}var a=[];return a=u,console.log("old data",a),a.push(l),n.storage.set(e,a)}var i;return(i=[]).push(l),n.storage.set(e,i)})},l.prototype.retrieveLocalStorage=function(l){return this.storage.get(l.pd_id).then(function(n){if(console.log("storage get",n),null!=n)return n.filter(function(n){return n.form_id==l.form_id})})},l=dD([Object(fP.x)(),sD("design:paramtypes",[vP.c,_D.b,lD])],l)}(),mD=(e(465),e(3)),pD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},fD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},hD=function(){function l(l,n,e,u,t,a,i,o,r,_,d){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.alerCtrl=i,this.constant=o,this.camera=r,this.loading=_,this.storagedb=d,this.placeholderName=[],this.premisesRentAmtInwords=[],this.locality=[],this.pdlocation=[],this.addressTypes=[],this.addressRemarksAccess=!1,this.cityData=[],this.pincodeData=[],this.stateData=[],this.uomData=[],this.pincodeValue=[],this.cityDataValue=[],this.complete_status=!1,this.pipe=new mD.e("en-US"),this.AppxPDLocationImgValid=!1,this._onDestroy=new wP.Subject,this.filteredCity=new wP.ReplaySubject(1),this.filteredState=new wP.ReplaySubject(1),this.pincodeDataValue=[],this.imageBucket=[],this.tab="0",this.imageDisplay=[],this.alertnativeCityData=[],this.alertnativePincodeData=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.getdropdownlist(),this.pdQuestionAddress=this.fb.group({addresses:this.fb.array([]),is_pd_done_on_initiated_address:[!0],address_type:["",EP.y.compose([EP.y.required])],locality:["",EP.y.compose([EP.y.required])],locality_mixuse:[""],pd_location:["",EP.y.compose([EP.y.required])],comment_locality:["",EP.y.compose([EP.y.required])],estimated_area:[""],uom:[""],address_form_remark:[""]}),this.timer=wP.Observable.interval(1e4).subscribe(function(l){console.log("test",l)}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAddressPage");this.setAddressFromDatas({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}),this.getPDImages()},l.prototype.searchFun=function(l,n,e,u){var t=this;"city"==e&&1==u&&l.controls.citySearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){t.SearchCity(l.controls.citySearch.value,n)}),"state"==e&&l.controls.stateSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){t.searchState(l.controls.stateSearch.value)}),"pin"==e&&1==u&&l.controls.pinSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){t.searchPin(l.controls.pinSearch.value,n)}),"city"==e&&2==u&&l.controls.citySearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){t.SearchAlternativeCity(l.controls.citySearch.value,n)}),"pin"==e&&2==u&&l.controls.pinSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){t.searchAlternativePin(l.controls.pinSearch.value,n)})},l.prototype.searchPin=function(l,n){if(this.pincodeData[n]){var e=l;e?(e=e.toLowerCase(),this.pincodeDataValue[n]=this.pincodeData[n].filter(function(l){return l.pincode.toLowerCase().indexOf(e)>-1})):this.pincodeDataValue[n]=this.pincodeData[n].slice()}},l.prototype.SearchCity=function(l,n){if(this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.cityDataValue[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1})):this.cityDataValue[n]=this.cityData[n].slice()}},l.prototype.searchAlternativePin=function(l,n){if(this.pincodeData[n]){var e=l;e?(e=e.toLowerCase(),this.alertnativePincodeData[n]=this.pincodeData[n].filter(function(l){return l.pincode.toLowerCase().indexOf(e)>-1})):this.alertnativePincodeData[n]=this.pincodeData[n].slice()}},l.prototype.SearchAlternativeCity=function(l,n){if(this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.alertnativeCityData[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1})):this.alertnativeCityData[n]=this.cityData[n].slice()}},l.prototype.searchState=function(l){if(this.stateData){var n=l;n?(n=n.toLowerCase(),this.filteredState.next(this.stateData.filter(function(l){return l.name.toLowerCase().indexOf(n)>-1}))):this.filteredState.next(this.stateData.slice())}},l.prototype.countRowsForTextarea=function(l){if(""!=l&&void 0!=l)return l.length%100>5?5:l.length%100<=3?3:Math.floor(l.length%100)},l.prototype.ionViewWillLeave=function(){},l.prototype.ionViewCanLeave=function(){var l=this;return this.timer.unsubscribe(),this.pdQuestionAddress.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Form is Modified","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return 0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){0==l?e():n()})}):void 0},l.prototype.getCityAndPincodeDetails=function(l,n,e){var u=this;this.qustCat.getStateWiseCities(l).subscribe(function(l){200==l.status&&(u.cityData[n]=l.records.cities,u.search=u.cityData[n],u.pincodeData[n]=l.records.pincode,1==e?(u.cityDataValue[n]=u.cityData[n].slice(),u.pincodeDataValue[n]=u.pincodeData[n].slice()):2==e&&(u.alertnativeCityData[n]=u.cityData[n].slice(),u.alertnativePincodeData[n]=u.pincodeData[n].slice()))})},l.prototype.getdropdownlist=function(){var l=this;this.qustCat.getcommondrop("ADDRESSTYPE").subscribe(function(n){1==n.dataStatus&&(l.addressTypes=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("PDLOCATIONAPPROACH").subscribe(function(n){l.pdlocation=n,1==l.pdlocation.dataStatus&&(l.pdlocation=l.pdlocation.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("COMMENTSONLOCALITY").subscribe(function(n){l.cmtlocality=n,1==l.cmtlocality.dataStatus&&(l.cmtlocality=l.cmtlocality.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("LOCALITY").subscribe(function(n){1==n.dataStatus&&(l.locality=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RESIDENCEOWNERSHIP").subscribe(function(n){1==n.dataStatus&&(l.residence=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("CITY").subscribe(function(n){1==n.dataStatus&&(l.CITY=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("STATE").subscribe(function(n){l.stateData=n.records.filter(function(l){return 1==l.isactive}),l.filteredState.next(l.stateData.slice())}),this.qustCat.getcommondrop("UOM").subscribe(function(n){l.uomData=n.records.filter(function(l){return 1==l.isactive&&0!=l.is_land_uom})})},l.prototype.createUnits=function(l){return this.fb.group(null==l?{no_of_additional_units:[""],premises_type:[""],premises_type_others:[""],premises_city:[""],premises_remarks:[""]}:{no_of_additional_units:[l.no_of_additional_units],premises_type:[l.premises_type],premises_type_others:[l.premises_type_others],premises_city:[l.premises_city],premises_remarks:[l.premises_remarks]})},l.prototype.addUnits=function(){this.items=this.pdQuestionAddress.get("additional_address_units"),this.items.push(this.createUnits(null))},l.prototype.removeUnits=function(l){this.items.removeAt(l)},l.prototype.ConvertMonthintoYear=function(l){var n=l%12,e=l/12;this.pdQuestionAddress.controls.business_years.setValue(+this.pdQuestionAddress.controls.business_years.value+ +Math.floor(e)),this.pdQuestionAddress.controls.business_month.setValue(Math.floor(n))},l.prototype.initAddress=function(l){return this.fb.group(null!=l?{address:[l.address],state:[l.state],city:[l.city],citySearch:[""],stateSearch:[""],pinSearch:[""],pincode:[l.pincode],pincode_others:[l.pincode_others,EP.y.compose([EP.y.minLength(6),EP.y.maxLength(6)])]}:{address:[""],state:[""],city:[""],citySearch:[""],stateSearch:[""],pinSearch:[""],pincode:[""],pincode_others:["",EP.y.compose([EP.y.minLength(6),EP.y.maxLength(6)])]})},l.prototype.alternativeAddress=function(l){if(console.log(l),console.log(this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value),!1===l){console.log("alternativeAddress false",l),this.pdQuestionAddress.addControl("alternative_addresses",this.fb.array([]));this.pdQuestionAddress.controls.alternative_addresses.push(this.initAlternativeAddress(null))}else!0===l&&(console.log("alternativeAddress",l),this.pdQuestionAddress.removeControl("alternative_addresses"))},l.prototype.initAlternativeAddress=function(l){return this.fb.group(null==l?{alternative_address:[""],alternative_state:[""],stateSearch:[""],citySearch:[""],pinSearch:[""],alternative_city:[""],alternative_pincode:[""],alternative_pincode_others:[""],reason_for_alternative_address:[""]}:{alternative_address:[l.alternative_address],alternative_state:[l.alternative_state],stateSearch:[""],citySearch:[""],pinSearch:[""],alternative_city:[l.alternative_city],alternative_pincode:[l.alternative_pincode],alternative_pincode_others:[l.alternative_pincode_others],reason_for_alternative_address:[l.reason_for_alternative_address]})},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n){this.premisesRentAmtInwords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.inWordsForRent=function(l){this.rentAmtInwords=this.constant.convertNumberToWords(l.target.value)},l.prototype.selectedAddressType=function(l,n){this.placeholderName[0]="Estimated area of the "+l},l.prototype.imageMandatoryCheck=function(){var l=this;if(this.pdQuestionAddress.invalid)this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '");else if(0==this.AppxPDLocationImgValid){var n=this.toast.setAlert("Mandatory photographs not taken"," Do you want to take it later?");n.present(),n.onDidDismiss(function(n){if("s"!=n)return!0;l.onSubmit()})}else this.onSubmit()},l.prototype.onSubmit=function(){var l=this,n={};n.addresses=this.pdQuestionAddress.controls.addresses.value,n.is_pd_done_on_initiated_address=this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value,1==this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value?(1!=n.addresses[0].pincode&&delete n.addresses[0].pincode_others,n.addresses[0].address_type=this.pdQuestionAddress.controls.address_type.value,1==this.pdQuestionAddress.controls.address_type.value&&(n.addresses[0].address_type_others=this.pdQuestionAddress.controls.address_type_others.value),n.addresses[0].locality=this.pdQuestionAddress.controls.locality.value,1==this.pdQuestionAddress.controls.locality.value&&(n.addresses[0].locality_others=this.pdQuestionAddress.controls.locality_others.value),n.addresses[0].locality_mixuse=this.pdQuestionAddress.controls.locality_mixuse.value,n.addresses[0].pd_location=this.pdQuestionAddress.controls.pd_location.value,n.addresses[0].comment_locality=this.pdQuestionAddress.controls.comment_locality.value,n.addresses[0].estimated_area=this.pdQuestionAddress.controls.estimated_area.value,n.addresses[0].uom=this.pdQuestionAddress.controls.uom.value,n.addresses[0].citySearch="",n.addresses[0].pinSearch="",n.addresses[0].stateSearch="",1==this.pdQuestionAddress.controls.uom.value&&(n.addresses[0].uom_others=this.pdQuestionAddress.controls.uom_others.value)):0==this.pdQuestionAddress.controls.is_pd_done_on_initiated_address.value&&(n.alternative_addresses=this.pdQuestionAddress.controls.alternative_addresses.value,n.alternative_addresses[0].address_type=this.pdQuestionAddress.controls.address_type.value,1!=n.addresses[0].alternative_pincode&&delete n.addresses[0].alternative_pincode_others,1==this.pdQuestionAddress.controls.address_type.value&&(n.alternative_addresses[0].address_type_others=this.pdQuestionAddress.controls.address_type_others.value),n.alternative_addresses[0].locality=this.pdQuestionAddress.controls.locality.value,1==this.pdQuestionAddress.controls.locality.value&&(n.alternative_addresses[0].locality_others=this.pdQuestionAddress.controls.locality_others.value),n.alternative_addresses[0].locality_mixuse=this.pdQuestionAddress.controls.locality_mixuse.value,n.alternative_addresses[0].pd_location=this.pdQuestionAddress.controls.pd_location.value,n.alternative_addresses[0].comment_locality=this.pdQuestionAddress.controls.comment_locality.value,n.alternative_addresses[0].estimated_area=this.pdQuestionAddress.controls.estimated_area.value,n.alternative_addresses[0].uom=this.pdQuestionAddress.controls.uom.value,""==n.alternative_addresses[0].citySearch&&delete n.alternative_addresses[0].citySearch,""==n.alternative_addresses[0].pinSearch&&delete n.alternative_addresses[0].pinSearch,""==n.alternative_addresses[0].stateSearch&&delete n.alternative_addresses[0].stateSearch,1==this.pdQuestionAddress.controls.uom.value&&(n.alternative_addresses[0].uom_others=this.pdQuestionAddress.controls.uom_others.value)),n.address_form_remark=this.pdQuestionAddress.controls.address_form_remark.value,n.parent_pdid=this.pdDetails.parent_pd_id,n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,this.qustCat.saveForm(n).subscribe(function(n){200==n.status?(l.pdQuestionAddress.reset(l.pdQuestionAddress.value),l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")},function(n){l.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!-"+n.error_text+" occur")})},l.prototype.savepdQuestionOLD=function(l){var n=this,e={};this.pdQuestionAddress.invalid?this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '"):0!=this.AppxPDLocationImgValid?(e.addresses=l.addresses,e.address_form_remark=l.address_form_remark,e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.address_form_remark=l.address_form_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.pdQuestionAddress.reset(n.pdQuestionAddress.value),n.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){n.navCtrl.pop()},2e3))},function(l){n.toast.pdTriggerappmessage("Something went wrong ")})):this.toast.pdTriggerappmessage("Please Take the Image for Approach to PD Location")},l.prototype.setAddressFromDatas=function(l){var n=this;this.qustCat.retiverForm(l).subscribe(function(l){var e=n.pdQuestionAddress.controls.addresses;if(200==l.status){var u=!l.records.hasOwnProperty("is_pd_done_on_initiated_address")||l.records.is_pd_done_on_initiated_address;if(n.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(u),0==l.records.addresses.length?e.push(n.initAddress(null)):l.records.addresses.forEach(function(t,a){var i={address:t.address,state:t.state,city:t.city,pincode:t.pincode,pincode_others:t.pincode?t.pincode_others:""};if(n.getCityAndPincodeDetails(t.state,a,1),e.push(n.initAddress(i)),""!=t.address_type_others&&null!=t.address_type_others||delete t.address_type_others,""!=t.citySearch&&null!=t.citySearch||delete t.citySearch,""!=t.locality_others&&null!=t.locality_others||delete t.locality_others,""!=t.pinSearch&&null!=t.pinSearch||delete t.pinSearch,""!=t.pincode_others&&null!=t.pincode_others||delete t.pincode_others,""!=t.stateSearch&&null!=t.stateSearch||delete t.stateSearch,""!=t.uom_others&&null!=t.uom_others||delete t.uom_others,!0===u){n.pdQuestionAddress.controls.pd_location.setValue(t.pd_location?t.pd_location:""),n.pdQuestionAddress.controls.address_type.setValue(t.address_type?t.address_type:"");var o=n.addressTypes.filter(function(l){return l.address_type_id==t.address_type})[0];n.selectedAddressType(o.address_type,a),n.setOthers(t.address_type,"",3),1==t.address_type&&(n.pdQuestionAddress.controls.address_type_others.setValue(t.address_type_others),n.selectedAddressType(t.address_type_others,a)),n.pdQuestionAddress.controls.comment_locality.setValue(t.comment_locality?t.comment_locality:""),n.pdQuestionAddress.controls.locality.setValue(t.locality?t.locality:""),n.setOthers(t.locality,"",4),1==t.locality&&n.pdQuestionAddress.controls.locality_others.setValue(t.locality_others),n.pdQuestionAddress.controls.estimated_area.setValue(t.estimated_area?t.estimated_area:""),n.pdQuestionAddress.controls.uom.setValue(t.uom),n.setOthers(t.uom,"",5),1==l.records.uom&&n.pdQuestionAddress.controls.uom_others.setValue(t.uom_others)}}),0==u){n.pdQuestionAddress.addControl("alternative_addresses",n.fb.array([]));var t=n.pdQuestionAddress.controls.alternative_addresses;l.records.alternative_addresses.length>0&&l.records.alternative_addresses.forEach(function(e,u){var a={alternative_address:e.alternative_address,alternative_state:e.alternative_state,alternative_city:e.alternative_city,alternative_pincode:e.alternative_pincode,alternative_pincode_others:1==e.alternative_pincode?e.alternative_pincode_others:"",reason_for_alternative_address:e.reason_for_alternative_address};n.getCityAndPincodeDetails(e.alternative_state,u,2),t.push(n.initAlternativeAddress(a)),n.pdQuestionAddress.controls.pd_location.setValue(e.pd_location),n.pdQuestionAddress.controls.address_type.setValue(e.address_type);var i=n.addressTypes.filter(function(l){return l.address_type_id==e.address_type})[0];n.selectedAddressType(i.address_type,u),n.setOthers(e.address_type,"",3),1==e.address_type&&(n.pdQuestionAddress.controls.address_type_others.setValue(e.address_type_others),n.selectedAddressType(e.address_type_others,u)),n.pdQuestionAddress.controls.comment_locality.setValue(e.comment_locality),n.pdQuestionAddress.controls.locality.setValue(e.locality),n.setOthers(e.locality,"",4),1==e.locality&&n.pdQuestionAddress.controls.locality_others.setValue(e.locality_others),n.pdQuestionAddress.controls.estimated_area.setValue(e.estimated_area),n.pdQuestionAddress.controls.uom.setValue(e.uom),n.setOthers(e.uom,"",5),1==l.records.uom&&n.pdQuestionAddress.controls.uom_others.setValue(e.uom_others)})}n.pdQuestionAddress.controls.address_form_remark.setValue(l.records.address_form_remark)}else n.getaddressForm()})},l.prototype.getaddressFormFromLocal=function(){var l,n=this;this.storagedb.retrieveLocalStorage({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id}).then(function(e){if(e){var u={};u.records=e[0],l=e[0],console.log("addd",u,"loca",l);var t=n.pdQuestionAddress.controls.addresses;n.getaddressDetails=u,1==l.active?n.getaddressDetails.records.addresses?(n.getaddressDetails=n.getaddressDetails.records.addresses,0==n.getaddressDetails.length?t.push(n.initAddress("")):(n.getaddressDetails.forEach(function(l,e){n.getCityAndPincodeDetails(l.state,e,1),1==l.pincode&&(n.pincodeValue[e]=l.pincode_others);var u={address:l.address,state:l.state,city:l.city,pincode:l.pincode,pincode_others:l.pincode_others};""!=l.address_type&&(n.selectedAddressType(l.address_type,e),1==l.address_type&&n.selectedAddressType(l.address_type_others,e)),t.push(n.initAddress(u))}),n.pdQuestionAddress.controls.address_form_remark.setValue(u.records.address_form_remark))):t.push(n.initAddress("")):n.getaddressForm()}else n.getaddressForm()})},l.prototype.setOthers=function(l,n,e){switch(e){case 1:var u=this.pdQuestionAddress.controls.addresses.controls[n];1==l?u.addControl("pincode_others",new EP.h("",EP.y.required)):u.removeControl("pincode_others");break;case 2:var t=this.pdQuestionAddress.controls.alternative_addresses.controls[n];1==l?t.addControl("alternative_pincode_others",new EP.h("",EP.y.required)):t.removeControl("alternative_pincode_others");break;case 3:1==l?this.pdQuestionAddress.addControl("address_type_others",new EP.h("",EP.y.required)):this.pdQuestionAddress.removeControl("address_type_others");break;case 4:1==l?this.pdQuestionAddress.addControl("locality_others",new EP.h("",EP.y.required)):this.pdQuestionAddress.removeControl("locality_others");break;case 5:1==l?this.pdQuestionAddress.addControl("uom_others",new EP.h("",EP.y.required)):this.pdQuestionAddress.removeControl("uom_others")}},l.prototype.getaddressForm=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=l.pdQuestionAddress.controls.addresses;if(l.getaddressDetails=n,1==l.getaddressDetails.dataStatus)if(l.getaddressDetails.records.addresses)if(l.getaddressDetails=l.getaddressDetails.records.addresses,0==l.getaddressDetails.length)e.push(l.initAddress(""));else{l.getaddressDetails.forEach(function(n,u){""!=n.address_type_others&&null!=n.address_type_others||delete n.address_type_others,""!=n.citySearch&&null!=n.citySearch||delete n.citySearch,""!=n.locality_others&&null!=n.locality_others||delete n.locality_others,""!=n.pinSearch&&null!=n.pinSearch||delete n.pinSearch,""!=n.pincode_others&&null!=n.pincode_others||delete n.pincode_others,""!=n.stateSearch&&null!=n.stateSearch||delete n.stateSearch,""!=n.uom_others&&null!=n.uom_others||delete n.uom_others,l.getCityAndPincodeDetails(n.state,u,1),1==n.pincode&&(l.pincodeValue[u]=n.pincode_others);var t={address:n.address,state:n.state,city:n.city,pincode:n.pincode,pincode_others:n.pincode_others};if(""!=n.address_type){var a=l.addressTypes.filter(function(l){return l.address_type_id==n.address_type})[0];l.selectedAddressType(a.address_type,u),1==n.address_type&&l.selectedAddressType(n.address_type_others,u)}e.push(l.initAddress(t)),l.pdQuestionAddress.controls.pd_location.setValue(n.pd_location?n.pd_location:""),l.pdQuestionAddress.controls.address_type.setValue(n.address_type?n.address_type:""),l.pdQuestionAddress.controls.comment_locality.setValue(n.comment_locality?n.comment_locality:""),l.pdQuestionAddress.controls.locality.setValue(n.locality?n.locality:""),n.locality&&(l.setOthers(n.locality,"",4),1==n.locality&&l.pdQuestionAddress.controls.locality_others.setValue(n.locality_others)),l.pdQuestionAddress.controls.estimated_area.setValue(n.estimated_area?n.estimated_area:""),l.pdQuestionAddress.controls.uom.setValue(n.uom),n.uom&&(l.setOthers(n.uom,"",5),1==n.uom&&l.pdQuestionAddress.controls.uom_others.setValue(n.uom_others))});var u=!n.records.hasOwnProperty("is_pd_done_on_initiated_address")||n.records.is_pd_done_on_initiated_address;l.pdQuestionAddress.controls.is_pd_done_on_initiated_address.setValue(u),l.pdQuestionAddress.controls.address_form_remark.setValue(n.records.address_form_remark)}else e.push(l.initAddress(""));else l.loadPD()})},l.prototype.loadPD=function(){var l=this,n=this.pdQuestionAddress.controls.addresses;this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(function(e){1==e.dataStatus?(l.addressesList=e.records.filter(function(n){return 1==n.isactive&&n.assigned_pd==l.pdDetails.pd_id}),l.addressesList.length>0?l.addressesList.forEach(function(e,u){l.getCityAndPincodeDetails(e.fk_state,u,1);n.push(l.initAddress({address:e.addressline1,address_type:"",address_type_others:"",state:e.fk_state,city:e.fk_city,pincode:e.pincode_id,pincode_others:e.other_pincode,locality:"",locality_others:"",pd_location:"",comment_locality:"",estimated_area:"",uom:"",uom_others:""}))}):n.push(l.initAddress(""))):n.push(l.initAddress(""))})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];var n={pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null};console.log("record_for_pic",n),this.qustCat.getPDImages(n).subscribe(function(n){n.msg||n.records.length>0&&(n.records.forEach(function(n){console.log("records result",n),l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy",is_show_report:null==n.is_show_report?0:n.is_show_report});"Approach to PD Location "==n.pd_document_title.split("(")[0]&&(l.AppxPDLocationImgValid=!0)}),console.log("image Display Data Are",l.imageDisplay))})},l.prototype.changeName=function(l,n,e){this.imageDisplay[n]={image:e,Name:l,is_show_report:0}},l.prototype.changeNameForBucket=function(l,n,e,u){this.imageBucket[n]={image:e,Name:l,is_show_report:0}},l.prototype.changeOptions=function(l,n){var e=this,u=this.imageBucket[n].value,t=this.imageDisplay.length;console.log("image display length",t),this.imageDisplay.forEach(function(n){"Approach to PD Location "==u&&1==l&&(n.is_show_report=0)}),console.log("this.imageDisplay",this.imageDisplay),this.imageBucket.forEach(function(n){"Approach to PD Location "==u&&1==l&&(console.log("name",u),console.log("this.imageBucket.length",e.imageBucket.length),n.is_show_report=0)}),console.log("this.imageBucket",this.imageBucket),this.imageBucket[n].is_show_report=l},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.savePhoto=function(l){var n=this,e=this.pipe.transform(new Date,"yyyy-MM-dd hh:mm:ss");this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:600,correctOrientation:!0}).then(function(u){n.constant.getGeoTag().then(function(t){console.log("geo promise",t),n.base64="data:image/png;base64,"+u,1==l?(n.imageBucket.push({image:n.base64,link:t,Name:"",is_show_report:""}),console.log("imagebucket",n.imageBucket),n.getImageName(n.imageBucket.length-1)):2==l&&n.imageBucket.push({image:n.base64,link:t,Name:"Approach to PD Location ( "+e+" )",is_show_report:""})})},function(l){}),this.tab="1"},l.prototype.getImageName=function(l){var n=this,e=this.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(e){n.imageBucket[l].Name=e.Name})},l.prototype.updateImage=function(){},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage();var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records for sendImage",n),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.localInsert=function(l){var n=this.pdQuestionAddress.value;n.pd_id=this.pdDetails.pd_id,n.form_id=this.FormId.form_id,n.active=l,this.storagedb.insertData(n).then(function(l){})},l=pD([Object(fP.k)({selector:"page-pd-question-address",templateUrl:"pd-question-address.html"}),fD("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,hP.a,TP,zP.a,rD,cD])],l)}(),gD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},bD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},vD=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.workExperienceFlag=!1,this.workExperienceErrorFlag=!1,this.tab="0",this.imageBucket=[],this.imageDisplay=[],this.dateonly=[{date:1,isdisabled:!1},{date:2,isdisabled:!1},{date:3,isdisabled:!1},{date:4,isdisabled:!1},{date:5,isdisabled:!1},{date:6,isdisabled:!1},{date:7,isdisabled:!1},{date:8,isdisabled:!1},{date:9,isdisabled:!1},{date:10,isdisabled:!1},{date:11,isdisabled:!1},{date:12,isdisabled:!1},{date:13,isdisabled:!1},{date:14,isdisabled:!1},{date:15,isdisabled:!1},{date:16,isdisabled:!1},{date:17,isdisabled:!1},{date:18,isdisabled:!1},{date:19,isdisabled:!1},{date:20,isdisabled:!1},{date:21,isdisabled:!1},{date:22,isdisabled:!1},{date:23,isdisabled:!1},{date:24,isdisabled:!1},{date:25,isdisabled:!1},{date:26,isdisabled:!1},{date:27,isdisabled:!1},{date:28,isdisabled:!1},{date:29,isdisabled:!1},{date:30,isdisabled:!1},{date:31,isdisabled:!1}],this.todate=this.dateonly,this.complete_status=!1,this.FormId=this.navParams.get("FormId"),this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase(),this.generalExistBusinessYear=100,this.generalExistBusinessMonth=12,this.getDropDownList(),this.getCompanyFromGeneralDetails(),this.getEmploymentDetails(),this.employmentForm=this.fb.group({employer_name:[""],employer_in_brief:[""],how_long_year:["",EP.y.max(this.generalExistBusinessYear)],how_long_month:[""],total_business_experience:[""],total_business_previous_experience:[""],was_met:["SAL-CHQ"==this.pd_cus_segment?"No":""],name_person_met:[""],designation_person_met:[""],confirm_salary:["SAL-CHQ"==this.pd_cus_segment?"No":""],confirm_salary_amount:[""],attendance_seen:["SAL-CHQ"==this.pd_cus_segment?"No":""],sal_reg_seen:["SAL-CHQ"==this.pd_cus_segment?"No":""],from_date_the_salary_is_rcv:[""],to_date_the_salary_is_rcv:[""],gross_monthly_salary:[""],net_monthly_salary:[""],amount_paid_in_cash:[""],amount_paid_through_bank:[""],check_validated:[""],how_was_it_validated:[""],why_was_it_not_validated:[""],bonus_incentive:[""],bonus_frequency:[""],bonus_type:[""],bonus_type_other:[""],any_delays:[""],employment_remarks:[""]}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionEmpInfoPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.employmentForm.dirty),this.employmentForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getDropDownList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequency_data=n.records,l.frequency_data=l.frequency_data.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.company_relationship_list=n.records.filter(function(l){return 1==l.isactive}),l.company_relationship_list=n.records.filter(function(l){return"Others"!=l.name}),l.company_relationship_list.push({company_relationship_id:0,name:"Not Applicable"}))})},l.prototype.getCompanyFromGeneralDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:"18"}).subscribe(function(n){1==n.dataStatus&&(l.company_list=n.records.companies.filter(function(l){return 1==l.is_active}),l.person_met_list=n.records.individuals.filter(function(l){return 1==l.is_person_met&&1==l.is_active}),l.company_related_applicants_list=n.records.company_with_relationships)})},l.prototype.ValidateNetSalary=function(){var l=this.employmentForm.controls.net_monthly_salary.value;if(console.log("this.employmentForm.controls[amount_paid_in_cash].value",this.employmentForm.controls.amount_paid_in_cash.value),""==l)return this.toast.pdTriggerappmessage("Net Monthly Salary Is Empty.!"),this.employmentForm.controls.amount_paid_in_cash.setValue(""),this.employmentForm.controls.amount_paid_in_cash.updateValueAndValidity(),this.employmentForm.controls.amount_paid_through_bank.setValue(""),void this.employmentForm.controls.amount_paid_through_bank.updateValueAndValidity();var n=this.employmentForm.controls.amount_paid_in_cash.value;this.employmentForm.controls.amount_paid_in_cash.setValidators([EP.y.max(l)]),this.employmentForm.controls.amount_paid_in_cash.updateValueAndValidity();var e=l-n;if(""!=this.employmentForm.controls.amount_paid_in_cash.value){var u=l-this.employmentForm.controls.amount_paid_in_cash.value;console.log("bal",u),this.employmentForm.controls.amount_paid_through_bank.setValue(u),this.inWords(u,5)}e>=0?this.employmentForm.controls.amount_paid_through_bank.setValidators([EP.y.max(l-n)]):(this.employmentForm.controls.amount_paid_through_bank.setValue("0"),this.employmentForm.controls.amount_paid_through_bank.setValidators([EP.y.max(0)])),this.employmentForm.controls.amount_paid_through_bank.updateValueAndValidity()},l.prototype.saveEmpInfo=function(){var l=this;if(this.employmentForm.controls.how_long_year.hasError("max")||this.employmentForm.controls.how_long_month.hasError("max"))return this.toast.pdTriggerappmessage("Higher than business Vintage"),void this.inputYearFocus.nativeElement.focus();if(this.employmentForm.controls.total_business_experience.hasError("min"))return this.toast.pdTriggerappmessage("Total working Experience is Lower"),void this.expFocus.nativeElement.focus();if(this.employmentForm.controls.amount_paid_in_cash.hasError("max")||this.employmentForm.controls.amount_paid_through_bank.hasError("max"))return this.toast.pdTriggerappmessage("Given Value is Maximum of Net Salary"),void this.inputCashPaidFocus.nativeElement.focus();if(this.employmentForm.valid){var n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,n.employer_name=this.employmentForm.controls.employer_name.value,n.employer_in_brief=this.employmentForm.controls.employer_in_brief.value,n.how_long_year=this.employmentForm.controls.how_long_year.value,n.how_long_month=this.employmentForm.controls.how_long_month.value,n.total_business_experience=this.employmentForm.controls.total_business_experience.value,n.total_business_previous_experience=this.employmentForm.controls.total_business_previous_experience.value,n.was_met=this.employmentForm.controls.was_met.value,"yes"==this.employmentForm.controls.was_met.value?(n.name_person_met=this.employmentForm.controls.name_person_met.value,n.designation_person_met=this.employmentForm.controls.designation_person_met.value):(n.name_person_met="",n.designation_person_met=""),n.confirm_salary=this.employmentForm.controls.confirm_salary.value,n.confirm_salary_amount="yes"==this.employmentForm.controls.confirm_salary.value?this.employmentForm.controls.confirm_salary_amount.value:"",n.attendance_seen=this.employmentForm.controls.attendance_seen.value,n.sal_reg_seen=this.employmentForm.controls.sal_reg_seen.value,n.from_date_the_salary_is_rcv=this.employmentForm.controls.from_date_the_salary_is_rcv.value,n.to_date_the_salary_is_rcv=this.employmentForm.controls.to_date_the_salary_is_rcv.value,n.gross_monthly_salary=this.employmentForm.controls.gross_monthly_salary.value,n.net_monthly_salary=this.employmentForm.controls.net_monthly_salary.value,n.amount_paid_in_cash=this.employmentForm.controls.amount_paid_in_cash.value,n.amount_paid_through_bank=this.employmentForm.controls.amount_paid_through_bank.value,n.check_validated=this.employmentForm.controls.check_validated.value,n.how_was_it_validated="validated"==this.employmentForm.controls.check_validated.value?this.employmentForm.controls.how_was_it_validated.value:"",n.why_was_it_not_validated="validated"!=this.employmentForm.controls.check_validated.value?this.employmentForm.controls.why_was_it_not_validated.value:"",n.any_delays=this.employmentForm.controls.any_delays.value,n.bonus_incentive=this.employmentForm.controls.bonus_incentive.value,n.bonus_frequency=this.employmentForm.controls.bonus_frequency.value,n.bonus_type=this.employmentForm.controls.bonus_type.value,n.bonus_type_other=this.employmentForm.controls.bonus_type_other.value,n.employment_remarks=this.employmentForm.controls.employment_remarks.value,this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.employmentForm.reset(l.employmentForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})}else this.toast.pdTriggerappmessage("Form Invalid Try Again.!")},l.prototype.filtercompanyrelationship=function(l,n){var e=l.split("-"),u=this.company_related_applicants_list.filter(function(l){return l.relation_to_company==e[0]&&l.applicant_name==n});u.length>0?(this.filtered_company_relationship_list=this.company_relationship_list.filter(function(l){return l.company_relationship_id==u[0].company_relationship}),this.employmentForm.controls.designation_person_met.setValue(this.filtered_company_relationship_list[0].name+" "+e[1])):this.employmentForm.controls.designation_person_met.setValue("")},l.prototype.formDate=function(l){this.employmentForm.controls.to_date_the_salary_is_rcv.setValue(""),this.todate=[{date:1,isdisabled:!1},{date:2,isdisabled:!1},{date:3,isdisabled:!1},{date:4,isdisabled:!1},{date:5,isdisabled:!1},{date:6,isdisabled:!1},{date:7,isdisabled:!1},{date:8,isdisabled:!1},{date:9,isdisabled:!1},{date:10,isdisabled:!1},{date:11,isdisabled:!1},{date:12,isdisabled:!1},{date:13,isdisabled:!1},{date:14,isdisabled:!1},{date:15,isdisabled:!1},{date:16,isdisabled:!1},{date:17,isdisabled:!1},{date:18,isdisabled:!1},{date:19,isdisabled:!1},{date:20,isdisabled:!1},{date:21,isdisabled:!1},{date:22,isdisabled:!1},{date:23,isdisabled:!1},{date:24,isdisabled:!1},{date:25,isdisabled:!1},{date:26,isdisabled:!1},{date:27,isdisabled:!1},{date:28,isdisabled:!1},{date:29,isdisabled:!1},{date:30,isdisabled:!1},{date:31,isdisabled:!1}];var n;if(0!=l&&""!=l)for(n=0;n<=l-1;n++)this.todate[n].isdisabled=!0,31==l&&(this.todate[30].isdisabled=!1)},l.prototype.checkWithExistYear=function(l){var n=this.company_list.filter(function(n){return n.company_name==l.split("-")[1]})[0];console.log("this.generalExistBusinessMonth",this.generalExistBusinessMonth),console.log("this.generalExistBusinessYear",this.generalExistBusinessYear),null!=n.business_month&&""!=n.business_month&&void 0!=n.business_month&&(this.generalExistBusinessMonth=n.business_month),n.business_years&&(this.generalExistBusinessYear=n.business_years),this.employmentForm.controls.how_long_year.setValidators([EP.y.max(this.generalExistBusinessYear)]),this.employmentForm.controls.how_long_year.updateValueAndValidity()},l.prototype.ConvertMonthintoYear=function(l){var n=this.employmentForm.controls.how_long_year.value,e=l%12,u=l/12;n>this.generalExistBusinessYear?(this.employmentForm.controls.how_long_year.setValidators([EP.y.max(this.generalExistBusinessYear)]),this.employmentForm.controls.how_long_year.updateValueAndValidity(),this.employmentForm.controls.how_long_year.setValue(""),this.employmentForm.controls.how_long_month.setValue("")):n==this.generalExistBusinessYear&&+e>this.generalExistBusinessMonth?(this.employmentForm.controls.how_long_year.setValidators([EP.y.max(this.generalExistBusinessYear)]),this.employmentForm.controls.how_long_year.updateValueAndValidity(),this.employmentForm.controls.how_long_month.setValidators([EP.y.max(this.generalExistBusinessMonth)]),this.employmentForm.controls.how_long_month.updateValueAndValidity()):(this.employmentForm.controls.how_long_year.setValue(+n+ +Math.floor(u)),this.employmentForm.controls.how_long_month.setValue(Math.floor(e)))},l.prototype.checkWorkingExperiences=function(){this.employmentForm.controls.total_business_experience.setValidators([EP.y.min(+this.employmentForm.controls.how_long_year.value)]),this.employmentForm.controls.total_business_experience.updateValueAndValidity(),this.employmentForm.controls.total_business_experience.valid||this.expFocus.nativeElement.focus(),this.workExperienceFlag=+this.employmentForm.controls.total_business_experience.value>+this.employmentForm.controls.how_long_year.value,this.workExperienceFlag||(this.employmentForm.controls.total_business_previous_experience.setValue(""),this.employmentForm.controls.total_business_previous_experience.updateValueAndValidity())},l.prototype.inWords=function(l,n){switch(n){case 1:this.mthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 2:this.grossMthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 3:this.netMthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 4:this.bonusIncentiveAmtInWords=this.constant.convertNumberToWords(l);break;case 5:this.bankAmtInWords=this.constant.convertNumberToWords(l);break;case 6:this.cashAmtInWords=this.constant.convertNumberToWords(l)}},l.prototype.getEmploymentDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;console.log("emp",e),l.employmentForm.controls.employer_name.setValue(e.employer_name),l.employmentForm.controls.employer_in_brief.setValue(e.employer_in_brief),l.employmentForm.controls.how_long_year.setValue(e.how_long_year),l.employmentForm.controls.how_long_month.setValue(e.how_long_month),l.employmentForm.controls.was_met.setValue(e.was_met),l.employmentForm.controls.total_business_experience.setValue(e.total_business_experience),l.employmentForm.controls.total_business_previous_experience.setValue(e.total_business_previous_experience),e.name_person_met&&l.employmentForm.controls.name_person_met.setValue(e.name_person_met),e.designation_person_met&&l.employmentForm.controls.designation_person_met.setValue(e.designation_person_met),l.employmentForm.controls.confirm_salary.setValue(e.confirm_salary),console.log("Emp.confirm_salary_amount",e.confirm_salary_amount,e.confirm_salary),e.confirm_salary&&(l.employmentForm.controls.confirm_salary_amount.setValue(e.confirm_salary_amount),l.inWords(e.confirm_salary_amount,1)),l.employmentForm.controls.attendance_seen.setValue(e.attendance_seen),l.employmentForm.controls.sal_reg_seen.setValue(e.sal_reg_seen),l.employmentForm.controls.from_date_the_salary_is_rcv.setValue(e.from_date_the_salary_is_rcv),l.employmentForm.controls.to_date_the_salary_is_rcv.setValue(e.to_date_the_salary_is_rcv),l.employmentForm.controls.gross_monthly_salary.setValue(e.gross_monthly_salary),l.employmentForm.controls.net_monthly_salary.setValue(e.net_monthly_salary),l.employmentForm.controls.amount_paid_in_cash.setValue(e.amount_paid_in_cash),l.employmentForm.controls.amount_paid_through_bank.setValue(e.amount_paid_through_bank),l.employmentForm.controls.check_validated.setValue(e.check_validated),l.employmentForm.controls.how_was_it_validated.setValue(e.how_was_it_validated),l.employmentForm.controls.why_was_it_not_validated.setValue(e.why_was_it_not_validated),l.employmentForm.controls.bonus_incentive.setValue(e.bonus_incentive),l.employmentForm.controls.bonus_frequency.setValue(e.bonus_frequency),l.employmentForm.controls.bonus_type.setValue(e.bonus_type),l.employmentForm.controls.bonus_type_other.setValue(e.bonus_type_other),l.employmentForm.controls.any_delays.setValue(e.any_delays),l.employmentForm.controls.employment_remarks.setValue(e.employment_remarks),l.inWords(e.gross_monthly_salary,2),l.inWords(e.net_monthly_salary,3),l.inWords(e.bonus_incentive,4),l.inWords(e.amount_paid_in_cash,6),l.inWords(e.amount_paid_through_bank,5),""!=e.total_business_experience&&l.checkWorkingExperiences()}})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},gD([Object(fP.Z)("workExp"),bD("design:type",fP.p)],l.prototype,"expFocus",void 0),gD([Object(fP.Z)("cashPaidFocus"),bD("design:type",fP.p)],l.prototype,"inputCashPaidFocus",void 0),gD([Object(fP.Z)("yearFocus"),bD("design:type",fP.p)],l.prototype,"inputYearFocus",void 0),l=gD([Object(fP.k)({selector:"page-pd-question-emp-info",templateUrl:"pd-question-emp-info.html"}),bD("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,TP,JP,rD])],l)}(),yD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},CD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},wD=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.toast=t,this.aws=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.placeholderName=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.dataFromAssets=[],this.labelArr=[],this.investmentTypeData=[],this.tentureErrorFlag=!1,this.others_loanAccess=!1,this._onDestroy=new wP.Subject,this.imageBucket=[],this.tab="0",this.imageDisplay=[],this.complete_status=!1,this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details.filter(function(l){return 0!=l.pd_co_applicant_id}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.getdropdown(),this.users=this.aws.getlocale(),this.currentLoans=this.fb.group({existing_loan:[null],currentloan_remarks:[null],loan_details:this.fb.array([])}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionCurrentLoansPage"),console.log("{{FormId.form_name}}",this.FormId.form_name,this.FormId),this.getcurrentLoans(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.currentLoans.dirty),this.currentLoans.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.lenderData=n.records.filter(function(l){return 1==l.isactive}),l.lenderDataValue=l.lenderData.slice()}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){l.frequencyData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("EXISTINGLOANTYPES").subscribe(function(n){l.loanTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n})),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){l.investmentTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.addressTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){l.propertyTypeData=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.exitsCheck=function(l){"Yes"==l&&this.addLoanDetails()},l.prototype.createLoanDetail=function(l){return this.fb.group({label:null==l?[""]:[l.label],loan_amount:null==l?[""]:[l.loan_amount],frequency:null==l?[""]:[l.frequency],other_frequency:null==l?[""]:[l.other_frequency],emi:null==l?[""]:[l.emi],loan_type:null==l?[""]:[l.loan_type],others_loan_type:null==l?[""]:[l.others_loan_type],loan_taken_by:null==l?[""]:[l.loan_taken_by],others_loan_taken:null==l?[""]:[l.others_loan_taken],lender:null==l?[""]:[l.lender],bankSearch:[""],others_lender:null==l?[""]:[l.others_lender],original_tenure:null==l?[""]:[l.original_tenure],current_balance_tenure:null==l?[""]:[l.current_balance_tenure],elapsed_tenure:null==l?[""]:[l.elapsed_tenure]})},l.prototype.addLoanDetails=function(){this.currentLoans.controls.loan_details.push(this.createLoanDetail(null))},l.prototype.deleteLoanDetails=function(l){var n=this.currentLoans.controls.loan_details;1==n.length?this.currentLoans.controls.loan_details.reset():n.removeAt(l)},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){console.log(l);var n;0!=l.length&&null!=l?(n=(n=l.filter(function(l){return 0==l.id})).length>0,console.log(n),this.others_loanAccess=n):this.others_loanAccess=!1},l.prototype.checkTenure=function(l){l.controls.current_balance_tenure.setValidators([EP.y.required,EP.y.max(+l.value.original_tenure)]),l.controls.current_balance_tenure.updateValueAndValidity()},l.prototype.calculateTenure=function(l,n){switch(n){case 1:console.log(l),null!=l.value.original_tenure&&""!=l.value.original_tenure&&null!=l.value.current_balance_tenure&&""!=l.value.current_balance_tenure?(console.log("not null"),0==l.value.current_balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_tenure),l.value.current_balance_tenure<=l.value.original_tenure?(console.log("validate"),this.tentureErrorFlag=!1,l.controls.elapsed_tenure.setValue(l.value.original_tenure-l.value.current_balance_tenure)):(this.tentureErrorFlag=!0,this.TenureFocus.nativeElement.focus())):this.tentureErrorFlag=!1;break;case 2:var e=void 0;console.log("case 2",l),null!=l.value.original_tenure&&""!=l.value.original_tenure&&null!=l.value.elapsed_tenure&&""!=l.value.elapsed_tenure?(0==l.value.elapsed_tenure&&l.controls.current_balance_tenure.setValue(l.value.original_tenure),l.value.elapsed_tenure<=l.value.original_tenure?(this.tentureErrorFlag=!1,e=l.value.original_tenure-l.value.elapsed_tenure,console.log("ba",e),l.controls.current_balance_tenure.setValue(e)):this.tentureErrorFlag=!0):this.tentureErrorFlag=!1}},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.constant.convertNumberToWords(l.target.value);break;case 2:this.emiAmtInwords[n]=this.constant.convertNumberToWords(l.target.value)}},l.prototype.selectedfrequency=function(l,n){switch(+l){case 1:this.placeholderName[n]="Instalment Amount";break;case 2:this.placeholderName[n]="Annual Instalment Amount";break;case 3:this.placeholderName[n]="Halfyearly Instalment Amount";break;case 4:this.placeholderName[n]="Fortnightly Instalment Amount";break;case 5:this.placeholderName[n]="Daily Instalment Amount";break;case 6:this.placeholderName[n]="Quarterly Instalment Amount";break;case 7:this.placeholderName[n]="Monthly Instalment Amount";break;default:this.placeholderName[n]="Instalment Amount"}},l.prototype.submitCurrentloan=function(l){var n=this;console.log(l),console.log("true",this.tentureErrorFlag);if(1==this.tentureErrorFlag)return this.toast.pdTriggerappmessage("Original Tenture is Lower"),void this.TenureFocus.nativeElement.focus();var e={};e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.existing_loan=l.existing_loan,e.loan_details=l.loan_details,e.currentloan_remarks=l.currentloan_remarks,e.loan_details.forEach(function(l){delete l.bankSearch}),console.log(" final records when save",e),this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.currentLoans.reset(n.currentLoans.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getcurrentLoans=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=l.currentLoans.controls.loan_details;if(1==n.dataStatus){var u=n.records;if(void 0!==n.records.loan_details&&null!=n.records.loan_details&&""!=n.records.loan_details){u.loan_details.forEach(function(l){l.bankSearch=""});var t=Object.keys(n.records.loan_details).map(function(l){return n.records.loan_details[l]});console.log("resutl",t),l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks);var a=l.currentLoans.controls.loan_details;"No"!=u.existing_loan&&(0==t.length?a.push(l.createLoanDetail(null)):(t.forEach(function(n,e){a.push(l.createLoanDetail(null)),l.selectedfrequency(n.frequency,e),""!=n.loan_amount&&(l.amtInwords[e]=l.constant.convertNumberToWords(n.loan_amount)),""!=n.emi&&(l.emiAmtInwords[e]=l.constant.convertNumberToWords(n.emi))}),l.currentLoans.controls.loan_details.patchValue(t)))}else l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks)}else l.qustCat.getAssetsWithLoanFromBusiness(l.pdid).subscribe(function(n){if(1==n.dataStatus){var u=n.record;if(u.business_address_asset.length>0&&u.business_address_asset.map(function(n){l.dataFromAssets.push({mode:0,mode_name:n.address_label,details:[],owner_name:n.business_name_of_the_owner,other_owner:n.business_name_of_the_other_owner,form_type:"Data From Bussiness Address"})}),u.business_assets.length>0&&u.business_assets.map(function(n){l.dataFromAssets.push({mode:n.business_assets_mode,mode_name:n.business_assets_mode_name,details:n.business_details,owner_name:n.business_name_of_the_owner,other_owner:n.business_name_of_the_other_owner,form_type:"Data From Business Assets"})}),u.other_assests.length>0&&u.other_assests.map(function(n){l.dataFromAssets.push({mode:n.assets_mode,mode_name:n.assets_mode_name,details:n.details,owner_name:n.name_of_the_owner,other_owner:n.other_owner,form_type:"Data From Other Asset"})}),l.dataFromAssets.length>0){var t=[];l.dataFromAssets.forEach(function(n,e){if(0==n.mode){var u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")});t[e]=" : "+u+" - "+n.mode_name}if(1==n.mode){var a;u="Owner Not Mentioned";n.details.forEach(function(l,n){a=l.any_other_assets}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=a?"( "+a+" )":"")}if(2==n.mode){var i,o="Owner Not Mentioned";n.details.forEach(function(e,u){i=e.property_type_name,i=1!=e.property_type?"Data From Business Assets"==n.form_type?l.addressTypeData.filter(function(l){return l.address_type_id==e.property_type})[0].address_type:"Data From Other Asset"==n.form_type?l.propertyTypeData.filter(function(l){return l.id==e.property_type})[0].name:"":e.other_property_type,n.owner_name.length>0&&(o=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}))});t[e]=" : "+o+" - "+n.mode_name+(""!=i?"( "+i+" )":"")}if(3==n.mode){var r;u="Owner Not Mentioned";n.details.forEach(function(l,n){r=l.manufacturer_model_vehicle}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=r?"( "+r+" )":"")}if(4==n.mode){var _;u="Owner Not Mentioned";n.details.forEach(function(l,n){_=l.equipment_manufacturing_description}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=_?"( "+_+" )":"")}if(6==n.mode){u="Owner Not Mentioned";n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")})),t[e]=" : "+u+" - "+n.mode_name}if(7==n.mode){var d;u="Owner Not Mentioned";n.details.forEach(function(n,e){d=1!=n.investments_type?l.investmentTypeData.filter(function(l){return l.id==n.investments_type})[0].name:n.other_investments_type}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=d?"( "+d+" )":"")}});var a=l.currentLoans.controls.loan_details;l.labelArr=t;l.labelArr.length>0&&(l.currentLoans.controls.existing_loan.setValue("Yes"),l.labelArr.forEach(function(n,e){a.push(l.createLoanDetail({label:n,loan_amount:"",frequency:"",other_frequency:"",emi:"",loan_type:"",others_loan_type:"",loan_taken_by:"",others_loan_taken:"",lender:"",others_lender:"",original_tenure:"",current_balance_tenure:"",elapsed_tenure:""}))}))}else e.push(l.createLoanDetail(null))}})})},l.prototype.searchFun=function(l){var n=this;console.log(l);l.controls.bankSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){n.lenderDataValue=n.constant.searchData(n.lenderData,l.controls.bankSearch.value,"bank")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.tapEvent=function(l){console.log("dd",l)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){console.log("res",n),1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):(console.log("Fail"),l.toast.pdTriggerappmessage("Fail"))},function(n){console.log(JSON.stringify(n)),l.toast.pdTriggerappmessage(JSON.stringify(n))})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("others_loan_taken").value;l.get("others_loan_taken").setValue(this.constant.sentenceCase(n))},yD([Object(fP.Z)("balanceTenure"),CD("design:type",fP.p)],l.prototype,"TenureFocus",void 0),l=yD([Object(fP.k)({selector:"page-pd-question-current-loans",templateUrl:"pd-question-current-loans.html"}),CD("design:paramtypes",[hP.s,hP.t,EP.g,GP,lD,NP,TP,JP,rD])],l)}(),FD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},xD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kD=function(){function l(l,n,e,u,t,a,i,o,r,_){var d=this;this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.storagedb=_,this.enduse=[],this.mortageAccess=!1,this.ownerNames=[],this.isOtherPurpose=!1,this.endUserList=[],this.mergeCompanyApplicant=[],this.m_endUseOFTopUpList=[],this.isContribution=!1,this.isOtherSource=!1,this.isPLSource=!1,this.sourceList=[],this._onDestroy=new wP.Subject,this.filteredBanks=new wP.ReplaySubject(1),this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),console.log("pd",this.pdDetails),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type&&3!=l.applicant_type}),this.productAbbr=this.pdDetails.product_abbr,this.subProductName=this.pdDetails.subproduct_name,this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.lender_short_name=this.pdDetails.lender_short_name,this.getDropdown(),this.loanDetailsForm=this.fb.group({loan_amount:[""],loan_tenure:[""],sub_product:[""],end_use:["",EP.y.compose([EP.y.required])],end_use_other:[""],is_transfer:["",EP.y.compose([EP.y.required])],is_there_total_fund:[""],fund_amt:[""],balance_transfer_amount:[""],topup_amount:[""],end_use_topup:[""],other_end_use_topup:[""],lender:[""],filterCtrl:[""],other_bt_lender:[""],own_contribution:["",EP.y.compose([EP.y.required])],source:[""],other_source:[""],emi_level:["",EP.y.compose([EP.y.required])],property_type:["",EP.y.compose([EP.y.required])],property_type_others:[""],owner_name:["",EP.y.compose([EP.y.required])],construction_status:["",EP.y.compose([EP.y.required])],emv_per_customer:["",EP.y.compose([EP.y.required])],loandetails_remarks:["",EP.y.compose([EP.y.required])]}),console.log(this.pdDetails),null!=this.pdDetails.loan_amount&&(this.loanDetailsForm.controls.loan_amount.setValue(this.pdDetails.loan_amount),this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount)),null!=this.pdDetails.fk_subproduct_id&&""!=this.pdDetails.fk_subproduct_id&&(this.loanDetailsForm.controls.sub_product.setValue(this.pdDetails.fk_subproduct_id),this.onChangeSubProduct(this.pdDetails.fk_subproduct_id)),this.mortagetypeAccess="BL"!=this.pdDetails.product_abbr||"PL"!=this.pdDetails.product_abbr||"LL"!=this.pdDetails.product_abbr,"PL"!=this.productAbbr&&"BL"!=this.productAbbr&&"LAP"!=this.productAbbr||(this.isContribution=!0),this.loanDetailsForm.controls.filterCtrl.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){d.filterBank()}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLoansPage"),this.getLoanDetails(),this.getPDImages()},l.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.loanDetailsForm.dirty),this.loanDetailsForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.filterBank=function(){if(this.dbmasters){var l=this.loanDetailsForm.controls.filterCtrl.value;if(!l)return this.dbmasters=this.m_btLenderList,void this.filteredBanks.next(this.dbmasters.slice());l=l.toLowerCase(),this.dbmasters=this.m_btLenderList,this.filteredBanks.next(this.dbmasters.filter(function(n){return n.lender_name.toLowerCase().indexOf(l)>-1}))}},l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive}),l.dbmasters=l.m_btLenderList,l.dbmasters=l.dbmasters.sort(function(l,n){return l.lender_name>n.lender_name?1:l.lender_name0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))}});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}),"LAP"!=this.productAbbr&&this.mergeCompanyApplicant.push({groupName:"OTHERS",groupValues:[{id:0,name:"Not Yet Finalised",group_id:2}]})),this.qustCat.getcommondrop("ENDUSEOFTOPUP").subscribe(function(n){l.m_endUseOFTopUpList=n.records.filter(function(l){return 1==l.is_active})})},l.prototype.selectedBalancesTransferChanges=function(l){"no"==l?(this.loanDetailsForm.controls.source.setValidators([EP.y.required]),this.loanDetailsForm.controls.source.updateValueAndValidity(),this.loanDetailsForm.controls.own_contribution.setValidators([EP.y.required]),this.loanDetailsForm.controls.own_contribution.updateValueAndValidity(),this.loanDetailsForm.controls.other_bt_lender.setValue(""),this.loanDetailsForm.controls.balance_transfer_amount.setValue(""),this.loanDetailsForm.controls.lender.setValue(""),this.loanDetailsForm.controls.topup_amount.setValue(""),this.loanDetailsForm.controls.end_use_topup.setValue(""),this.loanDetailsForm.controls.other_end_use_topup.setValue(""),this.topUpAmtInWords=""):"yes"==l&&(this.loanDetailsForm.controls.source.setValue(""),this.loanDetailsForm.controls.source.clearValidators(),this.loanDetailsForm.controls.source.updateValueAndValidity(),this.loanDetailsForm.controls.own_contribution.setValue(""),this.loanDetailsForm.controls.own_contribution.clearValidators(),this.loanDetailsForm.controls.own_contribution.updateValueAndValidity(),this.isOtherSource=!1,this.loanDetailsForm.controls.other_source.setValue(""))},l.prototype.mortage_type=function(l){console.log("mortage_value",l),console.log("this.m_mortageTypeProperty",this.m_mortageTypeProperty);var n=this.m_mortageTypeProperty.filter(function(n){return n.mortage_property_id==l})[0].property_name.replace(/\s/g,"").toLowerCase();this.mortageAccess="others(pleasespecify)"==n||"others"==n},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.loanCalc=function(){var l,n=this.loanDetailsForm.value.balance_transfer_amount,e=this.loanDetailsForm.value.loan_amount;null!=n&&""!=n&&null!=e&&""!=e&&(e>=n?(this.loanDetailsForm.controls.topup_amount.setValue(l=e-n),this.topUpAmtInWords=this.constant.convertNumberToWords(l)):(this.toast.pdTriggerappmessage("warning !! Balances Transfer Amount is greater than Loan Amount Please check.!"),this.loanDetailsForm.controls.balance_transfer_amount.setValue(""),this.balTxrfAmtInWords="",this.loanDetailsForm.controls.topup_amount.setValue(""),this.topUpAmtInWords=""))},l.prototype.onChangeSubProduct=function(l){var n=this;this.qustCat.getEndUseForLoan(this.pdid,l).subscribe(function(l){n.m_endUseForLoan=l.records.filter(function(l){return 1==l.isactive})})},l.prototype.endUserChange=function(l){var n=this;l.forEach(function(l){var e=n.m_endUseForLoan.filter(function(n){return n.enduse_of_loan_id==l})[0];e=e.enduse_of_loan.substr(0,6).toLowerCase(),n.endUserList.push({end_use:l}),n.isOtherPurpose="others"==e})},l.prototype.ownerNameChange=function(l){var n=this;this.ownerNames=[],l.value.forEach(function(l){n.ownerNames.push({owner_name:l})})},l.prototype.sourceChange=function(l){var n=this;this.isOtherSource=l.some(function(l){return 1==l}),this.isPLSource=l.some(function(l){return 3==l}),this.sourceList=[],l.forEach(function(l){n.sourceList.push({source:l})})},l.prototype.inWords=function(l,n){switch(n){case 1:this.loanAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 2:this.balTxrfAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 3:this.valAsPerAgmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 4:this.ownContributionInWords=this.constant.convertNumberToWords(l.target.value);break;case 5:this.topUpAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 6:this.emiAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 7:this.emvAmtInWords=this.constant.convertNumberToWords(l.target.value);case 8:this.fundAmtInWords=this.constant.convertNumberToWords(l.target.value)}},l.prototype.submitLoanDetails=function(){var l=this,n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,n.loan_amount=this.loanDetailsForm.controls.loan_amount.value,n.loan_tenure=this.loanDetailsForm.controls.loan_tenure.value,n.sub_product=this.loanDetailsForm.controls.sub_product.value,n.is_there_total_fund=this.loanDetailsForm.controls.is_there_total_fund.value,n.fund_amt=this.loanDetailsForm.controls.fund_amt.value;var e=[];if(this.loanDetailsForm.controls.end_use.value.forEach(function(l){e.push({end_use:l})}),n.end_use_group=e,this.isOtherPurpose&&(n.end_use_other=this.loanDetailsForm.controls.end_use_other.value),n.is_transfer=this.loanDetailsForm.controls.is_transfer.value,"yes"==this.loanDetailsForm.controls.is_transfer.value)n.balance_transfer_amount=this.loanDetailsForm.controls.balance_transfer_amount.value;else if("no"==this.loanDetailsForm.controls.is_transfer.value){n.own_contribution=this.loanDetailsForm.controls.own_contribution.value;var u=[];""!=this.loanDetailsForm.controls.source.value&&this.loanDetailsForm.controls.source.value.forEach(function(l){u.push({sources:l})}),n.source_group=u}if(n.topup_amount=this.loanDetailsForm.controls.topup_amount.value,n.topup_amount>0&&(n.end_use_topup=this.loanDetailsForm.controls.end_use_topup.value,1==n.end_use_topup&&(n.other_end_use_topup=this.loanDetailsForm.controls.other_end_use_topup.value)),"yes"==this.loanDetailsForm.controls.is_transfer.value&&(n.lender=this.loanDetailsForm.controls.lender.value),1==this.loanDetailsForm.controls.lender.value&&(n.other_bt_lender=this.loanDetailsForm.controls.other_bt_lender.value),n.other_source=this.isOtherSource?this.loanDetailsForm.controls.other_source.value:"",n.emi_level=this.loanDetailsForm.controls.emi_level.value,1==this.mortageCardAccess){if(n.property_type=this.loanDetailsForm.controls.property_type.value,""!=this.loanDetailsForm.value.property_type_others&&null!=this.loanDetailsForm.value.property_type_others&&(n.property_type_others=this.loanDetailsForm.controls.property_type_others.value),""!=this.loanDetailsForm.controls.owner_name.value){var t=[];this.loanDetailsForm.controls.owner_name.value.forEach(function(l){t.push({owner_name:l})}),n.owner_name_group=t}else n.owner_name_group="";n.construction_status=this.loanDetailsForm.controls.construction_status.value}else n.property_type=null,n.property_type_others=null,n.owner_name_group=null,n.construction_status=null,n.emv_per_customer=null;n.emv_per_customer=this.loanDetailsForm.controls.emv_per_customer.value,n.loandetails_remarks=this.loanDetailsForm.controls.loandetails_remarks.value,this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.loanDetailsForm.reset(l.loanDetailsForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Error")})},l.prototype.getLoanDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;Object.keys(e.end_use_group).map(function(l){return e.end_use_group[l]}).forEach(function(n){l.enduse.push(n.end_use)});var u=[];if(null!=e.owner_name_group){Object.keys(e.owner_name_group).map(function(l){return e.owner_name_group[l]}).forEach(function(n){u.push(n.owner_name),l.ownerNames.push({end_use:n.end_use})})}if(l.loanDetailsForm.controls.loan_amount.setValue(e.loan_amount),l.loanDetailsForm.controls.loan_tenure.setValue(e.loan_tenure),e.loan_amount&&(l.loanAmtInWords=l.constant.convertNumberToWords(e.loan_amount)),l.loanDetailsForm.controls.sub_product.setValue(e.sub_product),l.loanDetailsForm.controls.end_use.setValue(l.enduse),l.loanDetailsForm.controls.is_there_total_fund.setValue(e.is_there_total_fund),l.loanDetailsForm.controls.fund_amt.setValue(e.fund_amt),l.endUserChange(l.enduse),""!=e.end_use_other&&l.loanDetailsForm.controls.end_use_other.setValue(e.end_use_other),l.loanDetailsForm.controls.is_transfer.setValue(e.is_transfer),e.balance_transfer_amount&&(l.loanDetailsForm.controls.balance_transfer_amount.setValue(e.balance_transfer_amount),l.balTxrfAmtInWords=l.constant.convertNumberToWords(e.balance_transfer_amount)),e.topup_amount&&(l.loanDetailsForm.controls.topup_amount.setValue(e.topup_amount),l.topUpAmtInWords=l.constant.convertNumberToWords(e.topup_amount),e.topup_amount>0&&(l.loanDetailsForm.controls.end_use_topup.setValue(e.end_use_topup),1==e.end_use_topup&&l.loanDetailsForm.controls.other_end_use_topup.setValue(e.other_end_use_topup))),e.balance_transfer_amount&&l.loanDetailsForm.controls.balance_transfer_amount.setValue(e.balance_transfer_amount),e.topup_amount&&l.loanDetailsForm.controls.topup_amount.setValue(e.topup_amount),e.lender&&l.loanDetailsForm.controls.lender.setValue(e.lender),e.fund_amt&&(l.fundAmtInWords=l.constant.convertNumberToWords(e.fund_amt)),1==l.isContribution&&"yes"!=e.is_transfer)l.loanDetailsForm.controls.own_contribution.setValue(""),l.loanDetailsForm.controls.other_source.setValue(""),l.loanDetailsForm.controls.source.setValue("");else if(0==l.isContribution&&"yes"!=e.is_transfer){var t=[];Object.keys(e.source_group).map(function(l){return e.source_group[l]}).forEach(function(l){t.push(l.sources)}),l.loanDetailsForm.controls.own_contribution.setValue(e.own_contribution),e.own_contribution&&(l.ownContributionInWords=l.constant.convertNumberToWords(e.own_contribution)),l.loanDetailsForm.controls.source.setValue(t),l.sourceChange(t),e.other_source&&l.loanDetailsForm.controls.other_source.setValue(e.other_source)}e.emi_level&&(l.loanDetailsForm.controls.emi_level.setValue(e.emi_level),l.emiAmtInWords=l.constant.convertNumberToWords(e.emi_level)),l.loanDetailsForm.controls.other_bt_lender.setValue(e.other_bt_lender),l.loanDetailsForm.controls.property_type.setValue(e.property_type),l.propertyType=e.property_type,null!=e.property_type&&""!=e.property_type&&(l.mortage_type(l.propertyType),1==l.mortageCardAccess&&l.loanDetailsForm.controls.property_type_others.setValue(e.property_type_others)),l.loanDetailsForm.controls.owner_name.setValue(u),l.loanDetailsForm.controls.construction_status.setValue(e.construction_status),l.loanDetailsForm.controls.emv_per_customer.setValue(e.emv_per_customer),e.emv_per_customer&&(l.emvAmtInWords=l.constant.convertNumberToWords(e.emv_per_customer)),l.loanDetailsForm.controls.loandetails_remarks.setValue(e.loandetails_remarks)}else"CLIX"==l.lender_short_name&&(l.loanDetailsForm.controls.is_transfer.setValue("no"),l.selectedBalancesTransferChanges("no"))}),"BL"==this.productAbbr||"PL"==this.productAbbr||"LL"==this.productAbbr||"LAEP"==this.productAbbr?(this.mortageCardAccess=!1,this.loanDetailsForm.controls.owner_name.setValue(""),this.loanDetailsForm.controls.owner_name.clearValidators(),this.loanDetailsForm.controls.owner_name.updateValueAndValidity()):(this.mortageCardAccess=!0,this.loanDetailsForm.controls.owner_name.setValidators([EP.y.required]),this.loanDetailsForm.controls.owner_name.updateValueAndValidity())},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.localInsert=function(l){var n=this,e=this.loanDetailsForm.value;e.pd_id=this.pdDetails.pd_id,e.form_id=this.FormId.form_id,e.active=l,this.storagedb.insertData(e).then(function(l){n.toast.setAlert("data",JSON.stringify(l)).present(),console.log(l)})},l=FD([Object(fP.k)({selector:"page-pd-question-loans",templateUrl:"pd-question-loans.html"}),xD("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,TP,JP,rD,cD])],l)}(),SD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ID=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},qD=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.cameraProvider=o,this.loading=r,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.limitCaseFlag=[],this.amtInwords=[],this._onDestroy=new wP.Subject,this.m_btLenderListValue=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.users=this.aws.getlocale(),this.bankDetails=this.fb.group({bankitems:this.fb.array([]),banking_form_remark:[null]}),this.salaryField="SE"!=this.pdDetails.customer_segment_abbr.substring(0,2),this.getdropdown(),this.retiveBankDetails(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBankingPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.bankDetails.dirty),this.bankDetails.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Form is Modified","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.checkImage=function(){var l;if(this.imageDisplay.length>0){var n=this.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");n.present(),n.onDidDismiss(function(n){console.log("d",n),l=0!=n})}return l},l.prototype.searchFun=function(l){var n=this;l.controls.filterCtrl.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){n.filterBank(l)})},l.prototype.filterBank=function(l){if(this.m_btLenderListValue){var n=l.controls.filterCtrl.value;n?(n=n.toLowerCase(),this.m_btLenderListValue=this.m_btLenderList.filter(function(l){return l.lender_name.toLowerCase().indexOf(n)>-1})):this.m_btLenderListValue=this.m_btLenderList.slice()}},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("ACCOUNTTYPE").subscribe(function(n){1==n.dataStatus&&(l.accountType=n.records)}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){1==n.dataStatus&&(l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive&&1==l.lender_type}),l.m_btLenderListValue=l.m_btLenderList.slice())}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}))},l.prototype.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.ConvertMonthintoYear=function(l,n){var e=n%12,u=n/12;l.controls.vintage_year.setValue(+l.controls.vintage_year.value+ +Math.floor(u)),l.controls.vintage_month.setValue(Math.floor(e))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.createBankItem=function(l){return this.fb.group({applicant_name:[""],bank_name:[""],filterCtrl:[""],account_type:[""],salary:(this.pdDetails.customer_segment_abbr.substring(0,2),[""]),limit:[""],other_bank:[""],other_applicant:[""],vintage_year:[""],vintage_month:[""]})},l.prototype.addBankDetails=function(){this.bankitems=this.bankDetails.get("bankitems"),this.bankitems.push(this.createBankItem(""))},l.prototype.addmoreBankDetils=function(){this.bankitems=this.bankDetails.get("bankitems"),this.bankitems.push(this.createBankItem(""))},l.prototype.removebank=function(l){1==this.bankitems.length?this.bankitems.reset():this.bankitems.removeAt(l)},l.prototype.savepdBank=function(l){var n=this;l.bankitems.forEach(function(l){delete l.filterCtrl});var e={};e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.banking_details=l.bankitems,e.banking_form_remark=l.banking_form_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.bankDetails.reset(n.bankDetails.value),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.retiveBankDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=Object.keys(n.records.banking_details).map(function(l){return n.records.banking_details[l]});l.bankDetails.controls.banking_form_remark.setValue(n.records.banking_form_remark),l.bankitems=l.bankDetails.get("bankitems"),0==e.length?l.bankitems.push(l.createBankItem("")):(e.forEach(function(n,e){n.filterCtrl="",l.selectedAccTypeChanges(+n.account_type,e),""!=n.limit&&(l.amtInwords[e]=l.cons.convertNumberToWords(+n.limit)),l.bankitems.push(l.createBankItem(""))}),l.bankDetails.controls.bankitems.setValue(e))}else l.addBankDetails()})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.cons.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("other_applicant").value;l.get("other_applicant").setValue(this.cons.sentenceCase(n))},l=SD([Object(fP.k)({selector:"page-pd-question-banking",templateUrl:"pd-question-banking.html"}),ID("design:paramtypes",[hP.s,hP.t,EP.g,NP,GP,lD,TP,JP,rD])],l)}(),PD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},DD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},TD=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.cons=i,this.cameraProvider=o,this.loading=r,this.earningStatus=[{type:"Earning",id:1},{type:"Non Earning",id:2}],this.cityData=[],this.pincodeData=[],this.FamilyMemberAsLabel=[],this.selectPerson=[],this.apiFamilyMembers=[],this.RentAmount=[],this.IncomePerMonth=[],this.cityDataValue=[],this.stateDataValue=[],this._onDestroy=new wP.Subject,this.pincodeDataValue=[],this.relationDataValue=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.titleList=[],this.complete_status=!1,this.prevFamilyMembersCtrlLength=0,this.currFamilyMembersCtrlLength=0,this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.selected_person=this.pdDetails.pdapplicants_details,this.selectPerson=this.pdDetails.applicat_details,this.users=this.aws.getlocale(),this.familyForm=this.fb.group({family_details:this.fb.array([]),family_details_form_remark:[""]}),this.getRelation(),this.getoccupation(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFamilyPage"),this.getFamilyData(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.familyForm.dirty),this.familyForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.initFamilyDetails=function(l){var n=this;if(null===l){var e=this.fb.group({selected_person:["",EP.y.compose([EP.y.required])],residence_place:[""],residence_city:[""],citySearch:[""],residence_state:[""],stateSearch:[""],pinSearch:[""],residence_pin:[""],residence_other_pincode:[""],residence_No_of_years:[""],residence_ownership:[""],ownershipOther:[""],rent:[""],total_number_of_family_members:["",EP.y.compose([EP.y.min(1),EP.y.max(20)])],family_members_details:this.fb.array([])});this.familyForm.controls.family_details.push(e)}else l.forEach(function(l,e){null!=l.rent&&n.inWords(l.rent,e,2),n.FamilyMemberAsLabel[e]=n.selectPerson.filter(function(n){return n.pd_co_applicant_id==l.selected_person})[0].applicant_name,n.getCity(l.residence_state,e);var u=n.fb.group({selected_person:[l.selected_person,EP.y.compose([EP.y.required])],residence_place:[l.residence_place],residence_city:[l.residence_city],citySearch:[""],residence_state:[l.residence_state],stateSearch:[""],pinSearch:[""],residence_pin:[l.residence_pin],residence_other_pincode:[l.residence_other_pincode],residence_No_of_years:[l.residence_No_of_years],residence_ownership:[l.residence_ownership],rent:[l.rent||null],ownershipOther:[l.ownershipOther||null],total_number_of_family_members:[l.total_number_of_family_members,EP.y.compose([EP.y.min(1),EP.y.max(20)])],family_members_details:n.fb.array([])}),t=n.familyForm.controls.family_details;t.push(u);n.initFamilyMembersDetails(t.length-1,l.family_members_details)})},l.prototype.initFamilyMembersDetails=function(l,n){var e=this,u=this.familyForm.controls.family_details.controls[l].controls.family_members_details;n.forEach(function(l,n){null!=l.earning_gross_income_per_month&&e.inWords(l.earning_gross_income_per_month,n,1);var t=e.fb.group({family_member_salutation:[l.family_member_salutation||null],family_member_name:[l.family_member_name||null],family_member_relationship:[l.family_member_relationship||null],relationSearch:[""],family_member_age:[l.family_member_age||null],family_member_earning_status:[l.family_member_earning_status||null],earning_segment:[l.earning_segment||null],earning_if_others_segment:[l.earning_if_others_segment||null],earning_gross_income_per_month:[l.earning_gross_income_per_month||null],earning_name_of_the_employer_or_business:[l.earning_name_of_the_employer_or_business||null],earning_number_of_years_in_employment_or_business:[l.earning_number_of_years_in_employment_or_business||null],non_earning_occupation:[l.non_earning_occupation||null],non_earning_if_others:[l.non_earning_if_others||null],non_earning_if_schoolorcollege:[l.non_earning_if_schoolorcollege||null],non_earning_if_retired_from:[l.non_earning_if_retired_from||null]});u.push(t)})},l.prototype.add=function(){this.initFamilyDetails(null),this.toast.pdTriggerappmessage("Family Details Added")},l.prototype.remove_family_details=function(l){this.familyForm.controls.family_details.removeAt(l)},l.prototype.addMemberDet=function(l){this.familyForm.controls.family_details.controls[l].controls.family_members_details.push(this.generateFamilyMembersDetailsGet())},l.prototype.removeMemberDet=function(l,n){var e=this.familyForm.controls.family_details.controls[n].controls.family_members_details;e.length>1?e.removeAt(l):e.reset()},l.prototype.getNumberOfFamilyMemberDetails=function(l){var n=this.familyForm.controls.family_details.controls[l].controls;if(n.total_number_of_family_members.valid){var e=n.total_number_of_family_members.value;if(e>=(a=this.familyForm.controls.family_details.controls[l].controls.family_members_details).length)for(var u=e-a.length,t=0;t=e;t--)a.removeAt(t)}else{var a;(a=this.familyForm.controls.family_details.controls[l].controls.family_members_details).removeAt(a.length),a.controls=[]}},l.prototype.generateFamilyMembersDetailsGet=function(){return this.fb.group({family_member_salutation:[""],family_member_name:[""],family_member_relationship:[""],relationSearch:[""],family_member_age:[""],family_member_earning_status:[""],earning_segment:[""],earning_if_others_segment:[""],earning_gross_income_per_month:[""],earning_name_of_the_employer_or_business:[""],earning_number_of_years_in_employment_or_business:[""],non_earning_occupation:[""],non_earning_if_others:[""],non_earning_if_schoolorcollege:[""],non_earning_if_retired_from:[""]})},l.prototype.getRelation=function(){var l=this;this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.relationData=n.records.filter(function(l){return 1==l.isactive}),l.relationDataValue=l.relationData.slice())}),this.qustCat.getcommondrop("PERSONSMET").subscribe(function(n){1==n.dataStatus&&(l.filteredStates=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("EARNINGMEMBERSSTATUS").subscribe(function(n){1==n.dataStatus&&(l.cusSeg=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RESIDENCEOWNERSHIP").subscribe(function(n){1==n.dataStatus&&(l.ownerShip=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("STATE").subscribe(function(n){1==n.dataStatus&&(l.stateData=n.records.filter(function(l){return 1==l.isactive}),l.stateDataValue=l.stateData.slice())}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){1==n.dataStatus&&(l.titleList=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.getCity=function(l,n){var e=this;this.qustCat.getStateWiseCities(l).subscribe(function(l){1==l.dataStatus&&(e.cityData[n]=l.records.cities,e.cityDataValue[n]=e.cityData[n].slice(),e.pincodeData[n]=l.records.pincode,e.pincodeDataValue[n]=e.pincodeData[n].slice())})},l.prototype.getoccupation=function(){var l=this;this.qustCat.getcommondrop("OCCUPATIONMEMBERS").subscribe(function(n){1==n.dataStatus&&(l.occupationData=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.setValidation=function(l){console.log(l),1==l.controls.family_member_earning_status.value&&(l.controls.non_earning_occupation.clearValidators(),l.controls.non_earning_occupation.updateValueAndValidity()),2==l.controls.family_member_earning_status.value&&(l.controls.non_earning_occupation.setValidators(EP.y.compose([EP.y.required])),l.controls.non_earning_occupation.updateValueAndValidity())},l.prototype.savepdfamily=function(l){var n=this;if(this.familyForm.valid){var e={};e=this.familyForm.value,Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.family_details.forEach(function(l){console.log("par",l),delete l.stateSearch,delete l.citySearch,delete l.pinSearch,l.family_members_details.forEach(function(n){console.log("childval",l),delete n.relationSearch})}),this.qustCat.saveForm(e).subscribe(function(l){n.familyForm.reset(n.familyForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){n.navCtrl.pop()},2e3)},function(l){n.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It")})}else this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields")},l.prototype.selectedPerson=function(l,n){var e=this;this.FamilyMemberAsLabel[n]=this.selectPerson.filter(function(n){return n.pd_co_applicant_id==l})[0].applicant_name;var u=this.familyForm.controls.family_details.controls[n].controls.family_members_details;this.currFamilyMembersCtrlLength=u.length;for(var t=0;t0){var a=this.apiFamilyMembers.filter(function(n){return n.relation_to==l});a.length>0?(this.prevFamilyMembersCtrlLength=a.length,console.log("familyMembersControlLength",this.prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength),a.forEach(function(l,n){u.push(e.initgenerateFamilyMembersDetailsGet({family_member_salutation:"",family_member_name:l.name,family_member_relationship:l.relationship,family_member_age:l.age,family_member_earning_status:"BusinessForm"==l.data_gets_from?"1":"",earning_segment:"",earning_gross_income_per_month:"",earning_name_of_the_employer_or_business:"",earning_number_of_years_in_employment_or_business:"",earning_if_others_segment:"",non_earning_occupation:"",non_earning_if_others:"",non_earning_if_retired_from:"",non_earning_if_schoolorcollege:""}))})):(this.prevFamilyMembersCtrlLength=1,console.log("familyMembersControlLength",this.prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength),u.push(this.generateFamilyMembersDetailsGet()))}else u.push(this.generateFamilyMembersDetailsGet())},l.prototype.generateFamilyMembersDetailsGetData=function(l){var n=Object.keys(l).map(function(n){return l[n]});if(n.length>0)for(var e=0,u=n;e0){var u=Object.keys(n.record.from_general_form).map(function(l){return n.record.from_general_form[l]}).map(function(l){return{id:l.pd_co_applicant_id.toString(),name:l.applicant_name,relationship:l.relationship,relation_to:l.relation_to,age:l.age,data_gets_from:"GeneralForm"}});e.push(u)}else console.log("No data in General Form");if(n.record.from_business_form.length>0){u=Object.keys(n.record.from_business_form).map(function(l){return n.record.from_business_form[l]}).map(function(l){return{id:l.other_family_relationship_id,name:l.family_member_name,relationship:l.other_family_relationship_id,relation_to:l.relation_to_id,age:"",data_gets_from:"BusinessForm"}});e.push(u)}else console.log("No data in Business Form");l.apiFamilyMembers=[].concat.apply([],e)}});this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){console.log("Entering Retrieve"),200==n.status?n.records.family_details.length>0&&(n.records.family_details.forEach(function(l){l.stateSearch="",l.citySearch="",l.pinSearch="",l.family_members_details.forEach(function(l){delete l.relationSearch})}),l.familyForm.controls.family_details_form_remark.setValue(n.records.family_details_form_remark),l.resValue=n,l.initFamilyDetails(n.records.family_details)):(console.log("No Data Found"),l.initFamilyDetails(null))},function(l){console.log("Error",l)})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.IncomePerMonth[n]=this.cons.convertNumberToWords(l);break;case 2:this.RentAmount[n]=this.cons.convertNumberToWords(l)}},l.prototype.initSetValue=function(l){for(var n=0,e=l;n-1})):this.pincodeDataValue[n]=this.pincodeData[n].slice()}},l.prototype.SearchCity=function(l,n){if(console.log(this.cityData[n]),this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.cityDataValue[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1}),console.log("City Data value",this.cityDataValue[n])):this.cityDataValue[n]=this.cityData[n].slice()}},l.prototype.searchState=function(l){if(console.log("statedata"),this.stateData){var n=l;n?(n=n.toLowerCase(),this.stateDataValue=this.stateData.filter(function(l){return l.name.toLowerCase().indexOf(n)>-1})):this.stateDataValue=this.stateData.slice()}},l.prototype.searchRelation=function(l){var n=this;console.log("val",l),l.controls.relationSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){n.relationDataValue=n.cons.searchData(n.relationData,l.controls.relationSearch.value,"")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.cons.getGeoTag().then(function(e){console.log("geo location promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("family_member_name").value;l.get("family_member_name").setValue(this.cons.sentenceCase(n))},l=PD([Object(fP.k)({selector:"page-pd-question-family",templateUrl:"pd-question-family.html"}),DD("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,TP,JP,rD])],l)}(),OD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},LD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},AD=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.constprovider=i,this.camera=o,this.alert=r,this.tab="0",this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.m_vehicle_type=[],this.m_uom_type=[],this.FormList=!1,this.loadDetails=!0,this.PremiumPaidInwords=[],this.SumAssuredInwords=[],this.AmtInvestInwords=[],this.ApproxInwords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.isOtherOwner=[],this.currentYear=(new Date).getFullYear(),this.imageBucket=[],this.imageDisplay=[],this.complete_status=!1,this.apiLoadFinish=!1,this.assestInfo="busass",this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.AssetsDetailsForm=this.fb.group({assets_details:this.fb.array([]),assets_form_remark:[""]}),this.getAssetDetails(),this.getdropList(),this.loadDetails=!0,this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssestsPage"),console.log("Form",this.AssetsDetailsForm),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.AssetsDetailsForm.dirty),this.AssetsDetailsForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Form is Modified","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("ASSETTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_assets_type=n.records.filter(function(l){return 1==l.isactive&&5!=l.id}))}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){1==n.dataStatus&&(l.m_propertyType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_investmentType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("INSURANCETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_insuranceType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.m_relation=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("VEHICLETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_vehicle_type=n.records.filter(function(l){return 1==l.is_active}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.m_uom_type=n.records.filter(function(l){return 1==l.isactive&&1==l.is_land_uom||2==l.is_land_uom}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u}))})},l.prototype.createAsset=function(){return this.fb.group({assets_mode:[null],details:this.fb.array([]),approximate_market_value:[null],name_of_the_owner:[""],other_owner:[""],purchase_year:[null,EP.y.compose([EP.y.minLength(4),EP.y.maxLength(4)])],vintage_personal:[""],emi:[null]})},l.prototype.addAsset=function(l){1==l&&(this.assetItem=this.AssetsDetailsForm.get("assets_details"),this.assetItem.push(this.createAsset()))},l.prototype.deleteAsset=function(l,n){1==n&&(this.assetItem=this.AssetsDetailsForm.get("assets_details"),1==this.assetItem.length?this.AssetsDetailsForm.controls.assets_details.reset():this.assetItem.removeAt(l))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.loanCalc=function(l,n){if(1==n){null!=l.value.original_loan_tenure&&""!=l.value.original_loan_tenure&&null!=l.value.balance_tenure&&""!=l.value.balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_loan_tenure-l.value.balance_tenure)}},l.prototype.selectedAssetsType=function(l,n,e){var u=n;if(1==e){this.AssetsDetailsForm.controls.assets_details.at(u).get("details").controls.splice(0)}switch(l.value){case"1":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.otherAssetsDescription());break;case"2":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadProperty());break;case"3":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.load_Four_Weeler());break;case"4":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadEquipmentManufacturingDescription());break;case"5":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadConsumerDurableDescription());break;case"6":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadInsuranceDescription());break;case"7":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadInvestDescription());break;case"8":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.otherAssetsDescription())}},l.prototype.loadProperty=function(){return this.fb.group({property_type:[""],other_property_type:[""],address_of_the_property:[""],describe_of_the_property_asset:[""],area_covered_by_this_property:[""],uom_of_the_property:[""],other_uom:[""]})},l.prototype.loadConsumerDurableDescription=function(){return this.fb.group({consumer_durable_description:[null]})},l.prototype.loadEquipmentManufacturingDescription=function(){return this.fb.group({equipment_manufacturing_description:[""]})},l.prototype.otherAssetsDescription=function(){return this.fb.group({any_other_assets:[""]})},l.prototype.loadInsuranceDescription=function(){return this.fb.group({premium_paid:[null],frequency_mode:[null],other_frequency_mode:[null],sum_assured:[null],members_coverd:[null]})},l.prototype.loadInvestDescription=function(){return this.fb.group({investments_type:[""],other_investments_type:[""],in_which_organisation:[""],amount_of_invest:[""],bank_name:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""],vehicle_type:[""],other_vehicle_type:[""]})},l.prototype.load_Two_Weeler=function(){return this.fb.group({manufacturer_model_two_weeler:[""]})},l.prototype.loadPropertyWithData=function(l){return this.fb.group({property_type:[l.property_type],other_property_type:[l.other_property_type],address_of_the_property:[l.address_of_the_property],describe_of_the_property_asset:[l.describe_of_the_property_asset],area_covered_by_this_property:[l.area_covered_by_this_property],uom_of_the_property:[l.uom_of_the_property],other_uom:[l.other_uom]})},l.prototype.loadJwellDescriptionWithData=function(l){return this.fb.group({})},l.prototype.loadConsumerDurableDescriptionWithData=function(l){return this.fb.group({consumer_durable_description:[l.consumer_durable_description]})},l.prototype.otherAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets]})},l.prototype.loadInsuranceDescriptionWithData=function(l){return this.fb.group({premium_paid:[l.premium_paid],frequency_mode:[l.frequency_mode],other_frequency_mode:[l.other_frequency_mode],sum_assured:[l.sum_assured],members_coverd:[l.members_coverd]})},l.prototype.loadInvestDescriptionWithData=function(l){return this.fb.group({investments_type:[l.investments_type],other_investments_type:[l.other_investments_type],in_which_organisation:[l.in_which_organisation],amount_of_invest:[l.amount_of_invest],bank_name:[l.bank_name]})},l.prototype.load_Four_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle],vehicle_type:[l.vehicle_type],other_vehicle_type:[l.other_vehicle_type]})},l.prototype.loadEquipmentManufacturingDescriptionWithData=function(l){return this.fb.group({equipment_manufacturing_description:[l.equipment_manufacturing_description]})},l.prototype.load_Two_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle]})},l.prototype.initDetailsWithdata=function(l){return this.fb.group({assets_mode:[l.assets_mode],details:this.fb.array([]),approximate_market_value:[l.approximate_market_value],name_of_the_owner:[l.name_of_the_owner],other_owner:[l.other_owner||""],vintage_personal:[l.vintage_personal],purchase_year:[l.purchase_year,EP.y.compose([EP.y.minLength(4),EP.y.maxLength(4)])],emi:[l.emi||0]})},l.prototype.saveAssetDetails=function(l){var n=this;this.AssetsDetailsForm.dirty?(Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),l.parent_pdid=this.pdDetails.parent_pd_id,l.pdid=this.pdDetails.pd_id,l.formid=this.FormId.form_id,l.fk_createdby=this.users,this.qustCat.saveForm(l).subscribe(function(l){1==l.dataStatus&&(n.AssetsDetailsForm.reset(n.AssetsDetailsForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})):this.toast.pdTriggerappmessage("Modified "+this.AssetsDetailsForm.dirty)},l.prototype.getAssetDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=Object.keys(n.records.assets_details).map(function(l){return n.records.assets_details[l]});l.AssetsDetailsForm.controls.assets_form_remark.setValue(n.records.assets_form_remark),e.length>0&&e.forEach(function(n,e){var u={assets_mode:n.assets_mode,approximate_market_value:n.approximate_market_value,name_of_the_owner:n.name_of_the_owner,other_owner:n.other_owner,purchase_year:n.purchase_year,vintage_personal:n.vintage_personal,emi:n.emi},t=1;n.name_of_the_owner.length>0&&n.name_of_the_owner.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),l.isOtherOwner[e]=0==t;var a=l.AssetsDetailsForm.controls.assets_details;a.push(l.initDetailsWithdata(u)),l.inWords(+n.approximate_market_value,e,4),l.setAssetsDetailsWithData(u.assets_mode,n.details,a.length-1)}),l.apiLoadFinish=!0}else l.apiLoadFinish=!0,l.addAsset(1)})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.setAssetsDetailsWithData=function(l,n,e){var u=this,t=e,a=n;switch(this.AssetsDetailsForm.controls.assets_details.at(t).get("details").controls.splice(0),l){case"1":var i;a.forEach(function(l,n){i={any_other_assets:l.any_other_assets}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.otherAssetsDescriptionWithData(i));break;case"2":var o;a.forEach(function(l,n){o={property_type:l.property_type,other_property_type:l.other_property_type,address_of_the_property:l.address_of_the_property,describe_of_the_property_asset:l.describe_of_the_property_asset,uom_of_the_property:l.uom_of_the_property,area_covered_by_this_property:l.area_covered_by_this_property,other_uom:l.other_uom}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadPropertyWithData(o));break;case"3":var r;a.forEach(function(l,n){r={manufacturer_model_vehicle:l.manufacturer_model_vehicle,vehicle_type:l.vehicle_type,other_vehicle_type:l.other_vehicle_type}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.load_Four_WeelerWithData(r));break;case"4":var _;a.forEach(function(l,n){_={equipment_manufacturing_description:l.equipment_manufacturing_description}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadEquipmentManufacturingDescriptionWithData(_));break;case"5":this.FormList=!0;this.AssetsDetailsForm.controls.assets_details.at(t).get("details");break;case"6":var d;a.forEach(function(l,n){d={premium_paid:l.premium_paid,frequency_mode:l.frequency_mode,other_frequency_mode:l.other_frequency_mode,sum_assured:l.sum_assured,members_coverd:l.members_coverd},u.inWords(+l.premium_paid,n,1),u.inWords(+l.sum_assured,n,2)});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadInsuranceDescriptionWithData(d));break;case"7":var s;a.forEach(function(l,n){u.inWords(+l.amount_of_invest,n,3),s={investments_type:l.investments_type,other_investments_type:l.other_investments_type,in_which_organisation:l.in_which_organisation,amount_of_invest:l.amount_of_invest,bank_name:l.bank_name}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadInvestDescriptionWithData(s))}},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9\-\.\ ]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.PremiumPaidInwords[n]=this.constprovider.convertNumberToWords(l);break;case 2:this.SumAssuredInwords[n]=this.constprovider.convertNumberToWords(l);break;case 3:this.AmtInvestInwords[n]=this.constprovider.convertNumberToWords(l);break;case 4:this.ApproxInwords[n]=this.constprovider.convertNumberToWords(l)}},l.prototype.calculateVintagePurchase=function(l,n,e){if(1==e);else if(2==e);else if(3==e){(u=this.AssetsDetailsForm.controls.assets_details).controls[n].controls.purchase_year.setValue(""!=l?parseInt(this.currentYear)-parseInt(l):"")}else if(4==e){var u;(u=this.AssetsDetailsForm.controls.assets_details).controls[n].controls.purchase_year.setValue(""!=l&&l<=this.currentYear?l:""),u.controls[n].controls.vintage_personal.setValue(""!=l&&l<=this.currentYear?parseInt(this.currentYear)-parseInt(l):"")}},l.prototype.setRequiredValidation=function(l,n,e,u){var t=this.AssetsDetailsForm.controls.assets_details.controls[n];if(4==u){var a=1;l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(a=l.id)}),0==a?this.isOtherOwner[n]=!0:1==a&&(t.controls.other_owner.setValue(""),this.isOtherOwner[n]=!1)}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.savePhoto=function(){var l=this,n=this.imageBucket.length+1+(this.imageDisplay.length+1);console.log("num of images",n),n<=10?(this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:600,correctOrientation:!0}).then(function(n){l.constprovider.getGeoTag().then(function(e){console.log("geo promise",e),l.base64="data:image/png;base64,"+n,l.imageBucket.push({image:l.base64,Name:"",link:e}),l.getImageName(l.imageBucket.length-1)})},function(l){}),this.tab="1"):this.toast.pdTriggerappmessage("You are reached the image Limit. To Capture new one Delete the Previous image")},l.prototype.getImageName=function(l){var n=this;console.log("index",l);var e=this.alert.create({title:"Document Name",message:"Please Enter the Document Name",cssClass:"prompt_alert",inputs:[{name:"Name",placeholder:"Document Name"}],buttons:[{text:"Submit",handler:function(e){console.log(e.Name),n.imageBucket[l].Name=e.Name}}]});e.present()},l.prototype.sendImage=function(){var l=this;console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("other_owner").value;l.get("other_owner").setValue(this.constprovider.sentenceCase(n))},OD([Object(fP.Z)("focusName"),LD("design:type",Object)],l.prototype,"inputFocus",void 0),OD([Object(fP.Z)("picContent"),LD("design:type",hP.e)],l.prototype,"content",void 0),l=OD([Object(fP.k)({selector:"page-pd-question-assests",templateUrl:"pd-question-assests.html"}),LD("design:paramtypes",[hP.s,hP.t,EP.g,NP,GP,lD,TP,zP.a,hP.a])],l)}(),VD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ND=function(){function l(){}return l.prototype.transform=function(l){if(!isNaN(l)&&l){var n=l.toString().split("."),e=n[0].substring(n[0].length-3),u=n[0].substring(0,n[0].length-3);""!=u&&(e=","+e);var t=u.replace(/\B(?=(\d{2})+(?!\d))/g,",")+e;return n.length>1&&(t+="."+n[1]),"₹"+t}},l=VD([Object(fP.M)({name:"rupeeCurrencyFormat"})],l)}(),WD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ED=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},jD=function(){function l(l,n,e,u,t,a,i,o,r,_){var d=this;if(this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.constprovider=i,this.alertCtrl=o,this.loading=r,this.cameraProvider=_,this.pipe=new mD.e("en-US"),this.existCompanyList=[],this.mergeCompanyApplicant=[],this.personType=[{id:2,name:"Tenant / Lessee"},{id:3,name:"Owner of the Rented Property"},{id:4,name:"Property Caretaker"},{id:1,name:"Others (Please Specify)"}],this.relationShipList=[],this.relationToList=[],this.paymentOptions=[{id:1,name:"Received in Cash"},{id:2,name:"Received through Banking Channel"},{id:3,name:"Combination of Cash & Bank"}],this.paymentPaidOptions=[{id:1,name:"Paid in Cash"},{id:2,name:"Paid through Banking Channel"},{id:3,name:"Combination of Cash & Bank"}],this.propertyNature=[{id:2,name:"Residential Property"},{id:3,name:"Commercial Property"},{id:4,name:"Industrial Property"},{id:1,name:"Others (Please Specify)"}],this.unitTypeList=[],this.stateData=[],this.cityData=[],this.pincodeData=[],this.stateList=[],this.cityList=[],this.pincodeList=[],this.documentList=[{id:2,name:"Property Title Document"},{id:3,name:"Electricity Bill with name of owner mentioned therein"},{id:4,name:"Property tax Receipts"},{id:1,name:"Others (Please Specify)"}],this.unitMeasurementList=[],this.rent_per_unit_Inwords=[],this.amount_Inwords=[],this.floor_rent_amount_Inwords=[],this.monthly_rent_amount_Inwords=[],this.amount_received_cash_Inwords=[],this.amount_received_bank_Inwords=[],this.securtity_deposit_amount_Inwords=[],this.agreement_monthly_rent_amount_Inwords=[],this.agreement_security_deposit_amount_Inwords=[],this.paid_monthly_rent_per_met_Inwords=[],this.amount_received_cash_per_met_Inwords=[],this.amount_received_bank_per_met_Inwords=[],this._onDestroy=new wP.Subject,this.imageBucket=[],this.tab="0",this.imageDisplay=[],this.complete_status=!1,this.data=this.navParams.get("values"),console.log("From Dashboard of Rental - values are ",this.data),this.pageTitle=1==this.data.manage_status?"Add RI Details":"Update RI Details",this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.getdropList(),this.rentalForms=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,address_property:["",EP.y.required],state:["",EP.y.required],stateSearch:[""],city:["",EP.y.required],citySearch:[""],pincode:["",EP.y.required],pincodeSearch:[""],validate_visited_address:[!0],person_met:["",EP.y.required],property_owner:["",EP.y.required],property_ownership_proof_documents:["",EP.y.required],nature_property:["",EP.y.required],unit_type:["",EP.y.required],no_units:[""],multistoried_building_details:this.fb.array([]),property_unit_details:this.fb.array([]),done_third_party_check:["",EP.y.required],rental_remark:[""]}),this.rentalForms.controls.person_met.valueChanges.subscribe(function(l){if(l&&l.length>0){var n=l.filter(function(l){return 0==l.id});n.length>0?d.rentalForms.addControl("other_person_met",new EP.h("",EP.y.required)):d.rentalForms.removeControl("other_person_met"),n.length>0?d.rentalForms.addControl("other_name_person_showing_property",new EP.h("",EP.y.required)):d.rentalForms.removeControl("other_name_person_showing_property"),!(n.length>0)&&d.rentalForms.removeControl("other_name_person_type")}else d.rentalForms.removeControl("other_person_met"),d.rentalForms.removeControl("other_name_person_showing_property"),d.rentalForms.removeControl("other_name_person_type")}),this.rentalForms.controls.property_owner.valueChanges.subscribe(function(l){if(l&&l.length>0){var n=l.filter(function(l){return 0==l.id});n.length>0?d.rentalForms.addControl("property_owner_other",new EP.h("",EP.y.required)):d.rentalForms.removeControl("property_owner_other"),n.length>0?d.rentalForms.addControl("property_owner_other_relationship",new EP.h("",EP.y.required)):d.rentalForms.removeControl("property_owner_other_relationship"),n.length>0?d.rentalForms.addControl("property_owner_other_relation_to",new EP.h("",EP.y.required)):d.rentalForms.removeControl("property_owner_other_relation_to")}else d.rentalForms.removeControl("property_owner_other"),d.rentalForms.removeControl("property_owner_other_relationship"),d.rentalForms.removeControl("other_name_person_type"),d.rentalForms.removeControl("property_owner_other_relation_to")}),this.rentalForms.controls.nature_property.valueChanges.subscribe(function(l){1==l.id?d.rentalForms.addControl("other_nature_property",new EP.h("",EP.y.required)):d.rentalForms.removeControl("other_nature_property")}),this.rentalForms.controls.unit_type.valueChanges.subscribe(function(l){1==l.id?d.rentalForms.addControl("other_unit_type",new EP.h("",EP.y.required)):d.rentalForms.removeControl("other_unit_type"),1==l.group_id&&6==l.id?d.rentalForms.removeControl("no_units"):2==l.group_id&&7==l.id?d.rentalForms.removeControl("no_units"):d.rentalForms.addControl("no_units",new EP.h("")),1==l.group_id&&6==l.id?d.rentalForms.addControl("no_floor",new EP.h("",EP.y.required)):2==l.group_id&&7==l.id?d.rentalForms.addControl("no_floor",new EP.h("",EP.y.required)):d.rentalForms.removeControl("no_floor"),1==l.group_id&&6==l.id?d.rentalForms.addControl("multistoried_total_area",new EP.h("",EP.y.required)):2==l.group_id&&7==l.id?d.rentalForms.addControl("multistoried_total_area",new EP.h("",EP.y.required)):d.rentalForms.removeControl("multistoried_total_area"),1==l.group_id&&6==l.id?d.rentalForms.addControl("multistoried_uom",new EP.h("",EP.y.required)):2==l.group_id&&7==l.id?d.rentalForms.addControl("multistoried_uom",new EP.h("",EP.y.required)):d.rentalForms.removeControl("multistoried_uom"),(1!=l.group_id||6!=l.id)&&((2!=l.group_id||7!=l.id)&&d.rentalForms.setControl("multistoried_building_details",d.fb.array([])))}),this.rentalForms.controls.validate_visited_address.valueChanges.subscribe(function(l){!1===l?d.rentalForms.addControl("other_visited_address",new EP.h("",EP.y.required)):d.rentalForms.removeControl("other_visited_address")}),this.rentalForms.controls.state.valueChanges.subscribe(function(l){d.qustCat.getStateWiseCities(l).subscribe(function(l){200==l.status&&(d.cityData=l.records.cities,d.cityList=d.cityData.slice(),d.pincodeData=l.records.pincode,d.pincodeList=d.pincodeData.slice())})}),this.rentalForms.controls.property_ownership_proof_documents.valueChanges.subscribe(function(l){"1"==l?d.rentalForms.addControl("sighted_documents",new EP.h("",EP.y.required)):d.rentalForms.removeControl("sighted_documents"),"1"!=l&&d.rentalForms.removeControl("other_sighted_documents")}),this.rentalForms.controls.done_third_party_check.valueChanges.subscribe(function(l){"1"==l?d.rentalForms.addControl("whom_third_party_check_done",new EP.h("",EP.y.required)):d.rentalForms.removeControl("whom_third_party_check_done"),"1"==l?d.rentalForms.addControl("description_third_party_check_done",new EP.h("",EP.y.required)):d.rentalForms.removeControl("description_third_party_check_done"),"1"==l?d.rentalForms.addControl("rental_rates_third_party_check_done",new EP.h("",EP.y.required)):d.rentalForms.removeControl("rental_rates_third_party_check_done"),"0"==l?d.rentalForms.addControl("why_third_party_check_not_done",new EP.h("",EP.y.required)):d.rentalForms.removeControl("why_third_party_check_not_done")}),1!=this.data.manage_status)this.getRentalDetails();else{this.rentalForms.controls.property_unit_details.push(this.createUnitDetails(""))}this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionRentalInfoPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.rentalForms.dirty),this.rentalForms.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getdropList=function(){var l=this,n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}));this.unitTypeList.push({groupID:2,groupName:"Residential Property",groupValues:[{id:2,name:"Independent Flat",group_id:1},{id:3,name:"Independent Floor",group_id:1},{id:4,name:"Independent House",group_id:1},{id:5,name:"Independent Row House",group_id:1},{id:6,name:"Multi Storey Building",group_id:1},{id:1,name:"Other (Please Specify)",group_id:1}]}),this.unitTypeList.push({groupID:3,groupName:"Commercial Property",groupValues:[{id:2,name:"Independent Office",group_id:2},{id:3,name:"Independent Shop",group_id:2},{id:4,name:"Warehouse/Godown",group_id:2},{id:5,name:"Workshop",group_id:2},{id:6,name:"Independent Clinic",group_id:2},{id:7,name:"Multi Storey Building",group_id:2},{id:1,name:"Other (Please Specify)",group_id:2}]}),this.unitTypeList.push({groupID:4,groupName:"Industrial Property",groupValues:[{id:2,name:"Factory",group_id:3},{id:3,name:"Industrial Shed",group_id:3},{id:1,name:"Other (Please Specify)",group_id:3}]}),this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){if(1==n.dataStatus){var e=n.records.filter(function(l){return 1==l.isactive}).map(function(l){return{id:l.relationship_id.toString(),name:l.name,group_id:1}});e.length>0&&l.relationShipList.push({groupName:"Personal",groupValues:e})}}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){if(1==n.dataStatus){var e=n.records.filter(function(l){return 1==l.isactive&&"Others"!=l.name}).map(function(l){return{id:l.company_relationship_id.toString(),name:l.name,group_id:2}});e.length>0&&l.relationShipList.push({groupName:"Official",groupValues:e})}}),this.qustCat.getcommondrop("STATE").subscribe(function(n){1==n.dataStatus&&(l.stateData=n.records.filter(function(l){return 1==l.isactive}),l.stateList=l.stateData.slice())}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.unitMeasurementList=n.records.filter(function(l){return 1==l.isactive&&1==l.is_land_uom||2==l.is_land_uom}).map(function(l){return{id:l.uom_id,name:l.name}}))})},l.prototype.personShowingChanges=function(l){if(l.length>0){l.filter(function(l){return 1==l.id}).length>0?this.rentalForms.addControl("other_name_person_type",new EP.h("",EP.y.required)):this.rentalForms.removeControl("other_name_person_type")}else this.rentalForms.removeControl("other_name_person_type")},l.prototype.getSightedDocs=function(l){1==l.id?this.rentalForms.addControl("other_sighted_documents",new EP.h("",EP.y.required)):this.rentalForms.removeControl("other_sighted_documents")},l.prototype.addMoreUnitDetails=function(){this.rentalForms.controls.property_unit_details.push(this.createUnitDetails(""))},l.prototype.createUnitDetails=function(l){return this.fb.group({tenant_lessees_options:["1",EP.y.required],name_tenant_lessees:["",EP.y.required],monthly_rent_amount:["",EP.y.required],payment_mode:["",EP.y.required],securtity_deposit_amount:["",EP.y.required],property_cover_area:["",EP.y.required],unit_measurement:["",EP.y.required],is_rent_agreement_executed:["",EP.y.required],met_tenant_lessees_options:["",EP.y.required]})},l.prototype.removeUnit=function(l){this.rentalForms.controls.property_unit_details.removeAt(l)},l.prototype.generatePaymentOptions=function(l,n,e){if(1==e){var u=this.rentalForms.controls.property_unit_details;l&&1==l.payment_mode.id?(u.controls[n].addControl("amount_received_cash",new EP.h(l.amount_received_cash?l.amount_received_cash:"",EP.y.required)),u.controls[n].removeControl("amount_received_bank"),u.controls[n].removeControl("payment_received_reason")):l&&2==l.payment_mode.id?(u.controls[n].addControl("amount_received_bank",new EP.h(l.amount_received_bank?l.amount_received_bank:"",EP.y.required)),u.controls[n].removeControl("amount_received_cash"),u.controls[n].removeControl("payment_received_reason")):l&&3==l.payment_mode.id?(u.controls[n].addControl("amount_received_cash",new EP.h(l.amount_received_cash?l.amount_received_cash:"",EP.y.required)),u.controls[n].addControl("amount_received_bank",new EP.h(l.amount_received_bank?l.amount_received_bank:"",EP.y.required)),u.controls[n].addControl("payment_received_reason",new EP.h(l.payment_received_reason?l.payment_received_reason:"",EP.y.required))):(u.controls[n].removeControl("amount_received_cash"),u.controls[n].removeControl("amount_received_bank"),u.controls[n].removeControl("payment_received_reason"))}else if(2==e){u=this.rentalForms.controls.property_unit_details;console.log("controls",u.controls.index),u.controls[n].controls.payment_difference_per_met&&(console.log("pay"),u.controls[n].controls.payment_difference_per_met.setValue("")),l&&1==l.payment_mode_per_met.id?(u.controls[n].addControl("amount_received_cash_per_met",new EP.h(l.amount_received_cash_per_met?l.amount_received_cash_per_met:"",EP.y.required)),u.controls[n].removeControl("amount_received_bank_per_met"),u.controls[n].removeControl("payment_received_reason_per_met")):l&&2==l.payment_mode_per_met.id?(u.controls[n].addControl("amount_received_bank_per_met",new EP.h(l.amount_received_bank_per_met?l.amount_received_bank_per_met:"",EP.y.required)),u.controls[n].removeControl("amount_received_cash_per_met"),u.controls[n].removeControl("payment_received_reason_per_met")):l&&3==l.payment_mode_per_met.id?(u.controls[n].addControl("amount_received_cash_per_met",new EP.h(l.amount_received_cash_per_met?l.amount_received_cash_per_met:"",EP.y.required)),u.controls[n].addControl("amount_received_bank_per_met",new EP.h(l.amount_received_bank_per_met?l.amount_received_bank_per_met:"",EP.y.required)),u.controls[n].addControl("payment_received_reason_per_met",new EP.h(l.payment_received_reason_per_met?l.payment_received_reason_per_met:"",EP.y.required))):(u.controls[n].removeControl("amount_received_cash_per_met"),u.controls[n].removeControl("amount_received_bank_per_met"),u.controls[n].removeControl("payment_received_reason_per_met"))}},l.prototype.generateTenantOptions=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.tenant_lessees_options?(e.controls[n].addControl("name_tenant_lessees",new EP.h("",EP.y.required)),e.controls[n].removeControl("name_tenant_lessees_reason")):"0"==l.tenant_lessees_options?(e.controls[n].addControl("name_tenant_lessees_reason",new EP.h("",EP.y.required)),e.controls[n].removeControl("name_tenant_lessees")):(e.controls[n].removeControl("name_tenant_lessees"),e.controls[n].removeControl("name_tenant_lessees_reason"))},l.prototype.generateOtherunitMeasurement=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.unit_measurement.id?e.controls[n].addControl("other_unit_measurement",new EP.h("",EP.y.required)):e.controls[n].removeControl("other_unit_measurement")},l.prototype.generateMultistoriedOtherUOM=function(l){"1"==l.multistoried_uom.id?this.rentalForms.addControl("multistoried_other_uom",new EP.h("",EP.y.required)):this.rentalForms.removeControl("multistoried_other_uom")},l.prototype.generateRentAgreementSeen=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.is_rent_agreement_executed?e.controls[n].addControl("rent_agreement_seen",new EP.h("",EP.y.required)):(e.controls[n].removeControl("rent_agreement_seen"),e.controls[n].removeControl("rent_agreement_registered"),e.controls[n].removeControl("agreement_date"),e.controls[n].removeControl("agreement_no_months"),e.controls[n].removeControl("agreement_expiring_date"),e.controls[n].removeControl("rental_remaining_months"),e.controls[n].removeControl("agreement_monthly_rent_amount"),e.controls[n].removeControl("agreement_security_deposit_amount"),e.controls[n].removeControl("agreement_property_owners_name"),e.controls[n].removeControl("agreement_tenant_lessees_name"),e.controls[n].removeControl("differences_loanapplicant_rentagreement"),e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to"))},l.prototype.generateRegisterOptions=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.rent_agreement_seen?e.controls[n].addControl("rent_agreement_registered",new EP.h("",EP.y.required)):(e.controls[n].removeControl("rent_agreement_registered"),e.controls[n].removeControl("agreement_date"),e.controls[n].removeControl("agreement_no_months"),e.controls[n].removeControl("agreement_expiring_date"),e.controls[n].removeControl("rental_remaining_months"),e.controls[n].removeControl("agreement_monthly_rent_amount"),e.controls[n].removeControl("agreement_security_deposit_amount"),e.controls[n].removeControl("agreement_property_owners_name"),e.controls[n].removeControl("agreement_tenant_lessees_name"),e.controls[n].removeControl("differences_loanapplicant_rentagreement"),e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to"))},l.prototype.generateRegisterDetails=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.rent_agreement_registered?(e.controls[n].addControl("agreement_date",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_no_months",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_expiring_date",new EP.h("")),e.controls[n].addControl("rental_remaining_months",new EP.h("")),e.controls[n].addControl("agreement_monthly_rent_amount",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_property_owners_name",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_tenant_lessees_name",new EP.h("",EP.y.required)),e.controls[n].addControl("differences_loanapplicant_rentagreement",new EP.h(""))):"0"==l.rent_agreement_registered?(e.controls[n].addControl("agreement_date",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_no_months",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_expiring_date",new EP.h("")),e.controls[n].addControl("rental_remaining_months",new EP.h("")),e.controls[n].addControl("agreement_monthly_rent_amount",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_property_owners_name",new EP.h("",EP.y.required)),e.controls[n].addControl("agreement_tenant_lessees_name",new EP.h("",EP.y.required)),e.controls[n].addControl("differences_loanapplicant_rentagreement",new EP.h(""))):(e.controls[n].removeControl("agreement_date"),e.controls[n].removeControl("agreement_no_months"),e.controls[n].removeControl("agreement_expiring_date"),e.controls[n].removeControl("rental_remaining_months"),e.controls[n].removeControl("agreement_monthly_rent_amount"),e.controls[n].removeControl("agreement_security_deposit_amount"),e.controls[n].removeControl("agreement_property_owners_name"),e.controls[n].removeControl("agreement_tenant_lessees_name"),e.controls[n].removeControl("differences_loanapplicant_rentagreement"),e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to"))},l.prototype.calculateExpiryDate=function(l,n){var e=this.rentalForms.controls.property_unit_details,u=e.value[n].agreement_date?this.pipe.transform(e.value[n].agreement_date,"yyyy/MM/dd"):"",t=e.value[n].agreement_no_months>0?e.value[n].agreement_no_months:"0";if(u&&t>0){var a=new Date(new Date(u).setMonth(new Date(u).getMonth()+Number(t)));a.setDate(a.getDate()-1);var i=this.pipe.transform(a,"dd/MM/yyyy");if(console.log("getExpiryDate",i),e.controls[n].controls.agreement_expiring_date.setValue(i),a>=new Date){var o=new Date;o=this.pipe.transform(o,"yyyy/MM/dd");var r=void 0;r=12*(a.getFullYear()-(new Date).getFullYear()),r+=a.getMonth()-(new Date).getMonth(),console.log("remaingMonths",r),e.controls[n].controls.rental_remaining_months.setValue(r)}else e.controls[n].controls.rental_remaining_months.setValue(0)}else e.controls[n].controls.agreement_expiring_date.setValue(""),e.controls[n].controls.rental_remaining_months.setValue("")},l.prototype.generateAgreementOtherOwners=function(l,n){var e=this.rentalForms.controls.property_unit_details;if(l&&l.length>0){var u=l.filter(function(l){return 0==l.id});u.length>0?e.controls[n].addControl("agreement_property_owner_other",new EP.h("",EP.y.required)):e.controls[n].removeControl("agreement_property_owner_other"),u.length>0?e.controls[n].addControl("agreement_property_owner_other_relationship",new EP.h("",EP.y.required)):e.controls[n].removeControl("agreement_property_owner_other_relationship"),u.length>0?e.controls[n].addControl("agreement_property_owner_other_relation_to",new EP.h("",EP.y.required)):e.controls[n].removeControl("agreement_property_owner_other_relation_to")}else e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to")},l.prototype.validateAgreementAmt=function(l,n){return l>0&&n>0?l>=n?Number(l)-Number(n):Number(n)-Number(l):"0"},l.prototype.generateTenantMetDetails=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.met_tenant_lessees_options?(e.controls[n].removeControl("name_tenant_lessees_reason_per_met"),e.controls[n].addControl("name_tenant_lessees_per_met",new EP.h("",EP.y.required)),e.controls[n].addControl("property_owner_per_met",new EP.h("",EP.y.required)),e.controls[n].addControl("paid_monthly_rent_per_met",new EP.h("",EP.y.required)),e.controls[n].addControl("period_of_stay_per_met",new EP.h("",EP.y.required)),e.controls[n].addControl("payment_mode_per_met",new EP.h("",EP.y.required)),e.controls[n].addControl("payment_difference_per_met",new EP.h(""))):(e.controls[n].removeControl("name_tenant_lessees_per_met"),e.controls[n].removeControl("property_owner_per_met"),e.controls[n].removeControl("paid_monthly_rent_per_met"),e.controls[n].removeControl("period_of_stay_per_met"),e.controls[n].removeControl("payment_mode_per_met"),e.controls[n].removeControl("payment_difference_per_met"),e.controls[n].removeControl("property_owner_other_per_met"),e.controls[n].removeControl("property_owner_other_relationship_per_met"),e.controls[n].removeControl("property_owner_other_relation_to_per_met"),e.controls[n].removeControl("amount_received_cash_per_met"),e.controls[n].removeControl("amount_received_bank_per_met"),e.controls[n].removeControl("payment_received_reason_per_met"),e.controls[n].addControl("name_tenant_lessees_reason_per_met",new EP.h("",EP.y.required)))},l.prototype.generateMetOtherOwners=function(l,n){var e=this.rentalForms.controls.property_unit_details;if(l.property_owner_per_met.length>0){var u=l.property_owner_per_met.filter(function(l){return 0==l.id});u.length>0?e.controls[n].addControl("property_owner_other_per_met",new EP.h("",EP.y.required)):e.controls[n].removeControl("property_owner_other_per_met"),u.length>0?e.controls[n].addControl("property_owner_other_relationship_per_met",new EP.h("",EP.y.required)):e.controls[n].removeControl("property_owner_other_relationship_per_met"),u.length>0?e.controls[n].addControl("property_owner_other_relation_to_per_met",new EP.h("",EP.y.required)):e.controls[n].removeControl("property_owner_other_relation_to_per_met")}else e.controls[n].removeControl("property_owner_other_per_met"),e.controls[n].removeControl("property_owner_other_relationship_per_met"),e.controls[n].removeControl("property_owner_other_relation_to_per_met")},l.prototype.generateFloor=function(l){var n=this.rentalForms.controls.multistoried_building_details;if(l.target.value&&0!=Math.round(l.target.value)){if(Math.round(l.target.value)>this.rentalForms.value.multistoried_building_details.length)for(var e=Math.round(l.target.value)-this.rentalForms.value.multistoried_building_details.length;e>0;e--)n.push(this.createFloorDetails(""));else if(Math.round(l.target.value)0;e--)n.removeAt(this.rentalForms.value.multistoried_building_details.length-1)}else l.target.value&&Math.round(l.target.value),n.controls=[],n.setValue([]);l.stopPropagation()},l.prototype.createFloorDetails=function(l){return this.fb.group({floor_level:[0==this.rentalForms.value.multistoried_building_details.length?"Ground Floor":this.rentalForms.value.multistoried_building_details.length+" Floor",EP.y.compose([EP.y.required])],no_units_in_floor:["",EP.y.compose([EP.y.required])],unit_rent_difference_options:["",EP.y.compose([EP.y.required])],floor_unit_details:this.fb.array([]),floor_rent_amount:[""]})},l.prototype.generateFloorUnit=function(l,n){var e=this.rentalForms.controls.multistoried_building_details;if(e=e.controls[n],e=e.controls.floor_unit_details,l.no_units_in_floor>0&&"0"==l.unit_rent_difference_options){if(Math.round(l.no_units_in_floor)>e.value.length)for(var u=Math.round(l.no_units_in_floor)-e.value.length;u>0;u--)e.push(this.createFloorUnitDetails(2));else if(Math.round(l.no_units_in_floor)0;u--)e.removeAt(e.value.length-1);else Math.round(l.no_units_in_floor),e.controls=[],e.setValue([]);this.calculateFloorRentAmt(l,n)}else l.no_units_in_floor>0&&"1"==l.unit_rent_difference_options?(e.controls=[],e.setValue([]),e.push(this.createFloorUnitDetails(1)),this.calculateFloorRentAmt(l,n)):(e.controls=[],e.setValue([]))},l.prototype.createFloorUnitDetails=function(l){return 1==l?this.fb.group({rent_per_unit:["",EP.y.compose([EP.y.required])],amount:[""]}):2==l?this.fb.group({rent_per_unit:["",EP.y.compose([EP.y.required])]}):void 0},l.prototype.calculateFloorRentAmt=function(l,n){if("1"==l.unit_rent_difference_options){(u=(u=(e=this.rentalForms.controls.multistoried_building_details).controls[n]).controls.floor_unit_details).value[u.value.length-1].rent_per_unit>0&&l.no_units_in_floor>0?(u.controls[u.value.length-1].controls.amount.setValue(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor),this.inWords(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor,n,2),e.controls[n].controls.floor_rent_amount.setValue(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor),this.inWords(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor,n,4)):(u.controls[u.value.length-1].controls.amount.setValue(""),e.controls[n].controls.floor_rent_amount.setValue(""))}else if("0"==l.unit_rent_difference_options){var e,u,t=(u=(u=(e=this.rentalForms.controls.multistoried_building_details).controls[n]).controls.floor_unit_details).value.filter(function(l){return""!=l.rent_per_unit});t.length>0?(e.controls[n].controls.floor_rent_amount.setValue(t.map(function(l){return l.rent_per_unit}).reduce(function(l,n){return Number(l)+Number(n)},0)),this.inWords(t.map(function(l){return l.rent_per_unit}).reduce(function(l,n){return Number(l)+Number(n)}),n,4)):e.controls[n].controls.floor_rent_amount.setValue("")}},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.compareSingleObjects=function(l,n){return l.id==n.id},l.prototype.saveAlert=function(l){var n,e=this,u=0,t=0,a=0,i=[],o=[],r=[];l.property_unit_details.length>0&&(l.property_unit_details.forEach(function(l,n){i[n]=l.hasOwnProperty("monthly_rent_amount")?l.monthly_rent_amount:0,u=i.reduce(function(l,n){return l+ +n},0),o[n]=l.hasOwnProperty("paid_monthly_rent_per_met")?l.paid_monthly_rent_per_met:0,t=o.reduce(function(l,n){return l+ +n},0)}),n="Monthly Rent as Per Loan Applicant ="+u+"
"),l.multistoried_building_details.length>0?(l.multistoried_building_details.forEach(function(l,n){r[n]=l.hasOwnProperty("floor_rent_amount")?l.floor_rent_amount:0,a=r.reduce(function(l,n){return l+ +n},0)}),n=n+"Rent amount calculated = "+a):n=n+"Monthly Rent amount as Per Tenant met = "+t;var _=this.alertCtrl.create({title:"Confirm The Rent Amount",message:n,buttons:[{text:"Cancel",role:"cancel",handler:function(){}},{text:"Confirm",handler:function(){e.saveRentalDetails(l)}}]});_.present()},l.prototype.saveRentalDetails=function(l){var n=this;l.rental_count_id=this.data.existing_rental_count_id,console.log("answerData",l),delete l.stateSearch,delete l.citySearch,delete l.pincodeSearch,l.fk_createdby=this.users,console.log("answerData",l),this.qustCat.saveForm(l).subscribe(function(l){1==l.dataStatus&&(n.rentalForms.reset(n.rentalForms.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getRentalDetails=function(){var l=this;if(console.log("enter",this.data.editData),this.data.editData){var n=this.data.editData;if(console.log("rental",n),n.parent_pdid=this.pdDetails.parent_pd_id,n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.other_name_person_type?this.rentalForms.addControl("other_name_person_type",new EP.h("",EP.y.required)):this.rentalForms.removeControl("other_name_person_type"),n.other_sighted_documents?this.rentalForms.addControl("other_sighted_documents",new EP.h("",EP.y.required)):this.rentalForms.removeControl("other_sighted_documents"),n.stateSearch="",n.citySearch="",n.pincodeSearch="",n.multistoried_building_details){var e=Object.keys(n.multistoried_building_details).map(function(l){return n.multistoried_building_details[l]});if(e.length>0){var u=this.rentalForms.controls.multistoried_building_details;e.forEach(function(n,e){u.push(l.createFloorDetails(""));var t=u.controls[e];t=t.controls.floor_unit_details;n.floor_unit_details.forEach(function(u,a){t.push(l.createFloorUnitDetails("0"==n.unit_rent_difference_options?2:1)),console.log("rent per unit",u.rent_per_unit),"1"==n.unit_rent_difference_options?(console.log("check",u.rent_per_unit),""!=u.rent_per_unit&&l.inWords(u.rent_per_unit,a,1),""!=u.amount&&l.inWords(u.amount,e,2)):"0"==n.unit_rent_difference_options&&l.inWords(n.floor_rent_amount,e,4)})})}}if(n.property_unit_details){console.log("property",n.property_unit_details);var t=Object.keys(n.property_unit_details).map(function(l){return n.property_unit_details[l]});t.length>0&&t.forEach(function(n,e){var u=l.rentalForms.controls.property_unit_details;u.push(l.createUnitDetails("")),n.name_tenant_lessees&&"1"==n.tenant_lessees_options?u.controls[e].addControl("name_tenant_lessees",new EP.h("",EP.y.required)):u.controls[e].removeControl("name_tenant_lessees"),n.name_tenant_lessees_reason&&"0"==n.tenant_lessees_options?u.controls[e].addControl("name_tenant_lessees_reason",new EP.h("",EP.y.required)):u.controls[e].removeControl("name_tenant_lessees_reason"),n.amount_received_cash?u.controls[e].addControl("amount_received_cash",new EP.h("",EP.y.required)):u.controls[e].removeControl("amount_received_cash"),n.amount_received_bank?u.controls[e].addControl("amount_received_bank",new EP.h("",EP.y.required)):u.controls[e].removeControl("amount_received_bank"),n.payment_received_reason?u.controls[e].addControl("payment_received_reason",new EP.h("",EP.y.required)):u.controls[e].removeControl("payment_received_reason"),n.other_unit_measurement?u.controls[e].addControl("other_unit_measurement",new EP.h("",EP.y.required)):u.controls[e].removeControl("other_unit_measurement"),n.rent_agreement_seen?u.controls[e].addControl("rent_agreement_seen",new EP.h("",EP.y.required)):u.controls[e].removeControl("rent_agreement_seen"),n.rent_agreement_registered?u.controls[e].addControl("rent_agreement_registered",new EP.h("",EP.y.required)):u.controls[e].removeControl("rent_agreement_registered"),n.agreement_date?u.controls[e].addControl("agreement_date",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_date"),n.agreement_no_months?u.controls[e].addControl("agreement_no_months",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_no_months"),n.agreement_expiring_date?u.controls[e].addControl("agreement_expiring_date",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_expiring_date"),""==n.rental_remaining_months||n.rental_remaining_months>=0?u.controls[e].addControl("rental_remaining_months",new EP.h("",EP.y.required)):u.controls[e].removeControl("rental_remaining_months"),n.agreement_monthly_rent_amount?u.controls[e].addControl("agreement_monthly_rent_amount",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_monthly_rent_amount"),n.agreement_security_deposit_amount?u.controls[e].addControl("agreement_security_deposit_amount",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_security_deposit_amount"),n.differences_loanapplicant_rentagreement?u.controls[e].addControl("differences_loanapplicant_rentagreement",new EP.h("",EP.y.required)):u.controls[e].removeControl("differences_loanapplicant_rentagreement"),n.agreement_property_owners_name?u.controls[e].addControl("agreement_property_owners_name",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_property_owners_name"),n.agreement_property_owner_other?u.controls[e].addControl("agreement_property_owner_other",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_property_owner_other"),n.agreement_property_owner_other_relationship?u.controls[e].addControl("agreement_property_owner_other_relationship",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_property_owner_other_relationship"),n.agreement_property_owner_other_relation_to?u.controls[e].addControl("agreement_property_owner_other_relation_to",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_property_owner_other_relation_to"),n.agreement_tenant_lessees_name?u.controls[e].addControl("agreement_tenant_lessees_name",new EP.h("",EP.y.required)):u.controls[e].removeControl("agreement_tenant_lessees_name"),n.name_tenant_lessees_per_met?u.controls[e].addControl("name_tenant_lessees_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("name_tenant_lessees_per_met"),n.name_tenant_lessees_reason_per_met?u.controls[e].addControl("name_tenant_lessees_reason_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("name_tenant_lessees_reason_per_met"),n.property_owner_per_met?u.controls[e].addControl("property_owner_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("property_owner_per_met"),n.property_owner_other_per_met?u.controls[e].addControl("property_owner_other_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("property_owner_other_per_met"),n.property_owner_other_relationship_per_met?u.controls[e].addControl("property_owner_other_relationship_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("property_owner_other_relationship_per_met"),n.property_owner_other_relation_to_per_met?u.controls[e].addControl("property_owner_other_relation_to_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("property_owner_other_relation_to_per_met"),console.log("payment",n),n.paid_monthly_rent_per_met?u.controls[e].addControl("paid_monthly_rent_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("paid_monthly_rent_per_met"),n.period_of_stay_per_met?u.controls[e].addControl("period_of_stay_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("period_of_stay_per_met"),n.payment_mode_per_met?u.controls[e].addControl("payment_mode_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("payment_mode_per_met"),n.amount_received_cash_per_met?u.controls[e].addControl("amount_received_cash_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("amount_received_cash_per_met"),n.amount_received_bank_per_met?u.controls[e].addControl("amount_received_bank_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("amount_received_bank_per_met"),n.payment_received_reason_per_met?u.controls[e].addControl("payment_received_reason_per_met",new EP.h("",EP.y.required)):u.controls[e].removeControl("payment_received_reason_per_met"),""!=n.payment_difference_per_met&&""==n.payment_difference_per_met||u.controls[e].addControl("payment_difference_per_met",new EP.h("")),l.inWords(""!=n.monthly_rent_amount?+n.monthly_rent_amount:"",e,5),l.inWords(""!=n.amount_received_cash?+n.amount_received_cash:"",e,6),l.inWords(""!=n.amount_received_bank?+n.amount_received_bank:"",e,7),l.inWords(""!=n.securtity_deposit_amount?+n.securtity_deposit_amount:"",e,8),l.inWords(""!=n.agreement_monthly_rent_amount?+n.agreement_monthly_rent_amount:"",e,9),l.inWords(""!=n.agreement_security_deposit_amount?+n.agreement_security_deposit_amount:"",e,10),l.inWords(""!=n.paid_monthly_rent_per_met?+n.paid_monthly_rent_per_met:"",e,11),l.inWords(""!=n.amount_received_cash_per_met?+n.amount_received_cash_per_met:"",e,12),l.inWords(""!=n.amount_received_bank_per_met?+n.amount_received_bank_per_met:"",e,13)})}this.rentalForms.patchValue(n)}else{this.rentalForms.controls.property_unit_details.push(this.createUnitDetails(""))}},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.rent_per_unit_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 2:this.amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 3:break;case 4:this.floor_rent_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 5:this.monthly_rent_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 6:this.amount_received_cash_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 7:this.amount_received_bank_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 8:this.securtity_deposit_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 9:this.agreement_monthly_rent_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 10:this.agreement_security_deposit_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 11:this.paid_monthly_rent_per_met_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 12:this.amount_received_cash_per_met_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 13:this.amount_received_bank_per_met_Inwords[n]=this.constprovider.convertNumberToWords(l)}},l.prototype.inWordsmultiple=function(l,n,e,u){return this.constprovider.convertNumberToWords(l)},l.prototype.validateAllFormFields=function(l){var n=this;Object.keys(l.controls).forEach(function(e){var u=l.get(e);u instanceof EP.h?u.markAsTouched({onlySelf:!0}):u instanceof EP.j?n.validateAllFormFields(u):u instanceof EP.e&&n.validateAllFormFields(u)})},l.prototype.ValidatedRentAmount=function(l,n,e){var u=this.rentalForms.controls.property_unit_details;if(console.log("validated",l),1==e&&l&&3==l.payment_mode.id){(o=u.controls[n]).controls.amount_received_bank.clearValidators(),o.controls.amount_received_bank.updateValueAndValidity(),o.controls.amount_received_cash.clearValidators(),o.controls.amount_received_cash.updateValueAndValidity();var t=l.monthly_rent_amount;if(""!=t){var a=l.amount_received_bank;o.controls.amount_received_bank.setValidators([EP.y.required,EP.y.max(t),EP.y.min(0)]),o.controls.amount_received_bank.updateValueAndValidity();var i=t-a;i>=0?(o.controls.amount_received_cash.setValue(i),o.controls.amount_received_cash.setValidators([EP.y.required,EP.y.max(t-a),EP.y.min(t-a)]),this.inWords(i,n,6)):(o.controls.amount_received_cash.setValue(0),o.controls.amount_received_cash.setValidators([EP.y.max(0),EP.y.min(0)])),o.controls.amount_received_cash.updateValueAndValidity()}}if(2==e&&l&&3==l.payment_mode_per_met.id){var o;(o=u.controls[n]).controls.amount_received_bank_per_met.clearValidators(),o.controls.amount_received_bank_per_met.updateValueAndValidity(),o.controls.amount_received_cash_per_met.clearValidators(),o.controls.amount_received_cash_per_met.updateValueAndValidity();var r=l.paid_monthly_rent_per_met;if(""!=r){a=l.amount_received_bank_per_met;o.controls.amount_received_bank_per_met.setValidators([EP.y.required,EP.y.max(r),EP.y.min(0)]),o.controls.amount_received_bank_per_met.updateValueAndValidity();var _=r-a;console.log("paid monthly",r),console.log("remaining",_),_>=0?(o.controls.amount_received_cash_per_met.setValue(_),o.controls.amount_received_cash_per_met.setValidators([EP.y.required,EP.y.max(r-a),EP.y.min(r-a)]),this.inWords(_,n,12)):(o.controls.amount_received_cash_per_met.setValue(0),o.controls.amount_received_cash_per_met.setValidators([EP.y.max(0),EP.y.min(0)])),o.controls.amount_received_cash_per_met.updateValueAndValidity()}}},l.prototype.forSearchableDropdown=function(l,n){var e=this;switch(console.log("val",l,"Flag",n),n){case"state":console.log("val",l.controls.stateSearch.value,"Flag",n,"1"),l.controls.stateSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){e.stateList=e.constprovider.searchData(e.stateData,l.controls.stateSearch.value,n)});break;case"city":console.log("val",l.controls.citySearch.value,"Flag",n,"2"),l.controls.citySearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){e.cityList=e.constprovider.searchData(e.cityData,l.controls.citySearch.value,n)});break;case"pin":console.log("val",l.controls.pincodeSearch.value,"Flag",n,"3"),l.controls.pincodeSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){e.pincodeList=e.constprovider.searchData(e.pincodeData,l.controls.pincodeSearch.value,n)})}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null,rental_count_id:this.data.existing_rental_count_id}).subscribe(function(n){console.log("From getPDImages",n),n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.captureThePropertyPics=function(){var l=this;this.cameraProvider.getpicture().then(function(n){"error"!=n&&l.imageBucket.push({image:n,Name:"Property "+l.data.existing_rental_count_id})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constprovider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:"",rental_count_id:this.data.existing_rental_count_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(e){1==e.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages(),console.log("savepd",n)):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("agreement_property_owner_other").value;l.get("agreement_property_owner_other").setValue(this.constprovider.sentenceCase(n))},l=WD([Object(fP.k)({selector:"page-pd-question-rental-info",templateUrl:"pd-question-rental-info.html"}),ED("design:paramtypes",[hP.s,hP.t,NP,lD,GP,EP.g,TP,hP.a,rD,JP])],l)}(),$D=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},BD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},RD=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.existing_rental_count_id=0,this.existing_rental_list=[],this.pdDetails=this.navParams.get("pdDetails"),this.form_details=this.navParams.get("FormId"),console.log(this.form_details)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionRentalDashPage")},l.prototype.ionViewCanEnter=function(){this.getAllRentalInfo()},l.prototype.getAllRentalInfo=function(){var l=this;this.existing_rental_list=[];this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.form_details.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;console.log("tyeva",typeof e);var u=[],t=[];l.existing_rental_count_id=e.length,console.log("rental val",e),e.forEach(function(n,e){var a;if(n.property_unit_details){var i=Object.keys(n.property_unit_details).map(function(l){return n.property_unit_details[l]});i.length>0?i.forEach(function(l,n){u[n]=l.monthly_rent_amount,a=u.reduce(function(l,n){return l+ +n},0),a*=12}):a=0,t[e]=a}l.qustCat.getStateCityNamesAndPincode({state_id:n.state,city_id:n.city,pincode_id:n.pincode}).subscribe(function(u){if(1==u.dataStatus){l.existing_rental_list.push({address:n.address_property,applicants_rent:t[e],state:u.records.state_name,city:u.records.city_name,pincode:u.records.pincode,rental_count_id:n.rental_count_id,rental_existing_data:n}),console.log("modify",l.existing_rental_list)}})})}else l.existing_rental_count_id=0}),console.log("ren",this.existing_rental_list)},l.prototype.editDet=function(l){this.navCtrl.push(jD,{values:{manage_status:2,existing_rental_count_id:l.rental_count_id,editData:l},pdDetails:this.pdDetails,FormId:this.form_details}),console.log("hai"),console.log("d",l)},l.prototype.addMore=function(){this.navCtrl.push(jD,{values:{manage_status:1,existing_rental_count_id:this.existing_rental_count_id+1},pdDetails:this.pdDetails,FormId:this.form_details})},l=$D([Object(fP.k)({selector:"page-pd-question-rental-dash",templateUrl:"pd-question-rental-dash.html",providers:[ND]}),BD("design:paramtypes",[hP.s,hP.t,GP])],l)}(),UD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},MD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},KD=function(){function l(l,n,e,u,t,a,i,o,r,_){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.alertCtrl=_,this.incomeEarnedBy=[],this.amtInWords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.applicants=[],this.isOrganisationOwner=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,console.log("this.customer_segment_abbr",this.customer_segment_abbr),this.applicants=this.pdDetails.applicat_details.filter(function(l){return 0!=l.pd_co_applicant_id}),this.getFrequency(),this.users=this.aws.getlocale(),this.otherIncomeForm=this.fb.group({other_income:[null],otherincome_remarks:[null],income_details:this.fb.array([])}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionOtherIncomePage"),this.getOtherIncome(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.otherIncomeForm.dirty),this.otherIncomeForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.createDetail=function(){return this.fb.group({source:[""],address:[""],others_source:[""],income_earned_by:[""],others_income_earned_by:[""],amount:[""],frequency:[""],others_frequency:[""]})},l.prototype.addIncomeDetails=function(){this.incomeDetails=this.otherIncomeForm.get("income_details"),this.incomeDetails.push(this.createDetail())},l.prototype.deleteIncomeDetails=function(l){this.incomeDetails=this.otherIncomeForm.get("income_details"),1==this.incomeDetails.length?(this.otherIncomeForm.reset(),this.amtInWords[l]=""):this.incomeDetails.removeAt(l)},l.prototype.checkotherDetails=function(l){if("Yes"==l&&this.addIncomeDetails(),"No"==l){this.otherIncomeForm.controls.income_details.removeAt(0)}},l.prototype.getFrequency=function(){var l=this;this.qustCat.getAllPersonsName(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.incomeEarnedBy=n.record)}),this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}),console.log(l.existCompanyList));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u})),console.log("company&Applicant",l.mergeCompanyApplicant)});this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequencyData=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("SOURCEOFOTHERINCOME").subscribe(function(n){if(1==n.dataStatus&&(l.sourceIncome=n.records,"SE-RI"==l.customer_segment_abbr)){-1!==l.sourceIncome.map(function(l){return l.name}).indexOf("Rental Income")&&l.sourceIncome.splice(l.sourceIncome.map(function(l){return l.name}).indexOf("Rental Income"),1)}})},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.getOtherOrganisationOwner=function(l,n){var e=this.otherIncomeForm.controls.income_details;console.log("ParCtrls",e);var u=e.controls[n],t=1;console.log("val",l),l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),0==t?(console.log("chld",u),u.controls.others_income_earned_by.setValidators([EP.y.required]),this.isOrganisationOwner[n]=!0):1==t&&(u.controls.others_income_earned_by.setValue(""),u.controls.others_income_earned_by.clearValidators(),this.isOrganisationOwner[n]=!1),u.controls.others_income_earned_by.updateValueAndValidity()},l.prototype.inWords=function(l,n){this.amtInWords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.Toview=function(){this.otherIncomeForm.reset(this.otherIncomeForm.value);this.navCtrl.push(RD,{FormId:{form_id:17,form_name:"Rental Verification"},pdDetails:this.pdDetails})},l.prototype.submitOtherIncome=function(l){var n=this,e={},u=0,t=0;if(e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.other_income=l.other_income,e.income_details=l.income_details,e.otherincome_remarks=l.otherincome_remarks,console.log(e),"Yes"==e.other_income)if(e.income_details.forEach(function(l){5==+l.source&&(u++,t=1)}),1==t){var a={};a.parent_pdid=this.pdDetails.parent_pd_id,a.pd_id=this.pdDetails.pd_id,a.pd_form_id=17,this.qustCat.retiverForm(a).subscribe(function(l){if(l.dataStatus)l.dataStatus&&n.callSaveApi(e);else{var t=n.alertCtrl.create({title:"Please Confirm",message:"
You have chosen "+(u>1?u+" properties":u+" property")+" as rental income, but rental verification form is not filled
",buttons:[{text:"Cancel",role:"cancel",handler:function(){}},{text:"Confirm",handler:function(){n.callSaveApi(e)}}]});t.present()}})}else this.callSaveApi(e);else this.callSaveApi(e)},l.prototype.callSaveApi=function(l){var n=this;this.qustCat.saveForm(l).subscribe(function(l){n.otherIncomeForm.reset(n.otherIncomeForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)},function(l){})},l.prototype.getOtherIncome=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(l.incomeDetails=l.otherIncomeForm.get("income_details"),l.otherIncomeDetails=n,1==l.otherIncomeDetails.dataStatus)if(l.otherIncomeDetails=l.otherIncomeDetails.records,"Yes"==l.otherIncomeDetails.other_income){var e=Object.keys(n.records.income_details).map(function(l){return n.records.income_details[l]});l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks),0==e.length||e.forEach(function(n,e){l.incomeDetails.push(l.createDetail()),l.amtInWords[e]=l.constant.convertNumberToWords(n.amount),l.getOtherOrganisationOwner(n.income_earned_by,e)}),l.otherIncomeForm.controls.income_details.setValue(e)}else l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks)})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("others_income_earned_by").value;l.get("others_income_earned_by").setValue(this.constant.sentenceCase(n))},l=UD([Object(fP.k)({selector:"page-pd-question-other-income",templateUrl:"pd-question-other-income.html"}),MD("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,TP,JP,rD,hP.a])],l)}(),HD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},GD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zD=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cameraProvider=i,this.loading=o,this.constantProvider=r,this.business_manufacturingProducts=[],this.business_tradingProducts=[],this.business_serviceProvider=[],this.m_titleList=[],this.m_paymentList=[],this.m_companyRelationShipList=[],this.noRecordsFound=!1,this.submitted=!1,this.errorMessage="",this.imageBucket=[],this.tab="0",this.manufacturingForm=!1,this.tradingForm=!1,this.servicingForm=!1,this.mfgCreditCardFlag=!1,this.trdCreditCardFlag=!1,this.spCreditCardFlag=!1,this.mfgCounter=[],this.trdCounter=[],this.spCounter=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.form_id=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=this.aws.getlocale(),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.company_id).subscribe(function(l){if(l.dataStatus){var n=l.records;console.log("datas",n),_.initFormLoadDetails(n.type_of_activity),_.business_manufacturingProducts=n.type_of_activity.filter(function(l){if(2==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()}),_.business_serviceProvider=n.type_of_activity.filter(function(l){if(5==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});var e=Object.keys(n.type_of_activity).map(function(l){return n.type_of_activity[l]});e.length>0&&e.forEach(function(l){3==l.type_of_activity_id&&l.prodcuts&&_.business_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&_.business_tradingProducts.push(l.prodcuts),5==l.type_of_activity_id&&l.prodcuts&&(_.business_serviceProvider.push(l.prodcuts),console.log(_.business_serviceProvider))}),_.business_tradingProducts=[].concat.apply([],_.business_tradingProducts)}else _.toast.pdTriggerappmessage("No Category Records Found.!"),_.noRecordsFound=!1,_.errorMessage=l.msg},function(l){_.toast.pdTriggerappmessage("No Category Records Found.!"),_.noRecordsFound=!1,_.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSupplierInfoPage"),this.getPDImages()},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.parent_pdid=this.pdDetails.parent_pd_id,e.pd_id=this.pdDetails.pd_id,e.pd_form_id=this.form_id,e.company_id=this.company_id,this.qustCat.retiverForm(e).subscribe(function(e){if(1==e.dataStatus){var u=e.records;if(void 0!==u){n.supplierInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),servicing_details:n.fb.array([n.servicingFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});if(l.filter(function(l){return 2==l.type_of_activity_id}).length>0)if(null!=u.manufacturing_details[0]){n.initManufacturingProductsDetails(u.manufacturing_details[0].main_raw_materials),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(u.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit||null)}else n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0)if(null!=u.trade_details[0]){n.initTradingProductsDetails(u.trade_details[0].trading_products),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trade_details[0].trading_products_total_payments_percent_on_credit||null)}else n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0)if(null!=u.servicing_details[0]){n.initServiceProvidersDetails(u.servicing_details[0].service_providers),n.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers_total_payments_percent_on_credit.setValue(u.servicing_details[0].service_providers_total_payments_percent_on_credit||null)}else n.initServiceProvidersDetails(null),n.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers_total_payments_percent_on_credit.setValue(null);n.noRecordsFound=!0}else{n.supplierInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),servicing_details:n.fb.array([n.servicingFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trading_products_total_payments_percent_on_credit||null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.initServiceProvidersDetails(null),n.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers_total_payments_percent_on_credit.setValue(u.servicing_details[0].service_providers_total_payments_percent_on_credit||null)),n.noRecordsFound=!0}}else{console.log(" data in else part"),n.supplierInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),servicing_details:n.fb.array([n.servicingFormCreation(l)]),supplier_info_form_remark:[]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.initServiceProvidersDetails(null),n.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers_total_payments_percent_on_credit.setValue(null)),n.noRecordsFound=!0}},function(l){})},l.prototype.manufacturingFormCreation=function(l){return l.filter(function(l){return 2==l.type_of_activity_id}).length>0?(this.manufacturingForm=!0,this.fb.group({main_raw_materials:this.fb.array([]),main_raw_materials_total_payments_percent_on_credit:[]})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_products:this.fb.array([]),trading_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.servicingFormCreation=function(l){var n=l.filter(function(l){return 5==l.type_of_activity_id});return console.log(n,n.length),n.length>0?(console.log("IF"),this.servicingForm=!0,this.fb.group({service_providers:this.fb.array([]),service_providers_total_payments_percent_on_credit:[]})):void console.log("ELSE")},l.prototype.initManufacturingProductsDetails=function(l){var n=this,e=this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials;null===l?e.push(this.initManufacturingProducts(null)):l.forEach(function(l,u){n.checkCard(l.manufacturing_payment_type,1,u),e.push(n.initManufacturingProducts(l))})},l.prototype.initManufacturingProducts=function(l){return this.fb.group(null===l?{manufacturing_raw_material_name:[""],manufacturing_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],manufacturing_contact_person_name:[""],manufacturing_contact_person_mobile_number:[""],manufacturing_payment_type:[""],manufacturing_payment_mode:[""],manufacturing_credit_days_from:[""],manufacturing_credit_days_to:[""],manufacturing_frequency_of_purchase:[""],person_stdcode:[""],person_landline:[""]}:{manufacturing_raw_material_name:[l.manufacturing_raw_material_name||null],manufacturing_supplier_name:[l.manufacturing_supplier_name||null],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],other_person_designation:[l.other_person_designation||null],manufacturing_contact_person_name:[l.manufacturing_contact_person_name||null],manufacturing_contact_person_mobile_number:[l.manufacturing_contact_person_mobile_number||null],manufacturing_payment_type:[l.manufacturing_payment_type||null],manufacturing_payment_mode:[l.manufacturing_payment_mode],manufacturing_credit_days_from:[l.manufacturing_credit_days_from||null],manufacturing_credit_days_to:[l.manufacturing_credit_days_to||null],manufacturing_frequency_of_purchase:[l.manufacturing_frequency_of_purchase||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null]})},l.prototype.initTradingProductsDetails=function(l){var n=this,e=this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products;null===l?e.push(this.initTradingProducts(null)):l.forEach(function(l,u){n.checkCard(l.trade_product_payment_type,2,u),e.push(n.initTradingProducts(l))})},l.prototype.initTradingProducts=function(l){return this.fb.group(null===l?{trade_product_name:[""],trade_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],trade_product_contact_person_name:[""],trade_product_contact_person_mobile_number:[""],person_stdcode:[null],person_landline:[null],trade_product_payment_type:[""],trade_product_payment_mode:[""],trade_product_frequency_of_purchase:[""],trade_product_credit_days_from:[""],trade_product_credit_days_to:[""]}:{trade_product_name:[l.trade_product_name],person_title_name:[l.person_title_name],person_designation:[l.person_designation],other_person_designation:[l.other_person_designation],trade_supplier_name:[l.trade_supplier_name],trade_product_contact_person_name:[l.trade_product_contact_person_name],trade_product_contact_person_mobile_number:[l.trade_product_contact_person_mobile_number],person_stdcode:[l.person_stdcode],person_landline:[l.person_landline],trade_product_payment_type:[l.trade_product_payment_type],trade_product_payment_mode:[l.trade_product_payment_mode],trade_product_frequency_of_purchase:[l.trade_product_frequency_of_purchase],trade_product_credit_days_from:[l.trade_product_credit_days_from],trade_product_credit_days_to:[l.trade_product_credit_days_to]})},l.prototype.initServiceProvidersDetails=function(l){var n=this;console.log("datas",l);var e=this.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers;null===l?(console.log("initServiceProvidersDetails if null"),e.push(this.initServiceProviders(null))):(console.log("else not null"),l.forEach(function(l,u){n.checkCard(l.service_provider_payment_type,3,u),e.push(n.initServiceProviders(l))}))},l.prototype.initServiceProviders=function(l){return console.log("initServiceProviders",l),null===l?(console.log("if"),this.fb.group({service_provider_name:[""],service_provider_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],service_provider_contact_person_name:[""],service_provider_contact_person_mobile_number:[""],person_stdcode:[null],person_landline:[null],service_provider_payment_type:[""],service_provider_payment_mode:[""],service_provider_frequency_of_purchase:[""],service_provider_credit_days_from:[""],service_provider_credit_days_to:[""]})):(console.log("else"),this.fb.group({service_provider_name:[l.service_provider_name],person_title_name:[l.person_title_name],person_designation:[l.person_designation],other_person_designation:[l.other_person_designation],service_provider_supplier_name:[l.service_provider_supplier_name],service_provider_contact_person_name:[l.service_provider_contact_person_name],service_provider_contact_person_mobile_number:[l.service_provider_contact_person_mobile_number],person_stdcode:[l.person_stdcode],person_landline:[l.person_landline],service_provider_payment_type:[l.service_provider_payment_type],service_provider_payment_mode:[l.service_provider_payment_mode],service_provider_frequency_of_purchase:[l.service_provider_frequency_of_purchase],service_provider_credit_days_from:[l.service_provider_credit_days_from],service_provider_credit_days_to:[l.service_provider_credit_days_to]}))},l.prototype.addMoreRawMaterials=function(l){this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.push(this.initManufacturingProducts(null))},l.prototype.removeRawMaterials=function(l){this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.removeAt(l)},l.prototype.addMoretradeProduct=function(l){this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products.push(this.initTradingProducts(null))},l.prototype.removeTradingProduct=function(l){this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products.removeAt(l)},l.prototype.addMoreServiceProvider=function(l){this.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers.push(this.initServiceProviders(null))},l.prototype.removeServiceProvider=function(l){this.supplierInfoForm.controls.servicing_details.controls[0].controls.service_providers.removeAt(l)},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.m_companyRelationShipList=n.records}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.m_titleList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PAYMENTMODE").subscribe(function(n){l.m_paymentList=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.saveSupplierInfoWithImageCheck=function(l){var n=this;console.log("forms",l);var e=this.mandatoryImageCheck(l);if(console.log("required image check",e),e)this.saveSupplierInfo(l);else{var u=this.toast.setAlert("Mandatory photographs not taken"," Do you want to take it later?");u.present(),u.onDidDismiss(function(e){if("s"!=e)return!0;n.saveSupplierInfo(l)})}},l.prototype.saveSupplierInfo=function(l){var n=this,e=l;Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),this.qustCat.saveForm(e).subscribe(function(l){200==l.status?(n.supplierInfoForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.selectedPersonDesignation=function(l,n,e){},l.prototype.checkCard=function(l,n,e){2==n&&3==l?this.trdCounter[e]=1:2==n&&3!=l&&(this.trdCounter[e]=0);var u=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=u>0,1==n&&3==l?this.mfgCounter[e]=1:1==n&&3!=l&&(this.mfgCounter[e]=0);var t=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=t>0,3==n&&3==l?this.spCounter[e]=1:3==n&&3!=l&&(this.spCounter[e]=0);var a=this.spCounter.reduce(function(l,n){return l+ +n},0);this.spCreditCardFlag=a>0},l.prototype.selectedPaymentTerms=function(l,n,e){2==e?(3==n||(l.controls.trade_product_credit_days_from.clearValidators(),l.controls.trade_product_credit_days_from.setValue(""),l.controls.trade_product_credit_days_to.clearValidators(),l.controls.trade_product_credit_days_to.setValue("")),l.controls.trade_product_credit_days_from.updateValueAndValidity(),l.controls.trade_product_credit_days_to.updateValueAndValidity()):1==e&&(3==n||(l.controls.manufacturing_credit_days_from.clearValidators(),l.controls.manufacturing_credit_days_from.setValue(""),l.controls.manufacturing_credit_days_to.clearValidators(),l.controls.manufacturing_credit_days_to.setValue("")),l.controls.manufacturing_credit_days_from.updateValueAndValidity(),l.controls.manufacturing_credit_days_to.updateValueAndValidity()),3==e&&(3==n||(l.controls.service_provider_credit_days_from.setValue(""),l.controls.service_provider_credit_days_to.setValue("")),l.controls.service_provider_credit_days_from.updateValueAndValidity(),l.controls.service_provider_credit_days_to.updateValueAndValidity())},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.captureTheSupplierPics=function(l,n,e){var u=this;""!=e?(this.cameraProvider.getpicture().then(function(t){"error"!=t&&u.constantProvider.getGeoTag().then(function(a){console.log("geo promise",a),u.imageBucket.push({image:t,Name:e+" - "+l+" "+(n+1),link:a})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"):""==e&&alert("Please Fill The Supplier Name")},l.prototype.mandatoryImageCheck=function(l){var n=this,e=[];0!=l.manufacturing_details.length&&null!=l.manufacturing_details[0]&&0!=l.manufacturing_details[0].main_raw_materials.length&&l.manufacturing_details[0].main_raw_materials.forEach(function(l,n){e.push({index:n+1,name:l.manufacturing_supplier_name+" - Raw Material "+(n+1)})}),0!=l.trade_details.length&&null!=l.trade_details[0]&&0!=l.trade_details[0].trading_products.length&&l.trade_details[0].trading_products.forEach(function(l,n){e.push({index:n+1,name:l.trade_supplier_name+" - Trading Product "+(n+1)})});var u,t=0,a=[],i=[];if(0!=e.length){e.forEach(function(l){n.imageDisplay.forEach(function(n){l.name!=n.Name?u=!0:(u=!1,t++),t>=2&&0==u?a.push(l.name):i.push(l.name)}),1==u&&console.log("Form name",l.name),i.push(l.name)}),console.log("mandatoryimgSaved",a),console.log("mandatoryimgNot Saved",i),a.forEach(function(l){i=i.filter(function(n){return n!=l})});var o=function(l){return l.filter(function(n,e){return l.indexOf(n)===e})};return console.log("uniw",o(i)),!(o(i).length>0)}return!0},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constantProvider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=HD([Object(fP.k)({selector:"page-pd-question-supplier-info",templateUrl:"pd-question-supplier-info.html"}),GD("design:paramtypes",[hP.s,hP.t,EP.g,NP,GP,lD,JP,rD,TP])],l)}(),YD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},QD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},JD=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this._fb=a,this.qualifications=["Graduate","Under Graduate","Post Graduate","Professional"],this.earningStatus=["Earning Member","House Wife","Student","Retired","Pensioner","Other Non earning member"],this.relationShipList=[],this.mainApplicantQuestions=["Name","Age","Entity","Educational Qualification","Earning Status"],this.coApplicantQuestions=["Name","Age","Entity","Educational Qualification","Earning Status","Relationship"],this.mainApplicantDetails=[],this.coApplicantDetails=[],this.repeat=3,this.loadDataStatus=!1,this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale()}return l.prototype.ngOnInit=function(){this.loadPDDetails(),this.getRelationMaster(),this.mainApplicantDetails=this.pdDetails.applicat_details.filter(function(l){return 1==l.applicant_type}),this.coApplicantDetails=this.pdDetails.applicat_details.filter(function(l){return 0==l.applicant_type})},l.prototype.loadPDDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:"341"}).subscribe(function(n){if(200==n.status)l.loadFormWithIDData(n.records);else{var e=[];if(l.mainApplicantDetails.length>0)for(var u=0;u=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ZD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},lT=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=t,this.fb=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.errorMessage="",this.M_rawValueInWords=[],this.M_goodsValueInWords=[],this.R_tradedGoodsValueInWords=[],this.T_tradedGoodsValueInWords=[],this.S_GoodsValueInWords=[],this.mrmCommentFlag=[],this.mfgCommentFlag=[],this.rtrdCommentFlag=[],this.wtrdCommentFlag=[],this.spdCommentFlag=[],this.suppliers_raw_materials=[],this.suppliers_retail_trade_details=[],this.suppliers_wholesale_trade_details=[],this.suppliers_finished_goods=[],this.suppliers_service_providers=[],this._onDestroy=new wP.Subject,this.RMCommentCard=!1,this.TGCommentCard=!1,this.SPCommentCard=!1,this.RMsufficientList=[{value:"yes",isdisplayvalue:"Yes",disabled:!1},{value:"no",isdisplayvalue:"No",disabled:!1},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",disabled:!1}],this.TGsufficientList=[{value:"yes",isdisplayvalue:"Yes",isdisabled:!1},{value:"no",isdisplayvalue:"No",isdisabled:!1},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:!1}],this.SPsufficientList=[{value:"yes",isdisplayvalue:"Yes",isdisabled:!1},{value:"no",isdisplayvalue:"No",isdisabled:!1},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:!1}],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.manufacturingForm=!1,this.retailForm=!1,this.tradingForm=!1,this.servicingForm=!1,this.ManufacturingCounterArray=[],this.FinishedCounterArray=[],this.RetailCounterArray=[],this.WholeSaleCounterArray=[],this.ServiceCounterArray=[],this.not_stock_of_rm=[],this.not_stock_of_fg=[],this.not_stock_of_tg=[],this.not_stock_of_ws=[],this.not_stock_of_sp=[],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.company_id=this.pdDetails.company_id,this.pdid=this.pdDetails.pd_id,this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(function(l){if(1!=l.dataStatus)return _.toast.pdTriggerappmessage("Fill Business Form First! / No Company Found at this ID "+_.company_id),_.noRecordsFound=!1,void(_.errorMessage="Fill Business Form First! / No Company Found at this ID"+_.company_id+"! ....");_.initstockForm(l.record)},function(l){_.toast.pdTriggerappmessage("Business Type Of Activity Not Available Please Check Business Information.!"),_.noRecordsFound=!1,_.errorMessage="No Records Found , Something went Wrong!"}),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionStockInfoPage"),this.getPDImages()},l.prototype.initstockForm=function(l){var n=this,e=Object.keys(l.from_business).map(function(n){return l.from_business[n]});if(!(l.from_business.length>0))return this.toast.pdTriggerappmessage("Fill Business Form First! / No Company Found at this ID "+this.company_id),this.noRecordsFound=!1,void(this.errorMessage="Fill Business Form First! / No Company Found at this ID"+this.company_id+"! ....");var u=l.from_business.filter(function(l){return 2==l.type_of_activity_id}),t=u[0].hasOwnProperty("products")?u[0].products.length:0,a=l.from_business.filter(function(l){return 3==l.type_of_activity_id}),i=a[0].hasOwnProperty("products")?a[0].products.length:0,o=l.from_business.filter(function(l){return 4==l.type_of_activity_id}),r=o[0].hasOwnProperty("products")?o[0].products.length:0,_=l.from_business.filter(function(l){return 5==l.type_of_activity_id}),d=_[0].hasOwnProperty("products")?_[0].products.length:0;console.log("type5length",_,d);var s=l.from_supplier.hasOwnProperty("raw_material")?l.from_supplier.raw_material:[],c={};c.parent_pdid=this.pdDetails.parent_pd_id,c.pd_id=this.pdid,c.pd_form_id=this.formDetails.form_id,c.company_id=this.company_id,this.qustCat.retiverForm(c).subscribe(function(u){if(200==u.status){var a=u.records;void 0!==a?(n.stockForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[a.stock_remarks],is_sufficiant_finished_and_traded_goods:[a.is_sufficiant_finished_and_traded_goods],finished_and_traded_goods_remarks:[a.finished_and_traded_goods_remarks],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l,t)]),retail_details:n.fb.array([n.retailFormCreation(i)]),trade_details:n.fb.array([n.tradingFormCreation(r)]),servicing_details:n.fb.array([n.servicingFormCreation(d)]),is_sufficiant_service_goods:[a.hasOwnProperty("is_sufficiant_service_goods")?a.is_sufficiant_service_goods:""],service_goods_remarks:[a.hasOwnProperty("service_goods_remarks")?a.service_goods_remarks:""]}),e.length>0&&(e.forEach(function(l){if(2==l.type_of_activity_id&&l.products){var e=[];e.manufacturing_raw_materials=a.manufacturing_details[0].manufacturing_raw_materials,n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(a.manufacturing_details[0].is_sufficiant_raw),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(a.manufacturing_details[0].rawmaterial_remarks),e.manufacturing_finished_goods=a.manufacturing_details[0].manufacturing_finished_goods,n.initManufacturingDetails(e)}if(3==l.type_of_activity_id&&l.products){var u=[];u.retail_traded_goods=a.retail_details[0].retail_traded_goods,n.initRetailDetails(u)}if(4==l.type_of_activity_id&&l.products){var t=[];t.trading_traded_goods=a.trade_details[0].trading_traded_goods,console.log("Trade",t),n.initTradingDetails(t)}if(5==l.type_of_activity_id&&l.products){var i=[];a.hasOwnProperty("service_provider")?(i.service_provider=a.servicing_details[0].service_provider,n.initServicingDetails(i)):(n.suppliers_service_providers=l.products,n.initServicingDetails(null))}}),n.noRecordsFound=!0)):(n.stockForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],is_sufficiant_finished_and_traded_goods:[""],finished_and_traded_goods_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l,t)]),retail_details:n.fb.array([n.retailFormCreation(i)]),trade_details:n.fb.array([n.tradingFormCreation(r)]),servicing_details:n.fb.array([n.servicingFormCreation(d)]),is_sufficiant_service_goods:[""],service_goods_remarks:[""]}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.initManufacturingDetails(null),n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(a.manufacturing_details[0].is_sufficiant_raw.value||null),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(a.manufacturing_details[0].rawmaterial_remarks||null)),3==l.type_of_activity_id&&l.products&&(n.suppliers_retail_trade_details=l.products,n.initRetailDetails(null)),4==l.type_of_activity_id&&l.products&&(n.suppliers_wholesale_trade_details=l.products,n.initTradingDetails(null)),5==l.type_of_activity_id&&l.products&&(n.suppliers_service_providers=l.products,n.initServicingDetails(null))}),n.noRecordsFound=!0))}else console.log("Record",l),n.stockForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],is_sufficiant_finished_and_traded_goods:[""],finished_and_traded_goods_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l,t)]),retail_details:n.fb.array([n.retailFormCreation(i)]),trade_details:n.fb.array([n.tradingFormCreation(r)]),servicing_details:n.fb.array([n.servicingFormCreation(d)]),is_sufficiant_service_goods:[""],service_goods_remarks:[""]}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.suppliers_raw_materials=s,n.initManufacturingDetails(null),n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(null),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(null)),3==l.type_of_activity_id&&l.products&&(n.suppliers_retail_trade_details=l.products,n.initRetailDetails(null)),4==l.type_of_activity_id&&l.products&&(n.suppliers_wholesale_trade_details=l.products,n.initTradingDetails(null)),5==l.type_of_activity_id&&l.products&&(n.suppliers_service_providers=l.products,n.initServicingDetails(null))}),n.noRecordsFound=!0)})},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.uomData=n.records.filter(function(l){return 1==l.isactive&&0==l.is_land_uom||2==l.is_land_uom}),l.uomDataValue=l.uomData.slice())})},l.prototype.manufacturingFormCreation=function(l,n){l.from_business.filter(function(l){return 2==l.type_of_activity_id}),l.from_supplier.hasOwnProperty("raw_material");return n>0?(this.manufacturingForm=!0,this.fb.group({is_sufficiant_raw:[],rawmaterial_remarks:[],manufacturing_raw_materials:this.fb.array([]),manufacturing_finished_goods:this.fb.array([])})):this.fb.group({is_sufficiant_raw:[],rawmaterial_remarks:[],manufacturing_raw_materials:this.fb.array([]),manufacturing_finished_goods:this.fb.array([])})},l.prototype.retailFormCreation=function(l){return l>0?(this.retailForm=!0,this.fb.group({retail_traded_goods:this.fb.array([])})):this.fb.group({retail_traded_goods:this.fb.array([])})},l.prototype.tradingFormCreation=function(l){return l>0?(this.tradingForm=!0,this.fb.group({trading_traded_goods:this.fb.array([])})):this.fb.group({trading_traded_goods:this.fb.array([])})},l.prototype.servicingFormCreation=function(l){console.log("inside servicingFormCreation",l);return l>0?(console.log("IF"),this.servicingForm=!0,this.fb.group({service_provider:this.fb.array([])})):(console.log("Else"),this.fb.group({service_provider:this.fb.array([])}))},l.prototype.initManufacturingDetails=function(l){var n=this,e=this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials,u=this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods;null===l?(this.suppliers_raw_materials.length>0?this.suppliers_raw_materials.forEach(function(l){e.push(n.createRawmaterial({raw_name:l,stock_observed:"",raw_quantity:"",raw_uom:"",other_uom:"",raw_value:""}))}):e.push(this.createRawmaterial(null)),this.suppliers_finished_goods.length>0?this.suppliers_finished_goods.forEach(function(l){u.push(n.createGoods({goods_name:l,goods_observed:"",goods_quantity:"",goods_uom:"",goods_other_uom:"",goods_value:""}))}):u.push(this.createGoods(null))):(void 0!=l.manufacturing_raw_materials?l.manufacturing_raw_materials.forEach(function(l,u){l.raw_value&&n.inWords(l.raw_value,1,u),n.checkComments(l.stock_observed,1,u),e.push(n.createRawmaterial(l))}):e.push(this.createRawmaterial(null)),void 0!=l.manufacturing_finished_goods?l.manufacturing_finished_goods.forEach(function(l,e){l.goods_value&&n.inWords(l.goods_value,2,e),n.checkComments(l.goods_observed,2,e),u.push(n.createGoods(l))}):u.push(this.createGoods(null)))},l.prototype.createRawmaterial=function(l){return this.fb.group(null===l?{raw_name:[""],stock_observed:[""],raw_quantity:[""],raw_uom:[""],uomSearch:[null],other_uom:[""],raw_value:[""]}:{raw_name:[l.raw_name],stock_observed:[l.stock_observed],raw_quantity:[l.raw_quantity],raw_uom:[l.raw_uom],uomSearch:[null],other_uom:[l.other_uom],raw_value:[l.raw_value]})},l.prototype.initRetailDetails=function(l){var n=this,e=this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods;null===l?this.suppliers_retail_trade_details.length>0?this.suppliers_retail_trade_details.forEach(function(l){e.push(n.createTradedGoods({traded_goods_name:l,traded_goods_observed:"",traded_goods_quantity:"",traded_goods_uom:"",traded_goods_other_uom:"",estimated_traded_goods_value:""}))}):e.push(this.createTradedGoods(null)):void 0!==l.retail_traded_goods?l.retail_traded_goods.forEach(function(l,u){l.estimated_traded_goods_value&&n.inWords(l.estimated_traded_goods_value,3,u),n.checkComments(l.traded_goods_observed,3,u),e.push(n.createTradedGoods(l))}):e.push(this.createTradedGoods(null))},l.prototype.createGoods=function(l){return this.fb.group(null===l?{goods_name:[""],goods_observed:[""],goods_quantity:[""],goods_uom:[""],uomSearch:[null],goods_other_uom:[""],goods_value:[""]}:{goods_name:[l.goods_name],goods_observed:[l.goods_observed],goods_quantity:[l.goods_quantity],goods_uom:[l.goods_uom],uomSearch:[null],goods_other_uom:[l.goods_other_uom],goods_value:[l.goods_value]})},l.prototype.initTradingDetails=function(l){var n=this,e=this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods;null===l?this.suppliers_wholesale_trade_details.length>0?this.suppliers_wholesale_trade_details.forEach(function(l){e.push(n.createTradedGoods({traded_goods_name:l,traded_goods_observed:"",traded_goods_quantity:"",traded_goods_uom:"",traded_goods_other_uom:"",estimated_traded_goods_value:""}))}):e.push(this.createTradedGoods(null)):void 0!==l.trading_traded_goods?l.trading_traded_goods.forEach(function(l,u){l.estimated_traded_goods_value&&n.inWords(l.estimated_traded_goods_value,4,u),n.checkComments(l.traded_goods_observed,4,u),e.push(n.createTradedGoods(l))}):e.push(this.createTradedGoods(null))},l.prototype.createTradedGoods=function(l){return this.fb.group(null===l?{traded_goods_name:[""],traded_goods_observed:[""],traded_goods_quantity:[""],traded_goods_uom:[""],uomSearch:[null],traded_goods_other_uom:[""],estimated_traded_goods_value:[""]}:{traded_goods_name:[l.traded_goods_name],traded_goods_observed:[l.traded_goods_observed],traded_goods_quantity:[l.traded_goods_quantity],traded_goods_uom:[l.traded_goods_uom],uomSearch:[null],traded_goods_other_uom:[l.traded_goods_other_uom],estimated_traded_goods_value:[l.estimated_traded_goods_value]})},l.prototype.initServicingDetails=function(l){var n=this,e=this.stockForm.controls.servicing_details.controls[0].controls.service_provider;null===l?this.suppliers_service_providers.length>0?this.suppliers_service_providers.forEach(function(l){e.push(n.createServiceProvider({service_provider_name:l,service_provider_observed:"",service_provider_quantity:"",service_provider_uom:"",service_provider_other_uom:"",estimated_service_provider_value:""}))}):e.push(this.createServiceProvider(null)):void 0!==l.service_provider?l.service_provider.forEach(function(l,u){l.estimated_service_provider_value&&n.inWords(l.estimated_service_provider_value,5,u),n.checkComments(l.service_provider_observed,5,u),e.push(n.createServiceProvider(l))}):e.push(this.createServiceProvider(null))},l.prototype.createServiceProvider=function(l){return this.fb.group(null===l?{service_provider_name:[""],service_provider_observed:[""],service_provider_quantity:[""],service_provider_uom:[""],uomSearch:[null],service_provider_other_uom:[""],estimated_service_provider_value:[""]}:{service_provider_name:[l.service_provider_name],service_provider_observed:[l.service_provider_observed],service_provider_quantity:[l.service_provider_quantity],service_provider_uom:[l.service_provider_uom],uomSearch:[null],service_provider_other_uom:[l.service_provider_other_uom],estimated_service_provider_value:[l.estimated_service_provider_value]})},l.prototype.addRawMaterials=function(l){if(1==l){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials.push(this.createRawmaterial(null))}},l.prototype.deleteRawMaterials=function(l,n){if(1==n){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials.removeAt(l)}},l.prototype.addGoods=function(l){if(1==l){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods.push(this.createGoods(null))}},l.prototype.deleteGoods=function(l,n){if(1==n){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods.removeAt(l)}},l.prototype.addTradedGoods=function(l){switch(l){case 1:this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods.push(this.createTradedGoods(null));break;case 2:this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods.push(this.createTradedGoods(null));break;case 3:this.stockForm.controls.servicing_details.controls[0].controls.service_provider.push(this.createServiceProvider(null))}},l.prototype.deleteTradedGoods=function(l,n){switch(n){case 1:this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods.removeAt(l);break;case 2:this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods.removeAt(l);break;case 3:this.stockForm.controls.servicing_details.controls[0].controls.service_provider.removeAt(l)}},l.prototype.checkComments=function(l,n,e){if(1==n){this.ManufacturingCounterArray[e]=""!=l?1:0,this.not_stock_of_rm[e]="yes"==l?1:0;var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0);this.RMCommentCard=u>0;var t=this.not_stock_of_rm.reduce(function(l,n){return l+ +n},0);console.log("value",l),console.log("not_stock1",t),t>0?(console.log("not_stock1",t),this.RMsufficientList[0].disabled=!1,this.RMsufficientList[2].disabled=!0):0==t&&(console.log("0",t),this.RMsufficientList[0].disabled=!0,this.RMsufficientList[2].disabled=!1),console.log("this.RMsufficientList",this.RMsufficientList)}if(2==n&&(this.FinishedCounterArray[e]=""!=l?1:0,this.not_stock_of_fg[e]="yes"==l?1:0),3==n&&(this.RetailCounterArray[e]=""!=l?1:0,this.not_stock_of_tg[e]="yes"==l?1:0),4==n&&(this.WholeSaleCounterArray[e]=""!=l?1:0,this.not_stock_of_ws[e]="yes"==l?1:0),5==n){console.log("adf"),this.ServiceCounterArray[e]=""!=l?1:0,this.not_stock_of_sp[e]="yes"==l?1:0;var a=this.ServiceCounterArray.reduce(function(l,n){return l+ +n},0);this.SPCommentCard=a>0;var i=this.not_stock_of_rm.reduce(function(l,n){return l+ +n},0);i>0?(this.SPsufficientList[0].disabled=!1,this.SPsufficientList[2].disabled=!0):0==i&&(this.SPsufficientList[0].disabled=!0,this.SPsufficientList[2].disabled=!1)}var o=this.FinishedCounterArray.reduce(function(l,n){return l+ +n},0),r=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),_=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0);this.TGCommentCard=o+r+_>0;var d=this.not_stock_of_fg.reduce(function(l,n){return l+ +n},0)+this.not_stock_of_ws.reduce(function(l,n){return l+ +n},0)+this.not_stock_of_tg.reduce(function(l,n){return l+ +n},0);console.log("not_stock2",d),d>0?(console.log("not_stock2",d),this.TGsufficientList[0].isdisabled=!1,this.TGsufficientList[2].isdisabled=!0):0==d&&(console.log("0",d),this.TGsufficientList[0].isdisabled=!0,this.TGsufficientList[2].isdisabled=!1),console.log("Data",this.TGsufficientList)},l.prototype.saveStockInfo=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),this.qustCat.saveForm(l).subscribe(function(l){200==l.status?(n.stockForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.inWords=function(l,n,e){switch(n){case 1:this.M_rawValueInWords[e]=this.constant.convertNumberToWords(l);break;case 2:this.M_goodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 3:this.R_tradedGoodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 4:this.T_tradedGoodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 5:this.S_GoodsValueInWords[e]=this.constant.convertNumberToWords(l)}},l.prototype.searchFun=function(l,n){var e=this;console.log("control",l.controls.uomSearch.value),l.controls.uomSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){e.uomDataValue=e.constant.searchData(e.uomData,l.controls.uomSearch.value,"")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=XD([Object(fP.k)({selector:"page-pd-question-stock-info",templateUrl:"pd-question-stock-info.html"}),ZD("design:paramtypes",[hP.s,hP.t,GP,NP,lD,EP.g,TP,JP,rD])],l)}(),nT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},eT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},uT=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.cons=i,this.cameraProvider=o,this.loading=r,this.FY_annualSalesInwords=[],this.FY_netProfitAmtInwords=[],this.FY_netLossAmtInwords=[],this.AV_annualSalesInwords=[],this.AV_netProfitAmtInwords=[],this.AV_netLossAmtInwords=[],this.AV_netProfitAmtFrmInwords=[],this.AV_netProfitAmtToInwords=[],this.AV_netLossAmtFrmInwords=[],this.AV_netLossAmtToInwords=[],this.AV_SalesFrmInwords=[],this.AV_SalesToInwords=[],this.AV_SalesInwords=[],this.AV_marginProfitAmtInwords=[],this.AV_marginLossAmtInwords=[],this.AV_CCAnnualSalesAmtInwords=[],this.temparray=[],this.picsArrayLength=0,this.ServiceDataAvailability=!1,this.av=[{id:6,name:"Letter of Credit"},{id:2,name:"Bank Guarantee"},{id:3,name:"Cash Credit Limit"},{id:7,name:"OD Limit"},{id:4,name:"Factoring"},{id:5,name:"Forfaiting"},{id:1,name:"Others"}],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.FormId=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=this.aws.getlocale();var d=this.pdDetails.customer_segment_abbr.split("-");this.CustSegAbbr=d[1],this.lender_short_name=this.pdDetails.lender_short_name,this.product_abbr=this.pdDetails.product_abbr,this.initFinancialForm(),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.company_id).subscribe(function(l){if(l.dataStatus)if(1==l.records.type_of_activity.length){var n=l.records.type_of_activity.filter(function(l){if(5==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});_.ServiceDataAvailability=n.length>0,_.financialForm.controls.unsold_stock_lies_in_days.setValue(1==_.ServiceDataAvailability?"NA":"")}else _.ServiceDataAvailability=!1}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinancialInfoPage"),this.getDetails(),this.getPDImages()},l.prototype.AllCalculation=function(l,n){console.log("all",l),1==l.controls.estimate_profit_or_loss.value&&"yes"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_profit_range_from.value&&""!=l.controls.estimate_profit_range_to.value&&(console.log("calculate marginP"),this.calculateMarginProfit(n,l)),1==l.controls.estimate_profit_or_loss.value&&"no"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_net_profit_from.value&&""!=l.controls.estimate_net_profit_to.value&&(console.log("calculate Profit "),this.calculateProfitAmount(n,l)),2==l.controls.estimate_profit_or_loss.value&&"yes"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_loss_range_from.value&&""!=l.controls.estimate_loss_range_to.value&&(console.log("calculate marginL"),this.calculateMarginLoss(n,l)),2==l.controls.estimate_profit_or_loss.value&&"no"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_net_loss_from.value&&""!=l.controls.estimate_net_loss_to.value&&(console.log("calculate Loss"),this.calculateLossAmount(n,l))},l.prototype.selectedStatement=function(l){if("yes"==l)this.isDisplay=!0,this.financialForm.controls.is_financial_customer.setValue("");else if("no"==l){this.isDisplay=!1,this.financialForm.controls.is_financial_customer.setValue("no");for(var n=this.financialForm.controls.date_per_financial;0!==n.length;)n.removeAt(0);this.financialForm.controls.estimated_value.push(this.createValue("")),this.financialForm.controls.financial_starting_year.setValue(""),this.financialForm.controls.financial_no_of_year.setValue("")}},l.prototype.selectedFinancialCustomer=function(l){if("yes"==l)for(var n=this.financialForm.controls.estimated_value;0!==n.length;)n.removeAt(0);else if("no"==l){(n=this.financialForm.controls.estimated_value).push(this.createValue(""))}},l.prototype.selectedProfitOrLossType=function(l,n){1==l.value?(n.controls.financial_net_loss.setValue(""),n.controls.financial_margin_of_loss.setValue("")):2==l.value&&(n.controls.financial_net_profit.setValue(""),n.controls.financial_margin_of_profit.setValue(""))},l.prototype.dynamicalFinYear=function(l){var n=this.financialForm.controls.financial_no_of_year.value;if(null!=n&&""!=n){this.customerCommentsFlag=1!=n;for(var e=this.financialForm.controls.financial_starting_year.value,u=this.financialForm.controls.date_per_financial;0!==u.length;)u.removeAt(0);if(n>0)for(var t=1;t<=n;t++){u.push(this.createDate(t-1+ +e+"-"+(+e+ +t)))}}},l.prototype.initFinancialForm=function(){this.financialForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId,company_id:this.company_id,fk_createdby:this.users,financial_remarks:[""],is_financial_statements:[""],is_financial_customer:[""],financial_starting_year:["",EP.y.compose([EP.y.minLength(4),EP.y.maxLength(4)])],financial_no_of_year:[""],financial_reason:[""],financial_customer:[""],receive_the_money_in_days:[""],pay_the_money_in_days:[""],unsold_stock_lies_in_days:[""],is_there_working_capital_available:[""],working_capital_facilities_availed:[""],date_per_financial:this.fb.array([]),estimated_value:this.fb.array([]),select_working_capital_facilities_availed:this.fb.array([])})},l.prototype.createDate=function(l){return this.fb.group({financial_year:[l,EP.y.compose([EP.y.pattern(/^[0-9]{4}-[0-9]{2}$/)])],financial_annual_sale:["",EP.y.compose([EP.y.pattern(/^[0-9\(\)]+$/)])],finanical_profit_or_loss:[""],financial_net_profit:["",EP.y.compose([EP.y.pattern(/^-?[1-9]\d*|0$/)])],financial_net_loss:["",EP.y.compose([EP.y.pattern(/^-?[1-9]\d*|0$/)])],financial_margin_of_profit:[""],financial_margin_of_loss:[""],financial_variation:[""],financial_profit_to_sale_variation:[""],financial_annualsales_variation:[""]})},l.prototype.createValue=function(l){return this.fb.group({estimate_sales_from:[""],estimate_sales_to:[""],estimate_sales_average:[""],estimate_profit_or_loss:[""],estimate_net_margin_availablity:[""],estimate_profit_range_from:[""],estimate_profit_range_to:[""],estimate_profit_margin_percent:[""],estimate_profit_margin:[""],estimate_net_profit_from:[""],estimate_net_profit_to:[""],estimate_net_profit_percent:[""],estimate_net_profit:[""],estimate_loss_range_from:[""],estimate_loss_range_to:[""],estimate_loss_margin_percent:[""],estimate_loss_margin:[""],estimate_net_loss_from:[""],estimate_net_loss_to:[""],estimate_net_loss_percent:[""],estimate_net_loss:[""],estimate_reason_for_loss:[""],estimate_posmachine_or_cc_annual_sales:[""]})},l.prototype.submitDetails=function(){var l=this;"AI"==this.CustSegAbbr&&(this.financialForm.removeControl("estimated_value"),this.financialForm.controls.is_financial_customer.setValue("")),1==this.financialForm.value.date_per_financial.finanical_profit_or_loss?(this.financialForm.value.date_per_financial.financial_net_profit.setValidators([EP.y.required]),this.financialForm.value.date_per_financial.financial_net_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_net_loss.clearValidators(),this.financialForm.value.date_per_financial.financial_net_loss.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_profit.setValidators([EP.y.required]),this.financialForm.value.date_per_financial.financial_margin_of_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_loss.clearValidators(),this.financialForm.value.date_per_financial.financial_margin_of_loss.updateValueAndValidity()):2==this.financialForm.value.date_per_financial.finanical_profit_or_loss&&(this.financialForm.value.date_per_financial.financial_net_profit.clearValidators(),this.financialForm.value.date_per_financial.financial_net_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_net_loss.setValidators([EP.y.required]),this.financialForm.value.date_per_financial.financial_net_loss.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_profit.clearValidators(),this.financialForm.value.date_per_financial.financial_margin_of_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_loss.setValidators([EP.y.required]),this.financialForm.value.date_per_financial.financial_margin_of_loss.updateValueAndValidity());var n=this.financialForm.value;"yes"!=n.is_financial_statements||0!=this.picsArrayLength?(n.select_working_capital_facilities_availed=n.select_working_capital_facilities_availed.filter(function(l){return 1==l.exist_status}),"no"==n.is_there_working_capital_available&&(n.select_working_capital_facilities_availed=[],n.bank_guarantee&&delete n.bank_guarantee,n.cash_credit_limit&&delete n.cash_credit_limit,n.factoring&&delete n.factoring,n.forfaiting&&delete n.forfaiting,n.letter_of_credit&&delete n.letter_of_credit,n.od_limit&&delete n.od_limit,n.other_reason_for_working_capital_facilities_availed&&delete n.other_reason_for_working_capital_facilities_availed,n.reason_for_working_capital_facilities_availed&&delete n.reason_for_working_capital_facilities_availed),this.qustCat.saveForm(n).subscribe(function(n){200==n.status?(l.financialForm.markAsUntouched(),l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Warning !! Something went Wrong")},function(n){l.toast.pdTriggerappmessage("Server is not Responding")})):this.toast.pdTriggerappmessage("Photos of Finanical Statements are Required")},l.prototype.getDetails=function(){var l=this,n=this.financialForm.controls.date_per_financial,e=this.financialForm.controls.estimated_value,u=this.financialForm.controls.select_working_capital_facilities_availed,t={};t.parent_pdid=this.pdDetails.parent_pd_id,t.pd_id=this.pdDetails.pd_id,t.pd_form_id=this.FormId,t.company_id=this.company_id,this.qustCat.retiverForm(t).subscribe(function(t){if(1==t.dataStatus){var a=t.records;if("yes"==t.records.is_financial_statements){l.isDisplay=!0;var i=Object.keys(t.records.date_per_financial).map(function(l){return t.records.date_per_financial[l]});i.length>0?(l.customerCommentsFlag=1!=i.length,i.forEach(function(e,u){l.FY_annualSalesInwords[u]=l.cons.convertNumberToWords(e.financial_annual_sale),l.FY_netProfitAmtInwords[u]=l.cons.convertNumberToWords(e.financial_net_profit),l.FY_netLossAmtInwords[u]=l.cons.convertNumberToWords(e.financial_net_loss),n.push(l.createDate(""))}),a.date_per_financial=i):n.push(l.createDate(""))}if("AI"!=l.CustSegAbbr){if("no"==t.records.is_financial_customer){var o=Object.keys(t.records.estimated_value).map(function(l){return t.records.estimated_value[l]});o.length>0?(o.forEach(function(n,u){l.AV_SalesInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_average)),l.AV_SalesFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_from)),l.AV_SalesToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_to)),l.AV_marginProfitAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_profit_from)),l.AV_netProfitAmtToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_profit_to)),l.AV_netProfitAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_profit)),l.AV_marginLossAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_loss_margin)),l.AV_netLossAmtFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_loss_from)),l.AV_netLossAmtToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_loss_to)),l.AV_netLossAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_loss)),l.AV_CCAnnualSalesAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_posmachine_or_cc_annual_sales)),e.push(l.createValue(""))}),a.estimated_value=o):e.push(l.createValue(""))}}else"AI"==l.CustSegAbbr&&(a.estimated_value=[]);a.parent_pdid=l.pdDetails.parent_pd_id,a.pdid=l.pdDetails.pd_id,a.company_id=l.company_id,a.fk_createdby=l.users,a.formid=l.FormId;var r=l.av.map(function(l){return{name:l.name,id:l.id}}),_=[];a.select_working_capital_facilities_availed&&(_=Object.keys(a.select_working_capital_facilities_availed).map(function(l){return a.select_working_capital_facilities_availed[l].id}));(d=r.map(function(l){return l.id}).map(function(l,n){return _.indexOf(l)<0?(r[n].exist_status=0,r[n]):(r[n].exist_status=1,r[n])}).filter(function(l){return void 0!=l})).length>0&&(d.forEach(function(n){u.push(l.workingCptl(n)),1==n.exist_status&&2==n.id&&l.financialForm.addControl("bank_guarantee",new EP.h("")),1==n.exist_status&&3==n.id&&l.financialForm.addControl("cash_credit_limit",new EP.h("")),1==n.exist_status&&4==n.id&&l.financialForm.addControl("factoring",new EP.h("")),1==n.exist_status&&5==n.id&&l.financialForm.addControl("forfaiting",new EP.h("")),1==n.exist_status&&6==n.id&&l.financialForm.addControl("letter_of_credit",new EP.h("")),1==n.exist_status&&7==n.id&&l.financialForm.addControl("od_limit",new EP.h("")),1==n.exist_status&&1==n.id&&(l.financialForm.addControl("other_reason_for_working_capital_facilities_availed",new EP.h("")),l.financialForm.addControl("reason_for_working_capital_facilities_availed",new EP.h("")))}),a.select_working_capital_facilities_availed=d),l.financialForm.setValue(a),0==l.ServiceDataAvailability&&"NA"==a.unsold_stock_lies_in_days&&l.financialForm.controls.unsold_stock_lies_in_days.setValue("")}else{console.log("didN`T get the api");var d,s=l.av.map(function(l){return{name:l.name,id:l.id}}),c=[];(d=s.map(function(l){return l.id}).map(function(l,n){return c.indexOf(l)<0?(s[n].exist_status=0,s[n]):(s[n].exist_status=1,s[n])}).filter(function(l){return void 0!=l})).length>0&&d.forEach(function(n){u.push(l.workingCptl(n))})}})},l.prototype.workingCptl=function(l){return this.fb.group({id:[l.id,EP.y.compose([EP.y.required])],name:[l.name,EP.y.compose([EP.y.required])],exist_status:[1==l.exist_status]})},l.prototype.changeWorkingCapitalFacilities=function(l){1==l.value.exist_status&&2==l.value.id?(console.log("event.value.exist_status == true && event.value.id == 2",l.value.exist_status,l.value.id),this.financialForm.removeControl("bank_guarantee")):0==l.value.exist_status&&2==l.value.id&&(console.log("event.value.exist_status == true && event.value.id == 2",l.value.exist_status,l.value.id),this.financialForm.addControl("bank_guarantee",new EP.h(""))),1==l.value.exist_status&&3==l.value.id?this.financialForm.removeControl("cash_credit_limit"):0==l.value.exist_status&&3==l.value.id&&this.financialForm.addControl("cash_credit_limit",new EP.h("")),1==l.value.exist_status&&4==l.value.id?this.financialForm.removeControl("factoring"):0==l.value.exist_status&&4==l.value.id&&this.financialForm.addControl("factoring",new EP.h("")),1==l.value.exist_status&&5==l.value.id?this.financialForm.removeControl("forfaiting"):0==l.value.exist_status&&5==l.value.id&&this.financialForm.addControl("forfaiting",new EP.h("")),1==l.value.exist_status&&6==l.value.id?this.financialForm.removeControl("letter_of_credit"):0==l.value.exist_status&&6==l.value.id&&this.financialForm.addControl("letter_of_credit",new EP.h("")),1==l.value.exist_status&&7==l.value.id?this.financialForm.removeControl("od_limit"):0==l.value.exist_status&&7==l.value.id&&this.financialForm.addControl("od_limit",new EP.h("")),1==l.value.exist_status&&1==l.value.id?(this.financialForm.removeControl("other_reason_for_working_capital_facilities_availed"),this.financialForm.removeControl("reason_for_working_capital_facilities_availed")):0==l.value.exist_status&&1==l.value.id&&(this.financialForm.addControl("other_reason_for_working_capital_facilities_availed",new EP.h("")),this.financialForm.addControl("reason_for_working_capital_facilities_availed",new EP.h("")))},l.prototype.calculationForFinanicalStatement=function(){var l=this.financialForm.controls.date_per_financial,n="",e=[],u=[],t="",a="",i="",o="",r="",_="",d="";l.value.forEach(function(s,c){var m=l.controls[c];if(r=s.financial_annual_sale,0!=c){if(""!=r){var p=(r-n)/n*100,f=p!=1/0?Number.isNaN(p)?0:p.toFixed(2):0;m.controls.financial_annualsales_variation.setValue(f)}}else m.controls.financial_annualsales_variation.setValue(0);if(n=r,_=s.financial_net_profit,d=s.financial_net_loss,(""!=_||""!=d)&&0!=c)if(+_>+r)m.controls.financial_margin_of_profit.setValue("");else{d=0!=s.financial_net_loss?-1*s.financial_net_loss:s.financial_net_loss,a=0!=a?-1*a:a;var h=((""!=_?_:d)-(""!=t?t:a))/(""!=t?Math.abs(t):Math.abs(a))*100,g=h!=1/0?Number.isNaN(h)?0:h.toFixed(2):0;m.controls.financial_variation.setValue(g)}t=""!=s.financial_net_profit?s.financial_net_profit:0,a=""!=s.financial_net_loss?s.financial_net_loss:0;var b=s.finanical_profit_or_loss;if(1==b?(o="",m.controls.financial_margin_of_loss.setValue(""),""!=r&&""!=s.financial_net_profit&&(+_>+r?(alert("profit is greater than Annual Sale "),m.controls.financial_net_profit.setValue(0),m.controls.financial_margin_of_profit.setValue(""),m.controls.financial_profit_to_sale_variation.setValue(""),m.controls.financial_variation.setValue("")):m.controls.financial_margin_of_profit.setValue((i=s.financial_net_profit/s.financial_annual_sale*100)!=1/0?Number.isNaN(i)?0:i.toFixed(2):0))):2==b&&(i="",m.controls.financial_margin_of_profit.setValue(""),""!=r&&""!=s.financial_net_loss&&(+s.financial_net_loss>+r&&(alert("Loss is greater than Annual Sale "),m.controls.financial_net_loss.setValue(0),m.controls.financial_margin_of_loss.setValue(""),m.controls.financial_profit_to_sale_variation.setValue(""),m.controls.financial_variation.setValue("")),+d>+r?(m.controls.financial_net_loss.setValue(0),m.controls.financial_margin_of_loss.setValue(""),m.controls.financial_profit_to_sale_variation.setValue(""),m.controls.financial_variation.setValue("")):m.controls.financial_margin_of_loss.setValue((o=s.financial_net_loss/s.financial_annual_sale*100*-1)!=1/0?Number.isNaN(o)?0:o.toFixed(2):0))),e[c]=""!=i?i:0,u[c]=""!=o?o:0,(""!=i||""!=o)&&0!=c){o=void 0!==o?o:0,i=void 0!==i?i:0;var v=void 0!==u[c-1]?u[c-1]:0,y=void 0!==e[c-1]?e[c-1]:0;if(""!=r){var C=""!=i?parseFloat(i.toFixed(2)):""!=o?parseFloat(o.toFixed(2)):0,w=0!=y?parseFloat(y.toFixed(2)):0!=v?parseFloat(v.toFixed(2)):0,F=0!=y?Math.abs(parseFloat(y.toFixed(2))):0!=v?Math.abs(parseFloat(v.toFixed(2))):0,x=C-w,k=100*(parseFloat(x.toFixed(2))/F),S=k!=1/0?Number.isNaN(k)?0:k!=-1/0?k.toFixed(2):0:0;m.controls.financial_profit_to_sale_variation.setValue(S)}}})},l.prototype.confirmAlert=function(l,n){var e=+n.value.estimate_sales_from,u=+n.value.estimate_sales_to;if(null!=e&&null!=u){if(+e>+u)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_sales_to.setValue(""),void n.controls.estimate_sales_average.setValue("");var t=(u-e)/e*100;if(e<=5e6)if(t>20){if(1!=confirm("Given Sales Range is greater than 20%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else if(e>5e6&&e<=1e7)if(t>15){if(1!=confirm("Given Sales Range is greater than 15%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else if(e>1e7)if(t>10){if(1!=confirm("Given Sales Range is greater than 10%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}this.calculateSalesAverage(l,n)},l.prototype.calculateSalesAverage=function(l,n){var e=n.value.estimate_sales_from,u=n.value.estimate_sales_to;if(""!=e&&""!=u){var t=+e+ +e/10,a=(+u+ +e)/2;t>a?(n.controls.estimate_sales_average.setValue(a!=1/0?a.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(a))):(n.controls.estimate_sales_average.setValue(t!=1/0?t.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(t)))}else n.controls.estimate_sales_average.setValue("")},l.prototype.calculateMarginProfit=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_profit_range_from.setValue(""),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var u=n.value.estimate_profit_range_from;if(+u>100)return this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"),n.controls.estimate_profit_range_from.setValue(""),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var t=n.value.estimate_profit_range_to;if(+t>100)return this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var a=(t+u)/2,i=a*e/100;if(t-u>3){if(1!=confirm("Given Profit Percent Range is greater than 3"))return n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");n.controls.estimate_profit_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_profit_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}n.controls.estimate_profit_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_profit_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}},l.prototype.calculateProfitAmount=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_net_profit_from.setValue(""),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");var u=n.value.estimate_net_profit_from,t=n.value.estimate_net_profit_to;if(+t>+e)return this.toast.pdTriggerappmessage("Given Profit is Greater than Sales"),n.controls.estimate_net_profit_from.setValue(""),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");var a=(t-u)/u*100,i=+u+ +u/10,o=(+t+ +u)/2;if(u<=5e6){if(a>=20){if(1!=confirm("Given Profit Range is greater than 20%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>5e6||u<=1e7){if(a>=15){if(1!=confirm("Given Sales Range is greater than 15%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>1e7){if(a>=10){if(1!=confirm("Given Sales Range is greater than 10%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0),i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);var r;n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}},l.prototype.calculateMarginLoss=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var u=n.value.estimate_loss_range_from;if(+u>100)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var t=n.value.estimate_loss_range_to;if(+t>100)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100 "),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var a=(t+u)/2,i=a*e/100;if(t-u>3){if(1!=confirm("Given Loss Percent Range is greater than 3"))return n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");n.controls.estimate_loss_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_loss_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}n.controls.estimate_loss_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_loss_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}},l.prototype.calculateLossAmount=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_net_loss_from.setValue(""),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");var u=n.value.estimate_net_loss_from,t=n.value.estimate_net_loss_to;if(+t>+e)return this.toast.pdTriggerappmessage("Given Loss is Greater than Sales"),n.controls.estimate_net_loss_from.setValue(""),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given To value is Lower than From Value"),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");var a=(t-u)/u*100,i=+u+ +u/10,o=(+t+ +u)/2;if(u<=5e6){if(a>=20){if(1!=confirm("Given Profit Range is greater than 20%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>5e6||u<=1e7){if(a>=15){if(1!=confirm("Given Sales Range is greater than 15%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>1e7){if(a>=10){if(1!=confirm("Given Sales Range is greater than 10%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0),i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);var r;n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9\.]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.FY_annualSalesInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.FY_netProfitAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 3:this.FY_netLossAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 4:this.AV_annualSalesInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 5:this.AV_netProfitAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 6:this.AV_netLossAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 7:this.AV_netProfitAmtFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 8:this.AV_netProfitAmtToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 9:this.AV_netLossAmtFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 10:this.AV_netLossAmtToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 11:this.AV_SalesFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 12:this.AV_SalesToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 13:this.AV_CCAnnualSalesAmtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(l.picsArrayLength=n.records.length,console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.captureTheFinancialPics=function(l){"yes"==l&&0==this.picsArrayLength?alert("You Must Take The Finanical Pic"):alert("No Need")},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.cons.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=nT([Object(fP.k)({selector:"page-pd-question-financial-info",templateUrl:"pd-question-financial-info.html",encapsulation:fP._2.None}),eT("design:paramtypes",[hP.s,hP.t,NP,lD,GP,EP.g,TP,JP,rD])],l)}(),tT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},aT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},iT=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=t,this.fb=a,this.loading=i,this.cameraProvider=o,this.constantProvider=r,this.submitted=!1,this.m_paymentType=[],this.companyRelationShipList=[],this.titleList=[],this.noRecordsFound=!1,this.errorMessage="",this.m_manufacturingProducts=[],this.m_tradingProducts=[],this.m_suplierProducts=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.manufacturingForm=!1,this.tradingForm=!1,this.serviceProviderForm=!1,this.mfgCreditCardFlag=!1,this.trdCreditCardFlag=!1,this.spCreditCardFlag=!1,this.mfgCounter=[],this.trdCounter=[],this.spCounter=[],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.company_id=this.pdDetails.company_id,this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid,this.company_id).subscribe(function(l){if(l.dataStatus){var n=l.records;_.m_manufacturingProducts=n.type_of_activity.filter(function(l){if(2==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()}),_.m_suplierProducts=n.type_of_activity.filter(function(l){if(5==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});var e=Object.keys(n.type_of_activity).map(function(l){return n.type_of_activity[l]});e.length>0&&e.forEach(function(l){3==l.type_of_activity_id&&l.prodcuts&&_.m_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&_.m_tradingProducts.push(l.prodcuts)}),_.m_tradingProducts=[].concat.apply([],_.m_tradingProducts),_.initFormLoadDetails(n.type_of_activity)}else _.toast.pdTriggerappmessage("No Category Records Found.!"),_.noRecordsFound=!1,_.errorMessage=l.msg},function(l){_.toast.pdTriggerappmessage("No Category Records Found.!"),_.noRecordsFound=!1,_.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList(),this.complete_status="COMPLETED"==this.pdDetails.pd_status,console.log("form values",this.clientInfoForm)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionClientInfoPage"),this.getPDImages()},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.parent_pdid=this.pdDetails.parent_pd_id,e.pd_id=this.pdid,e.pd_form_id=this.formDetails.form_id,e.company_id=this.company_id,this.qustCat.retiverForm(e).subscribe(function(e){if(e.dataStatus){var u=e.records;if(void 0!==u){n.clientInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});if(l.filter(function(l){return 2==l.type_of_activity_id}).length>0)if(u.manufacturing_details){console.log(u);n.initManufacturingProductsDetails(u.manufacturing_details[0].main_raw_materials),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(u.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit||null)}else console.log("NO Data",u),n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0)if(u.trade_details){n.initTradingProductsDetails(u.trade_details[0].trading_products),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trade_details[0].trading_products_total_payments_percent_on_credit||null)}else n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0)if(u.service_provider_details){n.initServiceProviderProductsDetails(t=u.service_provider_details[0].service_products),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(u.service_provider_details[0].service_products_total_payments_percent_on_credit||null)}else n.initServiceProviderProductsDetails(null),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null);l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}else{n.clientInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0){var t=Object.keys(u.service_products).map(function(l){return u.service_products[l]});n.initServiceProviderProductsDetails(t),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null)}l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}}else{n.clientInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.initServiceProviderProductsDetails(null),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}},function(l){})},l.prototype.manufacturingFormCreation=function(l){return l.filter(function(l){return 2==l.type_of_activity_id}).length>0?(this.manufacturingForm=!0,this.fb.group({main_raw_materials:this.fb.array([]),main_raw_materials_total_payments_percent_on_credit:[]})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_products:this.fb.array([]),trading_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.serviceProviderFormCreation=function(l){return l.filter(function(l){return 5==l.type_of_activity_id}).length>0?(this.serviceProviderForm=!0,this.fb.group({service_products:this.fb.array([]),service_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.initManufacturingProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials;null===l?e.push(this.initManufacturingProducts(null)):l.forEach(function(l,u){n.checkCard(l.manufacturing_payment_type,1,u),e.push(n.initManufacturingProducts(l))})},l.prototype.initManufacturingProducts=function(l){return this.fb.group(null===l?{manufacturing_product_name:[""],manufacturing_client_name:[""],manufacturing_contact_person_name:[""],manufacturing_contact_person_mobile_number:[""],manufacturing_payment_type:[""],manufacturing_payment_mode:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""],manufacturing_credit_days_from:[""],manufacturing_credit_days_to:[""]}:{manufacturing_product_name:[l.manufacturing_product_name||null],manufacturing_client_name:[l.manufacturing_client_name||null],manufacturing_contact_person_name:[l.manufacturing_contact_person_name||null],manufacturing_contact_person_mobile_number:[l.manufacturing_contact_person_mobile_number||null],manufacturing_payment_type:[l.manufacturing_payment_type||null],manufacturing_payment_mode:[l.manufacturing_payment_mode||null],manufacturing_credit_days:[l.manufacturing_credit_days||null],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null],manufacturing_credit_days_from:[l.manufacturing_credit_days_from||null],manufacturing_credit_days_to:[l.manufacturing_credit_days_to||null]})},l.prototype.initTradingProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products;null===l?e.push(this.initTradingProducts(null)):l.forEach(function(l,u){n.checkCard(l.trade_product_payment_type,2,u),e.push(n.initTradingProducts(l))})},l.prototype.initTradingProducts=function(l){return this.fb.group(null===l?{trade_product_name:[""],trade_client_name:[""],trade_product_contact_person_name:[""],trade_product_contact_person_mobile_number:[""],trade_product_payment_type:[""],trade_product_payment_mode:[""],trade_product_frequency_of_purchase:[""],trade_product_credit_days_from:[""],trade_product_credit_days_to:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""]}:{trade_product_name:[l.trade_product_name],trade_client_name:[l.trade_client_name],trade_product_contact_person_name:[l.trade_product_contact_person_name],trade_product_contact_person_mobile_number:[l.trade_product_contact_person_mobile_number],trade_product_payment_type:[l.trade_product_payment_type],trade_product_payment_mode:[l.trade_product_payment_mode],trade_product_frequency_of_purchase:[l.trade_product_frequency_of_purchase],trade_product_credit_days_from:[l.trade_product_credit_days_from],trade_product_credit_days_to:[l.trade_product_credit_days_to],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null]})},l.prototype.initServiceProviderProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products;null===l?e.push(this.initServiceProviderProducts(null)):l.forEach(function(l,u){n.checkCard(l.service_provider_product_payment_type,3,u),e.push(n.initServiceProviderProducts(l))})},l.prototype.initServiceProviderProducts=function(l){return this.fb.group(null===l?{service_provider_product_name:[""],service_provider_client_name:[""],service_provider_product_contact_person_name:[""],service_provider_product_contact_person_mobile_number:[""],service_provider_product_payment_type:[""],service_provider_product_payment_mode:[""],service_provider_product_frequency_of_purchase:[""],service_provider_product_credit_days_from:[""],service_provider_product_credit_days_to:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""]}:{service_provider_product_name:[l.service_provider_product_name],service_provider_client_name:[l.service_provider_client_name],service_provider_product_contact_person_name:[l.service_provider_product_contact_person_name],service_provider_product_contact_person_mobile_number:[l.service_provider_product_contact_person_mobile_number],service_provider_product_payment_type:[l.service_provider_product_payment_type],service_provider_product_payment_mode:[l.service_provider_product_payment_mode],service_provider_product_frequency_of_purchase:[l.service_provider_product_frequency_of_purchase],service_provider_product_credit_days_from:[l.service_provider_product_credit_days_from],service_provider_product_credit_days_to:[l.service_provider_product_credit_days_to],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null]})},l.prototype.addMoreRawMaterials=function(l){this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.push(this.initManufacturingProducts(null))},l.prototype.removeRawMaterials=function(l){this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.removeAt(l)},l.prototype.addMoretradeProduct=function(l){this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products.push(this.initTradingProducts(null))},l.prototype.removeTradingProduct=function(l){this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products.removeAt(l)},l.prototype.addMoreServiceProduct=function(l){this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products.push(this.initServiceProviderProducts(null))},l.prototype.removeServiceProduct=function(l){this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products.removeAt(l)},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.companyRelationShipList=n.records}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.titleList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PAYMENTMODE").subscribe(function(n){l.m_paymentType=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.saveClientInfoWithImageCheck=function(l){var n=this;console.log("forms",l);var e=this.mandatoryImageCheck(l);if(console.log("required image check",e),e)this.saveClientInfo(l);else{var u=this.toast.setAlert("Mandatory photographs not taken"," Do you want to take it later?");u.present(),u.onDidDismiss(function(e){if("s"!=e)return!0;n.saveClientInfo(l)})}},l.prototype.saveClientInfo=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),null==l.manufacturing_details[0]&&delete l.manufacturing_details,null==l.trade_details[0]&&delete l.trade_details,null==l.service_provider_details[0]&&delete l.service_provider_details,Object.keys(l).forEach(function(n){null!==l[n]&&void 0!==l[n]&&""!==l[n]||delete l[n]}),this.qustCat.saveForm(l).subscribe(function(l){200==l.status?(n.clientInfoForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.selectedPersonDesignation=function(l,n,e){},l.prototype.checkCard=function(l,n,e){3==n&&3==l?this.spCounter[e]=1:3==n&&3!=l&&(this.spCounter[e]=0);var u=this.spCounter.reduce(function(l,n){return l+ +n},0);this.spCreditCardFlag=u>0,2==n&&3==l?this.trdCounter[e]=1:2==n&&3!=l&&(this.trdCounter[e]=0);var t=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=t>0,1==n&&3==l?this.mfgCounter[e]=1:1==n&&3!=l&&(this.mfgCounter[e]=0);var a=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=a>0},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.captureTheClientPics=function(l,n,e){var u=this;""!=e?(this.cameraProvider.getpicture().then(function(t){"error"!=t&&u.constantProvider.getGeoTag().then(function(a){console.log("geo promise",a),u.imageBucket.push({image:t,Name:e+" - "+l+" "+(n+1),link:a})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"):""==e&&alert("Please Fill The Client Name")},l.prototype.mandatoryImageCheck=function(l){var n=this,e=[];0!=l.manufacturing_details.length&&null!=l.manufacturing_details[0]&&0!=l.manufacturing_details[0].main_raw_materials.length&&l.manufacturing_details[0].main_raw_materials.forEach(function(l,n){e.push({index:n+1,name:l.manufacturing_client_name+" - Manufacturing Product "+(n+1)})}),0!=l.service_provider_details.length&&null!=l.service_provider_details[0]&&0!=l.service_provider_details[0].service_products.length&&l.service_provider_details[0].service_products.forEach(function(l,n){e.push({index:n+1,name:l.service_provider_client_name+" - Service Provider "+(n+1)})}),0!=l.trade_details.length&&null!=l.trade_details[0]&&0!=l.trade_details[0].trading_products.length&&l.trade_details[0].trading_products.forEach(function(l,n){e.push({index:n+1,name:l.trade_client_name+" - Trading Product "+(n+1)})}),console.log("Form Values",e);var u,t=0,a=[],i=[];if(0!=e.length){e.forEach(function(l){n.imageDisplay.forEach(function(n){l.name!=n.Name?u=!0:(u=!1,t++),t>=2&&0==u?a.push(l.name):i.push(l.name)}),1==u&&console.log("Form name",l.name),i.push(l.name)}),a.forEach(function(l){i=i.filter(function(n){return n!=l})});var o=function(l){return l.filter(function(n,e){return l.indexOf(n)===e})};return console.log("uniw",o(i)),!(o(i).length>0)}return!0},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constantProvider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=tT([Object(fP.k)({selector:"page-pd-question-client-info",templateUrl:"pd-question-client-info.html"}),aT("design:paramtypes",[hP.s,hP.t,GP,NP,lD,EP.g,rD,JP,TP])],l)}(),oT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},rT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},_T=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.toast=a,this.cons=i,this.salesData=[],this.annual=[],this.annualSaleAmtInwords=[],this.marginAmtInwords=[],this.marginFinalAmtInwords=[],this.ratePerUnitAmtInwords=[],this.margin_calculation_status=[],this.check_type=[{type_id:"1",type_name:"Quantity and Rate Information"},{type_id:"2",type_name:"Value Information"}],this.product_and_services=[],this.complete_status=!1,this.UOMData=[],this._onDestroy=new wP.Subject,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({salesCalItemwise:this.fb.array([])}),this.salesData=this.navParams.get("sales"),null!=this.salesData?this.getSalesItemData(this.salesData):this.addSalesCal(),this.getdropList(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedSalesPage")},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.UOM=n.records.filter(function(l){return 1==l.isactive}),l.UOMData=l.UOM.slice())}),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(1==n.dataStatus){var e=n.records,u=Object.keys(e.type_of_activity).map(function(l){return e.type_of_activity[l]});u.length>0&&u.forEach(function(n){2==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),3==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),4==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),5==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts)}),console.log("before",l.product_and_services),l.product_and_services=[].concat.apply([],l.product_and_services),console.log("After",l.product_and_services)}})},l.prototype.createSalesCal=function(){return this.fb.group({sci_id:[null],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],sales_item:[null,EP.y.compose([EP.y.required])],other_sales_item:[null],sales_qty:[null,EP.y.compose([EP.y.required])],sales_type:["1"],fk_uom_id:[null,EP.y.compose([EP.y.required])],uomSearch:[null],uom_other:[null],rate_per_unit:[null,EP.y.compose([EP.y.required])],fk_frequency_id:[null,EP.y.compose([EP.y.required])],annual_sale_value:[null],margin_per:[null],margin_per_uom:[null],margin_final_value:[null],comments:[null]})},l.prototype.addSalesCal=function(){if(this.assessedForm.valid){this.assessedForm.get("salesCalItemwise").push(this.createSalesCal())}else this.toast.pdTriggerappmessage("Enter the all fields")},l.prototype.removeSalesCal=function(l,n){var e=this;console.log("value",n),this.annual.splice(l,1),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0),console.log(this.grandTotal),console.log("pd",this.pdDetails);if(null!=n.sci_id&&null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomeSalesCalculatedByItemwise",{records:[{sci_id:n.sci_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.assessedForm.get("salesCalItemwise");1==u.length?(u.removeAt(l),this.addSalesCal()):u.removeAt(l)},l.prototype.salecalculat=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if(""!=n.rate_per_unit&&null!=n.rate_per_unit&&(console.log("Rate Per value",n.rate_per_unit),this.inWords(n.rate_per_unit,l,4)),""!=n.sales_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){console.log("Frequency",n.fk_frequency_id);var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id}),t=parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor);e.controls[l].controls.annual_sale_value.setValue(parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor)),this.inWords(t,l,1)}else e.controls[l].controls.annual_sale_value.setValue("");!0===this.margin_calculation_status&&(""==n.margin_per_uom&&""!=n.margin_per?this.salesMarginPerCalculation(l,this.assessedForm.value.salesCalItemwise[l]):this.salesMarginAmtCalculation(l,this.assessedForm.value.salesCalItemwise[l]))},l.prototype.salesCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if("1"==n.sales_type&&""!=n.sales_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_sale_value.setValue((parseFloat(n.sales_qty)*parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,1)}else if("2"==n.sales_type&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_sale_value.setValue((parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,1)}else e.controls[l].controls.annual_sale_value.setValue("");!0===this.margin_calculation_status&&(""==n.margin_per_uom&&""!=n.margin_per?this.salesMarginPerCalculation(l,this.assessedForm.value.salesCalItemwise[l]):this.salesMarginAmtCalculation(l,this.assessedForm.value.salesCalItemwise[l]))},l.prototype.salesMarginPerCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;e.controls[l].controls.margin_per_uom.setValue(""),""!=n.margin_per&&""!=n.annual_sale_value&&null!=n.margin_per&&null!=n.annual_sale_value?(e.controls[l].controls.margin_final_value.setValue((parseFloat(n.annual_sale_value)*(parseFloat(n.margin_per)/100)).toFixed(2)),this.inWords(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100),l,3)):e.controls[l].controls.margin_final_value.setValue("")},l.prototype.salesMarginAmtCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if(e.controls[l].controls.margin_per.setValue(""),"1"==n.sales_type&&""!=n.margin_per_uom&&null!=n.margin_per_uom&&""!=n.sales_qty&&null!=n.sales_qty&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id}),t=parseFloat(n.sales_qty)*parseFloat(n.margin_per_uom)*parseFloat(u[0].mutiple_factor);e.controls[l].controls.margin_final_value.setValue(t.toFixed(2)),this.inWords(t.toFixed(2),l,3)}else if("2"==n.sales_type&&""!=n.margin_per_uom&&null!=n.margin_per_uom&&""!=n.rate_per_unit&&null!=n.rate_per_unit){var a=parseFloat(n.rate_per_unit)*parseFloat(n.margin_per_uom);e.controls[l].controls.margin_final_value.setValue(a.toFixed(2)),this.inWords(a.toFixed(2),l,3)}else e.controls[l].controls.margin_final_value.setValue("")},l.prototype.getSalesCalc=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;e.controls[l].controls.margin_per_uom.setValue(""),""!=n.margin_per&&""!=n.annual_sale_value&&null!=n.margin_per&&null!=n.annual_sale_value?(e.controls[l].controls.margin_final_value.setValue(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100)),this.inWords(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100),l,3)):e.controls[l].controls.margin_final_value.setValue("")},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.annualSaleAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 2:this.marginAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 3:this.marginFinalAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 4:console.log("Rate",l),this.ratePerUnitAmtInwords[n]=this.cons.convertNumberToWords(l)}},l.prototype.saveData=function(l){var n=this;if(this.assessedForm.valid){l.salesCalItemwise.forEach(function(l){delete l.uomSearch});var e={records:l.salesCalItemwise};console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesCalculatedByItemwise",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else console.log(l),this.toast.pdTriggerappmessage("Please Fill all the Fields")},l.prototype.getSalesItemData=function(l){var n=this;console.log(l);var e=this.assessedForm.get("salesCalItemwise");l.forEach(function(l,u){n.annual[u]=l.annual_sale_value,e.push(n.createSaleswithData(l)),null!=l.rate_per_unit&&(n.ratePerUnitAmtInwords[u]=n.cons.convertNumberToWords(l.rate_per_unit)),null!=l.annual_sale_value&&(n.annualSaleAmtInwords[u]=n.cons.convertNumberToWords(l.annual_sale_value)),null!=l.margin_per_uom&&(n.marginAmtInwords[u]=n.cons.convertNumberToWords(l.margin_per_uom)),null!=l.margin_final_value&&(n.marginFinalAmtInwords[u]=n.cons.convertNumberToWords(l.margin_final_value)),n.changeOptions(u,l.sales_type)}),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0)},l.prototype.changeOptions=function(l,n){console.log("ai");var e=this.assessedForm.controls.salesCalItemwise;"1"==n.value?(e.controls[l].controls.fk_frequency_id.setValue(""),e.controls[l].controls.fk_frequency_id.clearValidators(),e.controls[l].controls.fk_frequency_id.updateValueAndValidity(),e.controls[l].controls.annual_sale_value.setValue(""),e.controls[l].controls.annual_sale_value.clearValidators(),e.controls[l].controls.annual_sale_value.updateValueAndValidity(),e.controls[l].controls.rate_per_unit.setValue(""),e.controls[l].controls.rate_per_unit.clearValidators(),e.controls[l].controls.rate_per_unit.updateValueAndValidity(),e.controls[l].controls.sales_qty.setValidators([EP.y.required]),e.controls[l].controls.sales_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValidators([EP.y.required]),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),this.salesCalculation(l,e.controls[l].value)):"2"==n.value&&(e.controls[l].controls.sales_qty.setValue(""),e.controls[l].controls.sales_qty.clearValidators(),e.controls[l].controls.sales_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValue(""),e.controls[l].controls.fk_uom_id.clearValidators(),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),e.controls[l].controls.margin_per_uom.setValue(""),this.salesCalculation(l,e.controls[l].value))},l.prototype.createSaleswithData=function(l){return this.fb.group({sci_id:[l.sci_id],company_id:[this.pdDetails.company_id],fk_pd_id:[this.pdDetails.pd_id],sales_item:[l.sales_item,EP.y.compose([EP.y.required])],other_sales_item:[l.other_sales_item],sales_type:[l.sales_type,EP.y.compose([EP.y.required])],sales_qty:[l.sales_qty,EP.y.compose([EP.y.required])],fk_uom_id:[l.fk_uom_id,EP.y.compose([EP.y.required])],uomSearch:[null],uom_other:[l.uom_other],rate_per_unit:[l.rate_per_unit,EP.y.compose([EP.y.required])],fk_frequency_id:[l.fk_frequency_id,EP.y.compose([EP.y.required])],annual_sale_value:[l.annual_sale_value],margin_per:[l.margin_per],margin_per_uom:[l.margin_per_uom],margin_final_value:[l.margin_final_value],comments:[l.comments]})},l.prototype.searchUOM=function(l,n){var e=this;l.controls.uomSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){if(e.UOM){var n=l.controls.uomSearch.value;n?(n=n.toLowerCase(),e.UOMData=e.UOM.filter(function(l){return l.name.toLowerCase().indexOf(n)>-1})):e.UOMData=e.UOM.slice()}})},l=oT([Object(fP.k)({selector:"page-pd-question-assessed-sales",templateUrl:"pd-question-assessed-sales.html"}),rT("design:paramtypes",[hP.s,hP.t,NP,EP.g,GP,lD,TP])],l)}(),dT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},sT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},cT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.constant=i,this.pipe=new mD.e("en-US"),this.Value=[],this.marginAmtInwords=[],this.frequencyData=[],this.freqAmtInwords=[],this.check_type=[{type_id:"1",type_name:"Date Information"},{type_id:"2",type_name:"Frequency Information"}],this.product_and_services=[],this.complete_status=!1,this.temparr=[],this.tempdate=[];var o=new Date;console.log("today",o);var r=o.getDate()<10?"0"+o.getDate():o.getDate(),_=o.getMonth()<10?"0"+(o.getMonth()+1):o.getMonth()+1;this.maxDate=o.getFullYear()+"-"+_+"-"+r,console.log("max",this.maxDate),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.salesDaily=this.navParams.get("salesDaily"),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.currentDate=i.getcurrentDate().replace("T00:00",""),this.salesDailyForm=this.fb.group({sales_product:this.fb.array([])}),null!=this.salesDaily?this.getDailySalesData(this.salesDaily):this.adddailySalaesProduct(),this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDailySalesPage")},l.prototype.getDropDown=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){l.frequencyData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(1==n.dataStatus){var e=n.records,u=Object.keys(e.type_of_activity).map(function(l){return e.type_of_activity[l]});u.length>0&&u.forEach(function(n){2==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),3==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),4==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),5==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts)}),console.log("before",l.product_and_services),l.product_and_services=[].concat.apply([],l.product_and_services),console.log("After",l.product_and_services)}})},l.prototype.changeOptions=function(l,n){console.log("event",n);var e=this.salesDailyForm.controls.sales_product;console.log("control",e);var u=e.controls[l].get("child");if("1"==n){for(var t=0;t0&&""!=n.margin_per&&null!=n.margin_per){var t=n.child.filter(function(l){return""!=l.sales_date&&null!=l.sales_date&&void 0!=l.sales_date&&""!=l.sales_value&&1==l.isactive}).map(function(l){return l.custum_date=e.pipe.transform(l.sales_date,"yyyy-MM"),l});if(console.log("transform",t),t.length>0){var a=t.map(function(l){return l.custum_date}).filter(function(l,n,e){return n===e.indexOf(l)}),i=t.map(function(l){return l.sales_value}).reduce(function(l,n){return parseFloat(l)+parseFloat(n)});console.log("value",(parseFloat(i)*(parseFloat(n.margin_per)/100)*(12/parseFloat(a.length))).toFixed(2)),console.log(u.controls[l]),u.controls[l].controls.margin_value.setValue((parseFloat(i)*(parseFloat(n.margin_per)/100)*(12/parseFloat(a.length))).toFixed(2)),this.inWords(parseInt(i)*(parseInt(n.margin_per)/100)*(12/parseInt(a.length)),l,2)}else console.log("else 1"),u.controls[l].controls.margin_value.setValue("");console.log("else 1")}else console.log("else 2"),u.controls[l].controls.margin_value.setValue("")}else if(!0===this.margin_calculation_status&&"2"==n.sales_type){var o=(u=this.salesDailyForm.controls.sales_product).controls[l].get("child");if(""!=n.child[n.child.length-1].fk_frequency_id&&""!=n.child[n.child.length-1].frequency_value&&null!=n.child[n.child.length-1].fk_frequency_id&&null!=n.child[n.child.length-1].frequency_value){var r=this.frequencyData.filter(function(l){return l.frequency_id==n.child[n.child.length-1].fk_frequency_id});o.controls[o.value.length-1].controls.sales_value.setValue((parseFloat(r[0].mutiple_factor)*parseFloat(n.child[n.child.length-1].frequency_value)).toFixed(2)),this.inWords(parseInt(r[0].mutiple_factor)*parseInt(n.child[n.child.length-1].frequency_value),o.value.length-1,1);i=parseFloat(r[0].mutiple_factor)*parseFloat(n.child[n.child.length-1].frequency_value);""!=n.margin_per&&u.controls[l].controls.margin_value.setValue((i*(parseFloat(n.margin_per)/100)).toFixed(2)),""!=n.margin_per&&this.inWords(i*(parseInt(n.margin_per)/100),l,2)}else o.controls[o.value.length-1].controls.sales_value.setValue(""),u.controls[l].controls.margin_value.setValue("")}else if(!1===this.margin_calculation_status&&"2"==n.sales_type){o=(u=this.salesDailyForm.controls.sales_product).controls[l].get("child");if(""!=n.child[n.child.length-1].fk_frequency_id&&""!=n.child[n.child.length-1].frequency_value&&null!=n.child[n.child.length-1].fk_frequency_id&&null!=n.child[n.child.length-1].frequency_value){r=this.frequencyData.filter(function(l){return l.frequency_id==n.child[n.child.length-1].fk_frequency_id});o.controls[o.value.length-1].controls.sales_value.setValue((parseFloat(r[0].mutiple_factor)*parseFloat(n.child[n.child.length-1].frequency_value)).toFixed(2)),this.inWords(parseInt(r[0].mutiple_factor)*parseInt(n.child[n.child.length-1].frequency_value),o.value.length-1,1)}else o.controls[o.value.length-1].controls.sales_value.setValue("")}},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.constant.convertNumberToWords(l);break;case 2:this.marginAmtInwords[n]=this.constant.convertNumberToWords(l);break;case 3:this.freqAmtInwords[n]=this.constant.convertNumberToWords(l)}},l.prototype.adddailySalaesProduct=function(){if(this.tempdate=[],this.salesDailyForm.valid){var l=this.salesDailyForm.get("sales_product");l.push(this.createdailysalesProduct()),this.adddailyChildSaleProduct(l.length-1)}},l.prototype.adddailyChildSaleProduct=function(l){this.salesDailyForm.get("sales_product").at(l).get("child").push(this.createdailyChildSaleProduct())},l.prototype.deletedailySalesProduct=function(l,n){var e=this;console.log("fk_pd_id",n),this.tempdate.slice(l,1);if(null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomeMonthwiseItems",{records:[{sim_id:n.sim_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.salesDailyForm.controls.sales_product;1==u.length?this.salesDailyForm.controls.sales_product.reset():u.removeAt(l)},l.prototype.deletedailyChildSaleProduct=function(l,n,e){var u=this.salesDailyForm.controls.sales_product;u=u.controls[l].get("child"),""==e||null==e?u.removeAt(n):(console.log("control",u.controls[n]),u.controls[n].get("isactive").setValue(!1))},l.prototype.saveData=function(l){var n=this;if(l.sales_product.forEach(function(l){l.child.forEach(function(l){l.custum_date&&delete l.custum_date,l.sales_date&&(l.sales_date=n.pipe.transform(l.sales_date,"yyyy-MM-dd"))})}),this.salesDailyForm.valid){var e={records:l.sales_product};console.log("answer Data",e),this.qustCat.saveassessedForms("saveAssessedIncomeMonthwiseItems",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else console.log("pd",this.salesDailyForm),this.toast.pdTriggerappmessage("Please Fill all the Fields")},l.prototype.getDailySalesData=function(l){var n=this;console.log("daily sale",l);var e,u=this.salesDailyForm.get("sales_product"),t=[];l.forEach(function(l,a){null!=l.margin_per&&""!=l.margin_per&&(console.log("c",parseInt(l.margin_per).toFixed(2)),l.margin_per=parseInt(l.margin_per).toFixed(2)),null!=l.margin_value&&""!=l.margin_value&&(l.margin_value=parseInt(l.margin_value).toFixed(2)),u.push(n.dailySalesWithData(l)),null!=l.margin_value&&(n.marginAmtInwords[a]=n.constant.convertNumberToWords(l.margin_value)),e=n.salesDailyForm.controls.sales_product.at(a).get("child"),t[a]=Object.keys(l.items).map(function(n){return l.items[n]}),t[a].forEach(function(u,t){u.forEach(function(u,a){if(console.log("item",u,"key",a),2!=l.sales_type){var i=new Date(u.sales_date),o=i.getDate()<10?"0"+i.getDate():i.getDate(),r=i.getMonth()<10?"0"+(i.getMonth()+1):i.getMonth()+1;console.log("sale Day",i.getDay()),u.sales_date=i.getFullYear()+"-"+r+"-"+o}console.log("itme",l),console.log("sale",u.sales_date),e.push(n.dailySalesChildWithData(u,l.sim_id,l.sales_type)),null!=u.sales_value&&(n.Value[t]=n.constant.convertNumberToWords(u.sales_value)),null!=u.frequency_value&&(n.freqAmtInwords[t]=n.constant.convertNumberToWords(u.frequency_value))})}),"2"==l.sales_type&&(e.controls[e.value.length-1].controls.sales_date.setValue(""),e.controls[e.value.length-1].controls.sales_date.clearValidators(),e.controls[e.value.length-1].controls.sales_date.updateValueAndValidity(),e.controls[e.value.length-1].controls.fk_frequency_id.setValidators([EP.y.required]),e.controls[e.value.length-1].controls.fk_frequency_id.updateValueAndValidity(),e.controls[e.value.length-1].controls.frequency_value.setValidators([EP.y.required]),e.controls[e.value.length-1].controls.frequency_value.updateValueAndValidity())}),console.log("aall",this.salesDailyForm.value)},l.prototype.dailySalesWithData=function(l){return this.fb.group({sim_id:[l.sim_id],sales_item:[l.sales_item],other_sales_item:[l.other_sales_item],sales_type:[l.sales_type],child:this.fb.array([]),fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],fk_createdby:[this.users],isactive:[!0],margin_per:[null==l.margin_per?"":l.margin_per],margin_value:[null==l.margin_value?"":l.margin_value],comments:[l.comments]})},l.prototype.dailySalesChildWithData=function(l,n,e){return console.log("Sales type",e),this.fb.group({simc_id:[l.simc_id],fk_sim_id:[n],sales_date:[2==e?"":l.sales_date],sales_value:[l.sales_value],fk_frequency_id:[l.fk_frequency_id],frequency_value:[l.frequency_value],isactive:[!0]})},l=dT([Object(fP.k)({selector:"page-pd-question-assessed-daily-sales",templateUrl:"pd-question-assessed-daily-sales.html"}),sT("design:paramtypes",[hP.s,hP.t,NP,GP,lD,EP.g,TP])],l)}(),mT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},pT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},fT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.fb=n,this.navParams=e,this.qustCat=u,this.toast=t,this.aws=a,this.cons=i,this.annual=[],this.RateOfPurchase=[],this.AnnualPurchase=[],this.productListData=[],this.UOMData=[],this.check_type=[{type_id:"1",type_name:"Quantity and Rate Information"},{type_id:"2",type_name:"Value Information"}],this.complete_status=!1,this._onDestroy=new wP.Subject,this.pdDetails=this.navParams.get("pdDetails"),this.purchaseDetails=this.navParams.get("purchase"),console.log("purchase",this.purchaseDetails),console.log("pd",this.pdDetails),this.users=this.aws.getlocale(),this.rawMaterialForm=this.fb.group({purchase:this.fb.array([])}),null!=this.purchaseDetails?this.getpurchaseDetails(this.purchaseDetails):this.addPurchaseDetails(),this.getdropList(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedPurchasePage")},l.prototype.createPurchaseDetails=function(){return this.fb.group({purchase_id:[null],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],purchase_item:[null,EP.y.compose([EP.y.required])],other_purchase_item:[null],purchase_type:["1"],purchase_qty:[null,EP.y.compose([EP.y.required])],fk_uom_id:[null,EP.y.compose([EP.y.required])],uomSearch:[null],uom_other:[null],rate_per_unit:[null,EP.y.compose([EP.y.required])],fk_frequency_id:[null,EP.y.compose([EP.y.required])],annual_purchase_value:[null,EP.y.compose([EP.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.UOM=n.records.filter(function(l){return 1==l.isactive}),l.UOMData=l.UOM.slice())}),this.qustCat.getcommondrop("BUSINESSEXPENSES").subscribe(function(n){1==n.dataStatus&&(l.businessExpenses=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(n.dataStatus){var e=n.record;e.from_business.filter(function(l){return 2==l.type_of_activity_id})[0].hasOwnProperty("products");var u=e.from_business.filter(function(l){return 3==l.type_of_activity_id});u[0].hasOwnProperty("products")&&l.productListData.push(u[0].products);var t=e.from_business.filter(function(l){return 4==l.type_of_activity_id});t[0].hasOwnProperty("products")&&l.productListData.push(t[0].products),e.from_supplier.hasOwnProperty("raw_material")&&l.productListData.push(e.from_supplier.raw_material),l.productListData=[].concat.apply([],l.productListData)}})},l.prototype.addPurchaseDetails=function(){this.rawMaterialForm.controls.purchase.push(this.createPurchaseDetails())},l.prototype.deletePurchaseDetails=function(l,n){var e=this;this.annual.splice(l,1),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0);if(null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomePurchaseDetails",{records:[{purchase_id:n.purchase_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.rawMaterialForm.controls.purchase;1==u.length?u.reset():u.removeAt(l)},l.prototype.purchaseCalculation=function(l,n){var e=this.rawMaterialForm.controls.purchase;if(null!=n.rate_per_unit&&""!=n.rate_per_unit&&this.inWords(n.rate_per_unit,l,1),"1"==n.purchase_type&&""!=n.purchase_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.purchase_qty&&null!=n.rate_per_unit&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_purchase_value.setValue((parseFloat(n.purchase_qty)*parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.purchase_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,2)}else if("2"==n.purchase_type&&""!=n.rate_per_unit&&null!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_purchase_value.setValue((parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_purchase_value.setValue(null)},l.prototype.savepurchaseData=function(l){var n=this;if(l.purchase.forEach(function(l){delete l.uomSearch}),this.rawMaterialForm.valid){l.purchase.forEach(function(l){delete l.uomSearch});var e={records:l.purchase};console.log("data",e),this.qustCat.saveassessedForms("saveAssessedIncomePurchaseDetails",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getpurchaseDetails=function(l){var n=this;console.log("function in",l);var e=this.rawMaterialForm.controls.purchase;console.log(e),0==l.length?(console.log("if"),this.addPurchaseDetails()):(console.log("else"),l.forEach(function(l,u){e.push(n.createPurchasewithData(l)),n.annual[u]=l.annual_purchase_value,null!=l.rate_per_unit&&(n.RateOfPurchase[u]=n.cons.convertNumberToWords(l.rate_per_unit)),null!=l.annual_purchase_value&&(n.AnnualPurchase[u]=n.cons.convertNumberToWords(l.annual_purchase_value))}),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0))},l.prototype.createPurchasewithData=function(l){return this.fb.group({purchase_id:[l.purchase_id],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],purchase_item:[l.purchase_item,EP.y.compose([EP.y.required])],other_purchase_item:[l.other_purchase_item],purchase_type:[l.purchase_type],purchase_qty:[l.purchase_qty,EP.y.compose([EP.y.required])],fk_uom_id:[l.fk_uom_id,EP.y.compose([EP.y.required])],uomSearch:[null],uom_other:[l.uom_other],rate_per_unit:[l.rate_per_unit,EP.y.compose([EP.y.required])],fk_frequency_id:[l.fk_frequency_id,EP.y.compose([EP.y.required])],annual_purchase_value:[l.annual_purchase_value,EP.y.compose([EP.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.changeOptions=function(l,n){console.log("event",n);var e=this.rawMaterialForm.controls.purchase;"1"==n.value?(e.controls[l].controls.purchase_qty.setValidators([EP.y.required]),e.controls[l].controls.purchase_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValidators([EP.y.required]),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),this.purchaseCalculation(l,e.controls[l].value)):"2"==n.value&&(e.controls[l].controls.purchase_qty.setValue(""),e.controls[l].controls.purchase_qty.clearValidators(),e.controls[l].controls.purchase_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValue(""),e.controls[l].controls.fk_uom_id.clearValidators(),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),this.purchaseCalculation(l,e.controls[l].value))},l.prototype.searchUOM=function(l,n){var e=this;l.controls.uomSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){if(e.UOM){var n=l.controls.uomSearch.value;n?(n=n.toLowerCase(),e.UOMData=e.UOM.filter(function(l){return l.name.toLowerCase().indexOf(n)>-1})):e.UOMData=e.UOM.slice()}})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.RateOfPurchase[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualPurchase[n]=this.cons.convertNumberToWords(l)}},l=mT([Object(fP.k)({selector:"page-pd-question-assessed-purchase",templateUrl:"pd-question-assessed-purchase.html"}),pT("design:paramtypes",[hP.s,EP.g,hP.t,GP,lD,NP,TP])],l)}(),hT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},gT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},bT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.Value=[],this.AnnualExpenses=[],this.complete_status=!1,this.grandExpenseTotal=[],this.expenseannual=[],this.pdDetails=this.navParams.get("pdDetails"),this.expenseDetails=this.navParams.get("expense"),this.users=this.aws.getlocale(),this.BuissnessForm=this.fb.group({busExpense:this.fb.array([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.grandpurchaseTotal=function(l){throw new Error("Method not implemented.")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BUSINESSEXPENSES").subscribe(function(n){1==n.dataStatus&&(l.businessExpenses=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedBusinessPage")},l.prototype.createBusinessDetails=function(){return this.fb.group({pd_expense_id:[null],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],expense_item_id:[null,EP.y.compose([EP.y.required])],other_expense_item:[null],expense_value:[null,EP.y.compose([EP.y.required])],fk_frequency_id:[null,EP.y.compose([EP.y.required])],annual_expenses_value:[null,EP.y.compose([EP.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.businessCalculation=function(l,n){var e=this.BuissnessForm.controls.busExpense;if(""!=n.expense_value&&""!=n.fk_frequency_id&&null!=n.expense_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_expenses_value.setValue((parseFloat(n.expense_value)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_expenses_value.setValue(null)},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busExpense.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l,n){var e=this;console.log("item",n),this.expenseannual.splice(l,1),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0);if(null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomeBusinessExpenses",{records:[{pd_expense_id:n.pd_expense_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.BuissnessForm.controls.busExpense;1==u.length?u.reset():u.removeAt(l)},l.prototype.busExpensecalculat=function(l,n){var e,u=n.value.fk_frequency_id,t=n.value.expense_value;null!=t?(1==u||(2==u?(this.expenseannual[l]=e=250*t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2)):3==u?(this.expenseannual[l]=e=t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2)):4==u||5==u&&(this.expenseannual[l]=e=12*t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2))),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0)):this.toast.pdTriggerappmessage("Enter the Amount and Frequency")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){this.qustCat.saveassessedForms("saveAssessedIncomeBusinessExpenses",{records:l.busExpense}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getBuisnessExpenses=function(l){var n=this;if(0==l.length)this.addBusinessDetails();else{var e=this.BuissnessForm.controls.busExpense;l.forEach(function(l,u){n.expenseannual[u]=l.annual_expenses_value,e.push(n.createBusinessExpensewithData(l)),null!=l.expense_value&&(n.Value[u]=n.cons.convertNumberToWords(l.expense_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_expenses_value))}),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createBusinessExpensewithData=function(l){return this.fb.group({pd_expense_id:[l.pd_expense_id],fk_pd_id:[this.pdDetails.pd_id],expense_item_id:[l.expense_item_id,EP.y.compose([EP.y.required])],other_expense_item:[l.other_expense_item||""],expense_value:[l.expense_value,EP.y.compose([EP.y.required])],fk_frequency_id:[l.fk_frequency_id,EP.y.compose([EP.y.required])],annual_expenses_value:[l.annual_expenses_value,EP.y.compose([EP.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=hT([Object(fP.k)({selector:"page-pd-question-assessed-business",templateUrl:"pd-question-assessed-business.html"}),gT("design:paramtypes",[hP.s,hP.t,EP.g,NP,GP,lD,TP])],l)}(),vT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},yT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},CT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.toast=t,this.qustCat=a,this.cons=i,this.houseannual=[],this.grandHouseExpenseTotal=[],this.Value=[],this.AnnualExpenses=[],this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.houseExpenseDetails=this.navParams.get("FormId"),this.expenseDetails=this.navParams.get("expense"),this.users=this.aws.getlocale(),this.houseHoldForm=this.fb.group({houseExpense:this.fb.array([])}),null!=this.expenseDetails?this.getHouseholdExpense(this.expenseDetails):this.addHouseExpenses(),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedHouseholdPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.createHouseExpense=function(){return this.fb.group({household_expense_id:[null],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],expense_item:[null,EP.y.compose([EP.y.required])],expense_value:[null,EP.y.compose([EP.y.required])],fk_frequency_id:[null,EP.y.compose([EP.y.required])],annual_expense_value:[null,EP.y.compose([EP.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.addHouseExpenses=function(){this.houseHoldForm.controls.houseExpense.push(this.createHouseExpense())},l.prototype.deleteHouseExpense=function(l,n){var e=this;this.houseannual.splice(l,1),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0);if(null!=n.household_expense_id){this.qustCat.saveassessedForms("saveAssessedIncomeHouseholdExpenses",{records:[{household_expense_id:n.household_expense_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.houseHoldForm.controls.houseExpense;1==u.length?u.reset():u.removeAt(l)},l.prototype.houseExpensecalculat=function(l,n){var e=this.houseHoldForm.controls.houseExpense;if(""!=n.expense_value&&""!=n.fk_frequency_id&&null!=n.expense_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_expense_value.setValue((parseFloat(n.expense_value)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_expense_value.setValue(null)},l.prototype.saveHouseExpenseData=function(l){var n=this;if(this.houseHoldForm.valid){this.qustCat.saveassessedForms("saveAssessedIncomeHouseholdExpenses",{records:l.houseExpense}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getHouseholdExpense=function(l){var n=this;if(0==l.length)this.addHouseExpenses();else{var e=this.houseHoldForm.controls.houseExpense;l.forEach(function(l,u){n.houseannual[u]=l.annual_expense_value,e.push(n.createHouseholdwithData(l)),null!=l.expense_value&&(n.Value[u]=n.cons.convertNumberToWords(l.expense_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_expense_value))}),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createHouseholdwithData=function(l){return this.fb.group({household_expense_id:[l.household_expense_id],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],expense_item:[l.expense_item,EP.y.compose([EP.y.required])],expense_value:[l.expense_value,EP.y.compose([EP.y.required])],fk_frequency_id:[l.fk_frequency_id,EP.y.compose([EP.y.required])],annual_expense_value:[l.annual_expense_value,EP.y.compose([EP.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=vT([Object(fP.k)({selector:"page-pd-question-assessed-household",templateUrl:"pd-question-assessed-household.html"}),yT("design:paramtypes",[hP.s,hP.t,EP.g,NP,lD,GP,TP])],l)}(),wT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},FT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},xT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.m_freqOfPurchase=[],this.grandIncomeTotal=[],this.incomeannual=[],this.Value=[],this.AnnualExpenses=[],this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.expenseDetails=this.navParams.get("income"),this.users=this.aws.getlocale(),this.BuissnessForm=this.fb.group({busIncome:this.fb.array([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BUSINESSINCOME").subscribe(function(n){1==n.dataStatus&&(l.businessIncome=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedBusinessIncomePage")},l.prototype.createBusinessDetails=function(){return this.fb.group({pd_business_income_id:[null],fk_pd_id:[this.pdDetails.pd_id],business_income_id:[null,EP.y.compose([EP.y.required])],income_value:[null,EP.y.compose([EP.y.required])],fk_frequency_id:[null,EP.y.compose([EP.y.required])],annual_income_value:[null,EP.y.compose([EP.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users],other_income_item:[null],other_frequncy_item:[null]})},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busIncome.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l){this.incomeannual.splice(l,1),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0);this.BuissnessForm.controls.busIncome.removeAt(l)},l.prototype.busIncomecalculate=function(l,n){var e=this.BuissnessForm.controls.busIncome;if(""!=n.income_value&&""!=n.fk_frequency_id&&null!=n.income_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_income_value.setValue(parseInt(n.income_value)*parseInt(u[0].mutiple_factor)),this.inWords(parseInt(n.income_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_income_value.setValue("")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){this.qustCat.saveassessedForms("saveOtherBusinessIncome",{records:l.busIncome}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getBuisnessExpenses=function(l){var n=this;if(0==l.length)this.addBusinessDetails();else{var e=this.BuissnessForm.controls.busIncome;l.forEach(function(l,u){n.incomeannual[u]=l.annual_income_value,e.push(n.createBusinessExpensewithData(l)),null!=l.income_value&&(n.Value[u]=n.cons.convertNumberToWords(l.income_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_income_value))}),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createBusinessExpensewithData=function(l){return this.fb.group({pd_business_income_id:[l.pd_business_income_id],fk_pd_id:[this.pdDetails.pd_id],business_income_id:[l.business_income_id,EP.y.compose([EP.y.required])],income_value:[l.income_value,EP.y.compose([EP.y.required])],fk_frequency_id:[l.fk_frequency_id,EP.y.compose([EP.y.required])],annual_income_value:[l.annual_income_value,EP.y.compose([EP.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users],other_income_item:[l.other_income_item],other_frequncy_item:[l.other_frequncy_item]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=wT([Object(fP.k)({selector:"page-pd-question-assessed-business-income",templateUrl:"pd-question-assessed-business-income.html"}),FT("design:paramtypes",[hP.s,hP.t,EP.g,NP,GP,lD,TP])],l)}(),kT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ST=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},IT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.quesCat=t,this.toast=a,this.cons=i,this.pipe=new mD.e("en-US"),this.productListData=[],this.purchaseAmtInWords=[],this.complete_status=!1;var o=new Date;console.log("today",o);var r=o.getDate()<10?"0"+o.getDate():o.getDate(),_=o.getMonth()<10?"0"+(o.getMonth()+1):o.getMonth()+1;this.maxDate=o.getFullYear()+"-"+_+"-"+r,console.log("max",this.maxDate),this.pdDetails=this.navParams.get("pdDetails"),console.log("pd",this.pdDetails),this.formId=this.navParams.get("FormId"),this.purchaseData=this.navParams.get("purchaseDaily"),console.log("data",this.purchaseData),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.purchaseItemForm=this.fb.group({purchase_product:this.fb.array([])}),this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDailyPurchasePage"),null!=this.purchaseData?this.getDailyPurchase(this.purchaseData):this.addPurchase()},l.prototype.getDropDown=function(){var l=this;this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(n.dataStatus){var e=n.record;e.from_business.filter(function(l){return 2==l.type_of_activity_id})[0].hasOwnProperty("products");var u=e.from_business.filter(function(l){return 3==l.type_of_activity_id});u[0].hasOwnProperty("products")&&l.productListData.push(u[0].products);var t=e.from_business.filter(function(l){return 4==l.type_of_activity_id});t[0].hasOwnProperty("products")&&l.productListData.push(t[0].products),e.from_supplier.hasOwnProperty("raw_material")&&l.productListData.push(e.from_supplier.raw_material),l.productListData=[].concat.apply([],l.productListData)}})},l.prototype.addPurchase=function(){var l=this.purchaseItemForm.get("purchase_product");l.push(this.createDailyPurchase()),this.addDailyPurchaseChild(l.length-1)},l.prototype.createDailyPurchase=function(){return this.fb.group({fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],pbw_id:[""],purchase_item:["",EP.y.compose([EP.y.required])],other_purchase_item:[""],annual_purchase_value:[""],child:this.fb.array([]),comments:[""],isactive:[!0]})},l.prototype.addDailyPurchaseChild=function(l){this.purchaseItemForm.get("purchase_product").at(l).get("child").push(this.createDailyPurchaseChild(""))},l.prototype.createDailyPurchaseChild=function(l){return this.fb.group({pbwc_id:[""],fk_pbw_id:[l],purchase_date:[""],purchase_value:["",EP.y.compose([EP.y.required])],isactive:[!0]})},l.prototype.createPurchaseItemWithData=function(l){return this.fb.group({fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],pbw_id:[l.pbw_id],purchase_item:[l.purchase_item,EP.y.compose([EP.y.required])],other_purchase_item:[null===l.other_purchase_item?"":l.other_purchase_item],annual_purchase_value:[l.annual_purchase_value],child:this.fb.array([]),comments:[l.comments],isactive:[!0]})},l.prototype.createDailyPurchaseWithData=function(l,n){return console.log("dd",new Date(this.pipe.transform(l.purchase_date,"yyyy-MM-dd"))),this.fb.group({pbwc_id:[l.pbwc_id],fk_pbw_id:[n.pbw_id],purchase_date:[l.purchase_date],purchase_value:[l.purchase_value,EP.y.compose([EP.y.required])],isactive:[!0]})},l.prototype.inWords=function(l,n){console.log("value",l),""!=l&&(this.purchaseAmtInWords[n]=this.cons.convertNumberToWords(l))},l.prototype.purchaseCalculation=function(l,n){var e=this,u=this.purchaseItemForm.controls.purchase_product;if(n.child.length>0){var t=n.child.filter(function(l){return""!=l.purchase_date&&null!=l.purchase_date&&void 0!=l.purchase_date&&""!=l.purchase_value&&!0===l.isactive}).map(function(l){return l.custum_date=e.pipe.transform(l.purchase_date,"yyyy-MM"),l});if(t.length>0){var a=t.map(function(l){return l.purchase_value}).reduce(function(l,n){return parseInt(l)+parseInt(n)});u.controls[l].controls.annual_purchase_value.setValue(a)}else u.controls[l].controls.annual_purchase_value.setValue("")}else{var i=u.controls[l].get("child");i.controls[i.value.length-1].controls.purchase_value.setValue(""),u.controls[l].controls.annual_purchase_value.setValue("")}},l.prototype.addDailyPurchase=function(l){var n=this.purchaseItemForm.get("purchase_product");n.push(this.createDailyPurchase());n.at(l).get("child").push(this.createDailyPurchaseChild(""))},l.prototype.removeDailyPurchase=function(l){this.purchaseItemForm.get("purchase_product").removeAt(l)},l.prototype.addChild=function(l,n){var e=this.purchaseItemForm.controls.purchase_product;(e=e.controls[l].get("child")).push(this.createDailyPurchaseChild(n.pbw_id))},l.prototype.removeChild=function(l,n,e){var u=this.purchaseItemForm.controls.purchase_product;if(u=u.controls[l].get("child"),""==e.pbwc_id||null==e.pbwc_id){u.removeAt(n);this.purchaseCalculation(l,this.purchaseItemForm.controls.purchase_product.controls[l].value)}else{u.controls[n].controls.isactive.setValue(!1);this.purchaseCalculation(l,this.purchaseItemForm.controls.purchase_product.controls[l].value)}},l.prototype.getDailyPurchase=function(l){var n=this,e=this.purchaseItemForm.get("purchase_product");l.forEach(function(l,u){var t=[],a=[];e.push(n.createPurchaseItemWithData(l)),console.log("records",l);var i=Object.assign.apply(Object,[{}].concat(l.items));console.log("result",i),a[u]=Object.keys(l.items).map(function(n){return l.items[n]}),console.log("purchasechildcontrol",a[u]),t[u]=Object.keys(i).map(function(l){return i[l]}),console.log("nexcontrol",t[u]);var o=e.at(u).get("child");t[u].forEach(function(e,u){e.forEach(function(e,t){if(e.purchase_date){var a=new Date(e.purchase_date);console.log(a.getDay()),console.log(a.getDate());var i=a.getDate()<10?"0"+a.getDate():a.getDate(),r=a.getMonth()<10?"0"+(a.getMonth()+1):a.getMonth()+1;console.log("datamonth"),console.log(i,r),e.purchase_date=a.getFullYear()+"-"+r+"-"+i,console.log(e.purchase_date)}""!=e.purchase_value&&n.inWords(e.purchase_value,u),console.log("child",e),o.push(n.createDailyPurchaseWithData(e,l))})})})},l.prototype.submitDetails=function(l){var n=this;l.purchase_product.forEach(function(l){l.child.forEach(function(l){l.custum_date&&delete l.custum_date,l.purchase_date&&(l.purchase_date=n.pipe.transform(l.purchase_date,"yyyy-MM-dd"))})});this.quesCat.saveassessedForms("saveAssessedIncomePurchaseBillwise",{records:l.purchase_product}).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Record Saved Successfully..!"),setTimeout(function(){n.navCtrl.pop()},1500)):n.toast.pdTriggerappmessage("Error")})},l=kT([Object(fP.k)({selector:"page-pd-question-assessed-daily-purchase",templateUrl:"pd-question-assessed-daily-purchase.html"}),ST("design:paramtypes",[hP.s,hP.t,NP,EP.g,GP,lD,TP])],l)}(),qT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},PT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},DT=function(){function l(l,n,e,u,t,a,i){switch(this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.cons=i,this.check__purchse_type=[{id:"1",name:"Yes"},{id:"2",name:"No"}],this.houseannual=[],this.expenseannual=[],this.sales_item_month_value=[],this.sales_wise_month_headers=[],this.sales_month_wise_data=[],this.grandpurchaseTotal=null,this.annual=[],this.activateMarginCalculation=!1,this.SaleAmtInwords=[],this.marginAmtInwords=[],this.purchase_bill_wise=[],this.purchase_bill_wise_data=[],this.sales_type=[],this.pdDetails=this.navParams.get("pdDetails"),this.pageId=this.navParams.get("pageId"),this.pageId){case 1:this.FormName="Sales Page";break;case 2:this.FormName="Purchase Page";break;case 3:this.FormName="Business Expenses Page";break;case 4:this.FormName="Household Expenses Page";break;default:this.FormName="Question Page"}this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({sdc_id:[null],sales_declared_by_customer:[null],fk_pd_id:[this.pdDetails.pd_id],margin_per:[null],margin_value:[null],comments:[null],isactive:[1],fk_createdby:[this.users]}),this.grossProfitForm=this.fb.group({calc_type_id:[""],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],mode:["",EP.y.compose([EP.y.required])],margin:[""]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedInfoPage")},l.prototype.ionViewDidEnter=function(){},l.prototype.ionViewCanEnter=function(){this.getAssessedDetails()},l.prototype.changeOptions=function(l){this.grossProfitForm.controls.margin.setValue(""),2==l.mode&&this.grossProfitForm.controls.margin.setValue("2")},l.prototype.getMarginCalc=function(){var l=this.assessedForm.controls.margin_per.value;console.log("Margin Per",l);var n=this.assessedForm.controls.sales_declared_by_customer.value;if(null!=l&&null!=n){this.assessedForm.controls.margin_value.setValue(n*(l/100))}},l.prototype.saveData=function(l){var n=this,e={};l.company_id=this.pdDetails.company_id,e={records:l},console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesDeclaredByCustomer",e).subscribe(function(l){1==l.dataStatus&&n.toast.pdTriggerappmessage("Record Saved Successfully.!")}),setTimeout(function(){n.getAssessedDetails()},1500)},l.prototype.salesCalculation=function(l){""!=l.sales_declared_by_customer&&(this.SaleAmtInwords=this.cons.convertNumberToWords(l.sales_declared_by_customer)),""!=l.margin_per&&""!=l.sales_declared_by_customer&&(this.assessedForm.controls.margin_value.setValue((l.sales_declared_by_customer*(l.margin_per/100)).toFixed(2)),this.marginAmtInwords=this.cons.convertNumberToWords(l.sales_declared_by_customer*(l.margin_per/100)))},l.prototype.getAssessedDetails=function(){var l=this;this.sales_item_month_value=[],this.sales_month_wise_data=[],this.sales_item_value=[],this.purchase_bill_wise_data=[];var n={pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id};console.log("company",this.pdDetails.company_id),console.log("getAssesed",n),this.qustCat.retiverassessedForm("getAssessedIncome",n).subscribe(function(n){if(1==n.dataStatus){var e=n.records.sales_declared_by_customer[0];l.sales_item_value=n.records.sales_calculated_by_itemwise,l.totalAnnualSale_Item_wise=l.sales_item_value.map(function(l){return l.annual_sale_value}).reduce(function(l,n){return l+Number(n)},0),console.log("this.sales_item",l.totalAnnualSale_Item_wise),l.sales_item_month_value=n.records.sales_items_by_monthwise,l.purchse_details=n.records.purchase_details,l.totalAnnualpurchase_Item_wise=l.purchse_details.map(function(l){return l.annual_purchase_value}).reduce(function(l,n){return l+Number(n)},0),l.purchase_bill_wise=n.records.purchase_billwise,l.grossprofitCalc=n.records.gross_profit_calculation_type[0],l.purchase_type=l.grossprofitCalc.purchase_type,console.log("gross",l.grossprofitCalc),l.mode=l.grossprofitCalc.mode;var u=n.records.gross_profit_calculation_type.length;console.log("len",u),l.activateMarginCalculation=2==n.records.gross_profit_calculation_type[u-1].margin&&2==n.records.gross_profit_calculation_type[u-1].mode,console.log(l.activateMarginCalculation);var t=l.purchse_details.reduce(function(l,n){return l},[]);console.log(t),l.businessExpenses_details=n.records.business_expenses,l.totalAnnualBusiness_details=l.businessExpenses_details.map(function(l){return l.annual_expenses_value}).reduce(function(l,n){return l+Number(n)},0),l.houseHold_details=n.records.house_hold_expenses,l.totalAnnual_House_hold_details=l.houseHold_details.map(function(l){return l.annual_expense_value}).reduce(function(l,n){return l+Number(n)},0),l.busissnessIncome=n.records.othre_business_income,l.sales_item_month_value.forEach(function(n,e){l.sales_type[e]=n.sales_type;var u=Object.keys(n.items).map(function(l){return{header:l,value:n.items[l]}}),t=[];u.forEach(function(l,n){var e=l.value.reduce(function(l,n){return l+Number(n.sales_value)},0);t.push({items:l,itemsTotal:e})});var a=t.reduce(function(l,n){return l+Number(n.itemsTotal)},0),i=12/t.length,o=[];o.push({month_message:t.length+" Month Sales : "+a,month_value:a,year_message:" Yearly Sales Arrived : "+a*i,year_value:a*i}),l.sales_month_wise_data.push({salesItem:n.sales_item,expandElements:u,footerMessage:o,simId:n.sim_id,otherSaleItem:n.other_sales_item})}),l.purchase_bill_wise.forEach(function(n,e){console.log("0index",n.items[0]);var u=Object.assign.apply(Object,[{}].concat(n.items));console.log("result",u);var t=Object.keys(u).map(function(l){return{header:l,value:u[l]}});console.log("expanBody",t);var a=[];t.forEach(function(l,n){var e=l.value.reduce(function(l,n){return l+Number(n.purchase_value)},0);a.push({items:l,itemsTotal:e})});var i=a.reduce(function(l,n){return l+Number(n.itemsTotal)},0),o=12/a.length,r=[];r.push({month_message:a.length+" Month Sales : "+i,month_value:i,year_message:" Yearly Sales Arrived : "+i*o,year_value:i*o}),l.purchase_bill_wise_data.push({purchaseItem:n.purchase_item,expandElements:t,footerMessage:r,pbw_id:n.pbw_id,otherPurchaseItem:n.other_purchase_item})}),console.log("val purchase0",l.purchase_bill_wise_data),console.log("value",l.sales_month_wise_data),void 0!==e&&(l.assessedForm.controls.sdc_id.setValue(e.sdc_id),l.assessedForm.controls.sales_declared_by_customer.setValue(e.sales_declared_by_customer),l.assessedForm.controls.margin_value.setValue(e.margin_value),l.assessedForm.controls.comments.setValue(e.comments),l.assessedForm.controls.margin_per.setValue(e.margin_per),null!=e.sales_declared_by_customer&&(l.SaleAmtInwords=l.cons.convertNumberToWords(e.sales_declared_by_customer)),null!=e.margin_value&&(l.marginAmtInwords=l.cons.convertNumberToWords(e.margin_value)))}})},l.prototype.grossProfitWithData=function(l){return this.fb.group({calc_type_id:[l.calc_type_id],fk_pd_id:[this.pdDetails.pd_id],company_id:[l.company_id],mode:[l.mode],margin:[l.margin]})},l.prototype.AddAssessedForm=function(){this.navCtrl.push(_T,{pdDetails:this.pdDetails,sales:null,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editDetails=function(l){var n=this.sales_item_value.filter(function(n){return n.sci_id==l});console.log(n),this.navCtrl.push(_T,{pdDetails:this.pdDetails,sales:n,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editAllDetails=function(l){this.navCtrl.push(_T,{pdDetails:this.pdDetails,sales:l,margin_calculation_status:this.activateMarginCalculation})},l.prototype.AddAssessedDailyForm=function(){this.navCtrl.push(cT,{pdDetails:this.pdDetails,salesDaily:null,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editAssessedDailyForm=function(l){var n=this.sales_item_month_value.filter(function(n){return n.sim_id==l});console.log(n),this.navCtrl.push(cT,{pdDetails:this.pdDetails,salesDaily:n,margin_calculation_status:this.activateMarginCalculation})},l.prototype.allEditSalesDailyWise=function(l){this.navCtrl.push(cT,{pdDetails:this.pdDetails,salesDaily:l,margin_calculation_status:this.activateMarginCalculation})},l.prototype.AddPurchaseForm=function(){this.navCtrl.push(fT,{pdDetails:this.pdDetails,purchase:null})},l.prototype.editPurchaseDetails=function(l){var n=this.purchse_details.filter(function(n){return n.purchase_id==l});console.log(n),this.navCtrl.push(fT,{pdDetails:this.pdDetails,purchase:n})},l.prototype.editPurchaseAllDetails=function(l){console.log("260",l),this.navCtrl.push(fT,{pdDetails:this.pdDetails,purchase:l})},l.prototype.AddPurchaseBillWiseForm=function(){this.navCtrl.push(IT,{pdDetails:this.pdDetails,purchaseDaily:null})},l.prototype.alleditPurchaseBillWise=function(l){this.navCtrl.push(IT,{pdDetails:this.pdDetails,purchaseDaily:l})},l.prototype.editPurchaseBillWise=function(l){var n=this.purchase_bill_wise.filter(function(n){return n.pbw_id==l});this.navCtrl.push(IT,{pdDetails:this.pdDetails,purchaseDaily:n})},l.prototype.AddExpenseForm=function(){this.navCtrl.push(bT,{pdDetails:this.pdDetails,expense:null})},l.prototype.editExpenseDetails=function(l){var n=this.businessExpenses_details.filter(function(n){return n.pd_expense_id==l});console.log(n),this.navCtrl.push(bT,{pdDetails:this.pdDetails,expense:n})},l.prototype.editExpenseAllDetails=function(l){this.navCtrl.push(bT,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddHouseExpenseForm=function(){this.navCtrl.push(CT,{pdDetails:this.pdDetails,expense:null})},l.prototype.editHouseExpenseDetails=function(l){var n=this.houseHold_details.filter(function(n){return n.household_expense_id==l});console.log(n),this.navCtrl.push(CT,{pdDetails:this.pdDetails,expense:n})},l.prototype.editHouseExpenseAllDetails=function(l){this.navCtrl.push(CT,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddIncomeForm=function(){this.navCtrl.push(xT,{pdDetails:this.pdDetails,income:null})},l.prototype.editIncomeDetails=function(l){var n=this.busissnessIncome.filter(function(n){return n.pd_business_income_id==l});console.log(n),this.navCtrl.push(xT,{pdDetails:this.pdDetails,income:n})},l.prototype.editIncomeAllDetails=function(l){this.navCtrl.push(xT,{pdDetails:this.pdDetails,income:l})},l=qT([Object(fP.k)({selector:"page-pd-question-assessed-info",templateUrl:"pd-question-assessed-info.html",providers:[ND]}),PT("design:paramtypes",[hP.s,hP.t,NP,GP,lD,EP.g,TP])],l)}(),TT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},OT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},LT=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.loadData=!1,this.pdDetails=this.navParams.get("pdDetails"),this.getAssessedDetails()}return l.prototype.ionViewWillEnter=function(){},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedSummaryPage")},l.prototype.getAssessedDetails=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id}).subscribe(function(n){1==n.dataStatus&&(0!=n.records.final_data.length&&(l.salesCustomer=n.records.final_data[0].sales_declared_by_customer,l.salesItemWise=n.records.final_data[0].sales_calculated_by_itemwise,l.salesMonthWise=n.records.final_data[0].sales_calculated_by_monthwise,l.consolidatedReport=n.records.final_data[0].consolidated_report,console.log(l.salesCustomer)),l.loadData=!0)})},l=TT([Object(fP.k)({selector:"page-pd-question-assessed-summary",templateUrl:"pd-question-assessed-summary.html",providers:[ND]}),OT("design:paramtypes",[hP.s,hP.t,GP])],l)}(),AT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},VT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},NT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.cameraProvider=e,this.loading=u,this.toast=t,this.qustCat=a,this.constantProvider=i,this.imageDisplay=[],this.imageBucket=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("formdetails"),console.log("pd",this.pdDetails,"form",this.FormId)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedImagesPage"),this.getPDImages()},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constantProvider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))})},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){console.log("res",n),1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):(console.log("Fail"),l.toast.pdTriggerappmessage("Fail"))},function(n){console.log(JSON.stringify(n)),l.toast.pdTriggerappmessage(JSON.stringify(n))})},l=AT([Object(fP.k)({selector:"page-pd-question-assessed-images",templateUrl:"pd-question-assessed-images.html"}),VT("design:paramtypes",[hP.s,hP.t,JP,rD,lD,GP,TP])],l)}(),WT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ET=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},jT=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.toast=a,this.alertCtrl=i,this.purchaseBillData=!1,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({calc_type_id:[null],fk_pd_id:[this.pdDetails.pd_id],mode:[null],margin:[null],purchase_type:[null,EP.y.compose([EP.y.required])],fk_createdby:[null],fk_updatedby:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDashPage")},l.prototype.ionViewCanEnter=function(){this.getassessedIncome()},l.prototype.getViewPage=function(l){11==l?this.navCtrl.push(LT,{pdDetails:this.pdDetails,pageId:l}):12==l?this.navCtrl.push(NT,{pdDetails:this.pdDetails,pageId:l,formdetails:this.FormId}):this.navCtrl.push(DT,{pdDetails:this.pdDetails,pageId:l})},l.prototype.saveAssessedForm=function(l){var n=this;if(this.assessedForm.valid){console.log("mode",l.purchase_type.value),1==this.assessedForm.controls.purchase_type.value?(this.assessedForm.controls.mode.setValue(1),this.assessedForm.controls.margin.setValue(null)):2==this.assessedForm.controls.purchase_type.value?(this.assessedForm.controls.mode.setValue(1),this.assessedForm.controls.margin.setValue(null)):0==this.assessedForm.controls.purchase_type.value&&(this.assessedForm.controls.mode.setValue(2),this.assessedForm.controls.margin.setValue(2),this.assessedForm.controls.purchase_type.setValue(null)),null!=this.assessedForm.controls.calc_type_id.value&&this.assessedForm.controls.fk_updatedby.setValue(this.users),null==this.assessedForm.controls.fk_createdby.value&&this.assessedForm.controls.fk_createdby.setValue(this.users),console.log(this.assessedForm.value);var e=this.assessedForm.value;e.company_id=this.pdDetails.company_id,console.log("tempRec",e);this.qustCat.saveassessedForms("saveAssessedIncomeCalculateMode",{records:e}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Saved Successfully..!"),setTimeout(function(){n.getassessedIncome()}))})}},l.prototype.getassessedIncome=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id}).subscribe(function(n){1==n.dataStatus?(l.assessedProcess=!0,l.grossprofit=n.records.gross_profit_calculation_type[0],0!=n.records.purchase_details.length&&(l.purchaseData=!0),0!=n.records.purchase_billwise.length&&(l.purchaseBillData=!0),0==n.records.sales_items_by_monthwise.length&&0==n.records.sales_declared_by_customer.length&&0==n.records.sales_calculated_by_itemwise.length||(l.salesData=!0),0!=n.records.business_expenses.length&&(l.businessData=!0),0!=n.records.house_hold_expenses.length&&(l.houseExpenseData=!0),0!=n.records.othre_business_income.length&&(l.businessIncome=!0),0!=n.records.final_data.length&&(l.finalAccess=!0,l.finalData=n.records.final_data[0],l.finalIncome=l.finalData.income,l.finalExpense=l.finalData.expense),void 0!==l.grossprofit&&0!=l.grossprofit.length&&(l.grossAccess=!0,l.assessedForm.controls.mode.setValue(l.grossprofit.mode),l.assessedForm.controls.purchase_type.setValue(null==l.grossprofit.purchase_type?0:l.grossprofit.purchase_type),l.assessedForm.controls.margin.setValue(l.grossprofit.margin),l.assessedForm.controls.calc_type_id.setValue(l.grossprofit.calc_type_id),l.assessedForm.controls.fk_createdby.setValue(l.grossprofit.fk_createdby))):l.assessedProcess=!1})},l.prototype.completeAI=function(){var l=this;this.qustCat.saveassessedForms("saveAssessedIncomeCalculateMode",{records:{fk_pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id,calc_type_id:this.grossprofit.calc_type_id,is_completed:1}}).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Assessed Income Completed Successfully"),setTimeout(function(){l.navCtrl.pop()},1e3)):l.toast.pdTriggerappmessage("Error")})},l.prototype.presentConfirm=function(){var l=this,n=this.alertCtrl.create({title:"Complete Assessed Income",message:"Please confirm you are completing the Assessed Income details?",buttons:[{text:"No",role:"no",handler:function(){console.log("Cancel clicked")}},{text:"Yes",handler:function(){console.log("Exit"),l.completeAI()}}]});n.present()},l=WT([Object(fP.k)({selector:"page-pd-question-assessed-dash",templateUrl:"pd-question-assessed-dash.html"}),ET("design:paramtypes",[hP.s,hP.t,NP,EP.g,GP,lD,hP.a])],l)}(),$T=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},BT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},RT=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.cameraProvider=i,this.loading=o,this.constantProvider=r,this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.representativeForm=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdDetails.pd_id],formid:[this.FormId.form_id],fk_createdby:[this.users],lender_representative_accompany:["",EP.y.compose([EP.y.required])],representative_remarks:["",EP.y.compose([EP.y.required])],lender_representative_details:this.fb.array([])}),this.getLenderReDetails(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLenderRepresentativePage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.representativeForm.dirty),this.representativeForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.createlenReDetails=function(){return this.fb.group({lender_representative_who_accompanies:["",EP.y.compose([EP.y.required])],lender_representative_carry_loan_files:["",EP.y.compose([EP.y.required])]})},l.prototype.selectedLoanChanges=function(l){if("Yes"==l.value){this.representativeForm.controls.lender_representative_details.push(this.createlenReDetails())}else if("No"==l.value){this.representativeForm.controls.lender_representative_details.removeAt(0)}},l.prototype.sumbitData=function(l){var n=this;if(this.representativeForm.valid){this.qustCat.saveForm(this.representativeForm.value).subscribe(function(l){1==l.dataStatus&&(n.representativeForm.reset(n.representativeForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getLenderReDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;if("Yes"==e.lender_representative_accompany){l.representativeForm.controls.lender_representative_accompany.setValue(e.lender_representative_accompany),l.representativeForm.controls.representative_remarks.setValue(e.representative_remarks);var u=Object.keys(n.records.lender_representative_details).map(function(l){return n.records.lender_representative_details[l]}),t=l.representativeForm.controls.lender_representative_details;u.forEach(function(n){t.push(l.createlenReDetails())}),l.representativeForm.controls.lender_representative_details.setValue(u)}else l.representativeForm.controls.lender_representative_accompany.setValue(e.lender_representative_accompany),l.representativeForm.controls.representative_remarks.setValue(e.representative_remarks)}})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constantProvider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=$T([Object(fP.k)({selector:"page-pd-question-lender-representative",templateUrl:"pd-question-lender-representative.html"}),BT("design:paramtypes",[hP.s,hP.t,NP,GP,lD,EP.g,JP,rD,TP])],l)}(),UT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},MT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},KT=function(){function l(l,n,e,u){this.navCtrl=l,this.navParams=n,this.fb=e,this.viewCtrl=u,this.applicantInfo={pd_co_applicant_id:"0",applicant_name:"",company_name:""},this.otherForm=this.fb.group({otherName:this.fb.array([])}),this.addmore()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionGeneralOtherApplicantPage")},l.prototype.createName=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name,EP.y.required]})},l.prototype.addmore=function(){if(this.otherForm.valid){this.otherForm.controls.otherName.push(this.createName(this.applicantInfo))}},l.prototype.deleteappdata=function(l){var n=this.otherForm.controls.otherName;1==n.length?n.reset():n.removeAt(l)},l.prototype.closeModal=function(){this.viewCtrl.dismiss(1)},l.prototype.submitData=function(l){this.otherForm.valid&&this.viewCtrl.dismiss(this.otherForm.value)},l=UT([Object(fP.k)({selector:"page-pd-question-general-other-applicant",templateUrl:"pd-question-general-other-applicant.html"}),MT("design:paramtypes",[hP.s,hP.t,EP.g,hP.A])],l)}(),HT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},GT=function(){function l(){}return l.prototype.transform=function(l,n){var e=n.existRelationList.filter(function(l){return l.relation_to==n.currentApplicantID});if(e.length>0){return l.filter(function(l){return!e.some(function(e){return l.pd_co_applicant_id==n.currentApplicantID||l.pd_co_applicant_id==e.pd_co_applicant_id})})}return l.filter(function(l){return l.pd_co_applicant_id!=n.currentApplicantID})},l=HT([Object(fP.M)({name:"searchRelation"})],l)}(),zT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},YT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},QT=function(){function l(l,n,e,u,t,a,i,o,r,_){var d=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.modal=i,this.cameraProvider=o,this.loading=r,this.cons=_,this.pipe=new mD.e("en-US"),this.fetch_related_details=[],this.pd_applicants_details=[],this.OldData=[],this.OldData_indi=[],this.complete_status=!1,this.imageBucket=[],this.tab="0",this.cart=[],this.temp=0,this.maxDate=new Date,this.pd_applicants_details=[],this.pd_applicants_details.pop(),this.pdDetails=this.navParams.get("pdDetails"),console.log(this.pdDetails),this.FormId=this.navParams.get("FormId"),this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,console.log("this.customer_segment_abbr",this.customer_segment_abbr),this.users=this.aws.getlocale(),this.getdropdown(),this.generalForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,applicant_list:this.fb.array([]),applicant_relation:this.fb.array([]),list_value:this.fb.array([]),company_value:this.fb.array([]),individuals:this.fb.array([]),companies:this.fb.array([]),persons_with_relationships:this.fb.array([]),company_with_relationships:this.fb.array([]),rental_income_rcv_in_years:[""],rental_income_rcv_in_month:[""],general_remark:""}),this.pd_applicants_details=this.pdDetails.applicat_details,console.log("persons_with_relationships",this.generalForm.controls.persons_with_relationships.controls[0]);var s=this.generalForm.get("persons_with_relationships");console.log("p1",s),this.buttonClick=!1,this.h_companies=!1,this.addIndi=!1,this.addComp=!1,this.datav=[{name:"fairoj",id:1},{name:"ff",id:2}],this.generalForm.controls.list_value.valueChanges.subscribe(function(l){var n=d.generalForm.controls.list_value;d.individualsList=n.value.filter(function(l){return 1==l.is_applicant}),d.individualsListBothCase=n.value.filter(function(l){return 1==l.is_applicant||1==l.is_person_met}),d.fulldata=n.value}),this.generalForm.controls.company_value.valueChanges.subscribe(function(l){d.companyList=d.generalForm.controls.company_value.value.filter(function(l){return l.company_name})}),this.i=0,this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.info("%cionViewDidLoad, PdQuestionGeneralInfoPage","font-size:100%;color:purple;font-weight:bold;font-family:Mongoose;"),this.getGeneralForm(),this.getPDImages()},l.prototype.ionViewLoaded=function(){},l.prototype.ionViewCanLeave=function(){var l=this;return console.table("dirty",this.generalForm.dirty),this.generalForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?(console.log("if part . this.imageBucket.length",l.imageBucket.length),new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})})):void n()})}):this.imageBucket.length>0?(console.log("else part . this.imageBucket.length",this.imageBucket.length),new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})})):void 0},l.prototype.initlistv=function(l,n){var e=this.generalForm.controls.list_value;if(console.log("control",e.length),"ins"==n)for(var u=0,t=l;u0&&l.forEach(function(l){u.push(e.createApplicant(l))}),n.length>0&&n.forEach(function(l){t.push(e.createApplicantRelation(l)),e.fetch_related_details.push(l.applicant_name)})},l.prototype.createApplicant=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name],company_name:[l.company_name],exist_status:[1==l.exist_status&&l.pd_co_applicant_id>0]})},l.prototype.coapplicantChange=function(l,n,e){var u=this,t=this.generalForm.controls.applicant_relation,a=this.generalForm.controls.applicant_list;if(e.exist_status.value)if(0==e.pd_co_applicant_id.value){var i=this.modal.create(KT);i.onDidDismiss(function(l){1!=l?l.otherName.forEach(function(l){t.push(u.createApplicantRelation({pd_co_applicant_id:l.pd_co_applicant_id,applicant_name:l.applicant_name,applicant_relation_to:"",relation:"",company_name:"",company_relation:""})),u.fetch_related_details.push(l.applicant_name)}):a.at(n).get("exist_status").setValue(!1)}),i.present()}else{t.push(this.createApplicantRelation({pd_co_applicant_id:e.pd_co_applicant_id.value,applicant_name:e.applicant_name.value,applicant_relation_to:"",relation:"",company_name:e.company_name.value,company_relation:""})),this.fetch_related_details.push(e.applicant_name.value)}else{var o=this.generalForm.controls.applicant_relation,r=o.value.map(function(l){return l.pd_co_applicant_id}).indexOf(e.pd_co_applicant_id.value);if(0!=e.pd_co_applicant_id.value){o.removeAt(r);var _=this.fetch_related_details.indexOf(e.applicant_name.value);this.fetch_related_details.splice(_,1)}else a.at(n).get("exist_status").setValue(!1)}},l.prototype.updatePersonalRelation=function(l){var n=this.generalForm.controls.persons_with_relationships;n.controls[l].controls.relation_to.setValue(0==n.controls[l].value.relationship?"":n.controls[l].value.relation_to)},l.prototype.createApplicantRelation=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name],company_name:[l.company_name,l.company_name?EP.y.required:EP.y.nullValidator],company_relationship:[l.company_relationship],applicant_relation_to:[l.applicant_relation_to,EP.y.required],relationship:[l.relationship]})},l.prototype.removereferance=function(l){this.generalForm.controls.applicant_relation.removeAt(l)},l.prototype.ConvertMonthintoYearforBusiness=function(l,n,e){var u=l%12,t=l/12;if(1==e){var a=this.generalForm.get("companies");(a=a.controls[n]).controls.business_years.setValue(+a.controls.business_years.value+ +Math.floor(t)),a.controls.business_month.setValue(Math.floor(u))}else if(2==e){this.generalForm.controls.rental_income_rcv_in_years.setValue(+this.generalForm.controls.rental_income_rcv_in_years.value+ +Math.floor(t)),this.generalForm.controls.rental_income_rcv_in_month.setValue(Math.floor(u))}},l.prototype.getDateObjects=function(l,n){var e=this.generalForm.get("companies");e.controls.business_years="",e.controls.business_month="",e=e.controls[n];var u=this.pdDetails.pd_date_of_initiation.split("/").reverse().join("/"),t=new Date,a=t.getFullYear()+"/0"+(t.getMonth()+1)+"/0"+t.getDate();console.log("current date",a);var i=this.pipe.transform(l,"yyyy/MM/dd");console.log("pd date",u),console.log("selected date",i);var o=t.getMonth()-l.getMonth()+12*(t.getFullYear()-l.getFullYear());o>=12?(console.log("years:",(o-o%12)/12),console.log("moth",o%12)):console.log("only months",o),e.controls.business_years.setValue((o-o%12)/12),e.controls.business_month.setValue(o%12)},l.prototype.submitData=function(l){var n=this;console.table(this.generalForm.value),console.log(l),console.log("1)",this.temp);var e={},u=[],t=[];Object.keys(l.list_value).map(function(n){return l.list_value[n]}).forEach(function(l){u.push(l)}),this.OldData_indi.length>0&&this.OldData_indi.forEach(function(l){u.push(l)});var a=Object.keys(l.company_value).map(function(n){return l.company_value[n]});if("SE-RI"!=this.customer_segment_abbr){var i=0;if(a.forEach(function(l,e){""!=l.business_entity_type&&null!=l.business_entity_type||(n.editCompanies(e),i+=1),t.push(l)}),i>0)return void this.toast.pdTriggerappmessage("Please choose business entity type for each companies")}if(this.OldData.length>0&&this.OldData.forEach(function(l){t.push(l)}),u.length>0&&(u.forEach(function(l,e){0==l.is_person_met&&n.temp++}),this.temp==u.length))return this.toast.pdTriggerappmessage("Please Choose Name of Person Met.!"),void(this.temp=0);"SE-RI"!=this.customer_segment_abbr?(e.companies=t,e.company_with_relationships=l.company_with_relationships,e.rental_income_rcv_in_years=null,e.rental_income_rcv_in_month=null):"SE-RI"==this.customer_segment_abbr&&(e.companies=[],e.company_with_relationships=[],e.rental_income_rcv_in_years=l.rental_income_rcv_in_years,e.rental_income_rcv_in_month=l.rental_income_rcv_in_month),e.individuals=u,e.parent_pdid=l.parent_pdid,e.pdid=l.pdid,e.formid=l.formid,e.fk_createdby=this.users,e.persons_with_relationships=l.persons_with_relationships,e.general_remark=l.general_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.generalForm.reset(n.generalForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},3e3)):n.toast.pdTriggerappmessage("Error")})},l.prototype.getGeneralForm=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){l.data_all=n.records;var e,u,t=l.generalForm.get("company_value");if(t.controls=[],l.lengthv=l.data_all,1==n.dataStatus){l.generalForm.controls.general_remark.setValue(l.data_all.general_remark);var a=[],i=Object.keys(n.records.individuals).map(function(l){return n.records.individuals[l]});if(i.length>0&&i.forEach(function(n){0!=n.is_active?a.push(n):l.OldData_indi.push(n)}),l.initlistv(a,"get"),""!=l.data_all.persons_with_relationships&&l.initPersonRelationship(l.data_all.persons_with_relationships),u=Object.keys(n.records.company_with_relationships).map(function(l){return n.records.company_with_relationships[l]}),console.log("Customer Segment",l.customer_segment_abbr),"SE-RI"!=l.customer_segment_abbr){u.length>0?l.initCompanyRelationShip(u):0==u.length&&l.initCompanyRelationShip("");var o=[];(e=Object.keys(n.records.companies).map(function(l){return n.records.companies[l]})).length>0&&e.forEach(function(n,e){0!=n.is_active?o.push(n):l.OldData.push(n)}),l.initCompanyValue(o,"get"),l.generalForm.controls.rental_income_rcv_in_years.setValue(null),l.generalForm.controls.rental_income_rcv_in_month.setValue(null)}else"SE-RI"==l.customer_segment_abbr&&(l.generalForm.controls.rental_income_rcv_in_years.setValue(n.records.rental_income_rcv_in_years?n.records.rental_income_rcv_in_years:""),l.generalForm.controls.rental_income_rcv_in_month.setValue(n.records.rental_income_rcv_in_month?n.records.rental_income_rcv_in_month:""))}else console.log("Else data",l.pd_applicants_details),l.pd_applicants_details.forEach(function(n,e){if(n.is_applicant=!0,n.is_person_met=!1,n.is_person_met_pic="",n.is_person_met_id_proof="",n.is_new=!1,n.is_main_applicant="1"==n.applicant_type,n.is_active=!0,n.individuals_order_id=e+1,n.age="",n.qualification="",n.course_name="",""!=n.company_name&&null!=n.company_name){console.log("company");t.push(l.createCompanies({company_order_id:t.controls.length+1,company_name:n.company_name,is_company_applicant:n.is_company_applicant,business_entity_type:n.business_entity_type,business_entity_type_other:n.business_entity_type_other,business_years:n.business_years,business_month:n.business_month,business_date_object:n.business_date_object,is_new:n.is_new,is_active:!0,associate_pd_id:l.pdDetails.pd_id}))}}),console.log("applicant",l.lengthv),l.initlistv(l.pd_applicants_details,"get"),l.initPersonRelationship(l.pd_applicants_details),l.initCompanyRelationShip("")})},l.prototype.createCompanies=function(l){var n=this.businessEntityById(l.business_entity_type);return this.fb.group({company_order_id:[l.company_order_id],company_name:[l.company_name],company_messrs_name:["M/s"],is_company_applicant:[l.is_company_applicant],business_entity_type:[l.business_entity_type,EP.y.required],business_years:[l.business_years,EP.y.required],business_month:[l.business_month],business_date_object:[l.business_date_object],is_active:[l.is_active],is_new:[l.is_new],business_entity_type_name:[n],associate_pd_id:[l.associate_pd_id]})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.cons.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("image bucket - json data",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("DB - records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("applicant_name").value;l.get("applicant_name").setValue(this.cons.sentenceCase(n))},l.prototype.ImageUpload=function(l,n){var e=this;1==n?this.cameraProvider.getpicture().then(function(n){l.controls.is_person_met_pic.setValue("error"!=n?n:""),console.table("1",e.generalForm.value)},function(l){console.log("Camera Error ",JSON.stringify(l))}):2==n&&this.cameraProvider.getpicture().then(function(n){l.controls.is_person_met_id_proof.setValue("error"!=n?n:"")},function(l){console.log("Camera Error ",JSON.stringify(l))})},zT([Object(fP.Z)("remark"),YT("design:type",fP.p)],l.prototype,"nameField",void 0),zT([Object(fP.Z)("focusBusiness"),YT("design:type",WP.w)],l.prototype,"focus_business_entity",void 0),l=zT([Object(fP.k)({selector:"page-pd-question-general-info",templateUrl:"pd-question-general-info.html",providers:[GT]}),YT("design:paramtypes",[hP.s,hP.t,NP,GP,lD,EP.g,hP.q,JP,rD,TP])],l)}(),JT=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},XT=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ZT=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.check_type=[{id:0,type_name:"Neighbourhood"},{id:1,type_name:"Reference Check"}],this.finalRemarksList=[{id:1,name:"Positive"},{id:2,name:"Negative"},{id:3,name:"Insufficient information provided"}],this.isDisplay=[],this.isDisplay2=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.isOrganisationOwner=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type&&0!=l.pd_co_applicant_id}),this.applicants.push({pd_co_applicant_id:0,applicant_name:"Others"}),this.neighbourhoodForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,check_type:0,neighbourhood_list:this.fb.array([]),neighbourhood_status:[""],referencecheck_list:this.fb.array([]),neighbour_reference_remark:""}),this.users=this.aws.getlocale(),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionNeighbourHoodPage"),this.getneighbourhood(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.neighbourhoodForm.dirty),this.neighbourhoodForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("RELATIONWITHBUSINESS").subscribe(function(n){1==n.dataStatus&&(l.relationBusiness=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequency=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}),console.log(l.existCompanyList));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u})),console.log("company&Applicant",l.mergeCompanyApplicant)})},l.prototype.inWords=function(l,n){},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.ConvertMonthintoYear=function(l,n,e){if(2==e){var u=n%12,t=n/12;l.controls.year_relation_applicant.setValue(+l.controls.year_relation_applicant.value+ +Math.floor(t)),l.controls.months_relation_applicant.setValue(Math.floor(u))}else if(1==e){u=n%12,t=n/12;l.controls.how_long_do_know_in_year.setValue(+l.controls.how_long_do_know_in_year.value+ +Math.floor(t)),l.controls.how_long_do_know_in_month.setValue(Math.floor(u))}},l.prototype.toggleVisibility=function(l,n,e){1==e?this.isDisplay[n]=l:2==e&&(this.isDisplay2[n]=l)},l.prototype.checkOthers=function(l){return null!=l&&0==l},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.getOtherOrganisationOwner=function(l,n){var e=this.neighbourhoodForm.controls.neighbourhood_list.controls[n],u=1;console.log("val",l),l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(u=l.id)}),0==u?(e.controls.other_organisation_owner.setValidators([EP.y.required]),this.isOrganisationOwner[n]=!0):1==u&&(e.controls.other_organisation_owner.setValue(""),e.controls.other_organisation_owner.clearValidators(),this.isOrganisationOwner[n]=!1),e.controls.other_organisation_owner.updateValueAndValidity()},l.prototype.createreferance=function(){return this.fb.group({reference_name:[null],mobile:["",EP.y.compose([EP.y.minLength(10),EP.y.maxLength(10)])],statecode:[null],landline:[null],location:[null],relationship_with:[null],others:[null],year_relation_applicant:[null],months_relation_applicant:[null],business_volume_amount:[null],business_volume_unit:[null],others_unit:[null],reference_final_remarks:[null],specify_final_remark:[null]})},l.prototype.addreferance=function(){this.neighbourhoodForm.controls.referencecheck_list.push(this.createreferance())},l.prototype.removereferance=function(l){var n=this.neighbourhoodForm.controls.referencecheck_list;1==n.length?n.reset():n.removeAt(l)},l.prototype.createNeighbourhood=function(){return this.fb.group({neighbourhood_name:[null],do_know:[""],how_long_do_know_in_year:[""],how_long_do_know_in_month:[""],organisation_owner:[""],is_applicant_owner:[""],other_organisation_owner:[""],did_not_know_the_business_operation:[""],did_not_know_the_owner:[""]})},l.prototype.addneighbourhood=function(){this.neighbourhoodForm.controls.neighbourhood_list.push(this.createNeighbourhood())},l.prototype.removeneighbourhood=function(l){var n=this.neighbourhoodForm.controls.neighbourhood_list;1==n.length?n.reset():n.removeAt(l)},l.prototype.submitData=function(l){var n=this,e=this.neighbourhoodForm.controls.neighbourhood_list,u=e.controls.length;if(u>0){for(var t=0;t0?(a.forEach(function(n,u){l.toggleVisibility(n.did_not_know_the_business_operation,u,1),l.toggleVisibility(n.did_not_know_the_owner,u,2),e.push(l.createNeighbourhood()),l.getOtherOrganisationOwner(n.organisation_owner,u)}),l.neighbourhoodForm.controls.neighbourhood_list.setValue(a)):l.addneighbourhood();var i=Object.keys(u.records.referencecheck_list).map(function(l){return u.records.referencecheck_list[l]});console.log("referencecheck_list",i),console.log("length",i.length),i.length>0?(l.neighbourhoodForm.controls.neighbour_reference_remark.setValue(t.neighbour_reference_remark),i.forEach(function(e,u){var t=e.landline.search("-");i[u].statecode=e.landline.substr(0,t),i[u].landline=e.landline.substr(+t+1,8),n.push(l.createreferance())}),l.neighbourhoodForm.controls.referencecheck_list.setValue(i)):l.addreferance()}else l.addneighbourhood(),l.addreferance()})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("other_organisation_owner").value;l.get("other_organisation_owner").setValue(this.constant.sentenceCase(n))},l=JT([Object(fP.k)({selector:"page-pd-question-neighbour-hood",templateUrl:"pd-question-neighbour-hood.html"}),XT("design:paramtypes",[hP.s,hP.t,NP,GP,lD,EP.g,TP,JP,rD])],l)}(),lO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},nO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},eO=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustcat=u,this.aws=t,this.toast=a,this.cameraProvider=i,this.loading=o,this.constantProvider=r,this.m_remarkTypeCustomerBehaviour=[],this.m_recommendationList=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.mode_of_transport_values=[{id:"two_wheeler",name:"Two Wheeler"},{id:"four_wheeler",name:"Four Wheeler"},{id:"public_transport",name:"Public Transport"},{id:"others",name:"Others"}],this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.users=t.getlocale(),this.lender_short_name=this.pdDetails.lender_short_name,this.product_abbr=this.pdDetails.product_abbr,this._finalRemarkForm=this.fb.group({fk_createdby:[this.users],parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdid],formid:[this.FormId.form_id],final_custormer_remark_type:[null,EP.y.compose([EP.y.required])],final_other_customer_behaviour:[null],is_service_provided:[null],final_form_remarks:[null],pd_officers_recommendation:[null],others_pd_officers_recommendation:[""],recommendation_positive:this.fb.array([]),recommendation_negative:this.fb.array([]),recommendation_refer_to_credit:this.fb.array([]),was_the_pd_address_ogl:[""],mode_of_transport_during_visit:["",EP.y.compose([EP.y.required])],others_transport:["",EP.y.compose([EP.y.required])]}),"CLIX"==this.lender_short_name||"LAEP"==this.product_abbr?(this._finalRemarkForm.addControl("outlet_location",new EP.h("",EP.y.required)),this._finalRemarkForm.addControl("is_competition",new EP.h("")),this._finalRemarkForm.addControl("sealing_activity",new EP.h("")),this._finalRemarkForm.addControl("demolition_activity",new EP.h(""))):(this._finalRemarkForm.removeControl("outlet_location"),this._finalRemarkForm.removeControl("is_competition"),this._finalRemarkForm.removeControl("sealing_activity"),this._finalRemarkForm.removeControl("demolition_activity")),this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinalRemarkPage"),this.getFinalRemark(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this._finalRemarkForm.dirty),this._finalRemarkForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("CUSTOMERBEHAVIOUR").subscribe(function(n){l.m_remarkTypeCustomerBehaviour=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getcommondrop("PDOFFICERRECOMMENDATIONS").subscribe(function(n){l.m_recommendationList=n.records.filter(function(l){return 1!=l.pdofficer_recommendation_id})})},l.prototype.createRecomendationPositive=function(l){return console.log("val",l),this.fb.group({reason_for_positive:null!=l?[l.reason_for_positive]:[""]})},l.prototype.addRecomendationPositive=function(){this._finalRemarkForm.controls.recommendation_positive.push(this.createRecomendationPositive(null))},l.prototype.removeRecomendationPositive=function(l){this._finalRemarkForm.controls.recommendation_positive.removeAt(l)},l.prototype.createRecomendationNegative=function(l){return this.fb.group({reason_for_negative:null!=l?[l.reason_for_negative]:[""]})},l.prototype.addRecomendationNegative=function(){this._finalRemarkForm.controls.recommendation_negative.push(this.createRecomendationNegative(null))},l.prototype.removeRecomendationNegative=function(l){this._finalRemarkForm.controls.recommendation_negative.removeAt(l)},l.prototype.createRecomendationCreditRefer=function(l){return this.fb.group({reason_for_refer_to_credit:null!=l?[l.reason_for_refer_to_credit]:[""]})},l.prototype.addRecomendationCreditRefer=function(){this._finalRemarkForm.controls.recommendation_refer_to_credit.push(this.createRecomendationCreditRefer(null))},l.prototype.removeRecomendationCreditRefer=function(l){this._finalRemarkForm.controls.recommendation_refer_to_credit.removeAt(l)},l.prototype.RecommendationChange=function(l){var n=this._finalRemarkForm.get("recommendation_positive"),e=this._finalRemarkForm.get("recommendation_negative"),u=this._finalRemarkForm.get("recommendation_refer_to_credit");if(1==l){if(this._finalRemarkForm.controls.others_pd_officers_recommendation.setValidators([EP.y.required]),this._finalRemarkForm.controls.others_pd_officers_recommendation.updateValueAndValidity(),e.controls.length>0)for(var t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0){var e=l._finalRemarkForm.get("recommendation_positive");n.records.recommendation_positive.forEach(function(n,u){if(console.log("for",n),null!=n.reason_for_positive){e.push(l.createRecomendationPositive({reason_for_positive:n.reason_for_positive}))}})}if(n.records.recommendation_negative.length>0){var u=l._finalRemarkForm.get("recommendation_negative");n.records.recommendation_negative.forEach(function(n,e){console.log("for",n);u.push(l.createRecomendationNegative({reason_for_negative:n.reason_for_negative}))})}if(n.records.recommendation_refer_to_credit.length>0){var t=l._finalRemarkForm.get("recommendation_refer_to_credit");n.records.recommendation_refer_to_credit.forEach(function(n){t.push(l.createRecomendationCreditRefer({reason_for_refer_to_credit:n.reason_for_refer_to_credit}))})}l._finalRemarkForm.controls.final_form_remarks.setValue(n.records.final_form_remarks),"CLIX"!=l.lender_short_name&&"LAEP"!=l.product_abbr||(l._finalRemarkForm.controls.outlet_location.setValue(n.records.outlet_location),l._finalRemarkForm.controls.is_competition.setValue(n.records.is_competition),l._finalRemarkForm.controls.sealing_activity.setValue(n.records.sealing_activity),l._finalRemarkForm.controls.demolition_activity.setValue(n.records.demolition_activity),l.clixChange(n.records.is_competition,1),l.clixChange(n.records.sealing_activity,2),l.clixChange(n.records.demolition_activity,3),1==n.records.is_competition&&l._finalRemarkForm.controls.appx_outlet_or_stores.setValue(n.records.appx_outlet_or_stores),1==n.records.sealing_activity&&(l._finalRemarkForm.controls.comment_of_demolition_activity.setValue(n.records.comment_of_demolition_activity),l._finalRemarkForm.controls.demolition_activity_pic.setValue(n.records.demolition_activity_pic)),1==n.records.demolition_activity&&(l._finalRemarkForm.controls.comment_of_sealing_activity.setValue(n.records.comment_of_sealing_activity),l._finalRemarkForm.controls.sealing_activity_pic.setValue(n.records.sealing_activity_pic)))}else{l._finalRemarkForm.get("recommendation_positive").push(l.createRecomendationPositive(null));l._finalRemarkForm.get("recommendation_negative").push(l.createRecomendationNegative(null));l._finalRemarkForm.get("recommendation_refer_to_credit").push(l.createRecomendationCreditRefer(null))}})},l.prototype.clixChange=function(l,n){1==n&&(console.log(l,n),1==l?this._finalRemarkForm.addControl("appx_outlet_or_stores",new EP.h("",EP.y.required)):this._finalRemarkForm.removeControl("appx_outlet_or_stores")),2==n&&(console.log(l,n),1==l?this._finalRemarkForm.addControl("comment_of_demolition_activity",new EP.h("",EP.y.required)):this._finalRemarkForm.removeControl("comment_of_demolition_activity"),1==l?this._finalRemarkForm.addControl("demolition_activity_pic",new EP.h("")):this._finalRemarkForm.removeControl("demolition_activity_pic")),3==n&&(console.log(l,n),1==l?this._finalRemarkForm.addControl("comment_of_sealing_activity",new EP.h("",EP.y.required)):this._finalRemarkForm.removeControl("comment_of_sealing_activity"),1==l?this._finalRemarkForm.addControl("sealing_activity_pic",new EP.h("")):this._finalRemarkForm.removeControl("sealing_activity_pic"))},l.prototype.saveFinalRemark=function(){var l=this;if(this._finalRemarkForm.invalid)this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' ");else{var n=this._finalRemarkForm.value;Object.keys(n).forEach(function(l){return null==n[l]&&delete n[l]}),this.qustcat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l._finalRemarkForm.reset(l._finalRemarkForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})}},l.prototype.ImageUpload=function(l){var n=this;1==l?this.cameraProvider.getpicture().then(function(l){n._finalRemarkForm.controls.demolition_activity_pic.setValue("error"!=l?l:"")},function(l){console.log("Camera Error ",JSON.stringify(l))}):2==l&&this.cameraProvider.getpicture().then(function(l){n._finalRemarkForm.controls.sealing_activity_pic.setValue("error"!=l?l:"")},function(l){console.log("Camera Error ",JSON.stringify(l))})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustcat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.constantProvider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustcat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.setValidation=function(){console.log("enter"),"others"==this._finalRemarkForm.controls.mode_of_transport_during_visit.value?(this._finalRemarkForm.controls.others_transport.setValue(""),this._finalRemarkForm.controls.others_transport.setValidators(EP.y.compose([EP.y.required])),this._finalRemarkForm.controls.others_transport.updateValueAndValidity()):(this._finalRemarkForm.controls.others_transport.setValue(""),this._finalRemarkForm.controls.others_transport.clearValidators(),this._finalRemarkForm.controls.others_transport.updateValueAndValidity())},l=lO([Object(fP.k)({selector:"page-pd-question-final-remark",templateUrl:"pd-question-final-remark.html"}),nO("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,JP,rD,TP])],l)}(),uO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},tO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},aO=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.cons=i,this.loading=o,this.cameraProvider=r,this.stateList=[],this.applicants=[],this.businessEntityTypeList={business_entity_type_id:String,business_entity_type_name:String,sourcsection_labeleName:String},this.relationData=[],this.industryData=[],this.activityData=[],this.companyRelationShipList=[],this.countryDataList=[],this.filterCityList=[],this.errorMessage=[],this.titleData=[],this.personsList=[],this.ExportFlag=!1,this.bankList=[],this.bankListValue=[],this.temp_additiondetailofposmachine=[],this.isreadonlyyear=[],this.isreadonlymonth=[],this.EntityTypeFlag=!1,this.yearErrorMessage=[],this.monthErrorMessage=[],this.errorMessageForExistTotalWorkExperience=[],this.countryDataListValue=[],this._onDestroy=new wP.Subject,this.filteredCity=new wP.ReplaySubject(1),this.filteredState=new wP.ReplaySubject(1),this.filteredCountry=new wP.ReplaySubject(1),this.cityData=[],this.cityDataValue=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.ManufacturingCounterArray=[],this.RetailCounterArray=[],this.WholeSaleCounterArray=[],this.ServiceCounterArray=[],this.getStateCityDet(),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.formdetails=this.navParams.get("formDetails"),this.FormId=this.formdetails.form_id,this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,console.log("pd",this.pdDetails),this.generalExistEntityType=this.pdDetails.business_entity_type,this.generalExistEntityType_other=this.pdDetails.business_entity_type_other,this.generalExistBusinessYear=this.pdDetails.business_years,this.generalExistBusinessMonth=this.pdDetails.business_month,this.lender_short_name=this.pdDetails.lender_short_name,this.product_abbr=this.pdDetails.product_abbr,this.step=0,this.businessForm=this.fb.group({fk_createdby:[this.users],parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdid],formid:[this.FormId],company_id:this.pdDetails.company_id,partners:this.fb.array([]),persons_with_relationships:this.fb.array([]),select_business_activity_type:this.fb.array([]),manufacturing_activity_details:this.fb.array([]),retail_trading_activity_details:this.fb.array([]),wholesale_trading_activity_details:this.fb.array([]),service_provider_activity_details:this.fb.array([]),export_sale_of_total_sales:["",EP.y.compose([EP.y.max(100),EP.y.min(0)])],seasonality:[""],employees_total:["",EP.y.compose([EP.y.required])],employees_permanent:["",EP.y.compose([EP.y.required])],employees_temporary:["",EP.y.compose([EP.y.required])],employees_appx_salary:[""],was_the_company_name_board_sighted:["",EP.y.compose([EP.y.required])],officer_total:["",EP.y.compose([EP.y.required])],shop_eat_act_cert:["",EP.y.compose([EP.y.required])],gst_Regn_cert:["",EP.y.compose([EP.y.required])],pf_regn:["",EP.y.compose([EP.y.required])],esic_regn:["",EP.y.compose([EP.y.required])],other_documents:[""],documents:this.fb.array([]),business_remarks:[""]}),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessInfoPage"),this.getPDImages()},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.relationData.push(n)})}),this.qustCat.getcommondrop("BUSINESSENTITYTYPE").subscribe(function(n){if(1==n.dataStatus){var e=n.records.filter(function(n){return n.business_entity_type_id==l.generalExistEntityType});console.log("Filter",e),e.length>0&&(l.businessEntityTypeList.business_entity_type_id=1==e[0].business_entity_type_id,l.businessEntityTypeList.business_entity_type_name=1!=e[0].business_entity_type_id?e[0].business_entity_type_name:l.generalExistEntityType_other,l.businessEntityTypeList.section_label=1!=e[0].business_entity_type_id?e[0].section_label:l.generalExistEntityType_other,"OPC (One Person Company)"!=l.businessEntityTypeList.business_entity_type_name&&"Sole proprietorship"!=l.businessEntityTypeList.business_entity_type_name||(l.EntityTypeFlag=!0))}}),this.qustCat.getcommondrop("INDUSTRYCLASSIFICATION").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.industryData.push(n)})}),this.qustCat.getcommondrop("TYPEOFACTIVITY").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&1!=n.type_of_activity_id&&l.activityData.push(n)})}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.companyRelationShipList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("COUNTRY").subscribe(function(n){l.countryDataList=n.records.filter(function(l){return 1==l.isactive}),l.filteredCountry.next(l.countryDataList.slice())}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.titleData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getAllPersonsName(this.pdid).subscribe(function(n){n.dataStatus&&(l.personsList=n.record.filter(function(l){return 1==l.applicant_type}))}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.bankList=n.records.filter(function(l){return 1==l.isactive&&1==l.lender_type}),l.bankListValue=l.bankList.slice()})},l.prototype.getStateCityDet=function(){var l=this;this.qustCat.getStateCityDetails().subscribe(function(n){l.stateList=n.records,l.filteredState.next(l.stateList.slice()),l.getDetails()})},l.prototype.changeOfStartedBusiness=function(l,n,e){"yes"==e?(l.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear),this.isreadonlyyear[n]=void 0!=this.generalExistBusinessYear,l.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth),this.isreadonlymonth[n]=void 0!=this.generalExistBusinessMonth):(this.isreadonlyyear[n]=!1,this.isreadonlymonth[n]=!1)},l.prototype.getDetails=function(){var l=this,n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pd_id=this.pdid,n.pd_form_id=13,n.company_id=this.pdDetails.company_id,this.qustCat.retiverForm(n).subscribe(function(n){console.log("data[records]",n.records);var e=n.records,u=l.businessForm.controls.partners,t=l.businessForm.controls.persons_with_relationships,a=l.businessForm.controls.select_business_activity_type,i=l.businessForm.controls.manufacturing_activity_details,o=l.businessForm.controls.retail_trading_activity_details,r=l.businessForm.controls.wholesale_trading_activity_details,_=l.businessForm.controls.service_provider_activity_details,d=l.businessForm.controls.documents;if("LAEP"==l.product_abbr?l.businessForm.addControl("fire_noc",new EP.h(null,EP.y.compose([EP.y.required]))):l.businessForm.removeControl("fire_noc"),200==n.status){var s=void 0,c=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]});if(0==c.length?u.push(l.createPartners()):c.forEach(function(n,e){u.push(l.createPartners()),"Others"==n.partner_name&&u.controls[e].addControl("partner_other_name",new EP.h("",EP.y.required)),parseInt(n.total_business_experiance)>parseInt(n.current_business_experiance_year)?u.controls[e].addControl("total_business_previous_experience",new EP.h("",EP.y.required)):u.controls[e].removeControl("total_business_previous_experience")}),n.records.persons_with_relationships){var m=Object.keys(n.records.persons_with_relationships).map(function(l){return n.records.persons_with_relationships[l]});m.length>0?(m.forEach(function(n,e){t.push(l.createRelationShip())}),e.persons_with_relationships=m):e.persons_with_relationships=[]}else e.persons_with_relationships=[];"yes"==n.records.other_documents?(s=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){d.push(l.createDocument())}):(s=[{document:"",document_pic:""}],d.push(l.createDocument())),e.parent_pdid=l.pdDetails.parent_pd_id,e.pdid=l.pdid,e.formid=13,e.company_id=l.pdDetails.company_id,e.fk_createdby=l.users,e.partners=c,e.documents=s,e.employees_appx_salary&&(l.appxSalaryAmtInwords=l.cons.convertNumberToWords(e.employees_appx_salary));var p=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id}}),f=[];n.records.select_business_activity_type&&(f=Object.keys(n.records.select_business_activity_type).map(function(l){return n.records.select_business_activity_type[l].type_of_activity_id}));var h=p.map(function(l){return l.type_of_activity_id}).map(function(l,n){return f.indexOf(l)<0?(p[n].exist_status=0,p[n]):(p[n].exist_status=1,p[n])}).filter(function(l){return void 0!=l});if(h.length>0&&(h.forEach(function(n,e){a.push(l.createBusinessActivity(n))}),e.select_business_activity_type=h),n.records.manufacturing_activity_details){var g=Object.keys(n.records.manufacturing_activity_details).map(function(l){return n.records.manufacturing_activity_details[l]});g.length>0?(g.length>0?l.businessForm.addControl("export_import_cert",new EP.h("",EP.y.required)):l.businessForm.removeControl("export_import_cert"),g.length>0?l.businessForm.addControl("factory_cert",new EP.h("",EP.y.required)):l.businessForm.removeControl("factory_cert"),g.forEach(function(n,e){l.CheckExport(n.area_of_sale,"MActivity",e),i.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(i.controls[e].addControl("india_where_sale_done",l.fb.array([])),i.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())})):"Export"==n.area_of_sale?(i.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=i.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())})):"Both"==n.area_of_sale&&(i.controls[e].addControl("india_where_sale_done",l.fb.array([])),i.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())}),i.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=i.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())}))}),e.manufacturing_activity_details=g):e.manufacturing_activity_details=[]}else e.manufacturing_activity_details=[];if(n.records.retail_trading_activity_details){var b=Object.keys(n.records.retail_trading_activity_details).map(function(l){return n.records.retail_trading_activity_details[l]});b.length>0?(b.length>0?l.businessForm.addControl("export_import_cert",new EP.h("",EP.y.required)):l.businessForm.removeControl("export_import_cert"),b.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new EP.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),b.length>0?l.businessForm.addControl("applicant_use_pos_machines",new EP.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),b.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new EP.h("")):l.businessForm.removeControl("no_of_pos_machines"),b.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),b.forEach(function(n,e){l.CheckExport(n.area_of_sale,"RActivity",e),o.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(o.controls[e].addControl("india_where_sale_done",l.fb.array([])),o.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())})):"Export"==n.area_of_sale?(o.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=o.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())})):"Both"==n.area_of_sale&&(o.controls[e].addControl("india_where_sale_done",l.fb.array([])),o.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())}),o.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=o.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())}))}),e.retail_trading_activity_details=b):e.retail_trading_activity_details=[]}else e.retail_trading_activity_details=[];if(n.records.wholesale_trading_activity_details){var v=Object.keys(n.records.wholesale_trading_activity_details).map(function(l){return n.records.wholesale_trading_activity_details[l]});v.length>0?(v.length>0?l.businessForm.addControl("export_import_cert",new EP.h("",EP.y.required)):l.businessForm.removeControl("export_import_cert"),v.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new EP.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),v.length>0?l.businessForm.addControl("applicant_use_pos_machines",new EP.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),v.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new EP.h("")):l.businessForm.removeControl("no_of_pos_machines"),v.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),v.forEach(function(n,e){l.CheckExport(n.area_of_sale,"WActivity",e),r.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(r.controls[e].addControl("india_where_sale_done",l.fb.array([])),r.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())})):"Export"==n.area_of_sale?(r.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=r.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())})):"Both"==n.area_of_sale&&(r.controls[e].addControl("india_where_sale_done",l.fb.array([])),r.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())}),r.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=r.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())}))}),e.wholesale_trading_activity_details=v):e.wholesale_trading_activity_details=[]}else e.wholesale_trading_activity_details=[];if(n.records.service_provider_activity_details){var y=Object.keys(n.records.service_provider_activity_details).map(function(l){return n.records.service_provider_activity_details[l]});y.length>0?(y.length>0?l.businessForm.addControl("practice_cert",new EP.h("",EP.y.required)):l.businessForm.removeControl("practice_cert"),y.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new EP.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),y.length>0?l.businessForm.addControl("applicant_use_pos_machines",new EP.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),y.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new EP.h("")):l.businessForm.removeControl("no_of_pos_machines"),y.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),y.forEach(function(n,e){l.CheckExport(n.area_of_sale,"SPActivity",e),_.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(_.controls[e].addControl("india_where_sale_done",l.fb.array([])),_.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())})):"Export"==n.area_of_sale?(_.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=_.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())})):"Both"==n.area_of_sale&&(_.controls[e].addControl("india_where_sale_done",l.fb.array([])),_.controls[e].addControl("pan_india_options",new EP.h("",EP.y.required)),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.push(l.maxSaleState())}),_.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){var t=_.controls[e].get("countries_where_export_done");n.countrySearch="",t.push(l.createCountrySale())}))}),e.service_provider_activity_details=y):e.service_provider_activity_details=[]}else e.service_provider_activity_details=[];if(n.dataStatus&&"YES"==n.records.seasonality.toUpperCase()&&(l.businessForm.addControl("peak_period_of_business",new EP.h("",EP.y.required)),l.businessForm.addControl("month_of_business_run",new EP.h("",EP.y.required))),"yes"==e.applicant_use_pos_machines){e.pos_machines_details.forEach(function(l){l.bankSearch=""}),l.businessForm.controls.no_of_pos_machines.setValue(e.no_of_pos_machines);for(var C=l.businessForm.controls.pos_machines_details,w=1;w<=e.no_of_pos_machines;w++)C.push(l.createPOSMachinesDetails(e.pos_machines_details))}console.log("businessVal",e),"yes"==n.records.gst_Regn_cert?l.businessForm.addControl("gst_Regn_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("gst_Regn_cert_pic"),"yes"==n.records.factory_cert?l.businessForm.addControl("factory_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("factory_cert_pic"),"yes"==n.records.practice_cert?l.businessForm.addControl("practice_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("practice_cert_pic"),"yes"==n.records.shop_eat_act_cert?l.businessForm.addControl("shop_eat_act_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("shop_eat_act_cert_pic"),"yes"==n.records.pf_regn?l.businessForm.addControl("pf_regn_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("pf_regn_pic"),"yes"==n.records.esic_regn?l.businessForm.addControl("esic_regn_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("esic_regn_pic"),"yes"==n.records.export_import_cert?l.businessForm.addControl("export_import_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("export_import_cert_pic"),"yes"==n.records.fire_noc?l.businessForm.addControl("fire_noc_pic",new EP.h("",EP.y.compose([EP.y.required]))):l.businessForm.removeControl("fire_noc_pic"),l.businessForm.setValue(e)}else{console.log("console.log 2"),u.push(l.createPartners()),t.push(l.createRelationShip());var F=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id,exist_status:0}});F.length>0&&F.forEach(function(n){a.push(l.createBusinessActivity(n))})}}),this.businessForm.controls.seasonality.valueChanges.subscribe(function(n){"YES"==n.toUpperCase()?l.businessForm.addControl("peak_period_of_business",new EP.h("",EP.y.required)):l.businessForm.removeControl("peak_period_of_business"),"YES"==n.toUpperCase()?l.businessForm.addControl("month_of_business_run",new EP.h("",EP.y.required)):l.businessForm.removeControl("month_of_business_run")})},l.prototype.filterCity=function(l,n){if(n){console.log("val filter",n);var e=this.stateList.filter(function(l){return l.state_id==n});return e.length>0?e[0].cities:[]}},l.prototype.filterCityData=function(l,n,e){if(console.log("test"),console.log(n,e),n){var u=this.stateList.filter(function(l){return l.state_id==n});this.cityData[e]=u.length>0?u[0].cities:[],this.cityDataValue[e]=this.cityData[e].slice(),console.log("filter ",this.cityDataValue[e])}},l.prototype.filterMaxSaleState=function(l,n){if(this.filterCityList=n,n){var e=l.map(function(l){return l.state_id}),u=[];return(u=n.filter(function(l){return l.state_name}).map(function(l){return l.state_name}).map(function(n){var u=e.indexOf(n);return l[u]})).length>0?u:[]}},l.prototype.filterMaxSaleCities=function(l,n,e){if(n){var u=[],t=l.map(function(l){return l.state_id});return n.forEach(function(n,a){e.forEach(function(e,a){if(n==e.state_name&&e.city_name.length>0){var i=t.indexOf(n);i=l[i].cities;if(e.city_name.filter(function(l){return"1"==l}).length>0)u=u.concat.apply(u,i);else{var o=i.filter(function(l){return e.city_name.some(function(n){return l.city_id==n})});u=u.concat.apply(u,o)}}})}),u.length>0?u.filter(function(l){return"1"!=l.city_id}):[]}return[]},l.prototype.checkTotalEmployee=function(l){this.businessForm.controls.employees_total.setValue((+l.value.employees_permanent||0)+(+l.value.employees_temporary||0))},l.prototype.checkWithExistBusinessYear=function(l,n,e){+l>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",e.controls.current_business_experiance_year.setValue("")):this.yearErrorMessage[n]=""},l.prototype.checkWithExistTotalWorkExperience=function(l,n,e){+e.value.current_business_experiance_year>+l?(this.errorMessageForExistTotalWorkExperience[n]="Total Experience is Lower Than Experience in The Current Company",e.controls.total_business_experiance.setValue("")):this.errorMessageForExistTotalWorkExperience[n]=""},l.prototype.changeBusinessActivity=function(l){if(1==l.value.exist_status&&2==l.value.type_of_activity_id){this.ManufacturingChecked=l.value.exist_status;(n=this.businessForm.controls.manufacturing_activity_details).controls=[],n.setValue([])}else if(0==l.value.exist_status&&2==l.value.type_of_activity_id){this.ManufacturingChecked=l.value.exist_status;var n;(n=this.businessForm.controls.manufacturing_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&3==l.value.type_of_activity_id){this.RetailedChecked=l.value.exist_status;(e=this.businessForm.controls.retail_trading_activity_details).controls=[],e.setValue([])}else if(0==l.value.exist_status&&3==l.value.type_of_activity_id){this.RetailedChecked=l.value.exist_status;var e;(e=this.businessForm.controls.retail_trading_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&4==l.value.type_of_activity_id){this.WholeSalesChecked=l.value.exist_status;(u=this.businessForm.controls.wholesale_trading_activity_details).controls=[],u.setValue([])}else if(0==l.value.exist_status&&4==l.value.type_of_activity_id){this.WholeSalesChecked=l.value.exist_status;var u;(u=this.businessForm.controls.wholesale_trading_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;(t=this.businessForm.controls.service_provider_activity_details).controls=[],t.setValue([])}else if(0==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;var t;(t=this.businessForm.controls.service_provider_activity_details).push(this.manufactureDetails())}this.businessForm.value.manufacturing_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("export_import_cert",new EP.h(this.businessForm.value.export_import_cert,EP.y.required)):this.businessForm.removeControl("export_import_cert"),this.businessForm.value.manufacturing_activity_details.length>0?this.businessForm.addControl("factory_cert",new EP.h(this.businessForm.value.factory_cert,EP.y.required)):this.businessForm.removeControl("factory_cert"),this.businessForm.value.service_provider_activity_details.length>0?this.businessForm.addControl("practice_cert",new EP.h(this.businessForm.value.practice_cert,EP.y.required)):this.businessForm.removeControl("practice_cert"),this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("applicant_use_mobile_wallets",new EP.h(this.businessForm.value.applicant_use_mobile_wallets)):this.businessForm.removeControl("applicant_use_mobile_wallets"),this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("applicant_use_pos_machines",new EP.h(this.businessForm.value.applicant_use_pos_machines)):this.businessForm.removeControl("applicant_use_pos_machines"),(this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0)&&(this.businessForm.controls.applicant_use_pos_machines&&"LAEP"==this.product_abbr&&this.businessForm.controls.applicant_use_pos_machines.setValue("yes"),this.changePOSMachinesAvailablity(this.businessForm.value.applicant_use_pos_machines,2)),(this.ManufacturingChecked||void 0==this.ManufacturingChecked&&this.RetailedChecked||void 0==this.RetailedChecked&&this.WholeSalesChecked||void 0==this.WholeSalesChecked&&this.ServiceChecked||void 0==this.ServiceChecked)&&(this.ExportFlag=!1)},l.prototype.changeManufacturingAreaSale=function(l,n){console.log("changeManufacturingAreaSale",l.value.area_of_sale);var e=this.businessForm.get("manufacturing_activity_details");"Within India"==l.value.area_of_sale?(console.log("Within India",l.value.area_of_sale),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(console.log("Export",l.value.area_of_sale),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(console.log("Both",l.value.area_of_sale),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeRetailAreaSale=function(l,n){var e=this.businessForm.get("retail_trading_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeWholesaleAreaSale=function(l,n){var e=this.businessForm.get("wholesale_trading_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeServiceArea=function(l,n){var e=this.businessForm.get("service_provider_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new EP.h("",EP.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changePanIndiaOptions=function(l,n,e){if(1==l){(u=this.businessForm.get("manufacturing_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(2==l){(u=this.businessForm.get("retail_trading_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(3==l){(u=this.businessForm.get("wholesale_trading_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(4==l){var u;(u=this.businessForm.get("service_provider_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}},l.prototype.changePartnerGroup=function(l,n){var e=this.businessForm.get("partners");"Others"==l?e.controls[n].addControl("partner_other_name",new EP.h("",EP.y.required)):e.controls[n].removeControl("partner_other_name")},l.prototype.createDesignation=function(){return this.fb.group({sec_name:["",EP.y.compose([EP.y.required])],sec_designation:["",EP.y.compose([EP.y.required])]})},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.getWorkExperience=function(l,n){var e=""==l.current_business_experiance_year?0:parseInt(l.current_business_experiance_year),u=""==l.total_business_experiance?0:parseInt(l.total_business_experiance),t=this.businessForm.get("partners");u>e?t.controls[n].addControl("total_business_previous_experience",new EP.h("",EP.y.required)):t.controls[n].removeControl("total_business_previous_experience")},l.prototype.getPlaceHolderName=function(l){return"Out of Total Export Sales what % of Sales is done in "+this.countryDataList.filter(function(n){return n.country_id==l})[0].country_name+" ?"},l.prototype.ConvertMonthintoYear=function(l,n,e){console.log("datas",n,e);var u=n%12,t=n/12;l.controls.current_business_experiance_year.setValue(+l.controls.current_business_experiance_year.value+ +Math.floor(t)),l.controls.current_business_experiance_month.setValue(Math.floor(u))},l.prototype.createPartners=function(){return this.fb.group({partner_name:["",EP.y.compose([EP.y.required])],shareholding:[""],started_business:[""],current_business_experiance_year:[""],current_business_experiance_month:[""],total_business_experiance:[""]})},l.prototype.createRelationShip=function(){return this.fb.group({family_member_salutation:[""],family_member_name:[""],other_family_relationship_id:[""],relation_to_id:[""],relationship_with_company_id:[""],started_business:[""]})},l.prototype.createBusinessActivity=function(l){return this.fb.group({type_of_activity_id:[l.type_of_activity_id,EP.y.compose([EP.y.required])],name:[l.name,EP.y.compose([EP.y.required])],exist_status:[1==l.exist_status]})},l.prototype.createServiceActivity=function(){return this.fb.group({main_products:["",EP.y.compose([EP.y.required])],area_of_sale:["",EP.y.compose([EP.y.required])],description:[""]})},l.prototype.createOthersActivity=function(){return this.fb.group({others_details:["",EP.y.compose([EP.y.required])]})},l.prototype.manufactureDetails=function(){return this.fb.group({main_products:[""],area_of_sale:[""],description:[""]})},l.prototype.indiaSalesDone=function(){return this.fb.group({state_name:[""],city_name:[""],stateSearch:[""],citySearch:[""]})},l.prototype.maxSaleState=function(){return this.fb.group({state_name:[""],city_name:[""],stateSearch:[""],citySearch:[""]})},l.prototype.createDocument=function(){return this.fb.group({document:[""],document_pic:[""]})},l.prototype.addDesignation=function(){this.businessForm.controls.designation.push(this.createDesignation())},l.prototype.deleteDesignation=function(l){var n=this.businessForm.controls.designation;1==n.length?this.businessForm.controls.designation.reset():n.removeAt(l)},l.prototype.addPartnerDetails=function(l){var n=this.businessForm.controls.partners;l.stopPropagation();this.step=n.length,n.push(this.createPartners())},l.prototype.addPersonRelationship=function(l){l.stopPropagation();var n=this.businessForm.controls.persons_with_relationships;this.step=n.length,n.push(this.createRelationShip())},l.prototype.deletePersonRelationship=function(l){this.businessForm.controls.persons_with_relationships.removeAt(l)},l.prototype.deletePartnerDetails=function(l){var n=this.businessForm.controls.partners;1==n.length?this.businessForm.controls.partners.reset():n.removeAt(l)},l.prototype.addMoreManufacturing=function(){this.businessForm.controls.manufacturing_activity_details.push(this.manufactureDetails())},l.prototype.removeManufacturing=function(l){var n=this.businessForm.controls.manufacturing_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreRetail=function(){this.businessForm.controls.retail_trading_activity_details.push(this.manufactureDetails())},l.prototype.removeRetail=function(l){var n=this.businessForm.controls.retail_trading_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreWholesale=function(){this.businessForm.controls.wholesale_trading_activity_details.push(this.manufactureDetails())},l.prototype.removeWholesale=function(l){var n=this.businessForm.controls.wholesale_trading_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreServiceprovider=function(){this.businessForm.controls.service_provider_activity_details.push(this.manufactureDetails())},l.prototype.removeServiceProvider=function(l){var n=this.businessForm.controls.service_provider_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.createCountrySale=function(){return this.fb.group({country_name:["",EP.y.compose([EP.y.required])],countrySearch:[""],approx_sale:["",EP.y.compose([EP.y.required])]})},l.prototype.addMoreState=function(l,n){if(1==n){this.businessForm.get("manufacturing_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("manufacturing_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeState=function(l,n,e){if(1==e){this.businessForm.get("manufacturing_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("manufacturing_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addRetailMoreState=function(l,n){if(1==n){this.businessForm.get("retail_trading_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("retail_trading_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeRetailState=function(l,n,e){if(1==e){this.businessForm.get("retail_trading_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("retail_trading_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addWholesaleMoreState=function(l,n){if(1==n){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeWholesaleState=function(l,n,e){if(1==e){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addServiceMoreState=function(l,n){if(1==n){this.businessForm.get("service_provider_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("service_provider_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeServiceState=function(l,n,e){if(1==e){var u=this.businessForm.get("service_provider_activity_details");(u=u.controls[l].get("india_where_sale_done")).removeAt(n)}else if(2==e){var t=this.businessForm.get("service_provider_activity_details");(t=t.controls[l].get("countries_where_export_done")).removeAt(n)}},l.prototype.addDocuments=function(){this.businessForm.controls.documents.push(this.createDocument())},l.prototype.deleteDocuments=function(l){var n=this.businessForm.controls.documents;1==n.length?this.businessForm.controls.documents.reset():n.removeAt(l)},l.prototype.UploadDocuments=function(l){var n=this.businessForm.controls.documents.controls[l];this.cameraProvider.getpicture().then(function(l){n.controls.document_pic.setValue("error"!=l?l:"")},function(l){console.log("Camera Error ",JSON.stringify(l))})},l.prototype.relationChanged=function(l){var n=this;this.relativeNames=[],l.value.forEach(function(l){n.relativeNames.push({member:l})})},l.prototype.createPOSMachinesDetails=function(l){return this.fb.group(null==l?{pos_machines_financial_institution_name:[""],bankSearch:[""],tid_no_of_pos_machine:[""]}:{pos_machines_financial_institution_name:[l.pos_machines_financial_institution_name],bankSearch:[""],tid_no_of_pos_machine:[l.tid_no_of_pos_machine]})},l.prototype.initBusinessForm=function(){this.businessForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId,fk_createdby:this.users,profession_name:["",EP.y.compose([EP.y.required])],business_years:["",EP.y.compose([EP.y.required])],industry:["",EP.y.compose([EP.y.required])],type_of_activity:["",EP.y.compose([EP.y.required])],seasonality:["",EP.y.compose([EP.y.required])],designation:this.fb.array([]),partners:this.fb.array([]),employees_total:["",EP.y.compose([EP.y.required])],employees_permanent:["",EP.y.compose([EP.y.required])],employees_temporary:["",EP.y.compose([EP.y.required])],officer_total:["",EP.y.compose([EP.y.required])],officer_permanent:["",EP.y.compose([EP.y.required])],officer_temporary:["",EP.y.compose([EP.y.required])],invested_amount:["",EP.y.compose([EP.y.required])],working_capital:["",EP.y.compose([EP.y.required])],is_service_provided:["",EP.y.compose([EP.y.required])],ownership_setup:["",EP.y.compose([EP.y.required])],ownership_others:[""],rent_paid:[""],shop_eat_act_cert:["",EP.y.compose([EP.y.required])],gst_Regn_cert:["",EP.y.compose([EP.y.required])],export_import_cert:["",EP.y.compose([EP.y.required])],factory_cert:["",EP.y.compose([EP.y.required])],practice_cert:["",EP.y.compose([EP.y.required])],pf_regn:["",EP.y.compose([EP.y.required])],esic_regn:["",EP.y.compose([EP.y.required])],other_documents:["",EP.y.compose([EP.y.required])],documents:this.fb.array([]),business_remarks:["",EP.y.compose([EP.y.required])],who_started:["",EP.y.compose([EP.y.required])],main_person:["",EP.y.compose([EP.y.required])],other_main_person:[""],family_members_involved:["",EP.y.compose([EP.y.required])],before_business:["",EP.y.compose([EP.y.required])],any_delays:["",EP.y.compose([EP.y.required])]})},l.prototype.submitDetails=function(){var l=this;if(this.businessForm.controls.export_sale_of_total_sales.invalid)this.toast.pdTriggerappmessage("Please enter a value between 0 and 100 in export sale as a % total sales");else if(this.businessForm.controls.gst_Regn_cert.invalid)this.toast.pdTriggerappmessage("GST Regn Cert is required");else if(this.businessForm.controls.gst_Regn_cert_pic&&"yes"==this.businessForm.value.gst_Regn_cert&&this.businessForm.controls.gst_Regn_cert_pic.invalid)this.toast.pdTriggerappmessage("gst regn cert pic is required");else if(this.businessForm.controls.factory_cert&&this.businessForm.controls.factory_cert.invalid)this.toast.pdTriggerappmessage("Factory Cert is required");else if(this.businessForm.controls.factory_cert_pic&&"yes"==this.businessForm.value.factory_cert&&this.businessForm.controls.factory_cert_pic.invalid)this.toast.pdTriggerappmessage("factory cert pic is required");else if(this.businessForm.controls.practice_cert&&this.businessForm.controls.practice_cert.invalid)this.toast.pdTriggerappmessage("Practice Cert is required");else if(this.businessForm.controls.practice_cert_pic&&"yes"==this.businessForm.value.practice_cert&&this.businessForm.controls.practice_cert_pic.invalid)this.toast.pdTriggerappmessage(" practice cert pic is required");else if(this.businessForm.controls.shop_eat_act_cert.invalid)this.toast.pdTriggerappmessage("shop eat act cert is required");else if(this.businessForm.controls.shop_eat_act_cert_pic&&"yes"==this.businessForm.value.shop_eat_act_cert&&this.businessForm.controls.shop_eat_act_cert_pic.invalid)this.toast.pdTriggerappmessage("Shop eat act cert pic is required");else if(this.businessForm.controls.pf_regn.invalid)this.toast.pdTriggerappmessage("PF Regn is required");else if(this.businessForm.controls.pf_regn_pic&&"yes"==this.businessForm.value.pf_regn&&this.businessForm.controls.pf_regn_pic.invalid)this.toast.pdTriggerappmessage("PF Regn pic is required");else if(this.businessForm.controls.esic_regn.invalid)this.toast.pdTriggerappmessage("ESIC Regn is required");else if(this.businessForm.controls.esic_regn_pic&&"yes"==this.businessForm.value.esic_regn&&this.businessForm.controls.esic_regn_pic.invalid)this.toast.pdTriggerappmessage("ESIC Regn pic is required");else if(this.businessForm.controls.export_import_cert&&this.businessForm.controls.export_import_cert.invalid)this.toast.pdTriggerappmessage("Export Import Cert is required");else if(this.businessForm.controls.export_import_cert_pic&&"yes"==this.businessForm.value.export_import_cert&&this.businessForm.controls.export_import_cert_pic.invalid)this.toast.pdTriggerappmessage("Export /Import Cert pic is required");else if(this.businessForm.controls.fire_noc&&this.businessForm.controls.fire_noc.invalid)this.toast.pdTriggerappmessage("Fire Noc is required");else if(this.businessForm.controls.fire_noc_pic&&"yes"==this.businessForm.value.fire_noc&&this.businessForm.controls.fire_noc_pic.invalid)this.toast.pdTriggerappmessage("Fire Noc pic is required");else{if(1==this.EntityTypeFlag){var n=this.businessForm.controls.partners.controls[0];n.controls.shareholding.clearValidators(),n.controls.shareholding.updateValueAndValidity(),n.controls.shareholding.setValue("100")}var e=this.businessForm.get("manufacturing_activity_details");console.log("manufacture",e);var u;if("no"==(u=this.businessForm.value).other_documents&&delete u.documents,""==u.rent_paid&&delete u.rent_paid,""==u.ownership_others&&delete u.ownership_others,!this.EntityTypeFlag){var t=0;if(u.partners.length>0&&u.partners.forEach(function(l){console.log(l),t+=l.shareholding}),t>=101)return this.toast.pdTriggerappmessage("Share Holding is Greater than 100 %"),console.log(this.businessForm.controls),void this.share_focus.nativeElement.focus()}var a=0;u.manufacturing_activity_details.length>0&&u.manufacturing_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&a++}}),u.wholesale_trading_activity_details.length>0&&u.wholesale_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&a++}}),u.retail_trading_activity_details.length>0&&u.retail_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&a++}}),u.service_provider_activity_details.length>0&&u.service_provider_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&a++}}),a>0?this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"):(u.select_business_activity_type=u.select_business_activity_type.filter(function(l){return 1==l.exist_status}),u.pos_machines_details&&u.pos_machines_details.forEach(function(l){delete l.bankSearch}),this.qustCat.saveForm(u).subscribe(function(n){1==n.dataStatus&&(l.businessForm.markAsUntouched(),l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},3e3))}))}},l.prototype.getBuisnessDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId}).subscribe(function(n){var e=n.records,u=l.businessForm.controls.designation,t=l.businessForm.controls.partners,a=l.businessForm.controls.documents;if(200==n.status){var i=void 0,o=Object.keys(n.records.designation).map(function(l){return n.records.designation[l]}),r=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]}),_=[],d=[];Object.keys(n.records.family_members_involved).map(function(l){return n.records.family_members_involved[l]}).forEach(function(l){_.push(l.member),d.push(l)}),l.relativeNames=d,0==o.length?u.push(l.createDesignation()):o.forEach(function(n){u.push(l.createDesignation())}),0==r.length?t.push(l.createPartners()):r.forEach(function(n){t.push(l.createPartners())}),"yes"==n.records.other_documents?(i=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){a.push(l.createDocument())}):(i=[{document:"",document_pic:""}],a.push(l.createDocument())),"others"!=n.records.ownership_setup&&(e.ownership_others=""),"rented"!=n.records.ownership_setup&&(e.rent_paid=""),e.family_members_involved=_,e.parent_pdid=l.pdDetails.parent_pd_id,e.pdid=l.pdDetails.pd_id,e.formid=l.FormId,e.fk_createdby=l.users,e.designation=o,e.partners=r,e.documents=i,l.businessForm.setValue(e)}else u.push(l.createDesignation()),t.push(l.createPartners()),a.push(l.createDocument())})},l.prototype.setStep=function(l){this.step=l},l.prototype.inWords=function(l,n){switch(n){case 1:this.appxSalaryAmtInwords=this.cons.convertNumberToWords(l.target.value)}},l.prototype.CheckExport=function(l,n,e){this.ManufacturingChecked?this.ManufacturingChecked&&"MActivity"==n&&(this.ManufacturingCounterArray[e]=0):"MActivity"==n&&"Both"==l?this.ManufacturingCounterArray[e]=1:"MActivity"==n&&"Both"!=l&&(this.ManufacturingCounterArray[e]=0),this.RetailedChecked?"RActivity"==n&&this.RetailedChecked&&(this.RetailCounterArray[e]=0):"RActivity"==n&&"Both"==l?this.RetailCounterArray[e]=1:"RActivity"==n&&"Both"!=l&&(this.RetailCounterArray[e]=0),this.WholeSalesChecked?"WActivity"==n&&this.WholeSalesChecked&&(this.WholeSaleCounterArray[e]=0):"WActivity"==n&&"Both"==l?this.WholeSaleCounterArray[e]=1:"WActivity"==n&&"Both"!=l&&(this.WholeSaleCounterArray[e]=0),this.ServiceChecked?"SPActivity"==n&&(this.ServiceCounterArray[e]=0):"SPActivity"==n&&"Both"==l?this.ServiceCounterArray[e]=1:"SPActivity"==n&&"Both"!=l&&(this.ServiceCounterArray[e]=0);var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0),t=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),a=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0),i=this.ServiceCounterArray.reduce(function(l,n){return l+ +n},0);this.ExportFlag=u+t+a+i>0},l.prototype.changePOSMachinesAvailablity=function(l,n){"yes"==l?this.businessForm.addControl("no_of_pos_machines",new EP.h("")):this.businessForm.removeControl("no_of_pos_machines"),2==n&&("yes"==l?this.businessForm.controls.no_of_pos_machines.setValue(""):this.businessForm.removeControl("no_of_pos_machines"))},l.prototype.toGetPOSMachinesDetails=function(l,n){1==n&&this.businessForm.addControl("pos_machines_details",this.fb.array([]));for(var e=this.businessForm.controls.pos_machines_details;0!==e.length;)e.removeAt(0);if(l>0)if(1==n)for(var u=1;u<=l;u++)e.push(this.createPOSMachinesDetails(null));else if(2==n)for(u=1;u<=l;u++)e.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine))},l.prototype.searchFun=function(l,n,e){var u=this;"country"==e&&(console.log("option",e,l),l.controls.countrySearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){u.searchCountries(l.controls.countrySearch.value)})),"city"==e&&l.controls.citySearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){u.SearchCity(l.controls.citySearch.value,n)}),"state"==e&&l.controls.stateSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){u.searchState(l.controls.stateSearch.value)}),"bank"==e&&(console.log("bank",l.controls.bankSearch.value),l.controls.bankSearch.valueChanges.pipe(Object(aD.takeUntil)(this._onDestroy)).subscribe(function(){u.bankListValue=u.cons.searchData(u.bankList,l.controls.bankSearch.value,e)}))},l.prototype.SearchCity=function(l,n){if(this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.cityDataValue[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1})):this.cityDataValue[n]=this.cityData[n].slice()}},l.prototype.searchState=function(l){if(console.log("statedata"),this.stateList){var n=l;n?(n=n.toLowerCase(),this.filteredState.next(this.stateList.filter(function(l){return l.state_name.toLowerCase().indexOf(n)>-1}))):this.filteredState.next(this.stateList.slice())}},l.prototype.searchCountries=function(l){if(console.log("Countrydata"),this.countryDataList){var n=l;n?(n=n.toLowerCase(),this.filteredCountry.next(this.countryDataList.filter(function(l){return l.country_name.toLowerCase().indexOf(n)>-1}))):this.filteredCountry.next(this.countryDataList.slice())}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(l){var n=this;this.cameraProvider.getpicture().then(function(e){console.log("Value",e),"error"!=e&&n.cons.getGeoTag().then(function(u){if(console.log("geo promise",u),""!=l)0!=n.imageBucket.length&&n.imageBucket.forEach(function(e,t){e.Name==l&&(console.log("res[index]",e[t]),delete e[t]),n.imageBucket.push({image:e,Name:l,link:u})}),n.imageBucket.push({image:e,Name:l,link:u});else{n.imageBucket.push({image:e,Name:"",link:u});var t=n.toast.setAlertForDocName();t.present(),t.onDidDismiss(function(l){console.log("alert value",l),l&&(n.imageBucket[n.imageBucket.length-1].Name=l.Name)})}})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("about business - Images bucket",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("about Business images ",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){console.log("response records",n,n.record),1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("partner_other_name").value;l.get("partner_other_name").setValue(this.cons.sentenceCase(n))},l.prototype.ImageUpload=function(l){var n=this;this.cameraProvider.getpicture().then(function(e){1==l&&n.businessForm.controls.shop_eat_act_cert_pic.setValue("error"!=e?e:""),2==l&&n.businessForm.controls.gst_Regn_cert_pic.setValue("error"!=e?e:""),3==l&&n.businessForm.controls.export_import_cert_pic.setValue("error"!=e?e:""),4==l&&n.businessForm.controls.factory_cert_pic.setValue("error"!=e?e:""),5==l&&n.businessForm.controls.practice_cert_pic.setValue("error"!=e?e:""),6==l&&n.businessForm.controls.pf_regn_pic.setValue("error"!=e?e:""),7==l&&n.businessForm.controls.esic_regn_pic.setValue("error"!=e?e:""),8==l&&n.businessForm.controls.fire_noc_pic.setValue("error"!=e?e:"")},function(l){console.log("Camera Error ",JSON.stringify(l))})},l.prototype.radioChange=function(l,n){1==n&&("yes"==l.value?this.businessForm.addControl("shop_eat_act_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("shop_eat_act_cert_pic")),2==n&&("yes"==l.value?this.businessForm.addControl("gst_Regn_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("gst_Regn_cert_pic")),4==n&&("yes"==l.value?this.businessForm.addControl("factory_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("factory_cert_pic")),5==n&&("yes"==l.value?this.businessForm.addControl("practice_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("practice_cert_pic")),6==n&&("yes"==l.value?this.businessForm.addControl("pf_regn_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("pf_regn_pic")),7==n&&("yes"==l.value?this.businessForm.addControl("esic_regn_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("esic_regn_pic")),3==n&&("yes"==l.value?this.businessForm.addControl("export_import_cert_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("export_import_cert_pic")),8==n&&("yes"==l.value?this.businessForm.addControl("fire_noc_pic",new EP.h("",EP.y.compose([EP.y.required]))):this.businessForm.removeControl("fire_noc_pic"))},uO([Object(fP.Z)("shareholding"),tO("design:type",fP.p)],l.prototype,"share_focus",void 0),l=uO([Object(fP.k)({selector:"page-pd-question-business-info",templateUrl:"pd-question-business-info.html"}),tO("design:paramtypes",[hP.s,hP.t,NP,lD,GP,EP.g,TP,rD,JP])],l)}(),iO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},oO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},rO=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustcat=t,this.cons=a,this.toast=i,this.loading=o,this.cameraProvider=r,this.currentYear=(new Date).getFullYear(),this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.AssetValueInwords=[],this.appxMarketAmtInwords=[],this.RentAmtInwords=[],this.mergeCompanyApplicant=[],this.existCompanyList=[],this.yearErrorMessage=[],this.monthErrorMessage=[],this.addressLabel=[],this.placeholderName=[],this.m_address_type=[],this.RentAmtInwordsForAddress=[],this.appxMarketAmtInwordsForAddress=[],this.isOtherOwnerForAddress=!1,this.isOtherOwner=!1,this.addressType="",this.m_vehicle_type=[],this.cityArr=[],this.pinArr=[],this.m_state_for_address=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.addressList=[],this.apiLoadFinish=!1,this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.company_id=this.pdDetails.company_id,this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.generalExistBusinessYear=this.pdDetails.business_years,this.generalExistBusinessMonth=this.pdDetails.business_month,this.pageTitle=this.pdDetails.company_name+" - "+this.pageTitle,this.main_applicant=this.pdDetails.applicant_name,this.lender_applicant_id=this.pdDetails.lender_applicant_id,this.subproduct_abbr=this.pdDetails.subproduct_abbr,this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessAssetsPage"),this.getDetails(),this.getPDImages()},l.prototype.chooseAddress=function(){var l={};l.parent_pdid=this.pdDetails.parent_pd_id,l.pd_id=this.pdDetails.pd_id,l.pd_form_id="5",this.qustcat.retiverForm(l).subscribe(function(l){200==l.status&&l.records.is_pd_done_on_initiated_address&&console.log("kd",l.records)})},l.prototype.getAddress=function(l){var n=this,e={};e.parent_pdid=this.pdDetails.parent_pd_id,e.pd_id=this.pdDetails.pd_id,e.pd_form_id="5",this.qustcat.retiverForm(e).subscribe(function(e){var u=n._businessAssetsQuesFrom.controls.business_assets_for_address;if(200==e.status){if(1==l){var t=!e.records.hasOwnProperty("is_pd_done_on_initiated_address")||e.records.is_pd_done_on_initiated_address;n.addressList.push({key_name:"initiate_address",value:e.records.addresses[0].address,description:"Initiated Address"}),0==t&&n.addressList.push({key_name:"alternative_addresses",value:e.records.alternative_addresses[0].alternative_address,description:"Alternative Address"})}if(2==l){e.records.addresses.filter(function(l){return 1==l.isactive});n.addressList.push({key_name:"initiate_address",value:e.records.addresses[0].address,description:"Initiated Address"});1==(t=!e.records.hasOwnProperty("is_pd_done_on_initiated_address")||e.records.is_pd_done_on_initiated_address)&&e.records.addresses.length>0&&(1==t&&e.records.addresses.length>0?e.records.addresses.forEach(function(l,e){n.addressLabel[e]="",console.log("address",l),n.qustcat.getStateWiseCities(l.state).subscribe(function(t){if(1==t.dataStatus){console.log("state",t),n.cityArr=t.records.cities,n.pinArr=t.records.pincode;var a=n.m_address_type.filter(function(n){return n.address_type_id==l.address_type})[0],i=n.m_state_for_address.filter(function(n){return n.state_id==l.state})[0],o=n.cityArr.filter(function(n){return n.city_id==l.city})[0],r=n.pinArr.filter(function(n){return n.pincode_id==l.pincode})[0];console.log(o),n.addressType=""!=a&&void 0!=a?1!=l.address_type?a.address_type:l.address_type_others:"";var _=l.address+" , "+o.city_name+","+i.name+"-"+(1==l.pincode?l.pincode_others:r.pincode);n.placeholderName[e]="Was any business activity seen at the "+n.addressType+" during PD visit?";var d=" : "+_+" / "+n.addressType;console.log("dd",d);var s={address_label:d,business_years:"",business_month:"",business_address_availability:"",business_is_pd_visited:"",business_pd_visited_remark:"",business_approximate_market_value:"",business_ownership_type:"",business_monthly_rented_amt:"",business_name_of_the_owner:"",business_name_of_the_other_owner:"",business_vintage:"",business_purchase_year:"",business_emi:""};console.log("this.addressType",n.addressType),u.push(n.initBusinessDetailsWithdata(s))}})}):1==t&&e.records.alternative_addresses.length>0?(n.addressList.push({key_name:"alternative_addresses",value:e.records.alternative_addresses[0].alternative_address,description:"Alternative Address"}),e.records.alternative_address.forEach(function(l,e){n.qustcat.getStateWiseCities(l.state).subscribe(function(t){if(200==l.status){console.log("state",t),n.cityArr=t.records.cities,n.pinArr=t.records.pincode;var a=n.m_address_type.filter(function(n){return n.address_type_id==l.address_type})[0],i=n.m_state_for_address.filter(function(n){return n.state_id==l.state})[0],o=n.cityArr.filter(function(n){return n.city_id==l.city})[0],r=n.pinArr.filter(function(n){return n.pincode_id==l.pincode})[0];console.log(o),n.addressType=""!=a&&void 0!=a?1!=l.address_type?a.address_type:l.address_type_others:"";var _=l.address+" , "+o.city_name+","+i.name+"-"+(1==l.pincode?l.pincode_others:r.pincode);n.placeholderName[e]="Was any business activity seen at the "+n.addressType+" during PD visit?";var d=" : "+_+" / "+n.addressType;console.log("dd",d);var s={address_label:d,business_years:"",business_month:"",business_address_availability:"",business_is_pd_visited:"",business_pd_visited_remark:"",business_approximate_market_value:"",business_ownership_type:"",business_monthly_rented_amt:"",business_name_of_the_owner:"",business_name_of_the_other_owner:"",business_vintage:"",business_purchase_year:"",business_emi:""};console.log("this.addressType",n.addressType),u.push(n.initBusinessDetailsWithdata(s))}})})):u.push(n.initBusinessDetails()))}}else u.push(n.initBusinessDetails())}),console.log("address List data",this.addressList)},l.prototype.AutoCompleteUpdateFun=function(l,n,e){if(""!=n){var u=this.addressList.map(function(l){return l.value.replace(/\s/g,"").toLowerCase()}),t=this.addressList.map(function(l){return l.key_name}),a=this.m_address_type.find(function(n){return n.address_type_id==l}),i=n.replace(/\s/g,"").toLowerCase(),o=this.addressList.find(function(l){return l.key_name===e});if(void 0===o||null===o&&!u.includes(i))console.log("push on this"),this.addressList.push({key_name:e,value:n,description:a.address_type+" At Index "+e});else{var r=t.indexOf(e);this.addressList[r]={key_name:e,value:n,description:a.address_type+" At Index "+e},console.log("update on this => Index",r)}console.log("at Final add or update ",this.addressList)}},l.prototype.removeOptionOnAutoComplete=function(l){var n=this.addressList.map(function(l){return l.key_name}).indexOf(l);-1!==n&&this.addressList.splice(n,1),console.log("at Final remove",this.addressList)},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.m_address_type=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getcommondrop("VEHICLETYPE").subscribe(function(n){l.m_vehicle_type=n.records.filter(function(l){return 1==l.is_active})}),this.qustcat.getcommondrop("ASSETTYPE").subscribe(function(n){l.m_assets_type=n.records.filter(function(l){return 1==l.isactive&&1==l.flag})}),this.qustcat.getcommondrop("PROPERTIES").subscribe(function(n){l.m_propertyType=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u}))}),this.qustcat.getcommondrop("STATE").subscribe(function(n){l.m_state_for_address=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.getDetails=function(){var l=this,n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pd_id=this.pdDetails.pd_id,n.company_id=this.company_id,n.pd_form_id=22,this.qustcat.retiverForm(n).subscribe(function(n){l.formLoadData(1==n.dataStatus?n.records:null),l.apiLoadFinish=!0})},l.prototype.formLoadData=function(l){if(null==l)this._businessAssetsQuesFrom=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([this.initBusinessDetails()]),business_assets_form_remark:[""]}),this.getAddress(2),this.loadDetails=!0;else{this.getAddress(1);var n=l;this._businessAssetsQuesFrom=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([]),business_assets_form_remark:[n.business_assets_form_remark||""]}),this.addBusinessAssetsForAddress(n.business_assets_for_address),this.addBusinessAssetsDetailsWithData(n.business_assets_details)}this.loadDetails=!0},l.prototype.initBusinessDetails=function(){return this.fb.group({address_label:[""],business_assets_mode:[""],business_details:this.fb.array([]),business_years:[""],business_month:[""],business_address_availability:[""],business_is_pd_visited:[""],business_pd_visited_remark:[""],business_approximate_market_value:[""],business_ownership_type:[""],business_monthly_rented_amt:[""],business_name_of_the_owner:[],business_name_of_the_other_owner:[],business_vintage:[""],business_purchase_year:["",EP.y.compose([EP.y.pattern("[1-9]{1}[0-9]{3}")])],business_emi:[""]})},l.prototype.loadProperty=function(){return this.fb.group({property_type:[""],other_property_type:[""],address_of_the_property:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""],vehicle_type:[""],other_vehicle_type:[""]})},l.prototype.loadEquipmentManufacturingDescription=function(){return this.fb.group({equipment_manufacturing_description:[""]})},l.prototype.otherBusinessAssetsDescription=function(){return this.fb.group({any_other_assets:["",EP.y.compose([EP.y.required])],any_other_asset_value:[""],any_other_asset_loan:[""]})},l.prototype.addAssetDetails=function(l){this._businessAssetsQuesFrom.controls.business_assets_details.push(this.initBusinessDetails())},l.prototype.removeAssetsDetails=function(l){this._businessAssetsQuesFrom.controls.business_assets_details.removeAt(l)},l.prototype.createBusinessAssetsForAddress=function(){return this.fb.group({address_label:[""],business_years:[""],business_month:[""],business_address_availability:[""],business_is_pd_visited:[""],business_pd_visited_remark:[""],business_approximate_market_value:[""],business_ownership_type:[""],business_monthly_rented_amt:[""],business_name_of_the_owner:[""],business_name_of_the_other_owner:[""],business_vintage:[""],business_purchase_year:["",EP.y.compose([EP.y.pattern("[1-9]{1}[0-9]{3}")])],business_emi:[""]})},l.prototype.selectedAssetsType=function(l,n){var e=n;switch(this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").controls.splice(0),l.value){case"1":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.otherBusinessAssetsDescription());break;case"2":this._businessAssetsQuesFrom.controls.business_assets_details.at(n).get("business_details").push(this.loadProperty());break;case"3":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.load_Four_Weeler());break;case"4":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.loadEquipmentManufacturingDescription())}this.removeOptionOnAutoComplete(n)},l.prototype.loadPropertyWithData=function(l){return this.fb.group({property_type:[l.property_type],other_property_type:[l.other_property_type],address_of_the_property:[l.address_of_the_property]})},l.prototype.load_Four_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle],vehicle_type:[l.vehicle_type],other_vehicle_type:[l.other_vehicle_type]})},l.prototype.loadEquipmentManufacturingDescriptionWithData=function(l){return this.fb.group({equipment_manufacturing_description:[l.equipment_manufacturing_description]})},l.prototype.otherBusinessAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets],any_other_asset_loan:[l.any_other_asset_loan]})},l.prototype.addBusinessAssetsForAddress=function(l){var n=this;console.log("add business");var e=Object.keys(l).map(function(n){return l[n]});if(e.length>0){e.forEach(function(l,e){if(null!=l.address_label&&""!=l.address_label){var u=l.address_label.split("/")[1];n.placeholderName[e]="Was any business activity seen at the "+u+" during PD visit?",n.addressType=u}n.RentAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_monthly_rented_amt),n.appxMarketAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_approximate_market_value);var t=1;l.business_name_of_the_owner.length>0&&l.business_name_of_the_owner.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),n.isOtherOwnerForAddress=0==t});for(var u=0,t=e;u0){console.log("length >0"),e.forEach(function(l,e){n.appxMarketAmtInwords[e]=n.cons.convertNumberToWords(+l.business_approximate_market_value),n.RentAmtInwords[e]=n.cons.convertNumberToWords(+l.business_monthly_rented_amt)});for(var u=0,t=e;u0){var n=1;return l.forEach(function(l){0==l.id&&2==l.group_id&&(n=l.id)}),0==n}return!1},l.prototype.setRequiredValidation=function(l,n,e,u){if(11==e&&("yes"==l?this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_pd_visited_remark.clearValidators():"no"==l&&this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_pd_visited_remark.setValidators([EP.y.required]),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_pd_visited_remark.updateValueAndValidity()),1==e&&("yes"==l?(console.log("bu",this._businessAssetsQuesFrom.controls),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_address_availability.setValidators([EP.y.required]),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_is_pd_visited.setValidators([EP.y.required]),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_pd_visited_remark.setValidators([EP.y.required])):(this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_years.clearValidators(),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_address_availability.clearValidators(),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_is_pd_visited.clearValidators(),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_pd_visited_remark.clearValidators()),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_years.updateValueAndValidity(),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_address_availability.updateValueAndValidity(),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_is_pd_visited.updateValueAndValidity(),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[u].controls.business_pd_visited_remark.updateValueAndValidity()),3==e&&("owned"==l?(n.controls.business_monthly_rented_amt.clearValidators(),n.controls.business_name_of_the_owner.setValidators([EP.y.required])):(n.controls.business_monthly_rented_amt.setValidators([EP.y.required]),n.controls.business_name_of_the_owner.clearValidators()),n.controls.business_monthly_rented_amt.updateValueAndValidity(),n.controls.business_name_of_the_owner.updateValueAndValidity()),4==e){var t=1;l.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),0==t?(n.controls.business_name_of_the_other_owner.setValidators([EP.y.required]),this.isOtherOwner=!0):(n.controls.business_name_of_the_other_owner.setValue(""),n.controls.business_name_of_the_other_owner.clearValidators(),this.isOtherOwner=!1),n.controls.business_name_of_the_other_owner.updateValueAndValidity()}5==e&&(1==l?n.controls.other_vehicle_type.setValidators([EP.y.required]):n.controls.other_vehicle_type.clearValidators(),n.controls.other_vehicle_type.updateValueAndValidity()),6==e&&(1==l?n.controls.other_property_type.setValidators([EP.y.required]):n.controls.other_property_type.clearValidators(),n.controls.other_property_type.updateValueAndValidity(),""!=l?n.controls.address_of_the_property.setValidators([EP.y.required]):n.controls.address_of_the_property.clearValidators(),n.controls.address_of_the_property.updateValueAndValidity()),7==e&&("owned"==l?(n.controls.business_monthly_rented_amt.clearValidators(),n.controls.business_name_of_the_owner.setValidators([EP.y.required])):(n.controls.business_monthly_rented_amt.setValidators([EP.y.required]),n.controls.business_name_of_the_owner.clearValidators()),n.controls.business_monthly_rented_amt.updateValueAndValidity(),n.controls.business_name_of_the_owner.updateValueAndValidity())},l.prototype.ConvertMonthintoYear=function(l,n){console.log(this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years);var e=this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.value,u=l%12,t=l/12,a=+e+ +Math.floor(t);a>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue("")):a==this.generalExistBusinessYear&&+u>this.generalExistBusinessMonth?(this.monthErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue("")):(this.monthErrorMessage[n]="",this.yearErrorMessage[n]="",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(+e+ +Math.floor(t)),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue(Math.floor(u)))},l.prototype.checkWithExistBusinessYear=function(l,n){+l>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue("")):this.yearErrorMessage[n]=""},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.AssetValueInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.appxMarketAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 3:this.RentAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 9:this.RentAmtInwordsForAddress[n]=this.cons.convertNumberToWords(l.target.value);break;case 10:this.appxMarketAmtInwordsForAddress[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustcat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.cons.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustcat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("business_name_of_the_other_owner").value;l.get("business_name_of_the_other_owner").setValue(this.cons.sentenceCase(n))},iO([Object(fP.Z)("remarksFocus"),oO("design:type",fP.p)],l.prototype,"focusRemark",void 0),l=iO([Object(fP.k)({selector:"page-pd-question-business-assets",templateUrl:"pd-question-business-assets.html"}),oO("design:paramtypes",[hP.s,hP.t,NP,EP.g,GP,TP,lD,rD,JP])],l)}(),_O=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},dO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},sO=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.cons=a,this.toast=i,this.loading=o,this.cameraProvider=r,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.limitCaseFlag=[],this.yearErrorMessage=[],this.monthErrorMessage=[],this.m_btLenderListValue=[],this._onDestroy=new wP.Subject,this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase(),this.pd_cus_segment=this.pd_cus_segment.substring(0,3),this.pdid=this.pdDetails.pd_id,this.formDetails=this.navParams.get("formDetails"),this.form_id=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.generalExistBusinessMonth=this.pdDetails.business_month,this.generalExistBusinessYear=this.pdDetails.business_years,this.users=this.aws.getlocale(),this.step=0,this.bankingForm=this.fb.group({itemRows:this.fb.array([]),banking_form_remark:[""]}),this.salaryField="SE"!=this.pdDetails.customer_segment_abbr.substring(0,2),this.getdropdown(),this.retiveBankDetails(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessBankingPage"),this.getPDImages()},l.prototype.searchFun=function(l){if(this.m_btLenderListValue){var n=l.controls.filterCtrl.value;n?(n=n.toLowerCase(),this.m_btLenderListValue=this.m_btLenderList.filter(function(l){return l.lender_name.toLowerCase().indexOf(n)>-1})):this.m_btLenderListValue=this.m_btLenderList.slice()}},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("ACCOUNTTYPE").subscribe(function(n){1==n.dataStatus&&(l.accountType=n.records)}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){1==n.dataStatus&&(l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive&&1==l.lender_type}),l.m_btLenderListValue=l.m_btLenderList.slice())}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}))},l.prototype.checkWithExistBusinessYear=function(l,n,e){console.log(this.generalExistBusinessYear),+n>this.generalExistBusinessYear?(this.yearErrorMessage[e]="Higher than Business Vintage",l.controls.vintage_year.setValue("")):this.yearErrorMessage[e]=""},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.ConvertMonthintoYear=function(l,n,e){console.log(this.generalExistBusinessMonth);var u=n%12,t=n/12,a=+l.controls.vintage_year.value+ +Math.floor(t);a>this.generalExistBusinessYear?(this.yearErrorMessage[e]="Higher than Business Vintage",l.controls.vintage_year.setValue(""),l.controls.vintage_month.setValue("")):a==this.generalExistBusinessYear&&+u>this.generalExistBusinessMonth?(this.monthErrorMessage[e]="Higher than Business Vintage",l.controls.vintage_year.setValue(""),l.controls.vintage_month.setValue(""),console.log(this.monthErrorMessage[e])):(this.monthErrorMessage[e]="",this.yearErrorMessage[e]="",l.controls.vintage_year.setValue(a),l.controls.vintage_month.setValue(Math.floor(u)))},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.emiAmtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.setRequiredValidation=function(l,n,e){1==e&&(0==l?n.controls.other_applicant.setValidators([EP.y.required]):n.controls.other_applicant.clearValidators(),n.controls.other_applicant.updateValueAndValidity()),2==e&&(1==l?n.controls.other_bank.setValidators([EP.y.required]):n.controls.other_bank.clearValidators(),n.controls.other_bank.updateValueAndValidity())},l.prototype.createBankItem=function(l){return this.fb.group({applicant_name:[""],bank_name:[""],filterCtrl:[""],account_type:[""],salary:(this.pdDetails.customer_segment_abbr.substring(0,2),[""]),limit:[""],other_bank:[""],other_applicant:[""],is_main:[""],vintage_year:[""],vintage_month:[""]})},l.prototype.addBankDetails=function(l,n){n.stopPropagation();var e=this.bankingForm.controls.itemRows;this.step=e.length,e.push(this.createBankItem(""))},l.prototype.addmoreBankDetils=function(){this.itemRows=this.bankingForm.get("itemRows"),this.itemRows.push(this.createBankItem(""))},l.prototype.removebank=function(l){var n=this.bankingForm.controls.itemRows;1==n.length?n.reset():n.removeAt(l)},l.prototype.setStep=function(l){this.step=l},l.prototype.retiveBankDetails=function(){var l=this,n=this.bankingForm.controls.itemRows;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.form_id,company_id:this.company_id}).subscribe(function(e){if(1==e.dataStatus){var u=Object.keys(e.records.banking_details).map(function(l){return e.records.banking_details[l]});l.bankingForm.controls.banking_form_remark.setValue(e.records.banking_form_remark),0==u.length?n.push(l.createBankItem("")):(u.forEach(function(e,u){e.filterCtrl="",l.selectedAccTypeChanges(e.account_type,u),""!=e.limit&&(l.amtInwords[u]=l.cons.convertNumberToWords(+e.limit)),l.selectedAccTypeChanges(e.account_type,u),n.push(l.createBankItem(""))}),l.bankingForm.controls.itemRows.setValue(u))}else n.push(l.createBankItem(""))})},l.prototype.savepdBank=function(l){var n=this;l.itemRows.forEach(function(l){delete l.filterCtrl}),console.log("logs",l);var e={};e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.form_id,e.fk_createdby=this.users,e.company_id=this.company_id,e.banking_details=l.itemRows,e.banking_form_remark=l.banking_form_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.bankingForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){console.log("Value",n),"error"!=n&&l.cons.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.changeSentence=function(l){console.log("val",l);var n=l.get("other_applicant").value;l.get("other_applicant").setValue(this.cons.sentenceCase(n))},l=_O([Object(fP.k)({selector:"page-pd-question-business-banking",templateUrl:"pd-question-business-banking.html"}),dO("design:paramtypes",[hP.s,hP.t,NP,EP.g,GP,TP,lD,rD,JP])],l)}(),cO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},mO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},pO=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustcat=u,this.aws=t,this.toast=a,this.cameraProvider=i,this.loading=o,this.constantProvider=r,this.complete_status=!1,this.tab="0",this.imageDisplay=[],this.imageBucket=[],this.formDetails=this.navParams.get("formDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=t.getlocale(),this.lender_short_name=this.pdDetails.lender_short_name,this.product_abbr=this.pdDetails.product_abbr,this.complete_status="COMPLETED"==this.pdDetails.pd_status,this._futurePlansForm=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdid],formid:["23"],company_id:[this.company_id],usp_of_the_business:[""],future_plans_for_business_expansion:[""],impact_of_gst_on_the_business:[""],key_competitors:[""],succession_plan:[""],brief_of_other_group_concerns_or_businesses_run_by_the_applicants:[""],remarks:[""],fk_createdby:[this.users]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFuturePlansAndBusinessEnvironmentPage"),this.getFuturePlans(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return this._futurePlansForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return 0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){0==l?e():n()})}):void 0},l.prototype.getFuturePlans=function(){var l=this;this.qustcat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdid,pd_form_id:this.FormId,company_id:this.company_id}).subscribe(function(n){1==n.dataStatus&&(l._futurePlansForm.controls.usp_of_the_business.setValue(n.records.usp_of_the_business),l._futurePlansForm.controls.future_plans_for_business_expansion.setValue(n.records.future_plans_for_business_expansion),l._futurePlansForm.controls.impact_of_gst_on_the_business.setValue(n.records.impact_of_gst_on_the_business),l._futurePlansForm.controls.key_competitors.setValue(n.records.key_competitors),l._futurePlansForm.controls.succession_plan.setValue(n.records.succession_plan),l._futurePlansForm.controls.brief_of_other_group_concerns_or_businesses_run_by_the_applicants.setValue(n.records.brief_of_other_group_concerns_or_businesses_run_by_the_applicants),l._futurePlansForm.controls.remarks.setValue(n.records.remarks))})},l.prototype.saveFuturePlan=function(){var l=this;if(this._futurePlansForm.invalid)this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' ");else{var n=this._futurePlansForm.value;Object.keys(n).forEach(function(l){return null==n[l]&&delete n[l]}),this.qustcat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l._futurePlansForm.reset(l._futurePlansForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustcat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||n.records.length>0&&n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})})})},l.prototype.changeName=function(l,n,e){this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){"error"!=n&&l.constantProvider.getGeoTag().then(function(e){console.log("geo promise",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage();this.qustcat.savePDImages({pd_id:this.pdDetails.pd_id,formid:this.FormId,images:this.imageBucket,company_id:this.company_id}).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=cO([Object(fP.k)({selector:"page-pd-question-future-plans-and-business-environment",templateUrl:"pd-question-future-plans-and-business-environment.html"}),mO("design:paramtypes",[hP.s,hP.t,EP.g,GP,NP,lD,JP,rD,TP])],l)}(),fO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},hO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},gO=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.pdDetails=[],this.existCompanyList=[],this.forms_order=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId")}return l.prototype.ionViewCanEnter=function(){this.getCompanyListForBusiness()},l.prototype.getCompanyListForBusiness=function(){var l=this;this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){n.dataStatus?(l.existCompanyList=n.records.filter(function(l){return l.is_active}),l.existCompanyList.forEach(function(n,e){l.forms_order.push(n.form_status)}),console.log(l.forms_order),l.forms_order=l.forms_order.filter(function(l){return 1==l.isAnswerable}),console.log(l.forms_order),1==l.existCompanyList.length&&(l.count=0),l.waitLoading=!0):l.waitLoading=!1})},l.prototype.OnSelectBusinessGroupForms=function(l,n){this.pdDetails.company_id=n.company_order_id,this.pdDetails.company_name=n.company_name,this.pdDetails.business_entity_type=n.business_entity_type,this.pdDetails.business_entity_type_other=n.business_entity_type_other,this.pdDetails.business_years=n.business_years,this.pdDetails.business_month=n.business_month,console.log(l.form_id),1==l.form_id&&this.navCtrl.push(zD,{formDetails:l,pdDetails:this.pdDetails}),2==l.form_id&&this.navCtrl.push(iT,{formDetails:l,pdDetails:this.pdDetails}),11==l.form_id&&this.navCtrl.push(lT,{formDetails:l,pdDetails:this.pdDetails}),13==l.form_id&&this.navCtrl.push(aO,{formDetails:l,pdDetails:this.pdDetails}),14==l.form_id&&this.navCtrl.push(uT,{formDetails:l,pdDetails:this.pdDetails}),15==l.form_id&&this.navCtrl.push(zD,{formDetails:l,pdDetails:this.pdDetails}),21==l.form_id&&this.navCtrl.push(sO,{formDetails:l,pdDetails:this.pdDetails}),22==l.form_id&&this.navCtrl.push(rO,{formDetails:l,pdDetails:this.pdDetails}),16==l.form_id&&this.navCtrl.push(jT,{formDetails:l,pdDetails:this.pdDetails}),23==l.form_id&&this.navCtrl.push(pO,{formDetails:l,pdDetails:this.pdDetails})},l=fO([Object(fP.k)({selector:"page-pd-question-business-group",templateUrl:"pd-question-business-group.html"}),hO("design:paramtypes",[hP.s,hP.t,GP])],l)}(),bO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},vO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},yO=function(){function l(l,n){this.navCtrl=l,this.navParams=n,this.datas=this.navParams.get("values"),console.log(this.datas)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad FormCompleteCheckModalPage")},l.prototype.closeModal=function(){this.navCtrl.pop()},l=bO([Object(fP.k)({selector:"page-form-complete-check-modal",templateUrl:"form-complete-check-modal.html"}),vO("design:paramtypes",[hP.s,hP.t])],l)}(),CO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},wO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},FO=(new Date).toJSON().slice(0,19).replace("T"," "),xO=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.templateget=e,this.aws=u,this.shared=t,this.toast=a,this.pdstatusprovide=i,this.modalCtrl=o,this.constantProvider=r,this.bgColortempForm=[],this.bgColorqustCat=[],this.questionCateAccess=null,this.questionfinishedList=[],this.pddetails=[],this.overallqustioncountAccess=!0,this.enableAddonPD=!1,this.complete_btn=!0,this.complete_status=!1,this.pddetails=this.navParams.get("pdDetails"),this.pageTitle="1"!=this.pddetails.is_child?this.pddetails.applicat_details[0].applicant_name:"Add On for "+this.pddetails.parent_pd_id;var d={};d.pd_id=this.pddetails.pd_id,this.pdstatusprovide.getPDCompleteDetails(d).subscribe(function(l){!0===l.dataStatus&&(_.enableAddonPD=l.records.address_count>0,console.log("addon",_.enableAddonPD))}),this.complete_status="COMPLETED"==this.pddetails.pd_status,this.constantProvider.enableAccuracy().then(function(l){console.log("Accuracy from Category Provider",l)})}return l.prototype.ionViewCanEnter=function(){this.getcategoryList()},l.prototype.ionViewDidLoad=function(){this.shared.refresh(),console.log("ionViewDidLoad PdQuestionCategoryPage")},l.prototype.getcategoryList=function(){var l=this;this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(function(n){if(l.questionCate=n,1==l.questionCate.dataStatus)if(l.questionCate=l.questionCate.records,l.random_ng_past(),l.complete_btn="ADD_ON_PENDING"!=l.questionCate.pdmaster_details.pd_status&&"COMPLETED"!=l.questionCate.pdmaster_details.pd_status,""!=l.questionCate.template_forms){l.templateAccess=!0,l.questionCate=l.questionCate,l.dis_forms=l.questionCate.template_forms.filter(function(l){return 1==l.isAnswerable}),console.log("temp",l.questionCate),l.searchTempForm=l.questionCate.template_forms;var e=l.dis_forms.filter(function(l){return 1==l.isAnswered});console.log("an len",e),l.overallqustioncountAccess=e.length==l.dis_forms.length}else l.questionCateAccess=!1,l.templateAccess=!1,l.questionCate="No Template Available"})},l.prototype.random_ng_past=function(){for(var l=0,n=this.questionCate.question_answers;l0){l.modalCtrl.create(yO,{values:n.records},{cssClass:"pdimagecompleteModal"}).present()}else l.completePDAlert()})},l.prototype.completePDAlert=function(){var l=this;if(this.overallqustioncountAccess)return 1==this.enableAddonPD?new Promise(function(n){var e=l.toast.setAlertForCompletePD();e.present(),e.onDidDismiss(function(e){"yes"==e?l.completed("COMPLETED"):"addon"==e?l.completed("ADD_ON_PENDING"):n()})}):new Promise(function(n){var e=l.toast.setAlert("Complete Discussion","Please confirm you are completing the Discussion and forwarding for Quality Check ?");e.present(),e.onDidDismiss(function(e){0==e?n():l.completed("COMPLETED")})});this.toast.pdTriggerappmessage("Please complete all the Forms")},l.prototype.completed=function(l){var n=this,e=this.aws.getlocale();if(this.overallqustioncountAccess){this.pdstatusprovide.updatepdStatus({pd_id:this.questionCate.pdmaster_details.pd_id,pd_status:l,fk_updatedby:e,updatedon:FO}).subscribe(function(l){n.completedAccess=l,1==n.completedAccess.dataStatus&&(n.toast.pdTriggerappmessage("Completed Successfully..!"),setTimeout(function(){n.navCtrl.setRoot(YO)},2e3))})}else this.toast.pdTriggerappmessage("Please complete all the Forms")},l.prototype.doRefresh=function(l){this.questionCate=[],this.questionfinishedList=[],this.shared.refresh(),this.getcategoryList(),setTimeout(function(){l.complete()},2e3)},l=CO([Object(fP.k)({selector:"page-pd-question-category",templateUrl:"pd-question-category.html"}),wO("design:paramtypes",[hP.s,hP.t,GP,NP,SP,lD,UP,hP.q,TP])],l)}(),kO=e(101),SO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},IO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},qO=function(){function l(l,n,e,u,t,a,i,o,r,_,d,s){this.navCtrl=l,this.navParams=n,this.pddetails=e,this.toast=u,this.Menu=t,this.commonconstant=a,this.aws=i,this.alertCtrl=o,this.qustCat=r,this.fb=_,this.geolocation=d,this.androidPermissions=s,this.timerOn=!0,this.otpStatusAccess=!0,this.maxtime=30,this.commonImage=this.commonconstant.commonimage,this.applicatentDetails=this.navParams.get("pdDetails"),console.log("this",this.applicatentDetails),this.users=this.aws.getlocale(),console.log("user",this.users),this.reasonForm=this.fb.group({reason:[null,EP.y.compose([EP.y.required])],others_reason:[null]}),this.getDropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad OtpPage")},l.prototype.ionViewDidEnter=function(){this.setPermission(),this.timer(120)},l.prototype.setPermission=function(){var l=this;this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS,this.androidPermissions.PERMISSION.GET_ACCOUNTS]),this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION,this.androidPermissions.PERMISSION.GET_ACCOUNTS])},l.prototype.ionViewWillLeave=function(){clearTimeout(this.timeLimit)},l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("OTPREJECTION").subscribe(function(n){1==n.dataStatus&&(l.reason_otp=n.records.filter(function(l){return 1==l.isactive}),console.log(l.reason_otp))})},l.prototype.checkotp=function(l){var n=this;this.pddetails.checkotp({pd_id:this.applicatentDetails.pd_id,OTP:l,fk_updatedby:this.users}).subscribe(function(l){n.otpStatus=l,1==n.otpStatus.dataStatus?n.navCtrl.setRoot(xO,{pdDetails:n.applicatentDetails}):n.toast.pdTriggerappmessage("Enter the Correct OTP")})},l.prototype.timer=function(l){var n=this,e=Math.floor(l/60),u=l%60;if(e=e<10?"0"+e:e,u=u<10?"0"+u:u,this.balance_time=e+":"+u,(l-=1)>=0&&this.timerOn)this.timeLimit=setTimeout(function(){n.timer(l)},1e3);else if(this.timerOn){var t;this.alertCtrl.create({title:"OTP Expired ",message:"Do you want to resend the OTP ? ",buttons:[{text:"Start PD Without OTP",handler:function(){n.otpStatusAccess=!1}},{text:"Resend OTP",handler:function(){n.geolocation.getCurrentPosition().then(function(l){t={pd_id:n.applicatentDetails.pd_id,pd_status:"STARTED",mobile_no:n.applicatentDetails.applicat_details[0].mobile_no,fk_updatedby:n.users,link:l.coords.latitude+","+l.coords.longitude},console.log(t),n.pddetails.updatepdStatus(t).subscribe(function(l){n.timer(60)})})}}]}).present()}},l.prototype.saveotpreasno=function(){var l=this;if(console.log(this.reasonForm.value),this.reasonForm.valid){this.pddetails.checkotp({pd_id:this.applicatentDetails.pd_id,reason:this.reasonForm.value.reason,other_reason:this.reasonForm.value.others_reason,fk_updatedby:this.users}).subscribe(function(n){l.otpStatus=n,1==l.otpStatus.dataStatus&&l.navCtrl.setRoot(xO,{pdDetails:l.applicatentDetails})})}else this.toast.pdTriggerappmessage("Enter The All Field")},l=SO([Object(fP.k)({selector:"page-otp",templateUrl:"otp.html"}),IO("design:paramtypes",[hP.s,hP.t,UP,lD,hP.p,TP,NP,hP.a,GP,EP.g,IP.a,kO.a])],l)}(),PO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},DO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},TO=function(){function l(l,n,e,u,t){this.navCtrl=l,this.navParams=n,this.camera=e,this.qustCat=u,this.toast=t,this.cameraArr=[],this.count=0,this.saveAccess=!1,this.FormId="",this.applicatentDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdGeneralImagesPage")},l.prototype.takePicture=function(){var l=this;this.camera.getpicture().then(function(n){l.count=l.count+1,l.cameraArr.push({image:n,name:""})})},l.prototype.removeimage=function(l){this.count=this.count-1,this.cameraArr.splice(l,1)},l.prototype.docnames=function(l,n,e){this.cameraArr[n]={image:e,Name:l}},l.prototype.savePDImages=function(){var l=this;this.saveAccess=!0;var n={pd_id:this.applicatentDetails.pd_id,formid:""};n.images=this.cameraArr,this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus&&(l.saveAccess=!1,l.navCtrl.pop(),l.toast.pdTriggerappmessage("Record Saved Successfully.!"))})},l=PO([Object(fP.k)({selector:"page-pd-general-images",templateUrl:"pd-general-images.html"}),DO("design:paramtypes",[hP.s,hP.t,JP,GP,lD])],l)}(),OO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},LO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},AO=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.viewCtrl=e,this.aws=u,this.pdservice=t,this.qustCat=a,this.fb=i,this.toast=o,this.bounce_reason_others="",this.pdDetails=this.navParams.get("details"),this.users=this.aws.getlocale(),this.getDropdown()}return l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("BOUNCEMASTER").subscribe(function(n){1==n.dataStatus&&(l.bounseMaster=n.records.filter(function(l){return 1==l.isactive}),console.log(l.bounseMaster))})},l.prototype.updatePDStatus=function(){var l=this;if(null!=this.bounce_reason&&1!=this.bounce_reason){var n={pd_id:this.pdDetails.pd_id,pd_status:this.pdDetails.pd_status,fk_updatedby:this.users,bounce_reason:this.bounce_reason,bounce_reason_others:this.bounce_reason_others};console.log(n),this.toast.pdTriggerappmessage("Thank You"),this.pdservice.updatepdStatus(n).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(YO)})}else if(1==this.bounce_reason&&""!=this.bounce_reason_others&&null!=this.bounce_reason_others){n={pd_id:this.pdDetails.pd_id,pd_status:this.pdDetails.pd_status,fk_updatedby:this.users,bounce_reason:this.bounce_reason,bounce_reason_others:this.bounce_reason_others};console.log(n),this.toast.pdTriggerappmessage("Thank You"),this.pdservice.updatepdStatus(n).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(YO)})}else this.toast.pdTriggerappmessage("Please Choose the Reason to Reject")},l=OO([Object(fP.k)({selector:"page-bounced-reject",templateUrl:"bounced-reject.html"}),LO("design:paramtypes",[hP.s,hP.t,hP.A,NP,UP,GP,EP.g,lD])],l)}(),VO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},NO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},WO=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.fb=u,this.aws=t,this.pdTrigger=a,this.toast=i,this.cus_seg=[],this.mobileDisable=!1,this.master=[],this.addressData=[],this.applicants=[],this.pageTitle="Choose customer segment For this PD address",this.master=this.navParams.get("master"),this.addressData=this.navParams.get("address"),this.applicants=this.navParams.get("applicants"),console.log("d",this.master,"kd",this.applicants,"dks",this.applicants),this.addressMapping=this.fb.group({fk_customer_segment:[""],pd_co_applicant_id:[""],mobile_no:[""]}),this.dropDown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad MapAddressPage")},l.prototype.updateMobile=function(l){var n=this.applicants.filter(function(n){return n.pd_co_applicant_id==l.pd_co_applicant_id}).map(function(l){return l.mobile_no})[0];console.log(n),""!=n&&null!=n?(this.addressMapping.controls.mobile_no.setValue(n),this.addressMapping.controls.mobile_no.clearValidators(),this.addressMapping.controls.mobile_no.updateValueAndValidity(),this.mobileDisable=!0):(this.addressMapping.controls.mobile_no.setValue(""),this.addressMapping.controls.mobile_no.setValidators(EP.y.compose([EP.y.required])),this.addressMapping.controls.mobile_no.updateValueAndValidity(),this.mobileDisable=!1)},l.prototype.dropDown=function(){var l=this;this.qustCat.getCustomersDetails().subscribe(function(n){1==n.dataStatus&&(l.cus_seg=n.records)})},l.prototype.cancel=function(){this.navCtrl.pop()},l.prototype.submit=function(l){var n=this;if(this.addressMapping.invalid)this.toast.pdTriggerappmessage("Please Fill all the Fields");else{var e={pd_id:null,parent_pd_id:this.master.parent_pd_id,fk_address_id:this.addressData.pd_address_id,pd_status:"ACCEPTED",fk_updatedby:this.aws.getlocale(),fk_customer_segment:l.fk_customer_segment,pd_co_applicant_id:l.pd_co_applicant_id,mobile_no:l.mobile_no};console.log("update",e),this.pdTrigger.updatepdStatus(e).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Saved Successfully.."),n.navCtrl.pop()):n.toast.pdTriggerappmessage("Something went wrong!!")},function(l){console.log("Error",JSON.stringify(l))})}},l=VO([Object(fP.k)({selector:"page-map-address",templateUrl:"map-address.html"}),NO("design:paramtypes",[hP.s,hP.t,GP,EP.g,NP,UP,lD])],l)}(),EO=e(202),jO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},$O=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},BO=(new Date).toJSON().slice(0,19),RO=function(){function l(l,n,e,u,t,a,i,o,r,_,d,s,c,m,p,f,h,g,b,v){this.navCtrl=l,this.navParams=n,this.fb=e,this.statusBar=u,this.platform=t,this.launchNavigator=a,this.aws=i,this.pdDetails=o,this.geolocation=r,this.alertCtrl=_,this.locationAccuracy=d,this.toast=s,this.constant=c,this.androidPermissions=m,this.modalCtrl=p,this.qustCat=f,this.cameraProvider=h,this.loading=g,this.storagedb=b,this.backgroundgeolocation=v,this.initiatedAccess=!1,this.scheduleAccess=!1,this.pipe=new mD.e("en-US"),this.acceptedAccess=!1,this.startedAccess=!1,this.timeOut=15e3,this.other_applicant=[],this.loadDetails=!1,this.mainApplicant=[],this.pdMaster=[],this.imageDisplay=[],this.imageBucket=[],this.checkOtpAccess=!1,this.addresses=[],this.address_pd_status="",this.requirement_hide=!0,this.maxdate=this.pipe.transform(new Date,"yyyy-MM-ddTHH:mm").toString();var y=new Date("dd"),C=y.getDate()+y.getMonth()+y.getFullYear();console.log("today",C),this.statusBar.styleDefault(),this.statusBar.overlaysWebView(!1),this.statusBar.backgroundColorByHexString("#db4437");this.pipe.transform(new Date,"dd/MM/yyyy hh:mm a");this.applicatentDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.requirement_hide=!1}return l.prototype.ionViewCanEnter=function(){this.getFullPD()},l.prototype.ionViewDidLoad=function(){this.setPermission(),console.log("ionViewDidLoad InputPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){clearInterval(this.timeInterval)},l.prototype.locationnavicate=function(l){var n=this.addresses[l];this.launchNavigator.navigate(n.addressline1+" "+n.city_name+" "+n.state_name+"-"+("Others"!=n.pincode?n.pincode:n.other_pincode))},l.prototype.setPermission=function(){var l=this;this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS,this.androidPermissions.PERMISSION.GET_ACCOUNTS]),this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION,this.androidPermissions.PERMISSION.GET_ACCOUNTS])},l.prototype.getFullPD=function(){var l=this;this.pdDetails.getFullPDdetails({pdid:"1"!=this.applicatentDetails.is_child?this.applicatentDetails.pd_id:this.applicatentDetails.parent_pd_id}).subscribe(function(n){if(1==n.dataStatus){if(l.add_requirements=n.records.pd_additional_requirements,l.requirement_hide=0==n.records.pd_additional_requirements.length,console.log("req",l.add_requirements.length),console.log("req",l.requirement_hide),l.other_applicant=n.records.applicants_details,l.mainApplicant=n.records.applicants_details[0],l.pdMaster=n.records.pd_master_details[0],console.log("other",l.mainApplicant),l.addresses=n.records.pd_address,l.address_pd_id=l.addresses.addtional_pd_data,l.addresses.forEach(function(n){if(console.log("address",n),0!=n.addtional_pd_data.length&&("ALLOCATED"==n.addtional_pd_data[0].pd_status||"ACCEPTED"==n.addtional_pd_data[0].pd_status||"SCHEDULED"==n.addtional_pd_data[0].pd_status||"INITIATED"==n.addtional_pd_data[0].pd_status||"STARTED"==n.addtional_pd_data[0].pd_status||"INPROGRESS"==n.addtional_pd_data[0].pd_status))return l.address_pd_id=n.addtional_pd_data[0].pd_id,l.address_pd_status=n.addtional_pd_data[0].pd_status,l.address_allocated_data=n.addtional_pd_data[0],void console.log("pd",l.address_pd_id)}),"ALLOCATED"==l.address_pd_status&&(l.acceptedAccess=!0),"ACCEPTED"==l.address_pd_status&&(l.scheduleAccess=!0),"SCHEDULED"==l.address_pd_status&&(l.initiatedAccess=!0),"INITIATED"==l.address_pd_status&&(l.startedAccess=!0,l.getenableAccuracy()),"STARTED"==l.address_pd_status&&(l.checkOtpAccess=!0),console.log("address allocated",l.address_allocated_data),console.log(l.other_applicant),""!=l.address_allocated_data&&void 0!=l.address_allocated_data){var e=l.pipe.transform(new Date,"yyyy-MM-dd HH:mm"),u=l.address_allocated_data.scheduled_on_for_validation,t=Date.parse(e)-Date.parse(u),a=Math.floor(t/1e3/60/60);console.log(a),l.enableStartPD=a<-4}l.loadDetails=!0}})},l.prototype.pdStatus=function(l,n){var e=this;"BOUNCED"==l?this.navCtrl.push(AO,{details:{pd_id:this.address_pd_id,pd_status:l,fk_updatedby:this.users,updatedon:BO}}):"ACCEPTED"==l&&this.pdDetails.updatepdStatus({pd_id:this.address_pd_id,pd_status:l,fk_updatedby:this.users,updatedon:BO}).subscribe(function(l){console.log("dasdsfdsffds",l),e.updateStatus=l,1==e.updateStatus.dataStatus?(e.getNewpdupdate(),e.scheduleAccess=!0):e.scheduleAccess=!1})},l.prototype.pdschedule=function(l,n){var e=this;if(console.log(l),void 0!=l){var u=l.slice(0,19).replace("T"," ");console.log(u),{pd_id:this.address_pd_id,pd_status:"SCHEDULED",scheduled_on:u,fk_updatedby:this.users,updatedon:BO},this.pdDetails.updateSchedule({fk_pd_id:this.address_pd_id,schedule_time:u,fk_scheduled_by:this.users}).subscribe(function(l){e.updateSchedule=l,1==e.updateSchedule.dataStatus&&(e.getNewpdupdate(),e.initiatedAccess=!0)})}else this.toast.pdTriggerappmessage("Please Choose the Schedule Date"),this.input_focus.setFocus()},l.prototype.getenableAccuracy=function(){var l=this;this.locationAccuracy.canRequest().then(function(n){n&&l.locationAccuracy.request(l.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){l.getcurrentLocation(),l.getcurrentBackgroundLocation()},function(l){return alert("Error requesting location permissions"+JSON.stringify(l))})})},l.prototype.getcurrentLocation=function(){var l,n=this,e={frequency:3e3,enableHighAccuracy:!0,timeOut:1e3};this.timeInterval=setInterval(function(){n.currentPosPDofficer="",n.geolocation.getCurrentPosition(e).then(function(e){void 0!=e.coords&&(n.currentPosPDofficer=e.coords.latitude+","+e.coords.longitude,console.log(n.currentPosPDofficer),n.pdDetails.saveCurrentLocation(l={pd_id:n.address_pd_id,link:n.currentPosPDofficer}).subscribe(function(n){console.log("geoLocation data",l)}))}).catch(function(l){n.toast.pdTriggerappmessage(l.message)})},this.timeOut)},l.prototype.getcurrentBackgroundLocation=function(){var l=this;console.log("getCurrent Location 1 function"),this.backgroundgeolocation.configure({desiredAccuracy:10,stationaryRadius:20,distanceFilter:30,debug:!1,stopOnTerminate:!1}).then(function(){l.backgroundgeolocation.on(EO.b.location).subscribe(function(n){console.log("background geo location",n);l.pdDetails.saveCurrentLocation({pd_id:l.address_pd_id,link:n.latitude+","+n.longitude}).subscribe(function(l){console.log("saved location in Api",l)},function(l){console.log("Not saved in Api",l)})},function(l){console.log("Error in background geolocation subscribtion")})},function(l){console.log("Error in background geolocation configuration")}),this.backgroundgeolocation.start()},l.prototype.pdreschedule=function(){this.scheduleAccess=!0,this.initiatedAccess=!1},l.prototype.pdinitiated=function(l){var n=this;this.locationAccuracy.canRequest().then(function(e){e&&n.locationAccuracy.request(n.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){n.geolocation.getCurrentPosition().then(function(e){var u=n.other_applicant.filter(function(l){return l.additional_pd_id==n.address_allocated_data.pd_id}).map(function(l){return l.mobile_no})[0];console.log("mobile",u),void 0==u&&(u=n.mainApplicant.mobile_no),n.currentPosPDofficer=e.coords.latitude+","+e.coords.longitude,n.pdDetails.updatepdStatus({pd_id:n.address_pd_id,pd_status:"INITIATED",mobile_no:u,officerName:l.pd_allocated_to,firstName:n.mainApplicant.applicant_name,fk_updatedby:n.users,updatedon:BO,link:n.currentPosPDofficer}).subscribe(function(l){n.updateinitiated=l,1==n.updateinitiated.dataStatus?(n.getNewpdupdate(),n.getcurrentLocation(),n.getcurrentBackgroundLocation(),n.startedAccess=!0):n.startedAccess=!1})}).catch(function(l){console.log("Error getting location",l)})},function(l){return alert("Error requesting location permissions"+JSON.stringify(l))})},function(e){console.log("currnpd",n.currentPosPDofficer),alert(JSON.stringify(e));var u=n.other_applicant.filter(function(l){return l.additional_pd_id==n.address_allocated_data.pd_id}).map(function(l){return l.mobile_no})[0];console.log("mobile",u),void 0==u&&(u=n.mainApplicant.mobile_no),n.pdDetails.updatepdStatus({pd_id:n.address_pd_id,pd_status:"INITIATED",mobile_no:u,officerName:l.pd_allocated_to,firstName:n.mainApplicant.applicant_name,fk_updatedby:n.users,updatedon:BO,link:n.currentPosPDofficer}).subscribe(function(l){n.updateinitiated=l,1==n.updateinitiated.dataStatus?(console.log("status","true"),n.getNewpdupdate(),n.getcurrentLocation(),n.getcurrentBackgroundLocation(),n.startedAccess=!0):n.startedAccess=!1})})},l.prototype.checkOTP=function(l){var n,e=this;this.geolocation.getCurrentPosition().then(function(l){e.currentPosPDofficer=l.coords.latitude+","+l.coords.longitude;var u=e.other_applicant.filter(function(l){return l.additional_pd_id==e.address_allocated_data.pd_id}).map(function(l){return l.mobile_no})[0];console.log("mobile",u),void 0==u&&(u=e.mainApplicant.mobile_no),n={pd_id:e.address_pd_id,pd_status:"STARTED",mobile_no:u,fk_updatedby:e.users,updatedon:BO,link:e.currentPosPDofficer},console.log(n),e.pdDetails.updatepdStatus(n).subscribe(function(l){e.updatestarted=l,1==e.updatestarted.dataStatus?(e.getNewpdupdate(),e.startedAccess=!1,e.checkOtpAccess=!0):e.checkOtpAccess=!1},function(l){return alert(JSON.stringify(l))})},function(l){alert(JSON.stringify(l))})},l.prototype.startPdDiscussion=function(){var l=this;this.alertCtrl.create({title:"Start Discussion",message:"Are you starting the Discussion",buttons:[{text:"No",role:"cancel",handler:function(){}},{text:"YES",handler:function(){clearInterval(l.timeInterval),l.backgroundgeolocation.finish(),l.backgroundgeolocation.stop(),console.log("address",l.address_allocated_data);var n=l.address_allocated_data;n.applicat_details=l.other_applicant,l.navCtrl.setRoot(qO,{pdDetails:n})}}]}).present()},l.prototype.getNewpdupdate=function(){var l=this;console.log("Started",this.startedAccess),console.log("checkOtpAccess",this.checkOtpAccess),this.acceptedAccess=!1,this.initiatedAccess=!1,this.scheduleAccess=!1,this.startedAccess=!1,this.checkOtpAccess=!1,this.pdDetails.getpddetails(this.users).subscribe(function(n){if(l.appdata=n,1==l.appdata.dataStatus){l.applicatentDetails=l.appdata.records.filter(function(n){return n.pd_id==l.applicatentDetails.pd_id})[0];l.pdDetails.getFullPDdetails({pdid:"1"!=l.applicatentDetails.is_child?l.applicatentDetails.pd_id:l.applicatentDetails.parent_pd_id}).subscribe(function(n){1==n.dataStatus&&(l.addresses=n.records.pd_address,n.records.pd_address.forEach(function(n){if(0!=n.addtional_pd_data.length&&("ALLOCATED"==n.addtional_pd_data[0].pd_status||"ACCEPTED"==n.addtional_pd_data[0].pd_status||"SCHEDULED"==n.addtional_pd_data[0].pd_status||"INITIATED"==n.addtional_pd_data[0].pd_status||"STARTED"==n.addtional_pd_data[0].pd_status||"INPROGRESS"==n.addtional_pd_data[0].pd_status))return l.address_pd_status=n.addtional_pd_data[0].pd_status,void console.log("pd",l.address_pd_id)}),"ALLOCATED"==l.address_pd_status&&(l.acceptedAccess=!0),"ACCEPTED"==l.address_pd_status&&(l.scheduleAccess=!0,l.toast.pdTriggerappmessage("Accepted Successfully")),"SCHEDULED"==l.address_pd_status&&(l.initiatedAccess=!0,l.getFullPD(),l.toast.pdTriggerappmessage("Scheduled Successfully")),"INITIATED"==l.address_pd_status&&(l.startedAccess=!0,l.toast.pdTriggerappmessage("Initiated Successfully")),"STARTED"==l.address_pd_status&&(l.checkOtpAccess=!0))})}}),console.log("app",this.applicatentDetails)},l.prototype.camerasetup=function(){this.navCtrl.push(TO,{pdDetails:this.applicatentDetails})},l.prototype.inprogress=function(l,n){console.log(n);var e=n;e.applicat_details=this.other_applicant,this.navCtrl.push(xO,{pdDetails:e})},l.prototype.mapAddress=function(l){var n=this,e=this.modalCtrl.create(WO,{master:this.pdMaster,address:l,applicants:this.other_applicant},{cssClass:"mapAddress"});e.present(),e.onDidDismiss(function(l){console.log("datas",l),n.getFullPD()})},l.prototype.inWords=function(l){return this.constant.convertNumberToWords(+l)+" Only"},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.applicatentDetails.pd_id,form_id:null,company_id:null,is_common:1}).subscribe(function(n){n.msg||(console.log("val[records]",n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){"error"!=n&&l.constant.getGeoTag().then(function(e){console.log("geocoords",e),l.imageBucket.push({image:n,Name:"",link:e});var u=l.toast.setAlertForDocName();u.present(),u.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})})},function(l){console.log("Camera Error ",JSON.stringify(l))})},l.prototype.customfilter=function(l){return console.log("custome filter"),l.filter(function(l){return null!=l.fk_form_id})},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.applicatentDetails.pd_id,formid:null,images:this.imageBucket,company_id:null};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},jO([Object(fP.Z)("focusinp"),$O("design:type",Object)],l.prototype,"input_focus",void 0),jO([Object(fP.Z)("scroll"),$O("design:type",hP.e)],l.prototype,"scrolltop",void 0),l=jO([Object(fP.k)({selector:"page-input",templateUrl:"input.html"}),$O("design:paramtypes",[hP.s,hP.t,EP.g,gP.a,jP.a,$P.a,NP,UP,IP.a,hP.a,qP.a,lD,TP,kO.a,hP.q,GP,JP,rD,cD,EO.a])],l)}(),UO=e(263),MO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},KO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},HO=function(){function l(l,n){this.http=l,this.sql=n,console.log("Hello DatabaseProvider Provider"),this.createnewdb()}return l.prototype.createnewdb=function(){var l=this;this.sql.create({name:"sinnedge",location:"defalut"}).then(function(n){n.executeSql("CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)").then(function(n){l.getuserDetails()}).catch(function(l){return console.log(l)})})},l.prototype.getuserDetails=function(){this.sql.create({name:"sineedge",location:"default"}).then(function(l){l.executeSql("select * from expense ORDER BY rowid DESC").then(function(l){console.log(l)})})},l=MO([Object(fP.x)(),KO("design:paramtypes",[vP.c,UO.a])],l)}(),GO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},zO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},YO=function(){function l(l,n,e,u,t,a,i,o){var r=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.pdofficer=u,this.shared=t,this.db=a,this.androidPermissions=i,this.event=o,this.bgColorPast=[],this.bgColor=[],this.pdinprogress=[],this.pdlistdetails=[],this.pdlist="0",this.pdlistaccess=null,this.notification=[],this.event.subscribe("notify",function(l){r.notification.push(l)}),this.from=this.navParams.get("notify"),console.log("from",this.from),console.log("notification via event",this.notification)}return l.prototype.selectedTab=function(l){this.slider.slideTo(l)},l.prototype.moveButton=function(l){this.pdlist=l._snapIndex.toString()},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdListPage"),this.db.getuserDetails(),this.setpermission()},l.prototype.ionViewCanEnter=function(){console.log("Pd list ionViewCanEnter"),this.getpdTriggerdetails()},l.prototype.filter=function(l){l?(this.viewchange=!1,this.pdinprogress=this.pdinprogress,this.pdschduleDetails=this.pdschduleDetails):this.viewchange=!0},l.prototype.pdlistsearch=function(l){this.pdinprogress=this.searchinprogress,this.pdschduleDetails=this.searchpast;var n=l.target.value;if("inpro"==this.pdlist){if(""==n.trim())return;this.pdinprogress=this.searchinprogress.filter(function(l){return void 0!==l.applicat_details&&l.applicat_details[0].applicant_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.pd_status.toLowerCase().indexOf(n.toLowerCase())>-1||null!=l.city_name&&l.city_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.lender_applicant_id.toLowerCase().indexOf(n.toLowerCase())>-1})}else{if(""==n.trim())return;this.pdschduleDetails=this.searchpast.filter(function(l){return l.applicat_details[0].applicant_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.pd_status.toLowerCase().indexOf(n.toLowerCase())>-1||l.city_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.lender_applicant_id.toLowerCase().indexOf(n.toLowerCase())>-1})}},l.prototype.newpage=function(){this.navCtrl.push(RO)},l.prototype.getpdTriggerdetails=function(){var l=this,n=this.aws.getlocale();this.pdlistaccess=!0,this.pdofficer.getpddetails(n).subscribe(function(n){l.pdlistdetails=n,1==l.pdlistdetails.dataStatus?(l.pdlistaccess=!1,l.pdschduleDetails=l.pdlistdetails.records.filter(function(l){return"ACCEPTED"==l.pd_status||"SCHEDULED"==l.pd_status||"INITIATED"==l.pd_status||"STARTED"==l.pd_status||"INPROGRESS"==l.pd_status||"ADD_ON_PENDING"==l.pd_status}),l.searchpast=l.pdschduleDetails,l.pdinprogress=l.pdlistdetails.records.filter(function(l){return"ALLOCATED"==l.pd_status}),l.searchinprogress=l.pdinprogress,console.log("allocated",l.pdinprogress),console.log("inpr",l.pdschduleDetails),l.random_bg_color(),l.random_ng_past()):(l.pdlistaccess=!1,l.pdlistdetails="No Records Found")})},l.prototype.random_bg_color=function(){for(var l=0,n=this.pdinprogress;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},JO=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},XO=function(){function l(l,n,e,u,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.commonconstant=t,this.commonImage=this.commonconstant.commonimage,this.Username=this.navParams.get("Username"),this.Password=this.navParams.get("Password")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PasswordPage")},l.prototype.setNewPassword=function(l){var n=this;if(""!=l&&null!=l&&void 0!==l){var e={Username:this.Username,Password:this.Password,newpassword:l};console.log(e),this.aws.dologin(e).subscribe(function(l){console.log(l),n.navCtrl.setRoot(YO)},function(l){n.toast.pdTriggerappmessage(l.message)})}else this.toast.pdTriggerappmessage("Enter the new Password")},l=QO([Object(fP.k)({selector:"page-password",templateUrl:"password.html"}),JO("design:paramtypes",[hP.s,hP.t,NP,lD,TP])],l)}(),ZO=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},lL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},nL=function(){function l(l,n,e,u,t,a){this.aws=l,this.dialog=n,this.shared=e,this.navCtrl=u,this.Menu=t,this.toast=a,this.status=!1,this.config={disableClose:!1,width:"",height:"",position:{top:"",bottom:"",left:"",right:""}}}return l.prototype.ngOnInit=function(){},l.prototype.ionViewDidEnter=function(){this.Menu.enable(!1)},l.prototype.ionViewWillLeave=function(){this.Menu.enable(!0)},l.prototype.login=function(){var l=this;if(void 0!==this.email&&void 0!==this.password&&""!=this.email&&""!=this.password&&null!=this.email&&null!=this.password){this.aws.dologin({Username:this.email,Password:this.password}).subscribe(function(n){var e=l.aws.getlocale();l.aws.getuserprofile(e).subscribe(function(n){l.users=n,1==l.users.dataStatus&&("PD Officer"==l.users.records[0].role_name||"PD Executive"==l.users.records[0].role_name?l.navCtrl.setRoot(YO):(l.toast.pdTriggerappmessage("This App only for PD Officers"),localStorage.clear()))})},function(n){console.log(JSON.stringify(n.message)),"New password is required."==n.message?l.navCtrl.setRoot(XO,{Username:l.email,Password:l.password}):(console.log(JSON.stringify(n.message)),l.toast.pdTriggerappmessage(JSON.stringify(n.message)))})}else this.toast.pdTriggerappmessage("Enter Email or Password")},l.prototype.forgotopen=function(){this.status=!0},l.prototype.forgotpassword=function(){var l={Username:this.email};console.log(l)},l.prototype.loggedInCheck=function(){return this.shared.isLoggedIn?(alert("if"),!1):(alert("else"),!0)},l=ZO([Object(fP.k)({selector:"page-login",templateUrl:"login.html"}),lL("design:paramtypes",[NP,WP.h,SP,hP.s,hP.p,lD])],l)}(),eL=e(203),uL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},tL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},aL=function(){function l(l,n,e,u,t,a,i,o,r,_){this.navCtrl=l,this.navParams=n,this.Menu=e,this.fb=u,this.shared=t,this.toast=a,this.faio=i,this.aws=o,this.loadingCtrl=r,this.commonconstant=_,this.mpinaccess=!1,this.commonImage=this.commonconstant.commonimage,this.shared.refresh(),this.getuserDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad AuthPage")},l.prototype.ionViewDidEnter=function(){this.Menu.enable(!1)},l.prototype.ionViewWillLeave=function(){this.Menu.enable(!0)},l.prototype.getuserDetails=function(){var l=this;this.loadingCtrl.pdloader("loading...");var n=this.aws.getlocale();this.aws.getuserprofile(n).subscribe(function(n){l.userDetails=n,1==l.userDetails.dataStatus?(l.loadingCtrl.loading.dismiss(),l.userDetails=l.userDetails.records,"PD Executive"==l.userDetails[0].role_name||"PD Officer"==l.userDetails[0].role_name?l.mpinaccess=null==l.userDetails[0].mpin:(l.toast.pdTriggerappmessage("This App only for PD Officers"),localStorage.clear())):l.toast.pdTriggerappmessage("")})},l.prototype.setnewpin=function(l){var n=this;console.log("set Pin"),this.aws.userpinupdate(l).subscribe(function(l){n.newpindetails=l,1==n.newpindetails.dataStatus&&n.navCtrl.setRoot(YO)})},l.prototype.checkpin=function(l){console.log("Check pin",l),""!=l&&null!=l?this.userDetails[0].mpin==l?(console.log("Entering List page"),this.navCtrl.setRoot(YO)):this.toast.pdTriggerappmessage("Enter The Correct PIN"):this.toast.pdTriggerappmessage("Enter The PIN")},l.prototype.checkfingerprint=function(){var l=this;console.log("Check Finger"),this.faio.show({clientId:"Fingerprint-Demo",clientSecret:"password",localizedFallbackTitle:"Use Pin",localizedReason:"Please authenticate",disableBackup:!0}).then(function(n){l.navCtrl.setRoot(YO)}).catch(function(n){l.toast.pdTriggerappmessage("err: "+n)})},l=uL([Object(fP.k)({selector:"page-auth",templateUrl:"auth.html"}),tL("design:paramtypes",[hP.s,hP.t,hP.p,EP.g,SP,lD,eL.a,NP,rD,TP])],l)}(),iL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},oL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},rL=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.awsservice=e,this.PdtriggerProvider=u,this.shared=t,this.db=a,this.androidPermissions=i,this.pdlistdetails=[],this.pdcomplete=[],this.bgColorPast=[],this.bgColor=[],this.pdlist="0"}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad CompleteListPage"),this.db.getuserDetails()},l.prototype.ionViewCanEnter=function(){console.log("Pd list ionViewCanEnter"),this.getpdTriggerdetails()},l.prototype.doRefresh=function(l){this.bgColor=[],this.pdschduleDetails=[],this.pdcomplete=[],this.shared.refresh(),this.getpdTriggerdetails(),setTimeout(function(){l.complete()},2e3)},l.prototype.getpdTriggerdetails=function(){var l=this,n=this.awsservice.getlocale();this.PdtriggerProvider.getpddetails(n).subscribe(function(n){console.log("res",n),l.pdlistdetails=n,1==l.pdlistdetails.dataStatus?(l.pdlistaccess=!1,l.pdcomplete=l.pdlistdetails.records.filter(function(l){return"COMPLETED"==l.pd_status}),l.searchcomplete=l.pdcomplete,l.random_bg_color(),l.random_ng_past()):(l.pdlistaccess=!1,l.pdlistdetails="No Records Found")})},l.prototype.random_bg_color=function(){for(var l=0,n=this.pdcomplete;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},sL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},cL=function(){function l(l,n,e,u,t,a,i,o,r,_,d){var s=this;this.platform=l,this.statusBar=n,this.splashScreen=e,this.aws=u,this.shared=t,this.AWS=a,this.alertCtrl=i,this.push=r,this.event=_,this.toastProvider=d,this.userAccess=!1,this.rootPage=nL,this.alertShown=!1,o.setDefaultTTL(3600),this.initializeApp(),this.pages=[{title:"Home",icon:"home",method:function(){return s.menulist(1)}},{title:"Logout",icon:"md-exit",method:function(){return s.menulist(2)}},{title:"Complete List",icon:"checkmark-circle",method:function(){return s.menulist(3)}}]}return l.prototype.initializeApp=function(){var l=this;this.platform.ready().then(function(){l.statusBar.styleDefault(),l.platform.is("android")&&(l.statusBar.overlaysWebView(!1),l.statusBar.backgroundColorByHexString("#db4437")),l.splashScreen.hide(),l.shared.getAccessToken().then(function(){l.getuserDetails(),l.rootPage=aL,l.notification()}).catch(function(){setTimeout(function(){l.rootPage=nL,l.unregisterNotification()},1e3)})}),this.platform.registerBackButtonAction(function(){if(1==l.nav.length()){if(0==l.alertShown){var n=l.alertCtrl.create({title:"Confirm Exit",message:"Do You Want Exit ?",buttons:[{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked"),l.alertShown=!1}},{text:"Yes",handler:function(){console.log("Exit"),l.platform.exitApp()}}]});n.present(),l.alertShown=!0}}else l.nav.pop()})},l.prototype.presentConfirm=function(){var l=this,n=this.alertCtrl.create({title:"Confirm Exit",message:"Do You Want Exit ?",buttons:[{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked")}},{text:"Yes",handler:function(){console.log("Exit"),l.platform.exitApp()}}]});n.present()},l.prototype.getuserDetails=function(){var l=this;this.userDetails="";var n=this.aws.getlocale();this.aws.getuserprofile(n).subscribe(function(n){l.userDetails=n,1==l.userDetails.dataStatus&&(notificationAccess=!0,l.userAccess=!0,l.userDetails=l.userDetails.records[0])})},l.prototype.menulist=function(l){var n=this;switch(l){case 1:this.nav.setRoot(YO);break;case 2:this.AWS.logout().subscribe(function(){n.nav.setRoot(nL)});break;case 3:this.nav.setRoot(rL)}},l.prototype.logout=function(){this.nav.setRoot(nL)},l.prototype.notification=function(){var l=this;this.push.hasPermission().then(function(l){l.isEnabled?console.log("We have permission to send push notifications"):console.log("We do not have permission to send push notifications")});var n=this.push.init({android:{senderID:"893175418100"},ios:{alert:"true",badge:!0,sound:"false"},windows:{},browser:{pushServiceURL:"http://push.api.phonegap.com/v1/push"}});notificationAccess?n.on("notification").subscribe(function(n){console.log("Received a notification",n),n.additionalData.foreground?(l.event.publish("alert",n),l.toastProvider.setAlertwithButton(n)):(l.event.publish("notify",n),l.rootPage=YO)}):console.log("Sorry you dont have notification access"),n.on("registration").subscribe(function(l){return console.log("Device registered",l)}),n.on("error").subscribe(function(l){return console.error("Error with Push plugin",l)})},l.prototype.unregisterNotification=function(){},dL([Object(fP.Z)(hP.r),sL("design:type",hP.r)],l.prototype,"nav",void 0),l=dL([Object(fP.k)({templateUrl:"app.html"}),sL("design:paramtypes",[hP.w,gP.a,bP.a,NP,SP,NP,hP.a,MP.b,_L.a,hP.h,lD])],l)}(),mL=e(368),pL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},fL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},hL=function(){function l(){}return l.prototype.getlogin=function(){},l=pL([Object(fP.x)(),fL("design:paramtypes",[])],l)}(),gL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},bL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},vL=function(){function l(l){this.shared=l}return l.prototype.intercept=function(l,n){var e;this.shared.refresh(),e=(e=this.shared.getToken()||null).getIdToken().getJwtToken();var u=l.clone({headers:new vP.h({Authorization:"sparqvenba2018",Token:e,From:"1"})});return n.handle(u).pipe(Object(aD.catchError)(this.handleError("role",[])))},l.prototype.handleError=function(l,n){return void 0===l&&(l="operation"),function(l){if(l instanceof vP.f)return console.error("Error: "+l.status),401==l.status&&localStorage.clear(),Object(wP.of)(n)}},l=gL([Object(fP.x)(),bL("design:paramtypes",[SP])],l)}(),yL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},CL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},wL=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.SwipedTabsIndicator=null,this.tabTitleWidthArray=[],this.tabElementWidth_px=50,this.screenWidth_px=0,this.isRight=!0,this.isLeft=!0,this.tabs=[],this.tabs=["1","2","3","4","5","6","7","9","10","11"],console.log("Width: "+e.width()),this.screenWidth_px=e.width()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad GoogleplaytabPage")},l.prototype.ionViewDidEnter=function(){this.SwipedTabsIndicator=document.getElementById("indicator");for(var l in this.tabs)this.tabTitleWidthArray.push(document.getElementById("tabTitle"+l).offsetWidth);this.selectTab(0)},l.prototype.scrollIndicatiorTab=function(){this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0)},l.prototype.selectTab=function(l){this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[l]+"px",this.SwipedTabsIndicator.style.webkitTransform="translate3d("+this.calculateDistanceToSpnd(l)+"px,0,0)",this.SwipedTabsSlider.slideTo(l)},l.prototype.calculateDistanceToSpnd=function(l){for(var n=0,e=0;en&&(this.isLeft=!1,this.isRight=!0),this.SwipedTabsSlider.isEnd()&&(this.isRight=!1),this.SwipedTabsSlider.isBeginning()&&(this.isLeft=!1),this.isRight&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])+"px,0,0)"),this.isLeft&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])+"px,0,0)"),this.isRight||this.isLeft||(this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+"px")},yL([Object(fP.Z)("SwipedTabsSlider"),CL("design:type",hP.x)],l.prototype,"SwipedTabsSlider",void 0),yL([Object(fP.Z)("MultiItemsScrollingTabs"),CL("design:type",hP.e)],l.prototype,"ItemsTitles",void 0),l=yL([Object(fP.k)({selector:"page-googleplaytab",templateUrl:"googleplaytab.html"}),CL("design:paramtypes",[hP.s,hP.t,hP.w])],l)}(),FL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},xL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kL=function(){function l(l,n){this.navCtrl=l,this.navParams=n,this.pdFullDetails=[],this.pdFullDetails=this.navParams.get("pdDetails"),console.log(this.pdFullDetails)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdAllocationPage")},l=FL([Object(fP.k)({selector:"page-pd-allocation",templateUrl:"pd-allocation.html"}),xL("design:paramtypes",[hP.s,hP.t])],l)}(),SL=e(467),IL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},qL=function(){function l(){}return l.prototype.transform=function(l,n){var e=n.existRelationList.filter(function(l){return l.relation_to==n.currentApplicantID});if(e.length>0){return l.filter(function(l){return!e.some(function(e){return l.pd_co_applicant_id==n.currentApplicantID||l.pd_co_applicant_id==e.pd_co_applicant_id})})}return l.filter(function(l){return l.pd_co_applicant_id!=n.currentApplicantID})},l=IL([Object(fP.M)({name:"pdPipe"})],l)}(),PL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},DL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},TL=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.fb=e,this.salaryDetails=this.fb.group({gross:[null],netTakeHome:[null],bounsIncentive:[null],salaryDate:[null],anydelays:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSalaryInfoPage")},l=PL([Object(fP.k)({selector:"page-pd-question-salary-info",templateUrl:"pd-question-salary-info.html"}),DL("design:paramtypes",[hP.s,hP.t,EP.g])],l)}(),OL=e(80),LL=e(206),AL=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),VL=function(l){function n(){return null!==l&&l.apply(this,arguments)||this}return AL(n,l),n.prototype.init=function(){var l=this.enteringView.pageRef().nativeElement,n=new hP.b(this.plt,l.querySelector(".modal-wrapper"));n.beforeStyles({transform:"scale(0)",opacity:1}),n.fromTo("transform","scale(0)","scale(1.0)"),n.fromTo("opacity",1,1),this.element(this.enteringView.pageRef()).duration(500).easing("cubic-bezier(.1, .7, .1, 1)").add(n)},n}(hP.u),NL=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var e in n)n.hasOwnProperty(e)&&(l[e]=n[e])};return function(n,e){function u(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}(),WL=function(l){function n(){return null!==l&&l.apply(this,arguments)||this}return NL(n,l),n.prototype.init=function(){var l=this.leavingView.pageRef().nativeElement,n=new hP.b(this.plt,l.querySelector(".modal-wrapper")),e=new hP.b(this.plt,l.querySelector(".wrapper"));n.beforeStyles({transform:"scale(0)",opacity:1}),n.fromTo("transform","scale(1)","scale(5.0)"),n.fromTo("opacity",1,1),e.fromTo("opacity",1,0),this.element(this.leavingView.pageRef()).duration(500).easing("cubic-bezier(.1, .7, .1, 1)").add(e).add(n)},n}(hP.u),EL=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},jL=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},$L=function(){function l(l){this.config=l,this.setCustomTransitionsForModal()}return l.prototype.setCustomTransitionsForModal=function(){this.config.setTransition("modal-scale-up-leave",WL),this.config.setTransition("modal-scale-up-enter",VL)},l=EL([Object(fP.E)({declarations:[cL,aL,nL,YO,rL,xO,tD,wL,XO,kL,RO,qO,hD,AD,qD,wD,vD,TD,aO,kD,uT,KD,zD,JD,lT,iT,jD,DT,cT,_T,aO,CT,fT,jT,AO,bT,RT,QT,KT,ZT,eO,pO,gO,rO,sO,xT,TO,TL,LT,IT,NT,ND,GT,RD,WO,yO],imports:[pP.a,EP.w,EP.m,hP.n.forRoot(cL,{},{links:[]}),mL.a,WP.a,WP.b,WP.c,WP.d,WP.e,WP.f,WP.g,WP.i,WP.n,WP.j,WP.k,WP.l,WP.m,WP.n,WP.o,WP.p,WP.r,WP.s,WP.t,WP.u,WP.v,WP.x,WP.y,WP.A,WP.z,WP.B,WP.C,WP.E,WP.F,WP.G,WP.H,WP.D,vP.d,SL.a,OL.b,LL.c,_D.a.forRoot(),MP.a.forRoot()],bootstrap:[hP.l],entryComponents:[cL,aL,nL,YO,xO,tD,wL,XO,rL,kL,RO,qO,hD,AD,qD,wD,vD,TD,aO,kD,uT,KD,zD,JD,lT,iT,jD,DT,cT,_T,aO,CT,fT,jT,AO,bT,RT,QT,KT,ZT,eO,pO,gO,rO,sO,xT,TO,TL,LT,IT,NT,RD,WO,yO],providers:[gP.a,NP,hL,vL,lD,TP,SP,bP.a,UP,eL.a,UO.a,kO.a,EO.a,_L.a,hP.h,{provide:vP.a,useClass:vL,multi:!0},{provide:fP.r,useClass:hP.m},$P.a,NP,GP,JP,zP.a,qL,qP.a,rD,IP.a,HO,cD]}),jL("design:paramtypes",[hP.d])],l)}(),BL=e(153),RL=e(468),UL=e(469),ML=e(470),KL=e(471),HL=e(472),GL=e(473),zL=e(474),YL=e(475),QL=e(476),JL=e(373),XL=e(477),ZL=e(478),lA=e(479),nA=e(480),eA=e(107),uA=e(62),tA=e(60),aA=e(2),iA=e(82),oA=e(95),rA=e(232),_A=e(24),dA=e(20),sA=e(481),cA=e(117),mA=e(185),pA=e(5),fA=e(18),hA=e(40),gA=e(9),bA=e(8),vA=e(27),yA=e(15),CA=e(6),wA=e(14),FA=e(91),xA=e(482),kA=e(157),SA=e(113),IA=e(73),qA=e(93),PA=e(200),DA=e(160),TA=fP._16({encapsulation:2,styles:[],data:{}}),OA=fP._14("ng-component",cL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"ng-component",[],null,null,null,i,TA)),fP._17(1,49152,null,0,cL,[pA.a,gP.a,bP.a,NP,SP,NP,qA.a,PA.a,_L.a,DA.a,lD],null,null)],null,null)},{},{},[]),LA=e(31),AA=e(26),VA=e(32),NA=e(34),WA=e(41),EA=e(25),jA=e(7),$A=e(37),BA=e(129),RA=e(85),UA=e(23),MA=e(11),KA=fP._16({encapsulation:2,styles:[],data:{}}),HA=fP._14("page-auth",aL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-auth",[],null,null,null,_,KA)),fP._17(1,49152,null,0,aL,[wA.a,MA.a,_A.a,EP.g,SP,lD,eL.a,NP,rD,TP],null,null)],null,null)},{},{},[]),GA=e(126),zA=fP._16({encapsulation:2,styles:[],data:{}}),YA=fP._14("page-login",nL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-login",[],null,null,null,s,zA)),fP._17(1,114688,null,0,nL,[NP,GA.d,SP,wA.a,_A.a,lD],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),QA=e(33),JA=e(29),XA=e(21),ZA=e(19),lV=e(164),nV=e(118),eV=e(483),uV=e(28),tV=e(30),aV=e(22),iV=e(17),oV=e(38),rV=e(36),_V=e(59),dV=e(61),sV=e(54),cV=e(123),mV=e(264),pV=e(135),fV=e(265),hV=e(119),gV=e(266),bV=e(136),vV=e(52),yV=fP._16({encapsulation:2,styles:[],data:{}}),CV=fP._14("page-pd-list",YO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-list",[],null,null,null,N,yV)),fP._17(1,49152,null,0,YO,[wA.a,MA.a,NP,UP,SP,HO,kO.a,DA.a],null,null)],null,null)},{},{},[]),wV=e(83),FV=e(134),xV=fP._16({encapsulation:2,styles:[],data:{}}),kV=fP._14("page-pd-question-category",xO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-category",[],null,null,null,Y,xV)),fP._17(1,49152,null,0,xO,[wA.a,MA.a,GP,NP,SP,lD,UP,FV.a,TP],null,null)],null,null)},{},{},[]),SV=e(267),IV=e(142),qV=e(86),PV=e(71),DV=e(56),TV=e(58),OV=e(53),LV=e(144),AV=e(105),VV=e(207),NV=e(122),WV=e(108),EV=e(78),jV=e(484),$V=e(189),BV=e(375),RV=fP._16({encapsulation:2,styles:[],data:{}}),UV=fP._14("page-pd-question",tD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question",[],null,null,null,sl,RV)),fP._17(1,49152,null,0,tD,[wA.a,MA.a,pA.a,EP.g,GP,NP,JP,lD],null,null)],null,null)},{},{},[]),MV=fP._16({encapsulation:2,styles:[],data:{}}),KV=fP._14("page-googleplaytab",wL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-googleplaytab",[],null,null,null,gl,MV)),fP._17(1,49152,null,0,wL,[wA.a,MA.a,pA.a],null,null)],null,null)},{},{},[]),HV=fP._16({encapsulation:2,styles:[],data:{}}),GV=fP._14("page-password",XO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-password",[],null,null,null,bl,HV)),fP._17(1,49152,null,0,XO,[wA.a,MA.a,NP,lD,TP],null,null)],null,null)},{},{},[]),zV=fP._16({encapsulation:2,styles:[],data:{}}),YV=fP._14("page-complete-list",rL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-complete-list",[],null,null,null,Fl,zV)),fP._17(1,49152,null,0,rL,[wA.a,MA.a,NP,UP,SP,HO,kO.a],null,null)],null,null)},{},{},[]),QV=fP._16({encapsulation:2,styles:[],data:{}}),JV=fP._14("page-pd-allocation",kL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-allocation",[],null,null,null,Tl,QV)),fP._17(1,49152,null,0,kL,[wA.a,MA.a],null,null)],null,null)},{},{},[]),XV=e(115),ZV=e(485),lN=e(180),nN=fP._16({encapsulation:2,styles:[],data:{}}),eN=fP._14("page-input",RO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-input",[],null,null,null,pn,nN)),fP._17(1,49152,null,0,RO,[wA.a,MA.a,EP.g,gP.a,jP.a,$P.a,NP,UP,IP.a,qA.a,qP.a,lD,TP,kO.a,FV.a,GP,JP,rD,cD,EO.a],null,null)],null,null)},{},{},[]),uN=e(48),tN=e(51),aN=e(42),iN=e(39),oN=e(16),rN=fP._16({encapsulation:2,styles:[],data:{}}),_N=fP._14("page-otp",qO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-otp",[],null,null,null,wn,rN)),fP._17(1,49152,null,0,qO,[wA.a,MA.a,UP,lD,_A.a,TP,NP,qA.a,GP,EP.g,IP.a,kO.a],null,null)],null,null)},{},{},[]),dN=e(97),sN=e(268),cN=e(143),mN=fP._16({encapsulation:2,styles:[],data:{}}),pN=fP._14("page-pd-question-address",hD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-address",[],null,null,null,pe,mN)),fP._17(1,49152,null,0,hD,[wA.a,MA.a,EP.g,GP,NP,lD,qA.a,TP,zP.a,rD,cD],null,null)],null,null)},{},{},[]),fN=fP._16({encapsulation:2,styles:[],data:{}}),hN=fP._14("page-pd-question-assests",AD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assests",[],null,null,null,hu,fN)),fP._17(1,49152,null,0,AD,[wA.a,MA.a,EP.g,NP,GP,lD,TP,zP.a,qA.a],null,null)],null,null)},{},{},[]),gN=fP._16({encapsulation:2,styles:[],data:{}}),bN=fP._14("page-pd-question-banking",qD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-banking",[],null,null,null,Mu,gN)),fP._17(1,49152,null,0,qD,[wA.a,MA.a,EP.g,NP,GP,lD,TP,JP,rD],null,null)],null,null)},{},{},[]),vN=e(179),yN=fP._16({encapsulation:2,styles:[],data:{}}),CN=fP._14("page-pd-question-current-loans",wD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-current-loans",[],null,null,null,wt,yN)),fP._17(1,49152,null,0,wD,[wA.a,MA.a,EP.g,GP,lD,NP,TP,JP,rD],null,null)],null,null)},{},{},[]),wN=fP._16({encapsulation:2,styles:[],data:{}}),FN=fP._14("page-pd-question-emp-info",vD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-emp-info",[],null,null,null,ha,wN)),fP._17(1,49152,null,0,vD,[wA.a,MA.a,EP.g,GP,NP,lD,TP,JP,rD],null,null)],null,null)},{},{},[]),xN=fP._16({encapsulation:2,styles:[],data:{}}),kN=fP._14("page-pd-question-family",TD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-family",[],null,null,null,ai,xN)),fP._17(1,49152,null,0,TD,[wA.a,MA.a,EP.g,GP,NP,lD,TP,JP,rD],null,null)],null,null)},{},{},[]),SN=e(106),IN=e(145),qN=fP._16({encapsulation:2,styles:[],data:{}}),PN=fP._14("page-pd-question-business-info",aO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-business-info",[],null,null,null,Ed,qN)),fP._17(1,49152,null,0,aO,[wA.a,MA.a,NP,lD,GP,EP.g,TP,rD,JP],null,null)],null,null)},{},{},[]),DN=fP._16({encapsulation:2,styles:[],data:{}}),TN=fP._14("page-pd-question-loans",kD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-loans",[],null,null,null,Ps,DN)),fP._17(1,180224,null,0,kD,[wA.a,MA.a,EP.g,GP,NP,lD,TP,JP,rD,cD],null,null)],null,null)},{},{},[]),ON=fP._16({encapsulation:2,styles:[],data:{}}),LN=fP._14("page-pd-question-financial-info",uT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-financial-info",[],null,null,null,Kc,ON)),fP._17(1,49152,null,0,uT,[wA.a,MA.a,NP,lD,GP,EP.g,TP,JP,rD],null,null)],null,null)},{},{},[]),AN=fP._16({encapsulation:2,styles:[],data:{}}),VN=fP._14("page-pd-question-other-income",KD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-other-income",[],null,null,null,vm,AN)),fP._17(1,49152,null,0,KD,[wA.a,MA.a,EP.g,GP,NP,lD,TP,JP,rD,qA.a],null,null)],null,null)},{},{},[]),NN=fP._16({encapsulation:2,styles:[],data:{}}),WN=fP._14("page-pd-question-supplier-info",zD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-supplier-info",[],null,null,null,gp,NN)),fP._17(1,49152,null,0,zD,[wA.a,MA.a,EP.g,NP,GP,lD,JP,rD,TP],null,null)],null,null)},{},{},[]),EN=fP._16({encapsulation:2,styles:[],data:{}}),jN=fP._14("page-pd-question-personal-info",JD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-personal-info",[],null,null,null,Ip,EN)),fP._17(1,114688,null,0,JD,[wA.a,MA.a,NP,GP,lD,EP.g],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),$N=fP._16({encapsulation:2,styles:[],data:{}}),BN=fP._14("page-pd-question-stock-info",lT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-stock-info",[],null,null,null,Gf,$N)),fP._17(1,49152,null,0,lT,[wA.a,MA.a,GP,NP,lD,EP.g,TP,JP,rD],null,null)],null,null)},{},{},[]),RN=fP._16({encapsulation:2,styles:[],data:{}}),UN=fP._14("page-pd-question-client-info",iT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-client-info",[],null,null,null,Gh,RN)),fP._17(1,49152,null,0,iT,[wA.a,MA.a,GP,NP,lD,EP.g,rD,JP,TP],null,null)],null,null)},{},{},[]),MN=e(163),KN=e(70),HN=fP._16({encapsulation:2,styles:[],data:{}}),GN=fP._14("page-pd-question-rental-info",jD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-rental-info",[],null,null,null,yv,HN)),fP._17(1,49152,null,0,jD,[wA.a,MA.a,NP,lD,GP,EP.g,TP,qA.a,rD,JP],null,null)],null,null)},{},{},[]),zN=fP._16({encapsulation:2,styles:[],data:{}}),YN=fP._14("page-pd-question-assessed-info",DT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"page-pd-question-assessed-info",[],null,null,null,fy,zN)),fP._37(4608,null,ND,ND,[]),fP._17(2,49152,null,0,DT,[wA.a,MA.a,NP,GP,lD,EP.g,TP],null,null)],null,null)},{},{},[]),QN=fP._16({encapsulation:2,styles:[],data:{}}),JN=fP._14("page-pd-question-assessed-daily-sales",cT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-daily-sales",[],null,null,null,Vy,QN)),fP._17(1,49152,null,0,cT,[wA.a,MA.a,NP,GP,lD,EP.g,TP],null,null)],null,null)},{},{},[]),XN=fP._16({encapsulation:2,styles:[],data:{}}),ZN=fP._14("page-pd-question-assessed-sales",_T,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-sales",[],null,null,null,tC,XN)),fP._17(1,49152,null,0,_T,[wA.a,MA.a,NP,EP.g,GP,lD,TP],null,null)],null,null)},{},{},[]),lW=fP._16({encapsulation:2,styles:[],data:{}}),nW=fP._14("page-pd-question-assessed-household",CT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-household",[],null,null,null,mC,lW)),fP._17(1,49152,null,0,CT,[wA.a,MA.a,EP.g,NP,lD,GP,TP],null,null)],null,null)},{},{},[]),eW=fP._16({encapsulation:0,styles:[".scroll-content[_ngcontent-%COMP%] {\n padding: 16px;\n}\n .scroll-content[_ngcontent-%COMP%]{\n background-color: #eee;\n }\n .mat-card[_ngcontent-%COMP%]{\n margin-bottom: 15px;\n border-radius: 10px !important;\n box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important;\n }\n.mat-card-content[_ngcontent-%COMP%]{\n margin-bottom: 0px !important;\n}"],data:{}}),uW=fP._14("page-pd-question-assessed-purchase",fT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-purchase",[],null,null,null,VC,eW)),fP._17(1,49152,null,0,fT,[wA.a,EP.g,MA.a,GP,lD,NP,TP],null,null)],null,null)},{},{},[]),tW=fP._16({encapsulation:2,styles:[],data:{}}),aW=fP._14("page-pd-question-assessed-dash",jT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-dash",[],null,null,null,JC,tW)),fP._17(1,49152,null,0,jT,[wA.a,MA.a,NP,EP.g,GP,lD,qA.a],null,null)],null,null)},{},{},[]),iW=fP._16({encapsulation:2,styles:[],data:{}}),oW=fP._14("page-bounced-reject",AO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-bounced-reject",[],null,null,null,lw,iW)),fP._17(1,49152,null,0,AO,[wA.a,MA.a,CA.a,NP,UP,GP,EP.g,lD],null,null)],null,null)},{},{},[]),rW=fP._16({encapsulation:2,styles:[],data:{}}),_W=fP._14("page-pd-question-assessed-business",bT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-business",[],null,null,null,sw,rW)),fP._17(1,49152,null,0,bT,[wA.a,MA.a,EP.g,NP,GP,lD,TP],null,null)],null,null)},{},{},[]),dW=fP._16({encapsulation:2,styles:[],data:{}}),sW=fP._14("page-pd-question-lender-representative",RT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-lender-representative",[],null,null,null,Pw,dW)),fP._17(1,49152,null,0,RT,[wA.a,MA.a,NP,GP,lD,EP.g,JP,rD,TP],null,null)],null,null)},{},{},[]),cW=e(486),mW=e(182),pW=e(228),fW=e(181),hW=e(487),gW=e(176),bW=e(196),vW=fP._16({encapsulation:2,styles:[],data:{}}),yW=fP._14("page-pd-question-general-info",QT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"page-pd-question-general-info",[],null,null,null,zF,vW)),fP._37(4608,null,GT,GT,[]),fP._17(2,49152,null,0,QT,[wA.a,MA.a,NP,GP,lD,EP.g,FV.a,JP,rD,TP],null,null)],null,null)},{},{},[]),CW=fP._16({encapsulation:2,styles:[],data:{}}),wW=fP._14("page-pd-question-general-other-applicant",KT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-general-other-applicant",[],null,null,null,XF,CW)),fP._17(1,49152,null,0,KT,[wA.a,MA.a,EP.g,CA.a],null,null)],null,null)},{},{},[]),FW=fP._16({encapsulation:2,styles:[],data:{}}),xW=fP._14("page-pd-question-neighbour-hood",ZT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-neighbour-hood",[],null,null,null,Kx,FW)),fP._17(1,49152,null,0,ZT,[wA.a,MA.a,NP,GP,lD,EP.g,TP,JP,rD],null,null)],null,null)},{},{},[]),kW=fP._16({encapsulation:2,styles:[],data:{}}),SW=fP._14("page-pd-question-final-remark",eO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-final-remark",[],null,null,null,Hk,kW)),fP._17(1,49152,null,0,eO,[wA.a,MA.a,EP.g,GP,NP,lD,JP,rD,TP],null,null)],null,null)},{},{},[]),IW=fP._16({encapsulation:2,styles:[],data:{}}),qW=fP._14("page-pd-question-future-plans-and-business-environment",pO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-future-plans-and-business-environment",[],null,null,null,mS,IW)),fP._17(1,49152,null,0,pO,[wA.a,MA.a,EP.g,GP,NP,lD,JP,rD,TP],null,null)],null,null)},{},{},[]),PW=fP._16({encapsulation:2,styles:[],data:{}}),DW=fP._14("page-pd-question-business-group",gO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-business-group",[],null,null,null,wS,PW)),fP._17(1,49152,null,0,gO,[wA.a,MA.a,GP],null,null)],null,null)},{},{},[]),TW=e(195),OW=e(488),LW=fP._16({encapsulation:2,styles:[],data:{}}),AW=fP._14("page-pd-question-business-assets",rO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-business-assets",[],null,null,null,DI,LW)),fP._17(1,49152,null,0,rO,[wA.a,MA.a,NP,EP.g,GP,TP,lD,rD,JP],null,null)],null,null)},{},{},[]),VW=fP._16({encapsulation:2,styles:[],data:{}}),NW=fP._14("page-pd-question-business-banking",sO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-business-banking",[],null,null,null,uq,VW)),fP._17(1,49152,null,0,sO,[wA.a,MA.a,NP,EP.g,GP,TP,lD,rD,JP],null,null)],null,null)},{},{},[]),WW=fP._16({encapsulation:2,styles:[],data:{}}),EW=fP._14("page-pd-question-assessed-business-income",xT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-business-income",[],null,null,null,fq,WW)),fP._17(1,49152,null,0,xT,[wA.a,MA.a,EP.g,NP,GP,lD,TP],null,null)],null,null)},{},{},[]),jW=fP._16({encapsulation:2,styles:[],data:{}}),$W=fP._14("page-pd-general-images",TO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-general-images",[],null,null,null,yq,jW)),fP._17(1,49152,null,0,TO,[wA.a,MA.a,JP,GP,lD],null,null)],null,null)},{},{},[]),BW=fP._16({encapsulation:2,styles:[],data:{}}),RW=fP._14("page-pd-question-salary-info",TL,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-salary-info",[],null,null,null,wq,BW)),fP._17(1,49152,null,0,TL,[wA.a,MA.a,EP.g],null,null)],null,null)},{},{},[]),UW=fP._16({encapsulation:2,styles:[],data:{}}),MW=fP._14("page-pd-question-assessed-summary",LT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"page-pd-question-assessed-summary",[],null,null,null,Aq,UW)),fP._37(4608,null,ND,ND,[]),fP._17(2,49152,null,0,LT,[wA.a,MA.a,GP],null,null)],null,null)},{},{},[]),KW=fP._16({encapsulation:2,styles:[],data:{}}),HW=fP._14("page-pd-question-assessed-daily-purchase",IT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-daily-purchase",[],null,null,null,Gq,KW)),fP._17(1,49152,null,0,IT,[wA.a,MA.a,NP,EP.g,GP,lD,TP],null,null)],null,null)},{},{},[]),GW=fP._16({encapsulation:2,styles:[],data:{}}),zW=fP._14("page-pd-question-assessed-images",NT,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-pd-question-assessed-images",[],null,null,null,aP,GW)),fP._17(1,49152,null,0,NT,[wA.a,MA.a,JP,rD,lD,GP,TP],null,null)],null,null)},{},{},[]),YW=fP._16({encapsulation:2,styles:[],data:{}}),QW=fP._14("page-pd-question-rental-dash",RD,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,2,"page-pd-question-rental-dash",[],null,null,null,rP,YW)),fP._37(4608,null,ND,ND,[]),fP._17(2,49152,null,0,RD,[wA.a,MA.a,GP],null,null)],null,null)},{},{},[]),JW=fP._16({encapsulation:2,styles:[],data:{}}),XW=fP._14("page-map-address",WO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-map-address",[],null,null,null,sP,JW)),fP._17(1,49152,null,0,WO,[wA.a,MA.a,GP,EP.g,NP,UP,lD],null,null)],null,null)},{},{},[]),ZW=fP._16({encapsulation:2,styles:[],data:{}}),lE=fP._14("page-form-complete-check-modal",yO,function(l){return fP._42(0,[(l()(),fP._18(0,0,null,null,1,"page-form-complete-check-modal",[],null,null,null,mP,ZW)),fP._17(1,49152,null,0,yO,[wA.a,MA.a],null,null)],null,null)},{},{},[]),nE=e(250),eE=e(369),uE=e(79),tE=e(141),aE=e(342),iE=e(127),oE=e(353),rE=e(354),_E=e(260),dE=e(259),sE=e(358),cE=e(360),mE=e(155),pE=e(133),fE=e(226),hE=e(116),gE=e(231),bE=e(177),vE=e(239),yE=e(247),CE=e(243),wE=e(366),FE=e(341),xE=e(248),kE=e(234),SE=e(249),IE=e(65),qE=e(350),PE=e(351),DE=e(197),TE=e(258),OE=e(352),LE=e(355),AE=e(198),VE=e(356),NE=e(357),WE=e(261),EE=e(362),jE=e(363),$E=e(364),BE=e(361),RE=e(370),UE=fP._15($L,[BL.b],function(l){return fP._29([fP._30(512,fP.l,fP._11,[[8,[RL.a,UL.a,ML.a,KL.a,HL.a,GL.a,zL.a,YL.a,QL.a,JL.a,XL.a,ZL.a,lA.a,lA.b,nA.a,OA,HA,YA,CV,kV,UV,KV,GV,YV,JV,eN,_N,pN,hN,bN,CN,FN,kN,PN,TN,LN,VN,WN,jN,BN,UN,GN,YN,JN,ZN,nW,uW,aW,oW,_W,sW,yW,wW,xW,SW,qW,DW,AW,NW,EW,$W,RW,MW,HW,zW,QW,XW,lE]],[3,fP.l],fP.F]),fP._30(5120,fP.D,fP._28,[[3,fP.D]]),fP._30(4608,mD.m,mD.l,[fP.D,[2,mD.x]]),fP._30(5120,fP.b,fP._19,[]),fP._30(5120,fP.B,fP._25,[]),fP._30(5120,fP.C,fP._26,[]),fP._30(4608,pP.c,pP.q,[mD.d]),fP._30(6144,fP.S,null,[pP.c]),fP._30(4608,pP.f,nE.a,[]),fP._30(5120,pP.d,function(l,n,e,u,t){return[new pP.k(l,n),new pP.o(e),new pP.n(u,t)]},[mD.d,fP.H,mD.d,mD.d,pP.f]),fP._30(4608,pP.e,pP.e,[pP.d,fP.H]),fP._30(135680,pP.m,pP.m,[mD.d]),fP._30(4608,pP.l,pP.l,[pP.e,pP.m]),fP._30(5120,eE.a,mL.d,[]),fP._30(5120,eE.c,mL.e,[]),fP._30(4608,eE.b,mL.c,[eE.a,eE.c]),fP._30(5120,fP.Q,mL.f,[pP.l,eE.b,fP.H]),fP._30(6144,pP.p,null,[pP.m]),fP._30(4608,fP.X,fP.X,[fP.H]),fP._30(4608,pP.h,pP.h,[mD.d]),fP._30(4608,pP.i,pP.i,[mD.d]),fP._30(4608,EP.g,EP.g,[]),fP._30(4608,EP.C,EP.C,[]),fP._30(4608,uE.b,mL.b,[fP.Q,pP.b]),fP._30(6144,oN.b,null,[mD.d]),fP._30(4608,oN.c,oN.c,[[2,oN.b]]),fP._30(4608,jP.a,jP.a,[]),fP._30(5120,iN.c,iN.a,[[3,iN.c],fP.H,jP.a]),fP._30(5120,iN.f,iN.e,[[3,iN.f],jP.a,fP.H]),fP._30(4608,KN.i,KN.i,[iN.c,iN.f,fP.H,mD.d]),fP._30(5120,KN.e,KN.k,[[3,KN.e],mD.d]),fP._30(4608,KN.h,KN.h,[iN.f,mD.d]),fP._30(5120,KN.f,KN.n,[[3,KN.f],mD.d]),fP._30(4608,KN.c,KN.c,[KN.i,KN.e,fP.l,KN.h,KN.f,fP.f,fP.z,fP.H,mD.d]),fP._30(5120,KN.l,KN.m,[KN.c]),fP._30(5120,TW.a,TW.b,[KN.c]),fP._30(4608,UA.l,UA.l,[jP.a]),fP._30(4608,UA.k,UA.k,[UA.l,fP.H,mD.d]),fP._30(136192,UA.e,UA.c,[[3,UA.e],mD.d]),fP._30(5120,UA.p,UA.o,[[3,UA.p],[2,UA.m],mD.d]),fP._30(5120,UA.j,UA.h,[[3,UA.j],fP.H,jP.a]),fP._30(5120,DV.d,DV.e,[[3,DV.d]]),fP._30(4608,tE.b,tE.b,[]),fP._30(4608,jA.d,jA.d,[]),fP._30(5120,mD.h,aE.b,[mD.s,[2,mD.a],aA.a]),fP._30(4608,mD.g,mD.g,[mD.h]),fP._30(5120,GA.b,GA.c,[KN.c]),fP._30(4608,GA.d,GA.d,[KN.c,fP.z,[2,mD.g],[2,GA.a],GA.b,[3,GA.d],KN.e]),fP._30(4608,vP.l,vP.l,[]),fP._30(6144,vP.k,null,[vP.l]),fP._30(4608,vP.i,vP.i,[vP.k]),fP._30(6144,vP.b,null,[vP.i]),fP._30(4608,vP.j,vP.o,[mD.d,fP.K,vP.m]),fP._30(4608,vP.p,vP.p,[vP.j,vP.n]),fP._30(4608,SP,SP,[]),fP._30(5120,vP.a,function(l,n){return[l,new vL(n)]},[vP.p,SP]),fP._30(5120,vP.g,vP.q,[vP.b,[2,vP.a]]),fP._30(4608,vP.c,vP.c,[vP.g]),fP._30(5120,iE.d,iE.a,[[3,iE.d],[2,vP.c],pP.c,[2,mD.d]]),fP._30(4608,bW.h,bW.h,[]),fP._30(5120,bW.a,bW.b,[KN.c]),fP._30(5120,oE.b,oE.d,[KN.c]),fP._30(6144,jA.h,null,[fP.D]),fP._30(4608,jA.c,jA.z,[[2,jA.h]]),fP._30(5120,aN.a,aN.b,[KN.c]),fP._30(5120,MN.b,MN.c,[KN.c]),fP._30(5120,rE.b,rE.a,[[3,rE.b]]),fP._30(4608,_E.d,_E.d,[jP.a]),fP._30(135680,_E.a,_E.a,[_E.d,fP.H]),fP._30(4608,dE.b,dE.b,[KN.c,UA.p,fP.z,_E.a,[3,dE.b]]),fP._30(5120,sE.b,sE.a,[[3,sE.b]]),fP._30(4608,cE.a,cE.a,[]),fP._30(5120,mE.b,mE.d,[bA.a,mE.a]),fP._30(5120,IA.a,IA.b,[bA.a,mE.b,mD.g,pE.b,fP.l]),fP._30(4608,OV.a,OV.a,[bA.a,aA.a,IA.a]),fP._30(5120,_D.b,_D.d,[_D.c]),fP._30(4608,fE.a,fE.a,[bA.a,aA.a]),fP._30(4608,qA.a,qA.a,[bA.a,aA.a]),fP._30(4608,DA.a,DA.a,[]),fP._30(4608,tA.a,tA.a,[]),fP._30(4608,hE.a,hE.a,[pA.a]),fP._30(4608,fA.a,fA.a,[aA.a,pA.a,fP.H,gA.a]),fP._30(4608,gE.a,gE.a,[bA.a,aA.a]),fP._30(4608,FV.a,FV.a,[bA.a,aA.a,IA.a]),fP._30(4608,bE.a,bE.a,[bA.a,aA.a]),fP._30(4608,vE.a,vE.a,[bA.a,aA.a,IA.a]),fP._30(4608,yE.a,yE.a,[aA.a,pA.a,gA.a,bA.a,hA.l]),fP._30(4608,CE.a,CE.a,[bA.a,aA.a]),fP._30(4608,SA.a,SA.a,[pA.a,aA.a]),fP._30(5120,PA.a,wE.c,[_D.b,wE.a]),fP._30(4608,gP.a,gP.a,[]),fP._30(4608,IP.a,IP.a,[]),fP._30(4608,qP.a,qP.a,[]),fP._30(4608,TP,TP,[vP.c,IP.a,qP.a]),fP._30(4608,NP,NP,[vP.c,SP,TP]),fP._30(4608,hL,hL,[]),fP._30(4608,vL,vL,[SP]),fP._30(4608,lD,lD,[vP.c,CE.a,qA.a]),fP._30(4608,bP.a,bP.a,[]),fP._30(4608,UP,UP,[vP.c,TP]),fP._30(4608,eL.a,eL.a,[]),fP._30(4608,UO.a,UO.a,[]),fP._30(4608,kO.a,kO.a,[]),fP._30(4608,EO.a,EO.a,[]),fP._30(4608,_L.a,_L.a,[]),fP._30(4608,$P.a,$P.a,[]),fP._30(4608,GP,GP,[vP.c,TP,PA.a]),fP._30(4608,zP.a,zP.a,[]),fP._30(4608,JP,JP,[vP.c,zP.a]),fP._30(4608,qL,qL,[]),fP._30(4608,rD,rD,[vP.c,gE.a]),fP._30(4608,HO,HO,[vP.c,UO.a]),fP._30(4608,cD,cD,[vP.c,_D.b,lD]),fP._30(512,mD.c,mD.c,[]),fP._30(512,fP.r,FE.a,[]),fP._30(256,aA.b,{},[]),fP._30(1024,xE.a,xE.b,[]),fP._30(1024,pA.a,pA.b,[pP.b,xE.a,fP.H]),fP._30(1024,aA.a,aA.c,[aA.b,pA.a]),fP._30(512,gA.a,gA.a,[pA.a]),fP._30(512,_A.a,_A.a,[]),fP._30(512,bA.a,bA.a,[aA.a,pA.a,[2,_A.a]]),fP._30(512,hA.l,hA.l,[bA.a]),fP._30(256,mE.a,{links:[]},[]),fP._30(512,fP.j,fP.j,[]),fP._30(512,kE.a,kE.a,[fP.j]),fP._30(1024,pE.b,pE.c,[kE.a,fP.z]),fP._30(1024,fP.c,function(l,n,e,u,t,a,i,o,r,_,d,s,c){return[pP.s(l),SE.a(n),DA.b(e,u),yE.b(t,a,i,o,r),pE.d(_,d,s,c)]},[[2,fP.G],aA.a,pA.a,gA.a,aA.a,pA.a,gA.a,bA.a,hA.l,aA.a,mE.a,pE.b,fP.H]),fP._30(512,fP.d,fP.d,[[2,fP.c]]),fP._30(131584,fP.f,fP.f,[fP.H,fP._12,fP.z,fP.r,fP.l,fP.d]),fP._30(512,fP.e,fP.e,[fP.f]),fP._30(512,pP.a,pP.a,[[3,pP.a]]),fP._30(512,EP.z,EP.z,[]),fP._30(512,EP.w,EP.w,[]),fP._30(512,EP.m,EP.m,[]),fP._30(512,aE.a,aE.a,[]),fP._30(512,mL.a,mL.a,[]),fP._30(512,oN.a,oN.a,[]),fP._30(256,jA.f,!0,[]),fP._30(512,jA.n,jA.n,[[2,jA.f]]),fP._30(512,jP.b,jP.b,[]),fP._30(512,jA.y,jA.y,[]),fP._30(512,jA.w,jA.w,[]),fP._30(512,jA.u,jA.u,[]),fP._30(512,IE.g,IE.g,[]),fP._30(512,iN.b,iN.b,[]),fP._30(512,KN.g,KN.g,[]),fP._30(512,TW.d,TW.d,[]),fP._30(512,UA.a,UA.a,[]),fP._30(512,RA.d,RA.d,[]),fP._30(512,qE.a,qE.a,[]),fP._30(512,AA.f,AA.f,[]),fP._30(512,tE.c,tE.c,[]),fP._30(512,AV.c,AV.c,[]),fP._30(512,PE.a,PE.a,[]),fP._30(512,GA.g,GA.g,[]),fP._30(512,iE.c,iE.c,[]),fP._30(512,bW.i,bW.i,[]),fP._30(512,jA.p,jA.p,[]),fP._30(512,DE.a,DE.a,[]),fP._30(512,IV.c,IV.c,[]),fP._30(512,TE.c,TE.c,[]),fP._30(512,SN.b,SN.b,[]),fP._30(512,OE.a,OE.a,[]),fP._30(512,EA.d,EA.d,[]),fP._30(512,$A.c,$A.c,[]),fP._30(512,oE.c,oE.c,[]),fP._30(512,jA.A,jA.A,[]),fP._30(512,jA.r,jA.r,[]),fP._30(512,aN.d,aN.d,[]),fP._30(512,MN.e,MN.e,[]),fP._30(512,rE.c,rE.c,[]),fP._30(512,LE.a,LE.a,[]),fP._30(512,AE.b,AE.b,[]),fP._30(512,PV.c,PV.c,[]),fP._30(512,VE.b,VE.b,[]),fP._30(512,NE.a,NE.a,[]),fP._30(512,cN.b,cN.b,[]),fP._30(512,_E.c,_E.c,[]),fP._30(512,dE.d,dE.d,[]),fP._30(512,sE.c,sE.c,[]),fP._30(512,WE.m,WE.m,[]),fP._30(512,EE.a,EE.a,[]),fP._30(512,jE.a,jE.a,[]),fP._30(512,$E.a,$E.a,[]),fP._30(512,BE.d,BE.d,[]),fP._30(512,cE.b,cE.b,[]),fP._30(512,vP.e,vP.e,[]),fP._30(512,vP.d,vP.d,[]),fP._30(512,RE.a,RE.a,[]),fP._30(512,OL.b,OL.b,[]),fP._30(512,LL.c,LL.c,[]),fP._30(512,_D.a,_D.a,[]),fP._30(512,wE.b,wE.b,[]),fP._30(512,$L,$L,[aA.a]),fP._30(256,mD.a,"/",[]),fP._30(256,vP.m,"XSRF-TOKEN",[]),fP._30(256,vP.n,"X-XSRF-TOKEN",[]),fP._30(256,oE.a,{overlapTrigger:!0,xPosition:"after",yPosition:"below"},[]),fP._30(256,jA.g,jA.k,[]),fP._30(256,MN.a,{showDelay:0,hideDelay:0,touchendHideDelay:1500},[]),fP._30(256,VE.a,!1,[]),fP._30(256,_D.c,null,[]),fP._30(256,BL.a,cL,[]),fP._30(256,wE.a,void 0,[])])});Object(fP._5)(),Object(pP.j)().bootstrapModuleFactory(UE)}},[376]); \ No newline at end of file diff --git a/platforms/android/app/src/main/assets/www/build/vendor.js b/platforms/android/app/src/main/assets/www/build/vendor.js index d90be805..8b6a9ab1 100755 --- a/platforms/android/app/src/main/assets/www/build/vendor.js +++ b/platforms/android/app/src/main/assets/www/build/vendor.js @@ -1,205358 +1 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ if(executeModules) { -/******/ for(i=0; i < executeModules.length; i++) { -/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]); -/******/ } -/******/ } -/******/ return result; -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 3: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = "build/"; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export createPlatform */ -/* unused harmony export assertPlatform */ -/* unused harmony export destroyPlatform */ -/* unused harmony export getPlatform */ -/* unused harmony export PlatformRef */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return ApplicationRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_15", function() { return enableProdMode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_18", function() { return isDevMode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_14", function() { return createPlatformFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return NgProbeToken; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return APP_ID; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return PACKAGE_ROOT_URL; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return PLATFORM_INITIALIZER; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return PLATFORM_ID; }); -/* unused harmony export APP_BOOTSTRAP_LISTENER */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return APP_INITIALIZER; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return ApplicationInitStatus; }); -/* unused harmony export DebugElement */ -/* unused harmony export DebugNode */ -/* unused harmony export asNativeElements */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_17", function() { return getDebugNode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_7", function() { return Testability; }); -/* unused harmony export TestabilityRegistry */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_20", function() { return setTestabilityGetter; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_4", function() { return TRANSLATIONS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_5", function() { return TRANSLATIONS_FORMAT; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return LOCALE_ID; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return MissingTranslationStrategy; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return ApplicationModule; }); -/* unused harmony export wtfCreateScope */ -/* unused harmony export wtfLeave */ -/* unused harmony export wtfStartTimeRange */ -/* unused harmony export wtfEndTimeRange */ -/* unused harmony export Type */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return EventEmitter; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return ErrorHandler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_0", function() { return Sanitizer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_1", function() { return SecurityContext; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ANALYZE_FOR_ENTRY_COMPONENTS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return Attribute; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return ContentChild; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return ContentChildren; }); -/* unused harmony export Query */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_9", function() { return ViewChild; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_10", function() { return ViewChildren; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return Component; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return Directive; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return HostBinding; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return HostListener; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return Input; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return Output; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return Pipe; }); -/* unused harmony export CUSTOM_ELEMENTS_SCHEMA */ -/* unused harmony export NO_ERRORS_SCHEMA */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return NgModule; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_12", function() { return ViewEncapsulation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_8", function() { return Version; }); -/* unused harmony export VERSION */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_16", function() { return forwardRef; }); -/* unused harmony export resolveForwardRef */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return Injector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ReflectiveInjector; }); -/* unused harmony export ResolvedReflectiveFactory */ -/* unused harmony export ReflectiveKey */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return InjectionToken; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return Inject; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return Optional; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return Injectable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_2", function() { return Self; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_3", function() { return SkipSelf; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return Host; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return NgZone; }); -/* unused harmony export RenderComponentType */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return Renderer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return Renderer2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return RendererFactory2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return RendererStyleFlags2; }); -/* unused harmony export RootRenderer */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return COMPILER_OPTIONS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return Compiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return CompilerFactory; }); -/* unused harmony export ModuleWithComponentFactories */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return ComponentFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return ComponentRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return ComponentFactoryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return ElementRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return NgModuleFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return NgModuleRef; }); -/* unused harmony export NgModuleFactoryLoader */ -/* unused harmony export getModuleFactory */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return QueryList; }); -/* unused harmony export SystemJsNgModuleLoader */ -/* unused harmony export SystemJsNgModuleLoaderConfig */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_6", function() { return TemplateRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_11", function() { return ViewContainerRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return EmbeddedViewRef; }); -/* unused harmony export ViewRef */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return ChangeDetectionStrategy; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return ChangeDetectorRef; }); -/* unused harmony export DefaultIterableDiffer */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return IterableDiffers; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return KeyValueDiffers; }); -/* unused harmony export SimpleChange */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_13", function() { return WrappedValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_19", function() { return platformCore; }); -/* unused harmony export ɵALLOW_MULTIPLE_PLATFORMS */ -/* unused harmony export ɵAPP_ID_RANDOM_PROVIDER */ -/* unused harmony export ɵValueUnwrapper */ -/* unused harmony export ɵdevModeEqual */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_35", function() { return isListLikeIterable; }); -/* unused harmony export ɵChangeDetectorStatus */ -/* unused harmony export ɵisDefaultChangeDetectionStrategy */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_22", function() { return Console; }); -/* unused harmony export ɵComponentFactory */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_21", function() { return CodegenComponentFactoryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_25", function() { return ReflectionCapabilities; }); -/* unused harmony export ɵRenderDebugInfo */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_32", function() { return _global; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_38", function() { return looseIdentical; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_50", function() { return stringify; }); -/* unused harmony export ɵmakeDecorator */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_36", function() { return isObservable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_37", function() { return isPromise; }); -/* unused harmony export ɵclearProviderOverrides */ -/* unused harmony export ɵoverrideProvider */ -/* unused harmony export ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_49", function() { return registerModuleFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_23", function() { return EMPTY_ARRAY; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_24", function() { return EMPTY_MAP; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_26", function() { return anchorDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_27", function() { return createComponentFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_28", function() { return createNgModuleFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_29", function() { return createRendererType2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_30", function() { return directiveDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_31", function() { return elementDef; }); -/* unused harmony export ɵelementEventFullName */ -/* unused harmony export ɵgetComponentViewDefinitionFactory */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_33", function() { return inlineInterpolate; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_34", function() { return interpolate; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_39", function() { return moduleDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_40", function() { return moduleProvideDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_41", function() { return ngContentDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_42", function() { return nodeValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_44", function() { return pipeDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_47", function() { return providerDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_43", function() { return pureArrayDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_45", function() { return pureObjectDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_46", function() { return purePipeDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_48", function() { return queryDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_51", function() { return textDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_52", function() { return unwrapValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_53", function() { return viewDef; }); -/* unused harmony export AUTO_STYLE */ -/* unused harmony export trigger */ -/* unused harmony export animate */ -/* unused harmony export group */ -/* unused harmony export sequence */ -/* unused harmony export style */ -/* unused harmony export state */ -/* unused harmony export keyframes */ -/* unused harmony export transition */ -/* unused harmony export ɵx */ -/* unused harmony export ɵy */ -/* unused harmony export ɵbc */ -/* unused harmony export ɵz */ -/* unused harmony export ɵbb */ -/* unused harmony export ɵba */ -/* unused harmony export ɵbd */ -/* unused harmony export ɵw */ -/* unused harmony export ɵk */ -/* unused harmony export ɵl */ -/* unused harmony export ɵm */ -/* unused harmony export ɵf */ -/* unused harmony export ɵg */ -/* unused harmony export ɵh */ -/* unused harmony export ɵi */ -/* unused harmony export ɵj */ -/* unused harmony export ɵb */ -/* unused harmony export ɵc */ -/* unused harmony export ɵd */ -/* unused harmony export ɵe */ -/* unused harmony export ɵn */ -/* unused harmony export ɵp */ -/* unused harmony export ɵo */ -/* unused harmony export ɵs */ -/* unused harmony export ɵq */ -/* unused harmony export ɵr */ -/* unused harmony export ɵa */ -/* unused harmony export ɵt */ -/* unused harmony export ɵu */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__(1); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__ = __webpack_require__(41); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge__ = __webpack_require__(46); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share__ = __webpack_require__(463); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_Subject__ = __webpack_require__(23); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_Subject__); -/** - * @license Angular v5.0.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ - - - - - - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Creates a token that can be used in a DI Provider. - * - * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a - * runtime representation) such as when injecting an interface, callable type, array or - * parametrized type. - * - * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by - * the `Injector`. This provides additional level of type safety. - * - * ``` - * interface MyInterface {...} - * var myInterface = injector.get(new InjectionToken('SomeToken')); - * // myInterface is inferred to be MyInterface. - * ``` - * - * ### Example - * - * {\@example core/di/ts/injector_spec.ts region='InjectionToken'} - * - * \@stable - */ -var InjectionToken = (function () { - function InjectionToken(_desc) { - this._desc = _desc; - /** - * \@internal - */ - this.ngMetadataName = 'InjectionToken'; - } - /** - * @return {?} - */ - InjectionToken.prototype.toString = /** - * @return {?} - */ - function () { return "InjectionToken " + this._desc; }; - return InjectionToken; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An interface implemented by all Angular type decorators, which allows them to be used as ES7 - * decorators as well as - * Angular DSL syntax. - * - * ES7 syntax: - * - * ``` - * \@ng.Component({...}) - * class MyClass {...} - * ``` - * \@stable - * @record - */ - -var ANNOTATIONS = '__annotations__'; -var PARAMETERS = '__paramaters__'; -var PROP_METADATA = '__prop__metadata__'; -/** - * @suppress {globalThis} - * @param {?} name - * @param {?=} props - * @param {?=} parentClass - * @param {?=} chainFn - * @return {?} - */ -function makeDecorator(name, props, parentClass, chainFn) { - var /** @type {?} */ metaCtor = makeMetadataCtor(props); - /** - * @param {?} objOrType - * @return {?} - */ - function DecoratorFactory(objOrType) { - if (this instanceof DecoratorFactory) { - metaCtor.call(this, objOrType); - return this; - } - var /** @type {?} */ annotationInstance = new (/** @type {?} */ (DecoratorFactory))(objOrType); - var /** @type {?} */ TypeDecorator = /** @type {?} */ (function TypeDecorator(cls) { - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. - var /** @type {?} */ annotations = cls.hasOwnProperty(ANNOTATIONS) ? - (/** @type {?} */ (cls))[ANNOTATIONS] : - Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS]; - annotations.push(annotationInstance); - return cls; - }); - if (chainFn) - chainFn(TypeDecorator); - return TypeDecorator; - } - if (parentClass) { - DecoratorFactory.prototype = Object.create(parentClass.prototype); - } - DecoratorFactory.prototype.ngMetadataName = name; - (/** @type {?} */ (DecoratorFactory)).annotationCls = DecoratorFactory; - return /** @type {?} */ (DecoratorFactory); -} -/** - * @param {?=} props - * @return {?} - */ -function makeMetadataCtor(props) { - return function ctor() { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (props) { - var /** @type {?} */ values = props.apply(void 0, args); - for (var /** @type {?} */ propName in values) { - this[propName] = values[propName]; - } - } - }; -} -/** - * @param {?} name - * @param {?=} props - * @param {?=} parentClass - * @return {?} - */ -function makeParamDecorator(name, props, parentClass) { - var /** @type {?} */ metaCtor = makeMetadataCtor(props); - /** - * @param {...?} args - * @return {?} - */ - function ParamDecoratorFactory() { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (this instanceof ParamDecoratorFactory) { - metaCtor.apply(this, args); - return this; - } - var /** @type {?} */ annotationInstance = new ((_a = (/** @type {?} */ (ParamDecoratorFactory))).bind.apply(_a, [void 0].concat(args)))(); - (/** @type {?} */ (ParamDecorator)).annotation = annotationInstance; - return ParamDecorator; - /** - * @param {?} cls - * @param {?} unusedKey - * @param {?} index - * @return {?} - */ - function ParamDecorator(cls, unusedKey, index) { - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. - var /** @type {?} */ parameters = cls.hasOwnProperty(PARAMETERS) ? - (/** @type {?} */ (cls))[PARAMETERS] : - Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS]; - // there might be gaps if some in between parameters do not have annotations. - // we pad with nulls. - while (parameters.length <= index) { - parameters.push(null); - } - (parameters[index] = parameters[index] || []).push(annotationInstance); - return cls; - } - var _a; - } - if (parentClass) { - ParamDecoratorFactory.prototype = Object.create(parentClass.prototype); - } - ParamDecoratorFactory.prototype.ngMetadataName = name; - (/** @type {?} */ (ParamDecoratorFactory)).annotationCls = ParamDecoratorFactory; - return ParamDecoratorFactory; -} -/** - * @param {?} name - * @param {?=} props - * @param {?=} parentClass - * @return {?} - */ -function makePropDecorator(name, props, parentClass) { - var /** @type {?} */ metaCtor = makeMetadataCtor(props); - /** - * @param {...?} args - * @return {?} - */ - function PropDecoratorFactory() { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (this instanceof PropDecoratorFactory) { - metaCtor.apply(this, args); - return this; - } - var /** @type {?} */ decoratorInstance = new ((_a = (/** @type {?} */ (PropDecoratorFactory))).bind.apply(_a, [void 0].concat(args)))(); - return function PropDecorator(target, name) { - var /** @type {?} */ constructor = target.constructor; - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. - var /** @type {?} */ meta = constructor.hasOwnProperty(PROP_METADATA) ? - (/** @type {?} */ (constructor))[PROP_METADATA] : - Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA]; - meta[name] = meta.hasOwnProperty(name) && meta[name] || []; - meta[name].unshift(decoratorInstance); - }; - var _a; - } - if (parentClass) { - PropDecoratorFactory.prototype = Object.create(parentClass.prototype); - } - PropDecoratorFactory.prototype.ngMetadataName = name; - (/** @type {?} */ (PropDecoratorFactory)).annotationCls = PropDecoratorFactory; - return PropDecoratorFactory; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * This token can be used to create a virtual provider that will populate the - * `entryComponents` fields of components and ng modules based on its `useValue`. - * All components that are referenced in the `useValue` value (either directly - * or in a nested array or map) will be added to the `entryComponents` property. - * - * ### Example - * The following example shows how the router can populate the `entryComponents` - * field of an NgModule based on the router configuration which refers - * to components. - * - * ```typescript - * // helper function inside the router - * function provideRoutes(routes) { - * return [ - * {provide: ROUTES, useValue: routes}, - * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true} - * ]; - * } - * - * // user code - * let routes = [ - * {path: '/root', component: RootComp}, - * {path: '/teams', component: TeamsComp} - * ]; - * - * \@NgModule({ - * providers: [provideRoutes(routes)] - * }) - * class ModuleWithRoutes {} - * ``` - * - * \@experimental - */ -var ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents'); -/** - * Type of the Attribute decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Attribute decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Attribute = makeParamDecorator('Attribute', function (attributeName) { return ({ attributeName: attributeName }); }); -/** - * Base class for query metadata. - * - * See {\@link ContentChildren}, {\@link ContentChild}, {\@link ViewChildren}, {\@link ViewChild} for - * more information. - * - * \@stable - * @abstract - */ -var Query = (function () { - function Query() { - } - return Query; -}()); -/** - * Type of the ContentChildren decorator / constructor function. - * - * See {\@link ContentChildren}. - * - * \@stable - * @record - */ - -/** - * ContentChildren decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ContentChildren = makePropDecorator('ContentChildren', function (selector, data) { - if (data === void 0) { data = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: false, isViewQuery: false, descendants: false }, data)); -}, Query); -/** - * Type of the ContentChild decorator / constructor function. - * - * - * \@stable - * @record - */ - -/** - * ContentChild decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ContentChild = makePropDecorator('ContentChild', function (selector, data) { - if (data === void 0) { data = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: true, isViewQuery: false, descendants: true }, data)); -}, Query); -/** - * Type of the ViewChildren decorator / constructor function. - * - * See {\@link ViewChildren}. - * - * \@stable - * @record - */ - -/** - * ViewChildren decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ViewChildren = makePropDecorator('ViewChildren', function (selector, data) { - if (data === void 0) { data = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: false, isViewQuery: true, descendants: true }, data)); -}, Query); -/** - * Type of the ViewChild decorator / constructor function. - * - * See {\@link ViewChild} - * - * \@stable - * @record - */ - -/** - * ViewChild decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ViewChild = makePropDecorator('ViewChild', function (selector, data) { - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: true, isViewQuery: true, descendants: true }, data)); -}, Query); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** @enum {number} */ -var ChangeDetectionStrategy = { - /** - * `OnPush` means that the change detector's mode will be initially set to `CheckOnce`. - */ - OnPush: 0, - /** - * `Default` means that the change detector's mode will be initially set to `CheckAlways`. - */ - Default: 1, -}; -ChangeDetectionStrategy[ChangeDetectionStrategy.OnPush] = "OnPush"; -ChangeDetectionStrategy[ChangeDetectionStrategy.Default] = "Default"; -/** @enum {number} */ -var ChangeDetectorStatus = { - /** - * `CheckOnce` means that after calling detectChanges the mode of the change detector - * will become `Checked`. - */ - CheckOnce: 0, - /** - * `Checked` means that the change detector should be skipped until its mode changes to - * `CheckOnce`. - */ - Checked: 1, - /** - * `CheckAlways` means that after calling detectChanges the mode of the change detector - * will remain `CheckAlways`. - */ - CheckAlways: 2, - /** - * `Detached` means that the change detector sub tree is not a part of the main tree and - * should be skipped. - */ - Detached: 3, - /** - * `Errored` means that the change detector encountered an error checking a binding - * or calling a directive lifecycle method and is now in an inconsistent state. Change - * detectors in this state will no longer detect changes. - */ - Errored: 4, - /** - * `Destroyed` means that the change detector is destroyed. - */ - Destroyed: 5, -}; -ChangeDetectorStatus[ChangeDetectorStatus.CheckOnce] = "CheckOnce"; -ChangeDetectorStatus[ChangeDetectorStatus.Checked] = "Checked"; -ChangeDetectorStatus[ChangeDetectorStatus.CheckAlways] = "CheckAlways"; -ChangeDetectorStatus[ChangeDetectorStatus.Detached] = "Detached"; -ChangeDetectorStatus[ChangeDetectorStatus.Errored] = "Errored"; -ChangeDetectorStatus[ChangeDetectorStatus.Destroyed] = "Destroyed"; -/** - * @param {?} changeDetectionStrategy - * @return {?} - */ -function isDefaultChangeDetectionStrategy(changeDetectionStrategy) { - return changeDetectionStrategy == null || - changeDetectionStrategy === ChangeDetectionStrategy.Default; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Type of the Directive decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Directive decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Directive = makeDecorator('Directive', function (dir) { - if (dir === void 0) { dir = {}; } - return dir; -}); -/** - * Type of the Component decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Component decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Component = makeDecorator('Component', function (c) { - if (c === void 0) { c = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ changeDetection: ChangeDetectionStrategy.Default }, c)); -}, Directive); -/** - * Type of the Pipe decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Pipe decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Pipe = makeDecorator('Pipe', function (p) { return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ pure: true }, p)); }); -/** - * Type of the Input decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Input decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Input = makePropDecorator('Input', function (bindingPropertyName) { return ({ bindingPropertyName: bindingPropertyName }); }); -/** - * Type of the Output decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Output decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Output = makePropDecorator('Output', function (bindingPropertyName) { return ({ bindingPropertyName: bindingPropertyName }); }); -/** - * Type of the HostBinding decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * HostBinding decorator and metadata. - * - * \@stable - * \@Annotation - */ -var HostBinding = makePropDecorator('HostBinding', function (hostPropertyName) { return ({ hostPropertyName: hostPropertyName }); }); -/** - * Type of the HostListener decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * HostListener decorator and metadata. - * - * \@stable - * \@Annotation - */ -var HostListener = makePropDecorator('HostListener', function (eventName, args) { return ({ eventName: eventName, args: args }); }); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * A wrapper around a module that also includes the providers. - * - * \@stable - * @record - */ - -/** - * Interface for schema definitions in \@NgModules. - * - * \@experimental - * @record - */ - -/** - * Defines a schema that will allow: - * - any non-Angular elements with a `-` in their name, - * - any properties on elements with a `-` in their name which is the common rule for custom - * elements. - * - * \@stable - */ -var CUSTOM_ELEMENTS_SCHEMA = { - name: 'custom-elements' -}; -/** - * Defines a schema that will allow any property on any element. - * - * \@experimental - */ -var NO_ERRORS_SCHEMA = { - name: 'no-errors-schema' -}; -/** - * Type of the NgModule decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * NgModule decorator and metadata. - * - * \@stable - * \@Annotation - */ -var NgModule = makeDecorator('NgModule', function (ngModule) { return ngModule; }); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** @enum {number} */ -var ViewEncapsulation = { - /** - * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host - * Element and pre-processing the style rules provided via {@link Component#styles styles} or - * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all - * selectors. - * - * This is the default option. - */ - Emulated: 0, - /** - * Use the native encapsulation mechanism of the renderer. - * - * For the DOM this means using [Shadow DOM](https://w3c.github.io/webcomponents/spec/shadow/) and - * creating a ShadowRoot for Component's Host Element. - */ - Native: 1, - /** - * Don't provide any template or style encapsulation. - */ - None: 2, -}; -ViewEncapsulation[ViewEncapsulation.Emulated] = "Emulated"; -ViewEncapsulation[ViewEncapsulation.Native] = "Native"; -ViewEncapsulation[ViewEncapsulation.None] = "None"; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@whatItDoes Represents the version of Angular - * - * \@stable - */ -var Version = (function () { - function Version(full) { - this.full = full; - this.major = full.split('.')[0]; - this.minor = full.split('.')[1]; - this.patch = full.split('.').slice(2).join('.'); - } - return Version; -}()); -/** - * \@stable - */ -var VERSION = new Version('5.0.3'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Type of the Inject decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Inject decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Inject = makeParamDecorator('Inject', function (token) { return ({ token: token }); }); -/** - * Type of the Optional decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Optional decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Optional = makeParamDecorator('Optional'); -/** - * Type of the Injectable decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Injectable decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Injectable = makeDecorator('Injectable'); -/** - * Type of the Self decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Self decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Self = makeParamDecorator('Self'); -/** - * Type of the SkipSelf decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * SkipSelf decorator and metadata. - * - * \@stable - * \@Annotation - */ -var SkipSelf = makeParamDecorator('SkipSelf'); -/** - * Type of the Host decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Host decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Host = makeParamDecorator('Host'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var __window = typeof window !== 'undefined' && window; -var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && - self instanceof WorkerGlobalScope && self; -var __global = typeof global !== 'undefined' && global; -var _global = __window || __global || __self; -var _symbolIterator = null; -/** - * @return {?} - */ -function getSymbolIterator() { - if (!_symbolIterator) { - var /** @type {?} */ Symbol_1 = _global['Symbol']; - if (Symbol_1 && Symbol_1.iterator) { - _symbolIterator = Symbol_1.iterator; - } - else { - // es6-shim specific logic - var /** @type {?} */ keys = Object.getOwnPropertyNames(Map.prototype); - for (var /** @type {?} */ i = 0; i < keys.length; ++i) { - var /** @type {?} */ key = keys[i]; - if (key !== 'entries' && key !== 'size' && - (/** @type {?} */ (Map)).prototype[key] === Map.prototype['entries']) { - _symbolIterator = key; - } - } - } - } - return _symbolIterator; -} -/** - * @param {?} fn - * @return {?} - */ -function scheduleMicroTask(fn) { - Zone.current.scheduleMicroTask('scheduleMicrotask', fn); -} -/** - * @param {?} a - * @param {?} b - * @return {?} - */ -function looseIdentical(a, b) { - return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); -} -/** - * @param {?} token - * @return {?} - */ -function stringify(token) { - if (typeof token === 'string') { - return token; - } - if (token instanceof Array) { - return '[' + token.map(stringify).join(', ') + ']'; - } - if (token == null) { - return '' + token; - } - if (token.overriddenName) { - return "" + token.overriddenName; - } - if (token.name) { - return "" + token.name; - } - var /** @type {?} */ res = token.toString(); - if (res == null) { - return '' + res; - } - var /** @type {?} */ newLineIndex = res.indexOf('\n'); - return newLineIndex === -1 ? res : res.substring(0, newLineIndex); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An interface that a function passed into {\@link forwardRef} has to implement. - * - * ### Example - * - * {\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref_fn'} - * \@experimental - * @record - */ - -/** - * Allows to refer to references which are not yet defined. - * - * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of - * DI is declared, - * but not yet defined. It is also used when the `token` which we use when creating a query is not - * yet defined. - * - * ### Example - * {\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'} - * \@experimental - * @param {?} forwardRefFn - * @return {?} - */ -function forwardRef(forwardRefFn) { - (/** @type {?} */ (forwardRefFn)).__forward_ref__ = forwardRef; - (/** @type {?} */ (forwardRefFn)).toString = function () { return stringify(this()); }; - return (/** @type {?} */ (/** @type {?} */ (forwardRefFn))); -} -/** - * Lazily retrieves the reference value from a forwardRef. - * - * Acts as the identity function when given a non-forward-ref value. - * - * ### Example ([live demo](http://plnkr.co/edit/GU72mJrk1fiodChcmiDR?p=preview)) - * - * {\@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'} - * - * See: {\@link forwardRef} - * \@experimental - * @param {?} type - * @return {?} - */ -function resolveForwardRef(type) { - if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__') && - type.__forward_ref__ === forwardRef) { - return (/** @type {?} */ (type))(); - } - else { - return type; - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var _THROW_IF_NOT_FOUND = new Object(); -var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND; -var _NullInjector = (function () { - function _NullInjector() { - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - _NullInjector.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = _THROW_IF_NOT_FOUND; } - if (notFoundValue === _THROW_IF_NOT_FOUND) { - throw new Error("NullInjectorError: No provider for " + stringify(token) + "!"); - } - return notFoundValue; - }; - return _NullInjector; -}()); -/** - * \@whatItDoes Injector interface - * \@howToUse - * ``` - * const injector: Injector = ...; - * injector.get(...); - * ``` - * - * \@description - * For more details, see the {\@linkDocs guide/dependency-injection "Dependency Injection Guide"}. - * - * ### Example - * - * {\@example core/di/ts/injector_spec.ts region='Injector'} - * - * `Injector` returns itself when given `Injector` as a token: - * {\@example core/di/ts/injector_spec.ts region='injectInjector'} - * - * \@stable - * @abstract - */ -var Injector = (function () { - function Injector() { - } - /** - * Create a new Injector which is configure using `StaticProvider`s. - * - * ### Example - * - * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'} - */ - /** - * Create a new Injector which is configure using `StaticProvider`s. - * - * ### Example - * - * {\@example core/di/ts/provider_spec.ts region='ConstructorProvider'} - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - Injector.create = /** - * Create a new Injector which is configure using `StaticProvider`s. - * - * ### Example - * - * {\@example core/di/ts/provider_spec.ts region='ConstructorProvider'} - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - function (providers, parent) { - return new StaticInjector(providers, parent); - }; - Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND; - Injector.NULL = new _NullInjector(); - return Injector; -}()); -var IDENT = function (value) { - return value; -}; -var EMPTY = /** @type {?} */ ([]); -var CIRCULAR = IDENT; -var MULTI_PROVIDER_FN = function () { - return Array.prototype.slice.call(arguments); -}; -var GET_PROPERTY_NAME = /** @type {?} */ ({}); -var ɵ2 = GET_PROPERTY_NAME; -var USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ2 }); -var NG_TOKEN_PATH = 'ngTokenPath'; -var NG_TEMP_TOKEN_PATH = 'ngTempTokenPath'; -var NULL_INJECTOR = Injector.NULL; -var NEW_LINE = /\n/gm; -var NO_NEW_LINE = 'ɵ'; -var StaticInjector = (function () { - function StaticInjector(providers, parent) { - if (parent === void 0) { parent = NULL_INJECTOR; } - this.parent = parent; - var /** @type {?} */ records = this._records = new Map(); - records.set(Injector, /** @type {?} */ ({ token: Injector, fn: IDENT, deps: EMPTY, value: this, useNew: false })); - recursivelyProcessProviders(records, providers); - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - StaticInjector.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - var /** @type {?} */ record = this._records.get(token); - try { - return tryResolveToken(token, record, this._records, this.parent, notFoundValue); - } - catch (/** @type {?} */ e) { - var /** @type {?} */ tokenPath = e[NG_TEMP_TOKEN_PATH]; - e.message = formatError('\n' + e.message, tokenPath); - e[NG_TOKEN_PATH] = tokenPath; - e[NG_TEMP_TOKEN_PATH] = null; - throw e; - } - }; - /** - * @return {?} - */ - StaticInjector.prototype.toString = /** - * @return {?} - */ - function () { - var /** @type {?} */ tokens = /** @type {?} */ ([]), /** @type {?} */ records = this._records; - records.forEach(function (v, token) { return tokens.push(stringify(token)); }); - return "StaticInjector[" + tokens.join(', ') + "]"; - }; - return StaticInjector; -}()); -/** - * @param {?} provider - * @return {?} - */ -function resolveProvider(provider) { - var /** @type {?} */ deps = computeDeps(provider); - var /** @type {?} */ fn = IDENT; - var /** @type {?} */ value = EMPTY; - var /** @type {?} */ useNew = false; - var /** @type {?} */ provide = resolveForwardRef(provider.provide); - if (USE_VALUE in provider) { - // We need to use USE_VALUE in provider since provider.useValue could be defined as undefined. - value = (/** @type {?} */ (provider)).useValue; - } - else if ((/** @type {?} */ (provider)).useFactory) { - fn = (/** @type {?} */ (provider)).useFactory; - } - else if ((/** @type {?} */ (provider)).useExisting) { - // Just use IDENT - } - else if ((/** @type {?} */ (provider)).useClass) { - useNew = true; - fn = resolveForwardRef((/** @type {?} */ (provider)).useClass); - } - else if (typeof provide == 'function') { - useNew = true; - fn = provide; - } - else { - throw staticError('StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable', provider); - } - return { deps: deps, fn: fn, useNew: useNew, value: value }; -} -/** - * @param {?} token - * @return {?} - */ -function multiProviderMixError(token) { - return staticError('Cannot mix multi providers and regular providers', token); -} -/** - * @param {?} records - * @param {?} provider - * @return {?} - */ -function recursivelyProcessProviders(records, provider) { - if (provider) { - provider = resolveForwardRef(provider); - if (provider instanceof Array) { - // if we have an array recurse into the array - for (var /** @type {?} */ i = 0; i < provider.length; i++) { - recursivelyProcessProviders(records, provider[i]); - } - } - else if (typeof provider === 'function') { - // Functions were supported in ReflectiveInjector, but are not here. For safety give useful - // error messages - throw staticError('Function/Class not supported', provider); - } - else if (provider && typeof provider === 'object' && provider.provide) { - // At this point we have what looks like a provider: {provide: ?, ....} - var /** @type {?} */ token = resolveForwardRef(provider.provide); - var /** @type {?} */ resolvedProvider = resolveProvider(provider); - if (provider.multi === true) { - // This is a multi provider. - var /** @type {?} */ multiProvider = records.get(token); - if (multiProvider) { - if (multiProvider.fn !== MULTI_PROVIDER_FN) { - throw multiProviderMixError(token); - } - } - else { - // Create a placeholder factory which will look up the constituents of the multi provider. - records.set(token, multiProvider = /** @type {?} */ ({ - token: provider.provide, - deps: [], - useNew: false, - fn: MULTI_PROVIDER_FN, - value: EMPTY - })); - } - // Treat the provider as the token. - token = provider; - multiProvider.deps.push({ token: token, options: 6 /* Default */ }); - } - var /** @type {?} */ record = records.get(token); - if (record && record.fn == MULTI_PROVIDER_FN) { - throw multiProviderMixError(token); - } - records.set(token, resolvedProvider); - } - else { - throw staticError('Unexpected provider', provider); - } - } -} -/** - * @param {?} token - * @param {?} record - * @param {?} records - * @param {?} parent - * @param {?} notFoundValue - * @return {?} - */ -function tryResolveToken(token, record, records, parent, notFoundValue) { - try { - return resolveToken(token, record, records, parent, notFoundValue); - } - catch (/** @type {?} */ e) { - // ensure that 'e' is of type Error. - if (!(e instanceof Error)) { - e = new Error(e); - } - var /** @type {?} */ path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || []; - path.unshift(token); - if (record && record.value == CIRCULAR) { - // Reset the Circular flag. - record.value = EMPTY; - } - throw e; - } -} -/** - * @param {?} token - * @param {?} record - * @param {?} records - * @param {?} parent - * @param {?} notFoundValue - * @return {?} - */ -function resolveToken(token, record, records, parent, notFoundValue) { - var /** @type {?} */ value; - if (record) { - // If we don't have a record, this implies that we don't own the provider hence don't know how - // to resolve it. - value = record.value; - if (value == CIRCULAR) { - throw Error(NO_NEW_LINE + 'Circular dependency'); - } - else if (value === EMPTY) { - record.value = CIRCULAR; - var /** @type {?} */ obj = undefined; - var /** @type {?} */ useNew = record.useNew; - var /** @type {?} */ fn = record.fn; - var /** @type {?} */ depRecords = record.deps; - var /** @type {?} */ deps = EMPTY; - if (depRecords.length) { - deps = []; - for (var /** @type {?} */ i = 0; i < depRecords.length; i++) { - var /** @type {?} */ depRecord = depRecords[i]; - var /** @type {?} */ options = depRecord.options; - var /** @type {?} */ childRecord = options & 2 /* CheckSelf */ ? records.get(depRecord.token) : undefined; - deps.push(tryResolveToken( - // Current Token to resolve - depRecord.token, childRecord, records, - // If we don't know how to resolve dependency and we should not check parent for it, - // than pass in Null injector. - !childRecord && !(options & 4 /* CheckParent */) ? NULL_INJECTOR : parent, options & 1 /* Optional */ ? null : Injector.THROW_IF_NOT_FOUND)); - } - } - record.value = value = useNew ? new ((_a = (/** @type {?} */ (fn))).bind.apply(_a, [void 0].concat(deps)))() : fn.apply(obj, deps); - } - } - else { - value = parent.get(token, notFoundValue); - } - return value; - var _a; -} -/** - * @param {?} provider - * @return {?} - */ -function computeDeps(provider) { - var /** @type {?} */ deps = EMPTY; - var /** @type {?} */ providerDeps = (/** @type {?} */ (provider)).deps; - if (providerDeps && providerDeps.length) { - deps = []; - for (var /** @type {?} */ i = 0; i < providerDeps.length; i++) { - var /** @type {?} */ options = 6; - var /** @type {?} */ token = resolveForwardRef(providerDeps[i]); - if (token instanceof Array) { - for (var /** @type {?} */ j = 0, /** @type {?} */ annotations = token; j < annotations.length; j++) { - var /** @type {?} */ annotation = annotations[j]; - if (annotation instanceof Optional || annotation == Optional) { - options = options | 1 /* Optional */; - } - else if (annotation instanceof SkipSelf || annotation == SkipSelf) { - options = options & ~2 /* CheckSelf */; - } - else if (annotation instanceof Self || annotation == Self) { - options = options & ~4 /* CheckParent */; - } - else if (annotation instanceof Inject) { - token = (/** @type {?} */ (annotation)).token; - } - else { - token = resolveForwardRef(annotation); - } - } - } - deps.push({ token: token, options: options }); - } - } - else if ((/** @type {?} */ (provider)).useExisting) { - var /** @type {?} */ token = resolveForwardRef((/** @type {?} */ (provider)).useExisting); - deps = [{ token: token, options: 6 /* Default */ }]; - } - else if (!providerDeps && !(USE_VALUE in provider)) { - // useValue & useExisting are the only ones which are exempt from deps all others need it. - throw staticError('\'deps\' required', provider); - } - return deps; -} -/** - * @param {?} text - * @param {?} obj - * @return {?} - */ -function formatError(text, obj) { - text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text; - var /** @type {?} */ context = stringify(obj); - if (obj instanceof Array) { - context = obj.map(stringify).join(' -> '); - } - else if (typeof obj === 'object') { - var /** @type {?} */ parts = /** @type {?} */ ([]); - for (var /** @type {?} */ key in obj) { - if (obj.hasOwnProperty(key)) { - var /** @type {?} */ value = obj[key]; - parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value))); - } - } - context = "{" + parts.join(', ') + "}"; - } - return "StaticInjectorError[" + context + "]: " + text.replace(NEW_LINE, '\n '); -} -/** - * @param {?} text - * @param {?} obj - * @return {?} - */ -function staticError(text, obj) { - return new Error(formatError(text, obj)); -} -/** - * @template T - * @param {?} objWithPropertyToExtract - * @return {?} - */ -function getClosureSafeProperty(objWithPropertyToExtract) { - for (var /** @type {?} */ key in objWithPropertyToExtract) { - if (objWithPropertyToExtract[key] === GET_PROPERTY_NAME) { - return key; - } - } - throw Error('!prop'); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ - -var ERROR_DEBUG_CONTEXT = 'ngDebugContext'; -var ERROR_ORIGINAL_ERROR = 'ngOriginalError'; -var ERROR_LOGGER = 'ngErrorLogger'; -/** - * @param {?} error - * @return {?} - */ - -/** - * @param {?} error - * @return {?} - */ -function getDebugContext(error) { - return (/** @type {?} */ (error))[ERROR_DEBUG_CONTEXT]; -} -/** - * @param {?} error - * @return {?} - */ -function getOriginalError(error) { - return (/** @type {?} */ (error))[ERROR_ORIGINAL_ERROR]; -} -/** - * @param {?} error - * @return {?} - */ -function getErrorLogger(error) { - return (/** @type {?} */ (error))[ERROR_LOGGER] || defaultErrorLogger; -} -/** - * @param {?} console - * @param {...?} values - * @return {?} - */ -function defaultErrorLogger(console) { - var values = []; - for (var _i = 1; _i < arguments.length; _i++) { - values[_i - 1] = arguments[_i]; - } - console.error.apply(console, values); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * \@whatItDoes Provides a hook for centralized exception handling. - * - * \@description - * - * The default implementation of `ErrorHandler` prints error messages to the `console`. To - * intercept error handling, write a custom exception handler that replaces this default as - * appropriate for your app. - * - * ### Example - * - * ``` - * class MyErrorHandler implements ErrorHandler { - * handleError(error) { - * // do something with the exception - * } - * } - * - * \@NgModule({ - * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}] - * }) - * class MyModule {} - * ``` - * - * \@stable - */ -var ErrorHandler = (function () { - function ErrorHandler() { - /** - * \@internal - */ - this._console = console; - } - /** - * @param {?} error - * @return {?} - */ - ErrorHandler.prototype.handleError = /** - * @param {?} error - * @return {?} - */ - function (error) { - var /** @type {?} */ originalError = this._findOriginalError(error); - var /** @type {?} */ context = this._findContext(error); - // Note: Browser consoles show the place from where console.error was called. - // We can use this to give users additional information about the error. - var /** @type {?} */ errorLogger = getErrorLogger(error); - errorLogger(this._console, "ERROR", error); - if (originalError) { - errorLogger(this._console, "ORIGINAL ERROR", originalError); - } - if (context) { - errorLogger(this._console, 'ERROR CONTEXT', context); - } - }; - /** @internal */ - /** - * \@internal - * @param {?} error - * @return {?} - */ - ErrorHandler.prototype._findContext = /** - * \@internal - * @param {?} error - * @return {?} - */ - function (error) { - if (error) { - return getDebugContext(error) ? getDebugContext(error) : - this._findContext(getOriginalError(error)); - } - return null; - }; - /** @internal */ - /** - * \@internal - * @param {?} error - * @return {?} - */ - ErrorHandler.prototype._findOriginalError = /** - * \@internal - * @param {?} error - * @return {?} - */ - function (error) { - var /** @type {?} */ e = getOriginalError(error); - while (e && getOriginalError(e)) { - e = getOriginalError(e); - } - return e; - }; - return ErrorHandler; -}()); -/** - * @param {?} message - * @param {?} originalError - * @return {?} - */ -function wrappedError(message, originalError) { - var /** @type {?} */ msg = message + " caused by: " + (originalError instanceof Error ? originalError.message : originalError); - var /** @type {?} */ error = Error(msg); - (/** @type {?} */ (error))[ERROR_ORIGINAL_ERROR] = originalError; - return error; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} keys - * @return {?} - */ -function findFirstClosedCycle(keys) { - var /** @type {?} */ res = []; - for (var /** @type {?} */ i = 0; i < keys.length; ++i) { - if (res.indexOf(keys[i]) > -1) { - res.push(keys[i]); - return res; - } - res.push(keys[i]); - } - return res; -} -/** - * @param {?} keys - * @return {?} - */ -function constructResolvingPath(keys) { - if (keys.length > 1) { - var /** @type {?} */ reversed = findFirstClosedCycle(keys.slice().reverse()); - var /** @type {?} */ tokenStrs = reversed.map(function (k) { return stringify(k.token); }); - return ' (' + tokenStrs.join(' -> ') + ')'; - } - return ''; -} -/** - * @record - */ - -/** - * @param {?} injector - * @param {?} key - * @param {?} constructResolvingMessage - * @param {?=} originalError - * @return {?} - */ -function injectionError(injector, key, constructResolvingMessage, originalError) { - var /** @type {?} */ keys = [key]; - var /** @type {?} */ errMsg = constructResolvingMessage(keys); - var /** @type {?} */ error = /** @type {?} */ ((originalError ? wrappedError(errMsg, originalError) : Error(errMsg))); - error.addKey = addKey; - error.keys = keys; - error.injectors = [injector]; - error.constructResolvingMessage = constructResolvingMessage; - (/** @type {?} */ (error))[ERROR_ORIGINAL_ERROR] = originalError; - return error; -} -/** - * @this {?} - * @param {?} injector - * @param {?} key - * @return {?} - */ -function addKey(injector, key) { - this.injectors.push(injector); - this.keys.push(key); - // Note: This updated message won't be reflected in the `.stack` property - this.message = this.constructResolvingMessage(this.keys); -} -/** - * Thrown when trying to retrieve a dependency by key from {\@link Injector}, but the - * {\@link Injector} does not have a {\@link Provider} for the given key. - * - * ### Example ([live demo](http://plnkr.co/edit/vq8D3FRB9aGbnWJqtEPE?p=preview)) - * - * ```typescript - * class A { - * constructor(b:B) {} - * } - * - * expect(() => Injector.resolveAndCreate([A])).toThrowError(); - * ``` - * @param {?} injector - * @param {?} key - * @return {?} - */ -function noProviderError(injector, key) { - return injectionError(injector, key, function (keys) { - var /** @type {?} */ first = stringify(keys[0].token); - return "No provider for " + first + "!" + constructResolvingPath(keys); - }); -} -/** - * Thrown when dependencies form a cycle. - * - * ### Example ([live demo](http://plnkr.co/edit/wYQdNos0Tzql3ei1EV9j?p=info)) - * - * ```typescript - * var injector = Injector.resolveAndCreate([ - * {provide: "one", useFactory: (two) => "two", deps: [[new Inject("two")]]}, - * {provide: "two", useFactory: (one) => "one", deps: [[new Inject("one")]]} - * ]); - * - * expect(() => injector.get("one")).toThrowError(); - * ``` - * - * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed. - * @param {?} injector - * @param {?} key - * @return {?} - */ -function cyclicDependencyError(injector, key) { - return injectionError(injector, key, function (keys) { - return "Cannot instantiate cyclic dependency!" + constructResolvingPath(keys); - }); -} -/** - * Thrown when a constructing type returns with an Error. - * - * The `InstantiationError` class contains the original error plus the dependency graph which caused - * this object to be instantiated. - * - * ### Example ([live demo](http://plnkr.co/edit/7aWYdcqTQsP0eNqEdUAf?p=preview)) - * - * ```typescript - * class A { - * constructor() { - * throw new Error('message'); - * } - * } - * - * var injector = Injector.resolveAndCreate([A]); - * try { - * injector.get(A); - * } catch (e) { - * expect(e instanceof InstantiationError).toBe(true); - * expect(e.originalException.message).toEqual("message"); - * expect(e.originalStack).toBeDefined(); - * } - * ``` - * @param {?} injector - * @param {?} originalException - * @param {?} originalStack - * @param {?} key - * @return {?} - */ -function instantiationError(injector, originalException, originalStack, key) { - return injectionError(injector, key, function (keys) { - var /** @type {?} */ first = stringify(keys[0].token); - return originalException.message + ": Error during instantiation of " + first + "!" + constructResolvingPath(keys) + "."; - }, originalException); -} -/** - * Thrown when an object other then {\@link Provider} (or `Type`) is passed to {\@link Injector} - * creation. - * - * ### Example ([live demo](http://plnkr.co/edit/YatCFbPAMCL0JSSQ4mvH?p=preview)) - * - * ```typescript - * expect(() => Injector.resolveAndCreate(["not a type"])).toThrowError(); - * ``` - * @param {?} provider - * @return {?} - */ -function invalidProviderError(provider) { - return Error("Invalid provider - only instances of Provider and Type are allowed, got: " + provider); -} -/** - * Thrown when the class has no annotation information. - * - * Lack of annotation information prevents the {\@link Injector} from determining which dependencies - * need to be injected into the constructor. - * - * ### Example ([live demo](http://plnkr.co/edit/rHnZtlNS7vJOPQ6pcVkm?p=preview)) - * - * ```typescript - * class A { - * constructor(b) {} - * } - * - * expect(() => Injector.resolveAndCreate([A])).toThrowError(); - * ``` - * - * This error is also thrown when the class not marked with {\@link Injectable} has parameter types. - * - * ```typescript - * class B {} - * - * class A { - * constructor(b:B) {} // no information about the parameter types of A is available at runtime. - * } - * - * expect(() => Injector.resolveAndCreate([A,B])).toThrowError(); - * ``` - * \@stable - * @param {?} typeOrFunc - * @param {?} params - * @return {?} - */ -function noAnnotationError(typeOrFunc, params) { - var /** @type {?} */ signature = []; - for (var /** @type {?} */ i = 0, /** @type {?} */ ii = params.length; i < ii; i++) { - var /** @type {?} */ parameter = params[i]; - if (!parameter || parameter.length == 0) { - signature.push('?'); - } - else { - signature.push(parameter.map(stringify).join(' ')); - } - } - return Error('Cannot resolve all parameters for \'' + stringify(typeOrFunc) + '\'(' + - signature.join(', ') + '). ' + - 'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \'' + - stringify(typeOrFunc) + '\' is decorated with Injectable.'); -} -/** - * Thrown when getting an object by index. - * - * ### Example ([live demo](http://plnkr.co/edit/bRs0SX2OTQiJzqvjgl8P?p=preview)) - * - * ```typescript - * class A {} - * - * var injector = Injector.resolveAndCreate([A]); - * - * expect(() => injector.getAt(100)).toThrowError(); - * ``` - * \@stable - * @param {?} index - * @return {?} - */ -function outOfBoundsError(index) { - return Error("Index " + index + " is out-of-bounds."); -} -/** - * Thrown when a multi provider and a regular provider are bound to the same token. - * - * ### Example - * - * ```typescript - * expect(() => Injector.resolveAndCreate([ - * { provide: "Strings", useValue: "string1", multi: true}, - * { provide: "Strings", useValue: "string2", multi: false} - * ])).toThrowError(); - * ``` - * @param {?} provider1 - * @param {?} provider2 - * @return {?} - */ -function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) { - return Error("Cannot mix multi providers and regular providers, got: " + provider1 + " " + provider2); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A unique object used for retrieving items from the {\@link ReflectiveInjector}. - * - * Keys have: - * - a system-wide unique `id`. - * - a `token`. - * - * `Key` is used internally by {\@link ReflectiveInjector} because its system-wide unique `id` allows - * the - * injector to store created objects in a more efficient way. - * - * `Key` should not be created directly. {\@link ReflectiveInjector} creates keys automatically when - * resolving - * providers. - * @deprecated No replacement - */ -var ReflectiveKey = (function () { - /** - * Private - */ - function ReflectiveKey(token, id) { - this.token = token; - this.id = id; - if (!token) { - throw new Error('Token must be defined!'); - } - this.displayName = stringify(this.token); - } - /** - * Retrieves a `Key` for a token. - */ - /** - * Retrieves a `Key` for a token. - * @param {?} token - * @return {?} - */ - ReflectiveKey.get = /** - * Retrieves a `Key` for a token. - * @param {?} token - * @return {?} - */ - function (token) { - return _globalKeyRegistry.get(resolveForwardRef(token)); - }; - Object.defineProperty(ReflectiveKey, "numberOfKeys", { - /** - * @returns the number of keys registered in the system. - */ - get: /** - * @return {?} the number of keys registered in the system. - */ - function () { return _globalKeyRegistry.numberOfKeys; }, - enumerable: true, - configurable: true - }); - return ReflectiveKey; -}()); -/** - * \@internal - */ -var KeyRegistry = (function () { - function KeyRegistry() { - this._allKeys = new Map(); - } - /** - * @param {?} token - * @return {?} - */ - KeyRegistry.prototype.get = /** - * @param {?} token - * @return {?} - */ - function (token) { - if (token instanceof ReflectiveKey) - return token; - if (this._allKeys.has(token)) { - return /** @type {?} */ ((this._allKeys.get(token))); - } - var /** @type {?} */ newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys); - this._allKeys.set(token, newKey); - return newKey; - }; - Object.defineProperty(KeyRegistry.prototype, "numberOfKeys", { - get: /** - * @return {?} - */ - function () { return this._allKeys.size; }, - enumerable: true, - configurable: true - }); - return KeyRegistry; -}()); -var _globalKeyRegistry = new KeyRegistry(); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@whatItDoes Represents a type that a Component or other object is instances of. - * - * \@description - * - * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by - * the `MyCustomComponent` constructor function. - * - * \@stable - */ -var Type = Function; -/** - * @param {?} v - * @return {?} - */ -function isType(v) { - return typeof v === 'function'; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Attention: This regex has to hold even if the code is minified! - */ -var DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/; -var ReflectionCapabilities = (function () { - function ReflectionCapabilities(reflect) { - this._reflect = reflect || _global['Reflect']; - } - /** - * @return {?} - */ - ReflectionCapabilities.prototype.isReflectionEnabled = /** - * @return {?} - */ - function () { return true; }; - /** - * @template T - * @param {?} t - * @return {?} - */ - ReflectionCapabilities.prototype.factory = /** - * @template T - * @param {?} t - * @return {?} - */ - function (t) { return function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return new (t.bind.apply(t, [void 0].concat(args)))(); - }; }; - /** @internal */ - /** - * \@internal - * @param {?} paramTypes - * @param {?} paramAnnotations - * @return {?} - */ - ReflectionCapabilities.prototype._zipTypesAndAnnotations = /** - * \@internal - * @param {?} paramTypes - * @param {?} paramAnnotations - * @return {?} - */ - function (paramTypes, paramAnnotations) { - var /** @type {?} */ result; - if (typeof paramTypes === 'undefined') { - result = new Array(paramAnnotations.length); - } - else { - result = new Array(paramTypes.length); - } - for (var /** @type {?} */ i = 0; i < result.length; i++) { - // TS outputs Object for parameters without types, while Traceur omits - // the annotations. For now we preserve the Traceur behavior to aid - // migration, but this can be revisited. - if (typeof paramTypes === 'undefined') { - result[i] = []; - } - else if (paramTypes[i] != Object) { - result[i] = [paramTypes[i]]; - } - else { - result[i] = []; - } - if (paramAnnotations && paramAnnotations[i] != null) { - result[i] = result[i].concat(paramAnnotations[i]); - } - } - return result; - }; - /** - * @param {?} type - * @param {?} parentCtor - * @return {?} - */ - ReflectionCapabilities.prototype._ownParameters = /** - * @param {?} type - * @param {?} parentCtor - * @return {?} - */ - function (type, parentCtor) { - // If we have no decorators, we only have function.length as metadata. - // In that case, to detect whether a child class declared an own constructor or not, - // we need to look inside of that constructor to check whether it is - // just calling the parent. - // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439 - // that sets 'design:paramtypes' to [] - // if a class inherits from another class but has no ctor declared itself. - if (DELEGATE_CTOR.exec(type.toString())) { - return null; - } - // Prefer the direct API. - if ((/** @type {?} */ (type)).parameters && (/** @type {?} */ (type)).parameters !== parentCtor.parameters) { - return (/** @type {?} */ (type)).parameters; - } - // API of tsickle for lowering decorators to properties on the class. - var /** @type {?} */ tsickleCtorParams = (/** @type {?} */ (type)).ctorParameters; - if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) { - // Newer tsickle uses a function closure - // Retain the non-function case for compatibility with older tsickle - var /** @type {?} */ ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams; - var /** @type {?} */ paramTypes_1 = ctorParameters.map(function (ctorParam) { return ctorParam && ctorParam.type; }); - var /** @type {?} */ paramAnnotations_1 = ctorParameters.map(function (ctorParam) { - return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators); - }); - return this._zipTypesAndAnnotations(paramTypes_1, paramAnnotations_1); - } - // API for metadata created by invoking the decorators. - var /** @type {?} */ paramAnnotations = type.hasOwnProperty(PARAMETERS) && (/** @type {?} */ (type))[PARAMETERS]; - var /** @type {?} */ paramTypes = this._reflect && this._reflect.getOwnMetadata && - this._reflect.getOwnMetadata('design:paramtypes', type); - if (paramTypes || paramAnnotations) { - return this._zipTypesAndAnnotations(paramTypes, paramAnnotations); - } - // If a class has no decorators, at least create metadata - // based on function.length. - // Note: We know that this is a real constructor as we checked - // the content of the constructor above. - return new Array((/** @type {?} */ (type.length))).fill(undefined); - }; - /** - * @param {?} type - * @return {?} - */ - ReflectionCapabilities.prototype.parameters = /** - * @param {?} type - * @return {?} - */ - function (type) { - // Note: only report metadata if we have at least one class decorator - // to stay in sync with the static reflector. - if (!isType(type)) { - return []; - } - var /** @type {?} */ parentCtor = getParentCtor(type); - var /** @type {?} */ parameters = this._ownParameters(type, parentCtor); - if (!parameters && parentCtor !== Object) { - parameters = this.parameters(parentCtor); - } - return parameters || []; - }; - /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - ReflectionCapabilities.prototype._ownAnnotations = /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - function (typeOrFunc, parentCtor) { - // Prefer the direct API. - if ((/** @type {?} */ (typeOrFunc)).annotations && (/** @type {?} */ (typeOrFunc)).annotations !== parentCtor.annotations) { - var /** @type {?} */ annotations = (/** @type {?} */ (typeOrFunc)).annotations; - if (typeof annotations === 'function' && annotations.annotations) { - annotations = annotations.annotations; - } - return annotations; - } - // API of tsickle for lowering decorators to properties on the class. - if ((/** @type {?} */ (typeOrFunc)).decorators && (/** @type {?} */ (typeOrFunc)).decorators !== parentCtor.decorators) { - return convertTsickleDecoratorIntoMetadata((/** @type {?} */ (typeOrFunc)).decorators); - } - // API for metadata created by invoking the decorators. - if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) { - return (/** @type {?} */ (typeOrFunc))[ANNOTATIONS]; - } - return null; - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - ReflectionCapabilities.prototype.annotations = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - if (!isType(typeOrFunc)) { - return []; - } - var /** @type {?} */ parentCtor = getParentCtor(typeOrFunc); - var /** @type {?} */ ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || []; - var /** @type {?} */ parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : []; - return parentAnnotations.concat(ownAnnotations); - }; - /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - ReflectionCapabilities.prototype._ownPropMetadata = /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - function (typeOrFunc, parentCtor) { - // Prefer the direct API. - if ((/** @type {?} */ (typeOrFunc)).propMetadata && - (/** @type {?} */ (typeOrFunc)).propMetadata !== parentCtor.propMetadata) { - var /** @type {?} */ propMetadata = (/** @type {?} */ (typeOrFunc)).propMetadata; - if (typeof propMetadata === 'function' && propMetadata.propMetadata) { - propMetadata = propMetadata.propMetadata; - } - return propMetadata; - } - // API of tsickle for lowering decorators to properties on the class. - if ((/** @type {?} */ (typeOrFunc)).propDecorators && - (/** @type {?} */ (typeOrFunc)).propDecorators !== parentCtor.propDecorators) { - var /** @type {?} */ propDecorators_1 = (/** @type {?} */ (typeOrFunc)).propDecorators; - var /** @type {?} */ propMetadata_1 = /** @type {?} */ ({}); - Object.keys(propDecorators_1).forEach(function (prop) { - propMetadata_1[prop] = convertTsickleDecoratorIntoMetadata(propDecorators_1[prop]); - }); - return propMetadata_1; - } - // API for metadata created by invoking the decorators. - if (typeOrFunc.hasOwnProperty(PROP_METADATA)) { - return (/** @type {?} */ (typeOrFunc))[PROP_METADATA]; - } - return null; - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - ReflectionCapabilities.prototype.propMetadata = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - if (!isType(typeOrFunc)) { - return {}; - } - var /** @type {?} */ parentCtor = getParentCtor(typeOrFunc); - var /** @type {?} */ propMetadata = {}; - if (parentCtor !== Object) { - var /** @type {?} */ parentPropMetadata_1 = this.propMetadata(parentCtor); - Object.keys(parentPropMetadata_1).forEach(function (propName) { - propMetadata[propName] = parentPropMetadata_1[propName]; - }); - } - var /** @type {?} */ ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor); - if (ownPropMetadata) { - Object.keys(ownPropMetadata).forEach(function (propName) { - var /** @type {?} */ decorators = []; - if (propMetadata.hasOwnProperty(propName)) { - decorators.push.apply(decorators, propMetadata[propName]); - } - decorators.push.apply(decorators, ownPropMetadata[propName]); - propMetadata[propName] = decorators; - }); - } - return propMetadata; - }; - /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - ReflectionCapabilities.prototype.hasLifecycleHook = /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - function (type, lcProperty) { - return type instanceof Type && lcProperty in type.prototype; - }; - /** - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.getter = /** - * @param {?} name - * @return {?} - */ - function (name) { return /** @type {?} */ (new Function('o', 'return o.' + name + ';')); }; - /** - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.setter = /** - * @param {?} name - * @return {?} - */ - function (name) { - return /** @type {?} */ (new Function('o', 'v', 'return o.' + name + ' = v;')); - }; - /** - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.method = /** - * @param {?} name - * @return {?} - */ - function (name) { - var /** @type {?} */ functionBody = "if (!o." + name + ") throw new Error('\"" + name + "\" is undefined');\n return o." + name + ".apply(o, args);"; - return /** @type {?} */ (new Function('o', 'args', functionBody)); - }; - // There is not a concept of import uri in Js, but this is useful in developing Dart applications. - /** - * @param {?} type - * @return {?} - */ - ReflectionCapabilities.prototype.importUri = /** - * @param {?} type - * @return {?} - */ - function (type) { - // StaticSymbol - if (typeof type === 'object' && type['filePath']) { - return type['filePath']; - } - // Runtime type - return "./" + stringify(type); - }; - /** - * @param {?} type - * @return {?} - */ - ReflectionCapabilities.prototype.resourceUri = /** - * @param {?} type - * @return {?} - */ - function (type) { return "./" + stringify(type); }; - /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - ReflectionCapabilities.prototype.resolveIdentifier = /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - function (name, moduleUrl, members, runtime) { - return runtime; - }; - /** - * @param {?} enumIdentifier - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.resolveEnum = /** - * @param {?} enumIdentifier - * @param {?} name - * @return {?} - */ - function (enumIdentifier, name) { return enumIdentifier[name]; }; - return ReflectionCapabilities; -}()); -/** - * @param {?} decoratorInvocations - * @return {?} - */ -function convertTsickleDecoratorIntoMetadata(decoratorInvocations) { - if (!decoratorInvocations) { - return []; - } - return decoratorInvocations.map(function (decoratorInvocation) { - var /** @type {?} */ decoratorType = decoratorInvocation.type; - var /** @type {?} */ annotationCls = decoratorType.annotationCls; - var /** @type {?} */ annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : []; - return new (annotationCls.bind.apply(annotationCls, [void 0].concat(annotationArgs)))(); - }); -} -/** - * @param {?} ctor - * @return {?} - */ -function getParentCtor(ctor) { - var /** @type {?} */ parentProto = Object.getPrototypeOf(ctor.prototype); - var /** @type {?} */ parentCtor = parentProto ? parentProto.constructor : null; - // Note: We always use `Object` as the null value - // to simplify checking later on. - return parentCtor || Object; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Provides access to reflection data about symbols. Used internally by Angular - * to power dependency injection and compilation. - */ -var Reflector = (function () { - function Reflector(reflectionCapabilities) { - this.reflectionCapabilities = reflectionCapabilities; - } - /** - * @param {?} caps - * @return {?} - */ - Reflector.prototype.updateCapabilities = /** - * @param {?} caps - * @return {?} - */ - function (caps) { this.reflectionCapabilities = caps; }; - /** - * @param {?} type - * @return {?} - */ - Reflector.prototype.factory = /** - * @param {?} type - * @return {?} - */ - function (type) { return this.reflectionCapabilities.factory(type); }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - Reflector.prototype.parameters = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - return this.reflectionCapabilities.parameters(typeOrFunc); - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - Reflector.prototype.annotations = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - return this.reflectionCapabilities.annotations(typeOrFunc); - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - Reflector.prototype.propMetadata = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - return this.reflectionCapabilities.propMetadata(typeOrFunc); - }; - /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - Reflector.prototype.hasLifecycleHook = /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - function (type, lcProperty) { - return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty); - }; - /** - * @param {?} name - * @return {?} - */ - Reflector.prototype.getter = /** - * @param {?} name - * @return {?} - */ - function (name) { return this.reflectionCapabilities.getter(name); }; - /** - * @param {?} name - * @return {?} - */ - Reflector.prototype.setter = /** - * @param {?} name - * @return {?} - */ - function (name) { return this.reflectionCapabilities.setter(name); }; - /** - * @param {?} name - * @return {?} - */ - Reflector.prototype.method = /** - * @param {?} name - * @return {?} - */ - function (name) { return this.reflectionCapabilities.method(name); }; - /** - * @param {?} type - * @return {?} - */ - Reflector.prototype.importUri = /** - * @param {?} type - * @return {?} - */ - function (type) { return this.reflectionCapabilities.importUri(type); }; - /** - * @param {?} type - * @return {?} - */ - Reflector.prototype.resourceUri = /** - * @param {?} type - * @return {?} - */ - function (type) { return this.reflectionCapabilities.resourceUri(type); }; - /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - Reflector.prototype.resolveIdentifier = /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - function (name, moduleUrl, members, runtime) { - return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, members, runtime); - }; - /** - * @param {?} identifier - * @param {?} name - * @return {?} - */ - Reflector.prototype.resolveEnum = /** - * @param {?} identifier - * @param {?} name - * @return {?} - */ - function (identifier, name) { - return this.reflectionCapabilities.resolveEnum(identifier, name); - }; - return Reflector; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * The {\@link Reflector} used internally in Angular to access metadata - * about symbols. - */ -var reflector = new Reflector(new ReflectionCapabilities()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * `Dependency` is used by the framework to extend DI. - * This is internal to Angular and should not be used directly. - */ -var ReflectiveDependency = (function () { - function ReflectiveDependency(key, optional, visibility) { - this.key = key; - this.optional = optional; - this.visibility = visibility; - } - /** - * @param {?} key - * @return {?} - */ - ReflectiveDependency.fromKey = /** - * @param {?} key - * @return {?} - */ - function (key) { - return new ReflectiveDependency(key, false, null); - }; - return ReflectiveDependency; -}()); -var _EMPTY_LIST = []; -/** - * An internal resolved representation of a {\@link Provider} used by the {\@link Injector}. - * - * It is usually created automatically by `Injector.resolveAndCreate`. - * - * It can be created manually, as follows: - * - * ### Example ([live demo](http://plnkr.co/edit/RfEnhh8kUEI0G3qsnIeT?p%3Dpreview&p=preview)) - * - * ```typescript - * var resolvedProviders = Injector.resolve([{ provide: 'message', useValue: 'Hello' }]); - * var injector = Injector.fromResolvedProviders(resolvedProviders); - * - * expect(injector.get('message')).toEqual('Hello'); - * ``` - * - * \@experimental - * @record - */ - -var ResolvedReflectiveProvider_ = (function () { - function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) { - this.key = key; - this.resolvedFactories = resolvedFactories; - this.multiProvider = multiProvider; - } - Object.defineProperty(ResolvedReflectiveProvider_.prototype, "resolvedFactory", { - get: /** - * @return {?} - */ - function () { return this.resolvedFactories[0]; }, - enumerable: true, - configurable: true - }); - return ResolvedReflectiveProvider_; -}()); -/** - * An internal resolved representation of a factory function created by resolving {\@link - * Provider}. - * \@experimental - */ -var ResolvedReflectiveFactory = (function () { - function ResolvedReflectiveFactory(factory, dependencies) { - this.factory = factory; - this.dependencies = dependencies; - } - return ResolvedReflectiveFactory; -}()); -/** - * Resolve a single provider. - * @param {?} provider - * @return {?} - */ -function resolveReflectiveFactory(provider) { - var /** @type {?} */ factoryFn; - var /** @type {?} */ resolvedDeps; - if (provider.useClass) { - var /** @type {?} */ useClass = resolveForwardRef(provider.useClass); - factoryFn = reflector.factory(useClass); - resolvedDeps = _dependenciesFor(useClass); - } - else if (provider.useExisting) { - factoryFn = function (aliasInstance) { return aliasInstance; }; - resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))]; - } - else if (provider.useFactory) { - factoryFn = provider.useFactory; - resolvedDeps = constructDependencies(provider.useFactory, provider.deps); - } - else { - factoryFn = function () { return provider.useValue; }; - resolvedDeps = _EMPTY_LIST; - } - return new ResolvedReflectiveFactory(factoryFn, resolvedDeps); -} -/** - * Converts the {\@link Provider} into {\@link ResolvedProvider}. - * - * {\@link Injector} internally only uses {\@link ResolvedProvider}, {\@link Provider} contains - * convenience provider syntax. - * @param {?} provider - * @return {?} - */ -function resolveReflectiveProvider(provider) { - return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false); -} -/** - * Resolve a list of Providers. - * @param {?} providers - * @return {?} - */ -function resolveReflectiveProviders(providers) { - var /** @type {?} */ normalized = _normalizeProviders(providers, []); - var /** @type {?} */ resolved = normalized.map(resolveReflectiveProvider); - var /** @type {?} */ resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map()); - return Array.from(resolvedProviderMap.values()); -} -/** - * Merges a list of ResolvedProviders into a list where - * each key is contained exactly once and multi providers - * have been merged. - * @param {?} providers - * @param {?} normalizedProvidersMap - * @return {?} - */ -function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) { - for (var /** @type {?} */ i = 0; i < providers.length; i++) { - var /** @type {?} */ provider = providers[i]; - var /** @type {?} */ existing = normalizedProvidersMap.get(provider.key.id); - if (existing) { - if (provider.multiProvider !== existing.multiProvider) { - throw mixingMultiProvidersWithRegularProvidersError(existing, provider); - } - if (provider.multiProvider) { - for (var /** @type {?} */ j = 0; j < provider.resolvedFactories.length; j++) { - existing.resolvedFactories.push(provider.resolvedFactories[j]); - } - } - else { - normalizedProvidersMap.set(provider.key.id, provider); - } - } - else { - var /** @type {?} */ resolvedProvider = void 0; - if (provider.multiProvider) { - resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider); - } - else { - resolvedProvider = provider; - } - normalizedProvidersMap.set(provider.key.id, resolvedProvider); - } - } - return normalizedProvidersMap; -} -/** - * @param {?} providers - * @param {?} res - * @return {?} - */ -function _normalizeProviders(providers, res) { - providers.forEach(function (b) { - if (b instanceof Type) { - res.push({ provide: b, useClass: b }); - } - else if (b && typeof b == 'object' && (/** @type {?} */ (b)).provide !== undefined) { - res.push(/** @type {?} */ (b)); - } - else if (b instanceof Array) { - _normalizeProviders(b, res); - } - else { - throw invalidProviderError(b); - } - }); - return res; -} -/** - * @param {?} typeOrFunc - * @param {?=} dependencies - * @return {?} - */ -function constructDependencies(typeOrFunc, dependencies) { - if (!dependencies) { - return _dependenciesFor(typeOrFunc); - } - else { - var /** @type {?} */ params_1 = dependencies.map(function (t) { return [t]; }); - return dependencies.map(function (t) { return _extractToken(typeOrFunc, t, params_1); }); - } -} -/** - * @param {?} typeOrFunc - * @return {?} - */ -function _dependenciesFor(typeOrFunc) { - var /** @type {?} */ params = reflector.parameters(typeOrFunc); - if (!params) - return []; - if (params.some(function (p) { return p == null; })) { - throw noAnnotationError(typeOrFunc, params); - } - return params.map(function (p) { return _extractToken(typeOrFunc, p, params); }); -} -/** - * @param {?} typeOrFunc - * @param {?} metadata - * @param {?} params - * @return {?} - */ -function _extractToken(typeOrFunc, metadata, params) { - var /** @type {?} */ token = null; - var /** @type {?} */ optional = false; - if (!Array.isArray(metadata)) { - if (metadata instanceof Inject) { - return _createDependency(metadata.token, optional, null); - } - else { - return _createDependency(metadata, optional, null); - } - } - var /** @type {?} */ visibility = null; - for (var /** @type {?} */ i = 0; i < metadata.length; ++i) { - var /** @type {?} */ paramMetadata = metadata[i]; - if (paramMetadata instanceof Type) { - token = paramMetadata; - } - else if (paramMetadata instanceof Inject) { - token = paramMetadata.token; - } - else if (paramMetadata instanceof Optional) { - optional = true; - } - else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) { - visibility = paramMetadata; - } - else if (paramMetadata instanceof InjectionToken) { - token = paramMetadata; - } - } - token = resolveForwardRef(token); - if (token != null) { - return _createDependency(token, optional, visibility); - } - else { - throw noAnnotationError(typeOrFunc, params); - } -} -/** - * @param {?} token - * @param {?} optional - * @param {?} visibility - * @return {?} - */ -function _createDependency(token, optional, visibility) { - return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Threshold for the dynamic version -var UNDEFINED = new Object(); -/** - * A ReflectiveDependency injection container used for instantiating objects and resolving - * dependencies. - * - * An `Injector` is a replacement for a `new` operator, which can automatically resolve the - * constructor dependencies. - * - * In typical use, application code asks for the dependencies in the constructor and they are - * resolved by the `Injector`. - * - * ### Example ([live demo](http://plnkr.co/edit/jzjec0?p=preview)) - * - * The following example creates an `Injector` configured to create `Engine` and `Car`. - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * var car = injector.get(Car); - * expect(car instanceof Car).toBe(true); - * expect(car.engine instanceof Engine).toBe(true); - * ``` - * - * Notice, we don't use the `new` operator because we explicitly want to have the `Injector` - * resolve all of the object's dependencies automatically. - * - * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead. - * @abstract - */ -var ReflectiveInjector = (function () { - function ReflectiveInjector() { - } - /** - * Turns an array of provider definitions into an array of resolved providers. - * - * A resolution is a process of flattening multiple nested arrays and converting individual - * providers into an array of {@link ResolvedReflectiveProvider}s. - * - * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview)) - * - * ```typescript - * @Injectable() - * class Engine { - * } - * - * @Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]); - * - * expect(providers.length).toEqual(2); - * - * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true); - * expect(providers[0].key.displayName).toBe("Car"); - * expect(providers[0].dependencies.length).toEqual(1); - * expect(providers[0].factory).toBeDefined(); - * - * expect(providers[1].key.displayName).toBe("Engine"); - * }); - * ``` - * - * See {@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders} for more info. - */ - /** - * Turns an array of provider definitions into an array of resolved providers. - * - * A resolution is a process of flattening multiple nested arrays and converting individual - * providers into an array of {\@link ResolvedReflectiveProvider}s. - * - * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]); - * - * expect(providers.length).toEqual(2); - * - * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true); - * expect(providers[0].key.displayName).toBe("Car"); - * expect(providers[0].dependencies.length).toEqual(1); - * expect(providers[0].factory).toBeDefined(); - * - * expect(providers[1].key.displayName).toBe("Engine"); - * }); - * ``` - * - * See {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders} for more info. - * @param {?} providers - * @return {?} - */ - ReflectiveInjector.resolve = /** - * Turns an array of provider definitions into an array of resolved providers. - * - * A resolution is a process of flattening multiple nested arrays and converting individual - * providers into an array of {\@link ResolvedReflectiveProvider}s. - * - * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]); - * - * expect(providers.length).toEqual(2); - * - * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true); - * expect(providers[0].key.displayName).toBe("Car"); - * expect(providers[0].dependencies.length).toEqual(1); - * expect(providers[0].factory).toBeDefined(); - * - * expect(providers[1].key.displayName).toBe("Engine"); - * }); - * ``` - * - * See {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders} for more info. - * @param {?} providers - * @return {?} - */ - function (providers) { - return resolveReflectiveProviders(providers); - }; - /** - * Resolves an array of providers and creates an injector from those providers. - * - * The passed-in providers can be an array of `Type`, {@link Provider}, - * or a recursive array of more providers. - * - * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview)) - * - * ```typescript - * @Injectable() - * class Engine { - * } - * - * @Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * - * This function is slower than the corresponding `fromResolvedProviders` - * because it needs to resolve the passed-in providers first. - * See {@link ReflectiveInjector#resolve resolve} and - * {@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders}. - */ - /** - * Resolves an array of providers and creates an injector from those providers. - * - * The passed-in providers can be an array of `Type`, {\@link Provider}, - * or a recursive array of more providers. - * - * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * - * This function is slower than the corresponding `fromResolvedProviders` - * because it needs to resolve the passed-in providers first. - * See {\@link ReflectiveInjector#resolve resolve} and - * {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders}. - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - ReflectiveInjector.resolveAndCreate = /** - * Resolves an array of providers and creates an injector from those providers. - * - * The passed-in providers can be an array of `Type`, {\@link Provider}, - * or a recursive array of more providers. - * - * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * - * This function is slower than the corresponding `fromResolvedProviders` - * because it needs to resolve the passed-in providers first. - * See {\@link ReflectiveInjector#resolve resolve} and - * {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders}. - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - function (providers, parent) { - var /** @type {?} */ ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers); - return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent); - }; - /** - * Creates an injector from previously resolved providers. - * - * This API is the recommended way to construct injectors in performance-sensitive parts. - * - * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview)) - * - * ```typescript - * @Injectable() - * class Engine { - * } - * - * @Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, Engine]); - * var injector = ReflectiveInjector.fromResolvedProviders(providers); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * @experimental - */ - /** - * Creates an injector from previously resolved providers. - * - * This API is the recommended way to construct injectors in performance-sensitive parts. - * - * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, Engine]); - * var injector = ReflectiveInjector.fromResolvedProviders(providers); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * \@experimental - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - ReflectiveInjector.fromResolvedProviders = /** - * Creates an injector from previously resolved providers. - * - * This API is the recommended way to construct injectors in performance-sensitive parts. - * - * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, Engine]); - * var injector = ReflectiveInjector.fromResolvedProviders(providers); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * \@experimental - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - function (providers, parent) { - return new ReflectiveInjector_(providers, parent); - }; - return ReflectiveInjector; -}()); -var ReflectiveInjector_ = (function () { - /** - * Private - */ - function ReflectiveInjector_(_providers, _parent) { - /** - * \@internal - */ - this._constructionCounter = 0; - this._providers = _providers; - this.parent = _parent || null; - var /** @type {?} */ len = _providers.length; - this.keyIds = new Array(len); - this.objs = new Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - this.keyIds[i] = _providers[i].key.id; - this.objs[i] = UNDEFINED; - } - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; } - return this._getByKey(ReflectiveKey.get(token), null, notFoundValue); - }; - /** - * @param {?} providers - * @return {?} - */ - ReflectiveInjector_.prototype.resolveAndCreateChild = /** - * @param {?} providers - * @return {?} - */ - function (providers) { - var /** @type {?} */ ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers); - return this.createChildFromResolved(ResolvedReflectiveProviders); - }; - /** - * @param {?} providers - * @return {?} - */ - ReflectiveInjector_.prototype.createChildFromResolved = /** - * @param {?} providers - * @return {?} - */ - function (providers) { - var /** @type {?} */ inj = new ReflectiveInjector_(providers); - (/** @type {?} */ (inj)).parent = this; - return inj; - }; - /** - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype.resolveAndInstantiate = /** - * @param {?} provider - * @return {?} - */ - function (provider) { - return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]); - }; - /** - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype.instantiateResolved = /** - * @param {?} provider - * @return {?} - */ - function (provider) { - return this._instantiateProvider(provider); - }; - /** - * @param {?} index - * @return {?} - */ - ReflectiveInjector_.prototype.getProviderAtIndex = /** - * @param {?} index - * @return {?} - */ - function (index) { - if (index < 0 || index >= this._providers.length) { - throw outOfBoundsError(index); - } - return this._providers[index]; - }; - /** @internal */ - /** - * \@internal - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype._new = /** - * \@internal - * @param {?} provider - * @return {?} - */ - function (provider) { - if (this._constructionCounter++ > this._getMaxNumberOfObjects()) { - throw cyclicDependencyError(this, provider.key); - } - return this._instantiateProvider(provider); - }; - /** - * @return {?} - */ - ReflectiveInjector_.prototype._getMaxNumberOfObjects = /** - * @return {?} - */ - function () { return this.objs.length; }; - /** - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype._instantiateProvider = /** - * @param {?} provider - * @return {?} - */ - function (provider) { - if (provider.multiProvider) { - var /** @type {?} */ res = new Array(provider.resolvedFactories.length); - for (var /** @type {?} */ i = 0; i < provider.resolvedFactories.length; ++i) { - res[i] = this._instantiate(provider, provider.resolvedFactories[i]); - } - return res; - } - else { - return this._instantiate(provider, provider.resolvedFactories[0]); - } - }; - /** - * @param {?} provider - * @param {?} ResolvedReflectiveFactory - * @return {?} - */ - ReflectiveInjector_.prototype._instantiate = /** - * @param {?} provider - * @param {?} ResolvedReflectiveFactory - * @return {?} - */ - function (provider, ResolvedReflectiveFactory$$1) { - var _this = this; - var /** @type {?} */ factory = ResolvedReflectiveFactory$$1.factory; - var /** @type {?} */ deps; - try { - deps = - ResolvedReflectiveFactory$$1.dependencies.map(function (dep) { return _this._getByReflectiveDependency(dep); }); - } - catch (/** @type {?} */ e) { - if (e.addKey) { - e.addKey(this, provider.key); - } - throw e; - } - var /** @type {?} */ obj; - try { - obj = factory.apply(void 0, deps); - } - catch (/** @type {?} */ e) { - throw instantiationError(this, e, e.stack, provider.key); - } - return obj; - }; - /** - * @param {?} dep - * @return {?} - */ - ReflectiveInjector_.prototype._getByReflectiveDependency = /** - * @param {?} dep - * @return {?} - */ - function (dep) { - return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND); - }; - /** - * @param {?} key - * @param {?} visibility - * @param {?} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype._getByKey = /** - * @param {?} key - * @param {?} visibility - * @param {?} notFoundValue - * @return {?} - */ - function (key, visibility, notFoundValue) { - if (key === ReflectiveInjector_.INJECTOR_KEY) { - return this; - } - if (visibility instanceof Self) { - return this._getByKeySelf(key, notFoundValue); - } - else { - return this._getByKeyDefault(key, notFoundValue, visibility); - } - }; - /** - * @param {?} keyId - * @return {?} - */ - ReflectiveInjector_.prototype._getObjByKeyId = /** - * @param {?} keyId - * @return {?} - */ - function (keyId) { - for (var /** @type {?} */ i = 0; i < this.keyIds.length; i++) { - if (this.keyIds[i] === keyId) { - if (this.objs[i] === UNDEFINED) { - this.objs[i] = this._new(this._providers[i]); - } - return this.objs[i]; - } - } - return UNDEFINED; - }; - /** @internal */ - /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype._throwOrNull = /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - function (key, notFoundValue) { - if (notFoundValue !== THROW_IF_NOT_FOUND) { - return notFoundValue; - } - else { - throw noProviderError(this, key); - } - }; - /** @internal */ - /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype._getByKeySelf = /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - function (key, notFoundValue) { - var /** @type {?} */ obj = this._getObjByKeyId(key.id); - return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue); - }; - /** @internal */ - /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @param {?} visibility - * @return {?} - */ - ReflectiveInjector_.prototype._getByKeyDefault = /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @param {?} visibility - * @return {?} - */ - function (key, notFoundValue, visibility) { - var /** @type {?} */ inj; - if (visibility instanceof SkipSelf) { - inj = this.parent; - } - else { - inj = this; - } - while (inj instanceof ReflectiveInjector_) { - var /** @type {?} */ inj_ = /** @type {?} */ (inj); - var /** @type {?} */ obj = inj_._getObjByKeyId(key.id); - if (obj !== UNDEFINED) - return obj; - inj = inj_.parent; - } - if (inj !== null) { - return inj.get(key.token, notFoundValue); - } - else { - return this._throwOrNull(key, notFoundValue); - } - }; - Object.defineProperty(ReflectiveInjector_.prototype, "displayName", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ providers = _mapProviders(this, function (b) { return ' "' + b.key.displayName + '" '; }) - .join(', '); - return "ReflectiveInjector(providers: [" + providers + "])"; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ReflectiveInjector_.prototype.toString = /** - * @return {?} - */ - function () { return this.displayName; }; - ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector); - return ReflectiveInjector_; -}()); -/** - * @param {?} injector - * @param {?} fn - * @return {?} - */ -function _mapProviders(injector, fn) { - var /** @type {?} */ res = new Array(injector._providers.length); - for (var /** @type {?} */ i = 0; i < injector._providers.length; ++i) { - res[i] = fn(injector.getProviderAtIndex(i)); - } - return res; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * The `di` module provides dependency injection container services. - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Determine if the argument is shaped like a Promise - * @param {?} obj - * @return {?} - */ -function isPromise(obj) { - // allow any Promise/A+ compliant thenable. - // It's up to the caller to ensure that obj.then conforms to the spec - return !!obj && typeof obj.then === 'function'; -} -/** - * Determine if the argument is an Observable - * @param {?} obj - * @return {?} - */ -function isObservable(obj) { - // TODO use Symbol.observable when https://github.com/ReactiveX/rxjs/issues/2415 will be resolved - return !!obj && typeof obj.subscribe === 'function'; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A function that will be executed when an application is initialized. - * \@experimental - */ -var APP_INITIALIZER = new InjectionToken('Application Initializer'); -/** - * A class that reflects the state of running {\@link APP_INITIALIZER}s. - * - * \@experimental - */ -var ApplicationInitStatus = (function () { - function ApplicationInitStatus(appInits) { - var _this = this; - this.appInits = appInits; - this.initialized = false; - this.done = false; - this.donePromise = new Promise(function (res, rej) { - _this.resolve = res; - _this.reject = rej; - }); - } - /** @internal */ - /** - * \@internal - * @return {?} - */ - ApplicationInitStatus.prototype.runInitializers = /** - * \@internal - * @return {?} - */ - function () { - var _this = this; - if (this.initialized) { - return; - } - var /** @type {?} */ asyncInitPromises = []; - var /** @type {?} */ complete = function () { - (/** @type {?} */ (_this)).done = true; - _this.resolve(); - }; - if (this.appInits) { - for (var /** @type {?} */ i = 0; i < this.appInits.length; i++) { - var /** @type {?} */ initResult = this.appInits[i](); - if (isPromise(initResult)) { - asyncInitPromises.push(initResult); - } - } - } - Promise.all(asyncInitPromises).then(function () { complete(); }).catch(function (e) { _this.reject(e); }); - if (asyncInitPromises.length === 0) { - complete(); - } - this.initialized = true; - }; - ApplicationInitStatus.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - ApplicationInitStatus.ctorParameters = function () { return [ - { type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional },] }, - ]; }; - return ApplicationInitStatus; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A DI Token representing a unique string id assigned to the application by Angular and used - * primarily for prefixing application attributes and CSS styles when - * {\@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used. - * - * If you need to avoid randomly generated value to be used as an application id, you can provide - * a custom value via a DI provider configuring the root {\@link Injector} - * using this token. - * \@experimental - */ -var APP_ID = new InjectionToken('AppId'); -/** - * @return {?} - */ -function _appIdRandomProviderFactory() { - return "" + _randomChar() + _randomChar() + _randomChar(); -} -/** - * Providers that will generate a random APP_ID_TOKEN. - * \@experimental - */ -var APP_ID_RANDOM_PROVIDER = { - provide: APP_ID, - useFactory: _appIdRandomProviderFactory, - deps: /** @type {?} */ ([]), -}; -/** - * @return {?} - */ -function _randomChar() { - return String.fromCharCode(97 + Math.floor(Math.random() * 25)); -} -/** - * A function that will be executed when a platform is initialized. - * \@experimental - */ -var PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer'); -/** - * A token that indicates an opaque platform id. - * \@experimental - */ -var PLATFORM_ID = new InjectionToken('Platform ID'); -/** - * All callbacks provided via this token will be called for every component that is bootstrapped. - * Signature of the callback: - * - * `(componentRef: ComponentRef) => void`. - * - * \@experimental - */ -var APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener'); -/** - * A token which indicates the root directory of the application - * \@experimental - */ -var PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Console = (function () { - function Console() { - } - /** - * @param {?} message - * @return {?} - */ - Console.prototype.log = /** - * @param {?} message - * @return {?} - */ - function (message) { - // tslint:disable-next-line:no-console - console.log(message); - }; - // Note: for reporting errors use `DOM.logError()` as it is platform specific - /** - * @param {?} message - * @return {?} - */ - Console.prototype.warn = /** - * @param {?} message - * @return {?} - */ - function (message) { - // tslint:disable-next-line:no-console - console.warn(message); - }; - Console.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - Console.ctorParameters = function () { return []; }; - return Console; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Combination of NgModuleFactory and ComponentFactorys. - * - * \@experimental - */ -var ModuleWithComponentFactories = (function () { - function ModuleWithComponentFactories(ngModuleFactory, componentFactories) { - this.ngModuleFactory = ngModuleFactory; - this.componentFactories = componentFactories; - } - return ModuleWithComponentFactories; -}()); -/** - * @return {?} - */ -function _throwError() { - throw new Error("Runtime compiler is not loaded"); -} -/** - * Low-level service for running the angular compiler during runtime - * to create {\@link ComponentFactory}s, which - * can later be used to create and render a Component instance. - * - * Each `\@NgModule` provides an own `Compiler` to its injector, - * that will use the directives/pipes of the ng module for compilation - * of components. - * \@stable - */ -var Compiler = (function () { - function Compiler() { - } - /** - * Compiles the given NgModule and all of its components. All templates of the components listed - * in `entryComponents` have to be inlined. - */ - /** - * Compiles the given NgModule and all of its components. All templates of the components listed - * in `entryComponents` have to be inlined. - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleSync = /** - * Compiles the given NgModule and all of its components. All templates of the components listed - * in `entryComponents` have to be inlined. - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { throw _throwError(); }; - /** - * Compiles the given NgModule and all of its components - */ - /** - * Compiles the given NgModule and all of its components - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleAsync = /** - * Compiles the given NgModule and all of its components - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { throw _throwError(); }; - /** - * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components. - */ - /** - * Same as {\@link #compileModuleSync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleAndAllComponentsSync = /** - * Same as {\@link #compileModuleSync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { - throw _throwError(); - }; - /** - * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components. - */ - /** - * Same as {\@link #compileModuleAsync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleAndAllComponentsAsync = /** - * Same as {\@link #compileModuleAsync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { - throw _throwError(); - }; - /** - * Clears all caches. - */ - /** - * Clears all caches. - * @return {?} - */ - Compiler.prototype.clearCache = /** - * Clears all caches. - * @return {?} - */ - function () { }; - /** - * Clears the cache for the given component/ngModule. - */ - /** - * Clears the cache for the given component/ngModule. - * @param {?} type - * @return {?} - */ - Compiler.prototype.clearCacheFor = /** - * Clears the cache for the given component/ngModule. - * @param {?} type - * @return {?} - */ - function (type) { }; - Compiler.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - Compiler.ctorParameters = function () { return []; }; - return Compiler; -}()); -/** - * Token to provide CompilerOptions in the platform injector. - * - * \@experimental - */ -var COMPILER_OPTIONS = new InjectionToken('compilerOptions'); -/** - * A factory for creating a Compiler - * - * \@experimental - * @abstract - */ -var CompilerFactory = (function () { - function CompilerFactory() { - } - return CompilerFactory; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents an instance of a Component created via a {\@link ComponentFactory}. - * - * `ComponentRef` provides access to the Component Instance as well other objects related to this - * Component Instance and allows you to destroy the Component Instance via the {\@link #destroy} - * method. - * \@stable - * @abstract - */ -var ComponentRef = (function () { - function ComponentRef() { - } - return ComponentRef; -}()); -/** - * \@stable - * @abstract - */ -var ComponentFactory = (function () { - function ComponentFactory() { - } - return ComponentFactory; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} component - * @return {?} - */ -function noComponentFactoryError(component) { - var /** @type {?} */ error = Error("No component factory found for " + stringify(component) + ". Did you add it to @NgModule.entryComponents?"); - (/** @type {?} */ (error))[ERROR_COMPONENT] = component; - return error; -} -var ERROR_COMPONENT = 'ngComponent'; -/** - * @param {?} error - * @return {?} - */ - -var _NullComponentFactoryResolver = (function () { - function _NullComponentFactoryResolver() { - } - /** - * @template T - * @param {?} component - * @return {?} - */ - _NullComponentFactoryResolver.prototype.resolveComponentFactory = /** - * @template T - * @param {?} component - * @return {?} - */ - function (component) { - throw noComponentFactoryError(component); - }; - return _NullComponentFactoryResolver; -}()); -/** - * \@stable - * @abstract - */ -var ComponentFactoryResolver = (function () { - function ComponentFactoryResolver() { - } - ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver(); - return ComponentFactoryResolver; -}()); -var CodegenComponentFactoryResolver = (function () { - function CodegenComponentFactoryResolver(factories, _parent, _ngModule) { - this._parent = _parent; - this._ngModule = _ngModule; - this._factories = new Map(); - for (var /** @type {?} */ i = 0; i < factories.length; i++) { - var /** @type {?} */ factory = factories[i]; - this._factories.set(factory.componentType, factory); - } - } - /** - * @template T - * @param {?} component - * @return {?} - */ - CodegenComponentFactoryResolver.prototype.resolveComponentFactory = /** - * @template T - * @param {?} component - * @return {?} - */ - function (component) { - var /** @type {?} */ factory = this._factories.get(component); - if (!factory && this._parent) { - factory = this._parent.resolveComponentFactory(component); - } - if (!factory) { - throw noComponentFactoryError(component); - } - return new ComponentFactoryBoundToModule(factory, this._ngModule); - }; - return CodegenComponentFactoryResolver; -}()); -var ComponentFactoryBoundToModule = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ComponentFactoryBoundToModule, _super); - function ComponentFactoryBoundToModule(factory, ngModule) { - var _this = _super.call(this) || this; - _this.factory = factory; - _this.ngModule = ngModule; - return _this; - } - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "selector", { - get: /** - * @return {?} - */ - function () { return this.factory.selector; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "componentType", { - get: /** - * @return {?} - */ - function () { return this.factory.componentType; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "ngContentSelectors", { - get: /** - * @return {?} - */ - function () { return this.factory.ngContentSelectors; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "inputs", { - get: /** - * @return {?} - */ - function () { return this.factory.inputs; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "outputs", { - get: /** - * @return {?} - */ - function () { return this.factory.outputs; }, - enumerable: true, - configurable: true - }); - /** - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - ComponentFactoryBoundToModule.prototype.create = /** - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - function (injector, projectableNodes, rootSelectorOrNode, ngModule) { - return this.factory.create(injector, projectableNodes, rootSelectorOrNode, ngModule || this.ngModule); - }; - return ComponentFactoryBoundToModule; -}(ComponentFactory)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents an instance of an NgModule created via a {\@link NgModuleFactory}. - * - * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this - * NgModule Instance. - * - * \@stable - * @abstract - */ -var NgModuleRef = (function () { - function NgModuleRef() { - } - return NgModuleRef; -}()); -/** - * @record - */ - -/** - * \@experimental - * @abstract - */ -var NgModuleFactory = (function () { - function NgModuleFactory() { - } - return NgModuleFactory; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A scope function for the Web Tracing Framework (WTF). - * - * \@experimental - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -var trace; -var events; -/** - * @return {?} - */ -function detectWTF() { - var /** @type {?} */ wtf = (/** @type {?} */ (_global /** TODO #9100 */) /** TODO #9100 */)['wtf']; - if (wtf) { - trace = wtf['trace']; - if (trace) { - events = trace['events']; - return true; - } - } - return false; -} -/** - * @param {?} signature - * @param {?=} flags - * @return {?} - */ -function createScope(signature, flags) { - if (flags === void 0) { flags = null; } - return events.createScope(signature, flags); -} -/** - * @template T - * @param {?} scope - * @param {?=} returnValue - * @return {?} - */ -function leave(scope, returnValue) { - trace.leaveScope(scope, returnValue); - return returnValue; -} -/** - * @param {?} rangeType - * @param {?} action - * @return {?} - */ -function startTimeRange(rangeType, action) { - return trace.beginTimeRange(rangeType, action); -} -/** - * @param {?} range - * @return {?} - */ -function endTimeRange(range) { - trace.endTimeRange(range); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * True if WTF is enabled. - */ -var wtfEnabled = detectWTF(); -/** - * @param {?=} arg0 - * @param {?=} arg1 - * @return {?} - */ -function noopScope(arg0, arg1) { - return null; -} -/** - * Create trace scope. - * - * Scopes must be strictly nested and are analogous to stack frames, but - * do not have to follow the stack frames. Instead it is recommended that they follow logical - * nesting. You may want to use - * [Event - * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events) - * as they are defined in WTF. - * - * Used to mark scope entry. The return value is used to leave the scope. - * - * var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)'); - * - * someMethod() { - * var s = myScope('Foo'); // 'Foo' gets stored in tracing UI - * // DO SOME WORK HERE - * return wtfLeave(s, 123); // Return value 123 - * } - * - * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can - * negatively impact the performance of your application. For this reason we recommend that - * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and - * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to - * exception, will produce incorrect trace, but presence of exception signifies logic error which - * needs to be fixed before the app should be profiled. Add try-finally only when you expect that - * an exception is expected during normal execution while profiling. - * - * \@experimental - */ -var wtfCreateScope = wtfEnabled ? createScope : function (signature, flags) { return noopScope; }; -/** - * Used to mark end of Scope. - * - * - `scope` to end. - * - `returnValue` (optional) to be passed to the WTF. - * - * Returns the `returnValue for easy chaining. - * \@experimental - */ -var wtfLeave = wtfEnabled ? leave : function (s, r) { return r; }; -/** - * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested. - * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been - * enabled. - * - * someMethod() { - * var s = wtfStartTimeRange('HTTP:GET', 'some.url'); - * var future = new Future.delay(5).then((_) { - * wtfEndTimeRange(s); - * }); - * } - * \@experimental - */ -var wtfStartTimeRange = wtfEnabled ? startTimeRange : function (rangeType, action) { return null; }; -/** - * Ends a async time range operation. - * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been - * enabled. - * \@experimental - */ -var wtfEndTimeRange = wtfEnabled ? endTimeRange : function (r) { return null; }; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Use by directives and components to emit custom Events. - * - * ### Examples - * - * In the following example, `Zippy` alternatively emits `open` and `close` events when its - * title gets clicked: - * - * ``` - * \@Component({ - * selector: 'zippy', - * template: ` - *
- *
Toggle
- *
- * - *
- *
`}) - * export class Zippy { - * visible: boolean = true; - * \@Output() open: EventEmitter = new EventEmitter(); - * \@Output() close: EventEmitter = new EventEmitter(); - * - * toggle() { - * this.visible = !this.visible; - * if (this.visible) { - * this.open.emit(null); - * } else { - * this.close.emit(null); - * } - * } - * } - * ``` - * - * The events payload can be accessed by the parameter `$event` on the components output event - * handler: - * - * ``` - * - * ``` - * - * Uses Rx.Observable but provides an adapter to make it work as specified here: - * https://github.com/jhusain/observable-spec - * - * Once a reference implementation of the spec is available, switch to it. - * \@stable - */ -var EventEmitter = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(EventEmitter, _super); - /** - * Creates an instance of {@link EventEmitter}, which depending on `isAsync`, - * delivers events synchronously or asynchronously. - * - * @param isAsync By default, events are delivered synchronously (default value: `false`). - * Set to `true` for asynchronous event delivery. - */ - function EventEmitter(isAsync) { - if (isAsync === void 0) { isAsync = false; } - var _this = _super.call(this) || this; - _this.__isAsync = isAsync; - return _this; - } - /** - * @param {?=} value - * @return {?} - */ - EventEmitter.prototype.emit = /** - * @param {?=} value - * @return {?} - */ - function (value) { _super.prototype.next.call(this, value); }; - /** - * @param {?=} generatorOrNext - * @param {?=} error - * @param {?=} complete - * @return {?} - */ - EventEmitter.prototype.subscribe = /** - * @param {?=} generatorOrNext - * @param {?=} error - * @param {?=} complete - * @return {?} - */ - function (generatorOrNext, error, complete) { - var /** @type {?} */ schedulerFn; - var /** @type {?} */ errorFn = function (err) { return null; }; - var /** @type {?} */ completeFn = function () { return null; }; - if (generatorOrNext && typeof generatorOrNext === 'object') { - schedulerFn = this.__isAsync ? function (value) { - setTimeout(function () { return generatorOrNext.next(value); }); - } : function (value) { generatorOrNext.next(value); }; - if (generatorOrNext.error) { - errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } : - function (err) { generatorOrNext.error(err); }; - } - if (generatorOrNext.complete) { - completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } : - function () { generatorOrNext.complete(); }; - } - } - else { - schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } : - function (value) { generatorOrNext(value); }; - if (error) { - errorFn = - this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); }; - } - if (complete) { - completeFn = - this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); }; - } - } - return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn); - }; - return EventEmitter; -}(__WEBPACK_IMPORTED_MODULE_4_rxjs_Subject__["Subject"])); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An injectable service for executing work inside or outside of the Angular zone. - * - * The most common use of this service is to optimize performance when starting a work consisting of - * one or more asynchronous tasks that don't require UI updates or error handling to be handled by - * Angular. Such tasks can be kicked off via {\@link #runOutsideAngular} and if needed, these tasks - * can reenter the Angular zone via {\@link #run}. - * - * - * - * ### Example - * - * ``` - * import {Component, NgZone} from '\@angular/core'; - * import {NgIf} from '\@angular/common'; - * - * \@Component({ - * selector: 'ng-zone-demo'. - * template: ` - *

Demo: NgZone

- * - *

Progress: {{progress}}%

- *

Done processing {{label}} of Angular zone!

- * - * - * - * `, - * }) - * export class NgZoneDemo { - * progress: number = 0; - * label: string; - * - * constructor(private _ngZone: NgZone) {} - * - * // Loop inside the Angular zone - * // so the UI DOES refresh after each setTimeout cycle - * processWithinAngularZone() { - * this.label = 'inside'; - * this.progress = 0; - * this._increaseProgress(() => console.log('Inside Done!')); - * } - * - * // Loop outside of the Angular zone - * // so the UI DOES NOT refresh after each setTimeout cycle - * processOutsideOfAngularZone() { - * this.label = 'outside'; - * this.progress = 0; - * this._ngZone.runOutsideAngular(() => { - * this._increaseProgress(() => { - * // reenter the Angular zone and display done - * this._ngZone.run(() => {console.log('Outside Done!') }); - * }})); - * } - * - * _increaseProgress(doneCallback: () => void) { - * this.progress += 1; - * console.log(`Current progress: ${this.progress}%`); - * - * if (this.progress < 100) { - * window.setTimeout(() => this._increaseProgress(doneCallback)), 10) - * } else { - * doneCallback(); - * } - * } - * } - * ``` - * - * \@experimental - */ -var NgZone = (function () { - function NgZone(_a) { - var _b = _a.enableLongStackTrace, enableLongStackTrace = _b === void 0 ? false : _b; - this.hasPendingMicrotasks = false; - this.hasPendingMacrotasks = false; - /** - * Whether there are no outstanding microtasks or macrotasks. - */ - this.isStable = true; - /** - * Notifies when code enters Angular Zone. This gets fired first on VM Turn. - */ - this.onUnstable = new EventEmitter(false); - /** - * Notifies when there is no more microtasks enqueued in the current VM Turn. - * This is a hint for Angular to do change detection, which may enqueue more microtasks. - * For this reason this event can fire multiple times per VM Turn. - */ - this.onMicrotaskEmpty = new EventEmitter(false); - /** - * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which - * implies we are about to relinquish VM turn. - * This event gets called just once. - */ - this.onStable = new EventEmitter(false); - /** - * Notifies that an error has been delivered. - */ - this.onError = new EventEmitter(false); - if (typeof Zone == 'undefined') { - throw new Error("In this configuration Angular requires Zone.js"); - } - Zone.assertZonePatched(); - var /** @type {?} */ self = /** @type {?} */ ((this)); - self._nesting = 0; - self._outer = self._inner = Zone.current; - if ((/** @type {?} */ (Zone))['wtfZoneSpec']) { - self._inner = self._inner.fork((/** @type {?} */ (Zone))['wtfZoneSpec']); - } - if (enableLongStackTrace && (/** @type {?} */ (Zone))['longStackTraceZoneSpec']) { - self._inner = self._inner.fork((/** @type {?} */ (Zone))['longStackTraceZoneSpec']); - } - forkInnerZoneWithAngularBehavior(self); - } - /** - * @return {?} - */ - NgZone.isInAngularZone = /** - * @return {?} - */ - function () { return Zone.current.get('isAngularZone') === true; }; - /** - * @return {?} - */ - NgZone.assertInAngularZone = /** - * @return {?} - */ - function () { - if (!NgZone.isInAngularZone()) { - throw new Error('Expected to be in Angular Zone, but it is not!'); - } - }; - /** - * @return {?} - */ - NgZone.assertNotInAngularZone = /** - * @return {?} - */ - function () { - if (NgZone.isInAngularZone()) { - throw new Error('Expected to not be in Angular Zone, but it is!'); - } - }; - /** - * Executes the `fn` function synchronously within the Angular zone and returns value returned by - * the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - */ - /** - * Executes the `fn` function synchronously within the Angular zone and returns value returned by - * the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - NgZone.prototype.run = /** - * Executes the `fn` function synchronously within the Angular zone and returns value returned by - * the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - function (fn, applyThis, applyArgs) { - return /** @type {?} */ ((/** @type {?} */ ((this)))._inner.run(fn, applyThis, applyArgs)); - }; - /** - * Executes the `fn` function synchronously within the Angular zone as a task and returns value - * returned by the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - */ - /** - * Executes the `fn` function synchronously within the Angular zone as a task and returns value - * returned by the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @param {?=} name - * @return {?} - */ - NgZone.prototype.runTask = /** - * Executes the `fn` function synchronously within the Angular zone as a task and returns value - * returned by the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @param {?=} name - * @return {?} - */ - function (fn, applyThis, applyArgs, name) { - var /** @type {?} */ zone = (/** @type {?} */ ((this)))._inner; - var /** @type {?} */ task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop); - try { - return /** @type {?} */ (zone.runTask(task, applyThis, applyArgs)); - } - finally { - zone.cancelTask(task); - } - }; - /** - * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not - * rethrown. - */ - /** - * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not - * rethrown. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - NgZone.prototype.runGuarded = /** - * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not - * rethrown. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - function (fn, applyThis, applyArgs) { - return /** @type {?} */ ((/** @type {?} */ ((this)))._inner.runGuarded(fn, applyThis, applyArgs)); - }; - /** - * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by - * the function. - * - * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do - * work that - * doesn't trigger Angular change-detection or is subject to Angular's error handling. - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * outside of the Angular zone. - * - * Use {@link #run} to reenter the Angular zone and do work that updates the application model. - */ - /** - * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by - * the function. - * - * Running functions via {\@link #runOutsideAngular} allows you to escape Angular's zone and do - * work that - * doesn't trigger Angular change-detection or is subject to Angular's error handling. - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * outside of the Angular zone. - * - * Use {\@link #run} to reenter the Angular zone and do work that updates the application model. - * @template T - * @param {?} fn - * @return {?} - */ - NgZone.prototype.runOutsideAngular = /** - * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by - * the function. - * - * Running functions via {\@link #runOutsideAngular} allows you to escape Angular's zone and do - * work that - * doesn't trigger Angular change-detection or is subject to Angular's error handling. - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * outside of the Angular zone. - * - * Use {\@link #run} to reenter the Angular zone and do work that updates the application model. - * @template T - * @param {?} fn - * @return {?} - */ - function (fn) { - return /** @type {?} */ ((/** @type {?} */ ((this)))._outer.run(fn)); - }; - return NgZone; -}()); -/** - * @return {?} - */ -function noop() { } -var EMPTY_PAYLOAD = {}; -/** - * @param {?} zone - * @return {?} - */ -function checkStable(zone) { - if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) { - try { - zone._nesting++; - zone.onMicrotaskEmpty.emit(null); - } - finally { - zone._nesting--; - if (!zone.hasPendingMicrotasks) { - try { - zone.runOutsideAngular(function () { return zone.onStable.emit(null); }); - } - finally { - zone.isStable = true; - } - } - } - } -} -/** - * @param {?} zone - * @return {?} - */ -function forkInnerZoneWithAngularBehavior(zone) { - zone._inner = zone._inner.fork({ - name: 'angular', - properties: /** @type {?} */ ({ 'isAngularZone': true }), - onInvokeTask: function (delegate, current, target, task, applyThis, applyArgs) { - try { - onEnter(zone); - return delegate.invokeTask(target, task, applyThis, applyArgs); - } - finally { - onLeave(zone); - } - }, - onInvoke: function (delegate, current, target, callback, applyThis, applyArgs, source) { - try { - onEnter(zone); - return delegate.invoke(target, callback, applyThis, applyArgs, source); - } - finally { - onLeave(zone); - } - }, - onHasTask: function (delegate, current, target, hasTaskState) { - delegate.hasTask(target, hasTaskState); - if (current === target) { - // We are only interested in hasTask events which originate from our zone - // (A child hasTask event is not interesting to us) - if (hasTaskState.change == 'microTask') { - zone.hasPendingMicrotasks = hasTaskState.microTask; - checkStable(zone); - } - else if (hasTaskState.change == 'macroTask') { - zone.hasPendingMacrotasks = hasTaskState.macroTask; - } - } - }, - onHandleError: function (delegate, current, target, error) { - delegate.handleError(target, error); - zone.runOutsideAngular(function () { return zone.onError.emit(error); }); - return false; - } - }); -} -/** - * @param {?} zone - * @return {?} - */ -function onEnter(zone) { - zone._nesting++; - if (zone.isStable) { - zone.isStable = false; - zone.onUnstable.emit(null); - } -} -/** - * @param {?} zone - * @return {?} - */ -function onLeave(zone) { - zone._nesting--; - checkStable(zone); -} -/** - * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls - * to framework to perform rendering. - * - * \@internal - */ -var NoopNgZone = (function () { - function NoopNgZone() { - this.hasPendingMicrotasks = false; - this.hasPendingMacrotasks = false; - this.isStable = true; - this.onUnstable = new EventEmitter(); - this.onMicrotaskEmpty = new EventEmitter(); - this.onStable = new EventEmitter(); - this.onError = new EventEmitter(); - } - /** - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.run = /** - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - /** - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.runGuarded = /** - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - /** - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.runOutsideAngular = /** - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - /** - * @template T - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.runTask = /** - * @template T - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - return NoopNgZone; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * The Testability service provides testing hooks that can be accessed from - * the browser and by services such as Protractor. Each bootstrapped Angular - * application on the page will have an instance of Testability. - * \@experimental - */ -var Testability = (function () { - function Testability(_ngZone) { - this._ngZone = _ngZone; - /** - * \@internal - */ - this._pendingCount = 0; - /** - * \@internal - */ - this._isZoneStable = true; - /** - * Whether any work was done since the last 'whenStable' callback. This is - * useful to detect if this could have potentially destabilized another - * component while it is stabilizing. - * \@internal - */ - this._didWork = false; - /** - * \@internal - */ - this._callbacks = []; - this._watchAngularEvents(); - } - /** @internal */ - /** - * \@internal - * @return {?} - */ - Testability.prototype._watchAngularEvents = /** - * \@internal - * @return {?} - */ - function () { - var _this = this; - this._ngZone.onUnstable.subscribe({ - next: function () { - _this._didWork = true; - _this._isZoneStable = false; - } - }); - this._ngZone.runOutsideAngular(function () { - _this._ngZone.onStable.subscribe({ - next: function () { - NgZone.assertNotInAngularZone(); - scheduleMicroTask(function () { - _this._isZoneStable = true; - _this._runCallbacksIfReady(); - }); - } - }); - }); - }; - /** - * Increases the number of pending request - */ - /** - * Increases the number of pending request - * @return {?} - */ - Testability.prototype.increasePendingRequestCount = /** - * Increases the number of pending request - * @return {?} - */ - function () { - this._pendingCount += 1; - this._didWork = true; - return this._pendingCount; - }; - /** - * Decreases the number of pending request - */ - /** - * Decreases the number of pending request - * @return {?} - */ - Testability.prototype.decreasePendingRequestCount = /** - * Decreases the number of pending request - * @return {?} - */ - function () { - this._pendingCount -= 1; - if (this._pendingCount < 0) { - throw new Error('pending async requests below zero'); - } - this._runCallbacksIfReady(); - return this._pendingCount; - }; - /** - * Whether an associated application is stable - */ - /** - * Whether an associated application is stable - * @return {?} - */ - Testability.prototype.isStable = /** - * Whether an associated application is stable - * @return {?} - */ - function () { - return this._isZoneStable && this._pendingCount == 0 && !this._ngZone.hasPendingMacrotasks; - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - Testability.prototype._runCallbacksIfReady = /** - * \@internal - * @return {?} - */ - function () { - var _this = this; - if (this.isStable()) { - // Schedules the call backs in a new frame so that it is always async. - scheduleMicroTask(function () { - while (_this._callbacks.length !== 0) { - (/** @type {?} */ ((_this._callbacks.pop())))(_this._didWork); - } - _this._didWork = false; - }); - } - else { - // Not Ready - this._didWork = true; - } - }; - /** - * Run callback when the application is stable - * @param callback function to be called after the application is stable - */ - /** - * Run callback when the application is stable - * @param {?} callback function to be called after the application is stable - * @return {?} - */ - Testability.prototype.whenStable = /** - * Run callback when the application is stable - * @param {?} callback function to be called after the application is stable - * @return {?} - */ - function (callback) { - this._callbacks.push(callback); - this._runCallbacksIfReady(); - }; - /** - * Get the number of pending requests - */ - /** - * Get the number of pending requests - * @return {?} - */ - Testability.prototype.getPendingRequestCount = /** - * Get the number of pending requests - * @return {?} - */ - function () { return this._pendingCount; }; - /** - * Find providers by name - * @param using The root element to search from - * @param provider The name of binding variable - * @param exactMatch Whether using exactMatch - */ - /** - * Find providers by name - * @param {?} using The root element to search from - * @param {?} provider The name of binding variable - * @param {?} exactMatch Whether using exactMatch - * @return {?} - */ - Testability.prototype.findProviders = /** - * Find providers by name - * @param {?} using The root element to search from - * @param {?} provider The name of binding variable - * @param {?} exactMatch Whether using exactMatch - * @return {?} - */ - function (using, provider, exactMatch) { - // TODO(juliemr): implement. - return []; - }; - Testability.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - Testability.ctorParameters = function () { return [ - { type: NgZone, }, - ]; }; - return Testability; -}()); -/** - * A global registry of {\@link Testability} instances for specific elements. - * \@experimental - */ -var TestabilityRegistry = (function () { - function TestabilityRegistry() { - /** - * \@internal - */ - this._applications = new Map(); - _testabilityGetter.addToWindow(this); - } - /** - * Registers an application with a testability hook so that it can be tracked - * @param token token of application, root element - * @param testability Testability hook - */ - /** - * Registers an application with a testability hook so that it can be tracked - * @param {?} token token of application, root element - * @param {?} testability Testability hook - * @return {?} - */ - TestabilityRegistry.prototype.registerApplication = /** - * Registers an application with a testability hook so that it can be tracked - * @param {?} token token of application, root element - * @param {?} testability Testability hook - * @return {?} - */ - function (token, testability) { - this._applications.set(token, testability); - }; - /** - * Unregisters an application. - * @param token token of application, root element - */ - /** - * Unregisters an application. - * @param {?} token token of application, root element - * @return {?} - */ - TestabilityRegistry.prototype.unregisterApplication = /** - * Unregisters an application. - * @param {?} token token of application, root element - * @return {?} - */ - function (token) { this._applications.delete(token); }; - /** - * Unregisters all applications - */ - /** - * Unregisters all applications - * @return {?} - */ - TestabilityRegistry.prototype.unregisterAllApplications = /** - * Unregisters all applications - * @return {?} - */ - function () { this._applications.clear(); }; - /** - * Get a testability hook associated with the application - * @param elem root element - */ - /** - * Get a testability hook associated with the application - * @param {?} elem root element - * @return {?} - */ - TestabilityRegistry.prototype.getTestability = /** - * Get a testability hook associated with the application - * @param {?} elem root element - * @return {?} - */ - function (elem) { return this._applications.get(elem) || null; }; - /** - * Get all registered testabilities - */ - /** - * Get all registered testabilities - * @return {?} - */ - TestabilityRegistry.prototype.getAllTestabilities = /** - * Get all registered testabilities - * @return {?} - */ - function () { return Array.from(this._applications.values()); }; - /** - * Get all registered applications(root elements) - */ - /** - * Get all registered applications(root elements) - * @return {?} - */ - TestabilityRegistry.prototype.getAllRootElements = /** - * Get all registered applications(root elements) - * @return {?} - */ - function () { return Array.from(this._applications.keys()); }; - /** - * Find testability of a node in the Tree - * @param elem node - * @param findInAncestors whether finding testability in ancestors if testability was not found in - * current node - */ - /** - * Find testability of a node in the Tree - * @param {?} elem node - * @param {?=} findInAncestors whether finding testability in ancestors if testability was not found in - * current node - * @return {?} - */ - TestabilityRegistry.prototype.findTestabilityInTree = /** - * Find testability of a node in the Tree - * @param {?} elem node - * @param {?=} findInAncestors whether finding testability in ancestors if testability was not found in - * current node - * @return {?} - */ - function (elem, findInAncestors) { - if (findInAncestors === void 0) { findInAncestors = true; } - return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors); - }; - TestabilityRegistry.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - TestabilityRegistry.ctorParameters = function () { return []; }; - return TestabilityRegistry; -}()); -/** - * Adapter interface for retrieving the `Testability` service associated for a - * particular context. - * - * \@experimental Testability apis are primarily intended to be used by e2e test tool vendors like - * the Protractor team. - * @record - */ - -var _NoopGetTestability = (function () { - function _NoopGetTestability() { - } - /** - * @param {?} registry - * @return {?} - */ - _NoopGetTestability.prototype.addToWindow = /** - * @param {?} registry - * @return {?} - */ - function (registry) { }; - /** - * @param {?} registry - * @param {?} elem - * @param {?} findInAncestors - * @return {?} - */ - _NoopGetTestability.prototype.findTestabilityInTree = /** - * @param {?} registry - * @param {?} elem - * @param {?} findInAncestors - * @return {?} - */ - function (registry, elem, findInAncestors) { - return null; - }; - return _NoopGetTestability; -}()); -/** - * Set the {\@link GetTestability} implementation used by the Angular testing framework. - * \@experimental - * @param {?} getter - * @return {?} - */ -function setTestabilityGetter(getter) { - _testabilityGetter = getter; -} -var _testabilityGetter = new _NoopGetTestability(); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _devMode = true; -var _runModeLocked = false; -var _platform; -var ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken'); -/** - * Disable Angular's development mode, which turns off assertions and other - * checks within the framework. - * - * One important assertion this disables verifies that a change detection pass - * does not result in additional changes to any bindings (also known as - * unidirectional data flow). - * - * \@stable - * @return {?} - */ -function enableProdMode() { - if (_runModeLocked) { - throw new Error('Cannot enable prod mode after platform setup.'); - } - _devMode = false; -} -/** - * Returns whether Angular is in development mode. After called once, - * the value is locked and won't change any more. - * - * By default, this is true, unless a user calls `enableProdMode` before calling this. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @return {?} - */ -function isDevMode() { - _runModeLocked = true; - return _devMode; -} -/** - * A token for third-party components that can register themselves with NgProbe. - * - * \@experimental - */ -var NgProbeToken = (function () { - function NgProbeToken(name, token) { - this.name = name; - this.token = token; - } - return NgProbeToken; -}()); -/** - * Creates a platform. - * Platforms have to be eagerly created via this function. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @param {?} injector - * @return {?} - */ -function createPlatform(injector) { - if (_platform && !_platform.destroyed && - !_platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) { - throw new Error('There can be only one platform. Destroy the previous one to create a new one.'); - } - _platform = injector.get(PlatformRef); - var /** @type {?} */ inits = injector.get(PLATFORM_INITIALIZER, null); - if (inits) - inits.forEach(function (init) { return init(); }); - return _platform; -} -/** - * Creates a factory for a platform - * - * \@experimental APIs related to application bootstrap are currently under review. - * @param {?} parentPlatformFactory - * @param {?} name - * @param {?=} providers - * @return {?} - */ -function createPlatformFactory(parentPlatformFactory, name, providers) { - if (providers === void 0) { providers = []; } - var /** @type {?} */ marker = new InjectionToken("Platform: " + name); - return function (extraProviders) { - if (extraProviders === void 0) { extraProviders = []; } - var /** @type {?} */ platform = getPlatform(); - if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) { - if (parentPlatformFactory) { - parentPlatformFactory(providers.concat(extraProviders).concat({ provide: marker, useValue: true })); - } - else { - createPlatform(Injector.create(providers.concat(extraProviders).concat({ provide: marker, useValue: true }))); - } - } - return assertPlatform(marker); - }; -} -/** - * Checks that there currently is a platform which contains the given token as a provider. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @param {?} requiredToken - * @return {?} - */ -function assertPlatform(requiredToken) { - var /** @type {?} */ platform = getPlatform(); - if (!platform) { - throw new Error('No platform exists!'); - } - if (!platform.injector.get(requiredToken, null)) { - throw new Error('A platform with a different configuration has been created. Please destroy it first.'); - } - return platform; -} -/** - * Destroy the existing platform. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @return {?} - */ -function destroyPlatform() { - if (_platform && !_platform.destroyed) { - _platform.destroy(); - } -} -/** - * Returns the current platform. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @return {?} - */ -function getPlatform() { - return _platform && !_platform.destroyed ? _platform : null; -} -/** - * Provides additional options to the bootstraping process. - * - * \@stable - * @record - */ - -/** - * The Angular platform is the entry point for Angular on a web page. Each page - * has exactly one platform, and services (such as reflection) which are common - * to every Angular application running on the page are bound in its scope. - * - * A page's platform is initialized implicitly when a platform is created via a platform factory - * (e.g. {\@link platformBrowser}), or explicitly by calling the {\@link createPlatform} function. - * - * \@stable - */ -var PlatformRef = (function () { - /** @internal */ - function PlatformRef(_injector) { - this._injector = _injector; - this._modules = []; - this._destroyListeners = []; - this._destroyed = false; - } - /** - * Creates an instance of an `@NgModule` for the given platform - * for offline compilation. - * - * ## Simple Example - * - * ```typescript - * my_module.ts: - * - * @NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * main.ts: - * import {MyModuleNgFactory} from './my_module.ngfactory'; - * import {platformBrowser} from '@angular/platform-browser'; - * - * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory); - * ``` - * - * @experimental APIs related to application bootstrap are currently under review. - */ - /** - * Creates an instance of an `\@NgModule` for the given platform - * for offline compilation. - * - * ## Simple Example - * - * ```typescript - * my_module.ts: - * - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * main.ts: - * import {MyModuleNgFactory} from './my_module.ngfactory'; - * import {platformBrowser} from '\@angular/platform-browser'; - * - * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory); - * ``` - * - * \@experimental APIs related to application bootstrap are currently under review. - * @template M - * @param {?} moduleFactory - * @param {?=} options - * @return {?} - */ - PlatformRef.prototype.bootstrapModuleFactory = /** - * Creates an instance of an `\@NgModule` for the given platform - * for offline compilation. - * - * ## Simple Example - * - * ```typescript - * my_module.ts: - * - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * main.ts: - * import {MyModuleNgFactory} from './my_module.ngfactory'; - * import {platformBrowser} from '\@angular/platform-browser'; - * - * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory); - * ``` - * - * \@experimental APIs related to application bootstrap are currently under review. - * @template M - * @param {?} moduleFactory - * @param {?=} options - * @return {?} - */ - function (moduleFactory, options) { - var _this = this; - // Note: We need to create the NgZone _before_ we instantiate the module, - // as instantiating the module creates some providers eagerly. - // So we create a mini parent injector that just contains the new NgZone and - // pass that as parent to the NgModuleFactory. - var /** @type {?} */ ngZoneOption = options ? options.ngZone : undefined; - var /** @type {?} */ ngZone = getNgZone(ngZoneOption); - // Attention: Don't use ApplicationRef.run here, - // as we want to be sure that all possible constructor calls are inside `ngZone.run`! - return ngZone.run(function () { - var /** @type {?} */ ngZoneInjector = Injector.create([{ provide: NgZone, useValue: ngZone }], _this.injector); - var /** @type {?} */ moduleRef = /** @type {?} */ (moduleFactory.create(ngZoneInjector)); - var /** @type {?} */ exceptionHandler = moduleRef.injector.get(ErrorHandler, null); - if (!exceptionHandler) { - throw new Error('No ErrorHandler. Is platform module (BrowserModule) included?'); - } - moduleRef.onDestroy(function () { return remove(_this._modules, moduleRef); }); /** @type {?} */ - ((ngZone)).runOutsideAngular(function () { return /** @type {?} */ ((ngZone)).onError.subscribe({ next: function (error) { exceptionHandler.handleError(error); } }); }); - return _callAndReportToErrorHandler(exceptionHandler, /** @type {?} */ ((ngZone)), function () { - var /** @type {?} */ initStatus = moduleRef.injector.get(ApplicationInitStatus); - initStatus.runInitializers(); - return initStatus.donePromise.then(function () { - _this._moduleDoBootstrap(moduleRef); - return moduleRef; - }); - }); - }); - }; - /** - * Creates an instance of an `@NgModule` for a given platform using the given runtime compiler. - * - * ## Simple Example - * - * ```typescript - * @NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * let moduleRef = platformBrowser().bootstrapModule(MyModule); - * ``` - * @stable - */ - /** - * Creates an instance of an `\@NgModule` for a given platform using the given runtime compiler. - * - * ## Simple Example - * - * ```typescript - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * let moduleRef = platformBrowser().bootstrapModule(MyModule); - * ``` - * \@stable - * @template M - * @param {?} moduleType - * @param {?=} compilerOptions - * @return {?} - */ - PlatformRef.prototype.bootstrapModule = /** - * Creates an instance of an `\@NgModule` for a given platform using the given runtime compiler. - * - * ## Simple Example - * - * ```typescript - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * let moduleRef = platformBrowser().bootstrapModule(MyModule); - * ``` - * \@stable - * @template M - * @param {?} moduleType - * @param {?=} compilerOptions - * @return {?} - */ - function (moduleType, compilerOptions) { - var _this = this; - if (compilerOptions === void 0) { compilerOptions = []; } - var /** @type {?} */ compilerFactory = this.injector.get(CompilerFactory); - var /** @type {?} */ options = optionsReducer({}, compilerOptions); - var /** @type {?} */ compiler = compilerFactory.createCompiler([options]); - return compiler.compileModuleAsync(moduleType) - .then(function (moduleFactory) { return _this.bootstrapModuleFactory(moduleFactory, options); }); - }; - /** - * @param {?} moduleRef - * @return {?} - */ - PlatformRef.prototype._moduleDoBootstrap = /** - * @param {?} moduleRef - * @return {?} - */ - function (moduleRef) { - var /** @type {?} */ appRef = /** @type {?} */ (moduleRef.injector.get(ApplicationRef)); - if (moduleRef._bootstrapComponents.length > 0) { - moduleRef._bootstrapComponents.forEach(function (f) { return appRef.bootstrap(f); }); - } - else if (moduleRef.instance.ngDoBootstrap) { - moduleRef.instance.ngDoBootstrap(appRef); - } - else { - throw new Error("The module " + stringify(moduleRef.instance.constructor) + " was bootstrapped, but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. " + - "Please define one of these."); - } - this._modules.push(moduleRef); - }; - /** - * Register a listener to be called when the platform is disposed. - */ - /** - * Register a listener to be called when the platform is disposed. - * @param {?} callback - * @return {?} - */ - PlatformRef.prototype.onDestroy = /** - * Register a listener to be called when the platform is disposed. - * @param {?} callback - * @return {?} - */ - function (callback) { this._destroyListeners.push(callback); }; - Object.defineProperty(PlatformRef.prototype, "injector", { - /** - * Retrieve the platform {@link Injector}, which is the parent injector for - * every Angular application on the page and provides singleton providers. - */ - get: /** - * Retrieve the platform {\@link Injector}, which is the parent injector for - * every Angular application on the page and provides singleton providers. - * @return {?} - */ - function () { return this._injector; }, - enumerable: true, - configurable: true - }); - /** - * Destroy the Angular platform and all Angular applications on the page. - */ - /** - * Destroy the Angular platform and all Angular applications on the page. - * @return {?} - */ - PlatformRef.prototype.destroy = /** - * Destroy the Angular platform and all Angular applications on the page. - * @return {?} - */ - function () { - if (this._destroyed) { - throw new Error('The platform has already been destroyed!'); - } - this._modules.slice().forEach(function (module) { return module.destroy(); }); - this._destroyListeners.forEach(function (listener) { return listener(); }); - this._destroyed = true; - }; - Object.defineProperty(PlatformRef.prototype, "destroyed", { - get: /** - * @return {?} - */ - function () { return this._destroyed; }, - enumerable: true, - configurable: true - }); - PlatformRef.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - PlatformRef.ctorParameters = function () { return [ - { type: Injector, }, - ]; }; - return PlatformRef; -}()); -/** - * @param {?=} ngZoneOption - * @return {?} - */ -function getNgZone(ngZoneOption) { - var /** @type {?} */ ngZone; - if (ngZoneOption === 'noop') { - ngZone = new NoopNgZone(); - } - else { - ngZone = (ngZoneOption === 'zone.js' ? undefined : ngZoneOption) || - new NgZone({ enableLongStackTrace: isDevMode() }); - } - return ngZone; -} -/** - * @param {?} errorHandler - * @param {?} ngZone - * @param {?} callback - * @return {?} - */ -function _callAndReportToErrorHandler(errorHandler, ngZone, callback) { - try { - var /** @type {?} */ result = callback(); - if (isPromise(result)) { - return result.catch(function (e) { - ngZone.runOutsideAngular(function () { return errorHandler.handleError(e); }); - // rethrow as the exception handler might not do it - throw e; - }); - } - return result; - } - catch (/** @type {?} */ e) { - ngZone.runOutsideAngular(function () { return errorHandler.handleError(e); }); - // rethrow as the exception handler might not do it - throw e; - } -} -/** - * @template T - * @param {?} dst - * @param {?} objs - * @return {?} - */ -function optionsReducer(dst, objs) { - if (Array.isArray(objs)) { - dst = objs.reduce(optionsReducer, dst); - } - else { - dst = Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({}, dst, (/** @type {?} */ (objs))); - } - return dst; -} -/** - * A reference to an Angular application running on a page. - * - * \@stable - */ -var ApplicationRef = (function () { - /** @internal */ - function ApplicationRef(_zone, _console, _injector, _exceptionHandler, _componentFactoryResolver, _initStatus) { - var _this = this; - this._zone = _zone; - this._console = _console; - this._injector = _injector; - this._exceptionHandler = _exceptionHandler; - this._componentFactoryResolver = _componentFactoryResolver; - this._initStatus = _initStatus; - this._bootstrapListeners = []; - this._views = []; - this._runningTick = false; - this._enforceNoNewChanges = false; - this._stable = true; - /** - * Get a list of component types registered to this application. - * This list is populated even before the component is created. - */ - this.componentTypes = []; - /** - * Get a list of components registered to this application. - */ - this.components = []; - this._enforceNoNewChanges = isDevMode(); - this._zone.onMicrotaskEmpty.subscribe({ next: function () { _this._zone.run(function () { _this.tick(); }); } }); - var /** @type {?} */ isCurrentlyStable = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__["Observable"](function (observer) { - _this._stable = _this._zone.isStable && !_this._zone.hasPendingMacrotasks && - !_this._zone.hasPendingMicrotasks; - _this._zone.runOutsideAngular(function () { - observer.next(_this._stable); - observer.complete(); - }); - }); - var /** @type {?} */ isStable = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__["Observable"](function (observer) { - // Create the subscription to onStable outside the Angular Zone so that - // the callback is run outside the Angular Zone. - var /** @type {?} */ stableSub; - _this._zone.runOutsideAngular(function () { - stableSub = _this._zone.onStable.subscribe(function () { - NgZone.assertNotInAngularZone(); - // Check whether there are no pending macro/micro tasks in the next tick - // to allow for NgZone to update the state. - scheduleMicroTask(function () { - if (!_this._stable && !_this._zone.hasPendingMacrotasks && - !_this._zone.hasPendingMicrotasks) { - _this._stable = true; - observer.next(true); - } - }); - }); - }); - var /** @type {?} */ unstableSub = _this._zone.onUnstable.subscribe(function () { - NgZone.assertInAngularZone(); - if (_this._stable) { - _this._stable = false; - _this._zone.runOutsideAngular(function () { observer.next(false); }); - } - }); - return function () { - stableSub.unsubscribe(); - unstableSub.unsubscribe(); - }; - }); - (/** @type {?} */ (this)).isStable = - Object(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge__["merge"])(isCurrentlyStable, __WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share__["share"].call(isStable)); - } - /** - * Bootstrap a new component at the root level of the application. - * - * ### Bootstrap process - * - * When bootstrapping a new root component into an application, Angular mounts the - * specified application component onto DOM elements identified by the [componentType]'s - * selector and kicks off automatic change detection to finish initializing the component. - * - * Optionally, a component can be mounted onto a DOM element that does not match the - * [componentType]'s selector. - * - * ### Example - * {@example core/ts/platform/platform.ts region='longform'} - */ - /** - * Bootstrap a new component at the root level of the application. - * - * ### Bootstrap process - * - * When bootstrapping a new root component into an application, Angular mounts the - * specified application component onto DOM elements identified by the [componentType]'s - * selector and kicks off automatic change detection to finish initializing the component. - * - * Optionally, a component can be mounted onto a DOM element that does not match the - * [componentType]'s selector. - * - * ### Example - * {\@example core/ts/platform/platform.ts region='longform'} - * @template C - * @param {?} componentOrFactory - * @param {?=} rootSelectorOrNode - * @return {?} - */ - ApplicationRef.prototype.bootstrap = /** - * Bootstrap a new component at the root level of the application. - * - * ### Bootstrap process - * - * When bootstrapping a new root component into an application, Angular mounts the - * specified application component onto DOM elements identified by the [componentType]'s - * selector and kicks off automatic change detection to finish initializing the component. - * - * Optionally, a component can be mounted onto a DOM element that does not match the - * [componentType]'s selector. - * - * ### Example - * {\@example core/ts/platform/platform.ts region='longform'} - * @template C - * @param {?} componentOrFactory - * @param {?=} rootSelectorOrNode - * @return {?} - */ - function (componentOrFactory, rootSelectorOrNode) { - var _this = this; - if (!this._initStatus.done) { - throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.'); - } - var /** @type {?} */ componentFactory; - if (componentOrFactory instanceof ComponentFactory) { - componentFactory = componentOrFactory; - } - else { - componentFactory = - /** @type {?} */ ((this._componentFactoryResolver.resolveComponentFactory(componentOrFactory))); - } - this.componentTypes.push(componentFactory.componentType); - // Create a factory associated with the current module if it's not bound to some other - var /** @type {?} */ ngModule = componentFactory instanceof ComponentFactoryBoundToModule ? - null : - this._injector.get(NgModuleRef); - var /** @type {?} */ selectorOrNode = rootSelectorOrNode || componentFactory.selector; - var /** @type {?} */ compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule); - compRef.onDestroy(function () { _this._unloadComponent(compRef); }); - var /** @type {?} */ testability = compRef.injector.get(Testability, null); - if (testability) { - compRef.injector.get(TestabilityRegistry) - .registerApplication(compRef.location.nativeElement, testability); - } - this._loadComponent(compRef); - if (isDevMode()) { - this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."); - } - return compRef; - }; - /** - * Invoke this method to explicitly process change detection and its side-effects. - * - * In development mode, `tick()` also performs a second change detection cycle to ensure that no - * further changes are detected. If additional changes are picked up during this second cycle, - * bindings in the app have side-effects that cannot be resolved in a single change detection - * pass. - * In this case, Angular throws an error, since an Angular application can only have one change - * detection pass during which all change detection must complete. - */ - /** - * Invoke this method to explicitly process change detection and its side-effects. - * - * In development mode, `tick()` also performs a second change detection cycle to ensure that no - * further changes are detected. If additional changes are picked up during this second cycle, - * bindings in the app have side-effects that cannot be resolved in a single change detection - * pass. - * In this case, Angular throws an error, since an Angular application can only have one change - * detection pass during which all change detection must complete. - * @return {?} - */ - ApplicationRef.prototype.tick = /** - * Invoke this method to explicitly process change detection and its side-effects. - * - * In development mode, `tick()` also performs a second change detection cycle to ensure that no - * further changes are detected. If additional changes are picked up during this second cycle, - * bindings in the app have side-effects that cannot be resolved in a single change detection - * pass. - * In this case, Angular throws an error, since an Angular application can only have one change - * detection pass during which all change detection must complete. - * @return {?} - */ - function () { - var _this = this; - if (this._runningTick) { - throw new Error('ApplicationRef.tick is called recursively'); - } - var /** @type {?} */ scope = ApplicationRef._tickScope(); - try { - this._runningTick = true; - this._views.forEach(function (view) { return view.detectChanges(); }); - if (this._enforceNoNewChanges) { - this._views.forEach(function (view) { return view.checkNoChanges(); }); - } - } - catch (/** @type {?} */ e) { - // Attention: Don't rethrow as it could cancel subscriptions to Observables! - this._zone.runOutsideAngular(function () { return _this._exceptionHandler.handleError(e); }); - } - finally { - this._runningTick = false; - wtfLeave(scope); - } - }; - /** - * Attaches a view so that it will be dirty checked. - * The view will be automatically detached when it is destroyed. - * This will throw if the view is already attached to a ViewContainer. - */ - /** - * Attaches a view so that it will be dirty checked. - * The view will be automatically detached when it is destroyed. - * This will throw if the view is already attached to a ViewContainer. - * @param {?} viewRef - * @return {?} - */ - ApplicationRef.prototype.attachView = /** - * Attaches a view so that it will be dirty checked. - * The view will be automatically detached when it is destroyed. - * This will throw if the view is already attached to a ViewContainer. - * @param {?} viewRef - * @return {?} - */ - function (viewRef) { - var /** @type {?} */ view = (/** @type {?} */ (viewRef)); - this._views.push(view); - view.attachToAppRef(this); - }; - /** - * Detaches a view from dirty checking again. - */ - /** - * Detaches a view from dirty checking again. - * @param {?} viewRef - * @return {?} - */ - ApplicationRef.prototype.detachView = /** - * Detaches a view from dirty checking again. - * @param {?} viewRef - * @return {?} - */ - function (viewRef) { - var /** @type {?} */ view = (/** @type {?} */ (viewRef)); - remove(this._views, view); - view.detachFromAppRef(); - }; - /** - * @param {?} componentRef - * @return {?} - */ - ApplicationRef.prototype._loadComponent = /** - * @param {?} componentRef - * @return {?} - */ - function (componentRef) { - this.attachView(componentRef.hostView); - this.tick(); - this.components.push(componentRef); - // Get the listeners lazily to prevent DI cycles. - var /** @type {?} */ listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners); - listeners.forEach(function (listener) { return listener(componentRef); }); - }; - /** - * @param {?} componentRef - * @return {?} - */ - ApplicationRef.prototype._unloadComponent = /** - * @param {?} componentRef - * @return {?} - */ - function (componentRef) { - this.detachView(componentRef.hostView); - remove(this.components, componentRef); - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - ApplicationRef.prototype.ngOnDestroy = /** - * \@internal - * @return {?} - */ - function () { - // TODO(alxhub): Dispose of the NgZone. - this._views.slice().forEach(function (view) { return view.destroy(); }); - }; - Object.defineProperty(ApplicationRef.prototype, "viewCount", { - /** - * Returns the number of attached views. - */ - get: /** - * Returns the number of attached views. - * @return {?} - */ - function () { return this._views.length; }, - enumerable: true, - configurable: true - }); - /** - * \@internal - */ - ApplicationRef._tickScope = wtfCreateScope('ApplicationRef#tick()'); - ApplicationRef.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - ApplicationRef.ctorParameters = function () { return [ - { type: NgZone, }, - { type: Console, }, - { type: Injector, }, - { type: ErrorHandler, }, - { type: ComponentFactoryResolver, }, - { type: ApplicationInitStatus, }, - ]; }; - return ApplicationRef; -}()); -/** - * @template T - * @param {?} list - * @param {?} el - * @return {?} - */ -function remove(list, el) { - var /** @type {?} */ index = list.indexOf(el); - if (index > -1) { - list.splice(index, 1); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Public API for Zone - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @deprecated Use `RendererType2` (and `Renderer2`) instead. - */ -var RenderComponentType = (function () { - function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles, animations) { - this.id = id; - this.templateUrl = templateUrl; - this.slotCount = slotCount; - this.encapsulation = encapsulation; - this.styles = styles; - this.animations = animations; - } - return RenderComponentType; -}()); -/** - * @deprecated Debug info is handeled internally in the view engine now. - * @abstract - */ -var RenderDebugInfo = (function () { - function RenderDebugInfo() { - } - return RenderDebugInfo; -}()); -/** - * @deprecated Use the `Renderer2` instead. - * @record - */ - -/** - * @deprecated Use the `Renderer2` instead. - * @abstract - */ -var Renderer = (function () { - function Renderer() { - } - return Renderer; -}()); -var Renderer2Interceptor = new InjectionToken('Renderer2Interceptor'); -/** - * Injectable service that provides a low-level interface for modifying the UI. - * - * Use this service to bypass Angular's templating and make custom UI changes that can't be - * expressed declaratively. For example if you need to set a property or an attribute whose name is - * not statically known, use {\@link Renderer#setElementProperty setElementProperty} or - * {\@link Renderer#setElementAttribute setElementAttribute} respectively. - * - * If you are implementing a custom renderer, you must implement this interface. - * - * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`. - * - * @deprecated Use `RendererFactory2` instead. - * @abstract - */ -var RootRenderer = (function () { - function RootRenderer() { - } - return RootRenderer; -}()); -/** - * \@experimental - * @record - */ - -/** - * \@experimental - * @abstract - */ -var RendererFactory2 = (function () { - function RendererFactory2() { - } - return RendererFactory2; -}()); -/** @enum {number} */ -var RendererStyleFlags2 = { - Important: 1, - DashCase: 2, -}; -RendererStyleFlags2[RendererStyleFlags2.Important] = "Important"; -RendererStyleFlags2[RendererStyleFlags2.DashCase] = "DashCase"; -/** - * \@experimental - * @abstract - */ -var Renderer2 = (function () { - function Renderer2() { - } - return Renderer2; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Public API for render - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * A wrapper around a native element inside of a View. - * - * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM - * element. - * - * \@security Permitting direct access to the DOM can make your application more vulnerable to - * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the - * [Security Guide](http://g.co/ng/security). - * - * \@stable - */ -var ElementRef = (function () { - function ElementRef(nativeElement) { - this.nativeElement = nativeElement; - } - return ElementRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Used to load ng module factories. - * \@stable - * @abstract - */ -var NgModuleFactoryLoader = (function () { - function NgModuleFactoryLoader() { - } - return NgModuleFactoryLoader; -}()); -var moduleFactories = new Map(); -/** - * Registers a loaded module. Should only be called from generated NgModuleFactory code. - * \@experimental - * @param {?} id - * @param {?} factory - * @return {?} - */ -function registerModuleFactory(id, factory) { - var /** @type {?} */ existing = moduleFactories.get(id); - if (existing) { - throw new Error("Duplicate module registered for " + id + " - " + existing.moduleType.name + " vs " + factory.moduleType.name); - } - moduleFactories.set(id, factory); -} -/** - * @return {?} - */ - -/** - * Returns the NgModuleFactory with the given id, if it exists and has been loaded. - * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module - * cannot be found. - * \@experimental - * @param {?} id - * @return {?} - */ -function getModuleFactory(id) { - var /** @type {?} */ factory = moduleFactories.get(id); - if (!factory) - throw new Error("No module with ID " + id + " loaded"); - return factory; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An unmodifiable list of items that Angular keeps up to date when the state - * of the application changes. - * - * The type of object that {\@link ViewChildren}, {\@link ContentChildren}, and {\@link QueryList} - * provide. - * - * Implements an iterable interface, therefore it can be used in both ES6 - * javascript `for (var i of items)` loops as well as in Angular templates with - * `*ngFor="let i of myList"`. - * - * Changes can be observed by subscribing to the changes `Observable`. - * - * NOTE: In the future this class will implement an `Observable` interface. - * - * ### Example ([live demo](http://plnkr.co/edit/RX8sJnQYl9FWuSCWme5z?p=preview)) - * ```typescript - * \@Component({...}) - * class Container { - * \@ViewChildren(Item) items:QueryList; - * } - * ``` - * \@stable - */ -var QueryList = (function () { - function QueryList() { - this.dirty = true; - this._results = []; - this.changes = new EventEmitter(); - } - Object.defineProperty(QueryList.prototype, "length", { - get: /** - * @return {?} - */ - function () { return this._results.length; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(QueryList.prototype, "first", { - get: /** - * @return {?} - */ - function () { return this._results[0]; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(QueryList.prototype, "last", { - get: /** - * @return {?} - */ - function () { return this._results[this.length - 1]; }, - enumerable: true, - configurable: true - }); - /** - * See - * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) - */ - /** - * See - * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) - * @template U - * @param {?} fn - * @return {?} - */ - QueryList.prototype.map = /** - * See - * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) - * @template U - * @param {?} fn - * @return {?} - */ - function (fn) { return this._results.map(fn); }; - /** - * See - * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) - */ - /** - * See - * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.filter = /** - * See - * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) - * @param {?} fn - * @return {?} - */ - function (fn) { - return this._results.filter(fn); - }; - /** - * See - * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) - */ - /** - * See - * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.find = /** - * See - * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) - * @param {?} fn - * @return {?} - */ - function (fn) { - return this._results.find(fn); - }; - /** - * See - * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) - */ - /** - * See - * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) - * @template U - * @param {?} fn - * @param {?} init - * @return {?} - */ - QueryList.prototype.reduce = /** - * See - * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) - * @template U - * @param {?} fn - * @param {?} init - * @return {?} - */ - function (fn, init) { - return this._results.reduce(fn, init); - }; - /** - * See - * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) - */ - /** - * See - * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.forEach = /** - * See - * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) - * @param {?} fn - * @return {?} - */ - function (fn) { this._results.forEach(fn); }; - /** - * See - * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) - */ - /** - * See - * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.some = /** - * See - * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) - * @param {?} fn - * @return {?} - */ - function (fn) { - return this._results.some(fn); - }; - /** - * @return {?} - */ - QueryList.prototype.toArray = /** - * @return {?} - */ - function () { return this._results.slice(); }; - /** - * @return {?} - */ - QueryList.prototype[getSymbolIterator()] = /** - * @return {?} - */ - function () { return (/** @type {?} */ (this._results))[getSymbolIterator()](); }; - /** - * @return {?} - */ - QueryList.prototype.toString = /** - * @return {?} - */ - function () { return this._results.toString(); }; - /** - * @param {?} res - * @return {?} - */ - QueryList.prototype.reset = /** - * @param {?} res - * @return {?} - */ - function (res) { - this._results = flatten(res); - (/** @type {?} */ (this)).dirty = false; - }; - /** - * @return {?} - */ - QueryList.prototype.notifyOnChanges = /** - * @return {?} - */ - function () { (/** @type {?} */ (this.changes)).emit(this); }; - /** internal */ - /** - * internal - * @return {?} - */ - QueryList.prototype.setDirty = /** - * internal - * @return {?} - */ - function () { (/** @type {?} */ (this)).dirty = true; }; - /** internal */ - /** - * internal - * @return {?} - */ - QueryList.prototype.destroy = /** - * internal - * @return {?} - */ - function () { - (/** @type {?} */ (this.changes)).complete(); - (/** @type {?} */ (this.changes)).unsubscribe(); - }; - return QueryList; -}()); -/** - * @template T - * @param {?} list - * @return {?} - */ -function flatten(list) { - return list.reduce(function (flat, item) { - var /** @type {?} */ flatItem = Array.isArray(item) ? flatten(item) : item; - return (/** @type {?} */ (flat)).concat(flatItem); - }, []); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _SEPARATOR = '#'; -var FACTORY_CLASS_SUFFIX = 'NgFactory'; -/** - * Configuration for SystemJsNgModuleLoader. - * token. - * - * \@experimental - * @abstract - */ -var SystemJsNgModuleLoaderConfig = (function () { - function SystemJsNgModuleLoaderConfig() { - } - return SystemJsNgModuleLoaderConfig; -}()); -var DEFAULT_CONFIG = { - factoryPathPrefix: '', - factoryPathSuffix: '.ngfactory', -}; -/** - * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory - * \@experimental - */ -var SystemJsNgModuleLoader = (function () { - function SystemJsNgModuleLoader(_compiler, config) { - this._compiler = _compiler; - this._config = config || DEFAULT_CONFIG; - } - /** - * @param {?} path - * @return {?} - */ - SystemJsNgModuleLoader.prototype.load = /** - * @param {?} path - * @return {?} - */ - function (path) { - var /** @type {?} */ offlineMode = this._compiler instanceof Compiler; - return offlineMode ? this.loadFactory(path) : this.loadAndCompile(path); - }; - /** - * @param {?} path - * @return {?} - */ - SystemJsNgModuleLoader.prototype.loadAndCompile = /** - * @param {?} path - * @return {?} - */ - function (path) { - var _this = this; - var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1]; - if (exportName === undefined) { - exportName = 'default'; - } - return __webpack_require__(258)(module) - .then(function (module) { return module[exportName]; }) - .then(function (type) { return checkNotEmpty(type, module, exportName); }) - .then(function (type) { return _this._compiler.compileModuleAsync(type); }); - }; - /** - * @param {?} path - * @return {?} - */ - SystemJsNgModuleLoader.prototype.loadFactory = /** - * @param {?} path - * @return {?} - */ - function (path) { - var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1]; - var /** @type {?} */ factoryClassSuffix = FACTORY_CLASS_SUFFIX; - if (exportName === undefined) { - exportName = 'default'; - factoryClassSuffix = ''; - } - return __webpack_require__(258)(this._config.factoryPathPrefix + module + this._config.factoryPathSuffix) - .then(function (module) { return module[exportName + factoryClassSuffix]; }) - .then(function (factory) { return checkNotEmpty(factory, module, exportName); }); - }; - SystemJsNgModuleLoader.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - SystemJsNgModuleLoader.ctorParameters = function () { return [ - { type: Compiler, }, - { type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional },] }, - ]; }; - return SystemJsNgModuleLoader; -}()); -/** - * @param {?} value - * @param {?} modulePath - * @param {?} exportName - * @return {?} - */ -function checkNotEmpty(value, modulePath, exportName) { - if (!value) { - throw new Error("Cannot find '" + exportName + "' in '" + modulePath + "'"); - } - return value; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents an Embedded Template that can be used to instantiate Embedded Views. - * - * You can access a `TemplateRef`, in two ways. Via a directive placed on a `` element - * (or directive prefixed with `*`) and have the `TemplateRef` for this Embedded View injected into - * the constructor of the directive using the `TemplateRef` Token. Alternatively you can query for - * the `TemplateRef` from a Component or a Directive via {\@link Query}. - * - * To instantiate Embedded Views based on a Template, use {\@link ViewContainerRef# - * createEmbeddedView}, which will create the View and attach it to the View Container. - * \@stable - * @abstract - */ -var TemplateRef = (function () { - function TemplateRef() { - } - return TemplateRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents a container where one or more Views can be attached. - * - * The container can contain two kinds of Views. Host Views, created by instantiating a - * {\@link Component} via {\@link #createComponent}, and Embedded Views, created by instantiating an - * {\@link TemplateRef Embedded Template} via {\@link #createEmbeddedView}. - * - * The location of the View Container within the containing View is specified by the Anchor - * `element`. Each View Container can have only one Anchor Element and each Anchor Element can only - * have a single View Container. - * - * Root elements of Views attached to this container become siblings of the Anchor Element in - * the Rendered View. - * - * To access a `ViewContainerRef` of an Element, you can either place a {\@link Directive} injected - * with `ViewContainerRef` on the Element, or you obtain it via a {\@link ViewChild} query. - * \@stable - * @abstract - */ -var ViewContainerRef = (function () { - function ViewContainerRef() { - } - return ViewContainerRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@stable - * @abstract - */ -var ChangeDetectorRef = (function () { - function ChangeDetectorRef() { - } - return ChangeDetectorRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@stable - * @abstract - */ -var ViewRef = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ViewRef, _super); - function ViewRef() { - return _super !== null && _super.apply(this, arguments) || this; - } - return ViewRef; -}(ChangeDetectorRef)); -/** - * Represents an Angular View. - * - * - * A View is a fundamental building block of the application UI. It is the smallest grouping of - * Elements which are created and destroyed together. - * - * Properties of elements in a View can change, but the structure (number and order) of elements in - * a View cannot. Changing the structure of Elements can only be done by inserting, moving or - * removing nested Views via a {\@link ViewContainerRef}. Each View can contain many View Containers. - * - * - * ### Example - * - * Given this template... - * - * ``` - * Count: {{items.length}} - *
    - *
  • {{item}}
  • - *
- * ``` - * - * We have two {\@link TemplateRef}s: - * - * Outer {\@link TemplateRef}: - * ``` - * Count: {{items.length}} - *
    - * - *
- * ``` - * - * Inner {\@link TemplateRef}: - * ``` - *
  • {{item}}
  • - * ``` - * - * Notice that the original template is broken down into two separate {\@link TemplateRef}s. - * - * The outer/inner {\@link TemplateRef}s are then assembled into views like so: - * - * ``` - * - * Count: 2 - *
      - * - *
    • first
    • - *
    • second
    • - *
    - * - * ``` - * \@experimental - * @abstract - */ -var EmbeddedViewRef = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(EmbeddedViewRef, _super); - function EmbeddedViewRef() { - return _super !== null && _super.apply(this, arguments) || this; - } - return EmbeddedViewRef; -}(ViewRef)); -/** - * @record - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Public API for compiler - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var EventListener = (function () { - function EventListener(name, callback) { - this.name = name; - this.callback = callback; - } - return EventListener; -}()); -/** - * \@experimental All debugging apis are currently experimental. - */ -var DebugNode = (function () { - function DebugNode(nativeNode, parent, _debugContext) { - this._debugContext = _debugContext; - this.nativeNode = nativeNode; - if (parent && parent instanceof DebugElement) { - parent.addChild(this); - } - else { - this.parent = null; - } - this.listeners = []; - } - Object.defineProperty(DebugNode.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return this._debugContext.injector; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "componentInstance", { - get: /** - * @return {?} - */ - function () { return this._debugContext.component; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "context", { - get: /** - * @return {?} - */ - function () { return this._debugContext.context; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "references", { - get: /** - * @return {?} - */ - function () { return this._debugContext.references; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "providerTokens", { - get: /** - * @return {?} - */ - function () { return this._debugContext.providerTokens; }, - enumerable: true, - configurable: true - }); - return DebugNode; -}()); -/** - * \@experimental All debugging apis are currently experimental. - */ -var DebugElement = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(DebugElement, _super); - function DebugElement(nativeNode, parent, _debugContext) { - var _this = _super.call(this, nativeNode, parent, _debugContext) || this; - _this.properties = {}; - _this.attributes = {}; - _this.classes = {}; - _this.styles = {}; - _this.childNodes = []; - _this.nativeElement = nativeNode; - return _this; - } - /** - * @param {?} child - * @return {?} - */ - DebugElement.prototype.addChild = /** - * @param {?} child - * @return {?} - */ - function (child) { - if (child) { - this.childNodes.push(child); - child.parent = this; - } - }; - /** - * @param {?} child - * @return {?} - */ - DebugElement.prototype.removeChild = /** - * @param {?} child - * @return {?} - */ - function (child) { - var /** @type {?} */ childIndex = this.childNodes.indexOf(child); - if (childIndex !== -1) { - child.parent = null; - this.childNodes.splice(childIndex, 1); - } - }; - /** - * @param {?} child - * @param {?} newChildren - * @return {?} - */ - DebugElement.prototype.insertChildrenAfter = /** - * @param {?} child - * @param {?} newChildren - * @return {?} - */ - function (child, newChildren) { - var _this = this; - var /** @type {?} */ siblingIndex = this.childNodes.indexOf(child); - if (siblingIndex !== -1) { - (_a = this.childNodes).splice.apply(_a, [siblingIndex + 1, 0].concat(newChildren)); - newChildren.forEach(function (c) { - if (c.parent) { - c.parent.removeChild(c); - } - c.parent = _this; - }); - } - var _a; - }; - /** - * @param {?} refChild - * @param {?} newChild - * @return {?} - */ - DebugElement.prototype.insertBefore = /** - * @param {?} refChild - * @param {?} newChild - * @return {?} - */ - function (refChild, newChild) { - var /** @type {?} */ refIndex = this.childNodes.indexOf(refChild); - if (refIndex === -1) { - this.addChild(newChild); - } - else { - if (newChild.parent) { - newChild.parent.removeChild(newChild); - } - newChild.parent = this; - this.childNodes.splice(refIndex, 0, newChild); - } - }; - /** - * @param {?} predicate - * @return {?} - */ - DebugElement.prototype.query = /** - * @param {?} predicate - * @return {?} - */ - function (predicate) { - var /** @type {?} */ results = this.queryAll(predicate); - return results[0] || null; - }; - /** - * @param {?} predicate - * @return {?} - */ - DebugElement.prototype.queryAll = /** - * @param {?} predicate - * @return {?} - */ - function (predicate) { - var /** @type {?} */ matches = []; - _queryElementChildren(this, predicate, matches); - return matches; - }; - /** - * @param {?} predicate - * @return {?} - */ - DebugElement.prototype.queryAllNodes = /** - * @param {?} predicate - * @return {?} - */ - function (predicate) { - var /** @type {?} */ matches = []; - _queryNodeChildren(this, predicate, matches); - return matches; - }; - Object.defineProperty(DebugElement.prototype, "children", { - get: /** - * @return {?} - */ - function () { - return /** @type {?} */ (this.childNodes.filter(function (node) { return node instanceof DebugElement; })); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} eventName - * @param {?} eventObj - * @return {?} - */ - DebugElement.prototype.triggerEventHandler = /** - * @param {?} eventName - * @param {?} eventObj - * @return {?} - */ - function (eventName, eventObj) { - this.listeners.forEach(function (listener) { - if (listener.name == eventName) { - listener.callback(eventObj); - } - }); - }; - return DebugElement; -}(DebugNode)); -/** - * \@experimental - * @param {?} debugEls - * @return {?} - */ -function asNativeElements(debugEls) { - return debugEls.map(function (el) { return el.nativeElement; }); -} -/** - * @param {?} element - * @param {?} predicate - * @param {?} matches - * @return {?} - */ -function _queryElementChildren(element, predicate, matches) { - element.childNodes.forEach(function (node) { - if (node instanceof DebugElement) { - if (predicate(node)) { - matches.push(node); - } - _queryElementChildren(node, predicate, matches); - } - }); -} -/** - * @param {?} parentNode - * @param {?} predicate - * @param {?} matches - * @return {?} - */ -function _queryNodeChildren(parentNode, predicate, matches) { - if (parentNode instanceof DebugElement) { - parentNode.childNodes.forEach(function (node) { - if (predicate(node)) { - matches.push(node); - } - if (node instanceof DebugElement) { - _queryNodeChildren(node, predicate, matches); - } - }); - } -} -// Need to keep the nodes in a global Map so that multiple angular apps are supported. -var _nativeNodeToDebugNode = new Map(); -/** - * \@experimental - * @param {?} nativeNode - * @return {?} - */ -function getDebugNode(nativeNode) { - return _nativeNodeToDebugNode.get(nativeNode) || null; -} -/** - * @return {?} - */ - -/** - * @param {?} node - * @return {?} - */ -function indexDebugNode(node) { - _nativeNodeToDebugNode.set(node.nativeNode, node); -} -/** - * @param {?} node - * @return {?} - */ -function removeDebugNodeFromIndex(node) { - _nativeNodeToDebugNode.delete(node.nativeNode); -} -/** - * A boolean-valued function over a value, possibly including context information - * regarding that value's position in an array. - * - * \@experimental All debugging apis are currently experimental. - * @record - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} a - * @param {?} b - * @return {?} - */ -function devModeEqual(a, b) { - var /** @type {?} */ isListLikeIterableA = isListLikeIterable(a); - var /** @type {?} */ isListLikeIterableB = isListLikeIterable(b); - if (isListLikeIterableA && isListLikeIterableB) { - return areIterablesEqual(a, b, devModeEqual); - } - else { - var /** @type {?} */ isAObject = a && (typeof a === 'object' || typeof a === 'function'); - var /** @type {?} */ isBObject = b && (typeof b === 'object' || typeof b === 'function'); - if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) { - return true; - } - else { - return looseIdentical(a, b); - } - } -} -/** - * Indicates that the result of a {\@link Pipe} transformation has changed even though the - * reference - * has not changed. - * - * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored. - * - * Example: - * - * ``` - * if (this._latestValue === this._latestReturnedValue) { - * return this._latestReturnedValue; - * } else { - * this._latestReturnedValue = this._latestValue; - * return WrappedValue.wrap(this._latestValue); // this will force update - * } - * ``` - * \@stable - */ -var WrappedValue = (function () { - function WrappedValue(wrapped) { - this.wrapped = wrapped; - } - /** - * @param {?} value - * @return {?} - */ - WrappedValue.wrap = /** - * @param {?} value - * @return {?} - */ - function (value) { return new WrappedValue(value); }; - return WrappedValue; -}()); -/** - * Helper class for unwrapping WrappedValue s - */ -var ValueUnwrapper = (function () { - function ValueUnwrapper() { - this.hasWrappedValue = false; - } - /** - * @param {?} value - * @return {?} - */ - ValueUnwrapper.prototype.unwrap = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (value instanceof WrappedValue) { - this.hasWrappedValue = true; - return value.wrapped; - } - return value; - }; - /** - * @return {?} - */ - ValueUnwrapper.prototype.reset = /** - * @return {?} - */ - function () { this.hasWrappedValue = false; }; - return ValueUnwrapper; -}()); -/** - * Represents a basic change from a previous to a new value. - * \@stable - */ -var SimpleChange = (function () { - function SimpleChange(previousValue, currentValue, firstChange) { - this.previousValue = previousValue; - this.currentValue = currentValue; - this.firstChange = firstChange; - } - /** - * Check whether the new value is the first value assigned. - */ - /** - * Check whether the new value is the first value assigned. - * @return {?} - */ - SimpleChange.prototype.isFirstChange = /** - * Check whether the new value is the first value assigned. - * @return {?} - */ - function () { return this.firstChange; }; - return SimpleChange; -}()); -/** - * @param {?} obj - * @return {?} - */ -function isListLikeIterable(obj) { - if (!isJsObject(obj)) - return false; - return Array.isArray(obj) || - (!(obj instanceof Map) && - // JS Map are iterables but return entries as [k, v] - getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop -} -/** - * @param {?} a - * @param {?} b - * @param {?} comparator - * @return {?} - */ -function areIterablesEqual(a, b, comparator) { - var /** @type {?} */ iterator1 = a[getSymbolIterator()](); - var /** @type {?} */ iterator2 = b[getSymbolIterator()](); - while (true) { - var /** @type {?} */ item1 = iterator1.next(); - var /** @type {?} */ item2 = iterator2.next(); - if (item1.done && item2.done) - return true; - if (item1.done || item2.done) - return false; - if (!comparator(item1.value, item2.value)) - return false; - } -} -/** - * @param {?} obj - * @param {?} fn - * @return {?} - */ -function iterateListLike(obj, fn) { - if (Array.isArray(obj)) { - for (var /** @type {?} */ i = 0; i < obj.length; i++) { - fn(obj[i]); - } - } - else { - var /** @type {?} */ iterator = obj[getSymbolIterator()](); - var /** @type {?} */ item = void 0; - while (!((item = iterator.next()).done)) { - fn(item.value); - } - } -} -/** - * @param {?} o - * @return {?} - */ -function isJsObject(o) { - return o !== null && (typeof o === 'function' || typeof o === 'object'); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var DefaultIterableDifferFactory = (function () { - function DefaultIterableDifferFactory() { - } - /** - * @param {?} obj - * @return {?} - */ - DefaultIterableDifferFactory.prototype.supports = /** - * @param {?} obj - * @return {?} - */ - function (obj) { return isListLikeIterable(obj); }; - /** - * @template V - * @param {?=} trackByFn - * @return {?} - */ - DefaultIterableDifferFactory.prototype.create = /** - * @template V - * @param {?=} trackByFn - * @return {?} - */ - function (trackByFn) { - return new DefaultIterableDiffer(trackByFn); - }; - return DefaultIterableDifferFactory; -}()); -var trackByIdentity = function (index, item) { return item; }; -/** - * @deprecated v4.0.0 - Should not be part of public API. - */ -var DefaultIterableDiffer = (function () { - function DefaultIterableDiffer(trackByFn) { - this.length = 0; - this._linkedRecords = null; - this._unlinkedRecords = null; - this._previousItHead = null; - this._itHead = null; - this._itTail = null; - this._additionsHead = null; - this._additionsTail = null; - this._movesHead = null; - this._movesTail = null; - this._removalsHead = null; - this._removalsTail = null; - this._identityChangesHead = null; - this._identityChangesTail = null; - this._trackByFn = trackByFn || trackByIdentity; - } - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._itHead; record !== null; record = record._next) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachOperation = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ nextIt = this._itHead; - var /** @type {?} */ nextRemove = this._removalsHead; - var /** @type {?} */ addRemoveOffset = 0; - var /** @type {?} */ moveOffsets = null; - while (nextIt || nextRemove) { - // Figure out which is the next record to process - // Order: remove, add, move - var /** @type {?} */ record = !nextRemove || - nextIt && /** @type {?} */ ((nextIt.currentIndex)) < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ? - /** @type {?} */ ((nextIt)) : - nextRemove; - var /** @type {?} */ adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets); - var /** @type {?} */ currentIndex = record.currentIndex; - // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary - if (record === nextRemove) { - addRemoveOffset--; - nextRemove = nextRemove._nextRemoved; - } - else { - nextIt = /** @type {?} */ ((nextIt))._next; - if (record.previousIndex == null) { - addRemoveOffset++; - } - else { - // INVARIANT: currentIndex < previousIndex - if (!moveOffsets) - moveOffsets = []; - var /** @type {?} */ localMovePreviousIndex = adjPreviousIndex - addRemoveOffset; - var /** @type {?} */ localCurrentIndex = /** @type {?} */ ((currentIndex)) - addRemoveOffset; - if (localMovePreviousIndex != localCurrentIndex) { - for (var /** @type {?} */ i = 0; i < localMovePreviousIndex; i++) { - var /** @type {?} */ offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0); - var /** @type {?} */ index = offset + i; - if (localCurrentIndex <= index && index < localMovePreviousIndex) { - moveOffsets[i] = offset + 1; - } - } - var /** @type {?} */ previousIndex = record.previousIndex; - moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex; - } - } - } - if (adjPreviousIndex !== currentIndex) { - fn(record, adjPreviousIndex, currentIndex); - } - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachPreviousItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._previousItHead; record !== null; record = record._nextPrevious) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachAddedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._additionsHead; record !== null; record = record._nextAdded) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachMovedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._movesHead; record !== null; record = record._nextMoved) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachRemovedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._removalsHead; record !== null; record = record._nextRemoved) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachIdentityChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) { - fn(record); - } - }; - /** - * @param {?} collection - * @return {?} - */ - DefaultIterableDiffer.prototype.diff = /** - * @param {?} collection - * @return {?} - */ - function (collection) { - if (collection == null) - collection = []; - if (!isListLikeIterable(collection)) { - throw new Error("Error trying to diff '" + stringify(collection) + "'. Only arrays and iterables are allowed"); - } - if (this.check(collection)) { - return this; - } - else { - return null; - } - }; - /** - * @return {?} - */ - DefaultIterableDiffer.prototype.onDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} collection - * @return {?} - */ - DefaultIterableDiffer.prototype.check = /** - * @param {?} collection - * @return {?} - */ - function (collection) { - var _this = this; - this._reset(); - var /** @type {?} */ record = this._itHead; - var /** @type {?} */ mayBeDirty = false; - var /** @type {?} */ index; - var /** @type {?} */ item; - var /** @type {?} */ itemTrackBy; - if (Array.isArray(collection)) { - (/** @type {?} */ (this)).length = collection.length; - for (var /** @type {?} */ index_1 = 0; index_1 < this.length; index_1++) { - item = collection[index_1]; - itemTrackBy = this._trackByFn(index_1, item); - if (record === null || !looseIdentical(record.trackById, itemTrackBy)) { - record = this._mismatch(record, item, itemTrackBy, index_1); - mayBeDirty = true; - } - else { - if (mayBeDirty) { - // TODO(misko): can we limit this to duplicates only? - record = this._verifyReinsertion(record, item, itemTrackBy, index_1); - } - if (!looseIdentical(record.item, item)) - this._addIdentityChange(record, item); - } - record = record._next; - } - } - else { - index = 0; - iterateListLike(collection, function (item) { - itemTrackBy = _this._trackByFn(index, item); - if (record === null || !looseIdentical(record.trackById, itemTrackBy)) { - record = _this._mismatch(record, item, itemTrackBy, index); - mayBeDirty = true; - } - else { - if (mayBeDirty) { - // TODO(misko): can we limit this to duplicates only? - record = _this._verifyReinsertion(record, item, itemTrackBy, index); - } - if (!looseIdentical(record.item, item)) - _this._addIdentityChange(record, item); - } - record = record._next; - index++; - }); - (/** @type {?} */ (this)).length = index; - } - this._truncate(record); - (/** @type {?} */ (this)).collection = collection; - return this.isDirty; - }; - Object.defineProperty(DefaultIterableDiffer.prototype, "isDirty", { - /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity - * changes. - */ - get: /** - * @return {?} - */ - function () { - return this._additionsHead !== null || this._movesHead !== null || - this._removalsHead !== null || this._identityChangesHead !== null; - }, - enumerable: true, - configurable: true - }); - /** - * Reset the state of the change objects to show no changes. This means set previousKey to - * currentKey, and clear all of the queues (additions, moves, removals). - * Set the previousIndexes of moved and added items to their currentIndexes - * Reset the list of additions, moves and removals - * - * @internal - */ - /** - * Reset the state of the change objects to show no changes. This means set previousKey to - * currentKey, and clear all of the queues (additions, moves, removals). - * Set the previousIndexes of moved and added items to their currentIndexes - * Reset the list of additions, moves and removals - * - * \@internal - * @return {?} - */ - DefaultIterableDiffer.prototype._reset = /** - * Reset the state of the change objects to show no changes. This means set previousKey to - * currentKey, and clear all of the queues (additions, moves, removals). - * Set the previousIndexes of moved and added items to their currentIndexes - * Reset the list of additions, moves and removals - * - * \@internal - * @return {?} - */ - function () { - if (this.isDirty) { - var /** @type {?} */ record = void 0; - var /** @type {?} */ nextRecord = void 0; - for (record = this._previousItHead = this._itHead; record !== null; record = record._next) { - record._nextPrevious = record._next; - } - for (record = this._additionsHead; record !== null; record = record._nextAdded) { - record.previousIndex = record.currentIndex; - } - this._additionsHead = this._additionsTail = null; - for (record = this._movesHead; record !== null; record = nextRecord) { - record.previousIndex = record.currentIndex; - nextRecord = record._nextMoved; - } - this._movesHead = this._movesTail = null; - this._removalsHead = this._removalsTail = null; - this._identityChangesHead = this._identityChangesTail = null; - // todo(vicb) when assert gets supported - // assert(!this.isDirty); - } - }; - /** - * This is the core function which handles differences between collections. - * - * - `record` is the record which we saw at this position last time. If null then it is a new - * item. - * - `item` is the current item in the collection - * - `index` is the position of the item in the collection - * - * @internal - */ - /** - * This is the core function which handles differences between collections. - * - * - `record` is the record which we saw at this position last time. If null then it is a new - * item. - * - `item` is the current item in the collection - * - `index` is the position of the item in the collection - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._mismatch = /** - * This is the core function which handles differences between collections. - * - * - `record` is the record which we saw at this position last time. If null then it is a new - * item. - * - `item` is the current item in the collection - * - `index` is the position of the item in the collection - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - function (record, item, itemTrackBy, index) { - // The previous record after which we will append the current one. - var /** @type {?} */ previousRecord; - if (record === null) { - previousRecord = this._itTail; - } - else { - previousRecord = record._prev; - // Remove the record from the collection since we know it does not match the item. - this._remove(record); - } - // Attempt to see if we have seen the item before. - record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index); - if (record !== null) { - // We have seen this before, we need to move it forward in the collection. - // But first we need to check if identity changed, so we can update in view if necessary - if (!looseIdentical(record.item, item)) - this._addIdentityChange(record, item); - this._moveAfter(record, previousRecord, index); - } - else { - // Never seen it, check evicted list. - record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null); - if (record !== null) { - // It is an item which we have evicted earlier: reinsert it back into the list. - // But first we need to check if identity changed, so we can update in view if necessary - if (!looseIdentical(record.item, item)) - this._addIdentityChange(record, item); - this._reinsertAfter(record, previousRecord, index); - } - else { - // It is a new item: add it. - record = - this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index); - } - } - return record; - }; - /** - * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty) - * - * Use case: `[a, a]` => `[b, a, a]` - * - * If we did not have this check then the insertion of `b` would: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) leave `a` at index `1` as is. <-- this is wrong! - * 3) reinsert `a` at index 2. <-- this is wrong! - * - * The correct behavior is: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) reinsert `a` at index 1. - * 3) move `a` at from `1` to `2`. - * - * - * Double check that we have not evicted a duplicate item. We need to check if the item type may - * have already been removed: - * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted - * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a - * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a' - * at the end. - * - * @internal - */ - /** - * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty) - * - * Use case: `[a, a]` => `[b, a, a]` - * - * If we did not have this check then the insertion of `b` would: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) leave `a` at index `1` as is. <-- this is wrong! - * 3) reinsert `a` at index 2. <-- this is wrong! - * - * The correct behavior is: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) reinsert `a` at index 1. - * 3) move `a` at from `1` to `2`. - * - * - * Double check that we have not evicted a duplicate item. We need to check if the item type may - * have already been removed: - * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted - * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a - * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a' - * at the end. - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._verifyReinsertion = /** - * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty) - * - * Use case: `[a, a]` => `[b, a, a]` - * - * If we did not have this check then the insertion of `b` would: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) leave `a` at index `1` as is. <-- this is wrong! - * 3) reinsert `a` at index 2. <-- this is wrong! - * - * The correct behavior is: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) reinsert `a` at index 1. - * 3) move `a` at from `1` to `2`. - * - * - * Double check that we have not evicted a duplicate item. We need to check if the item type may - * have already been removed: - * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted - * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a - * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a' - * at the end. - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - function (record, item, itemTrackBy, index) { - var /** @type {?} */ reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null); - if (reinsertRecord !== null) { - record = this._reinsertAfter(reinsertRecord, /** @type {?} */ ((record._prev)), index); - } - else if (record.currentIndex != index) { - record.currentIndex = index; - this._addToMoves(record, index); - } - return record; - }; - /** - * Get rid of any excess {@link IterableChangeRecord_}s from the previous collection - * - * - `record` The first excess {@link IterableChangeRecord_}. - * - * @internal - */ - /** - * Get rid of any excess {\@link IterableChangeRecord_}s from the previous collection - * - * - `record` The first excess {\@link IterableChangeRecord_}. - * - * \@internal - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._truncate = /** - * Get rid of any excess {\@link IterableChangeRecord_}s from the previous collection - * - * - `record` The first excess {\@link IterableChangeRecord_}. - * - * \@internal - * @param {?} record - * @return {?} - */ - function (record) { - // Anything after that needs to be removed; - while (record !== null) { - var /** @type {?} */ nextRecord = record._next; - this._addToRemovals(this._unlink(record)); - record = nextRecord; - } - if (this._unlinkedRecords !== null) { - this._unlinkedRecords.clear(); - } - if (this._additionsTail !== null) { - this._additionsTail._nextAdded = null; - } - if (this._movesTail !== null) { - this._movesTail._nextMoved = null; - } - if (this._itTail !== null) { - this._itTail._next = null; - } - if (this._removalsTail !== null) { - this._removalsTail._nextRemoved = null; - } - if (this._identityChangesTail !== null) { - this._identityChangesTail._nextIdentityChange = null; - } - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._reinsertAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - if (this._unlinkedRecords !== null) { - this._unlinkedRecords.remove(record); - } - var /** @type {?} */ prev = record._prevRemoved; - var /** @type {?} */ next = record._nextRemoved; - if (prev === null) { - this._removalsHead = next; - } - else { - prev._nextRemoved = next; - } - if (next === null) { - this._removalsTail = prev; - } - else { - next._prevRemoved = prev; - } - this._insertAfter(record, prevRecord, index); - this._addToMoves(record, index); - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._moveAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - this._unlink(record); - this._insertAfter(record, prevRecord, index); - this._addToMoves(record, index); - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._addAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - this._insertAfter(record, prevRecord, index); - if (this._additionsTail === null) { - // todo(vicb) - // assert(this._additionsHead === null); - this._additionsTail = this._additionsHead = record; - } - else { - // todo(vicb) - // assert(_additionsTail._nextAdded === null); - // assert(record._nextAdded === null); - this._additionsTail = this._additionsTail._nextAdded = record; - } - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._insertAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - // todo(vicb) - // assert(record != prevRecord); - // assert(record._next === null); - // assert(record._prev === null); - var /** @type {?} */ next = prevRecord === null ? this._itHead : prevRecord._next; - // todo(vicb) - // assert(next != record); - // assert(prevRecord != record); - record._next = next; - record._prev = prevRecord; - if (next === null) { - this._itTail = record; - } - else { - next._prev = record; - } - if (prevRecord === null) { - this._itHead = record; - } - else { - prevRecord._next = record; - } - if (this._linkedRecords === null) { - this._linkedRecords = new _DuplicateMap(); - } - this._linkedRecords.put(record); - record.currentIndex = index; - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._remove = /** - * \@internal - * @param {?} record - * @return {?} - */ - function (record) { - return this._addToRemovals(this._unlink(record)); - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._unlink = /** - * \@internal - * @param {?} record - * @return {?} - */ - function (record) { - if (this._linkedRecords !== null) { - this._linkedRecords.remove(record); - } - var /** @type {?} */ prev = record._prev; - var /** @type {?} */ next = record._next; - // todo(vicb) - // assert((record._prev = null) === null); - // assert((record._next = null) === null); - if (prev === null) { - this._itHead = next; - } - else { - prev._next = next; - } - if (next === null) { - this._itTail = prev; - } - else { - next._prev = prev; - } - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} toIndex - * @return {?} - */ - DefaultIterableDiffer.prototype._addToMoves = /** - * \@internal - * @param {?} record - * @param {?} toIndex - * @return {?} - */ - function (record, toIndex) { - // todo(vicb) - // assert(record._nextMoved === null); - if (record.previousIndex === toIndex) { - return record; - } - if (this._movesTail === null) { - // todo(vicb) - // assert(_movesHead === null); - this._movesTail = this._movesHead = record; - } - else { - // todo(vicb) - // assert(_movesTail._nextMoved === null); - this._movesTail = this._movesTail._nextMoved = record; - } - return record; - }; - /** - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._addToRemovals = /** - * @param {?} record - * @return {?} - */ - function (record) { - if (this._unlinkedRecords === null) { - this._unlinkedRecords = new _DuplicateMap(); - } - this._unlinkedRecords.put(record); - record.currentIndex = null; - record._nextRemoved = null; - if (this._removalsTail === null) { - // todo(vicb) - // assert(_removalsHead === null); - this._removalsTail = this._removalsHead = record; - record._prevRemoved = null; - } - else { - // todo(vicb) - // assert(_removalsTail._nextRemoved === null); - // assert(record._nextRemoved === null); - record._prevRemoved = this._removalsTail; - this._removalsTail = this._removalsTail._nextRemoved = record; - } - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} item - * @return {?} - */ - DefaultIterableDiffer.prototype._addIdentityChange = /** - * \@internal - * @param {?} record - * @param {?} item - * @return {?} - */ - function (record, item) { - record.item = item; - if (this._identityChangesTail === null) { - this._identityChangesTail = this._identityChangesHead = record; - } - else { - this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record; - } - return record; - }; - return DefaultIterableDiffer; -}()); -/** - * \@stable - */ -var IterableChangeRecord_ = (function () { - function IterableChangeRecord_(item, trackById) { - this.item = item; - this.trackById = trackById; - this.currentIndex = null; - this.previousIndex = null; - /** - * \@internal - */ - this._nextPrevious = null; - /** - * \@internal - */ - this._prev = null; - /** - * \@internal - */ - this._next = null; - /** - * \@internal - */ - this._prevDup = null; - /** - * \@internal - */ - this._nextDup = null; - /** - * \@internal - */ - this._prevRemoved = null; - /** - * \@internal - */ - this._nextRemoved = null; - /** - * \@internal - */ - this._nextAdded = null; - /** - * \@internal - */ - this._nextMoved = null; - /** - * \@internal - */ - this._nextIdentityChange = null; - } - return IterableChangeRecord_; -}()); -var _DuplicateItemRecordList = (function () { - function _DuplicateItemRecordList() { - /** - * \@internal - */ - this._head = null; - /** - * \@internal - */ - this._tail = null; - } - /** - * Append the record to the list of duplicates. - * - * Note: by design all records in the list of duplicates hold the same value in record.item. - */ - /** - * Append the record to the list of duplicates. - * - * Note: by design all records in the list of duplicates hold the same value in record.item. - * @param {?} record - * @return {?} - */ - _DuplicateItemRecordList.prototype.add = /** - * Append the record to the list of duplicates. - * - * Note: by design all records in the list of duplicates hold the same value in record.item. - * @param {?} record - * @return {?} - */ - function (record) { - if (this._head === null) { - this._head = this._tail = record; - record._nextDup = null; - record._prevDup = null; - } - else { - /** @type {?} */ (( - // todo(vicb) - // assert(record.item == _head.item || - // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN); - this._tail))._nextDup = record; - record._prevDup = this._tail; - record._nextDup = null; - this._tail = record; - } - }; - // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and - // IterableChangeRecord_.currentIndex >= atOrAfterIndex - /** - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - _DuplicateItemRecordList.prototype.get = /** - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - function (trackById, atOrAfterIndex) { - var /** @type {?} */ record; - for (record = this._head; record !== null; record = record._nextDup) { - if ((atOrAfterIndex === null || atOrAfterIndex <= /** @type {?} */ ((record.currentIndex))) && - looseIdentical(record.trackById, trackById)) { - return record; - } - } - return null; - }; - /** - * Remove one {@link IterableChangeRecord_} from the list of duplicates. - * - * Returns whether the list of duplicates is empty. - */ - /** - * Remove one {\@link IterableChangeRecord_} from the list of duplicates. - * - * Returns whether the list of duplicates is empty. - * @param {?} record - * @return {?} - */ - _DuplicateItemRecordList.prototype.remove = /** - * Remove one {\@link IterableChangeRecord_} from the list of duplicates. - * - * Returns whether the list of duplicates is empty. - * @param {?} record - * @return {?} - */ - function (record) { - // todo(vicb) - // assert(() { - // // verify that the record being removed is in the list. - // for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) { - // if (identical(cursor, record)) return true; - // } - // return false; - //}); - var /** @type {?} */ prev = record._prevDup; - var /** @type {?} */ next = record._nextDup; - if (prev === null) { - this._head = next; - } - else { - prev._nextDup = next; - } - if (next === null) { - this._tail = prev; - } - else { - next._prevDup = prev; - } - return this._head === null; - }; - return _DuplicateItemRecordList; -}()); -var _DuplicateMap = (function () { - function _DuplicateMap() { - this.map = new Map(); - } - /** - * @param {?} record - * @return {?} - */ - _DuplicateMap.prototype.put = /** - * @param {?} record - * @return {?} - */ - function (record) { - var /** @type {?} */ key = record.trackById; - var /** @type {?} */ duplicates = this.map.get(key); - if (!duplicates) { - duplicates = new _DuplicateItemRecordList(); - this.map.set(key, duplicates); - } - duplicates.add(record); - }; - /** - * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we - * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there. - * - * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we - * have any more `a`s needs to return the second `a`. - */ - /** - * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we - * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there. - * - * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we - * have any more `a`s needs to return the second `a`. - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - _DuplicateMap.prototype.get = /** - * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we - * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there. - * - * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we - * have any more `a`s needs to return the second `a`. - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - function (trackById, atOrAfterIndex) { - var /** @type {?} */ key = trackById; - var /** @type {?} */ recordList = this.map.get(key); - return recordList ? recordList.get(trackById, atOrAfterIndex) : null; - }; - /** - * Removes a {@link IterableChangeRecord_} from the list of duplicates. - * - * The list of duplicates also is removed from the map if it gets empty. - */ - /** - * Removes a {\@link IterableChangeRecord_} from the list of duplicates. - * - * The list of duplicates also is removed from the map if it gets empty. - * @param {?} record - * @return {?} - */ - _DuplicateMap.prototype.remove = /** - * Removes a {\@link IterableChangeRecord_} from the list of duplicates. - * - * The list of duplicates also is removed from the map if it gets empty. - * @param {?} record - * @return {?} - */ - function (record) { - var /** @type {?} */ key = record.trackById; - var /** @type {?} */ recordList = /** @type {?} */ ((this.map.get(key))); - // Remove the list of duplicates when it gets empty - if (recordList.remove(record)) { - this.map.delete(key); - } - return record; - }; - Object.defineProperty(_DuplicateMap.prototype, "isEmpty", { - get: /** - * @return {?} - */ - function () { return this.map.size === 0; }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - _DuplicateMap.prototype.clear = /** - * @return {?} - */ - function () { this.map.clear(); }; - return _DuplicateMap; -}()); -/** - * @param {?} item - * @param {?} addRemoveOffset - * @param {?} moveOffsets - * @return {?} - */ -function getPreviousIndex(item, addRemoveOffset, moveOffsets) { - var /** @type {?} */ previousIndex = item.previousIndex; - if (previousIndex === null) - return previousIndex; - var /** @type {?} */ moveOffset = 0; - if (moveOffsets && previousIndex < moveOffsets.length) { - moveOffset = moveOffsets[previousIndex]; - } - return previousIndex + addRemoveOffset + moveOffset; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var DefaultKeyValueDifferFactory = (function () { - function DefaultKeyValueDifferFactory() { - } - /** - * @param {?} obj - * @return {?} - */ - DefaultKeyValueDifferFactory.prototype.supports = /** - * @param {?} obj - * @return {?} - */ - function (obj) { return obj instanceof Map || isJsObject(obj); }; - /** - * @template K, V - * @return {?} - */ - DefaultKeyValueDifferFactory.prototype.create = /** - * @template K, V - * @return {?} - */ - function () { return new DefaultKeyValueDiffer(); }; - return DefaultKeyValueDifferFactory; -}()); -var DefaultKeyValueDiffer = (function () { - function DefaultKeyValueDiffer() { - this._records = new Map(); - this._mapHead = null; - this._appendAfter = null; - this._previousMapHead = null; - this._changesHead = null; - this._changesTail = null; - this._additionsHead = null; - this._additionsTail = null; - this._removalsHead = null; - this._removalsTail = null; - } - Object.defineProperty(DefaultKeyValueDiffer.prototype, "isDirty", { - get: /** - * @return {?} - */ - function () { - return this._additionsHead !== null || this._changesHead !== null || - this._removalsHead !== null; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._mapHead; record !== null; record = record._next) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachPreviousItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._previousMapHead; record !== null; record = record._nextPrevious) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachChangedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._changesHead; record !== null; record = record._nextChanged) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachAddedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._additionsHead; record !== null; record = record._nextAdded) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachRemovedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._removalsHead; record !== null; record = record._nextRemoved) { - fn(record); - } - }; - /** - * @param {?=} map - * @return {?} - */ - DefaultKeyValueDiffer.prototype.diff = /** - * @param {?=} map - * @return {?} - */ - function (map) { - if (!map) { - map = new Map(); - } - else if (!(map instanceof Map || isJsObject(map))) { - throw new Error("Error trying to diff '" + stringify(map) + "'. Only maps and objects are allowed"); - } - return this.check(map) ? this : null; - }; - /** - * @return {?} - */ - DefaultKeyValueDiffer.prototype.onDestroy = /** - * @return {?} - */ - function () { }; - /** - * Check the current state of the map vs the previous. - * The algorithm is optimised for when the keys do no change. - */ - /** - * Check the current state of the map vs the previous. - * The algorithm is optimised for when the keys do no change. - * @param {?} map - * @return {?} - */ - DefaultKeyValueDiffer.prototype.check = /** - * Check the current state of the map vs the previous. - * The algorithm is optimised for when the keys do no change. - * @param {?} map - * @return {?} - */ - function (map) { - var _this = this; - this._reset(); - var /** @type {?} */ insertBefore = this._mapHead; - this._appendAfter = null; - this._forEach(map, function (value, key) { - if (insertBefore && insertBefore.key === key) { - _this._maybeAddToChanges(insertBefore, value); - _this._appendAfter = insertBefore; - insertBefore = insertBefore._next; - } - else { - var /** @type {?} */ record = _this._getOrCreateRecordForKey(key, value); - insertBefore = _this._insertBeforeOrAppend(insertBefore, record); - } - }); - // Items remaining at the end of the list have been deleted - if (insertBefore) { - if (insertBefore._prev) { - insertBefore._prev._next = null; - } - this._removalsHead = insertBefore; - for (var /** @type {?} */ record = insertBefore; record !== null; record = record._nextRemoved) { - if (record === this._mapHead) { - this._mapHead = null; - } - this._records.delete(record.key); - record._nextRemoved = record._next; - record.previousValue = record.currentValue; - record.currentValue = null; - record._prev = null; - record._next = null; - } - } - // Make sure tails have no next records from previous runs - if (this._changesTail) - this._changesTail._nextChanged = null; - if (this._additionsTail) - this._additionsTail._nextAdded = null; - return this.isDirty; - }; - /** - * Inserts a record before `before` or append at the end of the list when `before` is null. - * - * Notes: - * - This method appends at `this._appendAfter`, - * - This method updates `this._appendAfter`, - * - The return value is the new value for the insertion pointer. - * @param {?} before - * @param {?} record - * @return {?} - */ - DefaultKeyValueDiffer.prototype._insertBeforeOrAppend = /** - * Inserts a record before `before` or append at the end of the list when `before` is null. - * - * Notes: - * - This method appends at `this._appendAfter`, - * - This method updates `this._appendAfter`, - * - The return value is the new value for the insertion pointer. - * @param {?} before - * @param {?} record - * @return {?} - */ - function (before, record) { - if (before) { - var /** @type {?} */ prev = before._prev; - record._next = before; - record._prev = prev; - before._prev = record; - if (prev) { - prev._next = record; - } - if (before === this._mapHead) { - this._mapHead = record; - } - this._appendAfter = before; - return before; - } - if (this._appendAfter) { - this._appendAfter._next = record; - record._prev = this._appendAfter; - } - else { - this._mapHead = record; - } - this._appendAfter = record; - return null; - }; - /** - * @param {?} key - * @param {?} value - * @return {?} - */ - DefaultKeyValueDiffer.prototype._getOrCreateRecordForKey = /** - * @param {?} key - * @param {?} value - * @return {?} - */ - function (key, value) { - if (this._records.has(key)) { - var /** @type {?} */ record_1 = /** @type {?} */ ((this._records.get(key))); - this._maybeAddToChanges(record_1, value); - var /** @type {?} */ prev = record_1._prev; - var /** @type {?} */ next = record_1._next; - if (prev) { - prev._next = next; - } - if (next) { - next._prev = prev; - } - record_1._next = null; - record_1._prev = null; - return record_1; - } - var /** @type {?} */ record = new KeyValueChangeRecord_(key); - this._records.set(key, record); - record.currentValue = value; - this._addToAdditions(record); - return record; - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - DefaultKeyValueDiffer.prototype._reset = /** - * \@internal - * @return {?} - */ - function () { - if (this.isDirty) { - var /** @type {?} */ record = void 0; - // let `_previousMapHead` contain the state of the map before the changes - this._previousMapHead = this._mapHead; - for (record = this._previousMapHead; record !== null; record = record._next) { - record._nextPrevious = record._next; - } - // Update `record.previousValue` with the value of the item before the changes - // We need to update all changed items (that's those which have been added and changed) - for (record = this._changesHead; record !== null; record = record._nextChanged) { - record.previousValue = record.currentValue; - } - for (record = this._additionsHead; record != null; record = record._nextAdded) { - record.previousValue = record.currentValue; - } - this._changesHead = this._changesTail = null; - this._additionsHead = this._additionsTail = null; - this._removalsHead = null; - } - }; - /** - * @param {?} record - * @param {?} newValue - * @return {?} - */ - DefaultKeyValueDiffer.prototype._maybeAddToChanges = /** - * @param {?} record - * @param {?} newValue - * @return {?} - */ - function (record, newValue) { - if (!looseIdentical(newValue, record.currentValue)) { - record.previousValue = record.currentValue; - record.currentValue = newValue; - this._addToChanges(record); - } - }; - /** - * @param {?} record - * @return {?} - */ - DefaultKeyValueDiffer.prototype._addToAdditions = /** - * @param {?} record - * @return {?} - */ - function (record) { - if (this._additionsHead === null) { - this._additionsHead = this._additionsTail = record; - } - else { - /** @type {?} */ ((this._additionsTail))._nextAdded = record; - this._additionsTail = record; - } - }; - /** - * @param {?} record - * @return {?} - */ - DefaultKeyValueDiffer.prototype._addToChanges = /** - * @param {?} record - * @return {?} - */ - function (record) { - if (this._changesHead === null) { - this._changesHead = this._changesTail = record; - } - else { - /** @type {?} */ ((this._changesTail))._nextChanged = record; - this._changesTail = record; - } - }; - /** - * \@internal - * @template K, V - * @param {?} obj - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype._forEach = /** - * \@internal - * @template K, V - * @param {?} obj - * @param {?} fn - * @return {?} - */ - function (obj, fn) { - if (obj instanceof Map) { - obj.forEach(fn); - } - else { - Object.keys(obj).forEach(function (k) { return fn(obj[k], k); }); - } - }; - return DefaultKeyValueDiffer; -}()); -/** - * \@stable - */ -var KeyValueChangeRecord_ = (function () { - function KeyValueChangeRecord_(key) { - this.key = key; - this.previousValue = null; - this.currentValue = null; - /** - * \@internal - */ - this._nextPrevious = null; - /** - * \@internal - */ - this._next = null; - /** - * \@internal - */ - this._prev = null; - /** - * \@internal - */ - this._nextAdded = null; - /** - * \@internal - */ - this._nextRemoved = null; - /** - * \@internal - */ - this._nextChanged = null; - } - return KeyValueChangeRecord_; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A strategy for tracking changes over time to an iterable. Used by {\@link NgForOf} to - * respond to changes in an iterable by effecting equivalent changes in the DOM. - * - * \@stable - * @record - */ - -/** - * An object describing the changes in the `Iterable` collection since last time - * `IterableDiffer#diff()` was invoked. - * - * \@stable - * @record - */ - -/** - * Record representing the item change information. - * - * \@stable - * @record - */ - -/** - * @deprecated v4.0.0 - Use IterableChangeRecord instead. - * @record - */ - -/** - * An optional function passed into {\@link NgForOf} that defines how to track - * items in an iterable (e.g. fby index or id) - * - * \@stable - * @record - */ - -/** - * Provides a factory for {\@link IterableDiffer}. - * - * \@stable - * @record - */ - -/** - * A repository of different iterable diffing strategies used by NgFor, NgClass, and others. - * \@stable - */ -var IterableDiffers = (function () { - function IterableDiffers(factories) { - this.factories = factories; - } - /** - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - IterableDiffers.create = /** - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - function (factories, parent) { - if (parent != null) { - var /** @type {?} */ copied = parent.factories.slice(); - factories = factories.concat(copied); - return new IterableDiffers(factories); - } - else { - return new IterableDiffers(factories); - } - }; - /** - * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the - * inherited {@link IterableDiffers} instance with the provided factories and return a new - * {@link IterableDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {@link IterableDiffer} available. - * - * ### Example - * - * ``` - * @Component({ - * viewProviders: [ - * IterableDiffers.extend([new ImmutableListDiffer()]) - * ] - * }) - * ``` - */ - /** - * Takes an array of {\@link IterableDifferFactory} and returns a provider used to extend the - * inherited {\@link IterableDiffers} instance with the provided factories and return a new - * {\@link IterableDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link IterableDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * IterableDiffers.extend([new ImmutableListDiffer()]) - * ] - * }) - * ``` - * @param {?} factories - * @return {?} - */ - IterableDiffers.extend = /** - * Takes an array of {\@link IterableDifferFactory} and returns a provider used to extend the - * inherited {\@link IterableDiffers} instance with the provided factories and return a new - * {\@link IterableDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link IterableDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * IterableDiffers.extend([new ImmutableListDiffer()]) - * ] - * }) - * ``` - * @param {?} factories - * @return {?} - */ - function (factories) { - return { - provide: IterableDiffers, - useFactory: function (parent) { - if (!parent) { - // Typically would occur when calling IterableDiffers.extend inside of dependencies passed - // to - // bootstrap(), which would override default pipes instead of extending them. - throw new Error('Cannot extend IterableDiffers without a parent injector'); - } - return IterableDiffers.create(factories, parent); - }, - // Dependency technically isn't optional, but we can provide a better error message this way. - deps: [[IterableDiffers, new SkipSelf(), new Optional()]] - }; - }; - /** - * @param {?} iterable - * @return {?} - */ - IterableDiffers.prototype.find = /** - * @param {?} iterable - * @return {?} - */ - function (iterable) { - var /** @type {?} */ factory = this.factories.find(function (f) { return f.supports(iterable); }); - if (factory != null) { - return factory; - } - else { - throw new Error("Cannot find a differ supporting object '" + iterable + "' of type '" + getTypeNameForDebugging(iterable) + "'"); - } - }; - return IterableDiffers; -}()); -/** - * @param {?} type - * @return {?} - */ -function getTypeNameForDebugging(type) { - return type['name'] || typeof type; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A differ that tracks changes made to an object over time. - * - * \@stable - * @record - */ - -/** - * An object describing the changes in the `Map` or `{[k:string]: string}` since last time - * `KeyValueDiffer#diff()` was invoked. - * - * \@stable - * @record - */ - -/** - * Record representing the item change information. - * - * \@stable - * @record - */ - -/** - * Provides a factory for {\@link KeyValueDiffer}. - * - * \@stable - * @record - */ - -/** - * A repository of different Map diffing strategies used by NgClass, NgStyle, and others. - * \@stable - */ -var KeyValueDiffers = (function () { - function KeyValueDiffers(factories) { - this.factories = factories; - } - /** - * @template S - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - KeyValueDiffers.create = /** - * @template S - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - function (factories, parent) { - if (parent) { - var /** @type {?} */ copied = parent.factories.slice(); - factories = factories.concat(copied); - } - return new KeyValueDiffers(factories); - }; - /** - * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the - * inherited {@link KeyValueDiffers} instance with the provided factories and return a new - * {@link KeyValueDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {@link KeyValueDiffer} available. - * - * ### Example - * - * ``` - * @Component({ - * viewProviders: [ - * KeyValueDiffers.extend([new ImmutableMapDiffer()]) - * ] - * }) - * ``` - */ - /** - * Takes an array of {\@link KeyValueDifferFactory} and returns a provider used to extend the - * inherited {\@link KeyValueDiffers} instance with the provided factories and return a new - * {\@link KeyValueDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link KeyValueDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * KeyValueDiffers.extend([new ImmutableMapDiffer()]) - * ] - * }) - * ``` - * @template S - * @param {?} factories - * @return {?} - */ - KeyValueDiffers.extend = /** - * Takes an array of {\@link KeyValueDifferFactory} and returns a provider used to extend the - * inherited {\@link KeyValueDiffers} instance with the provided factories and return a new - * {\@link KeyValueDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link KeyValueDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * KeyValueDiffers.extend([new ImmutableMapDiffer()]) - * ] - * }) - * ``` - * @template S - * @param {?} factories - * @return {?} - */ - function (factories) { - return { - provide: KeyValueDiffers, - useFactory: function (parent) { - if (!parent) { - // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed - // to bootstrap(), which would override default pipes instead of extending them. - throw new Error('Cannot extend KeyValueDiffers without a parent injector'); - } - return KeyValueDiffers.create(factories, parent); - }, - // Dependency technically isn't optional, but we can provide a better error message this way. - deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]] - }; - }; - /** - * @param {?} kv - * @return {?} - */ - KeyValueDiffers.prototype.find = /** - * @param {?} kv - * @return {?} - */ - function (kv) { - var /** @type {?} */ factory = this.factories.find(function (f) { return f.supports(kv); }); - if (factory) { - return factory; - } - throw new Error("Cannot find a differ supporting object '" + kv + "'"); - }; - return KeyValueDiffers; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Structural diffing for `Object`s and `Map`s. - */ -var keyValDiff = [new DefaultKeyValueDifferFactory()]; -/** - * Structural diffing for `Iterable` types such as `Array`s. - */ -var iterableDiff = [new DefaultIterableDifferFactory()]; -var defaultIterableDiffers = new IterableDiffers(iterableDiff); -var defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * Change detection enables data binding in Angular. - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _CORE_PLATFORM_PROVIDERS = [ - // Set a default platform name for platforms that don't set it explicitly. - { provide: PLATFORM_ID, useValue: 'unknown' }, - { provide: PlatformRef, deps: [Injector] }, - { provide: TestabilityRegistry, deps: [] }, - { provide: Console, deps: [] }, -]; -/** - * This platform has to be included in any other platform - * - * \@experimental - */ -var platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * \@experimental i18n support is experimental. - */ -var LOCALE_ID = new InjectionToken('LocaleId'); -/** - * \@experimental i18n support is experimental. - */ -var TRANSLATIONS = new InjectionToken('Translations'); -/** - * \@experimental i18n support is experimental. - */ -var TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat'); -/** @enum {number} */ -var MissingTranslationStrategy = { - Error: 0, - Warning: 1, - Ignore: 2, -}; -MissingTranslationStrategy[MissingTranslationStrategy.Error] = "Error"; -MissingTranslationStrategy[MissingTranslationStrategy.Warning] = "Warning"; -MissingTranslationStrategy[MissingTranslationStrategy.Ignore] = "Ignore"; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @return {?} - */ -function _iterableDiffersFactory() { - return defaultIterableDiffers; -} -/** - * @return {?} - */ -function _keyValueDiffersFactory() { - return defaultKeyValueDiffers; -} -/** - * @param {?=} locale - * @return {?} - */ -function _localeFactory(locale) { - return locale || 'en-US'; -} -/** - * This module includes the providers of \@angular/core that are needed - * to bootstrap components via `ApplicationRef`. - * - * \@experimental - */ -var ApplicationModule = (function () { - // Inject ApplicationRef to make it eager... - function ApplicationModule(appRef) { - } - ApplicationModule.decorators = [ - { type: NgModule, args: [{ - providers: [ - ApplicationRef, - ApplicationInitStatus, - Compiler, - APP_ID_RANDOM_PROVIDER, - { provide: IterableDiffers, useFactory: _iterableDiffersFactory }, - { provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory }, - { - provide: LOCALE_ID, - useFactory: _localeFactory, - deps: [[new Inject(LOCALE_ID), new Optional(), new SkipSelf()]] - }, - ] - },] }, - ]; - /** @nocollapse */ - ApplicationModule.ctorParameters = function () { return [ - { type: ApplicationRef, }, - ]; }; - return ApplicationModule; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** @enum {number} */ -var SecurityContext = { - NONE: 0, - HTML: 1, - STYLE: 2, - SCRIPT: 3, - URL: 4, - RESOURCE_URL: 5, -}; -SecurityContext[SecurityContext.NONE] = "NONE"; -SecurityContext[SecurityContext.HTML] = "HTML"; -SecurityContext[SecurityContext.STYLE] = "STYLE"; -SecurityContext[SecurityContext.SCRIPT] = "SCRIPT"; -SecurityContext[SecurityContext.URL] = "URL"; -SecurityContext[SecurityContext.RESOURCE_URL] = "RESOURCE_URL"; -/** - * Sanitizer is used by the views to sanitize potentially dangerous values. - * - * \@stable - * @abstract - */ -var Sanitizer = (function () { - function Sanitizer() { - } - return Sanitizer; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Factory for ViewDefinitions/NgModuleDefinitions. - * We use a function so we can reexeute it in case an error happens and use the given logger - * function to log the error from the definition of the node, which is shown in all browser - * logs. - * @record - */ - -/** - * Function to call console.error at the right source location. This is an indirection - * via another function as browser will log the location that actually called - * `console.error`. - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * A node definition in the view. - * - * Note: We use one type for all nodes so that loops that loop over all nodes - * of a ViewDefinition stay monomorphic! - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * View instance data. - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * @record - */ - -/** - * Data for an instantiated NodeType.Text. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asTextData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Data for an instantiated NodeType.Element. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asElementData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Data for an instantiated NodeType.Provider. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asProviderData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Data for an instantiated NodeType.PureExpression. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asPureExpressionData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asQueryList(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * @record - */ - -/** - * @abstract - */ -var DebugContext = (function () { - function DebugContext() { - } - return DebugContext; -}()); -/** - * @record - */ - -/** - * This object is used to prevent cycles in the source files and to have a place where - * debug mode can hook it. It is lazily filled when `isDevMode` is known. - */ -var Services = { - setCurrentNode: /** @type {?} */ ((undefined)), - createRootView: /** @type {?} */ ((undefined)), - createEmbeddedView: /** @type {?} */ ((undefined)), - createComponentView: /** @type {?} */ ((undefined)), - createNgModuleRef: /** @type {?} */ ((undefined)), - overrideProvider: /** @type {?} */ ((undefined)), - clearProviderOverrides: /** @type {?} */ ((undefined)), - checkAndUpdateView: /** @type {?} */ ((undefined)), - checkNoChangesView: /** @type {?} */ ((undefined)), - destroyView: /** @type {?} */ ((undefined)), - resolveDep: /** @type {?} */ ((undefined)), - createDebugContext: /** @type {?} */ ((undefined)), - handleEvent: /** @type {?} */ ((undefined)), - updateDirectives: /** @type {?} */ ((undefined)), - updateRenderer: /** @type {?} */ ((undefined)), - dirtyParentQueries: /** @type {?} */ ((undefined)), -}; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} context - * @param {?} oldValue - * @param {?} currValue - * @param {?} isFirstCheck - * @return {?} - */ -function expressionChangedAfterItHasBeenCheckedError(context, oldValue, currValue, isFirstCheck) { - var /** @type {?} */ msg = "ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '" + oldValue + "'. Current value: '" + currValue + "'."; - if (isFirstCheck) { - msg += - " It seems like the view has been created after its parent and its children have been dirty checked." + - " Has it been created in a change detection hook ?"; - } - return viewDebugError(msg, context); -} -/** - * @param {?} err - * @param {?} context - * @return {?} - */ -function viewWrappedDebugError(err, context) { - if (!(err instanceof Error)) { - // errors that are not Error instances don't have a stack, - // so it is ok to wrap them into a new Error object... - err = new Error(err.toString()); - } - _addDebugContext(err, context); - return err; -} -/** - * @param {?} msg - * @param {?} context - * @return {?} - */ -function viewDebugError(msg, context) { - var /** @type {?} */ err = new Error(msg); - _addDebugContext(err, context); - return err; -} -/** - * @param {?} err - * @param {?} context - * @return {?} - */ -function _addDebugContext(err, context) { - (/** @type {?} */ (err))[ERROR_DEBUG_CONTEXT] = context; - (/** @type {?} */ (err))[ERROR_LOGGER] = context.logError.bind(context); -} -/** - * @param {?} err - * @return {?} - */ -function isViewDebugError(err) { - return !!getDebugContext(err); -} -/** - * @param {?} action - * @return {?} - */ -function viewDestroyedError(action) { - return new Error("ViewDestroyedError: Attempt to use a destroyed view: " + action); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var NOOP = function () { }; -var _tokenKeyCache = new Map(); -/** - * @param {?} token - * @return {?} - */ -function tokenKey(token) { - var /** @type {?} */ key = _tokenKeyCache.get(token); - if (!key) { - key = stringify(token) + '_' + _tokenKeyCache.size; - _tokenKeyCache.set(token, key); - } - return key; -} -/** - * @param {?} view - * @param {?} nodeIdx - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function unwrapValue(view, nodeIdx, bindingIdx, value) { - if (value instanceof WrappedValue) { - value = value.wrapped; - var /** @type {?} */ globalBindingIdx = view.def.nodes[nodeIdx].bindingIndex + bindingIdx; - var /** @type {?} */ oldValue = view.oldValues[globalBindingIdx]; - if (oldValue instanceof WrappedValue) { - oldValue = oldValue.wrapped; - } - view.oldValues[globalBindingIdx] = new WrappedValue(oldValue); - } - return value; -} -var UNDEFINED_RENDERER_TYPE_ID = '$$undefined'; -var EMPTY_RENDERER_TYPE_ID = '$$empty'; -/** - * @param {?} values - * @return {?} - */ -function createRendererType2(values) { - return { - id: UNDEFINED_RENDERER_TYPE_ID, - styles: values.styles, - encapsulation: values.encapsulation, - data: values.data - }; -} -var _renderCompCount = 0; -/** - * @param {?=} type - * @return {?} - */ -function resolveRendererType2(type) { - if (type && type.id === UNDEFINED_RENDERER_TYPE_ID) { - // first time we see this RendererType2. Initialize it... - var /** @type {?} */ isFilled = ((type.encapsulation != null && type.encapsulation !== ViewEncapsulation.None) || - type.styles.length || Object.keys(type.data).length); - if (isFilled) { - type.id = "c" + _renderCompCount++; - } - else { - type.id = EMPTY_RENDERER_TYPE_ID; - } - } - if (type && type.id === EMPTY_RENDERER_TYPE_ID) { - type = null; - } - return type || null; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkBinding(view, def, bindingIdx, value) { - var /** @type {?} */ oldValues = view.oldValues; - if ((view.state & 2 /* FirstCheck */) || - !looseIdentical(oldValues[def.bindingIndex + bindingIdx], value)) { - return true; - } - return false; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkAndUpdateBinding(view, def, bindingIdx, value) { - if (checkBinding(view, def, bindingIdx, value)) { - view.oldValues[def.bindingIndex + bindingIdx] = value; - return true; - } - return false; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkBindingNoChanges(view, def, bindingIdx, value) { - var /** @type {?} */ oldValue = view.oldValues[def.bindingIndex + bindingIdx]; - if ((view.state & 1 /* BeforeFirstCheck */) || !devModeEqual(oldValue, value)) { - throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, def.nodeIndex), oldValue, value, (view.state & 1 /* BeforeFirstCheck */) !== 0); - } -} -/** - * @param {?} view - * @return {?} - */ -function markParentViewsForCheck(view) { - var /** @type {?} */ currView = view; - while (currView) { - if (currView.def.flags & 2 /* OnPush */) { - currView.state |= 8 /* ChecksEnabled */; - } - currView = currView.viewContainerParent || currView.parent; - } -} -/** - * @param {?} view - * @param {?} endView - * @return {?} - */ -function markParentViewsForCheckProjectedViews(view, endView) { - var /** @type {?} */ currView = view; - while (currView && currView !== endView) { - currView.state |= 64 /* CheckProjectedViews */; - currView = currView.viewContainerParent || currView.parent; - } -} -/** - * @param {?} view - * @param {?} nodeIndex - * @param {?} eventName - * @param {?} event - * @return {?} - */ -function dispatchEvent(view, nodeIndex, eventName, event) { - try { - var /** @type {?} */ nodeDef = view.def.nodes[nodeIndex]; - var /** @type {?} */ startView = nodeDef.flags & 33554432 /* ComponentView */ ? - asElementData(view, nodeIndex).componentView : - view; - markParentViewsForCheck(startView); - return Services.handleEvent(view, nodeIndex, eventName, event); - } - catch (/** @type {?} */ e) { - // Attention: Don't rethrow, as it would cancel Observable subscriptions! - view.root.errorHandler.handleError(e); - } -} -/** - * @param {?} view - * @return {?} - */ -function declaredViewContainer(view) { - if (view.parent) { - var /** @type {?} */ parentView = view.parent; - return asElementData(parentView, /** @type {?} */ ((view.parentNodeDef)).nodeIndex); - } - return null; -} -/** - * for component views, this is the host element. - * for embedded views, this is the index of the parent node - * that contains the view container. - * @param {?} view - * @return {?} - */ -function viewParentEl(view) { - var /** @type {?} */ parentView = view.parent; - if (parentView) { - return /** @type {?} */ ((view.parentNodeDef)).parent; - } - else { - return null; - } -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function renderNode(view, def) { - switch (def.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - return asElementData(view, def.nodeIndex).renderElement; - case 2 /* TypeText */: - return asTextData(view, def.nodeIndex).renderText; - } -} -/** - * @param {?} target - * @param {?} name - * @return {?} - */ -function elementEventFullName(target, name) { - return target ? target + ":" + name : name; -} -/** - * @param {?} view - * @return {?} - */ -function isComponentView(view) { - return !!view.parent && !!(/** @type {?} */ ((view.parentNodeDef)).flags & 32768 /* Component */); -} -/** - * @param {?} view - * @return {?} - */ -function isEmbeddedView(view) { - return !!view.parent && !(/** @type {?} */ ((view.parentNodeDef)).flags & 32768 /* Component */); -} -/** - * @param {?} queryId - * @return {?} - */ -function filterQueryId(queryId) { - return 1 << (queryId % 32); -} -/** - * @param {?} matchedQueriesDsl - * @return {?} - */ -function splitMatchedQueriesDsl(matchedQueriesDsl) { - var /** @type {?} */ matchedQueries = {}; - var /** @type {?} */ matchedQueryIds = 0; - var /** @type {?} */ references = {}; - if (matchedQueriesDsl) { - matchedQueriesDsl.forEach(function (_a) { - var queryId = _a[0], valueType = _a[1]; - if (typeof queryId === 'number') { - matchedQueries[queryId] = valueType; - matchedQueryIds |= filterQueryId(queryId); - } - else { - references[queryId] = valueType; - } - }); - } - return { matchedQueries: matchedQueries, references: references, matchedQueryIds: matchedQueryIds }; -} -/** - * @param {?} deps - * @return {?} - */ -function splitDepsDsl(deps) { - return deps.map(function (value) { - var /** @type {?} */ token; - var /** @type {?} */ flags; - if (Array.isArray(value)) { - flags = value[0], token = value[1]; - } - else { - flags = 0 /* None */; - token = value; - } - return { flags: flags, token: token, tokenKey: tokenKey(token) }; - }); -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function getParentRenderElement(view, renderHost, def) { - var /** @type {?} */ renderParent = def.renderParent; - if (renderParent) { - if ((renderParent.flags & 1 /* TypeElement */) === 0 || - (renderParent.flags & 33554432 /* ComponentView */) === 0 || - (/** @type {?} */ ((renderParent.element)).componentRendererType && /** @type {?} */ ((/** @type {?} */ ((renderParent.element)).componentRendererType)).encapsulation === ViewEncapsulation.Native)) { - // only children of non components, or children of components with native encapsulation should - // be attached. - return asElementData(view, /** @type {?} */ ((def.renderParent)).nodeIndex).renderElement; - } - } - else { - return renderHost; - } -} -var DEFINITION_CACHE = new WeakMap(); -/** - * @template D - * @param {?} factory - * @return {?} - */ -function resolveDefinition(factory) { - var /** @type {?} */ value = /** @type {?} */ (((DEFINITION_CACHE.get(factory)))); - if (!value) { - value = factory(function () { return NOOP; }); - value.factory = factory; - DEFINITION_CACHE.set(factory, value); - } - return value; -} -/** - * @param {?} view - * @return {?} - */ -function rootRenderNodes(view) { - var /** @type {?} */ renderNodes = []; - visitRootRenderNodes(view, 0 /* Collect */, undefined, undefined, renderNodes); - return renderNodes; -} -/** - * @param {?} view - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitRootRenderNodes(view, action, parentNode, nextSibling, target) { - // We need to re-compute the parent node in case the nodes have been moved around manually - if (action === 3 /* RemoveChild */) { - parentNode = view.renderer.parentNode(renderNode(view, /** @type {?} */ ((view.def.lastRenderRootNode)))); - } - visitSiblingRenderNodes(view, action, 0, view.def.nodes.length - 1, parentNode, nextSibling, target); -} -/** - * @param {?} view - * @param {?} action - * @param {?} startIndex - * @param {?} endIndex - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitSiblingRenderNodes(view, action, startIndex, endIndex, parentNode, nextSibling, target) { - for (var /** @type {?} */ i = startIndex; i <= endIndex; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if (nodeDef.flags & (1 /* TypeElement */ | 2 /* TypeText */ | 8 /* TypeNgContent */)) { - visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target); - } - // jump to next sibling - i += nodeDef.childCount; - } -} -/** - * @param {?} view - * @param {?} ngContentIndex - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitProjectedRenderNodes(view, ngContentIndex, action, parentNode, nextSibling, target) { - var /** @type {?} */ compView = view; - while (compView && !isComponentView(compView)) { - compView = compView.parent; - } - var /** @type {?} */ hostView = /** @type {?} */ ((compView)).parent; - var /** @type {?} */ hostElDef = viewParentEl(/** @type {?} */ ((compView))); - var /** @type {?} */ startIndex = /** @type {?} */ ((hostElDef)).nodeIndex + 1; - var /** @type {?} */ endIndex = /** @type {?} */ ((hostElDef)).nodeIndex + /** @type {?} */ ((hostElDef)).childCount; - for (var /** @type {?} */ i = startIndex; i <= endIndex; i++) { - var /** @type {?} */ nodeDef = /** @type {?} */ ((hostView)).def.nodes[i]; - if (nodeDef.ngContentIndex === ngContentIndex) { - visitRenderNode(/** @type {?} */ ((hostView)), nodeDef, action, parentNode, nextSibling, target); - } - // jump to next sibling - i += nodeDef.childCount; - } - if (!/** @type {?} */ ((hostView)).parent) { - // a root view - var /** @type {?} */ projectedNodes = view.root.projectableNodes[ngContentIndex]; - if (projectedNodes) { - for (var /** @type {?} */ i = 0; i < projectedNodes.length; i++) { - execRenderNodeAction(view, projectedNodes[i], action, parentNode, nextSibling, target); - } - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target) { - if (nodeDef.flags & 8 /* TypeNgContent */) { - visitProjectedRenderNodes(view, /** @type {?} */ ((nodeDef.ngContent)).index, action, parentNode, nextSibling, target); - } - else { - var /** @type {?} */ rn = renderNode(view, nodeDef); - if (action === 3 /* RemoveChild */ && (nodeDef.flags & 33554432 /* ComponentView */) && - (nodeDef.bindingFlags & 48 /* CatSyntheticProperty */)) { - // Note: we might need to do both actions. - if (nodeDef.bindingFlags & (16 /* SyntheticProperty */)) { - execRenderNodeAction(view, rn, action, parentNode, nextSibling, target); - } - if (nodeDef.bindingFlags & (32 /* SyntheticHostProperty */)) { - var /** @type {?} */ compView = asElementData(view, nodeDef.nodeIndex).componentView; - execRenderNodeAction(compView, rn, action, parentNode, nextSibling, target); - } - } - else { - execRenderNodeAction(view, rn, action, parentNode, nextSibling, target); - } - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((asElementData(view, nodeDef.nodeIndex).viewContainer))._embeddedViews; - for (var /** @type {?} */ k = 0; k < embeddedViews.length; k++) { - visitRootRenderNodes(embeddedViews[k], action, parentNode, nextSibling, target); - } - } - if (nodeDef.flags & 1 /* TypeElement */ && !/** @type {?} */ ((nodeDef.element)).name) { - visitSiblingRenderNodes(view, action, nodeDef.nodeIndex + 1, nodeDef.nodeIndex + nodeDef.childCount, parentNode, nextSibling, target); - } - } -} -/** - * @param {?} view - * @param {?} renderNode - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function execRenderNodeAction(view, renderNode, action, parentNode, nextSibling, target) { - var /** @type {?} */ renderer = view.renderer; - switch (action) { - case 1 /* AppendChild */: - renderer.appendChild(parentNode, renderNode); - break; - case 2 /* InsertBefore */: - renderer.insertBefore(parentNode, renderNode, nextSibling); - break; - case 3 /* RemoveChild */: - renderer.removeChild(parentNode, renderNode); - break; - case 0 /* Collect */: - /** @type {?} */ ((target)).push(renderNode); - break; - } -} -var NS_PREFIX_RE = /^:([^:]+):(.+)$/; -/** - * @param {?} name - * @return {?} - */ -function splitNamespace(name) { - if (name[0] === ':') { - var /** @type {?} */ match = /** @type {?} */ ((name.match(NS_PREFIX_RE))); - return [match[1], match[2]]; - } - return ['', name]; -} -/** - * @param {?} bindings - * @return {?} - */ -function calcBindingFlags(bindings) { - var /** @type {?} */ flags = 0; - for (var /** @type {?} */ i = 0; i < bindings.length; i++) { - flags |= bindings[i].flags; - } - return flags; -} -/** - * @param {?} valueCount - * @param {?} constAndInterp - * @return {?} - */ -function interpolate(valueCount, constAndInterp) { - var /** @type {?} */ result = ''; - for (var /** @type {?} */ i = 0; i < valueCount * 2; i = i + 2) { - result = result + constAndInterp[i] + _toStringWithNull(constAndInterp[i + 1]); - } - return result + constAndInterp[valueCount * 2]; -} -/** - * @param {?} valueCount - * @param {?} c0 - * @param {?} a1 - * @param {?} c1 - * @param {?=} a2 - * @param {?=} c2 - * @param {?=} a3 - * @param {?=} c3 - * @param {?=} a4 - * @param {?=} c4 - * @param {?=} a5 - * @param {?=} c5 - * @param {?=} a6 - * @param {?=} c6 - * @param {?=} a7 - * @param {?=} c7 - * @param {?=} a8 - * @param {?=} c8 - * @param {?=} a9 - * @param {?=} c9 - * @return {?} - */ -function inlineInterpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) { - switch (valueCount) { - case 1: - return c0 + _toStringWithNull(a1) + c1; - case 2: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2; - case 3: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3; - case 4: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4; - case 5: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5; - case 6: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6; - case 7: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + - c6 + _toStringWithNull(a7) + c7; - case 8: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + - c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8; - case 9: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + - c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9; - default: - throw new Error("Does not support more than 9 expressions"); - } -} -/** - * @param {?} v - * @return {?} - */ -function _toStringWithNull(v) { - return v != null ? v.toString() : ''; -} -var EMPTY_ARRAY = []; -var EMPTY_MAP = {}; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} flags - * @param {?} matchedQueriesDsl - * @param {?} ngContentIndex - * @param {?} childCount - * @param {?=} handleEvent - * @param {?=} templateFactory - * @return {?} - */ -function anchorDef(flags, matchedQueriesDsl, ngContentIndex, childCount, handleEvent, templateFactory) { - flags |= 1 /* TypeElement */; - var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds; - var /** @type {?} */ template = templateFactory ? resolveDefinition(templateFactory) : null; - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - flags: flags, - checkIndex: -1, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, matchedQueries: matchedQueries, matchedQueryIds: matchedQueryIds, references: references, ngContentIndex: ngContentIndex, childCount: childCount, - bindings: [], - bindingFlags: 0, - outputs: [], - element: { - ns: null, - name: null, - attrs: null, template: template, - componentProvider: null, - componentView: null, - componentRendererType: null, - publicProviders: null, - allProviders: null, - handleEvent: handleEvent || NOOP - }, - provider: null, - text: null, - query: null, - ngContent: null - }; -} -/** - * @param {?} checkIndex - * @param {?} flags - * @param {?} matchedQueriesDsl - * @param {?} ngContentIndex - * @param {?} childCount - * @param {?} namespaceAndName - * @param {?=} fixedAttrs - * @param {?=} bindings - * @param {?=} outputs - * @param {?=} handleEvent - * @param {?=} componentView - * @param {?=} componentRendererType - * @return {?} - */ -function elementDef(checkIndex, flags, matchedQueriesDsl, ngContentIndex, childCount, namespaceAndName, fixedAttrs, bindings, outputs, handleEvent, componentView, componentRendererType) { - if (fixedAttrs === void 0) { fixedAttrs = []; } - if (!handleEvent) { - handleEvent = NOOP; - } - var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds; - var /** @type {?} */ ns = /** @type {?} */ ((null)); - var /** @type {?} */ name = /** @type {?} */ ((null)); - if (namespaceAndName) { - _b = splitNamespace(namespaceAndName), ns = _b[0], name = _b[1]; - } - bindings = bindings || []; - var /** @type {?} */ bindingDefs = new Array(bindings.length); - for (var /** @type {?} */ i = 0; i < bindings.length; i++) { - var _c = bindings[i], bindingFlags = _c[0], namespaceAndName_1 = _c[1], suffixOrSecurityContext = _c[2]; - var _d = splitNamespace(namespaceAndName_1), ns_1 = _d[0], name_1 = _d[1]; - var /** @type {?} */ securityContext = /** @type {?} */ ((undefined)); - var /** @type {?} */ suffix = /** @type {?} */ ((undefined)); - switch (bindingFlags & 15 /* Types */) { - case 4 /* TypeElementStyle */: - suffix = /** @type {?} */ (suffixOrSecurityContext); - break; - case 1 /* TypeElementAttribute */: - case 8 /* TypeProperty */: - securityContext = /** @type {?} */ (suffixOrSecurityContext); - break; - } - bindingDefs[i] = - { flags: bindingFlags, ns: ns_1, name: name_1, nonMinifiedName: name_1, securityContext: securityContext, suffix: suffix }; - } - outputs = outputs || []; - var /** @type {?} */ outputDefs = new Array(outputs.length); - for (var /** @type {?} */ i = 0; i < outputs.length; i++) { - var _e = outputs[i], target = _e[0], eventName = _e[1]; - outputDefs[i] = { - type: 0 /* ElementOutput */, - target: /** @type {?} */ (target), eventName: eventName, - propName: null - }; - } - fixedAttrs = fixedAttrs || []; - var /** @type {?} */ attrs = /** @type {?} */ (fixedAttrs.map(function (_a) { - var namespaceAndName = _a[0], value = _a[1]; - var _b = splitNamespace(namespaceAndName), ns = _b[0], name = _b[1]; - return [ns, name, value]; - })); - componentRendererType = resolveRendererType2(componentRendererType); - if (componentView) { - flags |= 33554432 /* ComponentView */; - } - flags |= 1 /* TypeElement */; - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, matchedQueries: matchedQueries, matchedQueryIds: matchedQueryIds, references: references, ngContentIndex: ngContentIndex, childCount: childCount, - bindings: bindingDefs, - bindingFlags: calcBindingFlags(bindingDefs), - outputs: outputDefs, - element: { - ns: ns, - name: name, - attrs: attrs, - template: null, - // will bet set by the view definition - componentProvider: null, - componentView: componentView || null, - componentRendererType: componentRendererType, - publicProviders: null, - allProviders: null, - handleEvent: handleEvent || NOOP, - }, - provider: null, - text: null, - query: null, - ngContent: null - }; - var _b; -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function createElement(view, renderHost, def) { - var /** @type {?} */ elDef = /** @type {?} */ ((def.element)); - var /** @type {?} */ rootSelectorOrNode = view.root.selectorOrNode; - var /** @type {?} */ renderer = view.renderer; - var /** @type {?} */ el; - if (view.parent || !rootSelectorOrNode) { - if (elDef.name) { - el = renderer.createElement(elDef.name, elDef.ns); - } - else { - el = renderer.createComment(''); - } - var /** @type {?} */ parentEl = getParentRenderElement(view, renderHost, def); - if (parentEl) { - renderer.appendChild(parentEl, el); - } - } - else { - el = renderer.selectRootElement(rootSelectorOrNode); - } - if (elDef.attrs) { - for (var /** @type {?} */ i = 0; i < elDef.attrs.length; i++) { - var _a = elDef.attrs[i], ns = _a[0], name_2 = _a[1], value = _a[2]; - renderer.setAttribute(el, name_2, value, ns); - } - } - return el; -} -/** - * @param {?} view - * @param {?} compView - * @param {?} def - * @param {?} el - * @return {?} - */ -function listenToElementOutputs(view, compView, def, el) { - for (var /** @type {?} */ i = 0; i < def.outputs.length; i++) { - var /** @type {?} */ output = def.outputs[i]; - var /** @type {?} */ handleEventClosure = renderEventHandlerClosure(view, def.nodeIndex, elementEventFullName(output.target, output.eventName)); - var /** @type {?} */ listenTarget = output.target; - var /** @type {?} */ listenerView = view; - if (output.target === 'component') { - listenTarget = null; - listenerView = compView; - } - var /** @type {?} */ disposable = /** @type {?} */ (listenerView.renderer.listen(listenTarget || el, output.eventName, handleEventClosure)); /** @type {?} */ - ((view.disposables))[def.outputIndex + i] = disposable; - } -} -/** - * @param {?} view - * @param {?} index - * @param {?} eventName - * @return {?} - */ -function renderEventHandlerClosure(view, index, eventName) { - return function (event) { return dispatchEvent(view, index, eventName, event); }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdateElementInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ bindLen = def.bindings.length; - var /** @type {?} */ changed = false; - if (bindLen > 0 && checkAndUpdateElementValue(view, def, 0, v0)) - changed = true; - if (bindLen > 1 && checkAndUpdateElementValue(view, def, 1, v1)) - changed = true; - if (bindLen > 2 && checkAndUpdateElementValue(view, def, 2, v2)) - changed = true; - if (bindLen > 3 && checkAndUpdateElementValue(view, def, 3, v3)) - changed = true; - if (bindLen > 4 && checkAndUpdateElementValue(view, def, 4, v4)) - changed = true; - if (bindLen > 5 && checkAndUpdateElementValue(view, def, 5, v5)) - changed = true; - if (bindLen > 6 && checkAndUpdateElementValue(view, def, 6, v6)) - changed = true; - if (bindLen > 7 && checkAndUpdateElementValue(view, def, 7, v7)) - changed = true; - if (bindLen > 8 && checkAndUpdateElementValue(view, def, 8, v8)) - changed = true; - if (bindLen > 9 && checkAndUpdateElementValue(view, def, 9, v9)) - changed = true; - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdateElementDynamic(view, def, values) { - var /** @type {?} */ changed = false; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - if (checkAndUpdateElementValue(view, def, i, values[i])) - changed = true; - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkAndUpdateElementValue(view, def, bindingIdx, value) { - if (!checkAndUpdateBinding(view, def, bindingIdx, value)) { - return false; - } - var /** @type {?} */ binding = def.bindings[bindingIdx]; - var /** @type {?} */ elData = asElementData(view, def.nodeIndex); - var /** @type {?} */ renderNode$$1 = elData.renderElement; - var /** @type {?} */ name = /** @type {?} */ ((binding.name)); - switch (binding.flags & 15 /* Types */) { - case 1 /* TypeElementAttribute */: - setElementAttribute(view, binding, renderNode$$1, binding.ns, name, value); - break; - case 2 /* TypeElementClass */: - setElementClass(view, renderNode$$1, name, value); - break; - case 4 /* TypeElementStyle */: - setElementStyle(view, binding, renderNode$$1, name, value); - break; - case 8 /* TypeProperty */: - var /** @type {?} */ bindView = (def.flags & 33554432 /* ComponentView */ && - binding.flags & 32 /* SyntheticHostProperty */) ? - elData.componentView : - view; - setElementProperty(bindView, binding, renderNode$$1, name, value); - break; - } - return true; -} -/** - * @param {?} view - * @param {?} binding - * @param {?} renderNode - * @param {?} ns - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementAttribute(view, binding, renderNode$$1, ns, name, value) { - var /** @type {?} */ securityContext = binding.securityContext; - var /** @type {?} */ renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value; - renderValue = renderValue != null ? renderValue.toString() : null; - var /** @type {?} */ renderer = view.renderer; - if (value != null) { - renderer.setAttribute(renderNode$$1, name, renderValue, ns); - } - else { - renderer.removeAttribute(renderNode$$1, name, ns); - } -} -/** - * @param {?} view - * @param {?} renderNode - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementClass(view, renderNode$$1, name, value) { - var /** @type {?} */ renderer = view.renderer; - if (value) { - renderer.addClass(renderNode$$1, name); - } - else { - renderer.removeClass(renderNode$$1, name); - } -} -/** - * @param {?} view - * @param {?} binding - * @param {?} renderNode - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementStyle(view, binding, renderNode$$1, name, value) { - var /** @type {?} */ renderValue = view.root.sanitizer.sanitize(SecurityContext.STYLE, /** @type {?} */ (value)); - if (renderValue != null) { - renderValue = renderValue.toString(); - var /** @type {?} */ unit = binding.suffix; - if (unit != null) { - renderValue = renderValue + unit; - } - } - else { - renderValue = null; - } - var /** @type {?} */ renderer = view.renderer; - if (renderValue != null) { - renderer.setStyle(renderNode$$1, name, renderValue); - } - else { - renderer.removeStyle(renderNode$$1, name); - } -} -/** - * @param {?} view - * @param {?} binding - * @param {?} renderNode - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementProperty(view, binding, renderNode$$1, name, value) { - var /** @type {?} */ securityContext = binding.securityContext; - var /** @type {?} */ renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value; - view.renderer.setProperty(renderNode$$1, name, renderValue); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var UNDEFINED_VALUE = new Object(); -var InjectorRefTokenKey$1 = tokenKey(Injector); -var NgModuleRefTokenKey = tokenKey(NgModuleRef); -/** - * @param {?} flags - * @param {?} token - * @param {?} value - * @param {?} deps - * @return {?} - */ -function moduleProvideDef(flags, token, value, deps) { - // Need to resolve forwardRefs as e.g. for `useValue` we - // lowered the expression and then stopped evaluating it, - // i.e. also didn't unwrap it. - value = resolveForwardRef(value); - var /** @type {?} */ depDefs = splitDepsDsl(deps); - return { - // will bet set by the module definition - index: -1, - deps: depDefs, flags: flags, token: token, value: value - }; -} -/** - * @param {?} providers - * @return {?} - */ -function moduleDef(providers) { - var /** @type {?} */ providersByKey = {}; - for (var /** @type {?} */ i = 0; i < providers.length; i++) { - var /** @type {?} */ provider = providers[i]; - provider.index = i; - providersByKey[tokenKey(provider.token)] = provider; - } - return { - // Will be filled later... - factory: null, - providersByKey: providersByKey, - providers: providers - }; -} -/** - * @param {?} data - * @return {?} - */ -function initNgModule(data) { - var /** @type {?} */ def = data._def; - var /** @type {?} */ providers = data._providers = new Array(def.providers.length); - for (var /** @type {?} */ i = 0; i < def.providers.length; i++) { - var /** @type {?} */ provDef = def.providers[i]; - if (!(provDef.flags & 4096 /* LazyProvider */)) { - providers[i] = _createProviderInstance$1(data, provDef); - } - } -} -/** - * @param {?} data - * @param {?} depDef - * @param {?=} notFoundValue - * @return {?} - */ -function resolveNgModuleDep(data, depDef, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - if (depDef.flags & 8 /* Value */) { - return depDef.token; - } - if (depDef.flags & 2 /* Optional */) { - notFoundValue = null; - } - if (depDef.flags & 1 /* SkipSelf */) { - return data._parent.get(depDef.token, notFoundValue); - } - var /** @type {?} */ tokenKey$$1 = depDef.tokenKey; - switch (tokenKey$$1) { - case InjectorRefTokenKey$1: - case NgModuleRefTokenKey: - return data; - } - var /** @type {?} */ providerDef = data._def.providersByKey[tokenKey$$1]; - if (providerDef) { - var /** @type {?} */ providerInstance = data._providers[providerDef.index]; - if (providerInstance === undefined) { - providerInstance = data._providers[providerDef.index] = - _createProviderInstance$1(data, providerDef); - } - return providerInstance === UNDEFINED_VALUE ? undefined : providerInstance; - } - return data._parent.get(depDef.token, notFoundValue); -} -/** - * @param {?} ngModule - * @param {?} providerDef - * @return {?} - */ -function _createProviderInstance$1(ngModule, providerDef) { - var /** @type {?} */ injectable; - switch (providerDef.flags & 201347067 /* Types */) { - case 512 /* TypeClassProvider */: - injectable = _createClass(ngModule, providerDef.value, providerDef.deps); - break; - case 1024 /* TypeFactoryProvider */: - injectable = _callFactory(ngModule, providerDef.value, providerDef.deps); - break; - case 2048 /* TypeUseExistingProvider */: - injectable = resolveNgModuleDep(ngModule, providerDef.deps[0]); - break; - case 256 /* TypeValueProvider */: - injectable = providerDef.value; - break; - } - return injectable === undefined ? UNDEFINED_VALUE : injectable; -} -/** - * @param {?} ngModule - * @param {?} ctor - * @param {?} deps - * @return {?} - */ -function _createClass(ngModule, ctor, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return new ctor(); - case 1: - return new ctor(resolveNgModuleDep(ngModule, deps[0])); - case 2: - return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1])); - case 3: - return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2])); - default: - var /** @type {?} */ depValues = new Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveNgModuleDep(ngModule, deps[i]); - } - return new (ctor.bind.apply(ctor, [void 0].concat(depValues)))(); - } -} -/** - * @param {?} ngModule - * @param {?} factory - * @param {?} deps - * @return {?} - */ -function _callFactory(ngModule, factory, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return factory(); - case 1: - return factory(resolveNgModuleDep(ngModule, deps[0])); - case 2: - return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1])); - case 3: - return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2])); - default: - var /** @type {?} */ depValues = Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveNgModuleDep(ngModule, deps[i]); - } - return factory.apply(void 0, depValues); - } -} -/** - * @param {?} ngModule - * @param {?} lifecycles - * @return {?} - */ -function callNgModuleLifecycle(ngModule, lifecycles) { - var /** @type {?} */ def = ngModule._def; - for (var /** @type {?} */ i = 0; i < def.providers.length; i++) { - var /** @type {?} */ provDef = def.providers[i]; - if (provDef.flags & 131072 /* OnDestroy */) { - var /** @type {?} */ instance = ngModule._providers[i]; - if (instance && instance !== UNDEFINED_VALUE) { - instance.ngOnDestroy(); - } - } - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} parentView - * @param {?} elementData - * @param {?} viewIndex - * @param {?} view - * @return {?} - */ -function attachEmbeddedView(parentView, elementData, viewIndex, view) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - if (viewIndex === null || viewIndex === undefined) { - viewIndex = embeddedViews.length; - } - view.viewContainerParent = parentView; - addToArray(embeddedViews, /** @type {?} */ ((viewIndex)), view); - attachProjectedView(elementData, view); - Services.dirtyParentQueries(view); - var /** @type {?} */ prevView = /** @type {?} */ ((viewIndex)) > 0 ? embeddedViews[/** @type {?} */ ((viewIndex)) - 1] : null; - renderAttachEmbeddedView(elementData, prevView, view); -} -/** - * @param {?} vcElementData - * @param {?} view - * @return {?} - */ -function attachProjectedView(vcElementData, view) { - var /** @type {?} */ dvcElementData = declaredViewContainer(view); - if (!dvcElementData || dvcElementData === vcElementData || - view.state & 16 /* IsProjectedView */) { - return; - } - // Note: For performance reasons, we - // - add a view to template._projectedViews only 1x throughout its lifetime, - // and remove it not until the view is destroyed. - // (hard, as when a parent view is attached/detached we would need to attach/detach all - // nested projected views as well, even accross component boundaries). - // - don't track the insertion order of views in the projected views array - // (hard, as when the views of the same template are inserted different view containers) - view.state |= 16 /* IsProjectedView */; - var /** @type {?} */ projectedViews = dvcElementData.template._projectedViews; - if (!projectedViews) { - projectedViews = dvcElementData.template._projectedViews = []; - } - projectedViews.push(view); - // Note: we are changing the NodeDef here as we cannot calculate - // the fact whether a template is used for projection during compilation. - markNodeAsProjectedTemplate(/** @type {?} */ ((view.parent)).def, /** @type {?} */ ((view.parentNodeDef))); -} -/** - * @param {?} viewDef - * @param {?} nodeDef - * @return {?} - */ -function markNodeAsProjectedTemplate(viewDef, nodeDef) { - if (nodeDef.flags & 4 /* ProjectedTemplate */) { - return; - } - viewDef.nodeFlags |= 4 /* ProjectedTemplate */; - nodeDef.flags |= 4 /* ProjectedTemplate */; - var /** @type {?} */ parentNodeDef = nodeDef.parent; - while (parentNodeDef) { - parentNodeDef.childFlags |= 4 /* ProjectedTemplate */; - parentNodeDef = parentNodeDef.parent; - } -} -/** - * @param {?} elementData - * @param {?=} viewIndex - * @return {?} - */ -function detachEmbeddedView(elementData, viewIndex) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - if (viewIndex == null || viewIndex >= embeddedViews.length) { - viewIndex = embeddedViews.length - 1; - } - if (viewIndex < 0) { - return null; - } - var /** @type {?} */ view = embeddedViews[viewIndex]; - view.viewContainerParent = null; - removeFromArray(embeddedViews, viewIndex); - // See attachProjectedView for why we don't update projectedViews here. - Services.dirtyParentQueries(view); - renderDetachView(view); - return view; -} -/** - * @param {?} view - * @return {?} - */ -function detachProjectedView(view) { - if (!(view.state & 16 /* IsProjectedView */)) { - return; - } - var /** @type {?} */ dvcElementData = declaredViewContainer(view); - if (dvcElementData) { - var /** @type {?} */ projectedViews = dvcElementData.template._projectedViews; - if (projectedViews) { - removeFromArray(projectedViews, projectedViews.indexOf(view)); - Services.dirtyParentQueries(view); - } - } -} -/** - * @param {?} elementData - * @param {?} oldViewIndex - * @param {?} newViewIndex - * @return {?} - */ -function moveEmbeddedView(elementData, oldViewIndex, newViewIndex) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - var /** @type {?} */ view = embeddedViews[oldViewIndex]; - removeFromArray(embeddedViews, oldViewIndex); - if (newViewIndex == null) { - newViewIndex = embeddedViews.length; - } - addToArray(embeddedViews, newViewIndex, view); - // Note: Don't need to change projectedViews as the order in there - // as always invalid... - Services.dirtyParentQueries(view); - renderDetachView(view); - var /** @type {?} */ prevView = newViewIndex > 0 ? embeddedViews[newViewIndex - 1] : null; - renderAttachEmbeddedView(elementData, prevView, view); - return view; -} -/** - * @param {?} elementData - * @param {?} prevView - * @param {?} view - * @return {?} - */ -function renderAttachEmbeddedView(elementData, prevView, view) { - var /** @type {?} */ prevRenderNode = prevView ? renderNode(prevView, /** @type {?} */ ((prevView.def.lastRenderRootNode))) : - elementData.renderElement; - var /** @type {?} */ parentNode = view.renderer.parentNode(prevRenderNode); - var /** @type {?} */ nextSibling = view.renderer.nextSibling(prevRenderNode); - // Note: We can't check if `nextSibling` is present, as on WebWorkers it will always be! - // However, browsers automatically do `appendChild` when there is no `nextSibling`. - visitRootRenderNodes(view, 2 /* InsertBefore */, parentNode, nextSibling, undefined); -} -/** - * @param {?} view - * @return {?} - */ -function renderDetachView(view) { - visitRootRenderNodes(view, 3 /* RemoveChild */, null, null, undefined); -} -/** - * @param {?} arr - * @param {?} index - * @param {?} value - * @return {?} - */ -function addToArray(arr, index, value) { - // perf: array.push is faster than array.splice! - if (index >= arr.length) { - arr.push(value); - } - else { - arr.splice(index, 0, value); - } -} -/** - * @param {?} arr - * @param {?} index - * @return {?} - */ -function removeFromArray(arr, index) { - // perf: array.pop is faster than array.splice! - if (index >= arr.length - 1) { - arr.pop(); - } - else { - arr.splice(index, 1); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var EMPTY_CONTEXT = new Object(); -/** - * @param {?} selector - * @param {?} componentType - * @param {?} viewDefFactory - * @param {?} inputs - * @param {?} outputs - * @param {?} ngContentSelectors - * @return {?} - */ -function createComponentFactory(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors) { - return new ComponentFactory_(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors); -} -/** - * @param {?} componentFactory - * @return {?} - */ -function getComponentViewDefinitionFactory(componentFactory) { - return (/** @type {?} */ (componentFactory)).viewDefFactory; -} -var ComponentFactory_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ComponentFactory_, _super); - function ComponentFactory_(selector, componentType, viewDefFactory, _inputs, _outputs, ngContentSelectors) { - var _this = - // Attention: this ctor is called as top level function. - // Putting any logic in here will destroy closure tree shaking! - _super.call(this) || this; - _this.selector = selector; - _this.componentType = componentType; - _this._inputs = _inputs; - _this._outputs = _outputs; - _this.ngContentSelectors = ngContentSelectors; - _this.viewDefFactory = viewDefFactory; - return _this; - } - Object.defineProperty(ComponentFactory_.prototype, "inputs", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ inputsArr = []; - var /** @type {?} */ inputs = /** @type {?} */ ((this._inputs)); - for (var /** @type {?} */ propName in inputs) { - var /** @type {?} */ templateName = inputs[propName]; - inputsArr.push({ propName: propName, templateName: templateName }); - } - return inputsArr; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactory_.prototype, "outputs", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ outputsArr = []; - for (var /** @type {?} */ propName in this._outputs) { - var /** @type {?} */ templateName = this._outputs[propName]; - outputsArr.push({ propName: propName, templateName: templateName }); - } - return outputsArr; - }, - enumerable: true, - configurable: true - }); - /** - * Creates a new component. - */ - /** - * Creates a new component. - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - ComponentFactory_.prototype.create = /** - * Creates a new component. - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - function (injector, projectableNodes, rootSelectorOrNode, ngModule) { - if (!ngModule) { - throw new Error('ngModule should be provided'); - } - var /** @type {?} */ viewDef = resolveDefinition(this.viewDefFactory); - var /** @type {?} */ componentNodeIndex = /** @type {?} */ ((/** @type {?} */ ((viewDef.nodes[0].element)).componentProvider)).nodeIndex; - var /** @type {?} */ view = Services.createRootView(injector, projectableNodes || [], rootSelectorOrNode, viewDef, ngModule, EMPTY_CONTEXT); - var /** @type {?} */ component = asProviderData(view, componentNodeIndex).instance; - if (rootSelectorOrNode) { - view.renderer.setAttribute(asElementData(view, 0).renderElement, 'ng-version', VERSION.full); - } - return new ComponentRef_(view, new ViewRef_(view), component); - }; - return ComponentFactory_; -}(ComponentFactory)); -var ComponentRef_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ComponentRef_, _super); - function ComponentRef_(_view, _viewRef, _component) { - var _this = _super.call(this) || this; - _this._view = _view; - _this._viewRef = _viewRef; - _this._component = _component; - _this._elDef = _this._view.def.nodes[0]; - _this.hostView = _viewRef; - _this.changeDetectorRef = _viewRef; - _this.instance = _component; - return _this; - } - Object.defineProperty(ComponentRef_.prototype, "location", { - get: /** - * @return {?} - */ - function () { - return new ElementRef(asElementData(this._view, this._elDef.nodeIndex).renderElement); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentRef_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return new Injector_(this._view, this._elDef); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentRef_.prototype, "componentType", { - get: /** - * @return {?} - */ - function () { return /** @type {?} */ (this._component.constructor); }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ComponentRef_.prototype.destroy = /** - * @return {?} - */ - function () { this._viewRef.destroy(); }; - /** - * @param {?} callback - * @return {?} - */ - ComponentRef_.prototype.onDestroy = /** - * @param {?} callback - * @return {?} - */ - function (callback) { this._viewRef.onDestroy(callback); }; - return ComponentRef_; -}(ComponentRef)); -/** - * @param {?} view - * @param {?} elDef - * @param {?} elData - * @return {?} - */ -function createViewContainerData(view, elDef, elData) { - return new ViewContainerRef_(view, elDef, elData); -} -var ViewContainerRef_ = (function () { - function ViewContainerRef_(_view, _elDef, _data) { - this._view = _view; - this._elDef = _elDef; - this._data = _data; - /** - * \@internal - */ - this._embeddedViews = []; - } - Object.defineProperty(ViewContainerRef_.prototype, "element", { - get: /** - * @return {?} - */ - function () { return new ElementRef(this._data.renderElement); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewContainerRef_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return new Injector_(this._view, this._elDef); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewContainerRef_.prototype, "parentInjector", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ view = this._view; - var /** @type {?} */ elDef = this._elDef.parent; - while (!elDef && view) { - elDef = viewParentEl(view); - view = /** @type {?} */ ((view.parent)); - } - return view ? new Injector_(view, elDef) : new Injector_(this._view, null); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ViewContainerRef_.prototype.clear = /** - * @return {?} - */ - function () { - var /** @type {?} */ len = this._embeddedViews.length; - for (var /** @type {?} */ i = len - 1; i >= 0; i--) { - var /** @type {?} */ view = /** @type {?} */ ((detachEmbeddedView(this._data, i))); - Services.destroyView(view); - } - }; - /** - * @param {?} index - * @return {?} - */ - ViewContainerRef_.prototype.get = /** - * @param {?} index - * @return {?} - */ - function (index) { - var /** @type {?} */ view = this._embeddedViews[index]; - if (view) { - var /** @type {?} */ ref = new ViewRef_(view); - ref.attachToViewContainerRef(this); - return ref; - } - return null; - }; - Object.defineProperty(ViewContainerRef_.prototype, "length", { - get: /** - * @return {?} - */ - function () { return this._embeddedViews.length; }, - enumerable: true, - configurable: true - }); - /** - * @template C - * @param {?} templateRef - * @param {?=} context - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.createEmbeddedView = /** - * @template C - * @param {?} templateRef - * @param {?=} context - * @param {?=} index - * @return {?} - */ - function (templateRef, context, index) { - var /** @type {?} */ viewRef = templateRef.createEmbeddedView(context || /** @type {?} */ ({})); - this.insert(viewRef, index); - return viewRef; - }; - /** - * @template C - * @param {?} componentFactory - * @param {?=} index - * @param {?=} injector - * @param {?=} projectableNodes - * @param {?=} ngModuleRef - * @return {?} - */ - ViewContainerRef_.prototype.createComponent = /** - * @template C - * @param {?} componentFactory - * @param {?=} index - * @param {?=} injector - * @param {?=} projectableNodes - * @param {?=} ngModuleRef - * @return {?} - */ - function (componentFactory, index, injector, projectableNodes, ngModuleRef) { - var /** @type {?} */ contextInjector = injector || this.parentInjector; - if (!ngModuleRef && !(componentFactory instanceof ComponentFactoryBoundToModule)) { - ngModuleRef = contextInjector.get(NgModuleRef); - } - var /** @type {?} */ componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef); - this.insert(componentRef.hostView, index); - return componentRef; - }; - /** - * @param {?} viewRef - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.insert = /** - * @param {?} viewRef - * @param {?=} index - * @return {?} - */ - function (viewRef, index) { - if (viewRef.destroyed) { - throw new Error('Cannot insert a destroyed View in a ViewContainer!'); - } - var /** @type {?} */ viewRef_ = /** @type {?} */ (viewRef); - var /** @type {?} */ viewData = viewRef_._view; - attachEmbeddedView(this._view, this._data, index, viewData); - viewRef_.attachToViewContainerRef(this); - return viewRef; - }; - /** - * @param {?} viewRef - * @param {?} currentIndex - * @return {?} - */ - ViewContainerRef_.prototype.move = /** - * @param {?} viewRef - * @param {?} currentIndex - * @return {?} - */ - function (viewRef, currentIndex) { - if (viewRef.destroyed) { - throw new Error('Cannot move a destroyed View in a ViewContainer!'); - } - var /** @type {?} */ previousIndex = this._embeddedViews.indexOf(viewRef._view); - moveEmbeddedView(this._data, previousIndex, currentIndex); - return viewRef; - }; - /** - * @param {?} viewRef - * @return {?} - */ - ViewContainerRef_.prototype.indexOf = /** - * @param {?} viewRef - * @return {?} - */ - function (viewRef) { - return this._embeddedViews.indexOf((/** @type {?} */ (viewRef))._view); - }; - /** - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.remove = /** - * @param {?=} index - * @return {?} - */ - function (index) { - var /** @type {?} */ viewData = detachEmbeddedView(this._data, index); - if (viewData) { - Services.destroyView(viewData); - } - }; - /** - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.detach = /** - * @param {?=} index - * @return {?} - */ - function (index) { - var /** @type {?} */ view = detachEmbeddedView(this._data, index); - return view ? new ViewRef_(view) : null; - }; - return ViewContainerRef_; -}()); -/** - * @param {?} view - * @return {?} - */ -function createChangeDetectorRef(view) { - return new ViewRef_(view); -} -var ViewRef_ = (function () { - function ViewRef_(_view) { - this._view = _view; - this._viewContainerRef = null; - this._appRef = null; - } - Object.defineProperty(ViewRef_.prototype, "rootNodes", { - get: /** - * @return {?} - */ - function () { return rootRenderNodes(this._view); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewRef_.prototype, "context", { - get: /** - * @return {?} - */ - function () { return this._view.context; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewRef_.prototype, "destroyed", { - get: /** - * @return {?} - */ - function () { return (this._view.state & 128 /* Destroyed */) !== 0; }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ViewRef_.prototype.markForCheck = /** - * @return {?} - */ - function () { markParentViewsForCheck(this._view); }; - /** - * @return {?} - */ - ViewRef_.prototype.detach = /** - * @return {?} - */ - function () { this._view.state &= ~4 /* Attached */; }; - /** - * @return {?} - */ - ViewRef_.prototype.detectChanges = /** - * @return {?} - */ - function () { - var /** @type {?} */ fs = this._view.root.rendererFactory; - if (fs.begin) { - fs.begin(); - } - Services.checkAndUpdateView(this._view); - if (fs.end) { - fs.end(); - } - }; - /** - * @return {?} - */ - ViewRef_.prototype.checkNoChanges = /** - * @return {?} - */ - function () { Services.checkNoChangesView(this._view); }; - /** - * @return {?} - */ - ViewRef_.prototype.reattach = /** - * @return {?} - */ - function () { this._view.state |= 4 /* Attached */; }; - /** - * @param {?} callback - * @return {?} - */ - ViewRef_.prototype.onDestroy = /** - * @param {?} callback - * @return {?} - */ - function (callback) { - if (!this._view.disposables) { - this._view.disposables = []; - } - this._view.disposables.push(/** @type {?} */ (callback)); - }; - /** - * @return {?} - */ - ViewRef_.prototype.destroy = /** - * @return {?} - */ - function () { - if (this._appRef) { - this._appRef.detachView(this); - } - else if (this._viewContainerRef) { - this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)); - } - Services.destroyView(this._view); - }; - /** - * @return {?} - */ - ViewRef_.prototype.detachFromAppRef = /** - * @return {?} - */ - function () { - this._appRef = null; - renderDetachView(this._view); - Services.dirtyParentQueries(this._view); - }; - /** - * @param {?} appRef - * @return {?} - */ - ViewRef_.prototype.attachToAppRef = /** - * @param {?} appRef - * @return {?} - */ - function (appRef) { - if (this._viewContainerRef) { - throw new Error('This view is already attached to a ViewContainer!'); - } - this._appRef = appRef; - }; - /** - * @param {?} vcRef - * @return {?} - */ - ViewRef_.prototype.attachToViewContainerRef = /** - * @param {?} vcRef - * @return {?} - */ - function (vcRef) { - if (this._appRef) { - throw new Error('This view is already attached directly to the ApplicationRef!'); - } - this._viewContainerRef = vcRef; - }; - return ViewRef_; -}()); -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createTemplateData(view, def) { - return new TemplateRef_(view, def); -} -var TemplateRef_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(TemplateRef_, _super); - function TemplateRef_(_parentView, _def) { - var _this = _super.call(this) || this; - _this._parentView = _parentView; - _this._def = _def; - return _this; - } - /** - * @param {?} context - * @return {?} - */ - TemplateRef_.prototype.createEmbeddedView = /** - * @param {?} context - * @return {?} - */ - function (context) { - return new ViewRef_(Services.createEmbeddedView(this._parentView, this._def, /** @type {?} */ ((/** @type {?} */ ((this._def.element)).template)), context)); - }; - Object.defineProperty(TemplateRef_.prototype, "elementRef", { - get: /** - * @return {?} - */ - function () { - return new ElementRef(asElementData(this._parentView, this._def.nodeIndex).renderElement); - }, - enumerable: true, - configurable: true - }); - return TemplateRef_; -}(TemplateRef)); -/** - * @param {?} view - * @param {?} elDef - * @return {?} - */ -function createInjector(view, elDef) { - return new Injector_(view, elDef); -} -var Injector_ = (function () { - function Injector_(view, elDef) { - this.view = view; - this.elDef = elDef; - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - Injector_.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - var /** @type {?} */ allowPrivateServices = this.elDef ? (this.elDef.flags & 33554432 /* ComponentView */) !== 0 : false; - return Services.resolveDep(this.view, this.elDef, allowPrivateServices, { flags: 0 /* None */, token: token, tokenKey: tokenKey(token) }, notFoundValue); - }; - return Injector_; -}()); -/** - * @param {?} view - * @param {?} index - * @return {?} - */ -function nodeValue(view, index) { - var /** @type {?} */ def = view.def.nodes[index]; - if (def.flags & 1 /* TypeElement */) { - var /** @type {?} */ elData = asElementData(view, def.nodeIndex); - return /** @type {?} */ ((def.element)).template ? elData.template : elData.renderElement; - } - else if (def.flags & 2 /* TypeText */) { - return asTextData(view, def.nodeIndex).renderText; - } - else if (def.flags & (20224 /* CatProvider */ | 16 /* TypePipe */)) { - return asProviderData(view, def.nodeIndex).instance; - } - throw new Error("Illegal state: read nodeValue for node index " + index); -} -/** - * @param {?} view - * @return {?} - */ -function createRendererV1(view) { - return new RendererAdapter(view.renderer); -} -var RendererAdapter = (function () { - function RendererAdapter(delegate) { - this.delegate = delegate; - } - /** - * @param {?} selectorOrNode - * @return {?} - */ - RendererAdapter.prototype.selectRootElement = /** - * @param {?} selectorOrNode - * @return {?} - */ - function (selectorOrNode) { - return this.delegate.selectRootElement(selectorOrNode); - }; - /** - * @param {?} parent - * @param {?} namespaceAndName - * @return {?} - */ - RendererAdapter.prototype.createElement = /** - * @param {?} parent - * @param {?} namespaceAndName - * @return {?} - */ - function (parent, namespaceAndName) { - var _a = splitNamespace(namespaceAndName), ns = _a[0], name = _a[1]; - var /** @type {?} */ el = this.delegate.createElement(name, ns); - if (parent) { - this.delegate.appendChild(parent, el); - } - return el; - }; - /** - * @param {?} hostElement - * @return {?} - */ - RendererAdapter.prototype.createViewRoot = /** - * @param {?} hostElement - * @return {?} - */ - function (hostElement) { return hostElement; }; - /** - * @param {?} parentElement - * @return {?} - */ - RendererAdapter.prototype.createTemplateAnchor = /** - * @param {?} parentElement - * @return {?} - */ - function (parentElement) { - var /** @type {?} */ comment = this.delegate.createComment(''); - if (parentElement) { - this.delegate.appendChild(parentElement, comment); - } - return comment; - }; - /** - * @param {?} parentElement - * @param {?} value - * @return {?} - */ - RendererAdapter.prototype.createText = /** - * @param {?} parentElement - * @param {?} value - * @return {?} - */ - function (parentElement, value) { - var /** @type {?} */ node = this.delegate.createText(value); - if (parentElement) { - this.delegate.appendChild(parentElement, node); - } - return node; - }; - /** - * @param {?} parentElement - * @param {?} nodes - * @return {?} - */ - RendererAdapter.prototype.projectNodes = /** - * @param {?} parentElement - * @param {?} nodes - * @return {?} - */ - function (parentElement, nodes) { - for (var /** @type {?} */ i = 0; i < nodes.length; i++) { - this.delegate.appendChild(parentElement, nodes[i]); - } - }; - /** - * @param {?} node - * @param {?} viewRootNodes - * @return {?} - */ - RendererAdapter.prototype.attachViewAfter = /** - * @param {?} node - * @param {?} viewRootNodes - * @return {?} - */ - function (node, viewRootNodes) { - var /** @type {?} */ parentElement = this.delegate.parentNode(node); - var /** @type {?} */ nextSibling = this.delegate.nextSibling(node); - for (var /** @type {?} */ i = 0; i < viewRootNodes.length; i++) { - this.delegate.insertBefore(parentElement, viewRootNodes[i], nextSibling); - } - }; - /** - * @param {?} viewRootNodes - * @return {?} - */ - RendererAdapter.prototype.detachView = /** - * @param {?} viewRootNodes - * @return {?} - */ - function (viewRootNodes) { - for (var /** @type {?} */ i = 0; i < viewRootNodes.length; i++) { - var /** @type {?} */ node = viewRootNodes[i]; - var /** @type {?} */ parentElement = this.delegate.parentNode(node); - this.delegate.removeChild(parentElement, node); - } - }; - /** - * @param {?} hostElement - * @param {?} viewAllNodes - * @return {?} - */ - RendererAdapter.prototype.destroyView = /** - * @param {?} hostElement - * @param {?} viewAllNodes - * @return {?} - */ - function (hostElement, viewAllNodes) { - for (var /** @type {?} */ i = 0; i < viewAllNodes.length; i++) { - /** @type {?} */ ((this.delegate.destroyNode))(viewAllNodes[i]); - } - }; - /** - * @param {?} renderElement - * @param {?} name - * @param {?} callback - * @return {?} - */ - RendererAdapter.prototype.listen = /** - * @param {?} renderElement - * @param {?} name - * @param {?} callback - * @return {?} - */ - function (renderElement, name, callback) { - return this.delegate.listen(renderElement, name, /** @type {?} */ (callback)); - }; - /** - * @param {?} target - * @param {?} name - * @param {?} callback - * @return {?} - */ - RendererAdapter.prototype.listenGlobal = /** - * @param {?} target - * @param {?} name - * @param {?} callback - * @return {?} - */ - function (target, name, callback) { - return this.delegate.listen(target, name, /** @type {?} */ (callback)); - }; - /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - RendererAdapter.prototype.setElementProperty = /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - function (renderElement, propertyName, propertyValue) { - this.delegate.setProperty(renderElement, propertyName, propertyValue); - }; - /** - * @param {?} renderElement - * @param {?} namespaceAndName - * @param {?} attributeValue - * @return {?} - */ - RendererAdapter.prototype.setElementAttribute = /** - * @param {?} renderElement - * @param {?} namespaceAndName - * @param {?} attributeValue - * @return {?} - */ - function (renderElement, namespaceAndName, attributeValue) { - var _a = splitNamespace(namespaceAndName), ns = _a[0], name = _a[1]; - if (attributeValue != null) { - this.delegate.setAttribute(renderElement, name, attributeValue, ns); - } - else { - this.delegate.removeAttribute(renderElement, name, ns); - } - }; - /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - RendererAdapter.prototype.setBindingDebugInfo = /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - function (renderElement, propertyName, propertyValue) { }; - /** - * @param {?} renderElement - * @param {?} className - * @param {?} isAdd - * @return {?} - */ - RendererAdapter.prototype.setElementClass = /** - * @param {?} renderElement - * @param {?} className - * @param {?} isAdd - * @return {?} - */ - function (renderElement, className, isAdd) { - if (isAdd) { - this.delegate.addClass(renderElement, className); - } - else { - this.delegate.removeClass(renderElement, className); - } - }; - /** - * @param {?} renderElement - * @param {?} styleName - * @param {?} styleValue - * @return {?} - */ - RendererAdapter.prototype.setElementStyle = /** - * @param {?} renderElement - * @param {?} styleName - * @param {?} styleValue - * @return {?} - */ - function (renderElement, styleName, styleValue) { - if (styleValue != null) { - this.delegate.setStyle(renderElement, styleName, styleValue); - } - else { - this.delegate.removeStyle(renderElement, styleName); - } - }; - /** - * @param {?} renderElement - * @param {?} methodName - * @param {?} args - * @return {?} - */ - RendererAdapter.prototype.invokeElementMethod = /** - * @param {?} renderElement - * @param {?} methodName - * @param {?} args - * @return {?} - */ - function (renderElement, methodName, args) { - (/** @type {?} */ (renderElement))[methodName].apply(renderElement, args); - }; - /** - * @param {?} renderNode - * @param {?} text - * @return {?} - */ - RendererAdapter.prototype.setText = /** - * @param {?} renderNode - * @param {?} text - * @return {?} - */ - function (renderNode$$1, text) { this.delegate.setValue(renderNode$$1, text); }; - /** - * @return {?} - */ - RendererAdapter.prototype.animate = /** - * @return {?} - */ - function () { throw new Error('Renderer.animate is no longer supported!'); }; - return RendererAdapter; -}()); -/** - * @param {?} moduleType - * @param {?} parent - * @param {?} bootstrapComponents - * @param {?} def - * @return {?} - */ -function createNgModuleRef(moduleType, parent, bootstrapComponents, def) { - return new NgModuleRef_(moduleType, parent, bootstrapComponents, def); -} -var NgModuleRef_ = (function () { - function NgModuleRef_(_moduleType, _parent, _bootstrapComponents, _def) { - this._moduleType = _moduleType; - this._parent = _parent; - this._bootstrapComponents = _bootstrapComponents; - this._def = _def; - this._destroyListeners = []; - this._destroyed = false; - initNgModule(this); - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - NgModuleRef_.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - return resolveNgModuleDep(this, { token: token, tokenKey: tokenKey(token), flags: 0 /* None */ }, notFoundValue); - }; - Object.defineProperty(NgModuleRef_.prototype, "instance", { - get: /** - * @return {?} - */ - function () { return this.get(this._moduleType); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(NgModuleRef_.prototype, "componentFactoryResolver", { - get: /** - * @return {?} - */ - function () { return this.get(ComponentFactoryResolver); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(NgModuleRef_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return this; }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - NgModuleRef_.prototype.destroy = /** - * @return {?} - */ - function () { - if (this._destroyed) { - throw new Error("The ng module " + stringify(this.instance.constructor) + " has already been destroyed."); - } - this._destroyed = true; - callNgModuleLifecycle(this, 131072 /* OnDestroy */); - this._destroyListeners.forEach(function (listener) { return listener(); }); - }; - /** - * @param {?} callback - * @return {?} - */ - NgModuleRef_.prototype.onDestroy = /** - * @param {?} callback - * @return {?} - */ - function (callback) { this._destroyListeners.push(callback); }; - return NgModuleRef_; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var RendererV1TokenKey = tokenKey(Renderer); -var Renderer2TokenKey = tokenKey(Renderer2); -var ElementRefTokenKey = tokenKey(ElementRef); -var ViewContainerRefTokenKey = tokenKey(ViewContainerRef); -var TemplateRefTokenKey = tokenKey(TemplateRef); -var ChangeDetectorRefTokenKey = tokenKey(ChangeDetectorRef); -var InjectorRefTokenKey = tokenKey(Injector); -/** - * @param {?} checkIndex - * @param {?} flags - * @param {?} matchedQueries - * @param {?} childCount - * @param {?} ctor - * @param {?} deps - * @param {?=} props - * @param {?=} outputs - * @return {?} - */ -function directiveDef(checkIndex, flags, matchedQueries, childCount, ctor, deps, props, outputs) { - var /** @type {?} */ bindings = []; - if (props) { - for (var /** @type {?} */ prop in props) { - var _a = props[prop], bindingIndex = _a[0], nonMinifiedName = _a[1]; - bindings[bindingIndex] = { - flags: 8 /* TypeProperty */, - name: prop, nonMinifiedName: nonMinifiedName, - ns: null, - securityContext: null, - suffix: null - }; - } - } - var /** @type {?} */ outputDefs = []; - if (outputs) { - for (var /** @type {?} */ propName in outputs) { - outputDefs.push({ type: 1 /* DirectiveOutput */, propName: propName, target: null, eventName: outputs[propName] }); - } - } - flags |= 16384 /* TypeDirective */; - return _def(checkIndex, flags, matchedQueries, childCount, ctor, ctor, deps, bindings, outputDefs); -} -/** - * @param {?} flags - * @param {?} ctor - * @param {?} deps - * @return {?} - */ -function pipeDef(flags, ctor, deps) { - flags |= 16 /* TypePipe */; - return _def(-1, flags, null, 0, ctor, ctor, deps); -} -/** - * @param {?} flags - * @param {?} matchedQueries - * @param {?} token - * @param {?} value - * @param {?} deps - * @return {?} - */ -function providerDef(flags, matchedQueries, token, value, deps) { - return _def(-1, flags, matchedQueries, 0, token, value, deps); -} -/** - * @param {?} checkIndex - * @param {?} flags - * @param {?} matchedQueriesDsl - * @param {?} childCount - * @param {?} token - * @param {?} value - * @param {?} deps - * @param {?=} bindings - * @param {?=} outputs - * @return {?} - */ -function _def(checkIndex, flags, matchedQueriesDsl, childCount, token, value, deps, bindings, outputs) { - var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds; - if (!outputs) { - outputs = []; - } - if (!bindings) { - bindings = []; - } - // Need to resolve forwardRefs as e.g. for `useValue` we - // lowered the expression and then stopped evaluating it, - // i.e. also didn't unwrap it. - value = resolveForwardRef(value); - var /** @type {?} */ depDefs = splitDepsDsl(deps); - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, matchedQueries: matchedQueries, matchedQueryIds: matchedQueryIds, references: references, - ngContentIndex: -1, childCount: childCount, bindings: bindings, - bindingFlags: calcBindingFlags(bindings), outputs: outputs, - element: null, - provider: { token: token, value: value, deps: depDefs }, - text: null, - query: null, - ngContent: null - }; -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createProviderInstance(view, def) { - return _createProviderInstance(view, def); -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createPipeInstance(view, def) { - // deps are looked up from component. - var /** @type {?} */ compView = view; - while (compView.parent && !isComponentView(compView)) { - compView = compView.parent; - } - // pipes can see the private services of the component - var /** @type {?} */ allowPrivateServices = true; - // pipes are always eager and classes! - return createClass(/** @type {?} */ ((compView.parent)), /** @type {?} */ ((viewParentEl(compView))), allowPrivateServices, /** @type {?} */ ((def.provider)).value, /** @type {?} */ ((def.provider)).deps); -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createDirectiveInstance(view, def) { - // components can see other private services, other directives can't. - var /** @type {?} */ allowPrivateServices = (def.flags & 32768 /* Component */) > 0; - // directives are always eager and classes! - var /** @type {?} */ instance = createClass(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((def.provider)).value, /** @type {?} */ ((def.provider)).deps); - if (def.outputs.length) { - for (var /** @type {?} */ i = 0; i < def.outputs.length; i++) { - var /** @type {?} */ output = def.outputs[i]; - var /** @type {?} */ subscription = instance[/** @type {?} */ ((output.propName))].subscribe(eventHandlerClosure(view, /** @type {?} */ ((def.parent)).nodeIndex, output.eventName)); /** @type {?} */ - ((view.disposables))[def.outputIndex + i] = subscription.unsubscribe.bind(subscription); - } - } - return instance; -} -/** - * @param {?} view - * @param {?} index - * @param {?} eventName - * @return {?} - */ -function eventHandlerClosure(view, index, eventName) { - return function (event) { return dispatchEvent(view, index, eventName, event); }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdateDirectiveInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ providerData = asProviderData(view, def.nodeIndex); - var /** @type {?} */ directive = providerData.instance; - var /** @type {?} */ changed = false; - var /** @type {?} */ changes = /** @type {?} */ ((undefined)); - var /** @type {?} */ bindLen = def.bindings.length; - if (bindLen > 0 && checkBinding(view, def, 0, v0)) { - changed = true; - changes = updateProp(view, providerData, def, 0, v0, changes); - } - if (bindLen > 1 && checkBinding(view, def, 1, v1)) { - changed = true; - changes = updateProp(view, providerData, def, 1, v1, changes); - } - if (bindLen > 2 && checkBinding(view, def, 2, v2)) { - changed = true; - changes = updateProp(view, providerData, def, 2, v2, changes); - } - if (bindLen > 3 && checkBinding(view, def, 3, v3)) { - changed = true; - changes = updateProp(view, providerData, def, 3, v3, changes); - } - if (bindLen > 4 && checkBinding(view, def, 4, v4)) { - changed = true; - changes = updateProp(view, providerData, def, 4, v4, changes); - } - if (bindLen > 5 && checkBinding(view, def, 5, v5)) { - changed = true; - changes = updateProp(view, providerData, def, 5, v5, changes); - } - if (bindLen > 6 && checkBinding(view, def, 6, v6)) { - changed = true; - changes = updateProp(view, providerData, def, 6, v6, changes); - } - if (bindLen > 7 && checkBinding(view, def, 7, v7)) { - changed = true; - changes = updateProp(view, providerData, def, 7, v7, changes); - } - if (bindLen > 8 && checkBinding(view, def, 8, v8)) { - changed = true; - changes = updateProp(view, providerData, def, 8, v8, changes); - } - if (bindLen > 9 && checkBinding(view, def, 9, v9)) { - changed = true; - changes = updateProp(view, providerData, def, 9, v9, changes); - } - if (changes) { - directive.ngOnChanges(changes); - } - if ((view.state & 2 /* FirstCheck */) && (def.flags & 65536 /* OnInit */)) { - directive.ngOnInit(); - } - if (def.flags & 262144 /* DoCheck */) { - directive.ngDoCheck(); - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdateDirectiveDynamic(view, def, values) { - var /** @type {?} */ providerData = asProviderData(view, def.nodeIndex); - var /** @type {?} */ directive = providerData.instance; - var /** @type {?} */ changed = false; - var /** @type {?} */ changes = /** @type {?} */ ((undefined)); - for (var /** @type {?} */ i = 0; i < values.length; i++) { - if (checkBinding(view, def, i, values[i])) { - changed = true; - changes = updateProp(view, providerData, def, i, values[i], changes); - } - } - if (changes) { - directive.ngOnChanges(changes); - } - if ((view.state & 2 /* FirstCheck */) && (def.flags & 65536 /* OnInit */)) { - directive.ngOnInit(); - } - if (def.flags & 262144 /* DoCheck */) { - directive.ngDoCheck(); - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function _createProviderInstance(view, def) { - // private services can see other private services - var /** @type {?} */ allowPrivateServices = (def.flags & 8192 /* PrivateProvider */) > 0; - var /** @type {?} */ providerDef = def.provider; - switch (def.flags & 201347067 /* Types */) { - case 512 /* TypeClassProvider */: - return createClass(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((providerDef)).value, /** @type {?} */ ((providerDef)).deps); - case 1024 /* TypeFactoryProvider */: - return callFactory(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((providerDef)).value, /** @type {?} */ ((providerDef)).deps); - case 2048 /* TypeUseExistingProvider */: - return resolveDep(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((providerDef)).deps[0]); - case 256 /* TypeValueProvider */: - return /** @type {?} */ ((providerDef)).value; - } -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @param {?} ctor - * @param {?} deps - * @return {?} - */ -function createClass(view, elDef, allowPrivateServices, ctor, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return new ctor(); - case 1: - return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0])); - case 2: - return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1])); - case 3: - return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2])); - default: - var /** @type {?} */ depValues = new Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]); - } - return new (ctor.bind.apply(ctor, [void 0].concat(depValues)))(); - } -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @param {?} factory - * @param {?} deps - * @return {?} - */ -function callFactory(view, elDef, allowPrivateServices, factory, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return factory(); - case 1: - return factory(resolveDep(view, elDef, allowPrivateServices, deps[0])); - case 2: - return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1])); - case 3: - return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2])); - default: - var /** @type {?} */ depValues = Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]); - } - return factory.apply(void 0, depValues); - } -} -// This default value is when checking the hierarchy for a token. -// -// It means both: -// - the token is not provided by the current injector, -// - only the element injectors should be checked (ie do not check module injectors -// -// mod1 -// / -// el1 mod2 -// \ / -// el2 -// -// When requesting el2.injector.get(token), we should check in the following order and return the -// first found value: -// - el2.injector.get(token, default) -// - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module -// - mod2.injector.get(token, default) -var NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {}; -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @param {?} depDef - * @param {?=} notFoundValue - * @return {?} - */ -function resolveDep(view, elDef, allowPrivateServices, depDef, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - if (depDef.flags & 8 /* Value */) { - return depDef.token; - } - var /** @type {?} */ startView = view; - if (depDef.flags & 2 /* Optional */) { - notFoundValue = null; - } - var /** @type {?} */ tokenKey$$1 = depDef.tokenKey; - if (tokenKey$$1 === ChangeDetectorRefTokenKey) { - // directives on the same element as a component should be able to control the change detector - // of that component as well. - allowPrivateServices = !!(elDef && /** @type {?} */ ((elDef.element)).componentView); - } - if (elDef && (depDef.flags & 1 /* SkipSelf */)) { - allowPrivateServices = false; - elDef = /** @type {?} */ ((elDef.parent)); - } - while (view) { - if (elDef) { - switch (tokenKey$$1) { - case RendererV1TokenKey: { - var /** @type {?} */ compView = findCompView(view, elDef, allowPrivateServices); - return createRendererV1(compView); - } - case Renderer2TokenKey: { - var /** @type {?} */ compView = findCompView(view, elDef, allowPrivateServices); - return compView.renderer; - } - case ElementRefTokenKey: - return new ElementRef(asElementData(view, elDef.nodeIndex).renderElement); - case ViewContainerRefTokenKey: - return asElementData(view, elDef.nodeIndex).viewContainer; - case TemplateRefTokenKey: { - if (/** @type {?} */ ((elDef.element)).template) { - return asElementData(view, elDef.nodeIndex).template; - } - break; - } - case ChangeDetectorRefTokenKey: { - var /** @type {?} */ cdView = findCompView(view, elDef, allowPrivateServices); - return createChangeDetectorRef(cdView); - } - case InjectorRefTokenKey: - return createInjector(view, elDef); - default: - var /** @type {?} */ providerDef_1 = /** @type {?} */ (((allowPrivateServices ? /** @type {?} */ ((elDef.element)).allProviders : /** @type {?} */ ((elDef.element)).publicProviders)))[tokenKey$$1]; - if (providerDef_1) { - var /** @type {?} */ providerData = asProviderData(view, providerDef_1.nodeIndex); - if (!providerData) { - providerData = { instance: _createProviderInstance(view, providerDef_1) }; - view.nodes[providerDef_1.nodeIndex] = /** @type {?} */ (providerData); - } - return providerData.instance; - } - } - } - allowPrivateServices = isComponentView(view); - elDef = /** @type {?} */ ((viewParentEl(view))); - view = /** @type {?} */ ((view.parent)); - } - var /** @type {?} */ value = startView.root.injector.get(depDef.token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR); - if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || - notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) { - // Return the value from the root element injector when - // - it provides it - // (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) - // - the module injector should not be checked - // (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) - return value; - } - return startView.root.ngModule.injector.get(depDef.token, notFoundValue); -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @return {?} - */ -function findCompView(view, elDef, allowPrivateServices) { - var /** @type {?} */ compView; - if (allowPrivateServices) { - compView = asElementData(view, elDef.nodeIndex).componentView; - } - else { - compView = view; - while (compView.parent && !isComponentView(compView)) { - compView = compView.parent; - } - } - return compView; -} -/** - * @param {?} view - * @param {?} providerData - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @param {?} changes - * @return {?} - */ -function updateProp(view, providerData, def, bindingIdx, value, changes) { - if (def.flags & 32768 /* Component */) { - var /** @type {?} */ compView = asElementData(view, /** @type {?} */ ((def.parent)).nodeIndex).componentView; - if (compView.def.flags & 2 /* OnPush */) { - compView.state |= 8 /* ChecksEnabled */; - } - } - var /** @type {?} */ binding = def.bindings[bindingIdx]; - var /** @type {?} */ propName = /** @type {?} */ ((binding.name)); - // Note: This is still safe with Closure Compiler as - // the user passed in the property name as an object has to `providerDef`, - // so Closure Compiler will have renamed the property correctly already. - providerData.instance[propName] = value; - if (def.flags & 524288 /* OnChanges */) { - changes = changes || {}; - var /** @type {?} */ oldValue = view.oldValues[def.bindingIndex + bindingIdx]; - if (oldValue instanceof WrappedValue) { - oldValue = oldValue.wrapped; - } - var /** @type {?} */ binding_1 = def.bindings[bindingIdx]; - changes[/** @type {?} */ ((binding_1.nonMinifiedName))] = - new SimpleChange(oldValue, value, (view.state & 2 /* FirstCheck */) !== 0); - } - view.oldValues[def.bindingIndex + bindingIdx] = value; - return changes; -} -/** - * @param {?} view - * @param {?} lifecycles - * @return {?} - */ -function callLifecycleHooksChildrenFirst(view, lifecycles) { - if (!(view.def.nodeFlags & lifecycles)) { - return; - } - var /** @type {?} */ nodes = view.def.nodes; - for (var /** @type {?} */ i = 0; i < nodes.length; i++) { - var /** @type {?} */ nodeDef = nodes[i]; - var /** @type {?} */ parent_1 = nodeDef.parent; - if (!parent_1 && nodeDef.flags & lifecycles) { - // matching root node (e.g. a pipe) - callProviderLifecycles(view, i, nodeDef.flags & lifecycles); - } - if ((nodeDef.childFlags & lifecycles) === 0) { - // no child matches one of the lifecycles - i += nodeDef.childCount; - } - while (parent_1 && (parent_1.flags & 1 /* TypeElement */) && - i === parent_1.nodeIndex + parent_1.childCount) { - // last child of an element - if (parent_1.directChildFlags & lifecycles) { - callElementProvidersLifecycles(view, parent_1, lifecycles); - } - parent_1 = parent_1.parent; - } - } -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} lifecycles - * @return {?} - */ -function callElementProvidersLifecycles(view, elDef, lifecycles) { - for (var /** @type {?} */ i = elDef.nodeIndex + 1; i <= elDef.nodeIndex + elDef.childCount; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if (nodeDef.flags & lifecycles) { - callProviderLifecycles(view, i, nodeDef.flags & lifecycles); - } - // only visit direct children - i += nodeDef.childCount; - } -} -/** - * @param {?} view - * @param {?} index - * @param {?} lifecycles - * @return {?} - */ -function callProviderLifecycles(view, index, lifecycles) { - var /** @type {?} */ providerData = asProviderData(view, index); - if (!providerData) { - return; - } - var /** @type {?} */ provider = providerData.instance; - if (!provider) { - return; - } - Services.setCurrentNode(view, index); - if (lifecycles & 1048576 /* AfterContentInit */) { - provider.ngAfterContentInit(); - } - if (lifecycles & 2097152 /* AfterContentChecked */) { - provider.ngAfterContentChecked(); - } - if (lifecycles & 4194304 /* AfterViewInit */) { - provider.ngAfterViewInit(); - } - if (lifecycles & 8388608 /* AfterViewChecked */) { - provider.ngAfterViewChecked(); - } - if (lifecycles & 131072 /* OnDestroy */) { - provider.ngOnDestroy(); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} flags - * @param {?} id - * @param {?} bindings - * @return {?} - */ -function queryDef(flags, id, bindings) { - var /** @type {?} */ bindingDefs = []; - for (var /** @type {?} */ propName in bindings) { - var /** @type {?} */ bindingType = bindings[propName]; - bindingDefs.push({ propName: propName, bindingType: bindingType }); - } - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - // TODO(vicb): check - checkIndex: -1, flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - ngContentIndex: -1, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, - childCount: 0, - bindings: [], - bindingFlags: 0, - outputs: [], - element: null, - provider: null, - text: null, - query: { id: id, filterId: filterQueryId(id), bindings: bindingDefs }, - ngContent: null - }; -} -/** - * @return {?} - */ -function createQuery() { - return new QueryList(); -} -/** - * @param {?} view - * @return {?} - */ -function dirtyParentQueries(view) { - var /** @type {?} */ queryIds = view.def.nodeMatchedQueries; - while (view.parent && isEmbeddedView(view)) { - var /** @type {?} */ tplDef = /** @type {?} */ ((view.parentNodeDef)); - view = view.parent; - // content queries - var /** @type {?} */ end = tplDef.nodeIndex + tplDef.childCount; - for (var /** @type {?} */ i = 0; i <= end; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & 67108864 /* TypeContentQuery */) && - (nodeDef.flags & 536870912 /* DynamicQuery */) && - (/** @type {?} */ ((nodeDef.query)).filterId & queryIds) === /** @type {?} */ ((nodeDef.query)).filterId) { - asQueryList(view, i).setDirty(); - } - if ((nodeDef.flags & 1 /* TypeElement */ && i + nodeDef.childCount < tplDef.nodeIndex) || - !(nodeDef.childFlags & 67108864 /* TypeContentQuery */) || - !(nodeDef.childFlags & 536870912 /* DynamicQuery */)) { - // skip elements that don't contain the template element or no query. - i += nodeDef.childCount; - } - } - } - // view queries - if (view.def.nodeFlags & 134217728 /* TypeViewQuery */) { - for (var /** @type {?} */ i = 0; i < view.def.nodes.length; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & 134217728 /* TypeViewQuery */) && (nodeDef.flags & 536870912 /* DynamicQuery */)) { - asQueryList(view, i).setDirty(); - } - // only visit the root nodes - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @return {?} - */ -function checkAndUpdateQuery(view, nodeDef) { - var /** @type {?} */ queryList = asQueryList(view, nodeDef.nodeIndex); - if (!queryList.dirty) { - return; - } - var /** @type {?} */ directiveInstance; - var /** @type {?} */ newValues = /** @type {?} */ ((undefined)); - if (nodeDef.flags & 67108864 /* TypeContentQuery */) { - var /** @type {?} */ elementDef = /** @type {?} */ ((/** @type {?} */ ((nodeDef.parent)).parent)); - newValues = calcQueryValues(view, elementDef.nodeIndex, elementDef.nodeIndex + elementDef.childCount, /** @type {?} */ ((nodeDef.query)), []); - directiveInstance = asProviderData(view, /** @type {?} */ ((nodeDef.parent)).nodeIndex).instance; - } - else if (nodeDef.flags & 134217728 /* TypeViewQuery */) { - newValues = calcQueryValues(view, 0, view.def.nodes.length - 1, /** @type {?} */ ((nodeDef.query)), []); - directiveInstance = view.component; - } - queryList.reset(newValues); - var /** @type {?} */ bindings = /** @type {?} */ ((nodeDef.query)).bindings; - var /** @type {?} */ notify = false; - for (var /** @type {?} */ i = 0; i < bindings.length; i++) { - var /** @type {?} */ binding = bindings[i]; - var /** @type {?} */ boundValue = void 0; - switch (binding.bindingType) { - case 0 /* First */: - boundValue = queryList.first; - break; - case 1 /* All */: - boundValue = queryList; - notify = true; - break; - } - directiveInstance[binding.propName] = boundValue; - } - if (notify) { - queryList.notifyOnChanges(); - } -} -/** - * @param {?} view - * @param {?} startIndex - * @param {?} endIndex - * @param {?} queryDef - * @param {?} values - * @return {?} - */ -function calcQueryValues(view, startIndex, endIndex, queryDef, values) { - for (var /** @type {?} */ i = startIndex; i <= endIndex; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - var /** @type {?} */ valueType = nodeDef.matchedQueries[queryDef.id]; - if (valueType != null) { - values.push(getQueryValue(view, nodeDef, valueType)); - } - if (nodeDef.flags & 1 /* TypeElement */ && /** @type {?} */ ((nodeDef.element)).template && - (/** @type {?} */ ((/** @type {?} */ ((nodeDef.element)).template)).nodeMatchedQueries & queryDef.filterId) === - queryDef.filterId) { - var /** @type {?} */ elementData = asElementData(view, i); - // check embedded views that were attached at the place of their template, - // but process child nodes first if some match the query (see issue #16568) - if ((nodeDef.childMatchedQueries & queryDef.filterId) === queryDef.filterId) { - calcQueryValues(view, i + 1, i + nodeDef.childCount, queryDef, values); - i += nodeDef.childCount; - } - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - for (var /** @type {?} */ k = 0; k < embeddedViews.length; k++) { - var /** @type {?} */ embeddedView = embeddedViews[k]; - var /** @type {?} */ dvc = declaredViewContainer(embeddedView); - if (dvc && dvc === elementData) { - calcQueryValues(embeddedView, 0, embeddedView.def.nodes.length - 1, queryDef, values); - } - } - } - var /** @type {?} */ projectedViews = elementData.template._projectedViews; - if (projectedViews) { - for (var /** @type {?} */ k = 0; k < projectedViews.length; k++) { - var /** @type {?} */ projectedView = projectedViews[k]; - calcQueryValues(projectedView, 0, projectedView.def.nodes.length - 1, queryDef, values); - } - } - } - if ((nodeDef.childMatchedQueries & queryDef.filterId) !== queryDef.filterId) { - // if no child matches the query, skip the children. - i += nodeDef.childCount; - } - } - return values; -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} queryValueType - * @return {?} - */ -function getQueryValue(view, nodeDef, queryValueType) { - if (queryValueType != null) { - // a match - switch (queryValueType) { - case 1 /* RenderElement */: - return asElementData(view, nodeDef.nodeIndex).renderElement; - case 0 /* ElementRef */: - return new ElementRef(asElementData(view, nodeDef.nodeIndex).renderElement); - case 2 /* TemplateRef */: - return asElementData(view, nodeDef.nodeIndex).template; - case 3 /* ViewContainerRef */: - return asElementData(view, nodeDef.nodeIndex).viewContainer; - case 4 /* Provider */: - return asProviderData(view, nodeDef.nodeIndex).instance; - } - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} ngContentIndex - * @param {?} index - * @return {?} - */ -function ngContentDef(ngContentIndex, index) { - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: -1, - flags: 8 /* TypeNgContent */, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, ngContentIndex: ngContentIndex, - childCount: 0, - bindings: [], - bindingFlags: 0, - outputs: [], - element: null, - provider: null, - text: null, - query: null, - ngContent: { index: index } - }; -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function appendNgContent(view, renderHost, def) { - var /** @type {?} */ parentEl = getParentRenderElement(view, renderHost, def); - if (!parentEl) { - // Nothing to do if there is no parent element. - return; - } - var /** @type {?} */ ngContentIndex = /** @type {?} */ ((def.ngContent)).index; - visitProjectedRenderNodes(view, ngContentIndex, 1 /* AppendChild */, parentEl, null, undefined); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} checkIndex - * @param {?} argCount - * @return {?} - */ -function purePipeDef(checkIndex, argCount) { - // argCount + 1 to include the pipe as first arg - return _pureExpressionDef(128 /* TypePurePipe */, checkIndex, new Array(argCount + 1)); -} -/** - * @param {?} checkIndex - * @param {?} argCount - * @return {?} - */ -function pureArrayDef(checkIndex, argCount) { - return _pureExpressionDef(32 /* TypePureArray */, checkIndex, new Array(argCount)); -} -/** - * @param {?} checkIndex - * @param {?} propToIndex - * @return {?} - */ -function pureObjectDef(checkIndex, propToIndex) { - var /** @type {?} */ keys = Object.keys(propToIndex); - var /** @type {?} */ nbKeys = keys.length; - var /** @type {?} */ propertyNames = new Array(nbKeys); - for (var /** @type {?} */ i = 0; i < nbKeys; i++) { - var /** @type {?} */ key = keys[i]; - var /** @type {?} */ index = propToIndex[key]; - propertyNames[index] = key; - } - return _pureExpressionDef(64 /* TypePureObject */, checkIndex, propertyNames); -} -/** - * @param {?} flags - * @param {?} checkIndex - * @param {?} propertyNames - * @return {?} - */ -function _pureExpressionDef(flags, checkIndex, propertyNames) { - var /** @type {?} */ bindings = new Array(propertyNames.length); - for (var /** @type {?} */ i = 0; i < propertyNames.length; i++) { - var /** @type {?} */ prop = propertyNames[i]; - bindings[i] = { - flags: 8 /* TypeProperty */, - name: prop, - ns: null, - nonMinifiedName: prop, - securityContext: null, - suffix: null - }; - } - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, - ngContentIndex: -1, - childCount: 0, bindings: bindings, - bindingFlags: calcBindingFlags(bindings), - outputs: [], - element: null, - provider: null, - text: null, - query: null, - ngContent: null - }; -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createPureExpression(view, def) { - return { value: undefined }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdatePureExpressionInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ changed = false; - var /** @type {?} */ bindLen = bindings.length; - if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) - changed = true; - if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) - changed = true; - if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) - changed = true; - if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) - changed = true; - if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) - changed = true; - if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) - changed = true; - if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) - changed = true; - if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) - changed = true; - if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) - changed = true; - if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) - changed = true; - if (changed) { - var /** @type {?} */ data = asPureExpressionData(view, def.nodeIndex); - var /** @type {?} */ value = void 0; - switch (def.flags & 201347067 /* Types */) { - case 32 /* TypePureArray */: - value = new Array(bindings.length); - if (bindLen > 0) - value[0] = v0; - if (bindLen > 1) - value[1] = v1; - if (bindLen > 2) - value[2] = v2; - if (bindLen > 3) - value[3] = v3; - if (bindLen > 4) - value[4] = v4; - if (bindLen > 5) - value[5] = v5; - if (bindLen > 6) - value[6] = v6; - if (bindLen > 7) - value[7] = v7; - if (bindLen > 8) - value[8] = v8; - if (bindLen > 9) - value[9] = v9; - break; - case 64 /* TypePureObject */: - value = {}; - if (bindLen > 0) - value[/** @type {?} */ ((bindings[0].name))] = v0; - if (bindLen > 1) - value[/** @type {?} */ ((bindings[1].name))] = v1; - if (bindLen > 2) - value[/** @type {?} */ ((bindings[2].name))] = v2; - if (bindLen > 3) - value[/** @type {?} */ ((bindings[3].name))] = v3; - if (bindLen > 4) - value[/** @type {?} */ ((bindings[4].name))] = v4; - if (bindLen > 5) - value[/** @type {?} */ ((bindings[5].name))] = v5; - if (bindLen > 6) - value[/** @type {?} */ ((bindings[6].name))] = v6; - if (bindLen > 7) - value[/** @type {?} */ ((bindings[7].name))] = v7; - if (bindLen > 8) - value[/** @type {?} */ ((bindings[8].name))] = v8; - if (bindLen > 9) - value[/** @type {?} */ ((bindings[9].name))] = v9; - break; - case 128 /* TypePurePipe */: - var /** @type {?} */ pipe = v0; - switch (bindLen) { - case 1: - value = pipe.transform(v0); - break; - case 2: - value = pipe.transform(v1); - break; - case 3: - value = pipe.transform(v1, v2); - break; - case 4: - value = pipe.transform(v1, v2, v3); - break; - case 5: - value = pipe.transform(v1, v2, v3, v4); - break; - case 6: - value = pipe.transform(v1, v2, v3, v4, v5); - break; - case 7: - value = pipe.transform(v1, v2, v3, v4, v5, v6); - break; - case 8: - value = pipe.transform(v1, v2, v3, v4, v5, v6, v7); - break; - case 9: - value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8); - break; - case 10: - value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8, v9); - break; - } - break; - } - data.value = value; - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdatePureExpressionDynamic(view, def, values) { - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ changed = false; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - // Note: We need to loop over all values, so that - // the old values are updates as well! - if (checkAndUpdateBinding(view, def, i, values[i])) { - changed = true; - } - } - if (changed) { - var /** @type {?} */ data = asPureExpressionData(view, def.nodeIndex); - var /** @type {?} */ value = void 0; - switch (def.flags & 201347067 /* Types */) { - case 32 /* TypePureArray */: - value = values; - break; - case 64 /* TypePureObject */: - value = {}; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - value[/** @type {?} */ ((bindings[i].name))] = values[i]; - } - break; - case 128 /* TypePurePipe */: - var /** @type {?} */ pipe = values[0]; - var /** @type {?} */ params = values.slice(1); - value = pipe.transform.apply(pipe, params); - break; - } - data.value = value; - } - return changed; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} checkIndex - * @param {?} ngContentIndex - * @param {?} staticText - * @return {?} - */ -function textDef(checkIndex, ngContentIndex, staticText) { - var /** @type {?} */ bindings = new Array(staticText.length - 1); - for (var /** @type {?} */ i = 1; i < staticText.length; i++) { - bindings[i - 1] = { - flags: 8 /* TypeProperty */, - name: null, - ns: null, - nonMinifiedName: null, - securityContext: null, - suffix: staticText[i], - }; - } - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: 2 /* TypeText */, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, ngContentIndex: ngContentIndex, - childCount: 0, bindings: bindings, - bindingFlags: 8 /* TypeProperty */, - outputs: [], - element: null, - provider: null, - text: { prefix: staticText[0] }, - query: null, - ngContent: null, - }; -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function createText(view, renderHost, def) { - var /** @type {?} */ renderNode$$1; - var /** @type {?} */ renderer = view.renderer; - renderNode$$1 = renderer.createText(/** @type {?} */ ((def.text)).prefix); - var /** @type {?} */ parentEl = getParentRenderElement(view, renderHost, def); - if (parentEl) { - renderer.appendChild(parentEl, renderNode$$1); - } - return { renderText: renderNode$$1 }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdateTextInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ changed = false; - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ bindLen = bindings.length; - if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) - changed = true; - if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) - changed = true; - if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) - changed = true; - if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) - changed = true; - if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) - changed = true; - if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) - changed = true; - if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) - changed = true; - if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) - changed = true; - if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) - changed = true; - if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) - changed = true; - if (changed) { - var /** @type {?} */ value = /** @type {?} */ ((def.text)).prefix; - if (bindLen > 0) - value += _addInterpolationPart(v0, bindings[0]); - if (bindLen > 1) - value += _addInterpolationPart(v1, bindings[1]); - if (bindLen > 2) - value += _addInterpolationPart(v2, bindings[2]); - if (bindLen > 3) - value += _addInterpolationPart(v3, bindings[3]); - if (bindLen > 4) - value += _addInterpolationPart(v4, bindings[4]); - if (bindLen > 5) - value += _addInterpolationPart(v5, bindings[5]); - if (bindLen > 6) - value += _addInterpolationPart(v6, bindings[6]); - if (bindLen > 7) - value += _addInterpolationPart(v7, bindings[7]); - if (bindLen > 8) - value += _addInterpolationPart(v8, bindings[8]); - if (bindLen > 9) - value += _addInterpolationPart(v9, bindings[9]); - var /** @type {?} */ renderNode$$1 = asTextData(view, def.nodeIndex).renderText; - view.renderer.setValue(renderNode$$1, value); - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdateTextDynamic(view, def, values) { - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ changed = false; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - // Note: We need to loop over all values, so that - // the old values are updates as well! - if (checkAndUpdateBinding(view, def, i, values[i])) { - changed = true; - } - } - if (changed) { - var /** @type {?} */ value = ''; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - value = value + _addInterpolationPart(values[i], bindings[i]); - } - value = /** @type {?} */ ((def.text)).prefix + value; - var /** @type {?} */ renderNode$$1 = asTextData(view, def.nodeIndex).renderText; - view.renderer.setValue(renderNode$$1, value); - } - return changed; -} -/** - * @param {?} value - * @param {?} binding - * @return {?} - */ -function _addInterpolationPart(value, binding) { - var /** @type {?} */ valueStr = value != null ? value.toString() : ''; - return valueStr + binding.suffix; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} flags - * @param {?} nodes - * @param {?=} updateDirectives - * @param {?=} updateRenderer - * @return {?} - */ -function viewDef(flags, nodes, updateDirectives, updateRenderer) { - // clone nodes and set auto calculated values - var /** @type {?} */ viewBindingCount = 0; - var /** @type {?} */ viewDisposableCount = 0; - var /** @type {?} */ viewNodeFlags = 0; - var /** @type {?} */ viewRootNodeFlags = 0; - var /** @type {?} */ viewMatchedQueries = 0; - var /** @type {?} */ currentParent = null; - var /** @type {?} */ currentRenderParent = null; - var /** @type {?} */ currentElementHasPublicProviders = false; - var /** @type {?} */ currentElementHasPrivateProviders = false; - var /** @type {?} */ lastRenderRootNode = null; - for (var /** @type {?} */ i = 0; i < nodes.length; i++) { - var /** @type {?} */ node = nodes[i]; - node.nodeIndex = i; - node.parent = currentParent; - node.bindingIndex = viewBindingCount; - node.outputIndex = viewDisposableCount; - node.renderParent = currentRenderParent; - viewNodeFlags |= node.flags; - viewMatchedQueries |= node.matchedQueryIds; - if (node.element) { - var /** @type {?} */ elDef = node.element; - elDef.publicProviders = - currentParent ? /** @type {?} */ ((currentParent.element)).publicProviders : Object.create(null); - elDef.allProviders = elDef.publicProviders; - // Note: We assume that all providers of an element are before any child element! - currentElementHasPublicProviders = false; - currentElementHasPrivateProviders = false; - if (node.element.template) { - viewMatchedQueries |= node.element.template.nodeMatchedQueries; - } - } - validateNode(currentParent, node, nodes.length); - viewBindingCount += node.bindings.length; - viewDisposableCount += node.outputs.length; - if (!currentRenderParent && (node.flags & 3 /* CatRenderNode */)) { - lastRenderRootNode = node; - } - if (node.flags & 20224 /* CatProvider */) { - if (!currentElementHasPublicProviders) { - currentElementHasPublicProviders = true; /** @type {?} */ - ((/** @type {?} */ ((currentParent)).element)).publicProviders = Object.create(/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders); /** @type {?} */ - ((/** @type {?} */ ((currentParent)).element)).allProviders = /** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders; - } - var /** @type {?} */ isPrivateService = (node.flags & 8192 /* PrivateProvider */) !== 0; - var /** @type {?} */ isComponent = (node.flags & 32768 /* Component */) !== 0; - if (!isPrivateService || isComponent) { - /** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders))[tokenKey(/** @type {?} */ ((node.provider)).token)] = node; - } - else { - if (!currentElementHasPrivateProviders) { - currentElementHasPrivateProviders = true; /** @type {?} */ - ((/** @type {?} */ ((currentParent)).element)).allProviders = Object.create(/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders); - } /** @type {?} */ - ((/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).allProviders))[tokenKey(/** @type {?} */ ((node.provider)).token)] = node; - } - if (isComponent) { - /** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).componentProvider = node; - } - } - if (currentParent) { - currentParent.childFlags |= node.flags; - currentParent.directChildFlags |= node.flags; - currentParent.childMatchedQueries |= node.matchedQueryIds; - if (node.element && node.element.template) { - currentParent.childMatchedQueries |= node.element.template.nodeMatchedQueries; - } - } - else { - viewRootNodeFlags |= node.flags; - } - if (node.childCount > 0) { - currentParent = node; - if (!isNgContainer(node)) { - currentRenderParent = node; - } - } - else { - // When the current node has no children, check if it is the last children of its parent. - // When it is, propagate the flags up. - // The loop is required because an element could be the last transitive children of several - // elements. We loop to either the root or the highest opened element (= with remaining - // children) - while (currentParent && i === currentParent.nodeIndex + currentParent.childCount) { - var /** @type {?} */ newParent = currentParent.parent; - if (newParent) { - newParent.childFlags |= currentParent.childFlags; - newParent.childMatchedQueries |= currentParent.childMatchedQueries; - } - currentParent = newParent; - // We also need to update the render parent & account for ng-container - if (currentParent && isNgContainer(currentParent)) { - currentRenderParent = currentParent.renderParent; - } - else { - currentRenderParent = currentParent; - } - } - } - } - var /** @type {?} */ handleEvent = function (view, nodeIndex, eventName, event) { return /** @type {?} */ ((/** @type {?} */ ((nodes[nodeIndex].element)).handleEvent))(view, eventName, event); }; - return { - // Will be filled later... - factory: null, - nodeFlags: viewNodeFlags, - rootNodeFlags: viewRootNodeFlags, - nodeMatchedQueries: viewMatchedQueries, flags: flags, - nodes: nodes, - updateDirectives: updateDirectives || NOOP, - updateRenderer: updateRenderer || NOOP, handleEvent: handleEvent, - bindingCount: viewBindingCount, - outputCount: viewDisposableCount, lastRenderRootNode: lastRenderRootNode - }; -} -/** - * @param {?} node - * @return {?} - */ -function isNgContainer(node) { - return (node.flags & 1 /* TypeElement */) !== 0 && /** @type {?} */ ((node.element)).name === null; -} -/** - * @param {?} parent - * @param {?} node - * @param {?} nodeCount - * @return {?} - */ -function validateNode(parent, node, nodeCount) { - var /** @type {?} */ template = node.element && node.element.template; - if (template) { - if (!template.lastRenderRootNode) { - throw new Error("Illegal State: Embedded templates without nodes are not allowed!"); - } - if (template.lastRenderRootNode && - template.lastRenderRootNode.flags & 16777216 /* EmbeddedViews */) { - throw new Error("Illegal State: Last root node of a template can't have embedded views, at index " + node.nodeIndex + "!"); - } - } - if (node.flags & 20224 /* CatProvider */) { - var /** @type {?} */ parentFlags = parent ? parent.flags : 0; - if ((parentFlags & 1 /* TypeElement */) === 0) { - throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index " + node.nodeIndex + "!"); - } - } - if (node.query) { - if (node.flags & 67108864 /* TypeContentQuery */ && - (!parent || (parent.flags & 16384 /* TypeDirective */) === 0)) { - throw new Error("Illegal State: Content Query nodes need to be children of directives, at index " + node.nodeIndex + "!"); - } - if (node.flags & 134217728 /* TypeViewQuery */ && parent) { - throw new Error("Illegal State: View Query nodes have to be top level nodes, at index " + node.nodeIndex + "!"); - } - } - if (node.childCount) { - var /** @type {?} */ parentEnd = parent ? parent.nodeIndex + parent.childCount : nodeCount - 1; - if (node.nodeIndex <= parentEnd && node.nodeIndex + node.childCount > parentEnd) { - throw new Error("Illegal State: childCount of node leads outside of parent, at index " + node.nodeIndex + "!"); - } - } -} -/** - * @param {?} parent - * @param {?} anchorDef - * @param {?} viewDef - * @param {?=} context - * @return {?} - */ -function createEmbeddedView(parent, anchorDef$$1, viewDef, context) { - // embedded views are seen as siblings to the anchor, so we need - // to get the parent of the anchor and use it as parentIndex. - var /** @type {?} */ view = createView(parent.root, parent.renderer, parent, anchorDef$$1, viewDef); - initView(view, parent.component, context); - createViewNodes(view); - return view; -} -/** - * @param {?} root - * @param {?} def - * @param {?=} context - * @return {?} - */ -function createRootView(root, def, context) { - var /** @type {?} */ view = createView(root, root.renderer, null, null, def); - initView(view, context, context); - createViewNodes(view); - return view; -} -/** - * @param {?} parentView - * @param {?} nodeDef - * @param {?} viewDef - * @param {?} hostElement - * @return {?} - */ -function createComponentView(parentView, nodeDef, viewDef, hostElement) { - var /** @type {?} */ rendererType = /** @type {?} */ ((nodeDef.element)).componentRendererType; - var /** @type {?} */ compRenderer; - if (!rendererType) { - compRenderer = parentView.root.renderer; - } - else { - compRenderer = parentView.root.rendererFactory.createRenderer(hostElement, rendererType); - } - return createView(parentView.root, compRenderer, parentView, /** @type {?} */ ((nodeDef.element)).componentProvider, viewDef); -} -/** - * @param {?} root - * @param {?} renderer - * @param {?} parent - * @param {?} parentNodeDef - * @param {?} def - * @return {?} - */ -function createView(root, renderer, parent, parentNodeDef, def) { - var /** @type {?} */ nodes = new Array(def.nodes.length); - var /** @type {?} */ disposables = def.outputCount ? new Array(def.outputCount) : null; - var /** @type {?} */ view = { - def: def, - parent: parent, - viewContainerParent: null, parentNodeDef: parentNodeDef, - context: null, - component: null, nodes: nodes, - state: 13 /* CatInit */, root: root, renderer: renderer, - oldValues: new Array(def.bindingCount), disposables: disposables - }; - return view; -} -/** - * @param {?} view - * @param {?} component - * @param {?} context - * @return {?} - */ -function initView(view, component, context) { - view.component = component; - view.context = context; -} -/** - * @param {?} view - * @return {?} - */ -function createViewNodes(view) { - var /** @type {?} */ renderHost; - if (isComponentView(view)) { - var /** @type {?} */ hostDef = view.parentNodeDef; - renderHost = asElementData(/** @type {?} */ ((view.parent)), /** @type {?} */ ((/** @type {?} */ ((hostDef)).parent)).nodeIndex).renderElement; - } - var /** @type {?} */ def = view.def; - var /** @type {?} */ nodes = view.nodes; - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - Services.setCurrentNode(view, i); - var /** @type {?} */ nodeData = void 0; - switch (nodeDef.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - var /** @type {?} */ el = /** @type {?} */ (createElement(view, renderHost, nodeDef)); - var /** @type {?} */ componentView = /** @type {?} */ ((undefined)); - if (nodeDef.flags & 33554432 /* ComponentView */) { - var /** @type {?} */ compViewDef = resolveDefinition(/** @type {?} */ ((/** @type {?} */ ((nodeDef.element)).componentView))); - componentView = Services.createComponentView(view, nodeDef, compViewDef, el); - } - listenToElementOutputs(view, componentView, nodeDef, el); - nodeData = /** @type {?} */ ({ - renderElement: el, - componentView: componentView, - viewContainer: null, - template: /** @type {?} */ ((nodeDef.element)).template ? createTemplateData(view, nodeDef) : undefined - }); - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - nodeData.viewContainer = createViewContainerData(view, nodeDef, nodeData); - } - break; - case 2 /* TypeText */: - nodeData = /** @type {?} */ (createText(view, renderHost, nodeDef)); - break; - case 512 /* TypeClassProvider */: - case 1024 /* TypeFactoryProvider */: - case 2048 /* TypeUseExistingProvider */: - case 256 /* TypeValueProvider */: { - nodeData = nodes[i]; - if (!nodeData && !(nodeDef.flags & 4096 /* LazyProvider */)) { - var /** @type {?} */ instance = createProviderInstance(view, nodeDef); - nodeData = /** @type {?} */ ({ instance: instance }); - } - break; - } - case 16 /* TypePipe */: { - var /** @type {?} */ instance = createPipeInstance(view, nodeDef); - nodeData = /** @type {?} */ ({ instance: instance }); - break; - } - case 16384 /* TypeDirective */: { - nodeData = nodes[i]; - if (!nodeData) { - var /** @type {?} */ instance = createDirectiveInstance(view, nodeDef); - nodeData = /** @type {?} */ ({ instance: instance }); - } - if (nodeDef.flags & 32768 /* Component */) { - var /** @type {?} */ compView = asElementData(view, /** @type {?} */ ((nodeDef.parent)).nodeIndex).componentView; - initView(compView, nodeData.instance, nodeData.instance); - } - break; - } - case 32 /* TypePureArray */: - case 64 /* TypePureObject */: - case 128 /* TypePurePipe */: - nodeData = /** @type {?} */ (createPureExpression(view, nodeDef)); - break; - case 67108864 /* TypeContentQuery */: - case 134217728 /* TypeViewQuery */: - nodeData = /** @type {?} */ (createQuery()); - break; - case 8 /* TypeNgContent */: - appendNgContent(view, renderHost, nodeDef); - // no runtime data needed for NgContent... - nodeData = undefined; - break; - } - nodes[i] = nodeData; - } - // Create the ViewData.nodes of component views after we created everything else, - // so that e.g. ng-content works - execComponentViewsAction(view, ViewAction.CreateViewNodes); - // fill static content and view queries - execQueriesAction(view, 67108864 /* TypeContentQuery */ | 134217728 /* TypeViewQuery */, 268435456 /* StaticQuery */, 0 /* CheckAndUpdate */); -} -/** - * @param {?} view - * @return {?} - */ -function checkNoChangesView(view) { - markProjectedViewsForCheck(view); - Services.updateDirectives(view, 1 /* CheckNoChanges */); - execEmbeddedViewsAction(view, ViewAction.CheckNoChanges); - Services.updateRenderer(view, 1 /* CheckNoChanges */); - execComponentViewsAction(view, ViewAction.CheckNoChanges); - // Note: We don't check queries for changes as we didn't do this in v2.x. - // TODO(tbosch): investigate if we can enable the check again in v5.x with a nicer error message. - view.state &= ~(64 /* CheckProjectedViews */ | 32 /* CheckProjectedView */); -} -/** - * @param {?} view - * @return {?} - */ -function checkAndUpdateView(view) { - if (view.state & 1 /* BeforeFirstCheck */) { - view.state &= ~1 /* BeforeFirstCheck */; - view.state |= 2 /* FirstCheck */; - } - else { - view.state &= ~2 /* FirstCheck */; - } - markProjectedViewsForCheck(view); - Services.updateDirectives(view, 0 /* CheckAndUpdate */); - execEmbeddedViewsAction(view, ViewAction.CheckAndUpdate); - execQueriesAction(view, 67108864 /* TypeContentQuery */, 536870912 /* DynamicQuery */, 0 /* CheckAndUpdate */); - callLifecycleHooksChildrenFirst(view, 2097152 /* AfterContentChecked */ | - (view.state & 2 /* FirstCheck */ ? 1048576 /* AfterContentInit */ : 0)); - Services.updateRenderer(view, 0 /* CheckAndUpdate */); - execComponentViewsAction(view, ViewAction.CheckAndUpdate); - execQueriesAction(view, 134217728 /* TypeViewQuery */, 536870912 /* DynamicQuery */, 0 /* CheckAndUpdate */); - callLifecycleHooksChildrenFirst(view, 8388608 /* AfterViewChecked */ | - (view.state & 2 /* FirstCheck */ ? 4194304 /* AfterViewInit */ : 0)); - if (view.def.flags & 2 /* OnPush */) { - view.state &= ~8 /* ChecksEnabled */; - } - view.state &= ~(64 /* CheckProjectedViews */ | 32 /* CheckProjectedView */); -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (argStyle === 0 /* Inline */) { - return checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - } - else { - return checkAndUpdateNodeDynamic(view, nodeDef, v0); - } -} -/** - * @param {?} view - * @return {?} - */ -function markProjectedViewsForCheck(view) { - var /** @type {?} */ def = view.def; - if (!(def.nodeFlags & 4 /* ProjectedTemplate */)) { - return; - } - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 4 /* ProjectedTemplate */) { - var /** @type {?} */ projectedViews = asElementData(view, i).template._projectedViews; - if (projectedViews) { - for (var /** @type {?} */ i_1 = 0; i_1 < projectedViews.length; i_1++) { - var /** @type {?} */ projectedView = projectedViews[i_1]; - projectedView.state |= 32 /* CheckProjectedView */; - markParentViewsForCheckProjectedViews(projectedView, view); - } - } - } - else if ((nodeDef.childFlags & 4 /* ProjectedTemplate */) === 0) { - // a parent with leafs - // no child is a component, - // then skip the children - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - switch (nodeDef.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - return checkAndUpdateElementInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - case 2 /* TypeText */: - return checkAndUpdateTextInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - case 16384 /* TypeDirective */: - return checkAndUpdateDirectiveInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - case 32 /* TypePureArray */: - case 64 /* TypePureObject */: - case 128 /* TypePurePipe */: - return checkAndUpdatePureExpressionInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - default: - throw 'unreachable'; - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} values - * @return {?} - */ -function checkAndUpdateNodeDynamic(view, nodeDef, values) { - switch (nodeDef.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - return checkAndUpdateElementDynamic(view, nodeDef, values); - case 2 /* TypeText */: - return checkAndUpdateTextDynamic(view, nodeDef, values); - case 16384 /* TypeDirective */: - return checkAndUpdateDirectiveDynamic(view, nodeDef, values); - case 32 /* TypePureArray */: - case 64 /* TypePureObject */: - case 128 /* TypePurePipe */: - return checkAndUpdatePureExpressionDynamic(view, nodeDef, values); - default: - throw 'unreachable'; - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (argStyle === 0 /* Inline */) { - checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - } - else { - checkNoChangesNodeDynamic(view, nodeDef, v0); - } - // Returning false is ok here as we would have thrown in case of a change. - return false; -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ bindLen = nodeDef.bindings.length; - if (bindLen > 0) - checkBindingNoChanges(view, nodeDef, 0, v0); - if (bindLen > 1) - checkBindingNoChanges(view, nodeDef, 1, v1); - if (bindLen > 2) - checkBindingNoChanges(view, nodeDef, 2, v2); - if (bindLen > 3) - checkBindingNoChanges(view, nodeDef, 3, v3); - if (bindLen > 4) - checkBindingNoChanges(view, nodeDef, 4, v4); - if (bindLen > 5) - checkBindingNoChanges(view, nodeDef, 5, v5); - if (bindLen > 6) - checkBindingNoChanges(view, nodeDef, 6, v6); - if (bindLen > 7) - checkBindingNoChanges(view, nodeDef, 7, v7); - if (bindLen > 8) - checkBindingNoChanges(view, nodeDef, 8, v8); - if (bindLen > 9) - checkBindingNoChanges(view, nodeDef, 9, v9); -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} values - * @return {?} - */ -function checkNoChangesNodeDynamic(view, nodeDef, values) { - for (var /** @type {?} */ i = 0; i < values.length; i++) { - checkBindingNoChanges(view, nodeDef, i, values[i]); - } -} -/** - * Workaround https://github.com/angular/tsickle/issues/497 - * @suppress {misplacedTypeAnnotation} - * @param {?} view - * @param {?} nodeDef - * @return {?} - */ -function checkNoChangesQuery(view, nodeDef) { - var /** @type {?} */ queryList = asQueryList(view, nodeDef.nodeIndex); - if (queryList.dirty) { - throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, nodeDef.nodeIndex), "Query " + (/** @type {?} */ ((nodeDef.query))).id + " not dirty", "Query " + (/** @type {?} */ ((nodeDef.query))).id + " dirty", (view.state & 1 /* BeforeFirstCheck */) !== 0); - } -} -/** - * @param {?} view - * @return {?} - */ -function destroyView(view) { - if (view.state & 128 /* Destroyed */) { - return; - } - execEmbeddedViewsAction(view, ViewAction.Destroy); - execComponentViewsAction(view, ViewAction.Destroy); - callLifecycleHooksChildrenFirst(view, 131072 /* OnDestroy */); - if (view.disposables) { - for (var /** @type {?} */ i = 0; i < view.disposables.length; i++) { - view.disposables[i](); - } - } - detachProjectedView(view); - if (view.renderer.destroyNode) { - destroyViewNodes(view); - } - if (isComponentView(view)) { - view.renderer.destroy(); - } - view.state |= 128 /* Destroyed */; -} -/** - * @param {?} view - * @return {?} - */ -function destroyViewNodes(view) { - var /** @type {?} */ len = view.def.nodes.length; - for (var /** @type {?} */ i = 0; i < len; i++) { - var /** @type {?} */ def = view.def.nodes[i]; - if (def.flags & 1 /* TypeElement */) { - /** @type {?} */ ((view.renderer.destroyNode))(asElementData(view, i).renderElement); - } - else if (def.flags & 2 /* TypeText */) { - /** @type {?} */ ((view.renderer.destroyNode))(asTextData(view, i).renderText); - } - else if (def.flags & 67108864 /* TypeContentQuery */ || def.flags & 134217728 /* TypeViewQuery */) { - asQueryList(view, i).destroy(); - } - } -} -/** @enum {number} */ -var ViewAction = { - CreateViewNodes: 0, - CheckNoChanges: 1, - CheckNoChangesProjectedViews: 2, - CheckAndUpdate: 3, - CheckAndUpdateProjectedViews: 4, - Destroy: 5, -}; -ViewAction[ViewAction.CreateViewNodes] = "CreateViewNodes"; -ViewAction[ViewAction.CheckNoChanges] = "CheckNoChanges"; -ViewAction[ViewAction.CheckNoChangesProjectedViews] = "CheckNoChangesProjectedViews"; -ViewAction[ViewAction.CheckAndUpdate] = "CheckAndUpdate"; -ViewAction[ViewAction.CheckAndUpdateProjectedViews] = "CheckAndUpdateProjectedViews"; -ViewAction[ViewAction.Destroy] = "Destroy"; -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function execComponentViewsAction(view, action) { - var /** @type {?} */ def = view.def; - if (!(def.nodeFlags & 33554432 /* ComponentView */)) { - return; - } - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 33554432 /* ComponentView */) { - // a leaf - callViewAction(asElementData(view, i).componentView, action); - } - else if ((nodeDef.childFlags & 33554432 /* ComponentView */) === 0) { - // a parent with leafs - // no child is a component, - // then skip the children - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function execEmbeddedViewsAction(view, action) { - var /** @type {?} */ def = view.def; - if (!(def.nodeFlags & 16777216 /* EmbeddedViews */)) { - return; - } - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - // a leaf - var /** @type {?} */ embeddedViews = /** @type {?} */ ((asElementData(view, i).viewContainer))._embeddedViews; - for (var /** @type {?} */ k = 0; k < embeddedViews.length; k++) { - callViewAction(embeddedViews[k], action); - } - } - else if ((nodeDef.childFlags & 16777216 /* EmbeddedViews */) === 0) { - // a parent with leafs - // no child is a component, - // then skip the children - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function callViewAction(view, action) { - var /** @type {?} */ viewState = view.state; - switch (action) { - case ViewAction.CheckNoChanges: - if ((viewState & 128 /* Destroyed */) === 0) { - if ((viewState & 12 /* CatDetectChanges */) === 12 /* CatDetectChanges */) { - checkNoChangesView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, ViewAction.CheckNoChangesProjectedViews); - } - } - break; - case ViewAction.CheckNoChangesProjectedViews: - if ((viewState & 128 /* Destroyed */) === 0) { - if (viewState & 32 /* CheckProjectedView */) { - checkNoChangesView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, action); - } - } - break; - case ViewAction.CheckAndUpdate: - if ((viewState & 128 /* Destroyed */) === 0) { - if ((viewState & 12 /* CatDetectChanges */) === 12 /* CatDetectChanges */) { - checkAndUpdateView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, ViewAction.CheckAndUpdateProjectedViews); - } - } - break; - case ViewAction.CheckAndUpdateProjectedViews: - if ((viewState & 128 /* Destroyed */) === 0) { - if (viewState & 32 /* CheckProjectedView */) { - checkAndUpdateView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, action); - } - } - break; - case ViewAction.Destroy: - // Note: destroyView recurses over all views, - // so we don't need to special case projected views here. - destroyView(view); - break; - case ViewAction.CreateViewNodes: - createViewNodes(view); - break; - } -} -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function execProjectedViewsAction(view, action) { - execEmbeddedViewsAction(view, action); - execComponentViewsAction(view, action); -} -/** - * @param {?} view - * @param {?} queryFlags - * @param {?} staticDynamicQueryFlag - * @param {?} checkType - * @return {?} - */ -function execQueriesAction(view, queryFlags, staticDynamicQueryFlag, checkType) { - if (!(view.def.nodeFlags & queryFlags) || !(view.def.nodeFlags & staticDynamicQueryFlag)) { - return; - } - var /** @type {?} */ nodeCount = view.def.nodes.length; - for (var /** @type {?} */ i = 0; i < nodeCount; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & queryFlags) && (nodeDef.flags & staticDynamicQueryFlag)) { - Services.setCurrentNode(view, nodeDef.nodeIndex); - switch (checkType) { - case 0 /* CheckAndUpdate */: - checkAndUpdateQuery(view, nodeDef); - break; - case 1 /* CheckNoChanges */: - checkNoChangesQuery(view, nodeDef); - break; - } - } - if (!(nodeDef.childFlags & queryFlags) || !(nodeDef.childFlags & staticDynamicQueryFlag)) { - // no child has a matching query - // then skip the children - i += nodeDef.childCount; - } - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var initialized = false; -/** - * @return {?} - */ -function initServicesIfNeeded() { - if (initialized) { - return; - } - initialized = true; - var /** @type {?} */ services = isDevMode() ? createDebugServices() : createProdServices(); - Services.setCurrentNode = services.setCurrentNode; - Services.createRootView = services.createRootView; - Services.createEmbeddedView = services.createEmbeddedView; - Services.createComponentView = services.createComponentView; - Services.createNgModuleRef = services.createNgModuleRef; - Services.overrideProvider = services.overrideProvider; - Services.clearProviderOverrides = services.clearProviderOverrides; - Services.checkAndUpdateView = services.checkAndUpdateView; - Services.checkNoChangesView = services.checkNoChangesView; - Services.destroyView = services.destroyView; - Services.resolveDep = resolveDep; - Services.createDebugContext = services.createDebugContext; - Services.handleEvent = services.handleEvent; - Services.updateDirectives = services.updateDirectives; - Services.updateRenderer = services.updateRenderer; - Services.dirtyParentQueries = dirtyParentQueries; -} -/** - * @return {?} - */ -function createProdServices() { - return { - setCurrentNode: function () { }, - createRootView: createProdRootView, - createEmbeddedView: createEmbeddedView, - createComponentView: createComponentView, - createNgModuleRef: createNgModuleRef, - overrideProvider: NOOP, - clearProviderOverrides: NOOP, - checkAndUpdateView: checkAndUpdateView, - checkNoChangesView: checkNoChangesView, - destroyView: destroyView, - createDebugContext: function (view, nodeIndex) { return new DebugContext_(view, nodeIndex); }, - handleEvent: function (view, nodeIndex, eventName, event) { - return view.def.handleEvent(view, nodeIndex, eventName, event); - }, - updateDirectives: function (view, checkType) { - return view.def.updateDirectives(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode : - prodCheckNoChangesNode, view); - }, - updateRenderer: function (view, checkType) { - return view.def.updateRenderer(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode : - prodCheckNoChangesNode, view); - }, - }; -} -/** - * @return {?} - */ -function createDebugServices() { - return { - setCurrentNode: debugSetCurrentNode, - createRootView: debugCreateRootView, - createEmbeddedView: debugCreateEmbeddedView, - createComponentView: debugCreateComponentView, - createNgModuleRef: debugCreateNgModuleRef, - overrideProvider: debugOverrideProvider, - clearProviderOverrides: debugClearProviderOverrides, - checkAndUpdateView: debugCheckAndUpdateView, - checkNoChangesView: debugCheckNoChangesView, - destroyView: debugDestroyView, - createDebugContext: function (view, nodeIndex) { return new DebugContext_(view, nodeIndex); }, - handleEvent: debugHandleEvent, - updateDirectives: debugUpdateDirectives, - updateRenderer: debugUpdateRenderer, - }; -} -/** - * @param {?} elInjector - * @param {?} projectableNodes - * @param {?} rootSelectorOrNode - * @param {?} def - * @param {?} ngModule - * @param {?=} context - * @return {?} - */ -function createProdRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) { - var /** @type {?} */ rendererFactory = ngModule.injector.get(RendererFactory2); - return createRootView(createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode), def, context); -} -/** - * @param {?} elInjector - * @param {?} projectableNodes - * @param {?} rootSelectorOrNode - * @param {?} def - * @param {?} ngModule - * @param {?=} context - * @return {?} - */ -function debugCreateRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) { - var /** @type {?} */ rendererFactory = ngModule.injector.get(RendererFactory2); - var /** @type {?} */ root = createRootData(elInjector, ngModule, new DebugRendererFactory2(rendererFactory), projectableNodes, rootSelectorOrNode); - var /** @type {?} */ defWithOverride = applyProviderOverridesToView(def); - return callWithDebugContext(DebugAction.create, createRootView, null, [root, defWithOverride, context]); -} -/** - * @param {?} elInjector - * @param {?} ngModule - * @param {?} rendererFactory - * @param {?} projectableNodes - * @param {?} rootSelectorOrNode - * @return {?} - */ -function createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode) { - var /** @type {?} */ sanitizer = ngModule.injector.get(Sanitizer); - var /** @type {?} */ errorHandler = ngModule.injector.get(ErrorHandler); - var /** @type {?} */ renderer = rendererFactory.createRenderer(null, null); - return { - ngModule: ngModule, - injector: elInjector, projectableNodes: projectableNodes, - selectorOrNode: rootSelectorOrNode, sanitizer: sanitizer, rendererFactory: rendererFactory, renderer: renderer, errorHandler: errorHandler - }; -} -/** - * @param {?} parentView - * @param {?} anchorDef - * @param {?} viewDef - * @param {?=} context - * @return {?} - */ -function debugCreateEmbeddedView(parentView, anchorDef, viewDef$$1, context) { - var /** @type {?} */ defWithOverride = applyProviderOverridesToView(viewDef$$1); - return callWithDebugContext(DebugAction.create, createEmbeddedView, null, [parentView, anchorDef, defWithOverride, context]); -} -/** - * @param {?} parentView - * @param {?} nodeDef - * @param {?} viewDef - * @param {?} hostElement - * @return {?} - */ -function debugCreateComponentView(parentView, nodeDef, viewDef$$1, hostElement) { - var /** @type {?} */ defWithOverride = applyProviderOverridesToView(viewDef$$1); - return callWithDebugContext(DebugAction.create, createComponentView, null, [parentView, nodeDef, defWithOverride, hostElement]); -} -/** - * @param {?} moduleType - * @param {?} parentInjector - * @param {?} bootstrapComponents - * @param {?} def - * @return {?} - */ -function debugCreateNgModuleRef(moduleType, parentInjector, bootstrapComponents, def) { - var /** @type {?} */ defWithOverride = applyProviderOverridesToNgModule(def); - return createNgModuleRef(moduleType, parentInjector, bootstrapComponents, defWithOverride); -} -var providerOverrides = new Map(); -/** - * @param {?} override - * @return {?} - */ -function debugOverrideProvider(override) { - providerOverrides.set(override.token, override); -} -/** - * @return {?} - */ -function debugClearProviderOverrides() { - providerOverrides.clear(); -} -/** - * @param {?} def - * @return {?} - */ -function applyProviderOverridesToView(def) { - if (providerOverrides.size === 0) { - return def; - } - var /** @type {?} */ elementIndicesWithOverwrittenProviders = findElementIndicesWithOverwrittenProviders(def); - if (elementIndicesWithOverwrittenProviders.length === 0) { - return def; - } - // clone the whole view definition, - // as it maintains references between the nodes that are hard to update. - def = /** @type {?} */ ((def.factory))(function () { return NOOP; }); - for (var /** @type {?} */ i = 0; i < elementIndicesWithOverwrittenProviders.length; i++) { - applyProviderOverridesToElement(def, elementIndicesWithOverwrittenProviders[i]); - } - return def; - /** - * @param {?} def - * @return {?} - */ - function findElementIndicesWithOverwrittenProviders(def) { - var /** @type {?} */ elIndicesWithOverwrittenProviders = []; - var /** @type {?} */ lastElementDef = null; - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 1 /* TypeElement */) { - lastElementDef = nodeDef; - } - if (lastElementDef && nodeDef.flags & 3840 /* CatProviderNoDirective */ && - providerOverrides.has(/** @type {?} */ ((nodeDef.provider)).token)) { - elIndicesWithOverwrittenProviders.push(/** @type {?} */ ((lastElementDef)).nodeIndex); - lastElementDef = null; - } - } - return elIndicesWithOverwrittenProviders; - } - /** - * @param {?} viewDef - * @param {?} elIndex - * @return {?} - */ - function applyProviderOverridesToElement(viewDef$$1, elIndex) { - for (var /** @type {?} */ i = elIndex + 1; i < viewDef$$1.nodes.length; i++) { - var /** @type {?} */ nodeDef = viewDef$$1.nodes[i]; - if (nodeDef.flags & 1 /* TypeElement */) { - // stop at the next element - return; - } - if (nodeDef.flags & 3840 /* CatProviderNoDirective */) { - var /** @type {?} */ provider = /** @type {?} */ ((nodeDef.provider)); - var /** @type {?} */ override = providerOverrides.get(provider.token); - if (override) { - nodeDef.flags = (nodeDef.flags & ~3840 /* CatProviderNoDirective */) | override.flags; - provider.deps = splitDepsDsl(override.deps); - provider.value = override.value; - } - } - } - } -} -/** - * @param {?} def - * @return {?} - */ -function applyProviderOverridesToNgModule(def) { - var _a = calcHasOverrides(def), hasOverrides = _a.hasOverrides, hasDeprecatedOverrides = _a.hasDeprecatedOverrides; - if (!hasOverrides) { - return def; - } - // clone the whole view definition, - // as it maintains references between the nodes that are hard to update. - def = /** @type {?} */ ((def.factory))(function () { return NOOP; }); - applyProviderOverrides(def); - return def; - /** - * @param {?} def - * @return {?} - */ - function calcHasOverrides(def) { - var /** @type {?} */ hasOverrides = false; - var /** @type {?} */ hasDeprecatedOverrides = false; - if (providerOverrides.size === 0) { - return { hasOverrides: hasOverrides, hasDeprecatedOverrides: hasDeprecatedOverrides }; - } - def.providers.forEach(function (node) { - var /** @type {?} */ override = providerOverrides.get(node.token); - if ((node.flags & 3840 /* CatProviderNoDirective */) && override) { - hasOverrides = true; - hasDeprecatedOverrides = hasDeprecatedOverrides || override.deprecatedBehavior; - } - }); - return { hasOverrides: hasOverrides, hasDeprecatedOverrides: hasDeprecatedOverrides }; - } - /** - * @param {?} def - * @return {?} - */ - function applyProviderOverrides(def) { - for (var /** @type {?} */ i = 0; i < def.providers.length; i++) { - var /** @type {?} */ provider = def.providers[i]; - if (hasDeprecatedOverrides) { - // We had a bug where me made - // all providers lazy. Keep this logic behind a flag - // for migrating existing users. - provider.flags |= 4096 /* LazyProvider */; - } - var /** @type {?} */ override = providerOverrides.get(provider.token); - if (override) { - provider.flags = (provider.flags & ~3840 /* CatProviderNoDirective */) | override.flags; - provider.deps = splitDepsDsl(override.deps); - provider.value = override.value; - } - } - } -} -/** - * @param {?} view - * @param {?} checkIndex - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function prodCheckAndUpdateNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ nodeDef = view.def.nodes[checkIndex]; - checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, checkIndex).value : - undefined; -} -/** - * @param {?} view - * @param {?} checkIndex - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function prodCheckNoChangesNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ nodeDef = view.def.nodes[checkIndex]; - checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, checkIndex).value : - undefined; -} -/** - * @param {?} view - * @return {?} - */ -function debugCheckAndUpdateView(view) { - return callWithDebugContext(DebugAction.detectChanges, checkAndUpdateView, null, [view]); -} -/** - * @param {?} view - * @return {?} - */ -function debugCheckNoChangesView(view) { - return callWithDebugContext(DebugAction.checkNoChanges, checkNoChangesView, null, [view]); -} -/** - * @param {?} view - * @return {?} - */ -function debugDestroyView(view) { - return callWithDebugContext(DebugAction.destroy, destroyView, null, [view]); -} -/** @enum {number} */ -var DebugAction = { - create: 0, - detectChanges: 1, - checkNoChanges: 2, - destroy: 3, - handleEvent: 4, -}; -DebugAction[DebugAction.create] = "create"; -DebugAction[DebugAction.detectChanges] = "detectChanges"; -DebugAction[DebugAction.checkNoChanges] = "checkNoChanges"; -DebugAction[DebugAction.destroy] = "destroy"; -DebugAction[DebugAction.handleEvent] = "handleEvent"; -var _currentAction; -var _currentView; -var _currentNodeIndex; -/** - * @param {?} view - * @param {?} nodeIndex - * @return {?} - */ -function debugSetCurrentNode(view, nodeIndex) { - _currentView = view; - _currentNodeIndex = nodeIndex; -} -/** - * @param {?} view - * @param {?} nodeIndex - * @param {?} eventName - * @param {?} event - * @return {?} - */ -function debugHandleEvent(view, nodeIndex, eventName, event) { - debugSetCurrentNode(view, nodeIndex); - return callWithDebugContext(DebugAction.handleEvent, view.def.handleEvent, null, [view, nodeIndex, eventName, event]); -} -/** - * @param {?} view - * @param {?} checkType - * @return {?} - */ -function debugUpdateDirectives(view, checkType) { - if (view.state & 128 /* Destroyed */) { - throw viewDestroyedError(DebugAction[_currentAction]); - } - debugSetCurrentNode(view, nextDirectiveWithBinding(view, 0)); - return view.def.updateDirectives(debugCheckDirectivesFn, view); - /** - * @param {?} view - * @param {?} nodeIndex - * @param {?} argStyle - * @param {...?} values - * @return {?} - */ - function debugCheckDirectivesFn(view, nodeIndex, argStyle) { - var values = []; - for (var _i = 3; _i < arguments.length; _i++) { - values[_i - 3] = arguments[_i]; - } - var /** @type {?} */ nodeDef = view.def.nodes[nodeIndex]; - if (checkType === 0 /* CheckAndUpdate */) { - debugCheckAndUpdateNode(view, nodeDef, argStyle, values); - } - else { - debugCheckNoChangesNode(view, nodeDef, argStyle, values); - } - if (nodeDef.flags & 16384 /* TypeDirective */) { - debugSetCurrentNode(view, nextDirectiveWithBinding(view, nodeIndex)); - } - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, nodeDef.nodeIndex).value : - undefined; - } -} -/** - * @param {?} view - * @param {?} checkType - * @return {?} - */ -function debugUpdateRenderer(view, checkType) { - if (view.state & 128 /* Destroyed */) { - throw viewDestroyedError(DebugAction[_currentAction]); - } - debugSetCurrentNode(view, nextRenderNodeWithBinding(view, 0)); - return view.def.updateRenderer(debugCheckRenderNodeFn, view); - /** - * @param {?} view - * @param {?} nodeIndex - * @param {?} argStyle - * @param {...?} values - * @return {?} - */ - function debugCheckRenderNodeFn(view, nodeIndex, argStyle) { - var values = []; - for (var _i = 3; _i < arguments.length; _i++) { - values[_i - 3] = arguments[_i]; - } - var /** @type {?} */ nodeDef = view.def.nodes[nodeIndex]; - if (checkType === 0 /* CheckAndUpdate */) { - debugCheckAndUpdateNode(view, nodeDef, argStyle, values); - } - else { - debugCheckNoChangesNode(view, nodeDef, argStyle, values); - } - if (nodeDef.flags & 3 /* CatRenderNode */) { - debugSetCurrentNode(view, nextRenderNodeWithBinding(view, nodeIndex)); - } - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, nodeDef.nodeIndex).value : - undefined; - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?} givenValues - * @return {?} - */ -function debugCheckAndUpdateNode(view, nodeDef, argStyle, givenValues) { - var /** @type {?} */ changed = (/** @type {?} */ (checkAndUpdateNode)).apply(void 0, [view, nodeDef, argStyle].concat(givenValues)); - if (changed) { - var /** @type {?} */ values = argStyle === 1 /* Dynamic */ ? givenValues[0] : givenValues; - if (nodeDef.flags & 16384 /* TypeDirective */) { - var /** @type {?} */ bindingValues = {}; - for (var /** @type {?} */ i = 0; i < nodeDef.bindings.length; i++) { - var /** @type {?} */ binding = nodeDef.bindings[i]; - var /** @type {?} */ value = values[i]; - if (binding.flags & 8 /* TypeProperty */) { - bindingValues[normalizeDebugBindingName(/** @type {?} */ ((binding.nonMinifiedName)))] = - normalizeDebugBindingValue(value); - } - } - var /** @type {?} */ elDef = /** @type {?} */ ((nodeDef.parent)); - var /** @type {?} */ el = asElementData(view, elDef.nodeIndex).renderElement; - if (!/** @type {?} */ ((elDef.element)).name) { - // a comment. - view.renderer.setValue(el, "bindings=" + JSON.stringify(bindingValues, null, 2)); - } - else { - // a regular element. - for (var /** @type {?} */ attr in bindingValues) { - var /** @type {?} */ value = bindingValues[attr]; - if (value != null) { - view.renderer.setAttribute(el, attr, value); - } - else { - view.renderer.removeAttribute(el, attr); - } - } - } - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?} values - * @return {?} - */ -function debugCheckNoChangesNode(view, nodeDef, argStyle, values) { - (/** @type {?} */ (checkNoChangesNode)).apply(void 0, [view, nodeDef, argStyle].concat(values)); -} -/** - * @param {?} name - * @return {?} - */ -function normalizeDebugBindingName(name) { - // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers - name = camelCaseToDashCase(name.replace(/[$@]/g, '_')); - return "ng-reflect-" + name; -} -var CAMEL_CASE_REGEXP = /([A-Z])/g; -/** - * @param {?} input - * @return {?} - */ -function camelCaseToDashCase(input) { - return input.replace(CAMEL_CASE_REGEXP, function () { - var m = []; - for (var _i = 0; _i < arguments.length; _i++) { - m[_i] = arguments[_i]; - } - return '-' + m[1].toLowerCase(); - }); -} -/** - * @param {?} value - * @return {?} - */ -function normalizeDebugBindingValue(value) { - try { - // Limit the size of the value as otherwise the DOM just gets polluted. - return value != null ? value.toString().slice(0, 30) : value; - } - catch (/** @type {?} */ e) { - return '[ERROR] Exception while trying to serialize the value'; - } -} -/** - * @param {?} view - * @param {?} nodeIndex - * @return {?} - */ -function nextDirectiveWithBinding(view, nodeIndex) { - for (var /** @type {?} */ i = nodeIndex; i < view.def.nodes.length; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if (nodeDef.flags & 16384 /* TypeDirective */ && nodeDef.bindings && nodeDef.bindings.length) { - return i; - } - } - return null; -} -/** - * @param {?} view - * @param {?} nodeIndex - * @return {?} - */ -function nextRenderNodeWithBinding(view, nodeIndex) { - for (var /** @type {?} */ i = nodeIndex; i < view.def.nodes.length; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & 3 /* CatRenderNode */) && nodeDef.bindings && nodeDef.bindings.length) { - return i; - } - } - return null; -} -var DebugContext_ = (function () { - function DebugContext_(view, nodeIndex) { - this.view = view; - this.nodeIndex = nodeIndex; - if (nodeIndex == null) { - this.nodeIndex = nodeIndex = 0; - } - this.nodeDef = view.def.nodes[nodeIndex]; - var /** @type {?} */ elDef = this.nodeDef; - var /** @type {?} */ elView = view; - while (elDef && (elDef.flags & 1 /* TypeElement */) === 0) { - elDef = /** @type {?} */ ((elDef.parent)); - } - if (!elDef) { - while (!elDef && elView) { - elDef = /** @type {?} */ ((viewParentEl(elView))); - elView = /** @type {?} */ ((elView.parent)); - } - } - this.elDef = elDef; - this.elView = elView; - } - Object.defineProperty(DebugContext_.prototype, "elOrCompView", { - get: /** - * @return {?} - */ - function () { - // Has to be done lazily as we use the DebugContext also during creation of elements... - return asElementData(this.elView, this.elDef.nodeIndex).componentView || this.view; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return createInjector(this.elView, this.elDef); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "component", { - get: /** - * @return {?} - */ - function () { return this.elOrCompView.component; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "context", { - get: /** - * @return {?} - */ - function () { return this.elOrCompView.context; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "providerTokens", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ tokens = []; - if (this.elDef) { - for (var /** @type {?} */ i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) { - var /** @type {?} */ childDef = this.elView.def.nodes[i]; - if (childDef.flags & 20224 /* CatProvider */) { - tokens.push(/** @type {?} */ ((childDef.provider)).token); - } - i += childDef.childCount; - } - } - return tokens; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "references", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ references = {}; - if (this.elDef) { - collectReferences(this.elView, this.elDef, references); - for (var /** @type {?} */ i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) { - var /** @type {?} */ childDef = this.elView.def.nodes[i]; - if (childDef.flags & 20224 /* CatProvider */) { - collectReferences(this.elView, childDef, references); - } - i += childDef.childCount; - } - } - return references; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "componentRenderElement", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ elData = findHostElement(this.elOrCompView); - return elData ? elData.renderElement : undefined; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "renderNode", { - get: /** - * @return {?} - */ - function () { - return this.nodeDef.flags & 2 /* TypeText */ ? renderNode(this.view, this.nodeDef) : - renderNode(this.elView, this.elDef); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} console - * @param {...?} values - * @return {?} - */ - DebugContext_.prototype.logError = /** - * @param {?} console - * @param {...?} values - * @return {?} - */ - function (console) { - var values = []; - for (var _i = 1; _i < arguments.length; _i++) { - values[_i - 1] = arguments[_i]; - } - var /** @type {?} */ logViewDef; - var /** @type {?} */ logNodeIndex; - if (this.nodeDef.flags & 2 /* TypeText */) { - logViewDef = this.view.def; - logNodeIndex = this.nodeDef.nodeIndex; - } - else { - logViewDef = this.elView.def; - logNodeIndex = this.elDef.nodeIndex; - } - // Note: we only generate a log function for text and element nodes - // to make the generated code as small as possible. - var /** @type {?} */ renderNodeIndex = getRenderNodeIndex(logViewDef, logNodeIndex); - var /** @type {?} */ currRenderNodeIndex = -1; - var /** @type {?} */ nodeLogger = function () { - currRenderNodeIndex++; - if (currRenderNodeIndex === renderNodeIndex) { - return (_a = console.error).bind.apply(_a, [console].concat(values)); - } - else { - return NOOP; - } - var _a; - }; /** @type {?} */ - ((logViewDef.factory))(nodeLogger); - if (currRenderNodeIndex < renderNodeIndex) { - console.error('Illegal state: the ViewDefinitionFactory did not call the logger!'); - console.error.apply(console, values); - } - }; - return DebugContext_; -}()); -/** - * @param {?} viewDef - * @param {?} nodeIndex - * @return {?} - */ -function getRenderNodeIndex(viewDef$$1, nodeIndex) { - var /** @type {?} */ renderNodeIndex = -1; - for (var /** @type {?} */ i = 0; i <= nodeIndex; i++) { - var /** @type {?} */ nodeDef = viewDef$$1.nodes[i]; - if (nodeDef.flags & 3 /* CatRenderNode */) { - renderNodeIndex++; - } - } - return renderNodeIndex; -} -/** - * @param {?} view - * @return {?} - */ -function findHostElement(view) { - while (view && !isComponentView(view)) { - view = /** @type {?} */ ((view.parent)); - } - if (view.parent) { - return asElementData(view.parent, /** @type {?} */ ((viewParentEl(view))).nodeIndex); - } - return null; -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} references - * @return {?} - */ -function collectReferences(view, nodeDef, references) { - for (var /** @type {?} */ refName in nodeDef.references) { - references[refName] = getQueryValue(view, nodeDef, nodeDef.references[refName]); - } -} -/** - * @param {?} action - * @param {?} fn - * @param {?} self - * @param {?} args - * @return {?} - */ -function callWithDebugContext(action, fn, self, args) { - var /** @type {?} */ oldAction = _currentAction; - var /** @type {?} */ oldView = _currentView; - var /** @type {?} */ oldNodeIndex = _currentNodeIndex; - try { - _currentAction = action; - var /** @type {?} */ result = fn.apply(self, args); - _currentView = oldView; - _currentNodeIndex = oldNodeIndex; - _currentAction = oldAction; - return result; - } - catch (/** @type {?} */ e) { - if (isViewDebugError(e) || !_currentView) { - throw e; - } - throw viewWrappedDebugError(e, /** @type {?} */ ((getCurrentDebugContext()))); - } -} -/** - * @return {?} - */ -function getCurrentDebugContext() { - return _currentView ? new DebugContext_(_currentView, _currentNodeIndex) : null; -} -var DebugRendererFactory2 = (function () { - function DebugRendererFactory2(delegate) { - this.delegate = delegate; - } - /** - * @param {?} element - * @param {?} renderData - * @return {?} - */ - DebugRendererFactory2.prototype.createRenderer = /** - * @param {?} element - * @param {?} renderData - * @return {?} - */ - function (element, renderData) { - return new DebugRenderer2(this.delegate.createRenderer(element, renderData)); - }; - /** - * @return {?} - */ - DebugRendererFactory2.prototype.begin = /** - * @return {?} - */ - function () { - if (this.delegate.begin) { - this.delegate.begin(); - } - }; - /** - * @return {?} - */ - DebugRendererFactory2.prototype.end = /** - * @return {?} - */ - function () { - if (this.delegate.end) { - this.delegate.end(); - } - }; - /** - * @return {?} - */ - DebugRendererFactory2.prototype.whenRenderingDone = /** - * @return {?} - */ - function () { - if (this.delegate.whenRenderingDone) { - return this.delegate.whenRenderingDone(); - } - return Promise.resolve(null); - }; - return DebugRendererFactory2; -}()); -var DebugRenderer2 = (function () { - function DebugRenderer2(delegate) { - this.delegate = delegate; - } - Object.defineProperty(DebugRenderer2.prototype, "data", { - get: /** - * @return {?} - */ - function () { return this.delegate.data; }, - enumerable: true, - configurable: true - }); - /** - * @param {?} node - * @return {?} - */ - DebugRenderer2.prototype.destroyNode = /** - * @param {?} node - * @return {?} - */ - function (node) { - removeDebugNodeFromIndex(/** @type {?} */ ((getDebugNode(node)))); - if (this.delegate.destroyNode) { - this.delegate.destroyNode(node); - } - }; - /** - * @return {?} - */ - DebugRenderer2.prototype.destroy = /** - * @return {?} - */ - function () { this.delegate.destroy(); }; - /** - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - DebugRenderer2.prototype.createElement = /** - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - function (name, namespace) { - var /** @type {?} */ el = this.delegate.createElement(name, namespace); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - var /** @type {?} */ debugEl = new DebugElement(el, null, debugCtx); - debugEl.name = name; - indexDebugNode(debugEl); - } - return el; - }; - /** - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.createComment = /** - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ comment = this.delegate.createComment(value); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - indexDebugNode(new DebugNode(comment, null, debugCtx)); - } - return comment; - }; - /** - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.createText = /** - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ text = this.delegate.createText(value); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - indexDebugNode(new DebugNode(text, null, debugCtx)); - } - return text; - }; - /** - * @param {?} parent - * @param {?} newChild - * @return {?} - */ - DebugRenderer2.prototype.appendChild = /** - * @param {?} parent - * @param {?} newChild - * @return {?} - */ - function (parent, newChild) { - var /** @type {?} */ debugEl = getDebugNode(parent); - var /** @type {?} */ debugChildEl = getDebugNode(newChild); - if (debugEl && debugChildEl && debugEl instanceof DebugElement) { - debugEl.addChild(debugChildEl); - } - this.delegate.appendChild(parent, newChild); - }; - /** - * @param {?} parent - * @param {?} newChild - * @param {?} refChild - * @return {?} - */ - DebugRenderer2.prototype.insertBefore = /** - * @param {?} parent - * @param {?} newChild - * @param {?} refChild - * @return {?} - */ - function (parent, newChild, refChild) { - var /** @type {?} */ debugEl = getDebugNode(parent); - var /** @type {?} */ debugChildEl = getDebugNode(newChild); - var /** @type {?} */ debugRefEl = /** @type {?} */ ((getDebugNode(refChild))); - if (debugEl && debugChildEl && debugEl instanceof DebugElement) { - debugEl.insertBefore(debugRefEl, debugChildEl); - } - this.delegate.insertBefore(parent, newChild, refChild); - }; - /** - * @param {?} parent - * @param {?} oldChild - * @return {?} - */ - DebugRenderer2.prototype.removeChild = /** - * @param {?} parent - * @param {?} oldChild - * @return {?} - */ - function (parent, oldChild) { - var /** @type {?} */ debugEl = getDebugNode(parent); - var /** @type {?} */ debugChildEl = getDebugNode(oldChild); - if (debugEl && debugChildEl && debugEl instanceof DebugElement) { - debugEl.removeChild(debugChildEl); - } - this.delegate.removeChild(parent, oldChild); - }; - /** - * @param {?} selectorOrNode - * @return {?} - */ - DebugRenderer2.prototype.selectRootElement = /** - * @param {?} selectorOrNode - * @return {?} - */ - function (selectorOrNode) { - var /** @type {?} */ el = this.delegate.selectRootElement(selectorOrNode); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - indexDebugNode(new DebugElement(el, null, debugCtx)); - } - return el; - }; - /** - * @param {?} el - * @param {?} name - * @param {?} value - * @param {?=} namespace - * @return {?} - */ - DebugRenderer2.prototype.setAttribute = /** - * @param {?} el - * @param {?} name - * @param {?} value - * @param {?=} namespace - * @return {?} - */ - function (el, name, value, namespace) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - var /** @type {?} */ fullName = namespace ? namespace + ':' + name : name; - debugEl.attributes[fullName] = value; - } - this.delegate.setAttribute(el, name, value, namespace); - }; - /** - * @param {?} el - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - DebugRenderer2.prototype.removeAttribute = /** - * @param {?} el - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - function (el, name, namespace) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - var /** @type {?} */ fullName = namespace ? namespace + ':' + name : name; - debugEl.attributes[fullName] = null; - } - this.delegate.removeAttribute(el, name, namespace); - }; - /** - * @param {?} el - * @param {?} name - * @return {?} - */ - DebugRenderer2.prototype.addClass = /** - * @param {?} el - * @param {?} name - * @return {?} - */ - function (el, name) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.classes[name] = true; - } - this.delegate.addClass(el, name); - }; - /** - * @param {?} el - * @param {?} name - * @return {?} - */ - DebugRenderer2.prototype.removeClass = /** - * @param {?} el - * @param {?} name - * @return {?} - */ - function (el, name) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.classes[name] = false; - } - this.delegate.removeClass(el, name); - }; - /** - * @param {?} el - * @param {?} style - * @param {?} value - * @param {?} flags - * @return {?} - */ - DebugRenderer2.prototype.setStyle = /** - * @param {?} el - * @param {?} style - * @param {?} value - * @param {?} flags - * @return {?} - */ - function (el, style, value, flags) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.styles[style] = value; - } - this.delegate.setStyle(el, style, value, flags); - }; - /** - * @param {?} el - * @param {?} style - * @param {?} flags - * @return {?} - */ - DebugRenderer2.prototype.removeStyle = /** - * @param {?} el - * @param {?} style - * @param {?} flags - * @return {?} - */ - function (el, style, flags) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.styles[style] = null; - } - this.delegate.removeStyle(el, style, flags); - }; - /** - * @param {?} el - * @param {?} name - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.setProperty = /** - * @param {?} el - * @param {?} name - * @param {?} value - * @return {?} - */ - function (el, name, value) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.properties[name] = value; - } - this.delegate.setProperty(el, name, value); - }; - /** - * @param {?} target - * @param {?} eventName - * @param {?} callback - * @return {?} - */ - DebugRenderer2.prototype.listen = /** - * @param {?} target - * @param {?} eventName - * @param {?} callback - * @return {?} - */ - function (target, eventName, callback) { - if (typeof target !== 'string') { - var /** @type {?} */ debugEl = getDebugNode(target); - if (debugEl) { - debugEl.listeners.push(new EventListener(eventName, callback)); - } - } - return this.delegate.listen(target, eventName, callback); - }; - /** - * @param {?} node - * @return {?} - */ - DebugRenderer2.prototype.parentNode = /** - * @param {?} node - * @return {?} - */ - function (node) { return this.delegate.parentNode(node); }; - /** - * @param {?} node - * @return {?} - */ - DebugRenderer2.prototype.nextSibling = /** - * @param {?} node - * @return {?} - */ - function (node) { return this.delegate.nextSibling(node); }; - /** - * @param {?} node - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.setValue = /** - * @param {?} node - * @param {?} value - * @return {?} - */ - function (node, value) { return this.delegate.setValue(node, value); }; - return DebugRenderer2; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} override - * @return {?} - */ -function overrideProvider(override) { - initServicesIfNeeded(); - return Services.overrideProvider(override); -} -/** - * @return {?} - */ -function clearProviderOverrides() { - initServicesIfNeeded(); - return Services.clearProviderOverrides(); -} -/** - * @param {?} ngModuleType - * @param {?} bootstrapComponents - * @param {?} defFactory - * @return {?} - */ -function createNgModuleFactory(ngModuleType, bootstrapComponents, defFactory) { - return new NgModuleFactory_(ngModuleType, bootstrapComponents, defFactory); -} -var NgModuleFactory_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(NgModuleFactory_, _super); - function NgModuleFactory_(moduleType, _bootstrapComponents, _ngModuleDefFactory) { - var _this = - // Attention: this ctor is called as top level function. - // Putting any logic in here will destroy closure tree shaking! - _super.call(this) || this; - _this.moduleType = moduleType; - _this._bootstrapComponents = _bootstrapComponents; - _this._ngModuleDefFactory = _ngModuleDefFactory; - return _this; - } - /** - * @param {?} parentInjector - * @return {?} - */ - NgModuleFactory_.prototype.create = /** - * @param {?} parentInjector - * @return {?} - */ - function (parentInjector) { - initServicesIfNeeded(); - var /** @type {?} */ def = resolveDefinition(this._ngModuleDefFactory); - return Services.createNgModuleRef(this.moduleType, parentInjector || Injector.NULL, this._bootstrapComponents, def); - }; - return NgModuleFactory_; -}(NgModuleFactory)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - * @record - */ - -/** - * \@experimental Animation support is experimental. - */ - -/** - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link trigger trigger animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link state state animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link transition transition animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * \@experimental Animation support is experimental. - * @record - */ - -/** - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link keyframes keyframes animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link style style animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link animate animate animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link animateChild animateChild animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link useAnimation useAnimation animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link sequence sequence animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link group group animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link stagger stagger animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * `trigger` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the - * {\@link Component#animations component animations metadata page} to gain a better - * understanding of how animations in Angular are used. - * - * `trigger` Creates an animation trigger which will a list of {\@link state state} and - * {\@link transition transition} entries that will be evaluated when the expression - * bound to the trigger changes. - * - * Triggers are registered within the component annotation data under the - * {\@link Component#animations animations section}. An animation trigger can be placed on an element - * within a template by referencing the name of the trigger followed by the expression value that - * the - * trigger is bound to (in the form of `[\@triggerName]="expression"`. - * - * Animation trigger bindings strigify values and then match the previous and current values against - * any linked transitions. If a boolean value is provided into the trigger binding then it will both - * be represented as `1` or `true` and `0` or `false` for a true and false boolean values - * respectively. - * - * ### Usage - * - * `trigger` will create an animation trigger reference based on the provided `name` value. The - * provided `animation` value is expected to be an array consisting of {\@link state state} and - * {\@link transition transition} declarations. - * - * ```typescript - * \@Component({ - * selector: 'my-component', - * templateUrl: 'my-component-tpl.html', - * animations: [ - * trigger("myAnimationTrigger", [ - * state(...), - * state(...), - * transition(...), - * transition(...) - * ]) - * ] - * }) - * class MyComponent { - * myStatusExp = "something"; - * } - * ``` - * - * The template associated with this component will make use of the `myAnimationTrigger` animation - * trigger by binding to an element within its template code. - * - * ```html - * - *
    ...
    - * ``` - * - * ## Disable Animations - * A special animation control binding called `\@.disabled` can be placed on an element which will - * then disable animations for any inner animation triggers situated within the element as well as - * any animations on the element itself. - * - * When true, the `\@.disabled` binding will prevent all animations from rendering. The example - * below shows how to use this feature: - * - * ```ts - * \@Component({ - * selector: 'my-component', - * template: ` - *
    - *
    - *
    - * `, - * animations: [ - * trigger("childAnimation", [ - * // ... - * ]) - * ] - * }) - * class MyComponent { - * isDisabled = true; - * exp = '...'; - * } - * ``` - * - * The `\@childAnimation` trigger will not animate because `\@.disabled` prevents it from happening - * (when true). - * - * Note that `\@.disbled` will only disable all animations (this means any animations running on - * the same element will also be disabled). - * - * ### Disabling Animations Application-wide - * When an area of the template is set to have animations disabled, **all** inner components will - * also have their animations disabled as well. This means that all animations for an angular - * application can be disabled by placing a host binding set on `\@.disabled` on the topmost Angular - * component. - * - * ```ts - * import {Component, HostBinding} from '\@angular/core'; - * - * \@Component({ - * selector: 'app-component', - * templateUrl: 'app.component.html', - * }) - * class AppComponent { - * \@HostBinding('\@.disabled') - * public animationsDisabled = true; - * } - * ``` - * - * ### What about animations that us `query()` and `animateChild()`? - * Despite inner animations being disabled, a parent animation can {\@link query query} for inner - * elements located in disabled areas of the template and still animate them as it sees fit. This is - * also the case for when a sub animation is queried by a parent and then later animated using {\@link - * animateChild animateChild}. - * - * \@experimental Animation support is experimental. - * @param {?} name - * @param {?} definitions - * @return {?} - */ -function trigger$1(name, definitions) { - return { type: 7 /* Trigger */, name: name, definitions: definitions, options: {} }; -} -/** - * `animate` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `animate` specifies an animation step that will apply the provided `styles` data for a given - * amount of time based on the provided `timing` expression value. Calls to `animate` are expected - * to be used within {\@link sequence an animation sequence}, {\@link group group}, or {\@link - * transition transition}. - * - * ### Usage - * - * The `animate` function accepts two input parameters: `timing` and `styles`: - * - * - `timing` is a string based value that can be a combination of a duration with optional delay - * and easing values. The format for the expression breaks down to `duration delay easing` - * (therefore a value such as `1s 100ms ease-out` will be parse itself into `duration=1000, - * delay=100, easing=ease-out`. If a numeric value is provided then that will be used as the - * `duration` value in millisecond form. - * - `styles` is the style input data which can either be a call to {\@link style style} or {\@link - * keyframes keyframes}. If left empty then the styles from the destination state will be collected - * and used (this is useful when describing an animation step that will complete an animation by - * {\@link transition#the-final-animate-call animating to the final state}). - * - * ```typescript - * // various functions for specifying timing data - * animate(500, style(...)) - * animate("1s", style(...)) - * animate("100ms 0.5s", style(...)) - * animate("5s ease", style(...)) - * animate("5s 10ms cubic-bezier(.17,.67,.88,.1)", style(...)) - * - * // either style() of keyframes() can be used - * animate(500, style({ background: "red" })) - * animate(500, keyframes([ - * style({ background: "blue" })), - * style({ background: "red" })) - * ]) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} timings - * @param {?=} styles - * @return {?} - */ -function animate$1(timings, styles) { - if (styles === void 0) { styles = null; } - return { type: 4 /* Animate */, styles: styles, timings: timings }; -} -/** - * `group` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `group` specifies a list of animation steps that are all run in parallel. Grouped animations are - * useful when a series of styles must be animated/closed off at different starting/ending times. - * - * The `group` function can either be used within a {\@link sequence sequence} or a {\@link transition - * transition} and it will only continue to the next instruction once all of the inner animation - * steps have completed. - * - * ### Usage - * - * The `steps` data that is passed into the `group` animation function can either consist of {\@link - * style style} or {\@link animate animate} function calls. Each call to `style()` or `animate()` - * within a group will be executed instantly (use {\@link keyframes keyframes} or a {\@link - * animate#usage animate() with a delay value} to offset styles to be applied at a later time). - * - * ```typescript - * group([ - * animate("1s", { background: "black" })) - * animate("2s", { color: "white" })) - * ]) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @param {?=} options - * @return {?} - */ -function group$1(steps, options) { - if (options === void 0) { options = null; } - return { type: 3 /* Group */, steps: steps, options: options }; -} -/** - * `sequence` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `sequence` Specifies a list of animation steps that are run one by one. (`sequence` is used by - * default when an array is passed as animation data into {\@link transition transition}.) - * - * The `sequence` function can either be used within a {\@link group group} or a {\@link transition - * transition} and it will only continue to the next instruction once each of the inner animation - * steps have completed. - * - * To perform animation styling in parallel with other animation steps then have a look at the - * {\@link group group} animation function. - * - * ### Usage - * - * The `steps` data that is passed into the `sequence` animation function can either consist of - * {\@link style style} or {\@link animate animate} function calls. A call to `style()` will apply the - * provided styling data immediately while a call to `animate()` will apply its styling data over a - * given time depending on its timing data. - * - * ```typescript - * sequence([ - * style({ opacity: 0 })), - * animate("1s", { opacity: 1 })) - * ]) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @param {?=} options - * @return {?} - */ -function sequence$1(steps, options) { - if (options === void 0) { options = null; } - return { type: 2 /* Sequence */, steps: steps, options: options }; -} -/** - * `style` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `style` declares a key/value object containing CSS properties/styles that can then be used for - * {\@link state animation states}, within an {\@link sequence animation sequence}, or as styling data - * for both {\@link animate animate} and {\@link keyframes keyframes}. - * - * ### Usage - * - * `style` takes in a key/value string map as data and expects one or more CSS property/value pairs - * to be defined. - * - * ```typescript - * // string values are used for css properties - * style({ background: "red", color: "blue" }) - * - * // numerical (pixel) values are also supported - * style({ width: 100, height: 0 }) - * ``` - * - * #### Auto-styles (using `*`) - * - * When an asterix (`*`) character is used as a value then it will be detected from the element - * being animated and applied as animation data when the animation starts. - * - * This feature proves useful for a state depending on layout and/or environment factors; in such - * cases the styles are calculated just before the animation starts. - * - * ```typescript - * // the steps below will animate from 0 to the - * // actual height of the element - * style({ height: 0 }), - * animate("1s", style({ height: "*" })) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} tokens - * @return {?} - */ -function style$1(tokens) { - return { type: 6 /* Style */, styles: tokens, offset: null }; -} -/** - * `state` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `state` declares an animation state within the given trigger. When a state is active within a - * component then its associated styles will persist on the element that the trigger is attached to - * (even when the animation ends). - * - * To animate between states, have a look at the animation {\@link transition transition} DSL - * function. To register states to an animation trigger please have a look at the {\@link trigger - * trigger} function. - * - * #### The `void` state - * - * The `void` state value is a reserved word that angular uses to determine when the element is not - * apart of the application anymore (e.g. when an `ngIf` evaluates to false then the state of the - * associated element is void). - * - * #### The `*` (default) state - * - * The `*` state (when styled) is a fallback state that will be used if the state that is being - * animated is not declared within the trigger. - * - * ### Usage - * - * `state` will declare an animation state with its associated styles - * within the given trigger. - * - * - `stateNameExpr` can be one or more state names separated by commas. - * - `styles` refers to the {\@link style styling data} that will be persisted on the element once - * the state has been reached. - * - * ```typescript - * // "void" is a reserved name for a state and is used to represent - * // the state in which an element is detached from from the application. - * state("void", style({ height: 0 })) - * - * // user-defined states - * state("closed", style({ height: 0 })) - * state("open, visible", style({ height: "*" })) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} name - * @param {?} styles - * @param {?=} options - * @return {?} - */ -function state$1(name, styles, options) { - return { type: 0 /* State */, name: name, styles: styles, options: options }; -} -/** - * `keyframes` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `keyframes` specifies a collection of {\@link style style} entries each optionally characterized - * by an `offset` value. - * - * ### Usage - * - * The `keyframes` animation function is designed to be used alongside the {\@link animate animate} - * animation function. Instead of applying animations from where they are currently to their - * destination, keyframes can describe how each style entry is applied and at what point within the - * animation arc (much like CSS Keyframe Animations do). - * - * For each `style()` entry an `offset` value can be set. Doing so allows to specifiy at what - * percentage of the animate time the styles will be applied. - * - * ```typescript - * // the provided offset values describe when each backgroundColor value is applied. - * animate("5s", keyframes([ - * style({ backgroundColor: "red", offset: 0 }), - * style({ backgroundColor: "blue", offset: 0.2 }), - * style({ backgroundColor: "orange", offset: 0.3 }), - * style({ backgroundColor: "black", offset: 1 }) - * ])) - * ``` - * - * Alternatively, if there are no `offset` values used within the style entries then the offsets - * will be calculated automatically. - * - * ```typescript - * animate("5s", keyframes([ - * style({ backgroundColor: "red" }) // offset = 0 - * style({ backgroundColor: "blue" }) // offset = 0.33 - * style({ backgroundColor: "orange" }) // offset = 0.66 - * style({ backgroundColor: "black" }) // offset = 1 - * ])) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @return {?} - */ -function keyframes$1(steps) { - return { type: 5 /* Keyframes */, steps: steps }; -} -/** - * `transition` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `transition` declares the {\@link sequence sequence of animation steps} that will be run when the - * provided `stateChangeExpr` value is satisfied. The `stateChangeExpr` consists of a `state1 => - * state2` which consists of two known states (use an asterix (`*`) to refer to a dynamic starting - * and/or ending state). - * - * A function can also be provided as the `stateChangeExpr` argument for a transition and this - * function will be executed each time a state change occurs. If the value returned within the - * function is true then the associated animation will be run. - * - * Animation transitions are placed within an {\@link trigger animation trigger}. For an transition - * to animate to a state value and persist its styles then one or more {\@link state animation - * states} is expected to be defined. - * - * ### Usage - * - * An animation transition is kicked off the `stateChangeExpr` predicate evaluates to true based on - * what the previous state is and what the current state has become. In other words, if a transition - * is defined that matches the old/current state criteria then the associated animation will be - * triggered. - * - * ```typescript - * // all transition/state changes are defined within an animation trigger - * trigger("myAnimationTrigger", [ - * // if a state is defined then its styles will be persisted when the - * // animation has fully completed itself - * state("on", style({ background: "green" })), - * state("off", style({ background: "grey" })), - * - * // a transition animation that will be kicked off when the state value - * // bound to "myAnimationTrigger" changes from "on" to "off" - * transition("on => off", animate(500)), - * - * // it is also possible to do run the same animation for both directions - * transition("on <=> off", animate(500)), - * - * // or to define multiple states pairs separated by commas - * transition("on => off, off => void", animate(500)), - * - * // this is a catch-all state change for when an element is inserted into - * // the page and the destination state is unknown - * transition("void => *", [ - * style({ opacity: 0 }), - * animate(500) - * ]), - * - * // this will capture a state change between any states - * transition("* => *", animate("1s 0s")), - * - * // you can also go full out and include a function - * transition((fromState, toState) => { - * // when `true` then it will allow the animation below to be invoked - * return fromState == "off" && toState == "on"; - * }, animate("1s 0s")) - * ]) - * ``` - * - * The template associated with this component will make use of the `myAnimationTrigger` animation - * trigger by binding to an element within its template code. - * - * ```html - * - *
    ...
    - * ``` - * - * #### The final `animate` call - * - * If the final step within the transition steps is a call to `animate()` that **only** uses a - * timing value with **no style data** then it will be automatically used as the final animation arc - * for the element to animate itself to the final state. This involves an automatic mix of - * adding/removing CSS styles so that the element will be in the exact state it should be for the - * applied state to be presented correctly. - * - * ``` - * // start off by hiding the element, but make sure that it animates properly to whatever state - * // is currently active for "myAnimationTrigger" - * transition("void => *", [ - * style({ opacity: 0 }), - * animate(500) - * ]) - * ``` - * - * ### Using :enter and :leave - * - * Given that enter (insertion) and leave (removal) animations are so common, the `transition` - * function accepts both `:enter` and `:leave` values which are aliases for the `void => *` and `* - * => void` state changes. - * - * ``` - * transition(":enter", [ - * style({ opacity: 0 }), - * animate(500, style({ opacity: 1 })) - * ]), - * transition(":leave", [ - * animate(500, style({ opacity: 0 })) - * ]) - * ``` - * - * ### Boolean values - * if a trigger binding value is a boolean value then it can be matched using a transition - * expression that compares `true` and `false` or `1` and `0`. - * - * ``` - * // in the template - *
    ...
    - * - * // in the component metadata - * trigger('openClose', [ - * state('true', style({ height: '*' })), - * state('false', style({ height: '0px' })), - * transition('false <=> true', animate(500)) - * ]) - * ``` - * - * ### Using :increment and :decrement - * In addition to the :enter and :leave transition aliases, the :increment and :decrement aliases - * can be used to kick off a transition when a numeric value has increased or decreased in value. - * - * ``` - * import {group, animate, query, transition, style, trigger} from '\@angular/animations'; - * import {Component} from '\@angular/core'; - * - * \@Component({ - * selector: 'banner-carousel-component', - * styles: [` - * .banner-container { - * position:relative; - * height:500px; - * overflow:hidden; - * } - * .banner-container > .banner { - * position:absolute; - * left:0; - * top:0; - * font-size:200px; - * line-height:500px; - * font-weight:bold; - * text-align:center; - * width:100%; - * } - * `], - * template: ` - * - * - *
    - * - * ` - * animations: [ - * trigger('bannerAnimation', [ - * transition(":increment", group([ - * query(':enter', [ - * style({ left: '100%' }), - * animate('0.5s ease-out', style('*')) - * ]), - * query(':leave', [ - * animate('0.5s ease-out', style({ left: '-100%' })) - * ]) - * ])), - * transition(":decrement", group([ - * query(':enter', [ - * style({ left: '-100%' }), - * animate('0.5s ease-out', style('*')) - * ]), - * query(':leave', [ - * animate('0.5s ease-out', style({ left: '100%' })) - * ]) - * ])), - * ]) - * ] - * }) - * class BannerCarouselComponent { - * allBanners: string[] = ['1', '2', '3', '4']; - * selectedIndex: number = 0; - * - * get banners() { - * return [this.allBanners[this.selectedIndex]]; - * } - * - * previous() { - * this.selectedIndex = Math.max(this.selectedIndex - 1, 0); - * } - * - * next() { - * this.selectedIndex = Math.min(this.selectedIndex + 1, this.allBanners.length - 1); - * } - * } - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} stateChangeExpr - * @param {?} steps - * @param {?=} options - * @return {?} - */ -function transition$1(stateChangeExpr, steps, options) { - if (options === void 0) { options = null; } - return { type: 1 /* Transition */, expr: stateChangeExpr, animation: steps, options: options }; -} -/** - * `animation` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. - * - * `var myAnimation = animation(...)` is designed to produce a reusable animation that can be later - * invoked in another animation or sequence. Reusable animations are designed to make use of - * animation parameters and the produced animation can be used via the `useAnimation` method. - * - * ``` - * var fadeAnimation = animation([ - * style({ opacity: '{{ start }}' }), - * animate('{{ time }}', - * style({ opacity: '{{ end }}'})) - * ], { params: { time: '1000ms', start: 0, end: 1 }}); - * ``` - * - * If parameters are attached to an animation then they act as **default parameter values**. When an - * animation is invoked via `useAnimation` then parameter values are allowed to be passed in - * directly. If any of the passed in parameter values are missing then the default values will be - * used. - * - * ``` - * useAnimation(fadeAnimation, { - * params: { - * time: '2s', - * start: 1, - * end: 0 - * } - * }) - * ``` - * - * If one or more parameter values are missing before animated then an error will be thrown. - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @param {?=} options - * @return {?} - */ - -/** - * `animateChild` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. It works by allowing a queried element to execute its own - * animation within the animation sequence. - * - * Each time an animation is triggered in angular, the parent animation - * will always get priority and any child animations will be blocked. In order - * for a child animation to run, the parent animation must query each of the elements - * containing child animations and then allow the animations to run using `animateChild`. - * - * The example HTML code below shows both parent and child elements that have animation - * triggers that will execute at the same time. - * - * ```html - * - * - *
    - * - *
    - *
    Hello
    - *
    - * one - *
    - *
    - * two - *
    - *
    - * three - *
    - *
    - * ``` - * - * Now when the `exp` value changes to true, only the `parentAnimation` animation will animate - * because it has priority. However, using `query` and `animateChild` each of the inner animations - * can also fire: - * - * ```ts - * // parent-child.component.ts - * import {trigger, transition, animate, style, query, animateChild} from '\@angular/animations'; - * \@Component({ - * selector: 'parent-child-component', - * animations: [ - * trigger('parentAnimation', [ - * transition('false => true', [ - * query('header', [ - * style({ opacity: 0 }), - * animate(500, style({ opacity: 1 })) - * ]), - * query('\@childAnimation', [ - * animateChild() - * ]) - * ]) - * ]), - * trigger('childAnimation', [ - * transition('false => true', [ - * style({ opacity: 0 }), - * animate(500, style({ opacity: 1 })) - * ]) - * ]) - * ] - * }) - * class ParentChildCmp { - * exp: boolean = false; - * } - * ``` - * - * In the animation code above, when the `parentAnimation` transition kicks off it first queries to - * find the header element and fades it in. It then finds each of the sub elements that contain the - * `\@childAnimation` trigger and then allows for their animations to fire. - * - * This example can be further extended by using stagger: - * - * ```ts - * query('\@childAnimation', stagger(100, [ - * animateChild() - * ])) - * ``` - * - * Now each of the sub animations start off with respect to the `100ms` staggering step. - * - * ## The first frame of child animations - * When sub animations are executed using `animateChild` the animation engine will always apply the - * first frame of every sub animation immediately at the start of the animation sequence. This way - * the parent animation does not need to set any initial styling data on the sub elements before the - * sub animations kick off. - * - * In the example above the first frame of the `childAnimation`'s `false => true` transition - * consists of a style of `opacity: 0`. This is applied immediately when the `parentAnimation` - * animation transition sequence starts. Only then when the `\@childAnimation` is queried and called - * with `animateChild` will it then animate to its destination of `opacity: 1`. - * - * Note that this feature designed to be used alongside {\@link query query()} and it will only work - * with animations that are assigned using the Angular animation DSL (this means that CSS keyframes - * and transitions are not handled by this API). - * - * \@experimental Animation support is experimental. - * @param {?=} options - * @return {?} - */ - -/** - * `useAnimation` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. It is used to kick off a reusable animation that is created using {\@link - * animation animation()}. - * - * \@experimental Animation support is experimental. - * @param {?} animation - * @param {?=} options - * @return {?} - */ - -/** - * `query` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. - * - * query() is used to find one or more inner elements within the current element that is - * being animated within the sequence. The provided animation steps are applied - * to the queried element (by default, an array is provided, then this will be - * treated as an animation sequence). - * - * ### Usage - * - * query() is designed to collect mutiple elements and works internally by using - * `element.querySelectorAll`. An additional options object can be provided which - * can be used to limit the total amount of items to be collected. - * - * ```js - * query('div', [ - * animate(...), - * animate(...) - * ], { limit: 1 }) - * ``` - * - * query(), by default, will throw an error when zero items are found. If a query - * has the `optional` flag set to true then this error will be ignored. - * - * ```js - * query('.some-element-that-may-not-be-there', [ - * animate(...), - * animate(...) - * ], { optional: true }) - * ``` - * - * ### Special Selector Values - * - * The selector value within a query can collect elements that contain angular-specific - * characteristics - * using special pseudo-selectors tokens. - * - * These include: - * - * - Querying for newly inserted/removed elements using `query(":enter")`/`query(":leave")` - * - Querying all currently animating elements using `query(":animating")` - * - Querying elements that contain an animation trigger using `query("\@triggerName")` - * - Querying all elements that contain an animation triggers using `query("\@*")` - * - Including the current element into the animation sequence using `query(":self")` - * - * - * Each of these pseudo-selector tokens can be merged together into a combined query selector - * string: - * - * ``` - * query(':self, .record:enter, .record:leave, \@subTrigger', [...]) - * ``` - * - * ### Demo - * - * ``` - * \@Component({ - * selector: 'inner', - * template: ` - *
    - *

    Title

    - *
    - * Blah blah blah - *
    - *
    - * `, - * animations: [ - * trigger('queryAnimation', [ - * transition('* => goAnimate', [ - * // hide the inner elements - * query('h1', style({ opacity: 0 })), - * query('.content', style({ opacity: 0 })), - * - * // animate the inner elements in, one by one - * query('h1', animate(1000, style({ opacity: 1 })), - * query('.content', animate(1000, style({ opacity: 1 })), - * ]) - * ]) - * ] - * }) - * class Cmp { - * exp = ''; - * - * goAnimate() { - * this.exp = 'goAnimate'; - * } - * } - * ``` - * - * \@experimental Animation support is experimental. - * @param {?} selector - * @param {?} animation - * @param {?=} options - * @return {?} - */ - -/** - * `stagger` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. It is designed to be used inside of an animation {\@link query query()} - * and works by issuing a timing gap between after each queried item is animated. - * - * ### Usage - * - * In the example below there is a container element that wraps a list of items stamped out - * by an ngFor. The container element contains an animation trigger that will later be set - * to query for each of the inner items. - * - * ```html - * - * - *
    - *
    - *
    - * {{ item }} - *
    - *
    - * ``` - * - * The component code for this looks as such: - * - * ```ts - * import {trigger, transition, style, animate, query, stagger} from '\@angular/animations'; - * \@Component({ - * templateUrl: 'list.component.html', - * animations: [ - * trigger('listAnimation', [ - * //... - * ]) - * ] - * }) - * class ListComponent { - * items = []; - * - * showItems() { - * this.items = [0,1,2,3,4]; - * } - * - * hideItems() { - * this.items = []; - * } - * - * toggle() { - * this.items.length ? this.hideItems() : this.showItems(); - * } - * } - * ``` - * - * And now for the animation trigger code: - * - * ```ts - * trigger('listAnimation', [ - * transition('* => *', [ // each time the binding value changes - * query(':leave', [ - * stagger(100, [ - * animate('0.5s', style({ opacity: 0 })) - * ]) - * ]), - * query(':enter', [ - * style({ opacity: 0 }), - * stagger(100, [ - * animate('0.5s', style({ opacity: 1 })) - * ]) - * ]) - * ]) - * ]) - * ``` - * - * Now each time the items are added/removed then either the opacity - * fade-in animation will run or each removed item will be faded out. - * When either of these animations occur then a stagger effect will be - * applied after each item's animation is started. - * - * \@experimental Animation support is experimental. - * @param {?} timings - * @param {?} animation - * @return {?} - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - */ -var AUTO_STYLE = '*'; -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} name - * @param {?} definitions - * @return {?} - */ -function trigger$$1(name, definitions) { - return trigger$1(name, definitions); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} timings - * @param {?=} styles - * @return {?} - */ -function animate$$1(timings, styles) { - return animate$1(timings, styles); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} steps - * @return {?} - */ -function group$$1(steps) { - return group$1(steps); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} steps - * @return {?} - */ -function sequence$$1(steps) { - return sequence$1(steps); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} tokens - * @return {?} - */ -function style$$1(tokens) { - return style$1(tokens); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} name - * @param {?} styles - * @return {?} - */ -function state$$1(name, styles) { - return state$1(name, styles); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} steps - * @return {?} - */ -function keyframes$$1(steps) { - return keyframes$1(steps); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} stateChangeExpr - * @param {?} steps - * @return {?} - */ -function transition$$1(stateChangeExpr, steps) { - return transition$1(stateChangeExpr, steps); -} -/** - * @deprecated This has been renamed to `AnimationEvent`. Please import it from \@angular/animations. - * @record - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * Entry point from which you should import all public core APIs. - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * Entry point for all public APIs of this package. - */ - -// This file only reexports content of the `src` folder. Keep it that way. - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ - - -//# sourceMappingURL=core.js.map - -/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(132))) - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (immutable) */ __webpack_exports__["b"] = __extends; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __assign; }); -/* unused harmony export __rest */ -/* unused harmony export __decorate */ -/* unused harmony export __param */ -/* unused harmony export __metadata */ -/* unused harmony export __awaiter */ -/* unused harmony export __generator */ -/* unused harmony export __exportStar */ -/* unused harmony export __values */ -/* unused harmony export __read */ -/* unused harmony export __spread */ -/* unused harmony export __await */ -/* unused harmony export __asyncGenerator */ -/* unused harmony export __asyncDelegator */ -/* unused harmony export __asyncValues */ -/* unused harmony export __makeTemplateObject */ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -/* global Reflect, Promise */ - -var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - -function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -} - -var __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; -} - -function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) - t[p[i]] = s[p[i]]; - return t; -} - -function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} - -function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -} - -function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); -} - -function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} - -function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [0, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -} - -function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; -} - -function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; -} - -function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; -} - -function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; -} - -function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); -} - -function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } -} - -function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; }; } -} - -function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator]; - return m ? m.call(o) : typeof __values === "function" ? __values(o) : o[Symbol.iterator](); -} - -function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; -}; - - -/***/ }), -/* 2 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_app_app_root__ = __webpack_require__(151); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_0__components_app_app_root__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_app_menu_controller__ = __webpack_require__(76); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_1__components_app_menu_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_action_sheet_action_sheet__ = __webpack_require__(153); -/* unused harmony reexport ActionSheet */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_action_sheet_action_sheet_controller__ = __webpack_require__(262); -/* unused harmony reexport ActionSheetController */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_action_sheet_action_sheet_component__ = __webpack_require__(154); -/* unused harmony reexport ActionSheetCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_alert_alert__ = __webpack_require__(155); -/* unused harmony reexport Alert */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_alert_alert_controller__ = __webpack_require__(263); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_6__components_alert_alert_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_alert_alert_component__ = __webpack_require__(156); -/* unused harmony reexport AlertCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_app_app__ = __webpack_require__(26); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_8__components_app_app__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__components_avatar_avatar__ = __webpack_require__(264); -/* unused harmony reexport Avatar */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__components_backdrop_backdrop__ = __webpack_require__(157); -/* unused harmony reexport Backdrop */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_badge_badge__ = __webpack_require__(265); -/* unused harmony reexport Badge */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__components_button_button__ = __webpack_require__(98); -/* unused harmony reexport Button */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__components_card_card__ = __webpack_require__(266); -/* unused harmony reexport Card */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__components_card_card_content__ = __webpack_require__(267); -/* unused harmony reexport CardContent */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__components_card_card_header__ = __webpack_require__(268); -/* unused harmony reexport CardHeader */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__components_card_card_title__ = __webpack_require__(269); -/* unused harmony reexport CardTitle */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__components_checkbox_checkbox__ = __webpack_require__(270); -/* unused harmony reexport Checkbox */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__components_chip_chip__ = __webpack_require__(277); -/* unused harmony reexport Chip */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__components_content_content__ = __webpack_require__(62); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_19__components_content_content__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__components_datetime_datetime__ = __webpack_require__(278); -/* unused harmony reexport DateTime */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__components_fab_fab__ = __webpack_require__(118); -/* unused harmony reexport FabButton */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__components_fab_fab_container__ = __webpack_require__(280); -/* unused harmony reexport FabContainer */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__components_fab_fab_list__ = __webpack_require__(164); -/* unused harmony reexport FabList */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__components_grid_col__ = __webpack_require__(281); -/* unused harmony reexport Col */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__components_grid_grid__ = __webpack_require__(282); -/* unused harmony reexport Grid */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__components_grid_row__ = __webpack_require__(283); -/* unused harmony reexport Row */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__components_ion__ = __webpack_require__(16); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_27__components_ion__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__components_icon_icon__ = __webpack_require__(158); -/* unused harmony reexport Icon */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__components_img_img__ = __webpack_require__(284); -/* unused harmony reexport Img */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__components_infinite_scroll_infinite_scroll__ = __webpack_require__(165); -/* unused harmony reexport InfiniteScroll */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__components_infinite_scroll_infinite_scroll_content__ = __webpack_require__(285); -/* unused harmony reexport InfiniteScrollContent */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__components_input_input__ = __webpack_require__(286); -/* unused harmony reexport TextInput */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__components_item_item__ = __webpack_require__(57); -/* unused harmony reexport Item */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__components_item_item_content__ = __webpack_require__(288); -/* unused harmony reexport ItemContent */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__components_item_item_divider__ = __webpack_require__(289); -/* unused harmony reexport ItemDivider */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__components_item_item_group__ = __webpack_require__(290); -/* unused harmony reexport ItemGroup */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__components_item_item_options__ = __webpack_require__(166); -/* unused harmony reexport ItemOptions */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__components_item_item_reorder__ = __webpack_require__(160); -/* unused harmony reexport ItemReorder */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__components_item_item_sliding__ = __webpack_require__(291); -/* unused harmony reexport ItemSliding */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__components_item_reorder__ = __webpack_require__(292); -/* unused harmony reexport Reorder */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__components_label_label__ = __webpack_require__(159); -/* unused harmony reexport Label */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__components_list_list__ = __webpack_require__(167); -/* unused harmony reexport List */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__components_list_list_header__ = __webpack_require__(168); -/* unused harmony reexport ListHeader */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__components_loading_loading__ = __webpack_require__(293); -/* unused harmony reexport Loading */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__components_loading_loading_controller__ = __webpack_require__(294); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_45__components_loading_loading_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__components_loading_loading_component__ = __webpack_require__(169); -/* unused harmony reexport LoadingCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__components_menu_menu__ = __webpack_require__(295); -/* unused harmony reexport Menu */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__components_menu_menu_close__ = __webpack_require__(296); -/* unused harmony reexport MenuClose */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__components_menu_menu_toggle__ = __webpack_require__(297); -/* unused harmony reexport MenuToggle */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__components_menu_menu_types__ = __webpack_require__(569); -/* unused harmony reexport MenuType */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__components_modal_modal__ = __webpack_require__(299); -/* unused harmony reexport Modal */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__components_modal_modal_component__ = __webpack_require__(172); -/* unused harmony reexport ModalCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__components_modal_modal_controller__ = __webpack_require__(302); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_53__components_modal_modal_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__components_nav_nav__ = __webpack_require__(170); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_54__components_nav_nav__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__components_nav_nav_pop__ = __webpack_require__(174); -/* unused harmony reexport NavPop */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__components_nav_nav_pop_anchor__ = __webpack_require__(303); -/* unused harmony reexport NavPopAnchor */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__components_nav_nav_push__ = __webpack_require__(175); -/* unused harmony reexport NavPush */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__components_nav_nav_push_anchor__ = __webpack_require__(304); -/* unused harmony reexport NavPushAnchor */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__components_note_note__ = __webpack_require__(305); -/* unused harmony reexport Note */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__components_option_option__ = __webpack_require__(176); -/* unused harmony reexport Option */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__components_picker_picker__ = __webpack_require__(279); -/* unused harmony reexport Picker */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__components_picker_picker_component__ = __webpack_require__(162); -/* unused harmony reexport PickerCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__components_picker_picker_column__ = __webpack_require__(163); -/* unused harmony reexport PickerColumnCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__components_picker_picker_controller__ = __webpack_require__(161); -/* unused harmony reexport PickerController */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__components_popover_popover__ = __webpack_require__(177); -/* unused harmony reexport Popover */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__components_popover_popover_component__ = __webpack_require__(178); -/* unused harmony reexport PopoverCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__components_popover_popover_controller__ = __webpack_require__(306); -/* unused harmony reexport PopoverController */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__components_radio_radio_button__ = __webpack_require__(307); -/* unused harmony reexport RadioButton */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__components_radio_radio_group__ = __webpack_require__(179); -/* unused harmony reexport RadioGroup */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__components_range_range__ = __webpack_require__(308); -/* unused harmony reexport Range */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__components_range_range_knob__ = __webpack_require__(309); -/* unused harmony reexport RangeKnob */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__components_refresher_refresher__ = __webpack_require__(180); -/* unused harmony reexport Refresher */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__components_refresher_refresher_content__ = __webpack_require__(310); -/* unused harmony reexport RefresherContent */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__components_scroll_scroll__ = __webpack_require__(311); -/* unused harmony reexport Scroll */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_75__components_searchbar_searchbar__ = __webpack_require__(312); -/* unused harmony reexport Searchbar */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_76__components_segment_segment__ = __webpack_require__(313); -/* unused harmony reexport Segment */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_77__components_segment_segment_button__ = __webpack_require__(181); -/* unused harmony reexport SegmentButton */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_78__components_select_select__ = __webpack_require__(314); -/* unused harmony reexport Select */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_79__components_select_select_popover_component__ = __webpack_require__(182); -/* unused harmony reexport SelectPopover */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_80__components_show_hide_when_show_when__ = __webpack_require__(315); -/* unused harmony reexport ShowWhen */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_81__components_show_hide_when_display_when__ = __webpack_require__(183); -/* unused harmony reexport DisplayWhen */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_82__components_show_hide_when_hide_when__ = __webpack_require__(316); -/* unused harmony reexport HideWhen */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_83__components_slides_slide__ = __webpack_require__(317); -/* unused harmony reexport Slide */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_84__components_slides_slides__ = __webpack_require__(184); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return __WEBPACK_IMPORTED_MODULE_84__components_slides_slides__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_85__components_spinner_spinner__ = __webpack_require__(321); -/* unused harmony reexport Spinner */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_86__components_split_pane_split_pane__ = __webpack_require__(101); -/* unused harmony reexport SplitPane */ -/* unused harmony reexport RootNode */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_87__components_tabs_tab__ = __webpack_require__(322); -/* unused harmony reexport Tab */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_88__components_tabs_tab_button__ = __webpack_require__(323); -/* unused harmony reexport TabButton */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_89__components_tabs_tab_highlight__ = __webpack_require__(190); -/* unused harmony reexport TabHighlight */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_90__components_tabs_tabs__ = __webpack_require__(189); -/* unused harmony reexport Tabs */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_91__components_toast_toast__ = __webpack_require__(324); -/* unused harmony reexport Toast */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_92__components_toast_toast_component__ = __webpack_require__(191); -/* unused harmony reexport ToastCmp */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_93__components_toast_toast_controller__ = __webpack_require__(325); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return __WEBPACK_IMPORTED_MODULE_93__components_toast_toast_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_94__components_toggle_toggle__ = __webpack_require__(326); -/* unused harmony reexport Toggle */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_95__components_toolbar_toolbar_footer__ = __webpack_require__(327); -/* unused harmony reexport Footer */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_96__components_toolbar_toolbar_header__ = __webpack_require__(328); -/* unused harmony reexport Header */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_97__components_toolbar_toolbar__ = __webpack_require__(122); -/* unused harmony reexport Toolbar */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_98__components_toolbar_toolbar_item__ = __webpack_require__(329); -/* unused harmony reexport ToolbarItem */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_99__components_toolbar_toolbar_title__ = __webpack_require__(330); -/* unused harmony reexport ToolbarTitle */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_100__components_toolbar_navbar__ = __webpack_require__(102); -/* unused harmony reexport Navbar */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_101__components_thumbnail_thumbnail__ = __webpack_require__(331); -/* unused harmony reexport Thumbnail */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_102__components_typography_typography__ = __webpack_require__(332); -/* unused harmony reexport Typography */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_103__components_virtual_scroll_virtual_footer__ = __webpack_require__(192); -/* unused harmony reexport VirtualFooter */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_104__components_virtual_scroll_virtual_header__ = __webpack_require__(193); -/* unused harmony reexport VirtualHeader */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_105__components_virtual_scroll_virtual_item__ = __webpack_require__(194); -/* unused harmony reexport VirtualItem */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_106__components_virtual_scroll_virtual_scroll__ = __webpack_require__(333); -/* unused harmony reexport VirtualScroll */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_107__config_config__ = __webpack_require__(3); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_107__config_config__["a"]; }); -/* unused harmony reexport setupConfig */ -/* unused harmony reexport ConfigToken */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_108__platform_dom_controller__ = __webpack_require__(28); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_108__platform_dom_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_109__platform_platform__ = __webpack_require__(12); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return __WEBPACK_IMPORTED_MODULE_109__platform_platform__["a"]; }); -/* unused harmony reexport setupPlatform */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_110__tap_click_haptic__ = __webpack_require__(100); -/* unused harmony reexport Haptic */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_111__navigation_deep_linker__ = __webpack_require__(53); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_111__navigation_deep_linker__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_112__navigation_ionic_page__ = __webpack_require__(581); -/* unused harmony reexport IonicPage */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_113__navigation_nav_controller__ = __webpack_require__(69); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return __WEBPACK_IMPORTED_MODULE_113__navigation_nav_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_114__navigation_nav_controller_base__ = __webpack_require__(115); -/* unused harmony reexport NavControllerBase */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_115__navigation_nav_params__ = __webpack_require__(52); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_115__navigation_nav_params__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_116__navigation_nav_util__ = __webpack_require__(68); -/* unused harmony reexport DeepLinkMetadata */ -/* unused harmony reexport DeepLinkMetadataFactory */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_117__tap_click_tap_click__ = __webpack_require__(334); -/* unused harmony reexport TapClick */ -/* unused harmony reexport setupTapClick */ -/* unused harmony reexport isActivatable */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_118__navigation_url_serializer__ = __webpack_require__(114); -/* unused harmony reexport UrlSerializer */ -/* unused harmony reexport DeepLinkConfigToken */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_119__navigation_view_controller__ = __webpack_require__(21); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return __WEBPACK_IMPORTED_MODULE_119__navigation_view_controller__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_120__gestures_pan_gesture__ = __webpack_require__(116); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return __WEBPACK_IMPORTED_MODULE_120__gestures_pan_gesture__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_121__gestures_gesture__ = __webpack_require__(583); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_121__gestures_gesture__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_122__gestures_slide_edge_gesture__ = __webpack_require__(152); -/* unused harmony reexport SlideEdgeGesture */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_123__gestures_slide_gesture__ = __webpack_require__(260); -/* unused harmony reexport SlideGesture */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_124__gestures_gesture_controller__ = __webpack_require__(27); -/* unused harmony reexport BLOCK_ALL */ -/* unused harmony reexport GESTURE_GO_BACK_SWIPE */ -/* unused harmony reexport GESTURE_MENU_SWIPE */ -/* unused harmony reexport GESTURE_ITEM_SWIPE */ -/* unused harmony reexport GESTURE_REFRESHER */ -/* unused harmony reexport GESTURE_TOGGLE */ -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_124__gestures_gesture_controller__["l"]; }); -/* unused harmony reexport GestureDelegate */ -/* unused harmony reexport BlockerDelegate */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_125__util_events__ = __webpack_require__(338); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_125__util_events__["a"]; }); -/* unused harmony reexport setupEvents */ -/* unused harmony reexport setupProvideEvents */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_126__util_ionic_error_handler__ = __webpack_require__(584); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_126__util_ionic_error_handler__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_127__platform_keyboard__ = __webpack_require__(99); -/* unused harmony reexport Keyboard */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_128__util_form__ = __webpack_require__(56); -/* unused harmony reexport Form */ -/* unused harmony reexport IonicFormInput */ -/* unused harmony reexport IonicTapInput */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_129__util_util__ = __webpack_require__(4); -/* unused harmony reexport reorderArray */ -/* unused harmony reexport normalizeURL */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_130__animations_animation__ = __webpack_require__(39); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_130__animations_animation__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_131__transitions_page_transition__ = __webpack_require__(83); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return __WEBPACK_IMPORTED_MODULE_131__transitions_page_transition__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_132__transitions_transition__ = __webpack_require__(77); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return __WEBPACK_IMPORTED_MODULE_132__transitions_transition__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_133__platform_platform_registry__ = __webpack_require__(339); -/* unused harmony reexport PlatformConfigToken */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_134__config_mode_registry__ = __webpack_require__(340); -/* unused harmony reexport registerModeConfigs */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_135__gestures_gesture_config__ = __webpack_require__(341); -/* unused harmony reexport IonicGestureConfig */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_136__module__ = __webpack_require__(585); -/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_136__module__["a"]; }); -/* unused harmony reexport IonicPageModule */ -/* unused harmony reexport provideLocationStrategy */ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/** - * Global Providers - */ - - - - - - - - - - - - - -/** - * Export Utils - */ - - - - - - - - - - - - - - - - - -//# sourceMappingURL=index.js.map - -/***/ }), -/* 3 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Config; }); -/* harmony export (immutable) */ __webpack_exports__["c"] = setupConfig; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ConfigToken; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_util__ = __webpack_require__(4); - - -/** - * @name Config - * @demo /docs/demos/src/config/ - * @description - * The Config lets you configure your entire app or specific platforms. - * You can set the tab placement, icon mode, animations, and more here. - * - * ```ts - * import { IonicApp, IonicModule } from 'ionic-angular'; - * - * @NgModule({ - * declarations: [ MyApp ], - * imports: [ - * BrowserModule, - * IonicModule.forRoot(MyApp, { - * backButtonText: 'Go Back', - * iconMode: 'ios', - * modalEnter: 'modal-slide-in', - * modalLeave: 'modal-slide-out', - * tabsPlacement: 'bottom', - * pageTransition: 'ios-transition' - * }, {} - * )], - * bootstrap: [IonicApp], - * entryComponents: [ MyApp ], - * providers: [] - * }) - * ``` - * - * - * Config can be overwritten at multiple levels allowing for more granular configuration. - * Below is an example where an app can override any setting we want based on a platform. - * - * ```ts - * import { IonicModule } from 'ionic-angular'; - * - * @NgModule({ - * ... - * imports: [ - * BrowserModule, - * IonicModule.forRoot(MyApp, { - * tabsPlacement: 'bottom', - * platforms: { - * ios: { - * tabsPlacement: 'top', - * } - * } - * }, {} - * )], - * ... - * }) - * ``` - * - * We could also configure these values at a component level. Take `tabsPlacement`, - * we can configure this as a property on our `ion-tabs`. - * - * ```html - * - * - * - * ``` - * - * The last way we could configure is through URL query strings. This is useful for testing - * while in the browser. Simply add `?ionic=` to the url. - * - * ```bash - * http://localhost:8100/?ionicTabsPlacement=bottom - * ``` - * - * Any value can be added to config, and looked up at a later in any component. - * - * ```js - * config.set('ios', 'favoriteColor', 'green'); - * - * // from any page in your app: - * config.get('favoriteColor'); // 'green' when iOS - * ``` - * - * - * A config value can come from anywhere and be anything, but there are default - * values for each mode. The [theming](../../../theming/platform-specific-styles/) - * documentation has a chart of the default mode configuration. The following - * chart displays each property with a description of what it controls. - * - * - * | Config Property | Type | Details | - * |--------------------------|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------| - * | `activator` | `string` | Used for buttons, changes the effect of pressing on a button. Available options: `"ripple"`, `"highlight"`. | - * | `actionSheetEnter` | `string` | The name of the transition to use while an action sheet is presented. | - * | `actionSheetLeave` | `string` | The name of the transition to use while an action sheet is dismissed. | - * | `alertEnter` | `string` | The name of the transition to use while an alert is presented. | - * | `alertLeave` | `string` | The name of the transition to use while an alert is dismissed. | - * | `backButtonText` | `string` | The text to display by the back button icon in the navbar. | - * | `backButtonIcon` | `string` | The icon to use as the back button icon. | - * | `iconMode` | `string` | The mode to use for all icons throughout the application. Available options: `"ios"`, `"md"` | - * | `locationStrategy` | `string` | Set to 'path' to remove hashbangs when using Deeplinking. | - * | `loadingEnter` | `string` | The name of the transition to use while a loading indicator is presented. | - * | `loadingLeave` | `string` | The name of the transition to use while a loading indicator is dismissed. | - * | `menuType` | `string` | Type of menu to display. Available options: `"overlay"`, `"reveal"`, `"push"`. | - * | `modalEnter` | `string` | The name of the transition to use while a modal is presented. | - * | `modalLeave` | `string` | The name of the transition to use while a modal is dismiss. | - * | `mode` | `string` | The mode to use throughout the application. | - * | `pageTransition` | `string` | The name of the transition to use while changing pages. Available options: `"ios-transition"`, `"md-transition"`, `"wp-transition"`. | - * | `pickerEnter` | `string` | The name of the transition to use while a picker is presented. | - * | `pickerLeave` | `string` | The name of the transition to use while a picker is dismissed. | - * | `popoverEnter` | `string` | The name of the transition to use while a popover is presented. | - * | `popoverLeave` | `string` | The name of the transition to use while a popover is dismissed. - * | `scrollAssist` | `boolean` | Used to avoid the input to be hidden by the keyboard if it's near the bottom of the page. - * | `scrollPadding` | `boolean` | Used to remove the extra padding on ion-content when keyboard is displayed. - * | `spinner` | `string` | The default spinner to use when a name is not defined. | - * | `statusbarPadding` | `boolean` | Whether to hide extra padding for statusbar. | - * | `swipeBackEnabled` | `boolean` | Whether native iOS swipe to go back functionality is enabled. | - * | `tabsHighlight` | `boolean` | Whether to show a highlight line under the tab when it is selected. | - * | `tabsLayout` | `string` | The layout to use for all tabs. Available options: `"icon-top"`, `"icon-start"`, `"icon-end"`, `"icon-bottom"`, `"icon-hide"`, `"title-hide"`. | - * | `tabsPlacement` | `string` | The position of the tabs relative to the content. Available options: `"top"`, `"bottom"` | - * | `tabsHideOnSubPages` | `boolean` | Whether to hide the tabs on child pages or not. If `true` it will not show the tabs on child pages. | - * | `toastEnter` | `string` | The name of the transition to use while a toast is presented. | - * | `toastLeave` | `string` | The name of the transition to use while a toast is dismissed. | - * -**/ -var Config = (function () { - function Config() { - this._c = {}; - this._s = {}; - this._modes = {}; - this._trns = {}; - } - /** - * @hidden - */ - Config.prototype.init = function (config, plt) { - this._s = config && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["k" /* isObject */])(config) && !Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["e" /* isArray */])(config) ? config : {}; - this.plt = plt; - }; - /** - * @name get - * @description - * Returns a single config value, given a key. - * - * @param {string} [key] - the key for the config value - * @param {any} [fallbackValue] - a fallback value to use when the config - * value was not found, or is config value is `null`. Fallback value - * defaults to `null`. - */ - Config.prototype.get = function (key, fallbackValue) { - if (fallbackValue === void 0) { fallbackValue = null; } - var platform = this.plt; - if (!Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(this._c[key])) { - if (!Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(key)) { - throw 'config key is not defined'; - } - // if the value was already set this will all be skipped - // if there was no user config then it'll check each of - // the user config's platforms, which already contains - // settings from default platform configs - var userPlatformValue = undefined; - var userDefaultValue = this._s[key]; - var userPlatformModeValue = undefined; - var userDefaultModeValue = undefined; - var platformValue = undefined; - var platformModeValue = undefined; - var configObj = null; - if (platform) { - var queryStringValue = platform.getQueryParam('ionic' + key); - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(queryStringValue)) { - return this._c[key] = (queryStringValue === 'true' ? true : queryStringValue === 'false' ? false : queryStringValue); - } - // check the platform settings object for this value - // loop though each of the active platforms - // array of active platforms, which also knows the hierarchy, - // with the last one the most important - var activePlatformKeys = platform.platforms(); - // loop through all of the active platforms we're on - for (var i = 0, ilen = activePlatformKeys.length; i < ilen; i++) { - // get user defined platform values - if (this._s.platforms) { - configObj = this._s.platforms[activePlatformKeys[i]]; - if (configObj) { - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - userPlatformValue = configObj[key]; - } - configObj = this.getModeConfig(configObj.mode); - if (configObj && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - userPlatformModeValue = configObj[key]; - } - } - } - // get default platform's setting - configObj = platform.getPlatformConfig(activePlatformKeys[i]); - if (configObj && configObj.settings) { - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj.settings[key])) { - // found a setting for this platform - platformValue = configObj.settings[key]; - } - configObj = this.getModeConfig(configObj.settings.mode); - if (configObj && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - // found setting for this platform's mode - platformModeValue = configObj[key]; - } - } - } - } - configObj = this.getModeConfig(this._s.mode); - if (configObj && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - userDefaultModeValue = configObj[key]; - } - // cache the value - this._c[key] = Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userPlatformValue) ? userPlatformValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userDefaultValue) ? userDefaultValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userPlatformModeValue) ? userPlatformModeValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userDefaultModeValue) ? userDefaultModeValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(platformValue) ? platformValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(platformModeValue) ? platformModeValue : - null; - } - // return key's value - // either it came directly from the user config - // or it was from the users platform configs - // or it was from the default platform configs - // in that order - var rtnVal = this._c[key]; - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["i" /* isFunction */])(rtnVal)) { - rtnVal = rtnVal(platform); - } - return (rtnVal !== null ? rtnVal : fallbackValue); - }; - /** - * @name getBoolean - * @description - * Same as `get()`, however always returns a boolean value. If the - * value from `get()` is `null`, then it'll return the `fallbackValue` - * which defaults to `false`. Otherwise, `getBoolean()` will return - * if the config value is truthy or not. It also returns `true` if - * the config value was the string value `"true"`. - * @param {string} [key] - the key for the config value - * @param {boolean} [fallbackValue] - a fallback value to use when the config - * value was `null`. Fallback value defaults to `false`. - */ - Config.prototype.getBoolean = function (key, fallbackValue) { - if (fallbackValue === void 0) { fallbackValue = false; } - var val = this.get(key); - if (val === null) { - return fallbackValue; - } - if (typeof val === 'string') { - return val === 'true'; - } - return !!val; - }; - /** - * @name getNumber - * @description - * Same as `get()`, however always returns a number value. Uses `parseFloat()` - * on the value received from `get()`. If the result from the parse is `NaN`, - * then it will return the value passed to `fallbackValue`. If no fallback - * value was provided then it'll default to returning `NaN` when the result - * is not a valid number. - * @param {string} [key] - the key for the config value - * @param {number} [fallbackValue] - a fallback value to use when the config - * value turned out to be `NaN`. Fallback value defaults to `NaN`. - */ - Config.prototype.getNumber = function (key, fallbackValue) { - if (fallbackValue === void 0) { fallbackValue = NaN; } - var val = parseFloat(this.get(key)); - return isNaN(val) ? fallbackValue : val; - }; - /** - * @name set - * @description - * Sets a single config value. - * - * @param {string} [platform] - The platform (either 'ios' or 'android') that the config value should apply to. Leaving this blank will apply the config value to all platforms. - * @param {string} [key] - The key used to look up the value at a later point in time. - * @param {string} [value] - The config value being stored. - */ - Config.prototype.set = function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - var arg0 = args[0]; - var arg1 = args[1]; - switch (args.length) { - case 2: - // set('key', 'value') = set key/value pair - // arg1 = value - this._s[arg0] = arg1; - delete this._c[arg0]; // clear cache - break; - case 3: - // setting('ios', 'key', 'value') = set key/value pair for platform - // arg0 = platform - // arg1 = key - // arg2 = value - this._s.platforms = this._s.platforms || {}; - this._s.platforms[arg0] = this._s.platforms[arg0] || {}; - this._s.platforms[arg0][arg1] = args[2]; - delete this._c[arg1]; // clear cache - break; - } - return this; - }; - /** - * @hidden - * @name settings() - * @description - */ - Config.prototype.settings = function (arg0, arg1) { - switch (arguments.length) { - case 0: - return this._s; - case 1: - // settings({...}) - this._s = arg0; - this._c = {}; // clear cache - break; - case 2: - // settings('ios', {...}) - this._s.platforms = this._s.platforms || {}; - this._s.platforms[arg0] = arg1; - this._c = {}; // clear cache - break; - } - return this; - }; - /** - * @hidden - */ - Config.prototype.setModeConfig = function (modeName, modeConfig) { - this._modes[modeName] = modeConfig; - }; - /** - * @hidden - */ - Config.prototype.getModeConfig = function (modeName) { - return this._modes[modeName] || null; - }; - /** - * @hidden - */ - Config.prototype.setTransition = function (trnsName, trnsClass) { - this._trns[trnsName] = trnsClass; - }; - /** - * @hidden - */ - Config.prototype.getTransition = function (trnsName) { - return this._trns[trnsName] || null; - }; - return Config; -}()); - -/** - * @hidden - */ -function setupConfig(userConfig, plt) { - var config = new Config(); - config.init(userConfig, plt); - // add the config obj to the window - var win = plt.win(); - win['Ionic'] = win['Ionic'] || {}; - win['Ionic']['config'] = config; - return config; -} -/** - * @hidden - */ -var ConfigToken = new __WEBPACK_IMPORTED_MODULE_0__angular_core__["C" /* InjectionToken */]('USERCONFIG'); -//# sourceMappingURL=config.js.map - -/***/ }), -/* 4 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = clamp; -/* harmony export (immutable) */ __webpack_exports__["b"] = deepCopy; -/* harmony export (immutable) */ __webpack_exports__["c"] = deepEqual; -/* unused harmony export debounce */ -/* unused harmony export normalizeURL */ -/* harmony export (immutable) */ __webpack_exports__["d"] = defaults; -/* unused harmony export isBoolean */ -/* harmony export (immutable) */ __webpack_exports__["n"] = isString; -/* harmony export (immutable) */ __webpack_exports__["j"] = isNumber; -/* harmony export (immutable) */ __webpack_exports__["i"] = isFunction; -/* harmony export (immutable) */ __webpack_exports__["h"] = isDefined; -/* harmony export (immutable) */ __webpack_exports__["p"] = isUndefined; -/* harmony export (immutable) */ __webpack_exports__["l"] = isPresent; -/* harmony export (immutable) */ __webpack_exports__["f"] = isBlank; -/* harmony export (immutable) */ __webpack_exports__["k"] = isObject; -/* harmony export (immutable) */ __webpack_exports__["e"] = isArray; -/* unused harmony export isPrimitive */ -/* harmony export (immutable) */ __webpack_exports__["o"] = isTrueProperty; -/* harmony export (immutable) */ __webpack_exports__["g"] = isCheckedProperty; -/* harmony export (immutable) */ __webpack_exports__["m"] = isRightSide; -/* harmony export (immutable) */ __webpack_exports__["r"] = reorderArray; -/* harmony export (immutable) */ __webpack_exports__["q"] = removeArrayItem; -/* harmony export (immutable) */ __webpack_exports__["t"] = swipeShouldReset; -/* harmony export (immutable) */ __webpack_exports__["s"] = requestIonicCallback; -/* unused harmony export assert */ -/* unused harmony export runInDev */ -/** - * @hidden - * Given a min and max, restrict the given number - * to the range. - * @param min the minimum - * @param n the value - * @param max the maximum - */ -function clamp(min, n, max) { - return Math.max(min, Math.min(n, max)); -} -/** @hidden */ -function deepCopy(obj) { - return JSON.parse(JSON.stringify(obj)); -} -/** @hidden */ -function deepEqual(a, b) { - if (a === b) { - return true; - } - return JSON.stringify(a) === JSON.stringify(b); -} -/** @hidden */ -function debounce(fn, wait, immediate) { - if (immediate === void 0) { immediate = false; } - var timeout, args, context, timestamp, result; - return function () { - context = this; - args = arguments; - timestamp = Date.now(); - var later = function () { - var last = Date.now() - timestamp; - if (last < wait) { - timeout = setTimeout(later, wait - last); - } - else { - timeout = null; - if (!immediate) - result = fn.apply(context, args); - } - }; - var callNow = immediate && !timeout; - if (!timeout) { - timeout = setTimeout(later, wait); - } - if (callNow) - result = fn.apply(context, args); - return result; - }; -} -/** - * @hidden - * Rewrites an absolute URL so it works across file and http based engines - */ -function normalizeURL(url) { - var ionic = window['Ionic']; - if (ionic && ionic.normalizeURL) { - return ionic.normalizeURL(url); - } - return url; -} -/** - * @hidden - * Apply default arguments if they don't exist in - * the first object. - * @param {any} dest the destination to apply defaults to. - */ -function defaults(dest) { - var _args = []; - for (var _i = 1; _i < arguments.length; _i++) { - _args[_i - 1] = arguments[_i]; - } - for (var i = arguments.length - 1; i >= 1; i--) { - var source = arguments[i]; - if (source) { - for (var key in source) { - if (source.hasOwnProperty(key) && !dest.hasOwnProperty(key)) { - dest[key] = source[key]; - } - } - } - } - return dest; -} -/** @hidden */ -function isBoolean(val) { return typeof val === 'boolean'; } -/** @hidden */ -function isString(val) { return typeof val === 'string'; } -/** @hidden */ -function isNumber(val) { return typeof val === 'number'; } -/** @hidden */ -function isFunction(val) { return typeof val === 'function'; } -/** @hidden */ -function isDefined(val) { return typeof val !== 'undefined'; } -/** @hidden */ -function isUndefined(val) { return typeof val === 'undefined'; } -/** @hidden */ -function isPresent(val) { return val !== undefined && val !== null; } -/** @hidden */ -function isBlank(val) { return val === undefined || val === null; } -/** @hidden */ -function isObject(val) { return typeof val === 'object'; } -/** @hidden */ -function isArray(val) { return Array.isArray(val); } -/** @hidden */ -function isPrimitive(val) { - return isString(val) || isBoolean(val) || (isNumber(val) && !isNaN(val)); -} -/** @hidden */ -function isTrueProperty(val) { - if (typeof val === 'string') { - val = val.toLowerCase().trim(); - return (val === 'true' || val === 'on' || val === ''); - } - return !!val; -} -/** @hidden */ -function isCheckedProperty(a, b) { - if (a === undefined || a === null || a === '') { - return (b === undefined || b === null || b === ''); - } - else if (a === true || a === 'true') { - return (b === true || b === 'true'); - } - else if (a === false || a === 'false') { - return (b === false || b === 'false'); - } - else if (a === 0 || a === '0') { - return (b === 0 || b === '0'); - } - // not using strict comparison on purpose - return (a == b); // tslint:disable-line -} -/** - * @hidden - * Given a side, return if it should be on the right - * based on the value of dir - * @param side the side - * @param isRTL whether the application dir is rtl - * @param defaultRight whether the default side is right - */ -function isRightSide(side, isRTL, defaultRight) { - if (defaultRight === void 0) { defaultRight = false; } - switch (side) { - case 'right': return true; - case 'left': return false; - case 'end': return !isRTL; - case 'start': return isRTL; - default: return defaultRight ? !isRTL : isRTL; - } -} -/** @hidden */ -function reorderArray(array, indexes) { - var element = array[indexes.from]; - array.splice(indexes.from, 1); - array.splice(indexes.to, 0, element); - return array; -} -/** @hidden */ -function removeArrayItem(array, item) { - var index = array.indexOf(item); - return !!~index && !!array.splice(index, 1); -} -/** @hidden */ -function swipeShouldReset(isResetDirection, isMovingFast, isOnResetZone) { - // The logic required to know when the sliding item should close (openAmount=0) - // depends on three booleans (isCloseDirection, isMovingFast, isOnCloseZone) - // and it ended up being too complicated to be written manually without errors - // so the truth table is attached below: (0=false, 1=true) - // isCloseDirection | isMovingFast | isOnCloseZone || shouldClose - // 0 | 0 | 0 || 0 - // 0 | 0 | 1 || 1 - // 0 | 1 | 0 || 0 - // 0 | 1 | 1 || 0 - // 1 | 0 | 0 || 0 - // 1 | 0 | 1 || 1 - // 1 | 1 | 0 || 1 - // 1 | 1 | 1 || 1 - // The resulting expression was generated by resolving the K-map (Karnaugh map): - var shouldClose = (!isMovingFast && isOnResetZone) || (isResetDirection && isMovingFast); - return shouldClose; -} -/** @hidden */ -var ASSERT_ENABLED = true; -/** @hidden */ -function _runInDev(fn) { - if (ASSERT_ENABLED === true) { - return fn(); - } -} -/** @hidden */ -function _assert(actual, reason) { - if (!actual && ASSERT_ENABLED === true) { - var message = 'IONIC ASSERT: ' + reason; - console.error(message); - debugger; // tslint:disable-line - throw new Error(message); - } -} -/** @hidden */ -function requestIonicCallback(functionToLazy) { - if ('requestIdleCallback' in window) { - return window.requestIdleCallback(functionToLazy); - } - else { - return setTimeout(functionToLazy, 500); - } -} -/** @hidden */ - -/** @hidden */ - -//# sourceMappingURL=util.js.map - -/***/ }), -/* 5 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* unused harmony export AbstractControlDirective */ -/* unused harmony export AbstractFormGroupDirective */ -/* unused harmony export CheckboxControlValueAccessor */ -/* unused harmony export ControlContainer */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return NG_VALUE_ACCESSOR; }); -/* unused harmony export COMPOSITION_BUFFER_MODE */ -/* unused harmony export DefaultValueAccessor */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return NgControl; }); -/* unused harmony export NgControlStatus */ -/* unused harmony export NgControlStatusGroup */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return NgForm; }); -/* unused harmony export NgModel */ -/* unused harmony export NgModelGroup */ -/* unused harmony export RadioControlValueAccessor */ -/* unused harmony export FormControlDirective */ -/* unused harmony export FormControlName */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return FormGroupDirective; }); -/* unused harmony export FormArrayName */ -/* unused harmony export FormGroupName */ -/* unused harmony export NgSelectOption */ -/* unused harmony export SelectControlValueAccessor */ -/* unused harmony export SelectMultipleControlValueAccessor */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CheckboxRequiredValidator; }); -/* unused harmony export EmailValidator */ -/* unused harmony export MaxLengthValidator */ -/* unused harmony export MinLengthValidator */ -/* unused harmony export PatternValidator */ -/* unused harmony export RequiredValidator */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return FormBuilder; }); -/* unused harmony export AbstractControl */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return FormArray; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return FormControl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return FormGroup; }); -/* unused harmony export NG_ASYNC_VALIDATORS */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return NG_VALIDATORS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return Validators; }); -/* unused harmony export VERSION */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return FormsModule; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return ReactiveFormsModule; }); -/* unused harmony export ɵba */ -/* unused harmony export ɵz */ -/* unused harmony export ɵx */ -/* unused harmony export ɵy */ -/* unused harmony export ɵa */ -/* unused harmony export ɵb */ -/* unused harmony export ɵc */ -/* unused harmony export ɵd */ -/* unused harmony export ɵe */ -/* unused harmony export ɵf */ -/* unused harmony export ɵg */ -/* unused harmony export ɵbf */ -/* unused harmony export ɵbb */ -/* unused harmony export ɵbc */ -/* unused harmony export ɵh */ -/* unused harmony export ɵi */ -/* unused harmony export ɵbd */ -/* unused harmony export ɵbe */ -/* unused harmony export ɵj */ -/* unused harmony export ɵk */ -/* unused harmony export ɵl */ -/* unused harmony export ɵn */ -/* unused harmony export ɵm */ -/* unused harmony export ɵo */ -/* unused harmony export ɵq */ -/* unused harmony export ɵp */ -/* unused harmony export ɵs */ -/* unused harmony export ɵt */ -/* unused harmony export ɵv */ -/* unused harmony export ɵu */ -/* unused harmony export ɵw */ -/* unused harmony export ɵr */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__(1); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin__ = __webpack_require__(271); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise__ = __webpack_require__(558); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map__ = __webpack_require__(272); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_platform_browser__ = __webpack_require__(45); -/** - * @license Angular v5.0.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ - - - - - - - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Base class for control directives. - * - * Only used internally in the forms module. - * - * \@stable - * @abstract - */ -var AbstractControlDirective = (function () { - function AbstractControlDirective() { - } - Object.defineProperty(AbstractControlDirective.prototype, "value", { - /** The value of the control. */ - get: /** - * The value of the control. - * @return {?} - */ - function () { return this.control ? this.control.value : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "valid", { - /** - * A control is `valid` when its `status === VALID`. - * - * In order to have this status, the control must have passed all its - * validation checks. - */ - get: /** - * A control is `valid` when its `status === VALID`. - * - * In order to have this status, the control must have passed all its - * validation checks. - * @return {?} - */ - function () { return this.control ? this.control.valid : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "invalid", { - /** - * A control is `invalid` when its `status === INVALID`. - * - * In order to have this status, the control must have failed - * at least one of its validation checks. - */ - get: /** - * A control is `invalid` when its `status === INVALID`. - * - * In order to have this status, the control must have failed - * at least one of its validation checks. - * @return {?} - */ - function () { return this.control ? this.control.invalid : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "pending", { - /** - * A control is `pending` when its `status === PENDING`. - * - * In order to have this status, the control must be in the - * middle of conducting a validation check. - */ - get: /** - * A control is `pending` when its `status === PENDING`. - * - * In order to have this status, the control must be in the - * middle of conducting a validation check. - * @return {?} - */ - function () { return this.control ? this.control.pending : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "disabled", { - /** - * A control is `disabled` when its `status === DISABLED`. - * - * Disabled controls are exempt from validation checks and - * are not included in the aggregate value of their ancestor - * controls. - */ - get: /** - * A control is `disabled` when its `status === DISABLED`. - * - * Disabled controls are exempt from validation checks and - * are not included in the aggregate value of their ancestor - * controls. - * @return {?} - */ - function () { return this.control ? this.control.disabled : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "enabled", { - /** - * A control is `enabled` as long as its `status !== DISABLED`. - * - * In other words, it has a status of `VALID`, `INVALID`, or - * `PENDING`. - */ - get: /** - * A control is `enabled` as long as its `status !== DISABLED`. - * - * In other words, it has a status of `VALID`, `INVALID`, or - * `PENDING`. - * @return {?} - */ - function () { return this.control ? this.control.enabled : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "errors", { - /** - * Returns any errors generated by failing validation. If there - * are no errors, it will return null. - */ - get: /** - * Returns any errors generated by failing validation. If there - * are no errors, it will return null. - * @return {?} - */ - function () { return this.control ? this.control.errors : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "pristine", { - /** - * A control is `pristine` if the user has not yet changed - * the value in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - */ - get: /** - * A control is `pristine` if the user has not yet changed - * the value in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - * @return {?} - */ - function () { return this.control ? this.control.pristine : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "dirty", { - /** - * A control is `dirty` if the user has changed the value - * in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - */ - get: /** - * A control is `dirty` if the user has changed the value - * in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - * @return {?} - */ - function () { return this.control ? this.control.dirty : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "touched", { - /** - * A control is marked `touched` once the user has triggered - * a `blur` event on it. - */ - get: /** - * A control is marked `touched` once the user has triggered - * a `blur` event on it. - * @return {?} - */ - function () { return this.control ? this.control.touched : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "status", { - get: /** - * @return {?} - */ - function () { return this.control ? this.control.status : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "untouched", { - /** - * A control is `untouched` if the user has not yet triggered - * a `blur` event on it. - */ - get: /** - * A control is `untouched` if the user has not yet triggered - * a `blur` event on it. - * @return {?} - */ - function () { return this.control ? this.control.untouched : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "statusChanges", { - /** - * Emits an event every time the validation status of the control - * is re-calculated. - */ - get: /** - * Emits an event every time the validation status of the control - * is re-calculated. - * @return {?} - */ - function () { - return this.control ? this.control.statusChanges : null; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "valueChanges", { - /** - * Emits an event every time the value of the control changes, in - * the UI or programmatically. - */ - get: /** - * Emits an event every time the value of the control changes, in - * the UI or programmatically. - * @return {?} - */ - function () { - return this.control ? this.control.valueChanges : null; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "path", { - /** - * Returns an array that represents the path from the top-level form - * to this control. Each index is the string name of the control on - * that level. - */ - get: /** - * Returns an array that represents the path from the top-level form - * to this control. Each index is the string name of the control on - * that level. - * @return {?} - */ - function () { return null; }, - enumerable: true, - configurable: true - }); - /** - * Resets the form control. This means by default: - * - * * it is marked as `pristine` - * * it is marked as `untouched` - * * value is set to null - * - * For more information, see {@link AbstractControl}. - */ - /** - * Resets the form control. This means by default: - * - * * it is marked as `pristine` - * * it is marked as `untouched` - * * value is set to null - * - * For more information, see {\@link AbstractControl}. - * @param {?=} value - * @return {?} - */ - AbstractControlDirective.prototype.reset = /** - * Resets the form control. This means by default: - * - * * it is marked as `pristine` - * * it is marked as `untouched` - * * value is set to null - * - * For more information, see {\@link AbstractControl}. - * @param {?=} value - * @return {?} - */ - function (value) { - if (value === void 0) { value = undefined; } - if (this.control) - this.control.reset(value); - }; - /** - * Returns true if the control with the given path has the error specified. Otherwise - * returns false. - * - * If no path is given, it checks for the error on the present control. - */ - /** - * Returns true if the control with the given path has the error specified. Otherwise - * returns false. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - AbstractControlDirective.prototype.hasError = /** - * Returns true if the control with the given path has the error specified. Otherwise - * returns false. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - function (errorCode, path) { - return this.control ? this.control.hasError(errorCode, path) : false; - }; - /** - * Returns error data if the control with the given path has the error specified. Otherwise - * returns null or undefined. - * - * If no path is given, it checks for the error on the present control. - */ - /** - * Returns error data if the control with the given path has the error specified. Otherwise - * returns null or undefined. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - AbstractControlDirective.prototype.getError = /** - * Returns error data if the control with the given path has the error specified. Otherwise - * returns null or undefined. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - function (errorCode, path) { - return this.control ? this.control.getError(errorCode, path) : null; - }; - return AbstractControlDirective; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A directive that contains multiple {\@link NgControl}s. - * - * Only used by the forms module. - * - * \@stable - * @abstract - */ -var ControlContainer = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ControlContainer, _super); - function ControlContainer() { - return _super !== null && _super.apply(this, arguments) || this; - } - Object.defineProperty(ControlContainer.prototype, "formDirective", { - /** - * Get the form to which this container belongs. - */ - get: /** - * Get the form to which this container belongs. - * @return {?} - */ - function () { return null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ControlContainer.prototype, "path", { - /** - * Get the path to this container. - */ - get: /** - * Get the path to this container. - * @return {?} - */ - function () { return null; }, - enumerable: true, - configurable: true - }); - return ControlContainer; -}(AbstractControlDirective)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} value - * @return {?} - */ -function isEmptyInputValue(value) { - // we don't check for string here so it also works with arrays - return value == null || value.length === 0; -} -/** - * Providers for validators to be used for {\@link FormControl}s in a form. - * - * Provide this using `multi: true` to add validators. - * - * \@stable - */ -var NG_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('NgValidators'); -/** - * Providers for asynchronous validators to be used for {\@link FormControl}s - * in a form. - * - * Provide this using `multi: true` to add validators. - * - * See {\@link NG_VALIDATORS} for more details. - * - * \@stable - */ -var NG_ASYNC_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('NgAsyncValidators'); -var EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/; -/** - * Provides a set of validators used by form controls. - * - * A validator is a function that processes a {\@link FormControl} or collection of - * controls and returns a map of errors. A null map means that validation has passed. - * - * ### Example - * - * ```typescript - * var loginControl = new FormControl("", Validators.required) - * ``` - * - * \@stable - */ -var Validators = (function () { - function Validators() { - } - /** - * Validator that requires controls to have a value greater than a number. - */ - /** - * Validator that requires controls to have a value greater than a number. - * @param {?} min - * @return {?} - */ - Validators.min = /** - * Validator that requires controls to have a value greater than a number. - * @param {?} min - * @return {?} - */ - function (min) { - return function (control) { - if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ value = parseFloat(control.value); - // Controls with NaN values after parsing should be treated as not having a - // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min - return !isNaN(value) && value < min ? { 'min': { 'min': min, 'actual': control.value } } : null; - }; - }; - /** - * Validator that requires controls to have a value less than a number. - */ - /** - * Validator that requires controls to have a value less than a number. - * @param {?} max - * @return {?} - */ - Validators.max = /** - * Validator that requires controls to have a value less than a number. - * @param {?} max - * @return {?} - */ - function (max) { - return function (control) { - if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ value = parseFloat(control.value); - // Controls with NaN values after parsing should be treated as not having a - // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max - return !isNaN(value) && value > max ? { 'max': { 'max': max, 'actual': control.value } } : null; - }; - }; - /** - * Validator that requires controls to have a non-empty value. - */ - /** - * Validator that requires controls to have a non-empty value. - * @param {?} control - * @return {?} - */ - Validators.required = /** - * Validator that requires controls to have a non-empty value. - * @param {?} control - * @return {?} - */ - function (control) { - return isEmptyInputValue(control.value) ? { 'required': true } : null; - }; - /** - * Validator that requires control value to be true. - */ - /** - * Validator that requires control value to be true. - * @param {?} control - * @return {?} - */ - Validators.requiredTrue = /** - * Validator that requires control value to be true. - * @param {?} control - * @return {?} - */ - function (control) { - return control.value === true ? null : { 'required': true }; - }; - /** - * Validator that performs email validation. - */ - /** - * Validator that performs email validation. - * @param {?} control - * @return {?} - */ - Validators.email = /** - * Validator that performs email validation. - * @param {?} control - * @return {?} - */ - function (control) { - return EMAIL_REGEXP.test(control.value) ? null : { 'email': true }; - }; - /** - * Validator that requires controls to have a value of a minimum length. - */ - /** - * Validator that requires controls to have a value of a minimum length. - * @param {?} minLength - * @return {?} - */ - Validators.minLength = /** - * Validator that requires controls to have a value of a minimum length. - * @param {?} minLength - * @return {?} - */ - function (minLength) { - return function (control) { - if (isEmptyInputValue(control.value)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ length = control.value ? control.value.length : 0; - return length < minLength ? - { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } : - null; - }; - }; - /** - * Validator that requires controls to have a value of a maximum length. - */ - /** - * Validator that requires controls to have a value of a maximum length. - * @param {?} maxLength - * @return {?} - */ - Validators.maxLength = /** - * Validator that requires controls to have a value of a maximum length. - * @param {?} maxLength - * @return {?} - */ - function (maxLength) { - return function (control) { - var /** @type {?} */ length = control.value ? control.value.length : 0; - return length > maxLength ? - { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } : - null; - }; - }; - /** - * Validator that requires a control to match a regex to its value. - */ - /** - * Validator that requires a control to match a regex to its value. - * @param {?} pattern - * @return {?} - */ - Validators.pattern = /** - * Validator that requires a control to match a regex to its value. - * @param {?} pattern - * @return {?} - */ - function (pattern) { - if (!pattern) - return Validators.nullValidator; - var /** @type {?} */ regex; - var /** @type {?} */ regexStr; - if (typeof pattern === 'string') { - regexStr = "^" + pattern + "$"; - regex = new RegExp(regexStr); - } - else { - regexStr = pattern.toString(); - regex = pattern; - } - return function (control) { - if (isEmptyInputValue(control.value)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ value = control.value; - return regex.test(value) ? null : - { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } }; - }; - }; - /** - * No-op validator. - */ - /** - * No-op validator. - * @param {?} c - * @return {?} - */ - Validators.nullValidator = /** - * No-op validator. - * @param {?} c - * @return {?} - */ - function (c) { return null; }; - /** - * @param {?} validators - * @return {?} - */ - Validators.compose = /** - * @param {?} validators - * @return {?} - */ - function (validators) { - if (!validators) - return null; - var /** @type {?} */ presentValidators = /** @type {?} */ (validators.filter(isPresent)); - if (presentValidators.length == 0) - return null; - return function (control) { - return _mergeErrors(_executeValidators(control, presentValidators)); - }; - }; - /** - * @param {?} validators - * @return {?} - */ - Validators.composeAsync = /** - * @param {?} validators - * @return {?} - */ - function (validators) { - if (!validators) - return null; - var /** @type {?} */ presentValidators = /** @type {?} */ (validators.filter(isPresent)); - if (presentValidators.length == 0) - return null; - return function (control) { - var /** @type {?} */ observables = _executeAsyncValidators(control, presentValidators).map(toObservable); - return __WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map__["map"].call(Object(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin__["forkJoin"])(observables), _mergeErrors); - }; - }; - return Validators; -}()); -/** - * @param {?} o - * @return {?} - */ -function isPresent(o) { - return o != null; -} -/** - * @param {?} r - * @return {?} - */ -function toObservable(r) { - var /** @type {?} */ obs = Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_37" /* ɵisPromise */])(r) ? Object(__WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise__["fromPromise"])(r) : r; - if (!(Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_36" /* ɵisObservable */])(obs))) { - throw new Error("Expected validator to return Promise or Observable."); - } - return obs; -} -/** - * @param {?} control - * @param {?} validators - * @return {?} - */ -function _executeValidators(control, validators) { - return validators.map(function (v) { return v(control); }); -} -/** - * @param {?} control - * @param {?} validators - * @return {?} - */ -function _executeAsyncValidators(control, validators) { - return validators.map(function (v) { return v(control); }); -} -/** - * @param {?} arrayOfErrors - * @return {?} - */ -function _mergeErrors(arrayOfErrors) { - var /** @type {?} */ res = arrayOfErrors.reduce(function (res, errors) { - return errors != null ? Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({}, /** @type {?} */ ((res)), errors) : /** @type {?} */ ((res)); - }, {}); - return Object.keys(res).length === 0 ? null : res; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A `ControlValueAccessor` acts as a bridge between the Angular forms API and a - * native element in the DOM. - * - * Implement this interface if you want to create a custom form control directive - * that integrates with Angular forms. - * - * \@stable - * @record - */ - -/** - * Used to provide a {\@link ControlValueAccessor} for form controls. - * - * See {\@link DefaultValueAccessor} for how to implement one. - * \@stable - */ -var NG_VALUE_ACCESSOR = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('NgValueAccessor'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var CHECKBOX_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return CheckboxControlValueAccessor; }), - multi: true, -}; -/** - * The accessor for writing a value and listening to changes on a checkbox input element. - * - * ### Example - * ``` - * - * ``` - * - * \@stable - */ -var CheckboxControlValueAccessor = (function () { - function CheckboxControlValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this.onChange = function (_) { }; - this.onTouched = function () { }; - } - /** - * @param {?} value - * @return {?} - */ - CheckboxControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this._renderer.setProperty(this._elementRef.nativeElement, 'checked', value); - }; - /** - * @param {?} fn - * @return {?} - */ - CheckboxControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onChange = fn; }; - /** - * @param {?} fn - * @return {?} - */ - CheckboxControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - CheckboxControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - CheckboxControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]', - host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' }, - providers: [CHECKBOX_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - CheckboxControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - return CheckboxControlValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var DEFAULT_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return DefaultValueAccessor; }), - multi: true -}; -/** - * We must check whether the agent is Android because composition events - * behave differently between iOS and Android. - * @return {?} - */ -function _isAndroid() { - var /** @type {?} */ userAgent = Object(__WEBPACK_IMPORTED_MODULE_5__angular_platform_browser__["i" /* ɵgetDOM */])() ? Object(__WEBPACK_IMPORTED_MODULE_5__angular_platform_browser__["i" /* ɵgetDOM */])().getUserAgent() : ''; - return /android (\d+)/.test(userAgent.toLowerCase()); -} -/** - * Turn this mode on if you want form directives to buffer IME input until compositionend - * \@experimental - */ -var COMPOSITION_BUFFER_MODE = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('CompositionEventMode'); -/** - * The default accessor for writing a value and listening to changes that is used by the - * {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} directives. - * - * ### Example - * ``` - * - * ``` - * - * \@stable - */ -var DefaultValueAccessor = (function () { - function DefaultValueAccessor(_renderer, _elementRef, _compositionMode) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this._compositionMode = _compositionMode; - this.onChange = function (_) { }; - this.onTouched = function () { }; - /** - * Whether the user is creating a composition string (IME events). - */ - this._composing = false; - if (this._compositionMode == null) { - this._compositionMode = !_isAndroid(); - } - } - /** - * @param {?} value - * @return {?} - */ - DefaultValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ normalizedValue = value == null ? '' : value; - this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue); - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onChange = fn; }; - /** - * @param {?} fn - * @return {?} - */ - DefaultValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - DefaultValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - DefaultValueAccessor.prototype._handleInput = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - if (!this._compositionMode || (this._compositionMode && !this._composing)) { - this.onChange(value); - } - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - DefaultValueAccessor.prototype._compositionStart = /** - * \@internal - * @return {?} - */ - function () { this._composing = true; }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - DefaultValueAccessor.prototype._compositionEnd = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - this._composing = false; - this._compositionMode && this.onChange(value); - }; - DefaultValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]', - // TODO: vsavkin replace the above selector with the one below it once - // https://github.com/angular/angular/issues/3011 is implemented - // selector: '[ngModel],[formControl],[formControlName]', - host: { - '(input)': '_handleInput($event.target.value)', - '(blur)': 'onTouched()', - '(compositionstart)': '_compositionStart()', - '(compositionend)': '_compositionEnd($event.target.value)' - }, - providers: [DEFAULT_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - DefaultValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - { type: undefined, decorators: [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["O" /* Optional */] }, { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Inject */], args: [COMPOSITION_BUFFER_MODE,] },] }, - ]; }; - return DefaultValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} validator - * @return {?} - */ -function normalizeValidator(validator) { - if ((/** @type {?} */ (validator)).validate) { - return function (c) { return (/** @type {?} */ (validator)).validate(c); }; - } - else { - return /** @type {?} */ (validator); - } -} -/** - * @param {?} validator - * @return {?} - */ -function normalizeAsyncValidator(validator) { - if ((/** @type {?} */ (validator)).validate) { - return function (c) { return (/** @type {?} */ (validator)).validate(c); }; - } - else { - return /** @type {?} */ (validator); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var NUMBER_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return NumberValueAccessor; }), - multi: true -}; -/** - * The accessor for writing a number value and listening to changes that is used by the - * {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} directives. - * - * ### Example - * ``` - * - * ``` - */ -var NumberValueAccessor = (function () { - function NumberValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this.onChange = function (_) { }; - this.onTouched = function () { }; - } - /** - * @param {?} value - * @return {?} - */ - NumberValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - // The value needs to be normalized for IE9, otherwise it is set to 'null' when null - var /** @type {?} */ normalizedValue = value == null ? '' : value; - this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue); - }; - /** - * @param {?} fn - * @return {?} - */ - NumberValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); }; - }; - /** - * @param {?} fn - * @return {?} - */ - NumberValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - NumberValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - NumberValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]', - host: { - '(change)': 'onChange($event.target.value)', - '(input)': 'onChange($event.target.value)', - '(blur)': 'onTouched()' - }, - providers: [NUMBER_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - NumberValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - return NumberValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @return {?} - */ -function unimplemented() { - throw new Error('unimplemented'); -} -/** - * A base class that all control directive extend. - * It binds a {\@link FormControl} object to a DOM element. - * - * Used internally by Angular forms. - * - * \@stable - * @abstract - */ -var NgControl = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(NgControl, _super); - function NgControl() { - var _this = _super !== null && _super.apply(this, arguments) || this; - /** - * \@internal - */ - _this._parent = null; - _this.name = null; - _this.valueAccessor = null; - /** - * \@internal - */ - _this._rawValidators = []; - /** - * \@internal - */ - _this._rawAsyncValidators = []; - return _this; - } - Object.defineProperty(NgControl.prototype, "validator", { - get: /** - * @return {?} - */ - function () { return /** @type {?} */ (unimplemented()); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(NgControl.prototype, "asyncValidator", { - get: /** - * @return {?} - */ - function () { return /** @type {?} */ (unimplemented()); }, - enumerable: true, - configurable: true - }); - return NgControl; -}(AbstractControlDirective)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var RADIO_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return RadioControlValueAccessor; }), - multi: true -}; -/** - * Internal class used by Angular to uncheck radio buttons with the matching name. - */ -var RadioControlRegistry = (function () { - function RadioControlRegistry() { - this._accessors = []; - } - /** - * @param {?} control - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype.add = /** - * @param {?} control - * @param {?} accessor - * @return {?} - */ - function (control, accessor) { - this._accessors.push([control, accessor]); - }; - /** - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype.remove = /** - * @param {?} accessor - * @return {?} - */ - function (accessor) { - for (var /** @type {?} */ i = this._accessors.length - 1; i >= 0; --i) { - if (this._accessors[i][1] === accessor) { - this._accessors.splice(i, 1); - return; - } - } - }; - /** - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype.select = /** - * @param {?} accessor - * @return {?} - */ - function (accessor) { - var _this = this; - this._accessors.forEach(function (c) { - if (_this._isSameGroup(c, accessor) && c[1] !== accessor) { - c[1].fireUncheck(accessor.value); - } - }); - }; - /** - * @param {?} controlPair - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype._isSameGroup = /** - * @param {?} controlPair - * @param {?} accessor - * @return {?} - */ - function (controlPair, accessor) { - if (!controlPair[0].control) - return false; - return controlPair[0]._parent === accessor._control._parent && - controlPair[1].name === accessor.name; - }; - RadioControlRegistry.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */] }, - ]; - /** @nocollapse */ - RadioControlRegistry.ctorParameters = function () { return []; }; - return RadioControlRegistry; -}()); -/** - * \@whatItDoes Writes radio control values and listens to radio control changes. - * - * Used by {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} - * to keep the view synced with the {\@link FormControl} model. - * - * \@howToUse - * - * If you have imported the {\@link FormsModule} or the {\@link ReactiveFormsModule}, this - * value accessor will be active on any radio control that has a form directive. You do - * **not** need to add a special selector to activate it. - * - * ### How to use radio buttons with form directives - * - * To use radio buttons in a template-driven form, you'll want to ensure that radio buttons - * in the same group have the same `name` attribute. Radio buttons with different `name` - * attributes do not affect each other. - * - * {\@example forms/ts/radioButtons/radio_button_example.ts region='TemplateDriven'} - * - * When using radio buttons in a reactive form, radio buttons in the same group should have the - * same `formControlName`. You can also add a `name` attribute, but it's optional. - * - * {\@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'} - * - * * **npm package**: `\@angular/forms` - * - * \@stable - */ -var RadioControlValueAccessor = (function () { - function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this._registry = _registry; - this._injector = _injector; - this.onChange = function () { }; - this.onTouched = function () { }; - } - /** - * @return {?} - */ - RadioControlValueAccessor.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this._control = this._injector.get(NgControl); - this._checkName(); - this._registry.add(this._control, this); - }; - /** - * @return {?} - */ - RadioControlValueAccessor.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { this._registry.remove(this); }; - /** - * @param {?} value - * @return {?} - */ - RadioControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this._state = value === this.value; - this._renderer.setProperty(this._elementRef.nativeElement, 'checked', this._state); - }; - /** - * @param {?} fn - * @return {?} - */ - RadioControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var _this = this; - this._fn = fn; - this.onChange = function () { - fn(_this.value); - _this._registry.select(_this); - }; - }; - /** - * @param {?} value - * @return {?} - */ - RadioControlValueAccessor.prototype.fireUncheck = /** - * @param {?} value - * @return {?} - */ - function (value) { this.writeValue(value); }; - /** - * @param {?} fn - * @return {?} - */ - RadioControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - RadioControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** - * @return {?} - */ - RadioControlValueAccessor.prototype._checkName = /** - * @return {?} - */ - function () { - if (this.name && this.formControlName && this.name !== this.formControlName) { - this._throwNameError(); - } - if (!this.name && this.formControlName) - this.name = this.formControlName; - }; - /** - * @return {?} - */ - RadioControlValueAccessor.prototype._throwNameError = /** - * @return {?} - */ - function () { - throw new Error("\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n "); - }; - RadioControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]', - host: { '(change)': 'onChange()', '(blur)': 'onTouched()' }, - providers: [RADIO_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - RadioControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - { type: RadioControlRegistry, }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["D" /* Injector */], }, - ]; }; - RadioControlValueAccessor.propDecorators = { - "name": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - "formControlName": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - "value": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - }; - return RadioControlValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var RANGE_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return RangeValueAccessor; }), - multi: true -}; -/** - * The accessor for writing a range value and listening to changes that is used by the - * {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} directives. - * - * ### Example - * ``` - * - * ``` - */ -var RangeValueAccessor = (function () { - function RangeValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this.onChange = function (_) { }; - this.onTouched = function () { }; - } - /** - * @param {?} value - * @return {?} - */ - RangeValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this._renderer.setProperty(this._elementRef.nativeElement, 'value', parseFloat(value)); - }; - /** - * @param {?} fn - * @return {?} - */ - RangeValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); }; - }; - /** - * @param {?} fn - * @return {?} - */ - RangeValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - RangeValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - RangeValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]', - host: { - '(change)': 'onChange($event.target.value)', - '(input)': 'onChange($event.target.value)', - '(blur)': 'onTouched()' - }, - providers: [RANGE_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - RangeValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - return RangeValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var SELECT_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return SelectControlValueAccessor; }), - multi: true -}; -/** - * @param {?} id - * @param {?} value - * @return {?} - */ -function _buildValueString(id, value) { - if (id == null) - return "" + value; - if (value && typeof value === 'object') - value = 'Object'; - return (id + ": " + value).slice(0, 50); -} -/** - * @param {?} valueString - * @return {?} - */ -function _extractId(valueString) { - return valueString.split(':')[0]; -} -/** - * \@whatItDoes Writes values and listens to changes on a select element. - * - * Used by {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} - * to keep the view synced with the {\@link FormControl} model. - * - * \@howToUse - * - * If you have imported the {\@link FormsModule} or the {\@link ReactiveFormsModule}, this - * value accessor will be active on any select control that has a form directive. You do - * **not** need to add a special selector to activate it. - * - * ### How to use select controls with form directives - * - * To use a select in a template-driven form, simply add an `ngModel` and a `name` - * attribute to the main `` tag. Like in the former example, you have the - * choice of binding to the `value` or `ngValue` property on the select's options. - * - * {\@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'} - * - * ### Caveat: Option selection - * - * Angular uses object identity to select option. It's possible for the identities of items - * to change while the data does not. This can happen, for example, if the items are produced - * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the - * second response will produce objects with different identities. - * - * To customize the default option comparison algorithm, ` - * - * - * - * compareFn(c1: Country, c2: Country): boolean { - * return c1 && c2 ? c1.id === c2.id : c1 === c2; - * } - * ``` - * - * Note: We listen to the 'change' event because 'input' events aren't fired - * for selects in Firefox and IE: - * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350 - * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/ - * - * * **npm package**: `\@angular/forms` - * - * \@stable - */ -var SelectControlValueAccessor = (function () { - function SelectControlValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - /** - * \@internal - */ - this._optionMap = new Map(); - /** - * \@internal - */ - this._idCounter = 0; - this.onChange = function (_) { }; - this.onTouched = function () { }; - this._compareWith = __WEBPACK_IMPORTED_MODULE_1__angular_core__["_38" /* ɵlooseIdentical */]; - } - Object.defineProperty(SelectControlValueAccessor.prototype, "compareWith", { - set: /** - * @param {?} fn - * @return {?} - */ - function (fn) { - if (typeof fn !== 'function') { - throw new Error("compareWith must be a function, but received " + JSON.stringify(fn)); - } - this._compareWith = fn; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} value - * @return {?} - */ - SelectControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.value = value; - var /** @type {?} */ id = this._getOptionId(value); - if (id == null) { - this._renderer.setProperty(this._elementRef.nativeElement, 'selectedIndex', -1); - } - var /** @type {?} */ valueString = _buildValueString(id, value); - this._renderer.setProperty(this._elementRef.nativeElement, 'value', valueString); - }; - /** - * @param {?} fn - * @return {?} - */ - SelectControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var _this = this; - this.onChange = function (valueString) { - _this.value = _this._getOptionValue(valueString); - fn(_this.value); - }; - }; - /** - * @param {?} fn - * @return {?} - */ - SelectControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - SelectControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - SelectControlValueAccessor.prototype._registerOption = /** - * \@internal - * @return {?} - */ - function () { return (this._idCounter++).toString(); }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - SelectControlValueAccessor.prototype._getOptionId = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) { - var id = _a[_i]; - if (this._compareWith(this._optionMap.get(id), value)) - return id; - } - return null; - }; - /** @internal */ - /** - * \@internal - * @param {?} valueString - * @return {?} - */ - SelectControlValueAccessor.prototype._getOptionValue = /** - * \@internal - * @param {?} valueString - * @return {?} - */ - function (valueString) { - var /** @type {?} */ id = _extractId(valueString); - return this._optionMap.has(id) ? this._optionMap.get(id) : valueString; - }; - SelectControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]', - host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' }, - providers: [SELECT_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - SelectControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - SelectControlValueAccessor.propDecorators = { - "compareWith": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - }; - return SelectControlValueAccessor; -}()); -/** - * \@whatItDoes Marks ` - * - * - * compareFn(c1: Country, c2: Country): boolean { - * return c1 && c2 ? c1.id === c2.id : c1 === c2; - * } - * ``` - * - * \@stable - */ -var SelectMultipleControlValueAccessor = (function () { - function SelectMultipleControlValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - /** - * \@internal - */ - this._optionMap = new Map(); - /** - * \@internal - */ - this._idCounter = 0; - this.onChange = function (_) { }; - this.onTouched = function () { }; - this._compareWith = __WEBPACK_IMPORTED_MODULE_1__angular_core__["_38" /* ɵlooseIdentical */]; - } - Object.defineProperty(SelectMultipleControlValueAccessor.prototype, "compareWith", { - set: /** - * @param {?} fn - * @return {?} - */ - function (fn) { - if (typeof fn !== 'function') { - throw new Error("compareWith must be a function, but received " + JSON.stringify(fn)); - } - this._compareWith = fn; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} value - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - this.value = value; - var /** @type {?} */ optionSelectedStateSetter; - if (Array.isArray(value)) { - // convert values to ids - var /** @type {?} */ ids_1 = value.map(function (v) { return _this._getOptionId(v); }); - optionSelectedStateSetter = function (opt, o) { opt._setSelected(ids_1.indexOf(o.toString()) > -1); }; - } - else { - optionSelectedStateSetter = function (opt, o) { opt._setSelected(false); }; - } - this._optionMap.forEach(optionSelectedStateSetter); - }; - /** - * @param {?} fn - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var _this = this; - this.onChange = function (_) { - var /** @type {?} */ selected = []; - if (_.hasOwnProperty('selectedOptions')) { - var /** @type {?} */ options = _.selectedOptions; - for (var /** @type {?} */ i = 0; i < options.length; i++) { - var /** @type {?} */ opt = options.item(i); - var /** @type {?} */ val = _this._getOptionValue(opt.value); - selected.push(val); - } - } - else { - var /** @type {?} */ options = /** @type {?} */ (_.options); - for (var /** @type {?} */ i = 0; i < options.length; i++) { - var /** @type {?} */ opt = options.item(i); - if (opt.selected) { - var /** @type {?} */ val = _this._getOptionValue(opt.value); - selected.push(val); - } - } - } - _this.value = selected; - fn(selected); - }; - }; - /** - * @param {?} fn - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype._registerOption = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ id = (this._idCounter++).toString(); - this._optionMap.set(id, value); - return id; - }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype._getOptionId = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) { - var id = _a[_i]; - if (this._compareWith(/** @type {?} */ ((this._optionMap.get(id)))._value, value)) - return id; - } - return null; - }; - /** @internal */ - /** - * \@internal - * @param {?} valueString - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype._getOptionValue = /** - * \@internal - * @param {?} valueString - * @return {?} - */ - function (valueString) { - var /** @type {?} */ id = _extractId$1(valueString); - return this._optionMap.has(id) ? /** @type {?} */ ((this._optionMap.get(id)))._value : valueString; - }; - SelectMultipleControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]', - host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' }, - providers: [SELECT_MULTIPLE_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - SelectMultipleControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - SelectMultipleControlValueAccessor.propDecorators = { - "compareWith": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - }; - return SelectMultipleControlValueAccessor; -}()); -/** - * Marks `